ICU 55.1 55.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ustringtrie.h
Go to the documentation of this file.
1 /*
2 *******************************************************************************
3 * Copyright (C) 2010-2012, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 *******************************************************************************
6 * file name: udicttrie.h
7 * encoding: US-ASCII
8 * tab size: 8 (not used)
9 * indentation:4
10 *
11 * created on: 2010dec17
12 * created by: Markus W. Scherer
13 */
14
15 #ifndef __USTRINGTRIE_H__
16 #define __USTRINGTRIE_H__
17
23 #include "unicode/utypes.h"
24
25
33 enum UStringTrieResult {
41 USTRINGTRIE_NO_MATCH,
48 USTRINGTRIE_NO_VALUE,
56 USTRINGTRIE_FINAL_VALUE,
64 USTRINGTRIE_INTERMEDIATE_VALUE
65 };
66
73 #define USTRINGTRIE_MATCHES(result) ((result)!=USTRINGTRIE_NO_MATCH)
74
84 #define USTRINGTRIE_HAS_VALUE(result) ((result)>=USTRINGTRIE_FINAL_VALUE)
85
93 #define USTRINGTRIE_HAS_NEXT(result) ((result)&1)
94
95 #endif /* __USTRINGTRIE_H__ */