dmParamsGetIntRange(3dm) dmParamsGetIntRange(3dm)
dmParamsGetIntRange, dmParamsGetFloatRange, dmParamsGetFractRange - get
ranges of values from digital media parameter/value lists
#include <dmedia/dm_params.h>
const DMintrange* dmParamsGetIntRange
( const DMparams* params,
const char* paramName )
const DMfloatrange* dmParamsGetFloatRange
( const DMparams* params,
const char* paramName )
const DMfractionrange* dmParamsGetFractRange
( const DMparams* params,
const char* paramName )
These functions all retrieve values stored in a parameter/value list.
They assume that the named parameter is present and is of the specified
type; the debugging version of the library asserts that this is the case.
The value, or a pointer to it is returned.
The returned range points to the internal data structure of the parameter
list, and is owned by the parameter list. It should never be freed, and
is only guaranteed to remain valid until the next time the list is
changed. In general, if you need to keep the range around after getting
it from a parameter/value list, it should be copied.
dmParams(3dm), dmParamsSetIntRange(3dm), dmParamsGetNumElems(3dm),
dmSetImageDefaults(3dm), dmSetAudioDefaults(3dm).
PPPPaaaaggggeeee 1111 [ Back ]
|