RKH
|
Defines casting operations which are internally used by RKH. More...
Go to the source code of this file.
Macros | |
#define | RKH_UPCAST(BaseType_, me_) ((BaseType_ *)me_) |
Convert a pointer to a base-class. More... | |
#define | RKH_DOWNCAST(DerivedType_, me_) ((DerivedType_ *)me_) |
Converts a base-class pointer to a derived-class pointer. | |
#define | RKH_CAST(_type, _obj) ((_type *)(_obj)) |
Perform downcast of a reference of a base class to one of its derived classes. More... | |
Defines casting operations which are internally used by RKH.
Definition in file rkhfwk_cast.h.
#define RKH_CAST | ( | _type, | |
_obj | |||
) | ((_type *)(_obj)) |
Perform downcast of a reference of a base class to one of its derived classes.
Definition at line 107 of file rkhfwk_cast.h.