18 #if !defined(XTOKEN_HEADER_GUARD_1357924680) 19 #define XTOKEN_HEADER_GUARD_1357924680 37 XALAN_CPP_NAMESPACE_BEGIN
50 XToken(MemoryManager& theMemoryManager);
62 MemoryManager& theMemoryManager);
74 MemoryManager& theMemoryManager);
95 MemoryManager& theMemoryManager);
119 MemberFunctionPtr
function)
const;
124 MemberFunctionPtr
function)
const;
146 m_stringValue = theRHS.m_stringValue;
148 m_numberValue = theRHS.m_numberValue;
156 assert(m_stringValue != 0);
164 assert(m_stringValue != 0);
166 return m_numberValue;
172 assert(m_stringValue != 0);
174 return static_cast<double>(m_stringValue->length());
216 double m_numberValue;
227 XALAN_CPP_NAMESPACE_END
231 #endif // XTOKEN_HEADER_GUARD_1357924680 virtual void referenced()
The purpose of this class is to provide a way to get the "preferred" or closest matching type for XOb...
virtual void ProcessXObjectTypeCallback(XObjectTypeCallback &theCallbackObject)=0
Process a callback request for preferred type information.
virtual double num() const
Cast result object to a number.
double stringLength() const
virtual const XalanDOMString & getTypeString() const =0
Given a request type, return the equivalent string.
virtual bool boolean(XPathExecutionContext &executionContext) const =0
Cast result object to a boolean.
virtual void dereferenced()
Class to hold XPath return types.
#define XALAN_USES_MEMORY_MANAGER(Type)
bool operator==(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
virtual double stringLength(XPathExecutionContext &executionContext) const =0
Get the length of the string value of the instance.
#define XALAN_XPATH_EXPORT
virtual const XalanDOMString & str() const =0
Cast result object to a string.
XToken & operator=(const XToken &theRHS)
double num() const
Cast result object to a number.