nis-util
1.0.D108
|
#include <source.h>
Public Types | |
typedef boost::shared_ptr < arglex_source > | pointer |
Public Member Functions | |
virtual | ~arglex_source () |
virtual bool | next (source_location &result_locn, rcstring &result)=0 |
Protected Member Functions | |
arglex_source () | |
Private Member Functions | |
arglex_source (const arglex_source &rhs) | |
arglex_source & | operator= (const arglex_source &rhs) |
The arglex_source class is used to represent an abstract source of command line arguments, usually but not always the actual command line.
typedef boost::shared_ptr<arglex_source> arglex_source::pointer |
arglex_source::~arglex_source | ( | ) | [virtual] |
arglex_source::arglex_source | ( | ) | [protected] |
arglex_source::arglex_source | ( | const arglex_source & | rhs | ) | [private] |
The copy constructor. Do not use.
rhs | The right hand side of the initialization. |
virtual bool arglex_source::next | ( | source_location & | result_locn, |
rcstring & | result | ||
) | [pure virtual] |
The next method is used to obtain the next command line argument from the command line source.
result_locn | the read position immidately before the result. |
result | where to put the command line argument |
Implemented in arglex_source_command_line, arglex_source_pushback, and arglex_source_file.
arglex_source& arglex_source::operator= | ( | const arglex_source & | rhs | ) | [private] |
The assignment operator. Do not use.
rhs | The right hand side of the assignment. |