Structure sysc::OutputIntegerData
Last update: 09.03.2026
Definition: OutputIntegerData.hpp (line 24)
Provide a struct for output integer data.
Output integer data provides read-only access to an array of integer data.
Members
- empty
- getData
- getDataType
- m_data
- m_dataType
- m_size
- operator=
- operator=
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- size
Private attributes
Variable m_dataType
Definition: OutputIntegerData.hpp (line 218)
sysc::PrimitiveType sysc::OutputIntegerData::m_dataType {[sysc::Int64](group__SystemCouplingParticipantAPIs.md#group__SystemCouplingParticipantAPIs_1ggad3b1c73e4a63f4d292d65f3db875e844a7280672fe5e965512085d9837dbacf7f)}
Type: sysc::PrimitiveType
Variable m_data
Definition: OutputIntegerData.hpp (line 219)
const void* sysc::OutputIntegerData::m_data {nullptr}
Type: const void *
Variable m_size
Definition: OutputIntegerData.hpp (line 220)
std::size_t sysc::OutputIntegerData::m_size {0}
Type: std::size_t
Public functions
Function OutputIntegerData
sysc::OutputIntegerData::OutputIntegerData(const std::uint16_t *data, std::size_t size)
Provide a constructor for OutputIntegerData, which provides read-only access to 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:
- const std::uint16_t * data
- std::size_t size
Return type:
References:
Referenced by:
Function OutputIntegerData
sysc::OutputIntegerData::OutputIntegerData(const std::vector< std::uint16_t > &data)
Provide an STL vector variation of constructor for OutputIntegerData, which provides read-only access to an array of unsigned 16-bit integers.
Parameters:
- data: Reference to STL vector of unsigned 16-bit integers.
Parameters:
- const std::vector< std::uint16_t > & data
Return type:
References:
Function OutputIntegerData
sysc::OutputIntegerData::OutputIntegerData(const std::uint64_t *data, std::size_t size)
Provide a constructor for OutputIntegerData, which provides read-only access to 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:
- const std::uint64_t * data
- std::size_t size
Return type:
References:
Function OutputIntegerData
sysc::OutputIntegerData::OutputIntegerData(const std::vector< std::uint64_t > &data)
Provide an STL vector variation of constructor for OutputIntegerData, which provides read-only access to an array of unsigned 64-bit integers.
Parameters:
- data: Reference to STL vector of unsigned 64-bit integers.
Parameters:
- const std::vector< std::uint64_t > & data
Return type:
References:
Function OutputIntegerData
sysc::OutputIntegerData::OutputIntegerData(const std::int32_t *data, std::size_t size)
Provide a constructor for OutputIntegerData, which provides read-only access to an array of 32-bit integers.
Parameters:
- data: Pointer to the first index in the array of unsigned 32-bit integers.
- size: Number of elements in the array of unsigned 16-bit integers.
Parameters:
- const std::int32_t * data
- std::size_t size
Return type:
References:
Function OutputIntegerData
sysc::OutputIntegerData::OutputIntegerData(const std::vector< std::int32_t > &data)
Provide an STL vector variation of constructor for OutputIntegerData, which provides read-only access to an array of 32-bit integers.
Parameters:
- data: Reference to STL vector of 32-bit integers.
Parameters:
- const std::vector< std::int32_t > & data
Return type:
References:
Function OutputIntegerData
sysc::OutputIntegerData::OutputIntegerData(const std::int64_t *data, std::size_t size)
Provide a constructor for OutputIntegerData, which provides read-only access to an array of 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:
- const std::int64_t * data
- std::size_t size
Return type:
References:
Function OutputIntegerData
sysc::OutputIntegerData::OutputIntegerData(const std::vector< std::int64_t > &data)
Provide an STL vector variation of constructor for OutputIntegerData, which provides read-only access to an array of 64-bit integers.
Parameters:
- data: Reference to STL vector of 64-bit integers.
Parameters:
- const std::vector< std::int64_t > & data
Return type:
References:
Function OutputIntegerData
sysc::OutputIntegerData::OutputIntegerData(const OutputScalarData &data)
Provide a constructor to convert OutputScalarData into OutputIntegerData.
Parameters:
- const OutputScalarData & data
Return type:
References:
Function OutputIntegerData
sysc::OutputIntegerData::OutputIntegerData()=default
Provide a default constructor.
Return type:
Function OutputIntegerData
sysc::OutputIntegerData::OutputIntegerData(const OutputIntegerData &)=default
Provide a copy-constructor.
Parameters:
- const OutputIntegerData &
Return type:
References:
Function OutputIntegerData
sysc::OutputIntegerData::OutputIntegerData(OutputIntegerData &&)=default
Provide a move-constructor.
Parameters:
Return type:
References:
Function operator=
OutputIntegerData & sysc::OutputIntegerData::operator=(const OutputIntegerData &)=default
Provide a copy-assign operator.
Parameters:
- const OutputIntegerData &
Return type: OutputIntegerData &
References:
Function operator=
OutputIntegerData & sysc::OutputIntegerData::operator=(OutputIntegerData &&)=default
Provide a move-assign operator.
Parameters:
Return type: OutputIntegerData &
References:
Function OutputIntegerData
sysc::OutputIntegerData::OutputIntegerData(InputIntegerData data)
Provide a constructor from input integer data.
Parameters:
- InputIntegerData data
Return type:
References:
Function size
std::size_t sysc::OutputIntegerData::size() const noexcept
Get the size of data.
Return type: std::size_t
Referenced by:
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
- OutputIntegerData
Function empty
bool sysc::OutputIntegerData::empty() const noexcept
Check if array “data” is empty.
Return type: bool
Function getDataType
sysc::PrimitiveType sysc::OutputIntegerData::getDataType() const noexcept
Get the primitive type of data.
For internal use only (no back-compatibility guarantee).
Return type: sysc::PrimitiveType
Referenced by:
Function getData
const void * sysc::OutputIntegerData::getData() const noexcept
Get the pointer to the data.
For internal use only (no back-compatibility guarantee).
Return type: const void *
Referenced by: