#include <Xrtti.h>
Inheritance diagram for Xrtti::Field:
Public Member Functions | |
const Type & | GetType () const |
U32 | GetOffset () const |
void | Get (void *pInstance, Value &returnValue) const |
void | Set (void *pInstance, const Value &value) const |
|
Returns the type of the Field.
|
|
Returns the offset in bytes from the beginning of the containing Structure to this Field. This field's value is undefined for all static Fields, and for all bitfield Fields. NOTE that this method returns 0 for Fields of anonymous Structures.
|
|
Returns the current value of this Field within the given instance, which is an object of the type of the context containing this field. Returns an undefined value if the containing class is anonymous or the field is an anonymous structure.
|
|
Sets the current value of this Field within the given instance, which is an object of the type of the context containing this field. Has no effect if the containing class is anonymous. This method must not be called for static Fields.
|