OpenLexocad  27.1
OpenLxApp::DocObject Class Reference

DocObject is the base class of all persistent objects. The DocObject belongs to exactly one Document. More...

#include <DocObject.h>

Inheritance diagram for OpenLxApp::DocObject:
OpenLxApp::DocObjectProxy OpenLxApp::ExternalPythonTypeObject OpenLxApp::Geometry OpenLxApp::Group OpenLxApp::MaterialDefinition OpenLxApp::ProfileDef OpenLxApp::Root OpenLxApp::AdvancedBrep OpenLxApp::Block OpenLxApp::BooleanClippingResult OpenLxApp::CartesianPoint OpenLxApp::CompositeCurveSegment OpenLxApp::Curve OpenLxApp::ExtrudedAreaSolid OpenLxApp::FaceBasedSurfaceModel OpenLxApp::FacetedBrep OpenLxApp::GeometryProxy OpenLxApp::InventorImport OpenLxApp::PolygonMesh OpenLxApp::RightCircularCone OpenLxApp::RightCircularCylinder OpenLxApp::ShellBasedSurfaceModel OpenLxApp::Sphere OpenLxApp::Surface OpenLxApp::SweptDiskSolid OpenLxApp::Material OpenLxApp::MaterialConstituent OpenLxApp::MaterialConstituentSet OpenLxApp::ArbitraryClosedProfileDef OpenLxApp::ArbitraryOpenProfileDef OpenLxApp::ParameterizedProfileDef OpenLxApp::ObjectDefinition OpenLxApp::PropertySet OpenLxApp::SubElement

Public Member Functions

std::shared_ptr< DocumentgetDocument () const
 
bool isNew () const
 
bool isUpdated () const
 
bool isValid () const
 
bool hasErrors () const
 
void touch ()
 
LxIfc4::LxIfc4EntityEnum getEntityType () const
 
std::string getEntityTypeAsString () const
 
std::shared_ptr< Core::DbgInfogetDbgInfo () const
 
 DocObject (Core::DocObject *aObject)
 
virtual ~DocObject (void)
 
Core::DocObject__getObj__ () const
 

Protected Member Functions

 DocObject ()
 

Protected Attributes

Core::DocObject_coreObj = nullptr
 

Friends

class Document
 

Detailed Description

DocObject is the base class of all persistent objects. The DocObject belongs to exactly one Document.

Constructor & Destructor Documentation

◆ DocObject() [1/2]

OpenLxApp::DocObject::DocObject ( Core::DocObject aObject)

◆ ~DocObject()

virtual OpenLxApp::DocObject::~DocObject ( void  )
virtual

◆ DocObject() [2/2]

OpenLxApp::DocObject::DocObject ( )
protected

Member Function Documentation

◆ __getObj__()

Core::DocObject* OpenLxApp::DocObject::__getObj__ ( ) const

◆ getDbgInfo()

std::shared_ptr<Core::DbgInfo> OpenLxApp::DocObject::getDbgInfo ( ) const

◆ getDocument()

std::shared_ptr<Document> OpenLxApp::DocObject::getDocument ( ) const

◆ getEntityType()

LxIfc4::LxIfc4EntityEnum OpenLxApp::DocObject::getEntityType ( ) const

◆ getEntityTypeAsString()

std::string OpenLxApp::DocObject::getEntityTypeAsString ( ) const

◆ hasErrors()

bool OpenLxApp::DocObject::hasErrors ( ) const

◆ isNew()

bool OpenLxApp::DocObject::isNew ( ) const

◆ isUpdated()

bool OpenLxApp::DocObject::isUpdated ( ) const

◆ isValid()

bool OpenLxApp::DocObject::isValid ( ) const

◆ touch()

void OpenLxApp::DocObject::touch ( )

Friends And Related Function Documentation

◆ Document

friend class Document
friend

Member Data Documentation

◆ _coreObj

Core::DocObject* OpenLxApp::DocObject::_coreObj = nullptr
protected

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