nis-util
1.0.D108
|
#include <check.h>
Public Types | |
typedef boost::shared_ptr < colon_passwd_slurp_check > | pointer |
Public Member Functions | |
virtual | ~colon_passwd_slurp_check () |
Static Public Member Functions | |
static pointer | create (const rcstring &filename, const colon_group_slurp::pointer &grp) |
Private Member Functions | |
colon_passwd_slurp_check (const rcstring &filename, const colon_group_slurp::pointer &grp) | |
bool | process (const record::pointer &rp) |
bool | check_home (const record::pointer &rp) |
colon_passwd_slurp_check () | |
colon_passwd_slurp_check (const colon_passwd_slurp_check &) | |
colon_passwd_slurp_check & | operator= (const colon_passwd_slurp_check &) |
Private Attributes | |
colon_group_slurp::pointer | group |
The colon_passwd_slurp_check class is used to process the passwd file records, filing each away for later checks.
This checks the file for inter-row validity, and also validates the rows agains the group file (loaded previosly).
typedef boost::shared_ptr<colon_passwd_slurp_check> colon_passwd_slurp_check::pointer |
Reimplemented from colon_passwd_slurp.
colon_passwd_slurp_check::~colon_passwd_slurp_check | ( | ) | [virtual] |
colon_passwd_slurp_check::colon_passwd_slurp_check | ( | const rcstring & | filename, |
const colon_group_slurp::pointer & | grp | ||
) | [private] |
colon_passwd_slurp_check::colon_passwd_slurp_check | ( | ) | [private] |
The default constructor. Do not use.
colon_passwd_slurp_check::colon_passwd_slurp_check | ( | const colon_passwd_slurp_check & | ) | [private] |
The copy constructor. Do not use.
bool colon_passwd_slurp_check::check_home | ( | const record::pointer & | rp | ) | [private] |
colon_passwd_slurp_check::pointer colon_passwd_slurp_check::create | ( | const rcstring & | filename, |
const colon_group_slurp::pointer & | grp | ||
) | [static] |
colon_passwd_slurp_check& colon_passwd_slurp_check::operator= | ( | const colon_passwd_slurp_check & | ) | [private] |
The assignment operator. Do not use.
bool colon_passwd_slurp_check::process | ( | const record::pointer & | rp | ) | [private, virtual] |
The process method use used to process each record, verifying against the group information and previous passwd records.
Reimplemented from colon_passwd_slurp.