OpenLexocad  27.1
Base::BaseClass Class Reference

BaseClass class and root of the type system. More...

#include <Base.h>

Inheritance diagram for Base::BaseClass:
Base::Persistence Core::AbstractBehaviorMode Data::Segment Geom::GeometryExtension Topo::TopologicalItem Core::Property Core::PropertyContainer Core::Transaction Core::TransactionObject Data::ComplexGeoData Geom::Geometry Geom::Geometry2d Geom::GeometryPersistenceExtension Topo::Coedge Topo::Edge Topo::Face Topo::Shape Topo::Shell Topo::Vertex Topo::Wire

Public Member Functions

virtual Type getTypeId (void) const
 
template<typename T >
bool isDerivedFrom () const
 
bool isDerivedFrom (const Type type) const
 
 BaseClass ()
 Construction. More...
 
virtual ~BaseClass ()
 Destruction. More...
 

Static Public Member Functions

static Type getClassTypeId (void)
 
static void init (void)
 
static void * create (void)
 
static void setIfcNameAndID (const std::string &n, int id)
 

Public Attributes

long ____deadVal = 0xBADEAFFE
 

Static Protected Member Functions

static void initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=0)
 
static void initIfcTypes (const std::string &s, Base::Type classTypeId, int id)
 

Detailed Description

BaseClass class and root of the type system.

Constructor & Destructor Documentation

◆ BaseClass()

Base::BaseClass::BaseClass ( )

Construction.

◆ ~BaseClass()

virtual Base::BaseClass::~BaseClass ( )
virtual

Destruction.

Member Function Documentation

◆ create()

static void* Base::BaseClass::create ( void  )
inlinestatic

◆ getClassTypeId()

static Type Base::BaseClass::getClassTypeId ( void  )
static

◆ getTypeId()

virtual Type Base::BaseClass::getTypeId ( void  ) const
virtual

◆ init()

static void Base::BaseClass::init ( void  )
static

◆ initIfcTypes()

static void Base::BaseClass::initIfcTypes ( const std::string &  s,
Base::Type  classTypeId,
int  id 
)
staticprotected

◆ initSubclass()

static void Base::BaseClass::initSubclass ( Base::Type toInit,
const char *  ClassName,
const char *  ParentName,
Type::instantiationMethod  method = 0 
)
staticprotected

◆ isDerivedFrom() [1/2]

template<typename T >
bool Base::BaseClass::isDerivedFrom ( ) const
inline

◆ isDerivedFrom() [2/2]

bool Base::BaseClass::isDerivedFrom ( const Type  type) const
inline

◆ setIfcNameAndID()

static void Base::BaseClass::setIfcNameAndID ( const std::string &  n,
int  id 
)
static

Member Data Documentation

◆ ____deadVal

long Base::BaseClass::____deadVal = 0xBADEAFFE

The documentation for this class was generated from the following file: