LV2 Toolkit  1.2.0
Public Member Functions | List of all members
OptionsIter Class Reference

#include <options.hpp>

Public Member Functions

 OptionsIter (const Option *options)
 
const Optionnext ()
 
uint32_t size () const
 

Detailed Description

An simple iterator to use with and array of LV2_Options_Option's

OptionsIter iter (get_options());
while (const Option* opt = iter.next())
{
// handle the option
}

Member Function Documentation

const Option* next ( )
inline

Returns the next option or NULL if the end of the list is reached

uint32_t size ( ) const
inline

Returns the total number of options


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