class OmBigIntegerNode

The big integer final node structure. More...

Definition#include <OmHeaders.h>
InheritsOmFinalNode
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members

Protected Members


Detailed Description

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 ()
[const virtual]

Get the digits.

void setDigits (const char * digits_in)
[virtual]

Set the digits.

int getSign ()
[const virtual]

Get the sign.

void setSign (int sign_in)
[virtual]

Set the sign.

unsigned int getBase ()
[const virtual]

Get the base.

void setBase (unsigned int base_in)
[virtual]

Set the base.

OmBigIntegerNode (const OmBigIntegerNode & other_in)
[protected]

Copy constructor.

~OmBigIntegerNode ()
[protected virtual]

Destructor.

OmType typeImp ()
[protected const virtual]

Implement access to the concrete type.

OmNode * cloneImp ()
[protected const virtual]

Implement the deep cloning.

void writeImp (OmOutputDevice & output_in)
[protected const virtual]

Implement the writing to an output device.

void readImp (OmInputDevice & input_in)
[protected virtual]

Implement the reading from an input device.


Generated by: root@localhost.localdomain on Tue Oct 12 21:02:30 199.