SimGrid  3.18
Versatile Simulation of Distributed Systems
simgrid::smpi::Info Class Reference

#include <smpi_info.hpp>

Inheritance diagram for simgrid::smpi::Info:
simgrid::smpi::F2C

Public Member Functions

 Info ()=default
 
 Info (Info *orig)
 
 ~Info ()=default
 
void ref ()
 
void set (char *key, char *value)
 
int get (char *key, int valuelen, char *value, int *flag)
 
int remove (char *key)
 
int get_nkeys (int *nkeys)
 
int get_nthkey (int n, char *key)
 
int get_valuelen (char *key, int *valuelen, int *flag)
 
- Public Member Functions inherited from simgrid::smpi::F2C
virtual ~F2C ()=default
 
virtual int add_f ()
 
virtual int c2f ()
 

Static Public Member Functions

static void unref (MPI_Info info)
 
static Infof2c (int id)
 
- Static Public Member Functions inherited from simgrid::smpi::F2C
static char * get_key (char *key, int id)
 
static char * get_key_id (char *key, int id)
 
static void delete_lookup ()
 
static std::unordered_map< std::string, F2C * > * lookup ()
 
static void free_f (int id)
 
static F2Cf2c (int id)
 

Additional Inherited Members

- Static Protected Member Functions inherited from simgrid::smpi::F2C
static std::unordered_map< std::string, F2C * > * f2c_lookup ()
 
static void set_f2c_lookup (std::unordered_map< std::string, F2C *> *map)
 
static int f2c_id ()
 
static void f2c_id_increment ()
 

Constructor & Destructor Documentation

◆ Info() [1/2]

simgrid::smpi::Info::Info ( )
default

◆ Info() [2/2]

simgrid::smpi::Info::Info ( Info orig)
explicit

◆ ~Info()

simgrid::smpi::Info::~Info ( )
default

Member Function Documentation

◆ ref()

void simgrid::smpi::Info::ref ( )

◆ unref()

void simgrid::smpi::Info::unref ( MPI_Info  info)
static

◆ set()

void simgrid::smpi::Info::set ( char *  key,
char *  value 
)

◆ get()

int simgrid::smpi::Info::get ( char *  key,
int  valuelen,
char *  value,
int *  flag 
)

◆ remove()

int simgrid::smpi::Info::remove ( char *  key)

◆ get_nkeys()

int simgrid::smpi::Info::get_nkeys ( int *  nkeys)

◆ get_nthkey()

int simgrid::smpi::Info::get_nthkey ( int  n,
char *  key 
)

◆ get_valuelen()

int simgrid::smpi::Info::get_valuelen ( char *  key,
int *  valuelen,
int *  flag 
)

◆ f2c()

Info * simgrid::smpi::Info::f2c ( int  id)
static

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