17 #if !defined(ICUBRIDGE_COLLATIONCOMPAREFUNCTORIMPL_GUARD_1357924680)
18 #define ICUBRIDGE_COLLATIONCOMPAREFUNCTORIMPL_GUARD_1357924680
34 #include <unicode/coll.h>
39 XALAN_CPP_NAMESPACE_BEGIN
42 #if defined(XALAN_HAS_CPP_NAMESPACE)
83 #if defined(XALAN_NO_SELECTIVE_TEMPLATE_INSTANTIATION)
87 return this < &theRHS;
93 return this == &theRHS;
104 m_memoryManager(theManager)
146 bool fCacheCollators =
false);
150 bool fCacheCollators =
false);
158 return m_collatorCache.getMemoryManager();
163 const XalanDOMChar* theLHS,
164 const XalanDOMChar* theRHS,
169 const XalanDOMChar* theLHS,
170 const XalanDOMChar* theRHS,
171 const XalanDOMChar* theLocale,
183 enum { eCacheMax = 10 };
189 const XalanDOMChar* theLHS,
190 const XalanDOMChar* theRHS)
const;
194 const XalanDOMChar* theLHS,
195 const XalanDOMChar* theRHS,
196 const XalanDOMChar* theLocale,
201 const XalanDOMChar* theLHS,
202 const XalanDOMChar* theRHS,
203 const XalanDOMChar* theLocale,
209 const XalanDOMChar* theLHS,
210 const XalanDOMChar* theRHS)
const;
215 const XalanDOMChar* theLHS,
216 const XalanDOMChar* theRHS,
220 getCachedCollator(
const XalanDOMChar* theLocale)
const;
225 const XalanDOMChar* theLocale)
const;
235 bool m_cacheCollators;
237 mutable CollatorCacheListType m_collatorCache;
244 XALAN_CPP_NAMESPACE_END
248 #endif // ICUBRIDGE_COLLATIONCOMPAREFUNCTORIMPL_GUARD_1357924680
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1111
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
void swap(CollationCacheStruct &theOther)
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:72
CollationCacheStruct(const CollationCacheStruct &other, MemoryManagerType &theManager)
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:65
void swap(XalanDOMString &theOther)
Definition: XalanDOMString.hpp:330
void operator()(CollationCacheStruct &theStruct) const
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:109
XalanDOMString m_locale
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:97
const XalanDOMChar *const m_locale
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:130
Definition: StylesheetExecutionContextDefault.hpp:698
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:136
CollationCacheStruct(MemoryManagerType &theManager)
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:59
Definition: XalanCollationServices.hpp:38
bool isValid() const
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:175
static bool equals(const XalanDOMChar *theLHS, size_type theLHSLength, const XalanDOMChar *theRHS, size_type theRHSLength)
MemoryManagerType & getMemoryManager() const
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:156
bool operator<(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1144
XALAN_CPP_NAMESPACE_BEGIN typedef Collator CollatorType
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:45
CollationCacheStruct(MemoryManagerType &theManager, const XalanDOMString &theLocale, CollatorType *theCollator)
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:50
CollatorType * m_collator
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:99
eCaseOrder
Definition: XalanCollationServices.hpp:38
CollatorDeleteFunctor(MemoryManagerType &theManager)
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:103
#define XALAN_USES_MEMORY_MANAGER(Type)
Definition: XalanMemoryManagement.hpp:468
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:101
Definition: XalanCollationServices.hpp:34
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:117
Definition: XalanDOMString.hpp:42
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:48
bool operator()(CollationCacheStruct &theStruct) const
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:125
CollatorFindFunctor(const XalanDOMChar *theLocale)
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:119
#define XALAN_ICUBRIDGE_EXPORT
Definition: ICUBridgeDefinitions.hpp:33
XalanList< CollationCacheStruct > CollatorCacheListType
Definition: ICUBridgeCollationCompareFunctorImpl.hpp:181