|
|
The big integer final node structure.
This class provides a specialization of OmFinalNode to implement the BigInteger node construction. This corresponds to a sequence of digits in base 10 or 16, they are 'infinite' precision numbers. This is encoded as <OMI> representation </OMI> The list of children must always be empty.
explicit OmBigIntegerNode (const char * digits_in="", int sign_in=+1, unsigned int base_in=10) |
Constructor (can be used as default).
const char * getDigits () |
Get the digits.
void setDigits (const char * digits_in) |
Set the digits.
int getSign () |
Get the sign.
void setSign (int sign_in) |
Set the sign.
unsigned int getBase () |
Get the base.
void setBase (unsigned int base_in) |
Set the base.
OmBigIntegerNode (const OmBigIntegerNode & other_in) |
Copy constructor.
~OmBigIntegerNode () |
Destructor.
OmType typeImp () |
Implement access to the concrete type.
OmNode * cloneImp () |
Implement the deep cloning.
void writeImp (OmOutputDevice & output_in) |
Implement the writing to an output device.
void readImp (OmInputDevice & input_in) |
Implement the reading from an input device.
Generated by: root@localhost.localdomain on Tue Oct 12 21:02:30 199. |