    

 ## On this page

  

 

 # Class sysc::InputIntegerData

 Last update: 17.07.2025 

![](https://img.shields.io/badge/language-C%2B%2B-blue "C++")![](https://img.shields.io/badge/-public-brightgreen "public")

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

Provide a class for input integer data.

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

## Members

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

## Private attributes

<a id="classsysc_1_1InputIntegerData_1a5d0ed3f158f7e14f47f5d9b7c1bd53d5"></a>

### Variable m\_dataType

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

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

```cpp
sysc::PrimitiveType sysc::InputIntegerData::m_dataType {sysc::PrimitiveType::Int32}

```

**Type**: [sysc::PrimitiveType](namespacesysc.md#group__SystemCouplingParticipantAPIs_1gad3b1c73e4a63f4d292d65f3db875e844)

<a id="classsysc_1_1InputIntegerData_1afa1d6713b265b457a013f9e7c73ac6d7"></a>

### Variable m\_data

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

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

```cpp
void* sysc::InputIntegerData::m_data {nullptr}

```

**Type**: void \*

<a id="classsysc_1_1InputIntegerData_1aeaf16d21cbab591e42717ecf1f9b8ff8"></a>

### Variable m\_size

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

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

```cpp
std::size_t sysc::InputIntegerData::m_size {0}

```

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

## Public functions

<a id="classsysc_1_1InputIntegerData_1a197118b58aae0a61e10db7c99daf8d3c"></a>

### Function InputIntegerData

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

```cpp
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**:

<a id="classsysc_1_1InputIntegerData_1a2190dea65690927f4353cdb890747921"></a>

### Function InputIntegerData

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

```cpp
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&lt; std::uint16\_t &gt; &amp; **data**

**Return type**:

<a id="classsysc_1_1InputIntegerData_1a499f4796323d0ef016854b3a2c5c44a3"></a>

### Function InputIntegerData

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

```cpp
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**:

<a id="classsysc_1_1InputIntegerData_1af0fe70c940080d3d2e87cfdae14372e1"></a>

### Function InputIntegerData

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

```cpp
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&lt; std::uint64\_t &gt; &amp; **data**

**Return type**:

<a id="classsysc_1_1InputIntegerData_1a5e662f8b291be3db1757fd0b66c437d5"></a>

### Function InputIntegerData

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

```cpp
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**:

<a id="classsysc_1_1InputIntegerData_1aedd1b20bd8278de88a20dbaa32901fde"></a>

### Function InputIntegerData

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

```cpp
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&lt; std::int32\_t &gt; &amp; **data**

**Return type**:

<a id="classsysc_1_1InputIntegerData_1afa9b5ddc4c3205decc140ceb2fc40041"></a>

### Function InputIntegerData

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

```cpp
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**:

<a id="classsysc_1_1InputIntegerData_1a1ae9b165a1aaa28b5d972c0e4dc82045"></a>

### Function InputIntegerData

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

```cpp
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&lt; std::int64\_t &gt; &amp; **data**

**Return type**:

<a id="classsysc_1_1InputIntegerData_1a6f6c46e793a72b74015449828d6eb0e4"></a>

### Function InputIntegerData

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

```cpp
sysc::InputIntegerData::InputIntegerData()=default

```

Provide a default constructor.

**Return type**:

<a id="classsysc_1_1InputIntegerData_1ac30ff24c59c9733c4dabf4484e279817"></a>

### Function InputIntegerData

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

```cpp
sysc::InputIntegerData::InputIntegerData(const InputIntegerData &)=default

```

Provide a copy-constructor.

**Parameters**:

- const [InputIntegerData](classsysc_1_1InputIntegerData.md#classsysc_1_1InputIntegerData) &amp;

**Return type**:

<a id="classsysc_1_1InputIntegerData_1a3fd5fbce5aaafb0ab45216cbe89f2923"></a>

### Function InputIntegerData

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

```cpp
sysc::InputIntegerData::InputIntegerData(InputIntegerData &&)=default

```

Provide a move-constructor.

**Parameters**:

- [InputIntegerData](classsysc_1_1InputIntegerData.md#classsysc_1_1InputIntegerData) &amp;&amp;

**Return type**:

<a id="classsysc_1_1InputIntegerData_1a95fd23b25a5554fc8b40767dd38f4bea"></a>

### Function operator=

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

```cpp
InputIntegerData& sysc::InputIntegerData::operator=(const InputIntegerData &)=default

```

Provide a copy-assign operator.

**Parameters**:

- const [InputIntegerData](classsysc_1_1InputIntegerData.md#classsysc_1_1InputIntegerData) &amp;

**Return type**: [InputIntegerData](classsysc_1_1InputIntegerData.md#classsysc_1_1InputIntegerData) &amp;

<a id="classsysc_1_1InputIntegerData_1a75e6ecca2a20cb3c2da3b5abfa93f1de"></a>

### Function operator=

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

```cpp
InputIntegerData& sysc::InputIntegerData::operator=(InputIntegerData &&)=default

```

Provide a move-assign operator.

**Parameters**:

- [InputIntegerData](classsysc_1_1InputIntegerData.md#classsysc_1_1InputIntegerData) &amp;&amp;

**Return type**: [InputIntegerData](classsysc_1_1InputIntegerData.md#classsysc_1_1InputIntegerData) &amp;

<a id="classsysc_1_1InputIntegerData_1ac76f3e89875fbb2f344fbaee9cda407e"></a>

### Function size

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
std::size_t sysc::InputIntegerData::size() const noexcept

```

Get the size of data.

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

<a id="classsysc_1_1InputIntegerData_1aa1cac22d87bc3ae31320d794bc255f8d"></a>

### Function empty

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
bool sysc::InputIntegerData::empty() const noexcept

```

Check if array "data" is empty.

**Return type**: bool

<a id="classsysc_1_1InputIntegerData_1adb4d5c60740aa878670c1c35aabe31e4"></a>

### Function getDataType

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
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](namespacesysc.md#group__SystemCouplingParticipantAPIs_1gad3b1c73e4a63f4d292d65f3db875e844)

<a id="classsysc_1_1InputIntegerData_1a315827bc95be67c62d535f68f35a1c37"></a>

### Function getData

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-const-lightblue "const")

```cpp
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](namespacesysc.md#group__SystemCouplingParticipantAPIs_1ggad3b1c73e4a63f4d292d65f3db875e844a65168a2fa10ccf906e55b9ae11f4d98d)