|
R3BROOT
R3B analysis software
|
#include <R3BProgramOptions.h>
Public Types | |
| using | type = Type |
Public Member Functions | |
| Option (const Option &)=delete | |
| Option (Option &&)=delete | |
| auto | operator= (const Option &) -> Option &=delete |
| auto | operator= (Option &&) -> Option &=delete |
| Option (std::string name, Type defaultValue, ProgramOptions *program) | |
| ~Option () override | |
| void | add (const std::string &desc, bool is_requried=false) |
| void | as_positional (int option) |
| void | retrieve (const po::variables_map &varMap) override |
| void | set_required (bool p_rq=true) |
| auto | value () const |
| auto | is_required () const -> bool |
| auto | is_positional () const -> bool |
| Public Member Functions inherited from R3B::OptionConcept | |
| OptionConcept (const OptionConcept &)=delete | |
| OptionConcept (OptionConcept &&)=delete | |
| auto | operator= (const OptionConcept &) -> OptionConcept &=delete |
| auto | operator= (OptionConcept &&) -> OptionConcept &=delete |
| virtual | ~OptionConcept ()=default |
| OptionConcept ()=default | |
Private Attributes | |
| bool | is_positional_ = false |
| bool | is_required_ = false |
| std::string | name_ |
| std::string | key_ |
| std::string | desc_ |
| Type | value_ {} |
| ProgramOptions * | program_ |
Definition at line 104 of file R3BProgramOptions.h.
| using R3B::Option< Type >::type = Type |
Definition at line 107 of file R3BProgramOptions.h.
|
delete |
|
delete |
|
inline |
Definition at line 112 of file R3BProgramOptions.h.
|
inlineoverride |
Definition at line 126 of file R3BProgramOptions.h.
|
inline |
Definition at line 128 of file R3BProgramOptions.h.
|
inline |
Definition at line 153 of file R3BProgramOptions.h.
|
inlinenodiscard |
Definition at line 184 of file R3BProgramOptions.h.
|
inlinenodiscard |
Definition at line 183 of file R3BProgramOptions.h.
|
delete |
|
delete |
|
inlineoverridevirtual |
Implements R3B::OptionConcept.
Definition at line 159 of file R3BProgramOptions.h.
|
inline |
Definition at line 180 of file R3BProgramOptions.h.
|
inlinenodiscard |
Definition at line 182 of file R3BProgramOptions.h.
|
private |
Definition at line 191 of file R3BProgramOptions.h.
|
private |
Definition at line 187 of file R3BProgramOptions.h.
|
private |
Definition at line 188 of file R3BProgramOptions.h.
|
private |
Definition at line 190 of file R3BProgramOptions.h.
|
private |
Definition at line 189 of file R3BProgramOptions.h.
|
private |
Definition at line 193 of file R3BProgramOptions.h.
|
private |
Definition at line 192 of file R3BProgramOptions.h.