Skip to main content

System Coupling C++ library 2025 R1

sysc::IntegerAttribute Class Reference

Last update: 17.07.2025

Provide a class for an integer-valued attribute. More...

#include <Attribute.hpp>

Public Member Functions

 IntegerAttribute (AttributeName name, std::int64_t value)
 Provide a constructor for the IntegerAttribute class. More...
 
 IntegerAttribute (AttributeName name, std::int64_t value, bool modifiable)
 Provide a constructor for the IntegerAttribute class. More...
 
const AttributeNamegetName () const noexcept
 
std::int64_t getValue () const noexcept
 
bool isModifiable () const noexcept
 

Detailed Description

Provide a class for an integer-valued attribute.

Definition at line 82 of file Attribute.hpp.

Constructor & Destructor Documentation

◆ IntegerAttribute() [1/2]

sysc::IntegerAttribute::IntegerAttribute ( AttributeName  name,
std::int64_t  value 
)

Provide a constructor for the IntegerAttribute class.

Parameters
[in]name- attribute name.
[in]value- attribute value.

◆ IntegerAttribute() [2/2]

sysc::IntegerAttribute::IntegerAttribute ( AttributeName  name,
std::int64_t  value,
bool  modifiable 
)

Provide a constructor for the IntegerAttribute class.

Parameters
[in]name- attribute name.
[in]value- attribute value.
  • Parameters
    [in]modifiable- attribute is modifiable.

Connect with Ansys