19 #if !defined(ICUBRIDGE_COLLATIONCOMPAREFUNCTORIMPL_GUARD_1357924680) 20 #define ICUBRIDGE_COLLATIONCOMPAREFUNCTORIMPL_GUARD_1357924680 36 #include <unicode/coll.h> 41 XALAN_CPP_NAMESPACE_BEGIN
44 #if defined(XALAN_HAS_CPP_NAMESPACE) 53 MemoryManager& theManager,
68 MemoryManager& theManager) :
85 #if defined(XALAN_NO_SELECTIVE_TEMPLATE_INSTANTIATION) 89 return this < &theRHS;
95 return this == &theRHS;
106 m_memoryManager(theManager)
116 MemoryManager& m_memoryManager;
148 bool fCacheCollators =
false);
151 create( MemoryManager& theManager,
152 bool fCacheCollators =
false);
160 return m_collatorCache.getMemoryManager();
165 const XalanDOMChar* theLHS,
166 const XalanDOMChar* theRHS,
171 const XalanDOMChar* theLHS,
172 const XalanDOMChar* theRHS,
173 const XalanDOMChar* theLocale,
185 enum { eCacheMax = 10 };
191 const XalanDOMChar* theLHS,
192 const XalanDOMChar* theRHS)
const;
196 const XalanDOMChar* theLHS,
197 const XalanDOMChar* theRHS,
198 const XalanDOMChar* theLocale,
203 const XalanDOMChar* theLHS,
204 const XalanDOMChar* theRHS,
205 const XalanDOMChar* theLocale,
211 const XalanDOMChar* theLHS,
212 const XalanDOMChar* theRHS)
const;
217 const XalanDOMChar* theLHS,
218 const XalanDOMChar* theRHS,
222 getCachedCollator(
const XalanDOMChar* theLocale)
const;
227 const XalanDOMChar* theLocale)
const;
237 bool m_cacheCollators;
239 mutable CollatorCacheListType m_collatorCache;
246 XALAN_CPP_NAMESPACE_END
250 #endif // ICUBRIDGE_COLLATIONCOMPAREFUNCTORIMPL_GUARD_1357924680 CollatorDeleteFunctor(MemoryManager &theManager)
CollationCacheStruct(const CollationCacheStruct &other, MemoryManager &theManager)
void swap(CollationCacheStruct &theOther)
void swap(XalanDOMString &theOther)
bool operator()(CollationCacheStruct &theStruct) const
const XalanDOMChar *const m_locale
CollationCacheStruct(MemoryManager &theManager)
static bool equals(const XalanDOMChar *theLHS, size_type theLHSLength, const XalanDOMChar *theRHS, size_type theRHSLength)
XALAN_CPP_NAMESPACE_BEGIN typedef Collator CollatorType
CollatorType * m_collator
bool operator<(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
#define XALAN_USES_MEMORY_MANAGER(Type)
bool operator==(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
MemoryManager & getMemoryManager() const
void operator()(CollationCacheStruct &theStruct) const
CollationCacheStruct(MemoryManager &theManager, const XalanDOMString &theLocale, CollatorType *theCollator)
CollatorFindFunctor(const XalanDOMChar *theLocale)
#define XALAN_ICUBRIDGE_EXPORT
XalanList< CollationCacheStruct > CollatorCacheListType