22 #if !defined(XERCESC_INCLUDE_GUARD_XML_BIGINTEGER_HPP)
23 #define XERCESC_INCLUDE_GUARD_XML_BIGINTEGER_HPP
49 const XMLCh*
const strValue
56 static XMLCh* getCanonicalRepresentation
58 const XMLCh*
const rawData
60 ,
bool isNonPositiveInteger =
false
63 static void parseBigInteger(
const XMLCh*
const toConvert
64 ,
XMLCh*
const retBuffer
73 static int compareValues(
const XMLCh*
const lString
75 ,
const XMLCh*
const rString
79 void multiply(
const unsigned int byteToShift);
81 void divide(
const unsigned int byteToShift);
83 unsigned int getTotalDigit()
const;
90 inline XMLCh* getRawData()
const;
110 int intValue()
const;
160 return (
compareValues(
this, &toCompare, fMemoryManager) ==0 ?
true :
false);
163 inline void XMLBigInteger::setSign(
int newSign)
static int compareValues(const XMLBigInteger *const lValue, const XMLBigInteger *const rValue, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition: XMemory.hpp:40
Definition: XMLBigInteger.hpp:30
XMLCh * getRawData() const
Return a copy of the fMagnitude.
Definition: XMLBigInteger.hpp:168
bool operator==(const XMLBigInteger &toCompare) const
Compares this object to the specified object.
Definition: XMLBigInteger.hpp:158
int getSign() const
Returns the signum function of this number (i.e., -1, 0 or 1 as the value of this number is negative...
Definition: XMLBigInteger.hpp:148
Configurable memory manager.
Definition: MemoryManager.hpp:39
static XMLSize_t stringLen(const char *const src)
Get the length of the string.
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
wchar_t XMLCh
Definition: Xerces_autoconf_config.borland.hpp:92
unsigned int getTotalDigit() const
Definition: XMLBigInteger.hpp:153
#define XMLUTIL_EXPORT
Definition: XercesDefs.hpp:162
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113