#include <Xrtti.h>
Public Member Functions | |
const Structure & | GetStructure () const |
U32 | GetOffset () const |
|
Returns the structure which is the base class/struct/union.
|
|
Returns the offset from an instance of the subclass, to the instance of the superclass. class Foo { }; class Bar : public Foo { }; Foo *pF; Bar *pB = (Bar *) ((void *) pF + offset); NOTE that this value will be 0 when the Base is the base of an anonymous Structure.
|