Command line arguments for application if specified using el::Helpers::setArgs(..) or START_EASYLOGGINGPP(..)
More...
#include <easylogging++.h>
Command line arguments for application if specified using el::Helpers::setArgs(..) or START_EASYLOGGINGPP(..)
Definition at line 1204 of file easylogging++.h.
el::base::utils::CommandLineArgs::CommandLineArgs |
( |
void |
| ) |
|
|
inline |
el::base::utils::CommandLineArgs::CommandLineArgs |
( |
int |
argc, |
|
|
const char ** |
argv |
|
) |
| |
|
inline |
el::base::utils::CommandLineArgs::CommandLineArgs |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
inline |
virtual el::base::utils::CommandLineArgs::~CommandLineArgs |
( |
void |
| ) |
|
|
inlinevirtual |
bool el::base::utils::CommandLineArgs::empty |
( |
void |
| ) |
const |
Returns true if no params available. This exclude argv[0].
Definition at line 1381 of file easylogging++.cc.
const char * el::base::utils::CommandLineArgs::getParamValue |
( |
const char * |
paramKey | ) |
const |
Returns value of arguments.
- See also
- hasParamWithValue(const char*)
Definition at line 1372 of file easylogging++.cc.
bool el::base::utils::CommandLineArgs::hasParam |
( |
const char * |
paramKey | ) |
const |
Return true if arguments has a param (not having a value) i,e without '='.
Definition at line 1377 of file easylogging++.cc.
bool el::base::utils::CommandLineArgs::hasParamWithValue |
( |
const char * |
paramKey | ) |
const |
Returns true if arguments contain paramKey with a value (seperated by '=')
Definition at line 1368 of file easylogging++.cc.
void el::base::utils::CommandLineArgs::setArgs |
( |
int |
argc, |
|
|
const char ** |
argv |
|
) |
| |
|
inline |
void el::base::utils::CommandLineArgs::setArgs |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
std::size_t el::base::utils::CommandLineArgs::size |
( |
void |
| ) |
const |
Returns total number of arguments. This exclude argv[0].
Definition at line 1385 of file easylogging++.cc.
int el::base::utils::CommandLineArgs::m_argc |
|
private |
char** el::base::utils::CommandLineArgs::m_argv |
|
private |
std::vector<std::string> el::base::utils::CommandLineArgs::m_params |
|
private |
The documentation for this class was generated from the following files: