#include <Xrtti.h>
Public Member Functions | |
virtual | ~Union () |
bool | operator== (const Context &other) const |
bool | operator!= (const Context &other) const |
bool | operator== (const Union &other) const |
bool | operator!= (const Union &other) const |
virtual Type | GetType () const |
virtual Xrtti::Union::~Union | ( | ) | [inline, virtual] |
bool Xrtti::Union::operator== | ( | const Context & | 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 |
Reimplemented from Xrtti::Context.
References Xrtti::Context::GetType().
bool Xrtti::Union::operator!= | ( | const Context & | other | ) | const [inline] |
Inequality operator - returns false when the == operator would return true, and vice versa.
other | is the other object to compare against |
Reimplemented from Xrtti::Context.
bool Xrtti::Union::operator== | ( | const Union & | 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 |
bool Xrtti::Union::operator!= | ( | const Union & | 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::Union::GetType | ( | ) | const [inline, virtual] |
Returns the type of this Context, which is Type_Union.
Implements Xrtti::Context.