#include <IfcColourRgbAutoImpl.h>
◆ IfcColourRgb()
OdIfc2x2_final::IfcColourRgb::IfcColourRgb |
( |
| ) |
|
◆ getAttr() [1/2]
virtual OdRxValue OdIfc2x2_final::IfcColourRgb::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.
◆ getAttr() [2/2]
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.
◆ getBlue()
double OdIfc2x2_final::IfcColourRgb::getBlue |
( |
| ) |
const |
◆ getGreen()
double OdIfc2x2_final::IfcColourRgb::getGreen |
( |
| ) |
const |
◆ getInstanceType()
virtual OdDAI::Entity * OdIfc2x2_final::IfcColourRgb::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 from OdIfc2x2_final::IfcColourSpecification.
◆ getRed()
double OdIfc2x2_final::IfcColourRgb::getRed |
( |
| ) |
const |
◆ inFields()
virtual OdResult OdIfc2x2_final::IfcColourRgb::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.
◆ 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 OdIfc2x2_final::IfcColourSpecification.
◆ outFields()
virtual OdResult OdIfc2x2_final::IfcColourRgb::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.
◆ putAttr() [1/2]
virtual bool OdIfc2x2_final::IfcColourRgb::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.
◆ putAttr() [2/2]
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.
◆ setBlue()
void OdIfc2x2_final::IfcColourRgb::setBlue |
( |
double |
Blue | ) |
|
◆ setGreen()
void OdIfc2x2_final::IfcColourRgb::setGreen |
( |
double |
Green | ) |
|
◆ setRed()
void OdIfc2x2_final::IfcColourRgb::setRed |
( |
double |
Red | ) |
|
◆ testAttr() [1/2]
virtual bool OdIfc2x2_final::IfcColourRgb::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.
◆ testAttr() [2/2]
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.
◆ type()
◆ unsetAttr() [1/2]
virtual void OdIfc2x2_final::IfcColourRgb::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.
◆ unsetAttr() [2/2]
Resets a value for the specified attribute.
- Parameters
-
explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc::OdIfcEntity.
◆ m_Blue
◆ m_Green
◆ m_Red
The documentation for this class was generated from the following file: