FMI 1.0
FaaS Message Interface
Public Member Functions | List of all members
FMI::Comm::Data< std::vector< A > > Class Template Reference

Wrapper around an arbitrary STL vector. More...

#include <Data.h>

Collaboration diagram for FMI::Comm::Data< std::vector< A > >:
Collaboration graph

Public Member Functions

 Data ()=default
 
 Data (std::size_t n)
 
 Data (std::vector< A > value)
 
std::size_t size_in_bytes ()
 
char * data ()
 Pointer to the start of the vector. More...
 
std::vector< A > get () const
 Returns the vector. More...
 

Detailed Description

template<typename A>
class FMI::Comm::Data< std::vector< A > >

Wrapper around an arbitrary STL vector.

Constructor & Destructor Documentation

◆ Data() [1/3]

template<typename A >
FMI::Comm::Data< std::vector< A > >::Data ( )
default

◆ Data() [2/3]

template<typename A >
FMI::Comm::Data< std::vector< A > >::Data ( std::size_t  n)
inline

◆ Data() [3/3]

template<typename A >
FMI::Comm::Data< std::vector< A > >::Data ( std::vector< A >  value)
inline

Member Function Documentation

◆ data()

template<typename A >
char * FMI::Comm::Data< std::vector< A > >::data ( )
inline

Pointer to the start of the vector.

◆ get()

template<typename A >
std::vector< A > FMI::Comm::Data< std::vector< A > >::get ( ) const
inline

Returns the vector.

◆ size_in_bytes()

template<typename A >
std::size_t FMI::Comm::Data< std::vector< A > >::size_in_bytes ( )
inline

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