|
Parsnip
parsing library
|
An iterator for argument vectors. More...
#include <parsnip_argv.h>
Public Member Functions | |
| ArgvCursor (const ArgumentVector *the_argv) | |
| ArgvCursor (const ArgvCursor &from)=default | |
| ArgvCursor (ArgvCursor &&from)=default | |
| ArgvCursor & | operator= (const ArgvCursor &from)=default |
| ArgvCursor & | operator= (ArgvCursor &&from)=default |
| bool | isStart () const |
| Check if the cursor is at the start of the command line. | |
| bool | isEnd () const |
| Check if the cursor is at the end of the command line. | |
| ArgvCursor & | operator++ () |
| ArgvCursor | operator++ (int) |
| ArgvCursor | operator+ (int value) const |
| ArgvCursor | operator- (int value) const |
| const ArgumentVector::StringType & | value () const |
| Return the current token. | |
| const ArgumentVector::StringType | remainingString () const |
| Return the raw, unsplit remainder of the command line. | |
| std::vector< ArgumentVector::StringType > | remainingTokens () const |
An iterator for argument vectors.
|
inline |
Check if the cursor is at the end of the command line.
|
inline |
Check if the cursor is at the start of the command line.