19 #if !defined(ICUBRIDGE_COLLATIONCOMPAREFUNCTORIMPL_GUARD_1357924680)
20 #define ICUBRIDGE_COLLATIONCOMPAREFUNCTORIMPL_GUARD_1357924680
36 #include <unicode/coll.h>
49 MemoryManager& theManager,
52 m_locale(theLocale, theManager),
53 m_collator(theCollator)
64 MemoryManager& theManager) :
65 m_locale(other.m_locale,theManager),
66 m_collator(other.m_collator)
81 #if defined(XALAN_NO_SELECTIVE_TEMPLATE_INSTANTIATION)
85 return this < &theRHS;
89 operator==(
const CollationCacheStruct& theRHS)
const
91 return this == &theRHS;
102 m_memoryManager(theManager)
112 MemoryManager& m_memoryManager;
144 bool fCacheCollators =
false);
147 create( MemoryManager& theManager,
148 bool fCacheCollators =
false);
156 return m_collatorCache.getMemoryManager();
161 const XalanDOMChar* theLHS,
162 const XalanDOMChar* theRHS,
167 const XalanDOMChar* theLHS,
168 const XalanDOMChar* theRHS,
169 const XalanDOMChar* theLocale,
181 enum { eCacheMax = 10 };
187 const XalanDOMChar* theLHS,
188 const XalanDOMChar* theRHS)
const;
192 const XalanDOMChar* theLHS,
193 const XalanDOMChar* theRHS,
194 const XalanDOMChar* theLocale,
199 const XalanDOMChar* theLHS,
200 const XalanDOMChar* theRHS,
201 const XalanDOMChar* theLocale,
207 const XalanDOMChar* theLHS,
208 const XalanDOMChar* theRHS)
const;
213 const XalanDOMChar* theLHS,
214 const XalanDOMChar* theRHS,
218 getCachedCollator(
const XalanDOMChar* theLocale)
const;
223 const XalanDOMChar* theLocale)
const;
233 bool m_cacheCollators;
235 mutable CollatorCacheListType m_collatorCache;
246 #endif // ICUBRIDGE_COLLATIONCOMPAREFUNCTORIMPL_GUARD_1357924680