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

Declaration of the option_info class used to record available options. More...

#include <advgetopt/flags.h>
#include <advgetopt/validator.h>
#include <advgetopt/variables.h>
#include <functional>
#include <map>
Include dependency graph for option_info.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  advgetopt::option_info::callback_entry_t
 
class  advgetopt::option_info
 
class  advgetopt::option_info_ref
 

Namespaces

namespace  advgetopt
 The advgetopt environment to parse command line options.
 

Typedefs

typedef char32_t advgetopt::short_name_t
 

Enumerations

enum class  advgetopt::option_source_t {
  advgetopt::SOURCE_COMMAND_LINE ,
  advgetopt::SOURCE_CONFIGURATION ,
  advgetopt::SOURCE_DIRECT ,
  advgetopt::SOURCE_DYNAMIC ,
  advgetopt::SOURCE_ENVIRONMENT_VARIABLE ,
  advgetopt::SOURCE_UNDEFINED
}
 

Functions

std::string advgetopt::short_name_to_string (short_name_t short_name)
 Convert a short name to a UTF-8 string.
 
short_name_t advgetopt::string_to_short_name (std::string const &name)
 Transform a string to a short name.
 

Variables

constexpr short_name_t advgetopt::NO_SHORT_NAME = U'\0'
 

Detailed Description

The library offers a way to verify your command line and other options with features such as validators and reading of various types of configuration files.

The class defined in this file is used to describe an option.

Definition in file option_info.h.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.