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

List of all members
OptionalArgument Class Reference

Base class to represent argument with serialization methods More...

Additional Inherited Members

- Static Protected Member Functions inherited from Argument
static data_management::DataCollectionPtr & getStorage (Argument &a)
 
static const data_management::DataCollectionPtr & getStorage (const Argument &a)
 

Class Declaration

Constructor & Destructor Documentation

◆ OptionalArgument() [1/2]

OptionalArgument ( )
inline

Default constructor. Constructs empty argument

◆ OptionalArgument() [2/2]

OptionalArgument ( const size_t  n)
inline

Constructs argument with n elements

Parameters
[in]nNumber of elements in the input argument

Member Function Documentation

◆ deserializeImpl()

services::Status deserializeImpl ( const data_management::OutputDataArchive archive)
inlineprotectedvirtual

Interfaces for the implementation of deserialization

Parameters
[in]archiveStorage for a deserialized object or data structure

Implements SerializationIface.

◆ get()

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

Retrieves specified element

Parameters
[in]indexIndex of the element
Returns
Reference to the requested element

◆ serializeImpl()

services::Status serializeImpl ( data_management::InputDataArchive archive)
inlineprotectedvirtual

Interfaces for the implementation of serialization

Parameters
[in]archiveStorage for a serialized object or data structure

Implements SerializationIface.

◆ set()

void set ( size_t  index,
const data_management::SerializationIfacePtr &  value 
)
inline

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

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

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