Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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.
 

Macro Definition Documentation

◆ Draw_Drawable3D_FACTORY

#define Draw_Drawable3D_FACTORY
Value:
static void RegisterFactory() { Draw_Drawable3D::RegisterFactory(get_type_name(), &Restore); } \
Standard_EXPORT static occ::handle<Draw_Drawable3D> Restore(Standard_IStream& theStream);
std::istream Standard_IStream
Definition Standard_IStream.hxx:26
static void RegisterFactory(const char *const theType, const FactoryFunction_t &theFactory)
Register factory for restoring drawable from stream (opposite to Draw_Drawable3D::Save()).
Intrusive smart pointer for use with Standard_Transient class and its descendants.
Definition Standard_Handle.hxx:54

Auxiliary macros defining Draw_Drawable3D restoration API to sub-class.