Index

NAME

DEF_VIRTUAL_CAST


INCLUDE

include "macros.h"

KEYWORDS

casting


DESCRIPTION

The  macro  defines  possible  casts  from  the  current class to
derived class objects.  The derived class  objects  must  contain
the macro VIRTUAL_CAST.



EXAMPLES

|  class aClass
   { ...
     DEF_VIRTUAL_CAST(bClass)
     DEF_VIRTUAL_CAST(cClass)
      ..
   };

 class bClass : public class aClass
  { ..
     VIRTUAL_CAST(bclass)
    ..
  };



SEE ALSO

"CAST_REF, CAST_PTR, macros