2 *******************************************************************************
3 * Copyright (C) 2013-2015, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 *******************************************************************************
8 * created on: 2013aug05
9 * created by: Markus W. Scherer
12 #ifndef __COLLATIONINFO_H__
13 #define __COLLATIONINFO_H__
15 #include "unicode/utypes.h"
17 #if !UCONFIG_NO_COLLATION
24 * Collation-related code for tools & demos.
26 class U_TOOLUTIL_API CollationInfo
/* all static */ {
28 static void printSizes(int32_t sizeWithHeader
, const int32_t indexes
[]);
29 static void printReorderRanges(const CollationData
&data
, const int32_t *codes
, int32_t length
);
32 CollationInfo(); // no constructor
34 static int32_t getDataLength(const int32_t indexes
[], int32_t startIndex
);
39 #endif // !UCONFIG_NO_COLLATION
40 #endif // __COLLATIONINFO_H__