arg_router
1.4.0
C++ command line argument parsing and routing
|
#include <arg_router/parsing/dynamic_token_adapter.hpp>
Public Types | |
using | difference_type = std::ptrdiff_t |
using | value_type = dynamic_token_adapter::value_type |
using | pointer = const value_type * |
using | reference = const value_type & |
using | iterator_category = std::forward_iterator_tag |
Public Member Functions | |
iterator & | operator+= (difference_type offset) noexcept |
iterator & | operator-= (difference_type offset) noexcept |
iterator & | operator++ () noexcept |
iterator | operator++ (int) noexcept |
iterator & | operator-- () noexcept |
iterator | operator-- (int) noexcept |
reference | operator* () const noexcept |
pointer | operator-> () const noexcept |
reference | operator[] (difference_type offset) const noexcept |
bool | operator== (iterator other) const noexcept |
bool | operator!= (iterator other) const noexcept |
void | set (value_type value) |
Friends | |
iterator | operator+ (iterator it, difference_type offset) noexcept |
iterator | operator- (iterator it, difference_type offset) noexcept |
iterator | operator+ (difference_type offset, iterator it) noexcept |
iterator | operator- (difference_type offset, iterator it) noexcept |
iterator | operator- (iterator lhs, iterator rhs) noexcept |
bool | operator< (iterator lhs, iterator rhs) noexcept |
bool | operator> (iterator lhs, iterator rhs) noexcept |
bool | operator<= (iterator lhs, iterator rhs) noexcept |
bool | operator>= (iterator lhs, iterator rhs) noexcept |
Iterator type.
Definition at line 31 of file dynamic_token_adapter.hpp.
using arg_router::parsing::dynamic_token_adapter::iterator::difference_type = std::ptrdiff_t |
Difference type.
Definition at line 35 of file dynamic_token_adapter.hpp.
using arg_router::parsing::dynamic_token_adapter::iterator::iterator_category = std::forward_iterator_tag |
Iterator category.
Definition at line 43 of file dynamic_token_adapter.hpp.
Pointer type.
Definition at line 39 of file dynamic_token_adapter.hpp.
Reference type.
Definition at line 41 of file dynamic_token_adapter.hpp.
using arg_router::parsing::dynamic_token_adapter::iterator::value_type = dynamic_token_adapter::value_type |
Value type.
Definition at line 37 of file dynamic_token_adapter.hpp.
|
inlinenoexcept |
Inequality operator.
other | Instance to compare against |
Definition at line 268 of file dynamic_token_adapter.hpp.
|
inlinenoexcept |
Dereference operator.
Definition at line 210 of file dynamic_token_adapter.hpp.
|
inlinenoexcept |
Pre-increment operator.
Definition at line 175 of file dynamic_token_adapter.hpp.
|
inlinenoexcept |
Post-increment operator.
Definition at line 181 of file dynamic_token_adapter.hpp.
|
inlinenoexcept |
In-place increment operator.
offset | Increment offset (can be negative) |
Definition at line 50 of file dynamic_token_adapter.hpp.
|
inlinenoexcept |
Pre-decrement operator.
Definition at line 192 of file dynamic_token_adapter.hpp.
|
inlinenoexcept |
Post-decrement operator.
Definition at line 198 of file dynamic_token_adapter.hpp.
|
inlinenoexcept |
In-place decrement operator.
offset | Decrement offset (can be negative) |
Definition at line 61 of file dynamic_token_adapter.hpp.
|
inlinenoexcept |
Structure dereference operator.
Definition at line 225 of file dynamic_token_adapter.hpp.
|
inlinenoexcept |
Equality operator.
other | Instance to compare against |
Definition at line 245 of file dynamic_token_adapter.hpp.
|
inlinenoexcept |
Offset and deference operator.
offset | Offset |
Definition at line 233 of file dynamic_token_adapter.hpp.
|
inline |
Updates the element with value.
If the iterator is beyond the end of the processed tokens vector, then the elements up to and including the iterator are transferred from the command line token container to the processed container. Then the last transferred element is updated (i.e. the new end last element of the processed container.
value | New value |
Definition at line 280 of file dynamic_token_adapter.hpp.
|
friend |
Increment operator.
it | |
offset |
Definition at line 91 of file dynamic_token_adapter.hpp.
|
friend |
Increment operator.
it | |
offset |
Definition at line 69 of file dynamic_token_adapter.hpp.
|
friend |
Decrement operator.
it | |
offset |
Definition at line 102 of file dynamic_token_adapter.hpp.
|
friend |
Decrement operator.
it | |
offset |
Definition at line 80 of file dynamic_token_adapter.hpp.
Difference operator.
lhs | First instance |
rhs | Second instance |
Definition at line 115 of file dynamic_token_adapter.hpp.
Less than operator.
lhs | First instance |
rhs | Second instance |
Definition at line 127 of file dynamic_token_adapter.hpp.
Less than or equal to operator.
lhs | First instance |
rhs | Second instance |
Definition at line 153 of file dynamic_token_adapter.hpp.
Greater than operator.
lhs | First instance |
rhs | Second instance |
Definition at line 140 of file dynamic_token_adapter.hpp.
Greater than or equal to operator.
lhs | First instance |
rhs | Second instance |
Definition at line 166 of file dynamic_token_adapter.hpp.