#include <Xrtti.h>
Inheritance diagram for Xrtti::Constructor:
Public Member Functions | |
virtual | ~Constructor () |
bool | operator== (const Constructor &other) const |
bool | operator!= (const Constructor &other) const |
virtual const ConstructorSignature & | GetSignature () const =0 |
virtual const char * | GetArgumentName (U32 index) const =0 |
virtual bool | IsInvokeable () const =0 |
virtual void * | Invoke (void **pArgumentValues) const =0 |
|
|
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.
|
|
Inequality operator - returns false when the == operator would return true, and vice versa.
|
|
Returns an object describing the signature of this constructor.
|
|
Additionally, a Constructor gives names to its arguments. This returns the name of argument at index [index].
|
|
Returns true if this method is invokeable. Only if this method returns true may the Invoke() method be called.
|
|
Invokes this constructor and returns the constructed instance. The 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.
|