eRPC Generator (erpcgen)
Rev. 1.12.0
NXP Semiconductors
|
#include <options.hpp>
Public Member Functions | |
virtual const char * | curr (void)=0 |
virtual void | next (void)=0 |
next() advances to the next item. | |
virtual const char * | operator() (void) |
Abstract class to iterate through options/arguments
|
pure virtual |
curr() returns the current item in the iterator without advancing on to the next item. If we are at the end of items then NULL is returned.
Implemented in OptIstreamIter, OptStrTokIter, OptArgvIter, and OptIterRwd.
|
virtual |
operator() returns the current item in the iterator and then advances on to the next item. If we are at the end of items then NULL is returned.
Reimplemented in OptIstreamIter, OptStrTokIter, OptArgvIter, and OptIterRwd.