18 #if !defined(FUNCTIONICUFORMATNUMBERFUNCTOR_HEADER_GUARD_1357924680)
19 #define FUNCTIONICUFORMATNUMBERFUNCTOR_HEADER_GUARD_1357924680
44 #include <unicode/decimfmt.h>
58 MemoryManager& theManager,
62 m_DFS(theDFS, theManager),
63 m_formatter(theFormatter)
75 MemoryManager& theManager) :
76 m_DFS(other.m_DFS, theManager),
77 m_formatter(other.m_formatter)
81 #if defined(XALAN_NO_SELECTIVE_TEMPLATE_INSTANTIATION)
85 return this < &theRHS;
89 operator==(
const DecimalFormatCacheStruct& theRHS)
const
91 return this == &theRHS;
104 m_memoryManager(theManager)
125 MemoryManager& m_memoryManager;
138 return theStruct.
m_DFS == (*m_DFS);
162 create(MemoryManager& theManager);
175 const Locator* locator = 0)
const;
190 MemoryManager& theManager)
const;
226 MemoryManager& theManager);
229 createDecimalFormat(MemoryManager& theManager)
233 return createDecimalFormat(theDFS, theManager);
236 enum { eCacheMax = 10u };
241 ICUFormatNumberFunctor&
242 operator=(
const ICUFormatNumberFunctor&);
245 operator==(
const ICUFormatNumberFunctor&)
const;
247 typedef XalanMemMgrAutoPtr<DecimalFormatType> DFAutoPtrType;
250 mutable DecimalFormatCacheListType m_decimalFormatCache;
252 const DFAutoPtrType m_defaultDecimalFormat;
254 MemoryManager& m_memoryManager;
263 #endif // FUNCTIONICUFORMATNUMBERFUNCTOR_HEADER_GUARD_1357924680