|
inicpp
C++ parser of INI files with schema validation.
|
#include <option_schema.h>
Inheritance diagram for inicpp::option_schema_params< ArgType >:Public Attributes | |
| std::function< bool(ArgType)> | validator = nullptr |
| std::string | name |
| item_requirement | requirement = item_requirement::mandatory |
| option_item | type = option_item::single |
| std::string | default_value = "" |
| std::string | comment = "" |
Extended struct which adds type of the option (as template argument) and holds in addition to parent functor for value validation.
Definition at line 43 of file option_schema.h.
|
inherited |
Description of option
Definition at line 35 of file option_schema.h.
|
inherited |
Default value of optional option
Definition at line 33 of file option_schema.h.
|
inherited |
Name of option_schema
Definition at line 27 of file option_schema.h.
|
inherited |
Determines if this option is mandatory or not
Definition at line 29 of file option_schema.h.
|
inherited |
True if list has to be stored in option
Definition at line 31 of file option_schema.h.
| std::function<bool(ArgType)> inicpp::option_schema_params< ArgType >::validator = nullptr |
Validating function - takes one argument of ArgType and returns bool if valid or not
Definition at line 53 of file option_schema.h.