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

Members

Private attributes

Variable m_name

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

Variable m_value

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

Variable m_lowerBound

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

Variable m_upperBound

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

Variable m_hasLowerBound

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

Variable m_hasUpperBound

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

Variable m_dimensionality

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

Variable m_modifiable

Definition: Attribute.hpp (line 118)
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 RealAttribute

Provide a constructor for the RealAttribute class. Parameters:
  • name: - attribute name.
  • value: - attribute value.
  • dimensionality: - attribute dimensionality.
  • modifiable: - attribute is modifiable.
  • hasLowerBound: - attribute has a lower bound.
  • lowerBound: - lower bound of the attribute value.
  • hasUpperBound: - attribute has an upper bound.
  • upperBound: - upper bound of the attribute value.
Parameters:
  • AttributeName name
  • double value
  • Dimensionality dimensionality
  • bool modifiable
  • bool hasLowerBound
  • double lowerBound
  • bool hasUpperBound
  • double upperBound
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

Function setLowerBound

Parameters:
  • double lowerBound
Return type: void

Function setUpperBound

Parameters:
  • double upperBound
Return type: void

Function hasLowerBound

Return type: bool

Function hasUpperBound

Return type: bool

Function getLowerBound

Return type: double

Function getUpperBound

Return type: double