#include <cDomain.h>
List of all members.
Detailed Description
Definition at line 59 of file cDomain.h.
Constructor & Destructor Documentation
virtual fib::cDomain::~cDomain |
( |
| ) |
|
|
pure virtual |
Member Function Documentation
virtual cDomain* fib::cDomain::clone |
( |
| ) |
const |
|
pure virtual |
This Method clones this object.
- Returns:
- a clone of this object
Implemented in fib::cDomainInteger, fib::cDomainIntegerBit, fib::cDomainNaturalNumber, fib::cDomainNaturalNumberBit, fib::cDomainVectorOpenEnd, fib::cDomainVector, fib::cDomainRational, fib::cDomainIntegerBasis, fib::cDomainVectorBasis, fib::cDomainSingle, fib::cDomainReference, and fib::cDomainRationalBasis.
virtual bool fib::cDomain::equal |
( |
const cDomain & |
domain | ) |
const |
|
virtual |
This Method checks if the given domain is equal to this domain.
- Parameters:
-
domain | the domain which should be equal to this domain |
- Returns:
- true if the given domain is equal to this domain, else false
virtual string fib::cDomain::getType |
( |
| ) |
const |
|
pure virtual |
virtual bool fib::cDomain::isReference |
( |
| ) |
const |
|
virtual |
virtual bool fib::cDomain::isScalar |
( |
| ) |
const |
|
virtual |
virtual bool fib::cDomain::isVector |
( |
| ) |
const |
|
virtual |
virtual bool fib::cDomain::operator== |
( |
const cDomain & |
domain | ) |
const |
|
virtual |
This method restores a domain from a bitstream, wher it is stored in the compressed fib -format.
Factory Method
- See also:
- store
- Parameters:
-
iBitStream | the stream where the domain is stored in, because the stream is an cReadBits, any number of bits can be readed from it |
outStatus | an integervalue with the errorvalue possible errorvalues are:
- 0 loading successful
- -1 loading error, invalid pXmlElement
- -2 loading error, invalid data in pXmlElement
- 1 loading warning, invalid data in pXmlElement, error could be corrected
- 2 loading warning, invalid data in pXmlElement, maybe the loaded object is wrong
|
- Returns:
- a pointer to the restored domain or NULL
This method restores a domain from a bitstream, wher it is stored in the compressed fib -format.
Factory Method
- See also:
- store
- Parameters:
-
iBitStream | the stream where the domain is stored in, because the stream is an cReadBits, any number of bits can be readed from it |
- Returns:
- an integervalue with the errorvalue possible errorvalues are:
- 0 loading successful
- -1 loading error, invalid pXmlElement
- -2 loading error, invalid data in pXmlElement
- 1 loading warning, invalid data in pXmlElement, error could be corrected
- 2 loading warning, invalid data in pXmlElement, maybe the loaded object is wrong
Implemented in fib::cDomainInteger, fib::cDomainIntegerBit, fib::cDomainNaturalNumber, fib::cDomainNaturalNumberBit, fib::cDomainVectorOpenEnd, fib::cDomainVector, fib::cDomainRational, and fib::cDomainReference.
static cDomain* fib::cDomain::restoreXml |
( |
const TiXmlElement * |
pXmlElement, |
|
|
intFib & |
outStatus |
|
) |
| |
|
static |
This method restores a domain in the XML -format from an TinyXml element.
Factory Method
- Parameters:
-
pXmlNode | a pointer to the TinyXml node wher the domain is stored in |
outStatus | an integervalue with the errorvalue possible errorvalues are:
- 0 loading successful
- -1 loading error, invalid pXmlElement
- -2 loading error, invalid data in pXmlElement
- 1 loading warning, invalid data in pXmlElement, error could be corrected
- 2 loading warning, invalid data in pXmlElement, maybe the loaded object is wrong
|
- Returns:
- the pointers to the restored domain, if non could be restored the returned pointer is NULL
virtual intFib fib::cDomain::restoreXml |
( |
const TiXmlElement * |
pXmlElement | ) |
|
|
pure virtual |
This method restores a domain in the XML -format from an TinyXml element.
Factory Method
- Parameters:
-
pXmlNode | a pointer to the TinyXml node wher the domain is stored in |
- Returns:
- an integervalue with the errorvalue possible errorvalues are:
- 0 loading successful
- -1 loading error, invalid pXmlElement
- -2 loading error, invalid data in pXmlElement
- 1 loading warning, invalid data in pXmlElement, error could be corrected
- 2 loading warning, invalid data in pXmlElement, maybe the loaded object is wrong
Implemented in fib::cDomainInteger, fib::cDomainIntegerBit, fib::cDomainNaturalNumber, fib::cDomainNaturalNumberBit, fib::cDomainVectorOpenEnd, fib::cDomainVector, fib::cDomainRational, and fib::cDomainReference.
virtual bool fib::cDomain::store |
( |
ostream & |
stream, |
|
|
char & |
cRestBits, |
|
|
unsigned char & |
uiRestBitPosition |
|
) |
| const |
|
pure virtual |
virtual bool fib::cDomain::storeXml |
( |
ostream & |
ostream | ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: