|
My Project
|
An option consisting of one (an item) or many (a list) values. More...
#include <config_file.h>
Public Attributes | ||
| ConfigString | key | |
| The key of the option. | ||
| unsigned int | values_count | |
| The number of values in the option if it is a 'list' option. | ||
| union { | ||
| ConfigString value | ||
| The value of an 'item' option or an empty 'list' option. More... | ||
| ConfigString * values | ||
| The values of a non-empty 'list' option. | ||
| } | v | |
| The value or values. | ||
An option consisting of one (an item) or many (a list) values.
| union { ... } ConfigOption::v |
The value or values.
The tag for this union is value_count:
0 then value is valid, values is valid. | ConfigString ConfigOption::value |
The value of an 'item' option or an empty 'list' option.
If this field is NULL then the option is an empty 'list' option.
| unsigned int ConfigOption::values_count |
The number of values in the option if it is a 'list' option.
If 0 then the option may be an 'item' option.