• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2 *******************************************************************************
3 * Copyright (C) 2013-2014, 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 
19 U_NAMESPACE_BEGIN
20 
21 /**
22  * Collation-related code for tools & demos.
23  */
24 class U_TOOLUTIL_API CollationInfo /* all static */ {
25 public:
26     static void printSizes(int32_t sizeWithHeader, const int32_t indexes[]);
27 
28 private:
29     CollationInfo();  // no constructor
30 
31     static int32_t getDataLength(const int32_t indexes[], int32_t startIndex);
32 };
33 
34 U_NAMESPACE_END
35 
36 #endif  // !UCONFIG_NO_COLLATION
37 #endif  // __COLLATIONINFO_H__
38