Class sysc::IntegerAttribute
Last update: 09.03.2026
Definition: Attribute.hpp (line 129)
Provide a class for an integer-valued attribute.
Members
- getLowerBound
- getName
- getUpperBound
- getValue
- hasLowerBound
- hasUpperBound
- IntegerAttribute
- IntegerAttribute
- IntegerAttribute
- isModifiable
- m_hasLowerBound
- m_hasUpperBound
- m_lowerBound
- m_modifiable
- m_name
- m_upperBound
- m_value
- setLowerBound
- setUpperBound
Private attributes
Variable m_name
Definition: Attribute.hpp (line 202)
AttributeName sysc::IntegerAttribute::m_name
Type: AttributeName
Variable m_value
Definition: Attribute.hpp (line 203)
std::int64_t sysc::IntegerAttribute::m_value {0}
Type: std::int64_t
Variable m_lowerBound
Definition: Attribute.hpp (line 204)
std::int64_t sysc::IntegerAttribute::m_lowerBound {0}
Type: std::int64_t
Variable m_upperBound
Definition: Attribute.hpp (line 205)
std::int64_t sysc::IntegerAttribute::m_upperBound {0}
Type: std::int64_t
Variable m_hasLowerBound
Definition: Attribute.hpp (line 206)
bool sysc::IntegerAttribute::m_hasLowerBound {false}
Type: bool
Variable m_hasUpperBound
Definition: Attribute.hpp (line 207)
bool sysc::IntegerAttribute::m_hasUpperBound {false}
Type: bool
Variable m_modifiable
Definition: Attribute.hpp (line 208)
bool sysc::IntegerAttribute::m_modifiable {true}
Type: bool
Public functions
Function IntegerAttribute
sysc::IntegerAttribute::IntegerAttribute(AttributeName name, std::int64_t value)
Provide a constructor for the IntegerAttribute class.
Parameters:
- name: - attribute name.
- value: - attribute value.
Parameters:
- AttributeName name
- std::int64_t value
Return type:
Function IntegerAttribute
sysc::IntegerAttribute::IntegerAttribute(AttributeName name, std::int64_t value, bool modifiable)
Provide a constructor for the IntegerAttribute class.
Parameters:
- name: - attribute name.
- value: - attribute value.
- modifiable: - attribute is modifiable.
Parameters:
- AttributeName name
- std::int64_t value
- bool modifiable
Return type:
Function IntegerAttribute
sysc::IntegerAttribute::IntegerAttribute(AttributeName name, std::int64_t value, bool modifiable, bool hasLowerBound, std::int64_t lowerBound, bool hasUpperBound, std::int64_t upperBound)
Provide a constructor for the IntegerAttribute class.
Parameters:
- name: - attribute name.
- value: - attribute value.
- 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
- std::int64_t value
- bool modifiable
- bool hasLowerBound
- std::int64_t lowerBound
- bool hasUpperBound
- std::int64_t upperBound
Return type:
Function getName
const AttributeName & sysc::IntegerAttribute::getName() const noexcept
Return type: const AttributeName &
Function getValue
std::int64_t sysc::IntegerAttribute::getValue() const noexcept
Return type: std::int64_t
Function isModifiable
bool sysc::IntegerAttribute::isModifiable() const noexcept
Return type: bool
Function setLowerBound
void sysc::IntegerAttribute::setLowerBound(std::int64_t lowerBound) noexcept
Parameters:
- std::int64_t lowerBound
Return type: void
Function setUpperBound
void sysc::IntegerAttribute::setUpperBound(std::int64_t upperBound) noexcept
Parameters:
- std::int64_t upperBound
Return type: void
Function hasLowerBound
bool sysc::IntegerAttribute::hasLowerBound() const noexcept
Return type: bool
Function hasUpperBound
bool sysc::IntegerAttribute::hasUpperBound() const noexcept
Return type: bool
Function getLowerBound
std::int64_t sysc::IntegerAttribute::getLowerBound() const
Return type: std::int64_t
Function getUpperBound
std::int64_t sysc::IntegerAttribute::getUpperBound() const
Return type: std::int64_t