nis-util
1.0.D108
|
#include <check_group_count.h>
Public Member Functions | |
virtual | ~colon_passwd_functor_check_group_count () |
colon_passwd_functor_check_group_count (unsigned max) | |
void | operator() (const colon_passwd::record::pointer &p) |
Private Member Functions | |
colon_passwd_functor_check_group_count () | |
colon_passwd_functor_check_group_count (const colon_passwd_functor_check_group_count &) | |
colon_passwd_functor_check_group_count & | operator= (const colon_passwd_functor_check_group_count &) |
Private Attributes | |
unsigned | max |
int | error_count |
The colon_passwd_functor_check_group_count class is used to represent the processing required to confirm that each user does not exceed the maximum group count.
Definition at line 29 of file check_group_count.h.
The destructor.
Definition at line 26 of file check_group_count.cc.
The constructor.
Definition at line 40 of file check_group_count.cc.
The default constructor. Do not use.
colon_passwd_functor_check_group_count::colon_passwd_functor_check_group_count | ( | const colon_passwd_functor_check_group_count & | ) | [private] |
The copy constructor. Do not use.
void colon_passwd_functor_check_group_count::operator() | ( | const colon_passwd::record::pointer & | rp | ) | [virtual] |
The operation to be applied. It looks like a function call, that's why it's called a functor.
rp | pointer to the password record to be processed |
Implements colon_passwd_functor.
Definition at line 50 of file check_group_count.cc.
colon_passwd_functor_check_group_count& colon_passwd_functor_check_group_count::operator= | ( | const colon_passwd_functor_check_group_count & | ) | [private] |
The assignment operator. Do not use.
int colon_passwd_functor_check_group_count::error_count [private] |
The error_count instance variable is used to remember the number of errors seen to date.
Definition at line 57 of file check_group_count.h.
unsigned colon_passwd_functor_check_group_count::max [private] |
The max instance variable is used toi remember the maximum acceptable group count for any one user.
Definition at line 51 of file check_group_count.h.