#include <xercesc/util/XMLNumber.hpp>
|
virtual | ~XMLNumber () |
|
virtual XMLCh * | getRawData () const =0 |
| Return string representation of the decimal value.
|
|
virtual const XMLCh * | getFormattedString () const =0 |
| Return the original and converted value of the original data.
|
|
virtual int | getSign () const =0 |
| Returns the sign of this number.
|
|
void * | operator new (size_t size) |
| This method overrides operator new.
|
|
void * | operator new (size_t size, MemoryManager *memMgr) |
| This method defines a custom operator new, that will use the provided memory manager to perform the allocation.
|
|
void * | operator new (size_t size, void *ptr) |
| This method overrides placement operator new.
|
|
void | operator delete (void *p) |
| This method overrides operator delete.
|
|
void | operator delete (void *p, MemoryManager *memMgr) |
| This method provides a matching delete for the custom operator new.
|
|
void | operator delete (void *p, void *ptr) |
| This method provides a matching delete for the placement new.
|
|
◆ anonymous enum
Enumerator |
---|
LESS_THAN | |
EQUAL | |
GREATER_THAN | |
INDETERMINATE | |
◆ NumberType
Enumerator |
---|
Float | |
Double | |
BigDecimal | |
DateTime | |
UnKnown | |
◆ ~XMLNumber()
virtual XMLNumber::~XMLNumber |
( |
| ) |
|
|
virtual |
◆ XMLNumber() [1/2]
◆ XMLNumber() [2/2]
◆ getFormattedString()
virtual const XMLCh * XMLNumber::getFormattedString |
( |
| ) |
const |
|
pure 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
Implemented in XMLAbstractDoubleFloat, XMLBigDecimal, and XMLDateTime.
◆ getRawData()
virtual XMLCh * XMLNumber::getRawData |
( |
| ) |
const |
|
pure 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
Implemented in XMLAbstractDoubleFloat, XMLBigDecimal, and XMLDateTime.
◆ getSign()
virtual int XMLNumber::getSign |
( |
| ) |
const |
|
pure virtual |
◆ loadNumber()
The documentation for this class was generated from the following file: