18#if !defined(XSTRINGBASE_HEADER_GUARD_1357924680)
19#define XSTRINGBASE_HEADER_GUARD_1357924680
87 using ParentType::num;
92 using ParentType::str;
104 MemberFunctionPtr function)
const = 0;
109 MemberFunctionPtr function)
const = 0;
140 mutable double m_cachedNumberValue;
#define XALAN_XPATH_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
The purpose of this class is to provide a way to get the "preferred" or closest matching type for XOb...
Class to hold XPath return types.
virtual bool boolean(XPathExecutionContext &executionContext) const
Cast result object to a boolean.
virtual const XalanDOMString & getTypeString() const
Given a request type, return the equivalent string.
XStringBase(const XStringBase &source, MemoryManager &theMemoryManager)
Construct an XStringBase object from another.
virtual const XalanDocumentFragment & rtree() const
Cast result object to a result tree fragment.
XStringBase(MemoryManager &theMemoryManager, XPathExecutionContext &theExecutionContext)
Construct an XStringBase object.
virtual void str(XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const =0
Send the string value to a FormatterListener instance.
virtual double stringLength(XPathExecutionContext &executionContext) const =0
Get the length of the string value of the instance.
virtual void str(FormatterListener &formatterListener, MemberFunctionPtr function) const =0
Send the string value to a FormatterListener instance.
XStringBase(MemoryManager &theMemoryManager)
Construct an XStringBase object.
virtual void ProcessXObjectTypeCallback(XObjectTypeCallback &theCallbackObject) const
Process a callback request for preferred type information.
virtual const XalanDOMString & str(XPathExecutionContext &executionContext) const =0
Cast result object to a string.
virtual double num(XPathExecutionContext &executionContext) const
Cast result object to a number.
virtual void str(XalanDOMString &theBuffer) const =0
Append the string value directly a string.
virtual void str(XPathExecutionContext &executionContext, XalanDOMString &theBuffer) const =0
Append the string value directly a string.
virtual const XalanDOMString & str() const =0
Cast result object to a string.
virtual void ProcessXObjectTypeCallback(XObjectTypeCallback &theCallbackObject)
Process a callback request for preferred type information.