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

symtable.h

Go to the documentation of this file.
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 Mon Nov 24 14:35:37 2003 for ICU 2.8 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001