1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 *******************************************************************************
5 * Copyright (C) 2013-2015, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
10 * created on: 2013aug05
11 * created by: Markus W. Scherer
14 #ifndef __COLLATIONINFO_H__
15 #define __COLLATIONINFO_H__
17 #include "unicode/utypes.h"
19 #if !UCONFIG_NO_COLLATION
26 * Collation-related code for tools & demos.
28 class U_TOOLUTIL_API CollationInfo
/* all static */ {
30 static void printSizes(int32_t sizeWithHeader
, const int32_t indexes
[]);
31 static void printReorderRanges(const CollationData
&data
, const int32_t *codes
, int32_t length
);
34 CollationInfo(); // no constructor
36 static int32_t getDataLength(const int32_t indexes
[], int32_t startIndex
);
41 #endif // !UCONFIG_NO_COLLATION
42 #endif // __COLLATIONINFO_H__