Skip to main content
Definition: OutputIntegerData.hpp (line 25) Provide a class 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 154)
Type: sysc::PrimitiveType

Variable m_data

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

Variable m_size

Definition: OutputIntegerData.hpp (line 156)
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:

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:

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:

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:

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:

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:

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:

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:

Function OutputIntegerData

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

Function OutputIntegerData

Provide a default constructor. Return type:

Function OutputIntegerData

Provide a copy-constructor. Parameters: Return type:

Function OutputIntegerData

Provide a move-constructor. Parameters: Return type:

Function operator=

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

Function operator=

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

Function size

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

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

Function getData

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