]> git.saurik.com Git - apple/icu.git/blame - icuSources/tools/toolutil/collationinfo.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / tools / toolutil / collationinfo.h
CommitLineData
f3c0d7a5
A
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
57a6839d
A
3/*
4*******************************************************************************
b331163b 5* Copyright (C) 2013-2015, International Business Machines
57a6839d
A
6* Corporation and others. All Rights Reserved.
7*******************************************************************************
8* collationinfo.h
9*
10* created on: 2013aug05
11* created by: Markus W. Scherer
12*/
13
14#ifndef __COLLATIONINFO_H__
15#define __COLLATIONINFO_H__
16
17#include "unicode/utypes.h"
18
19#if !UCONFIG_NO_COLLATION
20
21U_NAMESPACE_BEGIN
22
b331163b
A
23struct CollationData;
24
57a6839d
A
25/**
26 * Collation-related code for tools & demos.
27 */
28class U_TOOLUTIL_API CollationInfo /* all static */ {
29public:
30 static void printSizes(int32_t sizeWithHeader, const int32_t indexes[]);
b331163b 31 static void printReorderRanges(const CollationData &data, const int32_t *codes, int32_t length);
57a6839d
A
32
33private:
34 CollationInfo(); // no constructor
35
36 static int32_t getDataLength(const int32_t indexes[], int32_t startIndex);
37};
38
39U_NAMESPACE_END
40
41#endif // !UCONFIG_NO_COLLATION
42#endif // __COLLATIONINFO_H__