Inheritance diagram for Exponent::Basics::CLong:
Provides CCountedObject functionality around built in 'long' type
Definition at line 37 of file CLong.hpp.
Exponent::Basics::CLong::CLong | ( | const long | value = 0 |
) |
Construction
value | The value to store |
virtual Exponent::Basics::CLong::~CLong | ( | ) | [virtual] |
Destruction
virtual void Exponent::Basics::CLong::getObjectDescription | ( | char * | string, | |
const long | size | |||
) | const [virtual] |
Get a description of the object
string | On return is filled with the description | |
size | The size of the stirng |
Reimplemented from Exponent::Basics::CCountedObject.
long Exponent::Basics::CLong::getValue | ( | ) | const |
Get the value
long | The value stored |
CString Exponent::Basics::CLong::getValueAsString | ( | const long | preceedingZeros = 2 |
) | const |
CLong& Exponent::Basics::CLong::operator * | ( | const long | value | ) |
Multiplication operator
value | The value to multiply with this |
CLong& | A reference to this |
Multiplication operator
value | The value to multiply with this |
CLong& | A reference to this |
bool Exponent::Basics::CLong::operator! | ( | ) |
Not operator
bool | True if value == 0, false otherwise |
bool Exponent::Basics::CLong::operator!= | ( | const long | value | ) |
InEquality operator
value | The value to compare to |
bool | True if values are inequal, false otherwise |
bool Exponent::Basics::CLong::operator!= | ( | const CLong & | value | ) |
InEquality operator
value | The value to compare to |
bool | True if values are inequal, false otherwise |
CLong& Exponent::Basics::CLong::operator+ | ( | const long | value | ) |
Addition operator
value | The value to add to this |
CLong& | A reference to this |
Addition operator
value | The value to add to this |
CLong& | A reference to this |
CLong& Exponent::Basics::CLong::operator+= | ( | const long | value | ) |
Plus equals operator
value | The value to add to this |
CLong& | A reference to this |
Plus equals operator
value | The value to add to this |
CLong& | A reference to this |
CLong& Exponent::Basics::CLong::operator- | ( | const long | value | ) |
Subtraction operator
value | The value to subtract from this |
CLong& | A reference to this |
Subtraction operator
value | The value to subtract from this |
CLong& | A reference to this |
CLong& Exponent::Basics::CLong::operator-= | ( | const long | value | ) |
Neg equals operator
value | The value to subtract from this |
CLong& | A reference to this |
Neg equals operator
value | The value to subtract from this |
CLong& | A reference to this |
CLong& Exponent::Basics::CLong::operator/ | ( | const long | value | ) |
Division operator
value | The value to divide with this |
CLong& | A reference to this |
Division operator
value | The value to divide with this |
CLong& | A reference to this |
CLong& Exponent::Basics::CLong::operator= | ( | const long | value | ) |
Assignment operator
value | The value to store |
CLong& | A reference to this |
Assignment operator
value | The value to store |
CLong& | A reference to this |
bool Exponent::Basics::CLong::operator== | ( | const long | value | ) |
Equality operator
value | The value to compare to |
bool | True if values are equal, false otherwise |
bool Exponent::Basics::CLong::operator== | ( | const CLong & | value | ) |
Equality operator
value | The value to compare to |
bool | True if values are equal, false otherwise |
void Exponent::Basics::CLong::setValue | ( | const long | value | ) |
Set the value
value | The value to store |
void Exponent::Basics::CLong::setValue | ( | const CLong & | value | ) |
Set the value
value | The value to store |
long Exponent::Basics::CLong::m_value [protected] |