#include <Xrtti.h>
Public Member Functions | |
virtual | ~Destructor () |
bool | operator== (const Destructor &other) const |
bool | operator!= (const Destructor &other) const |
virtual bool | IsVirtual () const =0 |
virtual bool | IsPureVirtual () const =0 |
virtual const DestructorSignature & | GetSignature () const =0 |
virtual bool | IsInvokeable () const =0 |
virtual void | Invoke (void *pInstance) const =0 |
virtual Xrtti::Destructor::~Destructor | ( | ) | [inline, virtual] |
bool Xrtti::Destructor::operator== | ( | const Destructor & | 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::Destructor::operator!= | ( | const Destructor & | 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 bool Xrtti::Destructor::IsVirtual | ( | ) | const [pure virtual] |
Returns true if the destructor is virtual, false if it is concrete.
virtual bool Xrtti::Destructor::IsPureVirtual | ( | ) | const [pure virtual] |
Returns true if the destructor is pure virtual, false if it is not.
virtual const DestructorSignature& Xrtti::Destructor::GetSignature | ( | ) | const [pure virtual] |
Returns an object describing the signature of this destructor.
virtual bool Xrtti::Destructor::IsInvokeable | ( | ) | const [pure virtual] |
virtual void Xrtti::Destructor::Invoke | ( | void * | pInstance | ) | const [pure virtual] |
Invokes this destructor on a constructed object. constructed instance must be deleted by the caller. If the containing Structure is anonymous, this method will return NULL, since anonymous Structures cannot be instantiated.
pInstance | is the instance of the object to destroy |