22#if !defined(XERCESC_INCLUDE_GUARD_XML_ABSTRACT_DOUBLE_FLOAT_HPP)
23#define XERCESC_INCLUDE_GUARD_XML_ABSTRACT_DOUBLE_FLOAT_HPP
78 const XMLCh*
const rawData
90 inline bool isDataConverted()
const;
92 inline bool isDataOverflowed()
const;
94 inline double getValue()
const;
157 void normalizeZero(
XMLCh*
const);
159 inline bool isSpecialValue()
const;
184 XMLCh* fFormattedString;
189inline bool XMLAbstractDoubleFloat::isSpecialValue()
const
196 return fMemoryManager;
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define XMLUTIL_EXPORT
Definition XercesDefs.hpp:162
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
char16_t XMLCh
Definition Xerces_autoconf_config.hpp:120
Configurable memory manager.
Definition MemoryManager.hpp:40
Definition XMLAbstractDoubleFloat.hpp:62
double getValue() const
Definition XMLAbstractDoubleFloat.hpp:209
void convert(char *const strValue)
virtual void checkBoundary(char *const strValue)=0
XMLAbstractDoubleFloat(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
LiteralType
Definition XMLAbstractDoubleFloat.hpp:66
@ SpecialTypeNum
Definition XMLAbstractDoubleFloat.hpp:70
@ NegINF
Definition XMLAbstractDoubleFloat.hpp:67
@ NaN
Definition XMLAbstractDoubleFloat.hpp:69
@ PosINF
Definition XMLAbstractDoubleFloat.hpp:68
static XMLCh * getCanonicalRepresentation(const XMLCh *const rawData, MemoryManager *const memMgr=XMLPlatformUtils::fgMemoryManager)
bool fDataOverflowed
Definition XMLAbstractDoubleFloat.hpp:170
LiteralType fType
Definition XMLAbstractDoubleFloat.hpp:168
double fValue
Definition XMLAbstractDoubleFloat.hpp:167
virtual XMLCh * getRawData() const
Return string representation of the decimal value.
bool isDataOverflowed() const
Definition XMLAbstractDoubleFloat.hpp:204
virtual const XMLCh * getFormattedString() const
Return the original and converted value of the original data.
bool fDataConverted
Definition XMLAbstractDoubleFloat.hpp:169
LiteralType getType() const
Definition XMLAbstractDoubleFloat.hpp:214
static void normalizeDecimalPoint(char *const toNormal)
MemoryManager * getMemoryManager() const
Definition XMLAbstractDoubleFloat.hpp:194
bool isDataConverted() const
Definition XMLAbstractDoubleFloat.hpp:199
virtual int getSign() const
Returns the sign of this number.
static int compareValues(const XMLAbstractDoubleFloat *const lValue, const XMLAbstractDoubleFloat *const rValue, MemoryManager *const manager)
Compares this object to the specified object.
void init(const XMLCh *const strValue)
virtual ~XMLAbstractDoubleFloat()
Definition XMLNumber.hpp:31