DEF_VIRTUAL_CAST
include "macros.h"
casting
The macro defines possible casts from the current class to derived class objects. The derived class objects must contain the macro VIRTUAL_CAST.
| class aClass
{ ...
DEF_VIRTUAL_CAST(bClass)
DEF_VIRTUAL_CAST(cClass)
..
};
class bClass : public class aClass
{ ..
VIRTUAL_CAST(bclass)
..
};
"CAST_REF, CAST_PTR, macros