|
| args () |
|
| args (int a_argc, char *a_argv[]) |
|
| args (const std::vector< std::string > &a_args, bool a_strip=false) |
|
| args (const std::vector< arg > &a_args) |
|
| args (const std::string &a_args, const std::string &a_sep, bool a_strip) |
|
virtual | ~args () |
|
| args (const args &a_from) |
|
args & | operator= (const args &a_from) |
|
const std::vector< arg > & | get_args () const |
|
bool | is_arg (const std::string &a_string) const |
|
bool | is_empty () const |
|
size_t | size () const |
|
size_t | number () const |
|
bool | find (const std::string &a_key, std::string &a_value, const std::string &a_def=std::string()) const |
|
void | find (const std::string &a_key, std::vector< std::string > &a_vals, bool a_clear=true) const |
|
bool | find (const std::string &a_string, bool &a_value, const bool &a_def=false) const |
|
template<class aT > |
bool | find (const std::string &a_string, aT &a_value, const aT &a_def=aT()) const |
|
void | to_vector (std::vector< std::string > &a_vec) const |
|
bool | add (const std::string &a_key, const std::string &a_value=std::string(), bool a_override=true) |
|
bool | insert_begin (const std::string &a_key, const std::string &a_value=std::string(), bool a_override=true) |
|
void | add (const std::vector< std::string > &a_args, bool a_strip=false) |
|
void | add_keyvals (const std::vector< std::string > &a_args, bool a_strip=false) |
|
void | add (const std::vector< arg > &a_args) |
|
void | add (const args &a_from) |
|
int | remove (const std::string &a_key) |
|
void | remove_first () |
|
void | remove_last () |
|
bool | last (std::string &a_key, std::string &a_value) const |
|
bool | prog_name (std::string &a_value) const |
|
bool | file (std::string &a_file) const |
|
bool | file (std::string &a_file, bool a_remove) |
|
void | not_hyphens (std::vector< std::string > &a_not_hyphens, bool a_skip_first=false) const |
|
void | files (std::vector< std::string > &a_files, bool a_skip_first=true) const |
|
bool | first_not_hyphen (std::string &a_first, bool a_skip_first=false) const |
|
bool | argcv (int &a_argc, char **&a_argv) const |
|
bool | known_options (const std::vector< std::string > &a_knowns) const |
|
bool | known_options (const std::string &a_known) const |
|
void | files_at_end (bool a_skip_first=true) |
|
void | dump (std::ostream &a_out, const std::string &a_comment=std::string(), const std::string &a_prefix=std::string()) const |
|
bool | isAnArgument (const std::string &a_key) const |
|
Definition at line 24 of file args.