C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

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() [1/3]

Argument ( )
inline

Default constructor. Constructs empty arguments

◆ Argument() [2/3]

Argument ( const size_t  n)

Constructs conputation argument that contains n elements

Parameters
[in]nNumber of elements in the argument

◆ Argument() [3/3]

Argument ( const Argument other)
protected

Copy constructor

Parameters
[in]otherInstance of the same class to copy

Member Function Documentation

◆ get()

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

◆ getStorage() [1/2]

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

Gets the storage in the Argument

Returns
Storage

◆ getStorage() [2/2]

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

Gets the const storage in the Argument

Returns
Storage

◆ operator<<()

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

Inserts element into this argument structure

Parameters
[in]valElement to insert
Returns
Updated argument structure

◆ set()

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

◆ setStorage()

void setStorage ( const data_management::DataCollectionPtr &  storage)
protected

Sets the custom storage in the Argument

Parameters
[in]storagecustom defined storage

◆ size()

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.