> ## 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.

# sysc::IntegerAttribute Class Reference

Part of [C++ Interfaces for Participant Library](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/group__SystemCouplingParticipantAPIs)

Provide a class for an integer-valued attribute.

`#include <Attribute.hpp>`

## Public Member Functions

| Type | Name |
| - | - |
| | [IntegerAttribute](#afb0787aba682b1564ca5b23d506b264c) ([AttributeName](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/group__SystemCouplingParticipantAPIs#gadb06eacf4ed0787d18e8ddbf0612c83c) name, std::int64\_t value) Provide a constructor for the [IntegerAttribute](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/classsysc_1_1IntegerAttribute.md) class. |
| | [IntegerAttribute](#a18a6abf9327ed02ca9c683a7405514d4) ([AttributeName](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/group__SystemCouplingParticipantAPIs#gadb06eacf4ed0787d18e8ddbf0612c83c) name, std::int64\_t value, bool modifiable) Provide a constructor for the [IntegerAttribute](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/classsysc_1_1IntegerAttribute.md) class. |
|  const [AttributeName](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/group__SystemCouplingParticipantAPIs#gadb06eacf4ed0787d18e8ddbf0612c83c) & | **getName** () 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](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/Attribute_8hpp_source) of file [Attribute.hpp](https://developer.synopsys.com/docs/system-coupling/system-coupling-cpp-library/Attribute_8hpp_source).

## Constructor & Destructor Documentation

### IntegerAttribute() \[1/2]

```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-cpp-library/classsysc_1_1IntegerAttribute.md) class.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | name | - attribute name. |
| \[in] | value | - attribute value. |

### IntegerAttribute() \[2/2]

```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-cpp-library/classsysc_1_1IntegerAttribute.md) class.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | name | - attribute name. |
| \[in] | value | - attribute value. |

* **Parameters**

  | Direction | Name | Description |
  | - | - | - |
  | \[in] | modifiable | - attribute is modifiable. |
