> ## 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::InputIntegerData

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

**Definition**: `InputIntegerData.hpp` (line 24)

Provide a class for input integer data.

Input integer data provides read & write access to integer data.

## Members

* [empty](#classsysc_1_1InputIntegerData_1aa1cac22d87bc3ae31320d794bc255f8d)
* [getData](#classsysc_1_1InputIntegerData_1a315827bc95be67c62d535f68f35a1c37)
* [getDataType](#classsysc_1_1InputIntegerData_1adb4d5c60740aa878670c1c35aabe31e4)
* [InputIntegerData](#classsysc_1_1InputIntegerData_1a197118b58aae0a61e10db7c99daf8d3c)
* [InputIntegerData](#classsysc_1_1InputIntegerData_1a2190dea65690927f4353cdb890747921)
* [InputIntegerData](#classsysc_1_1InputIntegerData_1a499f4796323d0ef016854b3a2c5c44a3)
* [InputIntegerData](#classsysc_1_1InputIntegerData_1af0fe70c940080d3d2e87cfdae14372e1)
* [InputIntegerData](#classsysc_1_1InputIntegerData_1a5e662f8b291be3db1757fd0b66c437d5)
* [InputIntegerData](#classsysc_1_1InputIntegerData_1aedd1b20bd8278de88a20dbaa32901fde)
* [InputIntegerData](#classsysc_1_1InputIntegerData_1afa9b5ddc4c3205decc140ceb2fc40041)
* [InputIntegerData](#classsysc_1_1InputIntegerData_1a1ae9b165a1aaa28b5d972c0e4dc82045)
* [InputIntegerData](#classsysc_1_1InputIntegerData_1a6f6c46e793a72b74015449828d6eb0e4)
* [InputIntegerData](#classsysc_1_1InputIntegerData_1ac30ff24c59c9733c4dabf4484e279817)
* [InputIntegerData](#classsysc_1_1InputIntegerData_1a3fd5fbce5aaafb0ab45216cbe89f2923)
* [m\_data](#classsysc_1_1InputIntegerData_1afa1d6713b265b457a013f9e7c73ac6d7)
* [m\_dataType](#classsysc_1_1InputIntegerData_1a5d0ed3f158f7e14f47f5d9b7c1bd53d5)
* [m\_size](#classsysc_1_1InputIntegerData_1aeaf16d21cbab591e42717ecf1f9b8ff8)
* [operator=](#classsysc_1_1InputIntegerData_1a95fd23b25a5554fc8b40767dd38f4bea)
* [operator=](#classsysc_1_1InputIntegerData_1a75e6ecca2a20cb3c2da3b5abfa93f1de)
* [size](#classsysc_1_1InputIntegerData_1ac76f3e89875fbb2f344fbaee9cda407e)

## Private attributes

### Variable m\_dataType

![][private]

**Definition**: `InputIntegerData.hpp` (line 136)

```cpp theme={null}
sysc::PrimitiveType sysc::InputIntegerData::m_dataType {sysc::PrimitiveType::Int32}
```

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

### Variable m\_data

![][private]

**Definition**: `InputIntegerData.hpp` (line 137)

```cpp theme={null}
void* sysc::InputIntegerData::m_data {nullptr}
```

**Type**: void \*

### Variable m\_size

![][private]

**Definition**: `InputIntegerData.hpp` (line 138)

```cpp theme={null}
std::size_t sysc::InputIntegerData::m_size {0}
```

**Type**: std::size\_t

## Public functions

### Function InputIntegerData

![][public]

```cpp theme={null}
sysc::InputIntegerData::InputIntegerData(std::uint16_t *data, std::size_t size)
```

Provide a constructor for input integer data, where data is an array of unsigned 16-bit integers.

**Parameters**:

* **data**: Pointer to the first index in the array of unsigned 16-bit integers.
* **size**: Number of elements in the array of unsigned 16-bit integers.

**Parameters**:

* std::uint16\_t \* **data**
* std::size\_t **size**

**Return type**:

### Function InputIntegerData

![][public]

```cpp theme={null}
sysc::InputIntegerData::InputIntegerData(std::vector< std::uint16_t > &data)
```

Provide a constructor for input integer data, where data is an STL vector of unsigned 16-bit integers.

**Parameters**:

* **data**: Reference to STL vector of unsigned 16-bit integers.

**Parameters**:

* std::vector\< std::uint16\_t > & **data**

**Return type**:

### Function InputIntegerData

![][public]

```cpp theme={null}
sysc::InputIntegerData::InputIntegerData(std::uint64_t *data, std::size_t size)
```

Provide a constructor for input integer data, where data is an array of unsigned 64-bit integers.

**Parameters**:

* **data**: Pointer to the first index in the array of unsigned 64-bit integers.
* **size**: Number of elements in the array of unsigned 64-bit integers.

**Parameters**:

* std::uint64\_t \* **data**
* std::size\_t **size**

**Return type**:

### Function InputIntegerData

![][public]

```cpp theme={null}
sysc::InputIntegerData::InputIntegerData(std::vector< std::uint64_t > &data)
```

Provide a constructor for input integer data, where data is an STL vector of unsigned 64-bit integers.

**Parameters**:

* **data**: Reference to STL vector of unsigned 64-bit integers.

**Parameters**:

* std::vector\< std::uint64\_t > & **data**

**Return type**:

### Function InputIntegerData

![][public]

```cpp theme={null}
sysc::InputIntegerData::InputIntegerData(std::int32_t *data, std::size_t size)
```

Provide a constructor for input integer data, where data is an array of signed 32-bit integers.

**Parameters**:

* **data**: Pointer to the first index in the array of signed 32-bit integers.
* **size**: Number of elements in the array of unsigned 64-bit integers.

**Parameters**:

* std::int32\_t \* **data**
* std::size\_t **size**

**Return type**:

### Function InputIntegerData

![][public]

```cpp theme={null}
sysc::InputIntegerData::InputIntegerData(std::vector< std::int32_t > &data)
```

Provide a constructor for input integer data, where data is an STL vector of signed 32-bit integers.

**Parameters**:

* **data**: Reference to STL vector of signed 32-bit integers.

**Parameters**:

* std::vector\< std::int32\_t > & **data**

**Return type**:

### Function InputIntegerData

![][public]

```cpp theme={null}
sysc::InputIntegerData::InputIntegerData(std::int64_t *data, std::size_t size)
```

Provide a constructor for input integer data, where data is an array of signed 64-bit integers.

**Parameters**:

* **data**: Pointer to the first index in the array of signed 64-bit integers.
* **size**: Number of elements in the array of unsigned 64-bit integers.

**Parameters**:

* std::int64\_t \* **data**
* std::size\_t **size**

**Return type**:

### Function InputIntegerData

![][public]

```cpp theme={null}
sysc::InputIntegerData::InputIntegerData(std::vector< std::int64_t > &data)
```

Provide a constructor for input integer data, where data is an STL vector of signed 64-bit integers.

**Parameters**:

* **data**: Reference to STL vector of signed 64-bit integers.

**Parameters**:

* std::vector\< std::int64\_t > & **data**

**Return type**:

### Function InputIntegerData

![][public]

```cpp theme={null}
sysc::InputIntegerData::InputIntegerData()=default
```

Provide a default constructor.

**Return type**:

### Function InputIntegerData

![][public]

```cpp theme={null}
sysc::InputIntegerData::InputIntegerData(const InputIntegerData &)=default
```

Provide a copy-constructor.

**Parameters**:

* const [InputIntegerData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1InputIntegerData.md) &

**Return type**:

### Function InputIntegerData

![][public]

```cpp theme={null}
sysc::InputIntegerData::InputIntegerData(InputIntegerData &&)=default
```

Provide a move-constructor.

**Parameters**:

* [InputIntegerData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1InputIntegerData.md) &&

**Return type**:

### Function operator=

![][public]

```cpp theme={null}
InputIntegerData& sysc::InputIntegerData::operator=(const InputIntegerData &)=default
```

Provide a copy-assign operator.

**Parameters**:

* const [InputIntegerData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1InputIntegerData.md) &

**Return type**: [InputIntegerData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1InputIntegerData.md) &

### Function operator=

![][public]

```cpp theme={null}
InputIntegerData& sysc::InputIntegerData::operator=(InputIntegerData &&)=default
```

Provide a move-assign operator.

**Parameters**:

* [InputIntegerData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1InputIntegerData.md) &&

**Return type**: [InputIntegerData](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/classsysc_1_1InputIntegerData.md) &

### Function size

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

```cpp theme={null}
std::size_t sysc::InputIntegerData::size() const noexcept
```

Get the size of data.

**Return type**: std::size\_t

### Function empty

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

```cpp theme={null}
bool sysc::InputIntegerData::empty() const noexcept
```

Check if array "data" is empty.

**Return type**: bool

### Function getDataType

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

```cpp theme={null}
sysc::PrimitiveType sysc::InputIntegerData::getDataType() const noexcept
```

Get the primitive type of data.

For internal use only (no back-compatibility guarantee).

**Return type**: [sysc::PrimitiveType](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/2025-r2/cpp-reference/namespacesysc#group__SystemCouplingParticipantAPIs_1gad3b1c73e4a63f4d292d65f3db875e844)

### Function getData

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

```cpp theme={null}
void* sysc::InputIntegerData::getData() const noexcept
```

Get the pointer to the data.

For internal use only (no back-compatibility guarantee).

**Return type**: void \*

**References**:

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

[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"
