#include <Xrtti.h>
Public Member Functions | |
virtual | ~Pointer () |
bool | operator== (const ArrayOrPointer &other) const |
bool | operator!= (const ArrayOrPointer &other) const |
bool | operator== (const Pointer &other) const |
bool | operator!= (const Pointer &other) const |
virtual Type | GetType () const |
virtual bool | IsConst () const =0 |
virtual bool | IsVolatile () const =0 |
virtual Xrtti::Pointer::~Pointer | ( | ) | [inline, virtual] |
bool Xrtti::Pointer::operator== | ( | const ArrayOrPointer & | other | ) | const [inline] |
Equality operator - returns true if this object is "functionally equivalent" to [other]. The two objects don't have to be exactly identical, but do have to be identical in every meaningful way. Note also that this doesn't test for equality of any base class members; it is a test only at this level of the inheritence hierarcy. To test if an object is completely equals, including for all of its subclasses defined in the Xrtti hierarchy, you must cast this class to its most derived class and call that method.
other | is the other object to compare against |
References Xrtti::ArrayOrPointer::GetType().
bool Xrtti::Pointer::operator!= | ( | const ArrayOrPointer & | other | ) | const [inline] |
Inequality operator - returns false when the == operator would return true, and vice versa.
other | is the other object to compare against |
bool Xrtti::Pointer::operator== | ( | const Pointer & | other | ) | const |
Equality operator - returns true if this object is "functionally equivalent" to [other]. The two objects don't have to be exactly identical, but do have to be identical in every meaningful way. Note also that this doesn't test for equality of any base class members; it is a test only at this level of the inheritence hierarcy. To test if an object is completely equals, including for all of its subclasses defined in the Xrtti hierarchy, you must cast this class to its most derived class and call that method.
other | is the other object to compare against |
bool Xrtti::Pointer::operator!= | ( | const Pointer & | other | ) | const [inline] |
Inequality operator - returns false when the == operator would return true, and vice versa.
other | is the other object to compare against |
virtual Type Xrtti::Pointer::GetType | ( | ) | const [inline, virtual] |
Returns the type of this ArrayOrPointer, which is Type_Pointer.
Implements Xrtti::ArrayOrPointer.
virtual bool Xrtti::Pointer::IsConst | ( | ) | const [pure virtual] |
If this returns true, then the dereferenced value is const. If this returns false, it is not.
virtual bool Xrtti::Pointer::IsVolatile | ( | ) | const [pure virtual] |
If this returns true then the dereferenced value is volatile. If this returns false, it is not.