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

Typedefs

typedef struct
s_xbt_datadesc_type
xbt_datadesc_type_t
 Opaque type describing a type description.

Functions

xbt_datadesc_type_t xbt_datadesc_by_name (const char *name)
 Search a type description from its name.
xbt_datadesc_type_t xbt_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 xbt_datadesc_by_name function. Existing types entail:

Example:

xbt_datadesc_type_t i = xbt_datadesc_by_name("int");
 xbt_datadesc_type_t uc = xbt_datadesc_by_name("unsigned char");
 xbt_datadesc_type_t str = xbt_datadesc_by_name("string");

Function Documentation

xbt_datadesc_type_t xbt_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.7.
Documentation of other versions can be found in their respective archive files (directory doc/html).
Generated by doxygen