    

 ## On this page

  

 

 # Structure sysc::InputComplexScalarData

 Last update: 09.03.2026 

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

**Definition**: `InputComplexScalarData.hpp` (line 22)

Provide a class for input complex scalar data.

Input scalar data provides read and write access to an array of complex scalars.

## Members

- [empty](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1ad7c8bad4fe00dc8e31160925a811eb5a)
- [getData1](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1ac383892e65a8b8b096c9cab1d3b08c1b)
- [getData2](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a0a187b765e77776a377608a6e2a3697f)
- [getDataType](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a19522f922326595ae0eeafbb3807136b)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a2651ceaed447865458a33e21feab6bc4)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1aaad5ae16ce141940bf382347bfcde0fc)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a17e9c685d7df19afaab8c8d79a7f3a5e)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a3cb2a7e0408644aa704afe24a3c69680)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a4fd7a610e7b5bbf7e23fafed47354e4b)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1af47c2f36650c1a595436f18e53da2cee)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1aebb2f21dc9bb49e32ef384ea232fac2d)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a4767c4598c7bf8e358581963281d116f)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a27ebf7b7affe5cd3c54fea4032024546)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1aa3af42841050f48442f7c799934464b1)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a87ddce421dd35973a0fb7e5ba971f1ab)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a580988b37a3df87bc3f7b8e54ab44bb1)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a04373a36866867b8d84d2eddca6c123e)
- [isSplitComplex](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a77de5929a7ea7631649982e5fb3104da)
- [m\_data1](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a216b4355c68bc40716d4f35430c02698)
- [m\_data2](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1ab91001f99844f033ad55ad3a9309889c)
- [m\_dataType](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1af0025f6a082772a145e8dc3518f421e4)
- [m\_isSplitComplex](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1af2cd5681cfae4f69b6f41c04f23e95e2)
- [m\_size](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1aa528e45207016d04e24ede1521684342)
- [operator=](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a41da726f542ca165597ce23485817436)
- [operator=](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a8bea30a09f2c26387e79969ad46ab9cc)
- [size](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a9034067801b82ce51fb707e45517d08b)

## Private attributes

<a id="structsysc_1_1InputComplexScalarData_1af0025f6a082772a145e8dc3518f421e4"></a>

### Variable m\_dataType

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

**Definition**: `InputComplexScalarData.hpp` (line 259)

```cpp
PrimitiveType sysc::InputComplexScalarData::m_dataType {[PrimitiveType::Double](group__SystemCouplingParticipantAPIs.md#group__SystemCouplingParticipantAPIs_1ggad3b1c73e4a63f4d292d65f3db875e844a29843d2c1bb5760f768dcc066dac1ac1)}

```

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

<a id="structsysc_1_1InputComplexScalarData_1af2cd5681cfae4f69b6f41c04f23e95e2"></a>

### Variable m\_isSplitComplex

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

**Definition**: `InputComplexScalarData.hpp` (line 260)

```cpp
bool sysc::InputComplexScalarData::m_isSplitComplex {false}

```

**Type**: bool

<a id="structsysc_1_1InputComplexScalarData_1a216b4355c68bc40716d4f35430c02698"></a>

### Variable m\_data1

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

**Definition**: `InputComplexScalarData.hpp` (line 262)

```cpp
void* sysc::InputComplexScalarData::m_data1 {nullptr}

```

**Type**: void \*

<a id="structsysc_1_1InputComplexScalarData_1ab91001f99844f033ad55ad3a9309889c"></a>

### Variable m\_data2

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

**Definition**: `InputComplexScalarData.hpp` (line 263)

```cpp
void* sysc::InputComplexScalarData::m_data2 {nullptr}

```

**Type**: void \*

<a id="structsysc_1_1InputComplexScalarData_1aa528e45207016d04e24ede1521684342"></a>

### Variable m\_size

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

**Definition**: `InputComplexScalarData.hpp` (line 265)

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

```

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

## Public functions

<a id="structsysc_1_1InputComplexScalarData_1a2651ceaed447865458a33e21feab6bc4"></a>

### Function InputComplexScalarData

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

```cpp
sysc::InputComplexScalarData::InputComplexScalarData(double *dataComplex, std::size_t size)

