|
| YamlValueIterator () |
| Constructor. More...
|
|
| YamlValueIterator (std::map< std::string, std::shared_ptr< YamlConfigurationNode > > &nodes) |
| Initializing constructor. More...
|
|
virtual bool | next () |
| Check if there is another element and advance to this if possible. More...
|
|
virtual bool | valid () const |
| Check if the current element is valid. More...
|
|
virtual const char * | path () const |
| Path of value. More...
|
|
virtual const char * | type () const |
| Type of value. More...
|
|
virtual bool | is_float () const |
| Check if current value is a float. More...
|
|
virtual bool | is_uint () const |
| Check if current value is a unsigned int. More...
|
|
virtual bool | is_int () const |
| Check if current value is a int. More...
|
|
virtual bool | is_bool () const |
| Check if current value is a bool. More...
|
|
virtual bool | is_string () const |
| Check if current value is a string. More...
|
|
virtual bool | is_list () const |
| Check if a value is a list. More...
|
|
virtual size_t | get_list_size () const |
| Get number of elements in list value. More...
|
|
virtual float | get_float () const |
| Get float value. More...
|
|
virtual unsigned int | get_uint () const |
| Get unsigned int value. More...
|
|
virtual int | get_int () const |
| Get int value. More...
|
|
virtual bool | get_bool () const |
| Get bool value. More...
|
|
virtual std::string | get_string () const |
| Get string value. More...
|
|
virtual std::vector< float > | get_floats () const |
| Get list of values from configuration which is of type float. More...
|
|
virtual std::vector< unsigned int > | get_uints () const |
| Get list of values from configuration which is of type unsigned int. More...
|
|
virtual std::vector< int > | get_ints () const |
| Get list of values from configuration which is of type int. More...
|
|
virtual std::vector< bool > | get_bools () const |
| Get list of values from configuration which is of type bool. More...
|
|
virtual std::vector< std::string > | get_strings () const |
| Get list of values from configuration which is of type string. More...
|
|
virtual std::string | get_as_string () const |
| Get value as string. More...
|
|
virtual std::string | get_comment () const |
| Get comment of value. More...
|
|
virtual bool | is_default () const |
| Check if current value was read from the default config. More...
|
|
virtual | ~ValueIterator () |
| Virtual emptry destructor. More...
|
|
virtual bool | next ()=0 |
| Check if there is another element and advance to this if possible. More...
|
|
virtual bool | valid () const =0 |
| Check if the current element is valid. More...
|
|
virtual const char * | path () const =0 |
| Path of value. More...
|
|
virtual const char * | type () const =0 |
| Type of value. More...
|
|
virtual bool | is_float () const =0 |
| Check if current value is a float. More...
|
|
virtual bool | is_uint () const =0 |
| Check if current value is a unsigned int. More...
|
|
virtual bool | is_int () const =0 |
| Check if current value is a int. More...
|
|
virtual bool | is_bool () const =0 |
| Check if current value is a bool. More...
|
|
virtual bool | is_string () const =0 |
| Check if current value is a string. More...
|
|
virtual bool | is_list () const =0 |
| Check if a value is a list. More...
|
|
virtual size_t | get_list_size () const =0 |
| Get number of elements in list value. More...
|
|
virtual float | get_float () const =0 |
| Get float value. More...
|
|
virtual unsigned int | get_uint () const =0 |
| Get unsigned int value. More...
|
|
virtual int | get_int () const =0 |
| Get int value. More...
|
|
virtual bool | get_bool () const =0 |
| Get bool value. More...
|
|
virtual std::string | get_string () const =0 |
| Get string value. More...
|
|
virtual std::vector< float > | get_floats () const =0 |
| Get list of values from configuration which is of type float. More...
|
|
virtual std::vector< unsigned int > | get_uints () const =0 |
| Get list of values from configuration which is of type unsigned int. More...
|
|
virtual std::vector< int > | get_ints () const =0 |
| Get list of values from configuration which is of type int. More...
|
|
virtual std::vector< bool > | get_bools () const =0 |
| Get list of values from configuration which is of type bool. More...
|
|
virtual std::vector< std::string > | get_strings () const =0 |
| Get list of values from configuration which is of type string. More...
|
|
virtual std::string | get_as_string () const =0 |
| Get value as string. More...
|
|
virtual std::string | get_comment () const =0 |
| Get comment of value. More...
|
|
virtual bool | is_default () const =0 |
| Check if current value was read from the default config. More...
|
|
Iterator for YAML config trees.
This iterator is used by YamlConfiguration as a result value for queries. Its use is opaque and knowledge of Configuration::ValueIterator will suffice for interaction.
- Author
- Tim Niemueller
Definition at line 118 of file yaml.h.