eRPC Generator (erpcgen)
Rev. 1.12.0
NXP Semiconductors
|
#include <options.hpp>
Public Member Functions | |
OptStrTokIter (const char *tokens, const char *delimiters=0) | |
virtual const char * | curr (void) override |
virtual void | next (void) override |
next() advances to the next item. | |
virtual const char * | operator() (void) override |
virtual void | rewind (void) override |
rewind() resets the "current-element" to the first one in the "list" | |
const char * | delimiters (void) |
void | delimiters (const char *delims) |
Class to iterate through a string containing delimiter-separated tokens
|
overridevirtual |
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.
Implements OptIterRwd.
|
inline |
delimiters() with NO arguments returns the current set of delimiters, If an argument is given then it is used as the new set of delimiters.
|
overridevirtual |
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.
Implements OptIterRwd.