nis-util
1.0.D108
|
#include <file.h>
Public Member Functions | |
virtual | ~arglex_source_file () |
Static Public Member Functions | |
static pointer | create (const rcstring &filename) |
Protected Member Functions | |
bool | next (source_location &result_locn, rcstring &result) |
Private Member Functions | |
arglex_source_file (const rcstring &filename) | |
arglex_source_file () | |
arglex_source_file (const arglex_source_file &rhs) | |
arglex_source_file & | operator= (const arglex_source_file &rhs) |
Private Attributes | |
input::pointer | ip |
The arglex_source_file class is used to represent the process of reading command line options from the text file.
There is no quoting mechanism available.
arglex_source_file::~arglex_source_file | ( | ) | [virtual] |
arglex_source_file::arglex_source_file | ( | const rcstring & | filename | ) | [private] |
arglex_source_file::arglex_source_file | ( | ) | [private] |
The default constructor. Do not use.
arglex_source_file::arglex_source_file | ( | const arglex_source_file & | rhs | ) | [private] |
The copy constructor. Do not use.
rhs | The right hand side of the initialization. |
arglex_source_file::pointer arglex_source_file::create | ( | const rcstring & | filename | ) | [static] |
bool arglex_source_file::next | ( | source_location & | result_locn, |
rcstring & | result | ||
) | [protected, 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 |
Implements arglex_source.
arglex_source_file& arglex_source_file::operator= | ( | const arglex_source_file & | rhs | ) | [private] |
The assignment operator. Do not use.
rhs | The right hand side of the assignment. |
input::pointer arglex_source_file::ip [private] |