Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

symtable.h

00001 /* 00002 ********************************************************************** 00003 * Copyright (c) 2000-2003, International Business Machines 00004 * Corporation and others. All Rights Reserved. 00005 ********************************************************************** 00006 * Date Name Description 00007 * 02/04/00 aliu Creation. 00008 ********************************************************************** 00009 */ 00010 #ifndef SYMTABLE_H 00011 #define SYMTABLE_H 00012 00013 #include "unicode/utypes.h" 00014 #include "unicode/uobject.h" 00015 00016 U_NAMESPACE_BEGIN 00017 00018 class ParsePosition; 00019 class UnicodeFunctor; 00020 class UnicodeSet; 00021 class UnicodeString; 00022 00048 class U_COMMON_API SymbolTable /* not : public UObject because this is an interface/mixin class */ { 00049 public: 00050 00054 enum { SYMBOL_REF = 0x0024 /*$*/ }; 00055 00059 virtual ~SymbolTable(); 00060 00069 virtual const UnicodeString* lookup(const UnicodeString& s) const = 0; 00070 00078 virtual const UnicodeFunctor* lookupMatcher(UChar32 ch) const = 0; 00079 00096 virtual UnicodeString parseReference(const UnicodeString& text, 00097 ParsePosition& pos, int32_t limit) const = 0; 00098 }; 00099 U_NAMESPACE_END 00100 00101 #endif

Generated on Wed Sep 15 17:18:09 2004 for ICU 2.8 by doxygen 1.3.8