IUF-SDK-3
Interventional Ultrasound Library
iufTransmitApodizationDict.c File Reference
#include <stdlib.h>
#include <string.h>
#include <hashmap.h>
#include <iuf.h>
#include <iufTransmitApodizationDictADT.h>
#include <iufTransmitApodizationPrivate.h>

Macros

#define MAX_NAME   1024
 

Functions

iutad_t iufTransmitApodizationDictCreate ()
 Creates a IufTransmitApodizationDict. More...
 
int iufTransmitApodizationDictDeepDelete (iutad_t dict)
 Deletes a IufTransmitApodizationDict object and all its IufTransmitApodization s. More...
 
int iufTransmitApodizationDictDelete (iutad_t dict)
 Deletes the IufTransmitApodizationDict object without deleting each IufTransmitApodization separately. More...
 
int iufTransmitApodizationDictCompare (iutad_t reference, iutad_t actual)
 Compares if two IufTransmitApodizationDict objects are equal. More...
 
size_t iufTransmitApodizationDictGetSize (iutad_t dict)
 Get the number of IufTransmitApodization objects in the dictionary. More...
 
iuta_t iufTransmitApodizationDictGet (iutad_t dict, char *key)
 Get the IufTransmitApodization with the label key from the dict. More...
 
char ** iufTransmitApodizationDictGetKeys (iutad_t dict)
 Get the keys currently available in the dict. More...
 
int iufTransmitApodizationDictSet (iutad_t dict, char *key, iuta_t member)
 Add a IufTransmitApodization with the label key to the dict. More...
 
herr_t iufTransmitApodizationDictSave (iutad_t dict, hid_t handle)
 
iutad_t iufTransmitApodizationDictLoad (hid_t handle)
 

Macro Definition Documentation

◆ MAX_NAME

#define MAX_NAME   1024

Function Documentation

◆ iufTransmitApodizationDictCompare()

int iufTransmitApodizationDictCompare ( iutad_t  reference,
iutad_t  actual 
)

Compares if two IufTransmitApodizationDict objects are equal.

Returns
returns IUF_TRUE if the objects are equal and IUF_FALSE if they differ. The order of the arguments doesn't matter
Parameters
referencethe IufTransmitApodizationDict to compare to
actualthe IufTransmitApodizationDict to compare with

◆ iufTransmitApodizationDictCreate()

iutad_t iufTransmitApodizationDictCreate ( void  )

Creates a IufTransmitApodizationDict.

Returns
Returns an allocated empty IufTransmitApodizationDict

◆ iufTransmitApodizationDictDeepDelete()

int iufTransmitApodizationDictDeepDelete ( iutad_t  dict)

Deletes a IufTransmitApodizationDict object and all its IufTransmitApodization s.

Returns
returns IUF_TRUE if the dictionary could be deleted or IUF_ERR_VALUE if the dictionary was invalid
Parameters
dictThe IufTransmitApodizationDict that is to be deleted

◆ iufTransmitApodizationDictDelete()

int iufTransmitApodizationDictDelete ( iutad_t  dict)

Deletes the IufTransmitApodizationDict object without deleting each IufTransmitApodization separately.

Returns
returns IUF_TRUE if the dictionary could be deleted or IUF_ERR_VALUE if the dictionary was invalid
Parameters
dictThe IufTransmitApodizationDict that is to be deleted

◆ iufTransmitApodizationDictGet()

iuta_t iufTransmitApodizationDictGet ( iutad_t  dict,
char *  key 
)

Get the IufTransmitApodization with the label key from the dict.

Returns
requested IufTransmitApodization or NULL in case of an error.
Parameters
dictthe IufTransmitApodizationDict of interest
keythe label of the IufTransmitApodization

◆ iufTransmitApodizationDictGetKeys()

char** iufTransmitApodizationDictGetKeys ( iutad_t  dict)

Get the keys currently available in the dict.

Returns
array (with size iufTransmitApodizationDictGetSize) of keys.
Parameters
dictthe IufTransmitApodizationDict of interest

◆ iufTransmitApodizationDictGetSize()

size_t iufTransmitApodizationDictGetSize ( iutad_t  dict)

Get the number of IufTransmitApodization objects in the dictionary.

Returns
the number of IufTransmitApodization objects.
Parameters
dictthe IufTransmitApodizationDict of interest

◆ iufTransmitApodizationDictLoad()

iutad_t iufTransmitApodizationDictLoad ( hid_t  handle)

◆ iufTransmitApodizationDictSave()

herr_t iufTransmitApodizationDictSave ( iutad_t  dict,
hid_t  handle 
)

◆ iufTransmitApodizationDictSet()

int iufTransmitApodizationDictSet ( iutad_t  dict,
char *  key,
iuta_t  member 
)

Add a IufTransmitApodization with the label key to the dict.

Returns
IUF_E_OK if the IufTransmitApodization could be added or IUF_ERR_VALUE in case of an error.
Parameters
dictthe IufTransmitApodizationDict that receives a new IufTransmitApodization
keythe label of the IufTransmitApodization
memberthe IufTransmitApodization that is added