Toolbox snapshot
The Reactive C++ Toolbox
|
#include <toolbox/util/Options.hpp>
Public Member Functions | |
Options (std::string description="") | |
template<typename DataT > | |
Options & | operator() (const std::string &long_opt, DataT &&option_data, std::string description="") |
template<typename DataT > | |
Options & | operator() (char short_opt, const std::string &long_opt, DataT &&data, std::string description="") |
template<typename DataT > | |
Options & | operator() (DataT data, std::string="") |
template<typename DataT > | |
Options & | operator() (char short_opt, DataT &&option_data, std::string description="") |
bool | operator[] (const std::string &long_opt) const noexcept |
bool | operator[] (char short_opt) const noexcept |
void | parse (int argc, const char *const argv[]) |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Options &options) |
Definition at line 119 of file Options.hpp.
|
explicit |
Definition at line 29 of file Options.cpp.
|
inline |
Definition at line 163 of file Options.hpp.
|
inline |
Definition at line 171 of file Options.hpp.
Definition at line 194 of file Options.hpp.
|
inline |
Definition at line 201 of file Options.hpp.
Definition at line 34 of file Options.cpp.
Definition at line 39 of file Options.cpp.
Definition at line 44 of file Options.cpp.
Definition at line 112 of file Options.cpp.