1/*
2*******************************************************************************
3* Copyright (C) 2013-2015, International Business Machines
4* Corporation and others.  All Rights Reserved.
5*******************************************************************************
6* collationinfo.h
7*
8* created on: 2013aug05
9* created by: Markus W. Scherer
10*/
11
12#ifndef __COLLATIONINFO_H__
13#define __COLLATIONINFO_H__
14
15#include "unicode/utypes.h"
16
17#if !UCONFIG_NO_COLLATION
18
19U_NAMESPACE_BEGIN
20
21struct CollationData;
22
23/**
24 * Collation-related code for tools & demos.
25 */
26class U_TOOLUTIL_API CollationInfo /* all static */ {
27public:
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);
30
31private:
32    CollationInfo();  // no constructor
33
34    static int32_t getDataLength(const int32_t indexes[], int32_t startIndex);
35};
36
37U_NAMESPACE_END
38
39#endif  // !UCONFIG_NO_COLLATION
40#endif  // __COLLATIONINFO_H__
41