> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class sysc::IntegerAttribute

![][C++]
![][public]

**Definition**: `Attribute.hpp` (line 82)

Provide a class for an integer-valued attribute.

## Members

* [getName](#classsysc_1_1IntegerAttribute_1a2e6ac3f7c7a68e88f541b870d9348892)
* [getValue](#classsysc_1_1IntegerAttribute_1a7988b7e0be9211f02cc9c2c27222bddd)
* [IntegerAttribute](#classsysc_1_1IntegerAttribute_1afb0787aba682b1564ca5b23d506b264c)
* [IntegerAttribute](#classsysc_1_1IntegerAttribute_1a18a6abf9327ed02ca9c683a7405514d4)
* [isModifiable](#classsysc_1_1IntegerAttribute_1a3160540026ecf02ec23169089c9b1137)
* [m\_modifiable](#classsysc_1_1IntegerAttribute_1ace37e743b8d79b5e822d6dcf1c589c3c)
* [m\_name](#classsysc_1_1IntegerAttribute_1a67c2e22a922c2ee6fe4eb7f2861bbda1)
* [m\_value](#classsysc_1_1IntegerAttribute_1a4aec60e453ab5f3d27d35f736312bd45)

## Private attributes

### Variable m\_name

![][private]

**Definition**: `Attribute.hpp` (line 117)

```cpp theme={null}
AttributeName sysc::IntegerAttribute::m_name
```

**Type**: [AttributeName](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/namespacesysc#group__SystemCouplingParticipantAPIs_1gadb06eacf4ed0787d18e8ddbf0612c83c)

### Variable m\_value

![][private]

**Definition**: `Attribute.hpp` (line 118)

```cpp theme={null}
std::int64_t sysc::IntegerAttribute::m_value {0}
```

**Type**: std::int64\_t

### Variable m\_modifiable

![][private]

**Definition**: `Attribute.hpp` (line 119)

```cpp theme={null}
bool sysc::IntegerAttribute::m_modifiable {true}
```

**Type**: bool

## Public functions

### Function IntegerAttribute

![][public]

```cpp theme={null}
sysc::IntegerAttribute::IntegerAttribute(AttributeName name, std::int64_t value)
```

Provide a constructor for the [IntegerAttribute](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1IntegerAttribute.md) class.

**Parameters**:

* **name**: - attribute name.
* **value**: - attribute value.

**Parameters**:

* [AttributeName](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/namespacesysc#group__SystemCouplingParticipantAPIs_1gadb06eacf4ed0787d18e8ddbf0612c83c) **name**
* std::int64\_t **value**

**Return type**:

### Function IntegerAttribute

![][public]

```cpp theme={null}
sysc::IntegerAttribute::IntegerAttribute(AttributeName name, std::int64_t value, bool modifiable)
```

Provide a constructor for the [IntegerAttribute](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1IntegerAttribute.md) class.

**Parameters**:

* **name**: - attribute name.

* **value**: - attribute value.

*

**Parameters**:

* **modifiable**: - attribute is modifiable.

**Parameters**:

* [AttributeName](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/namespacesysc#group__SystemCouplingParticipantAPIs_1gadb06eacf4ed0787d18e8ddbf0612c83c) **name**
* std::int64\_t **value**
* bool **modifiable**

**Return type**:

### Function getName

![][public]
![][const]

```cpp theme={null}
const AttributeName& sysc::IntegerAttribute::getName() const noexcept
```

**Return type**: const [AttributeName](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/namespacesysc#group__SystemCouplingParticipantAPIs_1gadb06eacf4ed0787d18e8ddbf0612c83c) &

### Function getValue

![][public]
![][const]

```cpp theme={null}
std::int64_t sysc::IntegerAttribute::getValue() const noexcept
```

**Return type**: std::int64\_t

### Function isModifiable

![][public]
![][const]

```cpp theme={null}
bool sysc::IntegerAttribute::isModifiable() const noexcept
```

**Return type**: bool

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[C++]: https://img.shields.io/badge/language-C%2B%2B-blue "C++"

[private]: https://img.shields.io/badge/-private-red "private"

[const]: https://img.shields.io/badge/-const-lightblue "const"
