![](../resources/join.gif)
![Home](../graphics/ext-2-label-3.jpg)
![](../resources/separator.gif)
![Readme](../graphics/index-label-3.jpg)
![Release Info](../graphics/releases-label-3.jpg)
![](../resources/separator.gif)
![Installation](../graphics/install-label-3.jpg)
![Download](../graphics/ext-18-label-3.jpg)
![Build](../graphics/build-label-3.jpg)
![](../resources/separator.gif)
![FAQs](../graphics/faqs-label-3.jpg)
![Samples](../graphics/samples-label-3.jpg)
![API Docs](../graphics/api-label-3.jpg)
![](../resources/separator.gif)
![DOM C++ Binding](../graphics/ext-64-label-3.jpg)
![Programming](../graphics/program-label-3.jpg)
![Migration Guide](../graphics/migrate-label-3.jpg)
![](../resources/separator.gif)
![Feedback](../graphics/feedback-label-3.jpg)
![Bug-Reporting](../graphics/bug-report-label-3.jpg)
![PDF Document](../graphics/pdf-label-3.jpg)
![](../resources/separator.gif)
![CVS Repository](../graphics/ext-96-label-3.jpg)
![Mail Archive](../graphics/ext-98-label-3.jpg)
![](../resources/close.gif)
|
| |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
XMLBigInteger Class ReferenceList of all members.
|
Public Methods |
| XMLBigInteger (const XMLCh *const strValue) |
| Constructs a newly allocated XMLBigInteger object that represents the value represented by the string.
|
| ~XMLBigInteger () |
| XMLBigInteger (const XMLBigInteger &toCopy) |
void | multiply (const unsigned int byteToShift) |
void | divide (const unsigned int byteToShift) |
int | getTotalDigit () const |
XMLCh * | toString () const |
| Return a copy of the fMagnitue.
|
XMLCh * | getRawData () const |
| Return a copy of the fMagnitue.
|
bool | operator== (const XMLBigInteger &toCompare) const |
| Compares this object to the specified object.
|
int | getSign () const |
| Returns the signum function of this number (i.e., -1, 0 or 1 as the value of this number is negative, zero or positive).
|
int | intValue () const |
Static Public Methods |
void | parseBigInteger (const XMLCh *const toConvert, XMLCh *const retBuffer, int &signValue) |
int | compareValues (const XMLBigInteger *const lValue,const XMLBigInteger *const rValue) |
Constructor & Destructor Documentation
XMLBigInteger::XMLBigInteger |
( |
const XMLCh *const |
strValue |
) |
|
|
|
Constructs a newly allocated XMLBigInteger object that represents the value represented by the string.
The string is converted to an int value as if by the valueOf method. - Parameters:
-
strValue |
the String to be converted to an XMLBigInteger . |
- Exceptions:
-
NumberFormatException |
if the String does not contain a parsable XMLBigInteger. |
|
XMLBigInteger::~XMLBigInteger |
( |
|
) |
|
|
XMLBigInteger::XMLBigInteger |
( |
const XMLBigInteger & |
toCopy |
) |
|
|
Member Function Documentation
int XMLBigInteger::compareValues |
( |
const XMLBigInteger *const |
lValue, |
|
|
const XMLBigInteger *const |
rValue |
|
) |
[static] |
|
void XMLBigInteger::divide |
( |
const unsigned int |
byteToShift |
) |
|
|
XMLCh * XMLBigInteger::getRawData |
( |
|
) |
|
|
|
Return a copy of the fMagnitue.
This is similar to toString, except the internal buffer is returned directly Caller is not required to delet the returned memory. |
int XMLBigInteger::getSign |
( |
|
) |
|
|
|
Returns the signum function of this number (i.e., -1, 0 or 1 as the value of this number is negative, zero or positive).
|
int XMLBigInteger::getTotalDigit |
( |
|
) |
|
|
int XMLBigInteger::intValue |
( |
|
) |
|
|
void XMLBigInteger::multiply |
( |
const unsigned int |
byteToShift |
) |
|
|
bool XMLBigInteger::operator== |
( |
const XMLBigInteger & |
toCompare |
) |
const |
|
|
Compares this object to the specified object.
The result is true if and only if the argument is not null and is an XMLBigInteger object that contains the same int value as this object. - Parameters:
-
toCompare |
the object to compare with. |
- Returns:
-
true if the objects are the same; false otherwise. |
void XMLBigInteger::parseBigInteger |
( |
const XMLCh *const |
toConvert, |
|
|
XMLCh *const |
retBuffer, |
|
|
int & |
signValue |
|
) |
[static] |
|
XMLCh * XMLBigInteger::toString |
( |
|
) |
|
|
|
Return a copy of the fMagnitue.
A leading sign is ALWAYS in place and the caller of this method is responsible for the de-allocation of the memory. |
The documentation for this class was generated from the following file:
|
|
|