#include <xercesc/util/XMLAbstractDoubleFloat.hpp>
|
enum | LiteralType {
NegINF
, PosINF
, NaN
, SpecialTypeNum
,
Normal
} |
|
enum | { LESS_THAN = -1
, EQUAL = 0
, GREATER_THAN = 1
, INDETERMINATE = 2
} |
|
enum | NumberType {
Float
, Double
, BigDecimal
, DateTime
,
UnKnown
} |
|
◆ LiteralType
Enumerator |
---|
NegINF | |
PosINF | |
NaN | |
SpecialTypeNum | |
Normal | |
◆ ~XMLAbstractDoubleFloat()
virtual XMLAbstractDoubleFloat::~XMLAbstractDoubleFloat |
( |
| ) |
|
|
virtual |
◆ XMLAbstractDoubleFloat()
◆ checkBoundary()
virtual void XMLAbstractDoubleFloat::checkBoundary |
( |
char *const | strValue | ) |
|
|
protectedpure virtual |
◆ compareValues()
Compares this object to the specified object.
The result is true
if and only if the argument is not null
and is an XMLAbstractDoubleFloat
object that contains the same int
value as this object.
- Parameters
-
lValue | the object to compare with. |
rValue | the object to compare against. |
manager | The MemoryManager to use to allocate objects |
- Returns
true
if the objects are the same; false
otherwise.
Referenced by XMLDouble::compareValues(), and XMLFloat::compareValues().
◆ convert()
void XMLAbstractDoubleFloat::convert |
( |
char *const | strValue | ) |
|
|
protected |
◆ getCanonicalRepresentation()
◆ getFormattedString()
virtual const XMLCh * XMLAbstractDoubleFloat::getFormattedString |
( |
| ) |
const |
|
virtual |
Return the original and converted value of the original data.
(applicable to double/float)
The internal buffer is returned directly, user is not required to delete the returned buffer
Implements XMLNumber.
◆ getMemoryManager()
MemoryManager * XMLAbstractDoubleFloat::getMemoryManager |
( |
| ) |
const |
◆ getRawData()
virtual XMLCh * XMLAbstractDoubleFloat::getRawData |
( |
| ) |
const |
|
virtual |
Return string representation of the decimal value.
A decimal point will be included as necessary. Similar to toString above, but the internal buffer is returned directly, user is not required to delete the returned buffer
Implements XMLNumber.
◆ getSign()
virtual int XMLAbstractDoubleFloat::getSign |
( |
| ) |
const |
|
virtual |
Returns the sign of this number.
-1 negative 0 zero 1 positive
Implements XMLNumber.
◆ getType()
◆ getValue()
double XMLAbstractDoubleFloat::getValue |
( |
| ) |
const |
◆ init()
void XMLAbstractDoubleFloat::init |
( |
const XMLCh *const | strValue | ) |
|
|
protected |
◆ isDataConverted()
bool XMLAbstractDoubleFloat::isDataConverted |
( |
| ) |
const |
◆ isDataOverflowed()
bool XMLAbstractDoubleFloat::isDataOverflowed |
( |
| ) |
const |
◆ normalizeDecimalPoint()
static void XMLAbstractDoubleFloat::normalizeDecimalPoint |
( |
char *const | toNormal | ) |
|
|
static |
◆ fDataConverted
bool XMLAbstractDoubleFloat::fDataConverted |
|
protected |
◆ fDataOverflowed
bool XMLAbstractDoubleFloat::fDataOverflowed |
|
protected |
◆ fType
◆ fValue
double XMLAbstractDoubleFloat::fValue |
|
protected |
The documentation for this class was generated from the following file: