    

 ## On this page

  

 

 # sysc::OutputIntegerData Class Reference

 Last update: 17.07.2025 

Provide a class for output integer data. [More...](classsysc_1_1OutputIntegerData.xhtml#details)

`#include <<a class="el" href="OutputIntegerData_8hpp_source.xhtml">OutputIntegerData.hpp</a>>`

## <a name="pub-methods"></a>Public Member Functions

 [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml#aaff24bd17a31494539fe166a58c14a61) (const std::uint16\_t \*data, std::size\_t [size](classsysc_1_1OutputIntegerData.xhtml#a066b9985cc448f197b0e247dfe11ea3c)) Provide a constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of unsigned 16-bit integers. [More...](classsysc_1_1OutputIntegerData.xhtml#aaff24bd17a31494539fe166a58c14a61)  
  [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml#aac9c3dafa5cfd8b1c0faa8a0dfaf4b8b) (const std::vector&lt; std::uint16\_t &gt; &amp;data) Provide an STL vector variation of constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of unsigned 16-bit integers. [More...](classsysc_1_1OutputIntegerData.xhtml#aac9c3dafa5cfd8b1c0faa8a0dfaf4b8b)  
  [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml#a1b00e76dc5eb0ecaf543f43df90dbe1d) (const std::uint64\_t \*data, std::size\_t [size](classsysc_1_1OutputIntegerData.xhtml#a066b9985cc448f197b0e247dfe11ea3c)) Provide a constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of unsigned 64-bit integers. [More...](classsysc_1_1OutputIntegerData.xhtml#a1b00e76dc5eb0ecaf543f43df90dbe1d)  
  [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml#a6bb7fdf48c06f729b453d0cc476b0d51) (const std::vector&lt; std::uint64\_t &gt; &amp;data) Provide an STL vector variation of constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of unsigned 64-bit integers. [More...](classsysc_1_1OutputIntegerData.xhtml#a6bb7fdf48c06f729b453d0cc476b0d51)  
  [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml#a434b5d77b41e183c5e8c66a66feab677) (const std::int32\_t \*data, std::size\_t [size](classsysc_1_1OutputIntegerData.xhtml#a066b9985cc448f197b0e247dfe11ea3c)) Provide a constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of 32-bit integers. [More...](classsysc_1_1OutputIntegerData.xhtml#a434b5d77b41e183c5e8c66a66feab677)  
  [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml#a77f661f442e22e6ef767046363675577) (const std::vector&lt; std::int32\_t &gt; &amp;data) Provide an STL vector variation of constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of 32-bit integers. [More...](classsysc_1_1OutputIntegerData.xhtml#a77f661f442e22e6ef767046363675577)  
  [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml#a3e9b3743b43def94e796ce6ca2440bb5) (const std::int64\_t \*data, std::size\_t [size](classsysc_1_1OutputIntegerData.xhtml#a066b9985cc448f197b0e247dfe11ea3c)) Provide a constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of 64-bit integers. [More...](classsysc_1_1OutputIntegerData.xhtml#a3e9b3743b43def94e796ce6ca2440bb5)  
  [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml#a0b95e5e0c9bd3d32a2896d4ef46751da) (const std::vector&lt; std::int64\_t &gt; &amp;data) Provide an STL vector variation of constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of 64-bit integers. [More...](classsysc_1_1OutputIntegerData.xhtml#a0b95e5e0c9bd3d32a2896d4ef46751da)  
 <a id="a0e6a549839197abac135cae92a4bacc2"></a> [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml#a0e6a549839197abac135cae92a4bacc2) (const [OutputScalarData](classsysc_1_1OutputScalarData.xhtml) &amp;data) Provide a constructor to convert [OutputScalarData](classsysc_1_1OutputScalarData.xhtml "Provide a class for output scalar data.") into [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data.").   
 <a id="a22df364015b79855a8e7b7d7e2f5950a"></a> [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml#a22df364015b79855a8e7b7d7e2f5950a) ()=default Provide a default constructor.   
 <a id="adc76f136fc2140e796d82a5b28c7c11b"></a> [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml#adc76f136fc2140e796d82a5b28c7c11b) (const [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml) &amp;)=default Provide a copy-constructor.   
 <a id="a815f75642b0a3b4f607cefe02b114805"></a> [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml#a815f75642b0a3b4f607cefe02b114805) ([OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml) &amp;&amp;)=default Provide a move-constructor.   
 <a id="a6e2dbe8549ce9a6e5eab1191bfc2c9c8"></a>[OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml) &amp; [operator=](classsysc_1_1OutputIntegerData.xhtml#a6e2dbe8549ce9a6e5eab1191bfc2c9c8) (const [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml) &amp;)=default Provide a copy-assign operator.   
 <a id="aea30a96b33149b9e5f0f76a6c11457e9"></a>[OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml) &amp; [operator=](classsysc_1_1OutputIntegerData.xhtml#aea30a96b33149b9e5f0f76a6c11457e9) ([OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml) &amp;&amp;)=default Provide a move-assign operator.   
 <a id="a066b9985cc448f197b0e247dfe11ea3c"></a>std::size\_t [size](classsysc_1_1OutputIntegerData.xhtml#a066b9985cc448f197b0e247dfe11ea3c) () const noexcept Get the size of data.   
 <a id="a8819c1e3b85cd5eccad2343fc2b3864b"></a>bool [empty](classsysc_1_1OutputIntegerData.xhtml#a8819c1e3b85cd5eccad2343fc2b3864b) () const noexcept Check if array “data” is empty.   
 [sysc::PrimitiveType](group__SystemCouplingParticipantAPIs.xhtml#gad3b1c73e4a63f4d292d65f3db875e844) [getDataType](classsysc_1_1OutputIntegerData.xhtml#a2518ac18b1229dcdcd3a6e8cb231ce31) () const noexcept Get the primitive type of data. [More...](classsysc_1_1OutputIntegerData.xhtml#a2518ac18b1229dcdcd3a6e8cb231ce31)  
 const void \* [getData](classsysc_1_1OutputIntegerData.xhtml#a5260a1044cbf48fc08861592f27ef830) () const noexcept Get the pointer to the data. [More...](classsysc_1_1OutputIntegerData.xhtml#a5260a1044cbf48fc08861592f27ef830)  
 <a id="details" name="details"></a>## Detailed Description

Provide a class for output integer data.

Output integer data provides read-only access to an array of integer data.

Definition at line [25](OutputIntegerData_8hpp_source.xhtml#l00025) of file [OutputIntegerData.hpp](OutputIntegerData_8hpp_source.xhtml).



## Constructor &amp; Destructor Documentation

<a id="aaff24bd17a31494539fe166a58c14a61"></a>## [◆ ](#aaff24bd17a31494539fe166a58c14a61)OutputIntegerData() \[1/8\]

 sysc::OutputIntegerData::OutputIntegerData  ( const std::uint16\_t \*  *data*,    std::size\_t  *size*   ) 

Provide a constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of unsigned 16-bit integers.

Parameters dataPointer to the first index in the array of unsigned 16-bit integers.sizeNumber of elements in the array of unsigned 16-bit integers. 



<a id="aac9c3dafa5cfd8b1c0faa8a0dfaf4b8b"></a>## [◆ ](#aac9c3dafa5cfd8b1c0faa8a0dfaf4b8b)OutputIntegerData() \[2/8\]

 sysc::OutputIntegerData::OutputIntegerData  ( const std::vector&lt; std::uint16\_t &gt; &amp;  *data*) 

Provide an STL vector variation of constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of unsigned 16-bit integers.

Parameters dataReference to STL vector of unsigned 16-bit integers. 



<a id="a1b00e76dc5eb0ecaf543f43df90dbe1d"></a>## [◆ ](#a1b00e76dc5eb0ecaf543f43df90dbe1d)OutputIntegerData() \[3/8\]

 sysc::OutputIntegerData::OutputIntegerData  ( const std::uint64\_t \*  *data*,    std::size\_t  *size*   ) 

Provide a constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of unsigned 64-bit integers.

Parameters dataPointer to the first index in the array of unsigned 64-bit integers.sizeNumber of elements in the array of unsigned 64-bit integers. 



<a id="a6bb7fdf48c06f729b453d0cc476b0d51"></a>## [◆ ](#a6bb7fdf48c06f729b453d0cc476b0d51)OutputIntegerData() \[4/8\]

 sysc::OutputIntegerData::OutputIntegerData  ( const std::vector&lt; std::uint64\_t &gt; &amp;  *data*) 

Provide an STL vector variation of constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of unsigned 64-bit integers.

Parameters dataReference to STL vector of unsigned 64-bit integers. 



<a id="a434b5d77b41e183c5e8c66a66feab677"></a>## [◆ ](#a434b5d77b41e183c5e8c66a66feab677)OutputIntegerData() \[5/8\]

 sysc::OutputIntegerData::OutputIntegerData  ( const std::int32\_t \*  *data*,    std::size\_t  *size*   ) 

Provide a constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of 32-bit integers.

Parameters dataPointer to the first index in the array of unsigned 32-bit integers.sizeNumber of elements in the array of unsigned 16-bit integers. 



<a id="a77f661f442e22e6ef767046363675577"></a>## [◆ ](#a77f661f442e22e6ef767046363675577)OutputIntegerData() \[6/8\]

 sysc::OutputIntegerData::OutputIntegerData  ( const std::vector&lt; std::int32\_t &gt; &amp;  *data*) 

Provide an STL vector variation of constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of 32-bit integers.

Parameters dataReference to STL vector of 32-bit integers. 



<a id="a3e9b3743b43def94e796ce6ca2440bb5"></a>## [◆ ](#a3e9b3743b43def94e796ce6ca2440bb5)OutputIntegerData() \[7/8\]

 sysc::OutputIntegerData::OutputIntegerData  ( const std::int64\_t \*  *data*,    std::size\_t  *size*   ) 

Provide a constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of 64-bit integers.

Parameters dataPointer to the first index in the array of unsigned 64-bit integers.sizeNumber of elements in the array of unsigned 64-bit integers. 



<a id="a0b95e5e0c9bd3d32a2896d4ef46751da"></a>## [◆ ](#a0b95e5e0c9bd3d32a2896d4ef46751da)OutputIntegerData() \[8/8\]

 sysc::OutputIntegerData::OutputIntegerData  ( const std::vector&lt; std::int64\_t &gt; &amp;  *data*) 

Provide an STL vector variation of constructor for [OutputIntegerData](classsysc_1_1OutputIntegerData.xhtml "Provide a class for output integer data."), which provides read-only access to an array of 64-bit integers.

Parameters dataReference to STL vector of 64-bit integers. 



## Member Function Documentation

<a id="a5260a1044cbf48fc08861592f27ef830"></a>## [◆ ](#a5260a1044cbf48fc08861592f27ef830)getData()

 const void\* sysc::OutputIntegerData::getData  ( )  const  noexcept 

Get the pointer to the data.

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

References [sysc::Int64](CommonTypes_8hpp_source.xhtml#l00224).





<a id="a2518ac18b1229dcdcd3a6e8cb231ce31"></a>## [◆ ](#a2518ac18b1229dcdcd3a6e8cb231ce31)getDataType()

 [sysc::PrimitiveType](group__SystemCouplingParticipantAPIs.xhtml#gad3b1c73e4a63f4d292d65f3db875e844) sysc::OutputIntegerData::getDataType  ( )  const  noexcept 

Get the primitive type of data.

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