| synopsis || return value || arguments || prev || next |

kdu_params::find_string

kdu_params * find_string( char * string, const char * & name)

[Declared in "../coresys/common/kdu_params.h"]

Go to class description.


Synopsis

Finds the object which would be used by parse_string if parsing the supplied string, returning a pointer to that object, if it exists. Searches along lists following the same rules as parse_string.


Return Value

NULL if a match is not found.

Arguments

string [char *]

name [const char * &]

Used to return the attribute name string (not decorated with tile- or component- specifiers) associated with the match, if any. If the function returns NULL, this argument will be unaffected; otherwise, it points to a constant string resource, which should not be overwritten.


| top || synopsis || return value || arguments || prev || next |