#include <command_line.h>
The arglex_source_command_line class is used to represent the processing required to traverse and consume strings values as presented on the command line to the main() function.
Definition at line 29 of file command_line.h.
The destructor.
Definition at line 22 of file command_line.cc.
The constructor. It is private on purpose, use the create class method instead.
Definition at line 27 of file command_line.cc.
The default constructor. Do not use.
The copy constructor. Do not use.
The create class method is used to create new dynamically allocated instances of this class.
Definition at line 36 of file command_line.cc.
The next method is used to obtain the next command line argument from the command line source.
Implements arglex_source.
Definition at line 43 of file command_line.cc.
The assignment operator. Do not use.
The count instance variable is used to remember the number of arguments on the command line, including the command name.
Definition at line 73 of file command_line.h.
The pos instance variable is used to remember our progress through the command line arguments.
Definition at line 79 of file command_line.h.
The values instance variable is used to remember the values of the command line arguments, as simple C strings, including the command name.
Definition at line 86 of file command_line.h.