LAL  7.5.0.1-08ee4f4
LALDict.h File Reference

Prototypes

void XLALDictEntryFree (LALDictEntry *list)
 
LALDictEntry * XLALDictEntryAlloc (size_t size)
 
LALDictEntry * XLALDictEntryRealloc (LALDictEntry *entry, size_t size)
 
LALDictEntry * XLALDictEntrySetKey (LALDictEntry *entry, const char *key)
 
LALDictEntry * XLALDictEntrySetValue (LALDictEntry *entry, const void *data, size_t size, LALTYPECODE type)
 
const char * XLALDictEntryGetKey (const LALDictEntry *entry)
 
const LALValue * XLALDictEntryGetValue (const LALDictEntry *entry)
 
void XLALDestroyDict (LALDict *dict)
 
LALDict * XLALCreateDict (void)
 
LALDict * XLALDictDuplicate (LALDict *old)
 
void XLALDictForeach (LALDict *dict, void(*func)(char *, LALValue *, void *), void *thunk)
 
LALDictEntry * XLALDictFind (LALDict *dict, int(*func)(const char *, const LALValue *, void *), void *thunk)
 
void XLALDictIterInit (LALDictIter *iter, LALDict *dict)
 
LALDictEntry * XLALDictIterNext (LALDictIter *iter)
 
LALList * XLALDictKeys (const LALDict *dict)
 
LALList * XLALDictValues (const LALDict *dict)
 
int XLALDictContains (const LALDict *dict, const char *key)
 
size_t XLALDictSize (const LALDict *dict)
 
int XLALDictRemove (LALDict *dict, const char *key)
 
int XLALDictInsert (LALDict *dict, const char *key, const void *data, size_t size, LALTYPECODE type)
 
int XLALDictInsertValue (LALDict *dict, const char *key, const LALValue *value)
 
int XLALDictInsertBLOBValue (LALDict *dict, const char *key, const void *blob, size_t size)
 
int XLALDictInsertStringValue (LALDict *dict, const char *key, const char *string)
 
int XLALDictInsertCHARValue (LALDict *dict, const char *key, CHAR value)
 
int XLALDictInsertINT2Value (LALDict *dict, const char *key, INT2 value)
 
int XLALDictInsertINT4Value (LALDict *dict, const char *key, INT4 value)
 
int XLALDictInsertINT8Value (LALDict *dict, const char *key, INT8 value)
 
int XLALDictInsertUCHARValue (LALDict *dict, const char *key, UCHAR value)
 
int XLALDictInsertUINT2Value (LALDict *dict, const char *key, UINT2 value)
 
int XLALDictInsertUINT4Value (LALDict *dict, const char *key, UINT4 value)
 
int XLALDictInsertUINT8Value (LALDict *dict, const char *key, UINT8 value)
 
int XLALDictInsertREAL4Value (LALDict *dict, const char *key, REAL4 value)
 
int XLALDictInsertREAL8Value (LALDict *dict, const char *key, REAL8 value)
 
int XLALDictInsertCOMPLEX8Value (LALDict *dict, const char *key, COMPLEX8 value)
 
int XLALDictInsertCOMPLEX16Value (LALDict *dict, const char *key, COMPLEX16 value)
 
LALDictEntry * XLALDictLookup (LALDict *dict, const char *key)
 
void * XLALDictLookupBLOBValue (LALDict *dict, const char *key)
 
const char * XLALDictLookupStringValue (LALDict *dict, const char *key)
 
CHAR XLALDictLookupCHARValue (LALDict *dict, const char *key)
 
INT2 XLALDictLookupINT2Value (LALDict *dict, const char *key)
 
INT4 XLALDictLookupINT4Value (LALDict *dict, const char *key)
 
INT8 XLALDictLookupINT8Value (LALDict *dict, const char *key)
 
UCHAR XLALDictLookupUCHARValue (LALDict *dict, const char *key)
 
UINT2 XLALDictLookupUINT2Value (LALDict *dict, const char *key)
 
UINT4 XLALDictLookupUINT4Value (LALDict *dict, const char *key)
 
UINT8 XLALDictLookupUINT8Value (LALDict *dict, const char *key)
 
REAL4 XLALDictLookupREAL4Value (LALDict *dict, const char *key)
 
REAL8 XLALDictLookupREAL8Value (LALDict *dict, const char *key)
 
COMPLEX8 XLALDictLookupCOMPLEX8Value (LALDict *dict, const char *key)
 
COMPLEX16 XLALDictLookupCOMPLEX16Value (LALDict *dict, const char *key)
 
