ICU 59.1  59.1
ustringtrie.h
Go to the documentation of this file.
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 *******************************************************************************
5 * Copyright (C) 2010-2012, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
8 * file name: udicttrie.h
9 * encoding: UTF-8
10 * tab size: 8 (not used)
11 * indentation:4
12 *
13 * created on: 2010dec17
14 * created by: Markus W. Scherer
15 */
16 
17 #ifndef __USTRINGTRIE_H__
18 #define __USTRINGTRIE_H__
19 
25 #include "unicode/utypes.h"
26 
27 
67 };
68 
75 #define USTRINGTRIE_MATCHES(result) ((result)!=USTRINGTRIE_NO_MATCH)
76 
86 #define USTRINGTRIE_HAS_VALUE(result) ((result)>=USTRINGTRIE_FINAL_VALUE)
87 
95 #define USTRINGTRIE_HAS_NEXT(result) ((result)&1)
96 
97 #endif /* __USTRINGTRIE_H__ */
The input unit(s) continued a matching string but there is no value for the string so far...
Definition: ustringtrie.h:50
The input unit(s) continued a matching string and there is a value for the string so far...
Definition: ustringtrie.h:58
UStringTrieResult
Return values for BytesTrie::next(), UCharsTrie::next() and similar methods.
Definition: ustringtrie.h:35
The input unit(s) did not continue a matching string.
Definition: ustringtrie.h:43
Basic definitions for ICU, for both C and C++ APIs.
The input unit(s) continued a matching string and there is a value for the string so far...
Definition: ustringtrie.h:66