sysc::OutputIntegerData Class Reference
Last update: 17.07.2025Provide a class for output integer data. More...
#include <OutputIntegerData.hpp>
Public Member Functions | |
| OutputIntegerData (const std::uint16_t *data, const std::size_t size) | |
| Provide a constructor for OutputIntegerData, which provides read-only access to an array of unsigned 16-bit integers. More... | |
| 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. More... | |
| OutputIntegerData (const std::uint64_t *data, const std::size_t size) | |
| Provide a constructor for OutputIntegerData, which provides read-only access to an array of unsigned 64-bit integers. More... | |
| 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. More... | |
| OutputIntegerData (const std::int32_t *data, const std::size_t size) | |
| Provide a constructor for OutputIntegerData, which provides read-only access to an array of 32-bit integers. More... | |
| 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. More... | |
| OutputIntegerData (const std::int64_t *data, const std::size_t size) | |
| Provide a constructor for OutputIntegerData, which provides read-only access to an array of 64-bit integers. More... | |
| 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. More... | |
| OutputIntegerData (const OutputScalarData &data) | |
| Provide a constructor to convert OutputScalarData into OutputIntegerData. | |
| OutputIntegerData ()=default | |
| Provide a default constructor. | |
| OutputIntegerData (const OutputIntegerData &)=default | |
| Provide a copy-constructor. | |
| OutputIntegerData (OutputIntegerData &&)=default | |
| Provide a move-constructor. | |
| OutputIntegerData & | operator= (const OutputIntegerData &)=default |
| Provide a copy-assign operator. | |
| OutputIntegerData & | operator= (OutputIntegerData &&)=default |
| Provide a move-assign operator. | |
| std::size_t | size () const noexcept |
| Get the size of data. | |
| sysc::PrimitiveType | getDataType () const noexcept |
| Get the primitive type of data. More... | |
| const void * | getData () const noexcept |
| Get the pointer to the data. More... | |
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 of file OutputIntegerData.hpp.
Constructor & Destructor Documentation
◆ OutputIntegerData() [1/8]
| sysc::OutputIntegerData::OutputIntegerData | ( | const std::uint16_t * | data, |
| const 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.
◆ OutputIntegerData() [2/8]
| 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.
◆ OutputIntegerData() [3/8]
| sysc::OutputIntegerData::OutputIntegerData | ( | const std::uint64_t * | data, |
| const 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.
◆ OutputIntegerData() [4/8]
| 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.
◆ OutputIntegerData() [5/8]
| sysc::OutputIntegerData::OutputIntegerData | ( | const std::int32_t * | data, |
| const 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.
◆ OutputIntegerData() [6/8]
| 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.
◆ OutputIntegerData() [7/8]
| sysc::OutputIntegerData::OutputIntegerData | ( | const std::int64_t * | data, |
| const 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.
◆ OutputIntegerData() [8/8]
| 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.
Member Function Documentation
◆ getData()
|
noexcept |
Get the pointer to the data.
For internal use only (no back-compatibility guarantee).
References sysc::Int64.
◆ getDataType()
|
noexcept |
Get the primitive type of data.
For internal use only (no back-compatibility guarantee).