18 #if !defined(XTOKEN_HEADER_GUARD_1357924680)
19 #define XTOKEN_HEADER_GUARD_1357924680
50 XToken(MemoryManager& theMemoryManager);
62 MemoryManager& theMemoryManager);
74 MemoryManager& theMemoryManager);
95 MemoryManager& theMemoryManager);
101 getTypeString()
const;
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);
158 return m_isString ==
true ? XObject::boolean(*m_stringValue) : XObject::boolean(m_numberValue);
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;
231 #endif // XTOKEN_HEADER_GUARD_1357924680
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
double num() const
Cast result object to a number.
The purpose of this class is to provide a way to get the "preferred" or closest matching type for XOb...
double stringLength() const
XToken & operator=(const XToken &theRHS)
#define XALAN_USES_MEMORY_MANAGER(Type)
Class to hold XPath return types.
#define XALAN_XPATH_EXPORT