ewmscp  ..
Classes | Namespaces | Functions | Variables
Options.cpp File Reference

(v0.19-24-g0617ca1 with changes)

#include "Options.h"
#include <sys/stat.h>
#include <sys/types.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <ctime>
#include <iterator>
#include <algorithm>
#include <list>
#include <system_error>
Include dependency graph for Options.cpp:

Go to the source code of this file.

Classes

class  options::internal::supressed< T >
 special class for options which never have a value setting in cfg files More...
 
class  options::internal::NoCfgFileRecursion
 standard option to suppress parsing of config files within config files More...
 
class  options::internal::OptionHelp
 special derived class used to give help More...
 
class  options::internal::OptionWriteCfgFile
 special derived class used to write out config files More...
 
class  options::internal::OptionReadCfgFile< mayBeMissing >
 special derived class used to read in config files More...
 

Namespaces

 options
 
 options::internal
 template specialisation for options that are std::chrono::time_point<std::chrono::system_clock>
 
 options::escapedIO
 

Functions

std::ostream & options::operator<< (std::ostream &aStream, const internal::sourceItem &aItem)
 operator to write sourceItems to a stream More...
 
std::istream & options::escapedIO::operator>> (std::istream &aStream, const char *&aCstring)
 
std::ostream & options::escapedIO::operator<< (std::ostream &aStream, const std::string &aString)
 
std::istream & options::escapedIO::operator>> (std::istream &aStream, std::string &aString)
 

Variables

static single< bool > options::internal::gOptionDebugOptions ('\0', "debugOptions", "give debug output to option parsing")
 standard option for producing debug output about the options More...
 
static single< bool > options::internal::gOptionNoCfgFiles ('\0', "noCfgFiles", "do not read the default config files, must be FIRST option")
 standard option to suppress parsing of config files More...
 
static NoCfgFileRecursion options::internal::gNoCfgFileRecursion
 
static OptionHelp options::internal::gHelp
 
static OptionWriteCfgFile options::internal::gWriteCfgFile
 
static OptionReadCfgFile< false > options::internal::gReadCfgFile ("readCfgFile", "read a config file")
 
static OptionReadCfgFile< true > options::internal::gReadCfgFileIfThere ("readCfgFileIfThere", "read a config file if it's there")