nis-util  1.0.D108
Public Member Functions | Private Member Functions | Private Attributes
colon_passwd_functor_check_group_count Class Reference

#include <check_group_count.h>

Inheritance diagram for colon_passwd_functor_check_group_count:

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_countoperator= (const colon_passwd_functor_check_group_count &)

Private Attributes

unsigned max
int error_count

Detailed Description

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.

Constructor & Destructor Documentation

The destructor.

Definition at line 26 of file

The constructor.

Definition at line 40 of file

The default constructor. Do not use.

The copy constructor. Do not use.

Member Function Documentation

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.

rppointer to the password record to be processed

Implements colon_passwd_functor.

Definition at line 50 of file

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.

Field Documentation

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.

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.

The documentation for this class was generated from the following files: