Skip to main content
Definition: Attribute.hpp (line 82) Provide a class for an integer-valued attribute.

Members

Private attributes

Variable m_name

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

Variable m_value

Definition: Attribute.hpp (line 118)
Type: std::int64_t

Variable m_modifiable

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

Public functions

Function IntegerAttribute

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

Function IntegerAttribute

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

Function getName

Return type: const AttributeName &

Function getValue

Return type: std::int64_t

Function isModifiable

Return type: bool