![]() |
advgetopt 2.0.49
Parse complex command line arguments and configuration files in C++.
|
Implementation of the duration validator. More...
#include "advgetopt/validator_duration.h"
#include "advgetopt/validator_double.h"
#include <cppthread/log.h>
#include <snapdev/poison.h>
Go to the source code of this file.
Classes | |
class | advgetopt::anonymous_namespace{validator_duration.cpp}::validator_duration_factory |
Namespaces | |
namespace | advgetopt |
The advgetopt environment to parse command line options. | |
namespace | advgetopt::anonymous_namespace{validator_duration.cpp} |
Variables | |
validator_duration_factory | advgetopt::anonymous_namespace{validator_duration.cpp}::g_validator_duration_factory |
The advgetopt allows for validating the input parameters automatically. This one validator checks whether the input represents what is considered a valid duration.
This includes a floating point number followed by a suffix such as "week" or "days".
Definition in file validator_duration.cpp.
This document is part of the Snap! Websites Project.
Copyright by Made to Order Software Corp.