```

Provide a constructor for input complex scalar data with compact storage for complex components.

**Parameters**:

- **dataComplex**: - pointer to an array of complex double-precision scalars
- **size**: - number of scalars

**Parameters**:

- double \* **dataComplex**
- std::size\_t **size**

**Return type**:

**References**:

- [size](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a9034067801b82ce51fb707e45517d08b)

**Referenced by**:

- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a580988b37a3df87bc3f7b8e54ab44bb1)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a04373a36866867b8d84d2eddca6c123e)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a4fd7a610e7b5bbf7e23fafed47354e4b)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a4767c4598c7bf8e358581963281d116f)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1aebb2f21dc9bb49e32ef384ea232fac2d)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1aa3af42841050f48442f7c799934464b1)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1af47c2f36650c1a595436f18e53da2cee)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a27ebf7b7affe5cd3c54fea4032024546)
- [operator=](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a41da726f542ca165597ce23485817436)
- [operator=](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a8bea30a09f2c26387e79969ad46ab9cc)

<a id="structsysc_1_1InputComplexScalarData_1aaad5ae16ce141940bf382347bfcde0fc"></a>

### Function InputComplexScalarData

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

```cpp
sysc::InputComplexScalarData::InputComplexScalarData(double *dataReal, double *dataImaginary, std::size_t size)

```

Create an input complex scalar data access object with split storage for complex components.

**Parameters**:

- **dataReal**: - pointer to an array of double-precision data, that stores the real components of the complex scalars.
- **dataImaginary**: - pointer to an array of double-precision data, that stores the imaginary components of the complex scalars.
- **size**: - number of complex scalars

**Parameters**:

- double \* **dataReal**
- double \* **dataImaginary**
- std::size\_t **size**

**Return type**:

**References**:

- [size](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a9034067801b82ce51fb707e45517d08b)

<a id="structsysc_1_1InputComplexScalarData_1a17e9c685d7df19afaab8c8d79a7f3a5e"></a>

### Function InputComplexScalarData

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

```cpp
sysc::InputComplexScalarData::InputComplexScalarData(float *dataComplex, std::size_t size)

```

Provide a constructor for input complex scalar data with compact storage for complex components.

**Parameters**:

- **dataComplex**: - pointer to an array of complex single-precision scalars
- **size**: - number of scalars

**Parameters**:

- float \* **dataComplex**
- std::size\_t **size**

**Return type**:

**References**:

- [sysc::Float](group__SystemCouplingParticipantAPIs.md#group__SystemCouplingParticipantAPIs_1ggad3b1c73e4a63f4d292d65f3db875e844af25f11e4d5a18405d2880727956e3c06)
- [size](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a9034067801b82ce51fb707e45517d08b)

<a id="structsysc_1_1InputComplexScalarData_1a3cb2a7e0408644aa704afe24a3c69680"></a>

### Function InputComplexScalarData

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

```cpp
sysc::InputComplexScalarData::InputComplexScalarData(float *dataReal, float *dataImaginary, std::size_t size)

```

Create an input complex scalar data access object with split storage for complex components.

**Parameters**:

- **dataReal**: - pointer to an array of single-precision data, that stores the real components of the complex scalars.
- **dataImaginary**: - pointer to an array of single-precision data, that stores the imaginary components of the complex scalars.
- **size**: - number of complex scalars

**Parameters**:

- float \* **dataReal**
- float \* **dataImaginary**
- std::size\_t **size**

**Return type**:

**References**:

- [sysc::Float](group__SystemCouplingParticipantAPIs.md#group__SystemCouplingParticipantAPIs_1ggad3b1c73e4a63f4d292d65f3db875e844af25f11e4d5a18405d2880727956e3c06)
- [size](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a9034067801b82ce51fb707e45517d08b)

<a id="structsysc_1_1InputComplexScalarData_1a4fd7a610e7b5bbf7e23fafed47354e4b"></a>

### Function InputComplexScalarData

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

```cpp
sysc::InputComplexScalarData::InputComplexScalarData(std::complex< double > *dataComplex, std::size_t size)

```

Provide a constructor for input complex scalar data with compact storage for complex components.

**Parameters**:

- **dataComplex**: - pointer to an array of complex double-precision scalars
- **size**: - number of scalars

**Parameters**:

- std::complex&lt; double &gt; \* **dataComplex**
- std::size\_t **size**

**Return type**:

**References**:

- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a2651ceaed447865458a33e21feab6bc4)
- [size](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a9034067801b82ce51fb707e45517d08b)

<a id="structsysc_1_1InputComplexScalarData_1af47c2f36650c1a595436f18e53da2cee"></a>

### Function InputComplexScalarData

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

```cpp
sysc::InputComplexScalarData::InputComplexScalarData(std::vector< std::complex< double > > &dataComplex)

```

Provide a constructor for input complex scalar data with compact storage for complex components.

**Parameters**:

- **dataComplex**: - reference to the STL vector of complex double-precision data

**Parameters**:

- std::vector&lt; std::complex&lt; double &gt; &gt; &amp; **dataComplex**

**Return type**:

**References**:

- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a2651ceaed447865458a33e21feab6bc4)
- [size](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a9034067801b82ce51fb707e45517d08b)

<a id="structsysc_1_1InputComplexScalarData_1aebb2f21dc9bb49e32ef384ea232fac2d"></a>

### Function InputComplexScalarData

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

```cpp
sysc::InputComplexScalarData::InputComplexScalarData(std::vector< double > &dataReal, std::vector< double > &dataImaginary)

```

Create an input complex scalar data access object with split storage for complex components.

**Parameters**:

- **dataReal**: - reference to an STL vector of double-precision data, that stores the real components of the complex scalars.
- **dataImaginary**: - reference to an STL vector of double-precision data, that stores the imaginary components of the complex scalars.

**Parameters**:

- std::vector&lt; double &gt; &amp; **dataReal**
- std::vector&lt; double &gt; &amp; **dataImaginary**

**Return type**:

**References**:

- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a2651ceaed447865458a33e21feab6bc4)
- [size](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a9034067801b82ce51fb707e45517d08b)

<a id="structsysc_1_1InputComplexScalarData_1a4767c4598c7bf8e358581963281d116f"></a>

### Function InputComplexScalarData

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

```cpp
sysc::InputComplexScalarData::InputComplexScalarData(std::complex< float > *dataComplex, std::size_t size)

```

Provide a constructor for input complex scalar data with compact storage for complex components.

**Parameters**:

- **dataComplex**: - pointer to an array of complex single-precision scalars
- **size**: - number of scalars

**Parameters**:

- std::complex&lt; float &gt; \* **dataComplex**
- std::size\_t **size**

**Return type**:

**References**:

- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a2651ceaed447865458a33e21feab6bc4)
- [size](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a9034067801b82ce51fb707e45517d08b)

<a id="structsysc_1_1InputComplexScalarData_1a27ebf7b7affe5cd3c54fea4032024546"></a>

### Function InputComplexScalarData

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

```cpp
sysc::InputComplexScalarData::InputComplexScalarData(std::vector< std::complex< float > > &dataComplex)

```

Provide a constructor for input complex scalar data with compact storage for complex components.

**Parameters**:

- **dataComplex**: - reference to the STL vector of complex single-precision data

**Parameters**:

- std::vector&lt; std::complex&lt; float &gt; &gt; &amp; **dataComplex**

**Return type**:

**References**:

- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a2651ceaed447865458a33e21feab6bc4)
- [size](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a9034067801b82ce51fb707e45517d08b)

<a id="structsysc_1_1InputComplexScalarData_1aa3af42841050f48442f7c799934464b1"></a>

### Function InputComplexScalarData

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

```cpp
sysc::InputComplexScalarData::InputComplexScalarData(std::vector< float > &dataReal, std::vector< float > &dataImaginary)

