iRoCS Toolbox
1.1.0
|
The ArgIter class is an abstract class used by the CmdLine class for fetching command line arguments. More...
#include <ArgIter.hh>
Public Member Functions | |
ArgIter () | |
Constructor. More... | |
virtual | ~ArgIter () |
Destructor. More... | |
virtual const char * | fetch ()=0 |
Returns the current argument, advances to the next argument and returns NULL is there are no arguments anymore. More... | |
The ArgIter class is an abstract class used by the CmdLine class for fetching command line arguments.
The ArgIter abstract class is an interface for all classes that iterate through the arguments. The main function of this class is the fetch() function which returns the current argument and advances to the next one.
Definition at line 73 of file ArgIter.hh.
|
inline |
|
inlinevirtual |
Destructor.
Definition at line 89 of file ArgIter.hh.
|
pure virtual |
Returns the current argument, advances to the next argument and returns NULL is there are no arguments anymore.
Implemented in IStreamIter, and ArgvIter.
Referenced by ~ArgIter().