REAL8 XLALDictLookupValueAsREAL8 (LALDict *dict, const char *key)
 
char * XLALDictAsStringAppend (char *s, LALDict *dict)
 
void XLALDictPrint (LALDict *dict, int fd)
 

Go to the source code of this file.

Data Structures

struct  LALDictIter
 

Function Documentation

◆ XLALDictEntryFree()

void XLALDictEntryFree ( LALDictEntry *  list)

Definition at line 61 of file LALDict.c.

◆ XLALDictEntryAlloc()

LALDictEntry* XLALDictEntryAlloc ( size_t  size)

Definition at line 73 of file LALDict.c.

◆ XLALDictEntryRealloc()

LALDictEntry* XLALDictEntryRealloc ( LALDictEntry *  entry,
size_t  size 
)

Definition at line 84 of file LALDict.c.

◆ XLALDictEntrySetKey()

LALDictEntry* XLALDictEntrySetKey ( LALDictEntry *  entry,
const char *  key 
)

Definition at line 97 of file LALDict.c.

◆ XLALDictEntrySetValue()

LALDictEntry* XLALDictEntrySetValue ( LALDictEntry *  entry,
const void *  data,
size_t  size,
LALTYPECODE  type 
)

Definition at line 106 of file LALDict.c.

◆ XLALDictEntryGetKey()

const char* XLALDictEntryGetKey ( const LALDictEntry *  entry)

Definition at line 114 of file LALDict.c.

◆ XLALDictEntryGetValue()

const LALValue* XLALDictEntryGetValue ( const LALDictEntry *  entry)

Definition at line 120 of file LALDict.c.

◆ XLALDestroyDict()

void XLALDestroyDict ( LALDict *  dict)

Definition at line 127 of file LALDict.c.

◆ XLALCreateDict()

LALDict* XLALCreateDict ( void  )

Definition at line 138 of file LALDict.c.

◆ XLALDictDuplicate()

LALDict* XLALDictDuplicate ( LALDict *  old)

Definition at line 198 of file LALDict.c.

◆ XLALDictForeach()

void XLALDictForeach ( LALDict *  dict,
void(*)(char *, LALValue *, void *)  func,
void *  thunk 
)

Definition at line 148 of file LALDict.c.

◆ XLALDictFind()

LALDictEntry* XLALDictFind ( LALDict *  dict,
int(*)(const char *, const LALValue *, void *)  func,
void *  thunk 
)

Definition at line 159 of file LALDict.c.

◆ XLALDictIterInit()

void XLALDictIterInit ( LALDictIter *  iter,
LALDict *  dict 
)

Definition at line 171 of file LALDict.c.

◆ XLALDictIterNext()

LALDictEntry* XLALDictIterNext ( LALDictIter *  iter)

Definition at line 179 of file LALDict.c.

◆ XLALDictKeys()

LALList* XLALDictKeys ( const LALDict *  dict)

Definition at line 221 of file LALDict.c.

◆ XLALDictValues()

LALList* XLALDictValues ( const LALDict *  dict)

Definition at line 241 of file LALDict.c.

◆ XLALDictContains()

int XLALDictContains ( const LALDict *  dict,
const char *  key 
)

Definition at line 261 of file LALDict.c.

◆ XLALDictSize()

size_t XLALDictSize ( const LALDict *  dict)

Definition at line 270 of file LALDict.c.

◆ XLALDictRemove()

int XLALDictRemove ( LALDict *  dict,
const char *  key 
)

Definition at line 291 of file LALDict.c.

◆ XLALDictInsert()

int XLALDictInsert ( LALDict *  dict,
const char *  key,
const void *  data,
size_t  size,
LALTYPECODE  type 
)

Definition at line 313 of file LALDict.c.

◆ XLALDictInsertValue()

int XLALDictInsertValue ( LALDict *  dict,
const char *  key,
const LALValue *  value 
)

Definition at line 365 of file LALDict.c.

◆ XLALDictInsertBLOBValue()

int XLALDictInsertBLOBValue ( LALDict *  dict,
const char *  key,
const void *  blob,
size_t  size 
)

Definition at line 373 of file LALDict.c.

◆ XLALDictInsertStringValue()

int XLALDictInsertStringValue ( LALDict *  dict,
const char *  key,
const char *  string 
)

Definition at line 380 of file LALDict.c.

◆ XLALDictInsertCHARValue()

int XLALDictInsertCHARValue ( LALDict *  dict,
const char *  key,
CHAR  value 
)

◆ XLALDictInsertINT2Value()

