#include <ArgManager.h>
|
| ArgManager () |
|
| ArgManager (int argc, char *argv[]) |
|
| ~ArgManager () |
|
size_t | size () const |
|
auto | begin () -> decltype(args.begin()) |
|
auto | end () -> decltype(args.end()) |
|
std::string & | operator[] (size_t i) |
|
const std::string & | operator[] (size_t i) const |
|
template<typename T > |
int | UseArg (const std::string &name, T &var, const std::string &desc="") |
|
int | UseArg (const std::string &name, Config &config, const std::string &cfg_name, const std::string &desc="") |
|
bool | UseFlag (const std::string &name, const std::string &desc="") |
|
void | PrintHelp (std::ostream &os) const |
|
bool | TestUnknown (std::ostream &os=std::cerr) const |
|
bool | ProcessConfigOptions (Config &config, std::ostream &os, const std::string &cfg_file="", const std::string ¯o_file="") |
|
emp::cl::ArgManager::ArgManager |
( |
| ) |
|
|
inline |
emp::cl::ArgManager::ArgManager |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
inline |
emp::cl::ArgManager::~ArgManager |
( |
| ) |
|
|
inline |
auto emp::cl::ArgManager::begin |
( |
| ) |
-> decltype(args.begin()) |
|
inline |
auto emp::cl::ArgManager::end |
( |
| ) |
-> decltype(args.end()) |
|
inline |
std::string& emp::cl::ArgManager::operator[] |
( |
size_t |
i | ) |
|
|
inline |
const std::string& emp::cl::ArgManager::operator[] |
( |
size_t |
i | ) |
const |
|
inline |
void emp::cl::ArgManager::PrintHelp |
( |
std::ostream & |
os | ) |
const |
|
inline |
bool emp::cl::ArgManager::ProcessConfigOptions |
( |
Config & |
config, |
|
|
std::ostream & |
os, |
|
|
const std::string & |
cfg_file = "" , |
|
|
const std::string & |
macro_file = "" |
|
) |
| |
|
inline |
size_t emp::cl::ArgManager::size |
( |
| ) |
const |
|
inline |
bool emp::cl::ArgManager::TestUnknown |
( |
std::ostream & |
os = std::cerr | ) |
const |
|
inline |
template<typename T >
int emp::cl::ArgManager::UseArg |
( |
const std::string & |
name, |
|
|
T & |
var, |
|
|
const std::string & |
desc = "" |
|
) |
| |
|
inline |
int emp::cl::ArgManager::UseArg |
( |
const std::string & |
name, |
|
|
Config & |
config, |
|
|
const std::string & |
cfg_name, |
|
|
const std::string & |
desc = "" |
|
) |
| |
|
inline |
bool emp::cl::ArgManager::UseFlag |
( |
const std::string & |
name, |
|
|
const std::string & |
desc = "" |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: