nis-util
1.0.D108
|
#include <ethers.h>
Data Structures | |
class | record |
Public Types | |
typedef boost::shared_ptr < space_ethers > | pointer |
Public Member Functions | |
virtual | ~space_ethers () |
record::pointer | get (void) |
Static Public Member Functions | |
static pointer | create (const rcstring &filename) |
Protected Member Functions | |
space_ethers (const rcstring &filename) | |
Private Member Functions | |
space_ethers () | |
space_ethers (const space_ethers &) | |
space_ethers & | operator= (const space_ethers &) |
Private Attributes | |
record::pointer | last_rp |
The space_ethers class is used to represent the parse state of an ethers file (see ethers(5) for file format information).
typedef boost::shared_ptr<space_ethers> space_ethers::pointer |
Reimplemented in space_ethers_slurp.
space_ethers::~space_ethers | ( | ) | [virtual] |
space_ethers::space_ethers | ( | const rcstring & | filename | ) | [protected] |
space_ethers::space_ethers | ( | ) | [private] |
The default constructor. Do not use.
space_ethers::space_ethers | ( | const space_ethers & | ) | [private] |
The copy constructor. Do not use.
space_ethers::pointer space_ethers::create | ( | const rcstring & | filename | ) | [static] |
The get method is used to get another record from the file. It returns false at end-of-file.
Input lines are validated for simple correctness. Invalid lines cause fatal errors (see the error method) and are not passed through.
space_ethers& space_ethers::operator= | ( | const space_ethers & | ) | [private] |
The assignment operator. Do not use.
record::pointer space_ethers::last_rp [private] |