CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc::OdIfcProject Class Reference

#include <IfcProject.h>

Inheritance diagram for OdIfc::OdIfcProject:
OdIfc::OdIfcObjectDefinition OdIfc::OdIfcRoot OdIfc::OdIfcCachedCompound OdIfc::OdIfcCompound

Public Member Functions

virtual void compose ()
 
OdDAIObjectId getUnitsInContextId ()
 
OdString getPhase ()
 
OdString getLongName ()
 
OdDAIObjectIds getRepresentationContexts ()
 
virtual bool subWorldDraw (OdGiWorldDraw *pWd) const ODRX_OVERRIDE
 
OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
- Public Member Functions inherited from OdIfc::OdIfcObjectDefinition
void compose () override
 
const OdDAIObjectIds & getIsNestedBy () const
 
OdDAIObjectIds extractIsNestedBy () const
 
- Public Member Functions inherited from OdIfc::OdIfcCachedCompound
 OdIfcCachedCompound ()
 
virtual void setGsNode (OdGsCache *pGsNode)
 
virtual OdGsCachegsNode () const
 
- Public Member Functions inherited from OdIfc::OdIfcCompound
void compose () override
 
OdIfcEntityType type ()
 
OdRxValue getAttr (const OdIfcAttribute attrDef) const
 
virtual OdRxValue getAttr (const OdAnsiString &attrName) const
 
OdIfcModelowningModel () const
 
bool isKindOf (OdIfcEntityType type) const
 
bool isInstanceOf (OdIfcEntityType entityType) const
 
const OdAnsiString & typeName ()
 
OdIfcFileowningIfcFile () const
 
OdStepFile * owningStepFile () const override
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
virtual OdDbStub * ownerId () const
 
virtual void xmitPropagateModify ()
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcCompound
static const OdIfcInstanceearlyAccess (const OdIfcCompound *compound)
 
- Protected Attributes inherited from OdIfc::OdIfcCachedCompound
OdGsCachem_pGsNode
 
- Protected Attributes inherited from OdIfc::OdIfcCompound
OdIfcInstancem_pEntInst
 

Detailed Description

A class that implements storing and handling data about an IFC project. The project determines the design, construction, and maintenance context of a product.

Definition at line 42 of file IfcProject.h.

Member Function Documentation

◆ compose()

virtual void OdIfc::OdIfcProject::compose ( )
virtual

Composes the project object.

◆ getLongName()

OdString OdIfc::OdIfcProject::getLongName ( )

Retrieves the project's long name.

Returns
A string that contains the project's long name.

◆ getPhase()

OdString OdIfc::OdIfcProject::getPhase ( )

Retrieves the project phase.

Returns
A string that contains the phase name.

◆ getRepresentationContexts()

OdDAIObjectIds OdIfc::OdIfcProject::getRepresentationContexts ( )

Retrieves the project's representation context.

Returns
An array of DAI object identifiers, which refer to the representation context objects.

◆ getUnitsInContextId()

OdDAIObjectId OdIfc::OdIfcProject::getUnitsInContextId ( )

Retrieves the unit context identifier of the project.

Returns
An DAI object identifier of the unit's context.

◆ subSetAttributes()

OdUInt32 OdIfc::OdIfcProject::subSetAttributes ( OdGiDrawableTraits * pTraits) const

Sets the values of the object's subentity traits, and returns the object's subentity traits to the calling subroutine.

Parameters
pTraits[in] A raw pointer to the <exref target="https://docs.opendesign.com/tv_api_cpp/OdGiDrawableTraits.html">OdGiDrawableTraits</exref> object to be set.
Returns
A set of flags represented with an unsigned 32-bit integer value.
Remarks
When re-implementing this method, use the "or" bit operation (|) for the return value of the parent class' subSetAttributes() method and any flags you have added.
See also
<exref target="https://docs.opendesign.com/tv_api_cpp/OdGiDrawableTraits.html">OdGiDrawableTraits</exref> class documentation.

◆ subWorldDraw()

virtual bool OdIfc::OdIfcProject::subWorldDraw ( OdGiWorldDraw * pWd) const
virtual

Draws the graphical representation of the project object that is independent of any viewport contexts.

Parameters
pWd[in] A raw pointer to the <exref target="https://docs.opendesign.com/tv_api_cpp/OdGiDrawable.html">OdGiDrawable</exref> object that encapsulates parameters of viewport-independent vectorization.
Returns
true if the drawing was successful; otherwise, the method returns false.

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