SimGrid 3.6.2
Scalable simulation of distributed systems
Typedefs | Functions
Basic operations on data descriptions
Data description

Typedefs

typedef struct
s_gras_datadesc_type
gras_datadesc_type_t
 Opaque type describing a type description.

Functions

gras_datadesc_type_t gras_datadesc_by_name (const char *name)
 Search a type description from its name.
gras_datadesc_type_t gras_datadesc_by_name_or_null (const char *name)
 retrieve an existing message type from its name (or NULL if it does not exist).

Detailed Description

If you only want to send pre-existing types, simply retrieve the pre-defined description with the gras_datadesc_by_name function. Existing types entail:

Example:

gras_datadesc_type_t i = gras_datadesc_by_name("int");
 gras_datadesc_type_t uc = gras_datadesc_by_name("unsigned char");
 gras_datadesc_type_t str = gras_datadesc_by_name("string");

Function Documentation

gras_datadesc_type_t gras_datadesc_by_name ( const char *  name)

Search a type description from its name.

Search the given datadesc (or raises an exception if it can't be found)


Back to the main Simgrid Documentation page The version of Simgrid documented here is v3.6.2.
Documentation of other versions can be found in their respective archive files (directory doc/html).
Generated for SimGridAPI by doxygen