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