Open CASCADE Technology  7.7.0
Data Structures | Macros

Draw_Drawable3D.hxx File Reference

#include <Standard_CString.hxx>
#include <Standard_Type.hxx>
#include <Standard_Transient.hxx>
#include <Standard_IStream.hxx>
#include <Standard_OStream.hxx>
#include <Draw_Interpretor.hxx>

Data Structures

class  Draw_Drawable3D
 

Macros

#define Draw_Drawable3D_FACTORY
 Auxiliary macros defining Draw_Drawable3D restoration API to sub-class. More...
 

Macro Definition Documentation

◆ Draw_Drawable3D_FACTORY

#define Draw_Drawable3D_FACTORY
Value:
static void RegisterFactory() { Draw_Drawable3D::RegisterFactory (get_type_name(), &Restore); } \
Standard_EXPORT static Handle(Draw_Drawable3D) Restore (Standard_IStream& theStream);
#define Handle(Class)
Define Handle() macro.
Definition: Standard_Handle.hxx:400
std::istream Standard_IStream
Definition: Standard_IStream.hxx:20
Definition: Draw_Drawable3D.hxx:32
static void RegisterFactory(const Standard_CString theType, const FactoryFunction_t &theFactory)
Register factory for restoring drawable from stream (opposite to Draw_Drawable3D::Save()).

Auxiliary macros defining Draw_Drawable3D restoration API to sub-class.