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

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 ( )
inline

Default constructor. Constructs empty argument

OptionalArgument ( const size_t  n)
inline

Constructs argument with n elements

Parameters
[in]nNumber of elements in the input argument

Member Function Documentation

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
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.