Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

unimatch.h File Reference

#include "unicode/utypes.h"

Go to the source code of this file.

Compounds

class  UnicodeMatcher
 UnicodeMatcher defines a protocol for objects that can match a range of characters in a Replaceable string. More...


Enumerations

enum  UMatchDegree { U_MISMATCH, U_PARTIAL_MATCH, U_MATCH }
 Constants returned by UnicodeMatcher::matches() indicating the degree of match. More...


Variables

U_NAMESPACE_BEGIN class Replaceable


Enumeration Type Documentation

enum UMatchDegree
 

Constants returned by UnicodeMatcher::matches() indicating the degree of match.

Enumeration values:
U_MISMATCH  Constant returned by matches() indicating a mismatch between the text and this matcher.

The text contains a character which does not match, or the text does not contain all desired characters for a non-incremental match.

U_PARTIAL_MATCH  Constant returned by matches() indicating a partial match between the text and this matcher.

This value is only returned for incremental match operations. All characters of the text match, but more characters are required for a complete match. Alternatively, for variable-length matchers, all characters of the text match, and if more characters were supplied at limit, they might also match.

U_MATCH  Constant returned by matches() indicating a complete match between the text and this matcher.

For an incremental variable-length match, this value is returned if the given text matches, and it is known that additional characters would not alter the extent of the match.

Definition at line 22 of file unimatch.h.


Variable Documentation

U_NAMESPACE_BEGIN class Replaceable
 

Definition at line 15 of file unimatch.h.


Generated on Tue Apr 9 11:30:20 2002 for ICU 2.1 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001