![]() |
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 | |
template<typename StreamT > requires Streamable<StreamT> | |
StreamT & | operator<< (StreamT &out, const Options &options) |
Definition at line 121 of file Options.hpp.
|
explicit |
Definition at line 28 of file Options.cpp.
|
inline |
Definition at line 165 of file Options.hpp.
|
inline |
Definition at line 173 of file Options.hpp.
Definition at line 196 of file Options.hpp.
|
inline |
Definition at line 203 of file Options.hpp.
Definition at line 33 of file Options.cpp.
Definition at line 38 of file Options.cpp.
Definition at line 43 of file Options.cpp.
Definition at line 229 of file Options.hpp.