nis-util
1.0.D108
|
#include <netid.h>
Data Structures | |
class | record |
Public Types | |
typedef boost::shared_ptr < space_netid > | pointer |
Public Member Functions | |
virtual | ~space_netid () |
record::pointer | get (void) |
Static Public Member Functions | |
static pointer | create (const rcstring &filename) |
Protected Member Functions | |
space_netid (const rcstring &filename) | |
Private Member Functions | |
space_netid () | |
space_netid (const space_netid &) | |
space_netid & | operator= (const space_netid &) |
Private Attributes | |
int | last_uid |
The space_netid class is used to represent the parse state of a netid file. I'd tell you to see netid(5) for file format information, but there's no such beast. I gleaned this much from the ypserve-2.1 package's mknetid.c file.
typedef boost::shared_ptr<space_netid> space_netid::pointer |
Reimplemented in space_netid_slurp.
space_netid::~space_netid | ( | ) | [virtual] |
space_netid::space_netid | ( | const rcstring & | filename | ) | [protected] |
space_netid::space_netid | ( | ) | [private] |
The default constructor. Do not use.
space_netid::space_netid | ( | const space_netid & | ) | [private] |
The copy constructor. Do not use.
space_netid::pointer space_netid::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_netid& space_netid::operator= | ( | const space_netid & | ) | [private] |
The assignment operator. Do not use.
int space_netid::last_uid [private] |