Classes | |
class | GetAndReleaseCachedString |
Public Types | |
typedef GetAndReleaseCachedString | GetCachedString |
Public Member Functions | |
XPathConstructionContext (MemoryManagerType &theManager) | |
virtual | ~XPathConstructionContext () |
virtual void | reset ()=0 |
Reset the instance. | |
virtual const XalanDOMString & | getPooledString (const XalanDOMString &theString)=0 |
Get a pooled string given the source string. | |
virtual const XalanDOMString & | getPooledString (const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos)=0 |
Get a pooled string given the source character array. | |
virtual XalanDOMString & | getCachedString ()=0 |
Get a cached string for temporary use. | |
virtual bool | releaseCachedString (XalanDOMString &theString)=0 |
Return a cached string. | |
MemoryManagerType & | getMemoryManager () |
virtual void | error (const XalanDOMString &msg, const XalanNode *sourceNode, const Locator *locator) const =0 |
virtual void | warn (const XalanDOMString &msg, const XalanNode *sourceNode, const Locator *locator) const =0 |
Public Attributes | |
MemoryManagerType & | m_memoryManager |
XPathConstructionContext::XPathConstructionContext | ( | MemoryManagerType & | theManager | ) |
|
virtual |
|
pure virtual |
|
pure virtual |
Get a cached string for temporary use.
Implemented in StylesheetConstructionContext, StylesheetConstructionContextDefault, and XPathConstructionContextDefault.
MemoryManagerType& XPathConstructionContext::getMemoryManager | ( | ) |
|
pure virtual |
Get a pooled string given the source string.
If the string already exists in the pool, no copy will be made. If not, a copy will be made and kept for later use.
theString | The source string |
Implemented in StylesheetConstructionContext, StylesheetConstructionContextDefault, and XPathConstructionContextDefault.
|
pure virtual |
Get a pooled string given the source character array.
If the string already exists in the pool, no copy will be made. If not, a copy will be made and kept for later use.
theString | The source character array |
theLength | The length of the character array |
Implemented in StylesheetConstructionContext, StylesheetConstructionContextDefault, and XPathConstructionContextDefault.
|
pure virtual |
Return a cached string.
theString | The string to release. |
Implemented in StylesheetConstructionContext, StylesheetConstructionContextDefault, and XPathConstructionContextDefault.
|
pure virtual |
Reset the instance.
Any existing objects created by the instance will be destroyed.
Implemented in StylesheetConstructionContextDefault, StylesheetConstructionContext, and XPathConstructionContextDefault.
|
pure virtual |
MemoryManagerType& XPathConstructionContext::m_memoryManager |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.10 |
|