 |
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
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);
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
ICUBridgeCollationCompareFunctorImpl(MemoryManager &theManager, bool fCacheCollators=false)
Constructor.
void swap(CollationCacheStruct &theOther)
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
static ICUBridgeCollationCompareFunctorImpl * create(MemoryManager &theManager, bool fCacheCollators=false)
U_ICU_NAMESPACE::Collator CollatorType
#define XALAN_USES_MEMORY_MANAGER(Type)
bool operator()(CollationCacheStruct &theStruct) const
bool operator<(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
~ICUBridgeCollationCompareFunctorImpl()
MemoryManager & getMemoryManager() const
equals(const XalanDOMChar *theLHS, const XalanDOMChar *theRHS, XalanDOMString::size_type theLength)
Compare the contents of two arrays for equality.
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
CollationCacheStruct(const CollationCacheStruct &other, MemoryManager &theManager)
CollationCacheStruct(MemoryManager &theManager)
int operator()(const XalanDOMChar *theLHS, const XalanDOMChar *theRHS, XalanCollationServices::eCaseOrder theCaseOrder=XalanCollationServices::eDefault) const
CollationCacheStruct(MemoryManager &theManager, const XalanDOMString &theLocale, CollatorType *theCollator)
#define XALAN_ICUBRIDGE_EXPORT
const XalanDOMChar *const m_locale
CollatorFindFunctor(const XalanDOMChar *theLocale)
CollatorType * m_collator
CollatorDeleteFunctor(MemoryManager &theManager)
XalanList< CollationCacheStruct > CollatorCacheListType
int operator()(const XalanDOMChar *theLHS, const XalanDOMChar *theRHS, const XalanDOMChar *theLocale, XalanCollationServices::eCaseOrder theCaseOrder=XalanCollationServices::eDefault) const
void operator()(CollationCacheStruct &theStruct) const