CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Friends | List of all members
OdIfc2x_final::IfcRepresentation Class Reference

#include <IfcRepresentationAutoImpl.h>

Inheritance diagram for OdIfc2x_final::IfcRepresentation:
OdIfc::OdIfcEntity OdIfc2x_final::IfcShapeRepresentation

Public Member Functions

const OdDAIObjectId & getContextOfItems () const
 
void setContextOfItems (const OdDAIObjectId &ContextOfItems)
 
const OdAnsiString & getRepresentationIdentifier () const
 
void setRepresentationIdentifier (const OdAnsiString &RepresentationIdentifier)
 
const OdAnsiString & getRepresentationType () const
 
void setRepresentationType (const OdAnsiString &RepresentationType)
 
void getItems (OdDAIObjectIds &Items) const
 
OdDAI::OdDAIObjectIdSet & items ()
 
void getInvOfProductRepresentation (OdDAIObjectIds &OfProductRepresentation) const
 
 IfcRepresentation ()
 
virtual OdResult inFields (OdDAI::OdSpfFilerBase *rdFiler)
 
virtual OdResult outFields (OdDAI::OdSpfFilerBase *wrFiler)
 
virtual OdDAI::Entity * getInstanceType () const
 
virtual OdRxValue getAttr (const char *attrName) const
 
virtual void unsetAttr (const char *explicitAttrName)
 
virtual bool testAttr (const char *explicitAttrName) const
 
virtual bool putAttr (const char *explicitAttrName, const OdRxValue &val)
 
virtual bool isKindOf (OdIfc::OdIfcEntityType entityType) const
 
virtual OdIfc::OdIfcEntityType type () const
 
virtual OdRxValue getAttr (const OdIfc::OdIfcAttribute attrDef) const
 
virtual void unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef)
 
virtual bool testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const
 
virtual bool putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val)
 
- Public Member Functions inherited from OdIfc::OdIfcEntity
 ODRX_DECLARE_MEMBERS (OdIfcEntity)
 
 OdIfcEntity ()
 
 ~OdIfcEntity ()
 
virtual bool isKindOf (OdIfcEntityType entityType) const
 
bool isInstanceOf (OdIfcEntityType entityType) const
 
virtual OdIfcEntityType type () const
 
virtual OdRxValue getAttr (const OdIfcAttribute attrDef) const
 
virtual bool testAttr (const char *explicitAttrName) const
 
virtual bool testAttr (const OdIfcAttribute explicitAttrDef) const
 
virtual void unsetAttr (const char *explicitAttrName)
 
virtual void unsetAttr (const OdIfcAttribute explicitAttrDef)
 
virtual bool putAttr (const char *explicitAttrName, const OdRxValue &val)
 
virtual bool putAttr (const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
 
IfcOpResult resolved ()
 
void resolve (IfcOpResult resolved, void *resPtr)
 
void unresolve ()
 
virtual void setGsNode (OdGsCache *pGsNode)
 
virtual OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 

Protected Attributes

OdDAIObjectId m_ContextOfItems
 
OdAnsiString m_RepresentationIdentifier
 
OdAnsiString m_RepresentationType
 
OdDAI::OdDAIObjectIdSet m_Items
 
- Protected Attributes inherited from OdIfc::OdIfcEntity
voidm_resPtr
 
IfcOpResult m_resolved
 

Friends

class IfcProductRepresentation
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcEntity
static const OdGePoint3dasPoint3d (const OdIfcEntity *pEnt)
 
static const OdGePoint2dasPoint2d (const OdIfcEntity *pEnt)
 
static const OdGeVector3dasVector3d (const OdIfcEntity *pEnt)
 
static const OdGeVector2dasVector2d (const OdIfcEntity *pEnt)
 
static const OdGeMatrix2dasMatrix2d (const OdIfcEntity *pEnt)
 
static const OdGeMatrix3dasMatrix3d (const OdIfcEntity *pEnt)
 
static OdIfcCompoundPtr asCompound (OdSmartPtr< OdIfcEntity > pEnt)
 
static const OdCmEntityColorasRgbColor (const OdIfcEntity *pEnt)
 

Detailed Description

Definition at line 43 of file Ifc2x_Final/IfcRepresentationAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcRepresentation()

OdIfc2x_final::IfcRepresentation::IfcRepresentation ( )

Member Function Documentation

◆ getAttr() [1/2]

virtual OdRxValue OdIfc2x_final::IfcRepresentation::getAttr ( const char *  attrName) const
virtual

Returns an attribute value for the specified attribute name.

Parameters
attrName[in] Name of an attribute to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented in OdIfc2x_final::IfcShapeRepresentation.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc2x_final::IfcRepresentation::getAttr ( const OdIfc::OdIfcAttribute  attrDef) const
virtual

Returns an attribute value for the specified attribute definition.

Parameters
attrDef[in] Attribute definition to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x_final::IfcShapeRepresentation, and OdIfc2x_final::IfcShapeRepresentation.

◆ getContextOfItems()

const OdDAIObjectId & OdIfc2x_final::IfcRepresentation::getContextOfItems ( ) const

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc2x_final::IfcRepresentation::getInstanceType ( ) const
virtual

Returns a type of a class instance.

Returns
Pointer to the <link OdDAI__Entity, OdDAI::Entity> type that determines an entity definition within a schema.

Reimplemented in OdIfc2x_final::IfcShapeRepresentation.

◆ getInvOfProductRepresentation()

void OdIfc2x_final::IfcRepresentation::getInvOfProductRepresentation ( OdDAIObjectIds &  OfProductRepresentation) const

◆ getItems()

void OdIfc2x_final::IfcRepresentation::getItems ( OdDAIObjectIds &  Items) const

◆ getRepresentationIdentifier()

const OdAnsiString & OdIfc2x_final::IfcRepresentation::getRepresentationIdentifier ( ) const

◆ getRepresentationType()

const OdAnsiString & OdIfc2x_final::IfcRepresentation::getRepresentationType ( ) const

◆ inFields()

virtual OdResult OdIfc2x_final::IfcRepresentation::inFields ( OdDAI::OdSpfFilerBase *  rdFiler)
virtual

Reads object's data from the specified filer.

Parameters
rdFiler[in] Pointer to a filer from which to read the data.
Returns
A value of OdResult type that contains the result of the method execution.

Reimplemented in OdIfc2x_final::IfcShapeRepresentation.

◆ isKindOf()

virtual bool OdIfc2x_final::IfcRepresentation::isKindOf ( OdIfc::OdIfcEntityType  entityType) const
virtual

Checks whether the specified instance is the object derived from or belongs to this class.

Parameters
entityType[in] Entity to check.
Returns
true if the specified instance is the object derived from or belongs to this class, false otherwise.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x_final::IfcShapeRepresentation.

◆ items()

OdDAI::OdDAIObjectIdSet & OdIfc2x_final::IfcRepresentation::items ( )

◆ outFields()

virtual OdResult OdIfc2x_final::IfcRepresentation::outFields ( OdDAI::OdSpfFilerBase *  wrFiler)
virtual

Writes object's data the the specified filer.

Parameters
wrFiler[in] Pointer to a filer to which to write the data.
Returns
A value of OdResult type that contains the result of the method execution.

Reimplemented in OdIfc2x_final::IfcShapeRepresentation.

◆ putAttr() [1/2]

virtual bool OdIfc2x_final::IfcRepresentation::putAttr ( const char *  explicitAttrName,
const OdRxValue val 
)
virtual

Sets the specified attribute with a given value.

Parameters
explicitAttrName[in] Explicit name of the attribute to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x_final::IfcShapeRepresentation.

◆ putAttr() [2/2]

virtual bool OdIfc2x_final::IfcRepresentation::putAttr ( const OdIfc::OdIfcAttribute  explicitAttrDef,
const OdRxValue val 
)
virtual

Sets the specified attribute with a given value.

Parameters
explicitAttrDef[in] Explicit attribute definition to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x_final::IfcShapeRepresentation, and OdIfc2x_final::IfcShapeRepresentation.

◆ setContextOfItems()

void OdIfc2x_final::IfcRepresentation::setContextOfItems ( const OdDAIObjectId &  ContextOfItems)

◆ setRepresentationIdentifier()

void OdIfc2x_final::IfcRepresentation::setRepresentationIdentifier ( const OdAnsiString &  RepresentationIdentifier)

◆ setRepresentationType()

void OdIfc2x_final::IfcRepresentation::setRepresentationType ( const OdAnsiString &  RepresentationType)

◆ testAttr() [1/2]

virtual bool OdIfc2x_final::IfcRepresentation::testAttr ( const char *  explicitAttrName) const
virtual

Checks whether the specified attribute is set.

Parameters
explicitAttrName[in] Explicit name of the attribute to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x_final::IfcShapeRepresentation.

◆ testAttr() [2/2]

virtual bool OdIfc2x_final::IfcRepresentation::testAttr ( const OdIfc::OdIfcAttribute  explicitAttrDef) const
virtual

Checks whether the specified attribute is set.

Parameters
explicitAttrDef[in] Attribute definition to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x_final::IfcShapeRepresentation.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc2x_final::IfcRepresentation::type ( ) const
virtual

Returns the type of this entity.

Returns
A value of the <link OdIfc__OdIfcEntityType, OdIfc::OdIfcEntityType> type that represents type of this entity.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x_final::IfcShapeRepresentation.

◆ unsetAttr() [1/2]

virtual void OdIfc2x_final::IfcRepresentation::unsetAttr ( const char *  explicitAttrName)
virtual

Resets a value for the specified attribute.

Parameters
explicitAttrName[in] Explicit name of the attribute to reset.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x_final::IfcShapeRepresentation.

◆ unsetAttr() [2/2]

virtual void OdIfc2x_final::IfcRepresentation::unsetAttr ( const OdIfc::OdIfcAttribute  explicitAttrDef)
virtual

Resets a value for the specified attribute.

Parameters
explicitAttrDef[in] Explicit definition that represents an attribute to reset.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x_final::IfcShapeRepresentation.

Friends And Related Function Documentation

◆ IfcProductRepresentation

friend class IfcProductRepresentation
friend

Definition at line 178 of file Ifc2x_Final/IfcRepresentationAutoImpl.h.

Member Data Documentation

◆ m_ContextOfItems

OdDAIObjectId OdIfc2x_final::IfcRepresentation::m_ContextOfItems
protected

Definition at line 172 of file Ifc2x_Final/IfcRepresentationAutoImpl.h.

◆ m_Items

OdDAI::OdDAIObjectIdSet OdIfc2x_final::IfcRepresentation::m_Items
protected

Definition at line 175 of file Ifc2x_Final/IfcRepresentationAutoImpl.h.

◆ m_RepresentationIdentifier

OdAnsiString OdIfc2x_final::IfcRepresentation::m_RepresentationIdentifier
protected

Definition at line 173 of file Ifc2x_Final/IfcRepresentationAutoImpl.h.

◆ m_RepresentationType

OdAnsiString OdIfc2x_final::IfcRepresentation::m_RepresentationType
protected

Definition at line 174 of file Ifc2x_Final/IfcRepresentationAutoImpl.h.


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