CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OdIfcEntResolver Class Referenceabstract

#include <IfcFile.h>

Public Member Functions

 OdIfcEntResolver ()
 
virtual ~OdIfcEntResolver ()
 
void setFile (OdIfcFile *file)
 
void setComposeTypes (const OdArray< OdIfc::OdIfcEntityType > &composeTypes)
 
virtual bool resolve (OdIfc::OdIfcEntity *inst)=0
 

Protected Member Functions

void assignEntity (OdIfc::OdIfcCompound *compound, OdIfc::OdIfcEntity *inst)
 

Protected Attributes

OdIfcFilem_pFile
 
OdArray< OdIfc::OdIfcEntityTypem_composeTypes
 

Detailed Description

An abstract class that provides an interface for the model's entity resolving functionality. An entity resolver resolves the underlying application instance data into the corresponding compound object (in most cases) that can later be used and vectorized or into other objects such as points, matrices, vectors, etc.

See also
<link ifc_object_model, IFC Object Model>

Definition at line 280 of file IfcFile.h.

Constructor & Destructor Documentation

◆ OdIfcEntResolver()

OdIfcEntResolver::OdIfcEntResolver ( )
inline

Creates a new entity resolver with default parameters.

Definition at line 297 of file IfcFile.h.

◆ ~OdIfcEntResolver()

virtual OdIfcEntResolver::~OdIfcEntResolver ( )
inlinevirtual

Destroys the entity resolver object.

Definition at line 304 of file IfcFile.h.

Member Function Documentation

◆ assignEntity()

void OdIfcEntResolver::assignEntity ( OdIfc::OdIfcCompound compound,
OdIfc::OdIfcEntity inst 
)
protected

◆ resolve()

virtual bool OdIfcEntResolver::resolve ( OdIfc::OdIfcEntity inst)
pure virtual

Resolves the model's entity.

Parameters
inst[in] A raw pointer to the entity instance to be resolved.
Returns
true if the entity was successfully resolved; otherwise, the method returns false.

◆ setComposeTypes()

void OdIfcEntResolver::setComposeTypes ( const OdArray< OdIfc::OdIfcEntityType > &  composeTypes)
inline

Sets a set of IfcProduct-base entity types for process into resolver. All other type branches will be resolved by default. Empty array allows compose for all IfcProducts.

Definition at line 316 of file IfcFile.h.

◆ setFile()

void OdIfcEntResolver::setFile ( OdIfcFile file)
inline

Sets a new model to the entity resolver object.

Parameters
model[in] A raw pointer to the model's content object to be set.

Definition at line 310 of file IfcFile.h.

Member Data Documentation

◆ m_composeTypes

OdArray<OdIfc::OdIfcEntityType> OdIfcEntResolver::m_composeTypes
protected

Definition at line 287 of file IfcFile.h.

◆ m_pFile

OdIfcFile* OdIfcEntResolver::m_pFile
protected

Definition at line 285 of file IfcFile.h.


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