C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

Static Protected Member Functions | List of all members
Argument Class Reference

Base class to represent computation input and output arguments. More...

Static Protected Member Functions

static
data_management::DataCollectionPtr & 
getStorage (Argument &a)
 
static const
data_management::DataCollectionPtr & 
getStorage (const Argument &a)
 

Class Declaration

Constructor & Destructor Documentation

Argument ( )
inline

Default constructor. Constructs empty arguments

Argument ( const size_t  n)

Constructs conputation argument that contains n elements

Parameters
[in]nNumber of elements in the argument
Argument ( const Argument other)
protected

Copy constructor

Parameters
[in]otherInstance of the same class to copy

Member Function Documentation

const data_management::SerializationIfacePtr& get ( size_t  index) const
protected

Retrieves specified element

Parameters
[in]indexIndex of the element
Returns
Reference to the requested element
static data_management::DataCollectionPtr& getStorage ( Argument a)
staticprotected

Gets the storage in the Argument

Returns
Storage
static const data_management::DataCollectionPtr& getStorage ( const Argument a)
staticprotected

Gets the const storage in the Argument

Returns
Storage
Argument& operator<< ( const data_management::SerializationIfacePtr &  val)
inline

Inserts element into this argument structure

Parameters
[in]valElement to insert
Returns
Updated argument structure
void set ( size_t  index,
const data_management::SerializationIfacePtr &  value 
)
protected

Sets the element to the specified position in the Argument

Parameters
[in]indexIndex of the element
[in]valuePointer to the element
Returns
Reference to the requested element
void setStorage ( const data_management::DataCollectionPtr &  storage)
protected

Sets the custom storage in the Argument

Parameters
[in]storagecustom defined storage
size_t size ( ) const
inline

Retrieves number of elements in the argument

Returns
Number of elements in the argument

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.