#include <IfcRepresentationContextAutoImpl.h>
The IfcRepresentationContext defines the context to which the IfcRepresentation of a product is related.
Definition at line 47 of file Ifc2x_Final/IfcRepresentationContextAutoImpl.h.
◆ IfcRepresentationContext()
| OdIfc2x_final::IfcRepresentationContext::IfcRepresentationContext |
( |
| ) |
|
◆ getAttr() [1/2]
| virtual OdRxValue OdIfc2x_final::IfcRepresentationContext::getAttr |
( |
const char * | attrName | ) |
const |
|
overridevirtual |
◆ getAttr() [2/2]
◆ getContextIdentifier()
| const OdAnsiString & OdIfc2x_final::IfcRepresentationContext::getContextIdentifier |
( |
| ) |
const |
Returns the value of ContextIdentifier attribute. This attribute represents the optional identifier of the representation context as used within a project.
- Returns
- Returns the value of ContextIdentifier attribute.
◆ getContextType()
| const OdAnsiString & OdIfc2x_final::IfcRepresentationContext::getContextType |
( |
| ) |
const |
Returns the value of ContextType attribute. This attribute represents the description of the type of a representation context. The supported values for context type are to be specified by implementers agreements.
- Returns
- Returns the value of ContextType attribute.
◆ getInstanceType()
| virtual OdDAI::Entity * OdIfc2x_final::IfcRepresentationContext::getInstanceType |
( |
| ) |
const |
|
overridevirtual |
Returns a type of a class instance.
- Returns
- Pointer to the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdDAI__Entity.html>>OdDAI::Entity</exref> type that determines an entity definition within a schema.
Reimplemented in OdIfc2x_final::IfcGeometricRepresentationContext.
◆ getInvRepresentationsInContext()
| void OdIfc2x_final::IfcRepresentationContext::getInvRepresentationsInContext |
( |
OdDAIObjectIds & | RepresentationsInContext | ) |
const |
Returns the value of RepresentationsInContext attribute. This attribute represents all shape representations that are defined in the same representation context.
- Parameters
-
| RepresentationsInContext | [out] Receives the value of RepresentationsInContext attribute. |
◆ inFields()
| virtual OdResult OdIfc2x_final::IfcRepresentationContext::inFields |
( |
OdDAI::OdSpfFilerBase * | rdFiler | ) |
|
|
overridevirtual |
◆ isKindOf()
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::OdIfcInstance.
Reimplemented in OdIfc2x_final::IfcGeometricRepresentationContext.
◆ outFields()
| virtual OdResult OdIfc2x_final::IfcRepresentationContext::outFields |
( |
OdDAI::OdSpfFilerBase * | wrFiler | ) |
|
|
overridevirtual |
◆ putAttr() [1/2]
| virtual bool OdIfc2x_final::IfcRepresentationContext::putAttr |
( |
const char * | explicitAttrName, |
|
|
const OdRxValue & | val ) |
|
overridevirtual |
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::OdIfcInstance.
Reimplemented in OdIfc2x_final::IfcGeometricRepresentationContext.
◆ putAttr() [2/2]
◆ setContextIdentifier()
| void OdIfc2x_final::IfcRepresentationContext::setContextIdentifier |
( |
const OdAnsiString & | ContextIdentifier | ) |
|
Sets the value of ContextIdentifier attribute. This attribute represents the optional identifier of the representation context as used within a project.
- Parameters
-
| ContextIdentifier | [in] Context identifier to set. |
◆ setContextType()
| void OdIfc2x_final::IfcRepresentationContext::setContextType |
( |
const OdAnsiString & | ContextType | ) |
|
Sets the value of ContextType attribute. This attribute represents the description of the type of a representation context. The supported values for context type are to be specified by implementers agreements.
- Parameters
-
| ContextType | [in] Context type to set. |
◆ testAttr() [1/2]
| virtual bool OdIfc2x_final::IfcRepresentationContext::testAttr |
( |
const char * | explicitAttrName | ) |
const |
|
overridevirtual |
◆ testAttr() [2/2]
| virtual bool OdIfc2x_final::IfcRepresentationContext::testAttr |
( |
const OdIfc::OdIfcAttribute | explicitAttrDef | ) |
const |
|
overridevirtual |
◆ type()
◆ unsetAttr() [1/2]
| virtual void OdIfc2x_final::IfcRepresentationContext::unsetAttr |
( |
const char * | explicitAttrName | ) |
|
|
overridevirtual |
◆ unsetAttr() [2/2]
◆ IfcRepresentation
◆ m_ContextIdentifier
| OdAnsiString OdIfc2x_final::IfcRepresentationContext::m_ContextIdentifier |
|
protected |
◆ m_ContextType
| OdAnsiString OdIfc2x_final::IfcRepresentationContext::m_ContextType |
|
protected |
The documentation for this class was generated from the following file: