Skip to main content
Definition: Attribute.hpp (line 23) Provide a class for a real-valued attribute.

Members

Private attributes

Variable m_name

Definition: Attribute.hpp (line 68)
Type: AttributeName

Variable m_value

Definition: Attribute.hpp (line 69)
Type: double

Variable m_dimensionality

Definition: Attribute.hpp (line 70)
Type: Dimensionality

Variable m_modifiable

Definition: Attribute.hpp (line 71)
Type: bool

Public functions

Function RealAttribute

Provide a constructor for the RealAttribute class. Parameters:
  • name: - attribute name.
  • value: - attribute value.
  • dimensionality: - attribute dimensionality.
Parameters: Return type:

Function RealAttribute

Provide a constructor for the RealAttribute class. Parameters:
  • name: - attribute name.
  • value: - attribute value.
  • dimensionality: - attribute dimensionality.
  • modifiable: - attribute is modifiable.
Parameters: Return type:

Function getName

Return type: const AttributeName &

Function getValue

Return type: double

Function getDimensionality

Return type: const Dimensionality &

Function isModifiable

Return type: bool

Function getUnits

Return type: std::string