inkcpp
Loading...
Searching...
No Matches
InkListIter Struct Reference

Iterater used to iterate flags of a HInkList. More...

#include <inkcpp.h>

Public Member Functions

int ink_list_iter_next (InkListIter *self)
 

Public Attributes

const char * flag_name
 Name of the current flag.
 
const char * list_name
 name of the list the flag corresponds to
 

Detailed Description

Iterater used to iterate flags of a HInkList.

See also
ink_list_flags() ink_list_flags_from()
const HInkList* list = ...;
if (ink_list_flags(list, &iter)) {
do {
iter->flag_name;
iter->list_name;
// ...
} while(ink_list_iter_next(&iter));
}
Handler for a ink list.
Iterater used to iterate flags of a HInkList.
Definition inkcpp.h:125
const char * list_name
name of the list the flag corresponds to
Definition inkcpp.h:130
int ink_list_iter_next(InkListIter *self)
const char * flag_name
Name of the current flag.
Definition inkcpp.h:129

Member Function Documentation

◆ ink_list_iter_next()

int ink_list_iter_next ( InkListIter * self)
Return values
0if the there is no next element
1if a new flag can be found in iter.flag_name

The documentation for this struct was generated from the following file: