| synopsis || arguments || prev || next |

kdu_params::parse_string

Java: Kdu_params::Parse_string

Overload navigation: 1, 2

bool parse_string( const char * string, int tile_idx)

Java: boolean Parse_string( String string, int tile_idx)

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

Go to class description.


Synopsis

This function is identical to the first form of the parse_string function, except that it parses only those strings which refer to the tile indicated by tile_idx, returning false if an object with that tile index would not have a parameter attribute set in a call to the first, more generic parse_string function. As usual, a tile index of -1 refers to the summary object for all tiles.

This version of the function is useful in transcoding applications, where original code-stream parameters are discovered incrementally as we recover each successive tile from an original code-stream. In this case, it is helpful to delay parsing any strings which may modify those tile-specific attributes until after the relevant marker segments have been encountered in the original code-stream.


Arguments

string [const char *]

tile_idx [int]


| top || synopsis || arguments || prev || next |