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
symtable.h
Go to the documentation of this file.
1 /*
2 **********************************************************************
3 * Copyright (c) 2000-2005, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 * Date Name Description
7 * 02/04/00 aliu Creation.
8 **********************************************************************
9 */
10 #ifndef SYMTABLE_H
11 #define SYMTABLE_H
12
13 #include "unicode/utypes.h"
14 #include "unicode/uobject.h"
15
22 U_NAMESPACE_BEGIN
23
24 class ParsePosition;
25 class UnicodeFunctor;
26 class UnicodeSet;
27 class UnicodeString;
28
54 class U_COMMON_API SymbolTable /* not : public UObject because this is an interface/mixin class */ {
55 public:
56
61 enum { SYMBOL_REF = 0x0024 /*$*/ };
62
67 virtual ~SymbolTable();
68
78 virtual const UnicodeString* lookup(const UnicodeString& s) const = 0;
79
88 virtual const UnicodeFunctor* lookupMatcher(UChar32 ch) const = 0;
89
107 virtual UnicodeString parseReference(const UnicodeString& text,
108 ParsePosition& pos, int32_t limit) const = 0;
109 };
110 U_NAMESPACE_END
111
112 #endif