nis-util
1.0.D108
|
#include <passwd.h>
Data Structures | |
class | record |
Public Types | |
typedef boost::shared_ptr < colon_passwd > | pointer |
Public Member Functions | |
virtual | ~colon_passwd () |
record::pointer | get (void) |
Static Public Member Functions | |
static pointer | create (const rcstring &filename) |
static rcstring | is_ok_user_name (const rcstring &text) |
Protected Member Functions | |
colon_passwd (const rcstring &filename) | |
Private Member Functions | |
bool | validate (const record::pointer &rp) |
colon_passwd () | |
colon_passwd (const colon_passwd &) | |
colon_passwd & | operator= (const colon_passwd &) |
Private Attributes | |
long | last_uid |
The colon_passwd class is used to represent the parse state of a passwd formatted file.
typedef boost::shared_ptr<colon_passwd> colon_passwd::pointer |
Reimplemented in colon_passwd_slurp_check, and colon_passwd_slurp.
colon_passwd::~colon_passwd | ( | ) | [virtual] |
colon_passwd::colon_passwd | ( | const rcstring & | filename | ) | [protected] |
colon_passwd::colon_passwd | ( | ) | [private] |
The default constructor. Do not use.
colon_passwd::colon_passwd | ( | const colon_passwd & | ) | [private] |
The copy constructor. Do not use.
colon_passwd::pointer colon_passwd::create | ( | const rcstring & | filename | ) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
filename | The name of the file to be read. |
Reimplemented in colon_passwd_slurp.
rcstring colon_passwd::is_ok_user_name | ( | const rcstring & | text | ) | [static] |
colon_passwd& colon_passwd::operator= | ( | const colon_passwd & | ) | [private] |
The assignment operator. Do not use.
bool colon_passwd::validate | ( | const record::pointer & | rp | ) | [private] |
long colon_passwd::last_uid [private] |