advgetopt 2.0.47
Parse complex command line arguments and configuration files in C++.
Classes | Namespaces | Typedefs | Enumerations | Variables
validator.cpp File Reference

Advanced getopt version functions. 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>
Include dependency graph for validator.cpp:

Go to the source code of this file.

Classes

class  advgetopt::anonymous_namespace{validator.cpp}::lexer
 
class  advgetopt::anonymous_namespace{validator.cpp}::parser
 
class  advgetopt::anonymous_namespace{validator.cpp}::token
 
class  advgetopt::anonymous_namespace{validator.cpp}::validator_with_params
 

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
 

Enumerations

enum class  advgetopt::anonymous_namespace{validator.cpp}::token_t {
  advgetopt::anonymous_namespace{validator.cpp}::TOK_EOF ,
  advgetopt::anonymous_namespace{validator.cpp}::TOK_STRING ,
  advgetopt::anonymous_namespace{validator.cpp}::TOK_IDENTIFIER ,
  advgetopt::anonymous_namespace{validator.cpp}::TOK_REGEX ,
  advgetopt::anonymous_namespace{validator.cpp}::TOK_OPEN_PARENTHESIS ,
  advgetopt::anonymous_namespace{validator.cpp}::TOK_CLOSE_PARENTHESIS ,
  advgetopt::anonymous_namespace{validator.cpp}::TOK_COMMA ,
  advgetopt::anonymous_namespace{validator.cpp}::TOK_OR ,
  advgetopt::anonymous_namespace{validator.cpp}::TOK_INVALID
}
 

Variables

factory_map_tadvgetopt::anonymous_namespace{validator.cpp}::g_validator_factories
 

Detailed Description

The advgetopt environment is versioned. The functions available here give you access to the version, in case you wanted to make sure you had a minimum version or had some special case options when you want to be able to support various versions.

Definition in file validator.cpp.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.