diff options
Diffstat (limited to 'Build/source/libs/icu/icu-4.6/test/perf/unisetperf/draft/unicont.h')
-rw-r--r-- | Build/source/libs/icu/icu-4.6/test/perf/unisetperf/draft/unicont.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-4.6/test/perf/unisetperf/draft/unicont.h b/Build/source/libs/icu/icu-4.6/test/perf/unisetperf/draft/unicont.h new file mode 100644 index 00000000000..2e8a64e8cd9 --- /dev/null +++ b/Build/source/libs/icu/icu-4.6/test/perf/unisetperf/draft/unicont.h @@ -0,0 +1,34 @@ +/* +********************************************************************** +* Copyright (C) 2007, International Business Machines +* Corporation and others. All Rights Reserved. +********************************************************************** +* file name: unicont.h +* encoding: US-ASCII +* tab size: 8 (not used) +* indentation:4 +* +* created on: 2007jan15 +* created by: Markus Scherer +* +* Idea for new common interface underneath the normal UnicodeSet +* and other classes, such as "compiled", fast, read-only (immutable) +* versions of UnicodeSet. +*/ + +class UnicodeContainable { +public: + virtual ~UnicodeContainable() {} + + virtual UBool contains(UChar32 c) const = 0; + + virtual int32_t span(const UChar *s, int32_t length); + + virtual int32_t spanNot(const UChar *s, int32_t length); + + virtual int32_t spanUTF8(const UChar *s, int32_t length); + + virtual int32_t spanNotUTF8(const UChar *s, int32_t length); + + virtual UClassID getDynamicClassID(void) const; +}; |