Public Member Functions | |
XMLDouble (const XMLCh *const strValue, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) | |
Constructs a newly allocated XMLDouble object that represents the value represented by the string. | |
~XMLDouble () | |
XMLDouble (MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) | |
Static Public Member Functions | |
static int | compareValues (const XMLDouble *const lValue, const XMLDouble *const rValue) |
Compares this object to the specified object. | |
Protected Member Functions | |
virtual void | checkBoundary (char *const strValue) |
XMLDouble::XMLDouble | ( | const XMLCh *const | strValue, | |
MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager | |||
) |
Constructs a newly allocated XMLDouble
object that represents the value represented by the string.
strValue | the String to be converted to an XMLDouble . | |
manager | Pointer to the memory manager to be used to allocate objects. |
NumberFormatException | if the String does not contain a parsable XMLDouble. |
XMLDouble::~XMLDouble | ( | ) |
XMLDouble::XMLDouble | ( | MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager |
) |
int XMLDouble::compareValues | ( | const XMLDouble *const | lValue, | |
const XMLDouble *const | rValue | |||
) | [static] |
Compares this object to the specified object.
The result is true
if and only if the argument is not null
and is an XMLDouble
object that contains the same int
value as this object.
lValue | the object to compare with. | |
rValue | the object to compare against. |
true
if the objects are the same; false
otherwise. References XMLAbstractDoubleFloat::compareValues(), and XMLAbstractDoubleFloat::getMemoryManager().
virtual void XMLDouble::checkBoundary | ( | char *const | strValue | ) | [protected, virtual] |
Implements XMLAbstractDoubleFloat.