#include <iufHDF5.h>
#include <iufSource.h>
Go to the source code of this file.
◆ IUFD_INVALID
| #define IUFD_INVALID (iusd_t) NULL |
◆ iusd_t
◆ iufSourceDictCompare()
| int iufSourceDictCompare |
( |
iusd_t |
reference, |
|
|
iusd_t |
actual |
|
) |
| |
Compare two dictionaries with each other (order of arguments doesn't matter)
- Returns
- Returns IUF_TRUE when the dictionaries are equal and IUF_FALSE otherwise.
- Parameters
-
| reference | The source dictionary to compare to |
| actual | The source dictionary to compare with |
◆ iufSourceDictCreate()
| iusd_t iufSourceDictCreate |
( |
void |
| ) |
|
Create an empty dictionary.
- Returns
- Returns the created dictionary or NULL in case of an error.
◆ iufSourceDictDeepDelete()
| int iufSourceDictDeepDelete |
( |
iusd_t |
dict | ) |
|
Deletes a source dictionary and all its sources.
- Returns
- Returns IUF_E_OK in case of success and IUF_ERR_VALUE in case of an error.
- Parameters
-
| dict | The dictionary of interest |
◆ iufSourceDictDelete()
| int iufSourceDictDelete |
( |
iusd_t |
dict | ) |
|
Deletes a source dictionary without deleting all the sources.
- Returns
- Returns IUF_E_OK in case of success and IUF_ERR_VALUE in case of an invalid argument.
- Parameters
-
| dict | The dictionary of interest |
◆ iufSourceDictGet()
Get a sources from the dictionary.
- Returns
- returns the source that has label
key or IUF_INVALID if it could not be found
- Parameters
-
| dict | The dictionary of interest |
| key | The label of the source |
◆ iufSourceDictGetKeys()
| char** iufSourceDictGetKeys |
( |
iusd_t |
dict | ) |
|
◆ iufSourceDictGetSize()
| int iufSourceDictGetSize |
( |
iusd_t |
dict | ) |
|
Get the number of sources in the dictionary.
- Returns
- returns the number of sources or -1 in case of an error
- Parameters
-
| dict | The dictionary of interest |
◆ iufSourceDictSet()
| int iufSourceDictSet |
( |
iusd_t |
dict, |
|
|
char * |
key, |
|
|
ius_t |
member |
|
) |
| |
Add a sources to the dictionary.
- Returns
- Returns IUF_E_OK in case of success and IUF_ERR_VALUE in case of invalid arguments
- Parameters
-
| dict | THe dictionary of interest |
| key | The label of the source that is added |
| member | The source that is added |