![]() |
advgetopt 2.0.49
Parse complex command line arguments and configuration files in C++.
|
Validator manager. More...
#include "advgetopt/validator.h"#include "advgetopt/exception.h"#include "advgetopt/validator_list.h"#include <cppthread/log.h>#include <snapdev/not_reached.h>#include <snapdev/join_strings.h>#include <map>#include <snapdev/poison.h>
Go to the source code of this file.
Namespaces | |
| namespace | advgetopt |
| The advgetopt environment to parse command line options. | |
| namespace | advgetopt::anonymous_namespace{validator.cpp} |
Typedefs | |
| typedef std::map< std::string, validator_factory const * > | advgetopt::anonymous_namespace{validator.cpp}::factory_map_t |
Variables | |
| factory_map_t * | advgetopt::anonymous_namespace{validator.cpp}::g_validator_factories |
The command line options can be validated before starting your process. This means you do not have to do you own validation of every single option passed by the end user.
The manager creates validators using their factory.
Definition in file validator.cpp.
This document is part of the Snap! Websites Project.
Copyright by Made to Order Software Corp.