Skip to main content
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

Private attributes

Variable m_dataType

Definition: OutputIntegerData.hpp (line 218)
Type: sysc::PrimitiveType

Variable m_data

Definition: OutputIntegerData.hpp (line 219)
Type: const void *

Variable m_size

Definition: OutputIntegerData.hpp (line 220)
Type: std::size_t

Public functions

Function OutputIntegerData

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

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

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

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

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

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

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

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

Provide a constructor to convert OutputScalarData into OutputIntegerData. Parameters: Return type: References:

Function OutputIntegerData

Provide a default constructor. Return type:

Function OutputIntegerData

Provide a copy-constructor. Parameters: Return type: References:

Function OutputIntegerData

Provide a move-constructor. Parameters: Return type: References:

Function operator=

Provide a copy-assign operator. Parameters: Return type: OutputIntegerData & References:

Function operator=

Provide a move-assign operator. Parameters: Return type: OutputIntegerData & References:

Function OutputIntegerData

Provide a constructor from input integer data. Parameters: Return type: References:

Function size

Get the size of data. Return type: std::size_t Referenced by:

Function empty

Check if array “data” is empty. Return type: bool

Function getDataType

Get the primitive type of data. For internal use only (no back-compatibility guarantee). Return type: sysc::PrimitiveType Referenced by:

Function getData

Get the pointer to the data. For internal use only (no back-compatibility guarantee). Return type: const void * Referenced by: