ICU 54.1 54.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
unifunct.h
Go to the documentation of this file.
1 /*
2 **********************************************************************
3 * Copyright (c) 2002-2005, International Business Machines Corporation
4 * and others. All Rights Reserved.
5 **********************************************************************
6 * Date Name Description
7 * 01/14/2002 aliu Creation.
8 **********************************************************************
9 */
10 #ifndef UNIFUNCT_H
11 #define UNIFUNCT_H
12
13 #include "unicode/utypes.h"
14 #include "unicode/uobject.h"
15
21 U_NAMESPACE_BEGIN
22
23 class UnicodeMatcher;
24 class UnicodeReplacer;
25 class TransliterationRuleData;
26
33 class U_COMMON_API UnicodeFunctor : public UObject {
34
35 public:
36
41 virtual ~UnicodeFunctor();
42
49 virtual UnicodeFunctor* clone() const = 0;
50
61 virtual UnicodeMatcher* toMatcher() const;
62
73 virtual UnicodeReplacer* toReplacer() const;
74
81 static UClassID U_EXPORT2 getStaticClassID(void);
82
98 virtual UClassID getDynamicClassID(void) const = 0;
99
108 virtual void setData(const TransliterationRuleData*) = 0;
109
110 protected:
111
117 /*UnicodeFunctor();*/
118
119 };
120
121 /*inline UnicodeFunctor::UnicodeFunctor() {}*/
122
123 U_NAMESPACE_END
124
125 #endif