FMI 1.0
FaaS Message Interface
Public Member Functions | List of all members
FMI::Comm::Data< void * > Class Reference

Instantiate data with a pointer to memory and an arbitrary size. Should only be used in exceptional cases, the native types should be used otherwise. More...

#include <Data.h>

Collaboration diagram for FMI::Comm::Data< void * >:
Collaboration graph

Public Member Functions

 Data ()=default
 
 Data (void *buf, std::size_t len)
 
std::size_t size_in_bytes ()
 
char * data ()
 
void * get ()
 

Detailed Description

Instantiate data with a pointer to memory and an arbitrary size. Should only be used in exceptional cases, the native types should be used otherwise.

Constructor & Destructor Documentation

◆ Data() [1/2]

FMI::Comm::Data< void * >::Data ( )
default

◆ Data() [2/2]

FMI::Comm::Data< void * >::Data ( void *  buf,
std::size_t  len 
)
inline

Member Function Documentation

◆ data()

char * FMI::Comm::Data< void * >::data ( )
inline

◆ get()

void * FMI::Comm::Data< void * >::get ( )
inline

◆ size_in_bytes()

std::size_t FMI::Comm::Data< void * >::size_in_bytes ( )
inline

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