18#if !defined(XNUMBERBASE_HEADER_GUARD_1357924680)
19#define XNUMBERBASE_HEADER_GUARD_1357924680
68 using ParentType::num;
83 MemberFunctionPtr function)
const = 0;
88 MemberFunctionPtr function)
const = 0;
#define XALAN_XPATH_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
virtual const XalanDOMString & getTypeString() const
Given a request type, return the equivalent string.
virtual void str(FormatterListener &formatterListener, MemberFunctionPtr function) const =0
Send the string value to a FormatterListener instance.
virtual void ProcessXObjectTypeCallback(XObjectTypeCallback &theCallbackObject) const
Process a callback request for preferred type information.
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.
virtual void str(XPathExecutionContext &executionContext, FormatterListener &formatterListener, MemberFunctionPtr function) const =0
Send the string value to a FormatterListener instance.
virtual double num(XPathExecutionContext &executionContext) const =0
Cast result object to a number.
virtual void str(XalanDOMString &theBuffer) const =0
Append the string value directly a string.
XNumberBase(const XNumberBase &source, MemoryManager &theMemoryManager)
Construct an XNumberBase object from another.
virtual const XalanDOMString & str(XPathExecutionContext &executionContext) const =0
Cast result object to a string.
virtual bool boolean(XPathExecutionContext &executionContext) const
Cast result object to a boolean.
virtual void str(XPathExecutionContext &executionContext, XalanDOMString &theBuffer) const =0
Append the string value directly a string.
XNumberBase(MemoryManager &theMemoryManager)
Constructor for derived classes.
virtual double stringLength(XPathExecutionContext &executionContext) const =0
Get the length of the string value of the instance.
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.