CAST_PTR
include "macros.h"
casting, pointers
Casting of a class pointer to another class pointer type. The actual object must also be of the new class type.
| class aClass
{ ...
DEF_VIRTUAL_CAST(bClass)
};
class bClass : public class aClass { VIRTUAL_CAST(bclass) };
aClass* ba = new bClass;
bClass* b = CAST_PTR( ba , bClass);
CAST_REF, CAST_PTR,DEF_VIRTUAL_CAST, macros,