int XLALDictInsertINT2Value ( LALDict *  dict,
const char *  key,
INT2  value 
)

◆ XLALDictInsertINT4Value()

int XLALDictInsertINT4Value ( LALDict *  dict,
const char *  key,
INT4  value 
)

◆ XLALDictInsertINT8Value()

int XLALDictInsertINT8Value ( LALDict *  dict,
const char *  key,
INT8  value 
)

◆ XLALDictInsertUCHARValue()

int XLALDictInsertUCHARValue ( LALDict *  dict,
const char *  key,
UCHAR  value 
)

◆ XLALDictInsertUINT2Value()

int XLALDictInsertUINT2Value ( LALDict *  dict,
const char *  key,
UINT2  value 
)

◆ XLALDictInsertUINT4Value()

int XLALDictInsertUINT4Value ( LALDict *  dict,
const char *  key,
UINT4  value 
)

◆ XLALDictInsertUINT8Value()

int XLALDictInsertUINT8Value ( LALDict *  dict,
const char *  key,
UINT8  value 
)

◆ XLALDictInsertREAL4Value()

int XLALDictInsertREAL4Value ( LALDict *  dict,
const char *  key,
REAL4  value 
)

◆ XLALDictInsertREAL8Value()

int XLALDictInsertREAL8Value ( LALDict *  dict,
const char *  key,
REAL8  value 
)

◆ XLALDictInsertCOMPLEX8Value()

int XLALDictInsertCOMPLEX8Value ( LALDict *  dict,
const char *  key,
COMPLEX8  value 
)

◆ XLALDictInsertCOMPLEX16Value()

int XLALDictInsertCOMPLEX16Value ( LALDict *  dict,
const char *  key,
COMPLEX16  value 
)

◆ XLALDictLookup()

LALDictEntry* XLALDictLookup ( LALDict *  dict,
const char *  key 
)

Definition at line 282 of file LALDict.c.

◆ XLALDictLookupBLOBValue()

void* XLALDictLookupBLOBValue ( LALDict *  dict,
const char *  key 
)

Definition at line 411 of file LALDict.c.

◆ XLALDictLookupStringValue()

const char* XLALDictLookupStringValue ( LALDict *  dict,
const char *  key 
)

Definition at line 425 of file LALDict.c.

◆ XLALDictLookupCHARValue()

CHAR XLALDictLookupCHARValue ( LALDict *  dict,
const char *  key 
)

◆ XLALDictLookupINT2Value()

INT2 XLALDictLookupINT2Value ( LALDict *  dict,
const char *  key 
)

◆ XLALDictLookupINT4Value()

INT4 XLALDictLookupINT4Value ( LALDict *  dict,
const char *  key 
)

◆ XLALDictLookupINT8Value()

INT8 XLALDictLookupINT8Value ( LALDict *  dict,
const char *  key 
)

◆ XLALDictLookupUCHARValue()

UCHAR XLALDictLookupUCHARValue ( LALDict *  dict,
const char *  key 
)

◆ XLALDictLookupUINT2Value()

UINT2 XLALDictLookupUINT2Value ( LALDict *  dict,
const char *  key 
)

◆ XLALDictLookupUINT4Value()

UINT4 XLALDictLookupUINT4Value ( LALDict *  dict,
const char *  key 
)

◆ XLALDictLookupUINT8Value()

UINT8 XLALDictLookupUINT8Value ( LALDict *  dict,
const char *  key 
)

◆ XLALDictLookupREAL4Value()

REAL4 XLALDictLookupREAL4Value ( LALDict *  dict,
const char *  key 
)

◆ XLALDictLookupREAL8Value()

REAL8 XLALDictLookupREAL8Value ( LALDict *  dict,
const char *  key 
)

◆ XLALDictLookupCOMPLEX8Value()

COMPLEX8 XLALDictLookupCOMPLEX8Value ( LALDict *  dict,
const char *  key 
)

◆ XLALDictLookupCOMPLEX16Value()

COMPLEX16 XLALDictLookupCOMPLEX16Value ( LALDict *  dict,
const char *  key 
)

◆ XLALDictLookupValueAsREAL8()

REAL8 XLALDictLookupValueAsREAL8 ( LALDict *  dict,
const char *  key 
)

Definition at line 464 of file LALDict.c.

◆ XLALDictAsStringAppend()

char* XLALDictAsStringAppend ( char *  s,
LALDict *  dict 
)

Definition at line 491 of file LALDict.c.

◆ XLALDictPrint()

void XLALDictPrint ( LALDict *  dict,
int  fd 
)

Definition at line 500 of file LALDict.c.