```

Create an input complex scalar data access object with split storage for complex components.

**Parameters**:

- **dataReal**: - reference to an STL vector of single-precision data, that stores the real components of the complex scalars.
- **dataImaginary**: - reference to an STL vector of single-precision data, that stores the imaginary components of the complex scalars.

**Parameters**:

- std::vector&lt; float &gt; &amp; **dataReal**
- std::vector&lt; float &gt; &amp; **dataImaginary**

**Return type**:

**References**:

- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a2651ceaed447865458a33e21feab6bc4)
- [size](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a9034067801b82ce51fb707e45517d08b)

<a id="structsysc_1_1InputComplexScalarData_1a87ddce421dd35973a0fb7e5ba971f1ab"></a>

### Function InputComplexScalarData

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

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

```

Provide a default constructor.

**Return type**:

<a id="structsysc_1_1InputComplexScalarData_1a580988b37a3df87bc3f7b8e54ab44bb1"></a>

### Function InputComplexScalarData

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

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

```

Provide a copy-constructor.

**Parameters**:

- const [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData) &amp;

**Return type**:

**References**:

- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a2651ceaed447865458a33e21feab6bc4)

<a id="structsysc_1_1InputComplexScalarData_1a04373a36866867b8d84d2eddca6c123e"></a>

### Function InputComplexScalarData

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

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

```

Provide a move-constructor.

**Parameters**:

- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData) &amp;&amp;

**Return type**:

**References**:

- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a2651ceaed447865458a33e21feab6bc4)

<a id="structsysc_1_1InputComplexScalarData_1a41da726f542ca165597ce23485817436"></a>

### Function operator=

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

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

```

Provide a copy-assign operator.

**Parameters**:

- const [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData) &amp;

**Return type**: [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData) &amp;

**References**:

- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a2651ceaed447865458a33e21feab6bc4)

<a id="structsysc_1_1InputComplexScalarData_1a8bea30a09f2c26387e79969ad46ab9cc"></a>

### Function operator=

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

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

```

Provide a move-assign operator.

**Parameters**:

- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData) &amp;&amp;

**Return type**: [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData) &amp;

**References**:

- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a2651ceaed447865458a33e21feab6bc4)

<a id="structsysc_1_1InputComplexScalarData_1a9034067801b82ce51fb707e45517d08b"></a>

### Function size

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

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

```

Get the size of data.

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

**Referenced by**:

- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a2651ceaed447865458a33e21feab6bc4)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1aaad5ae16ce141940bf382347bfcde0fc)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a17e9c685d7df19afaab8c8d79a7f3a5e)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a3cb2a7e0408644aa704afe24a3c69680)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a4fd7a610e7b5bbf7e23fafed47354e4b)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a4767c4598c7bf8e358581963281d116f)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1aebb2f21dc9bb49e32ef384ea232fac2d)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1aa3af42841050f48442f7c799934464b1)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1af47c2f36650c1a595436f18e53da2cee)
- [InputComplexScalarData](structsysc_1_1InputComplexScalarData.md#structsysc_1_1InputComplexScalarData_1a27ebf7b7affe5cd3c54fea4032024546)

<a id="structsysc_1_1InputComplexScalarData_1ad7c8bad4fe00dc8e31160925a811eb5a"></a>

### Function empty

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

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

```

Check if array "data" is empty.

**Return type**: bool

<a id="structsysc_1_1InputComplexScalarData_1a19522f922326595ae0eeafbb3807136b"></a>

### Function getDataType

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

```cpp
sysc::PrimitiveType sysc::InputComplexScalarData::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="structsysc_1_1InputComplexScalarData_1a77de5929a7ea7631649982e5fb3104da"></a>

### Function isSplitComplex

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

```cpp
bool sysc::InputComplexScalarData::isSplitComplex() const noexcept

```

Query whether it's a split or compact vector layout.

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

**Return type**: bool

<a id="structsysc_1_1InputComplexScalarData_1ac383892e65a8b8b096c9cab1d3b08c1b"></a>

### Function getData1

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

```cpp
void * sysc::InputComplexScalarData::getData1() const noexcept

```

Get pointer to data1.

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

**Return type**: void \*

<a id="structsysc_1_1InputComplexScalarData_1a0a187b765e77776a377608a6e2a3697f"></a>

### Function getData2

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

```cpp
void * sysc::InputComplexScalarData::getData2() const noexcept

```

Get pointer to data2.

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

**Return type**: void \*