#include <Xrtti.h>
Inheritance diagram for Xrtti::Method:
Public Member Functions | |
virtual | ~Method () |
bool | operator== (const Method &other) const |
bool | operator!= (const Method &other) const |
virtual bool | IsOperatorMethod () const =0 |
virtual bool | IsConst () const =0 |
virtual bool | IsVirtual () const =0 |
virtual bool | IsPureVirtual () const =0 |
virtual const MethodSignature & | GetSignature () const =0 |
virtual const char * | GetArgumentName (U32 index) const =0 |
virtual bool | IsInvokeable () const =0 |
virtual void | Invoke (void *pInstance, void *pReturnValue, 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 true if the method is an operator method, false if not.
|
|
Returns true if the method is const, false if it is not.
|
|
Returns true if the method is virtual, false if it is concrete.
|
|
Returns true if the method is pure virtual, false if it is not.
|
|
Returns an object describing the signature of this method.
|
|
Additionally, a Method 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 method on an instance of the class represented by the Class containing this Method. It is an error to attempt to invoke a pure virtual method. This method has no effect if the containing Structure is anonymous, since methods cannot be called on anonymous structures.
|