Open CASCADE Technology  6.9.0
Macros
MoniTool_Macros.hxx File Reference

Macros

#define GetCasted(atype, start)   Handle(atype)::DownCast(start)
 
#define DeclareAndCast(atype, result, start)   Handle(atype) result = Handle(atype)::DownCast(start)
 
#define FastCast(atype, result, start)   Handle(atype) result; result = (*(Handle(atype)*))& start
 

Macro Definition Documentation

#define DeclareAndCast (   atype,
  result,
  start 
)    Handle(atype) result = Handle(atype)::DownCast(start)
#define FastCast (   atype,
  result,
  start 
)    Handle(atype) result; result = (*(Handle(atype)*))& start
#define GetCasted (   atype,
  start 
)    Handle(atype)::DownCast(start)