|
IODA
|
Provides the C-style interface for ioda::Has_Variables objects. More...

Modules | |
| ioda_has_variables_create | |
| Create a new variable. | |
Files | |
| file | Has_Variables_c.h |
| C bindings for ioda::Has_Variables | |
| file | Has_Variables_c.cpp |
| C bindings for ioda::Has_Variables | |
Classes | |
| struct | c_has_variables |
| Class-like encapsulation of C has_variables functions. More... | |
Macros | |
| #define | IODA_HAS_VARIABLES_CREATE_IMPL(funcnamestr, Type) |
Functions | |
| IODA_DL void | ioda_has_variables_destruct (struct ioda_has_variables *has_vars) |
| Deallocates a ioda_has_variables. More... | |
| IODA_DL struct ioda_string_ret_t * | ioda_has_variables_list (const struct ioda_has_variables *) |
| List the names of the variables associated with an object. More... | |
| IODA_DL int | ioda_has_variables_exists (const struct ioda_has_variables *has_vars, size_t sz_name, const char *name) |
| Check if a variable exists. More... | |
| IODA_DL bool | ioda_has_variables_remove (struct ioda_has_variables *has_vars, size_t sz_name, const char *name) |
| Remove a variable. More... | |
| IODA_DL struct ioda_variable * | ioda_has_variables_open (const struct ioda_has_variables *has_vars, size_t sz_name, const char *name) |
| Open (access) a variable by name. More... | |
| ioda_string_ret_t * | ioda_has_variables_list (const ioda_has_variables *vars) |
| int | ioda_has_variables_exists (const ioda_has_variables *vars, size_t sz, const char *name) |
| ioda_variable * | ioda_has_variables_open (const ioda_has_variables *vars, size_t sz, const char *name) |
| C_TEMPLATE_FUNCTION_DEFINITION (ioda_has_variables_create, IODA_HAS_VARIABLES_CREATE_IMPL) | |
Provides the C-style interface for ioda::Has_Variables objects.
| #define IODA_HAS_VARIABLES_CREATE_IMPL | ( | funcnamestr, | |
| Type | |||
| ) |
Definition at line 66 of file Has_Variables_c.cpp.
| C_TEMPLATE_FUNCTION_DEFINITION | ( | ioda_has_variables_create | , |
| IODA_HAS_VARIABLES_CREATE_IMPL | |||
| ) |
| void ioda_has_variables_destruct | ( | struct ioda_has_variables * | has_vars | ) |
Deallocates a ioda_has_variables.
| has_vars | is the object. |
Definition at line 21 of file Has_Variables_c.cpp.

| int ioda_has_variables_exists | ( | const ioda_has_variables * | vars, |
| size_t | sz, | ||
| const char * | name | ||
| ) |
| IODA_DL int ioda_has_variables_exists | ( | const struct ioda_has_variables * | has_vars, |
| size_t | sz_name, | ||
| const char * | name | ||
| ) |
Check if a variable exists.
| [in] | has_vars | is the base container of the variables. |
| [in] | name | is the candidate variable name. |
| sz_name | is strlen(name). Needed for Fortran compatability. |

| ioda_string_ret_t* ioda_has_variables_list | ( | const ioda_has_variables * | vars | ) |
| IODA_DL struct ioda_string_ret_t* ioda_has_variables_list | ( | const struct ioda_has_variables * | ) |
List the names of the variables associated with an object.

| ioda_variable* ioda_has_variables_open | ( | const ioda_has_variables * | vars, |
| size_t | sz, | ||
| const char * | name | ||
| ) |
| IODA_DL struct ioda_variable* ioda_has_variables_open | ( | const struct ioda_has_variables * | has_vars, |
| size_t | sz_name, | ||
| const char * | name | ||
| ) |
Open (access) a variable by name.
| [in] | has_vars | is the container of the variable. |
| [in] | name | is the variable name. |
| sz_name | is strlen(name). Fortran compatability. |

| bool ioda_has_variables_remove | ( | struct ioda_has_variables * | has_vars, |
| size_t | sz_name, | ||
| const char * | name | ||
| ) |
Remove a variable.
| [in] | has_vars | is the container of the variable. |
| [in] | name | is the variable name. |
| sz_name | is strlen(name). Fortran compatability. |
Definition at line 46 of file Has_Variables_c.cpp.

