IWAVEBASE 1.0
Functions

Parameter access - last occurence

PARARRAY: Creation and destruction

Get value defined in the last occurence of the key. More...

Functions

int ps_flcstring (PARARRAY parr, const char *key, char **p)
int ps_flchar (PARARRAY parr, const char *key, char *p)
int ps_flshort (PARARRAY parr, const char *key, short *p)
int ps_flint (PARARRAY parr, const char *key, int *p)
int ps_fllong (PARARRAY parr, const char *key, long *p)
int ps_flushort (PARARRAY parr, const char *key, unsigned short *p)
int ps_fluint (PARARRAY parr, const char *key, unsigned int *p)
int ps_flulong (PARARRAY parr, const char *key, unsigned long *p)
int ps_flfloat (PARARRAY parr, const char *key, float *p)
int ps_fldouble (PARARRAY parr, const char *key, double *p)
int ps_flreal (PARARRAY parr, const char *key, ireal *p)

Detailed Description

Get value defined in the last occurence of the key.

Parameters:
[in]parr(PARARRAY) - parameter array.
[in]key(char *) - key (null-terminated string).
[out]p(type *) - pointer to value of indicated type.
Returns:
(int) 0 if successful, else nonzero error code.

Note: the string case allocates memory, which must be managed by the calling unit; in other cases the last arg points to memory already allocated by the calling unit.


Function Documentation

int ps_flcstring ( PARARRAY  parr,
const char *  key,
char **  p 
)
int ps_flchar ( PARARRAY  parr,
const char *  key,
char *  p 
)
int ps_flshort ( PARARRAY  parr,
const char *  key,
short *  p 
)
int ps_flint ( PARARRAY  parr,
const char *  key,
int *  p 
)
int ps_fllong ( PARARRAY  parr,
const char *  key,
long *  p 
)
int ps_flushort ( PARARRAY  parr,
const char *  key,
unsigned short *  p 
)
int ps_fluint ( PARARRAY  parr,
const char *  key,
unsigned int *  p 
)
int ps_flulong ( PARARRAY  parr,
const char *  key,
unsigned long *  p 
)
int ps_flfloat ( PARARRAY  parr,
const char *  key,
float *  p 
)
int ps_fldouble ( PARARRAY  parr,
const char *  key,
double *  p 
)
int ps_flreal ( PARARRAY  parr,
const char *  key,
ireal *  p 
)
 All Classes Namespaces Files Functions Variables Typedefs Defines