advgetopt 2.0.49
Parse complex command line arguments and configuration files in C++.
Classes | Namespaces | Variables
validator_list.cpp File Reference

Implementation of the list validator. More...

#include "advgetopt/validator_list.h"
#include <cppthread/log.h>
#include <snapdev/poison.h>
Include dependency graph for validator_list.cpp:

Go to the source code of this file.

Classes

class  advgetopt::anonymous_namespace{validator_list.cpp}::validator_list_factory
 

Namespaces

namespace  advgetopt
 The advgetopt environment to parse command line options.
 
namespace  advgetopt::anonymous_namespace{validator_list.cpp}
 

Variables

validator_list_factory advgetopt::anonymous_namespace{validator_list.cpp}::g_validator_list_factory
 

Detailed Description

The list validator allows the library to run multiple validators against parameters to easily allow for multiple possible values.

This is especially useful if a parameter supports a value such as an integer and a few keywords (i.e. "off", "disabled", "maximum", etc.)

Definition in file validator_list.cpp.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.