group of parameters and/or other groups; can be configured to act as a group of alternatives (exclusive match)
More...
|
| group ()=default |
|
template<class Param , class... Params> |
| group (doc_string docstr, Param param, Params... params) |
|
template<class... Params> |
| group (parameter param, Params... params) |
|
template<class P2 , class... Ps> |
| group (group p1, P2 p2, Ps... ps) |
|
| group (const group &)=default |
|
| group (group &&)=default |
|
group & | operator= (const group &)=default |
|
group & | operator= (group &&)=default |
|
group & | joinable (bool yes) |
| determines if a command line argument can be matched by a combination of (partial) matches through any number of children More...
|
|
bool | joinable () const noexcept |
| returns if a command line argument can be matched by a combination of (partial) matches through any number of children More...
|
|
group & | scoped (bool yes) |
| turns explicit scoping on or off operators , & | and other combinating functions will not merge groups that are marked as scoped More...
|
|
bool | scoped () const noexcept |
| returns true if operators , & | and other combinating functions will merge groups and false otherwise More...
|
|
group & | exclusive (bool yes) |
| determines if children are mutually exclusive alternatives More...
|
|
bool | exclusive () const noexcept |
| returns if children are mutually exclusive alternatives More...
|
|
bool | any_required () const |
| returns true, if any child is required to match More...
|
|
bool | all_required () const |
| returns true, if all children are required to match More...
|
|
bool | any_optional () const |
| returns true if any child is optional (=non-required) More...
|
|
bool | all_optional () const |
| returns true if all children are optional (=non-required) More...
|
|
bool | blocking () const noexcept |
| returns if the entire group is blocking / positional More...
|
|
group & | blocking (bool yes) |
| determines if the entire group is blocking / positional More...
|
|
bool | any_blocking () const |
| returns true if any child is blocking More...
|
|
bool | all_blocking () const |
| returns true if all children is blocking More...
|
|
bool | any_flagless () const |
| returns if any child is a value parameter (recursive) More...
|
|
bool | all_flagless () const |
| returns if all children are value parameters (recursive) More...
|
|
group & | push_back (const parameter &v) |
| adds child parameter at the end More...
|
|
group & | push_back (parameter &&v) |
| adds child parameter at the end More...
|
|
group & | push_back (const group &g) |
| adds child group at the end More...
|
|
group & | push_back (group &&g) |
| adds child group at the end More...
|
|
template<class Param1 , class Param2 , class... Params> |
group & | push_back (Param1 &¶m1, Param2 &¶m2, Params &&... params) |
| adds children (groups and/or parameters) More...
|
|
group & | push_front (const parameter &v) |
| adds child parameter at the beginning More...
|
|
group & | push_front (parameter &&v) |
| adds child parameter at the beginning More...
|
|
group & | push_front (const group &g) |
| adds child group at the beginning More...
|
|
group & | push_front (group &&g) |
| adds child group at the beginning More...
|
|
group & | merge (group &&g) |
| adds all children of other group at the end More...
|
|
template<class... Groups> |
group & | merge (group &&g1, group &&g2, Groups &&... gs) |
| adds all children of several other groups at the end More...
|
|
child & | operator[] (size_type index) noexcept |
| indexed, nutable access to child More...
|
|
const child & | operator[] (size_type index) const noexcept |
| indexed, non-nutable access to child More...
|
|
child & | front () noexcept |
| mutable access to first child More...
|
|
const child & | front () const noexcept |
| non-mutable access to first child More...
|
|
child & | back () noexcept |
| mutable access to last child More...
|
|
const child & | back () const noexcept |
| non-mutable access to last child More...
|
|
bool | empty () const noexcept |
| returns true, if group has no children, false otherwise More...
|
|
size_type | size () const noexcept |
| returns number of children More...
|
|
size_type | depth () const |
| returns number of nested levels; 1 for a flat group More...
|
|
iterator | begin () noexcept |
| returns mutating iterator to position of first element More...
|
|
const_iterator | begin () const noexcept |
| returns non-mutating iterator to position of first element More...
|
|
const_iterator | cbegin () const noexcept |
| returns non-mutating iterator to position of first element More...
|
|
iterator | end () noexcept |
| returns mutating iterator to position one past the last element More...
|
|
const_iterator | end () const noexcept |
| returns non-mutating iterator to position one past the last element More...
|
|
const_iterator | cend () const noexcept |
| returns non-mutating iterator to position one past the last element More...
|
|
depth_first_traverser | begin_dfs () const noexcept |
| returns augmented iterator for depth first searches More...
|
|
size_type | param_count () const |
| returns recursive parameter count More...
|
|
arg_list | all_flags () const |
| returns range of all flags (recursive) More...
|
|
bool | flags_are_prefix_free () const |
| returns true, if no flag occurs as true prefix of any other flag (identical flags will be ignored) More...
|
|
arg_string | common_flag_prefix () const |
| returns longest common prefix of all flags More...
|
|
const doc_string & | doc () const noexcept |
| returns documentation string More...
|
|
group & | doc (const doc_string &txt) |
| sets documentations string More...
|
|
group & | doc (doc_string &&txt) |
| sets documentations string More...
|
|
bool | repeatable () const noexcept |
| returns if a group/parameter is repeatable More...
|
|
group & | repeatable (bool yes) noexcept |
| sets repeatability of group/parameter More...
|
|
bool | blocking () const noexcept |
| returns if a group/parameter is blocking/positional More...
|
|
group & | blocking (bool yes) noexcept |
| determines, if a group/parameter is blocking/positional More...
|
|
group of parameters and/or other groups; can be configured to act as a group of alternatives (exclusive match)
Definition at line 2445 of file clipp.h.