nis-util  1.0.D108
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
space_netmasks_slurp_check Class Reference

#include <check.h>

Inheritance diagram for space_netmasks_slurp_check:
space_netmasks_slurp space_netmasks space

Public Member Functions

virtual ~space_netmasks_slurp_check ()

Static Public Member Functions

static pointer create (const rcstring &filename, const space_networks_slurp::pointer &arg)

Protected Member Functions

void process (const record::pointer &rp)

Private Member Functions

 space_netmasks_slurp_check (const rcstring &filename, const space_networks_slurp::pointer &arg)
 space_netmasks_slurp_check ()
 space_netmasks_slurp_check (const space_netmasks_slurp_check &)
space_netmasks_slurp_checkoperator= (const space_netmasks_slurp_check &)

Private Attributes

space_networks_slurp::pointer networks

Detailed Description

The space_netmasks_slurp_check class is used to read a check netmasks files.

Definition at line 29 of file check.h.


Constructor & Destructor Documentation

The destructor.

Definition at line 29 of file check.cc.

The constructor. It is private on purpose, use the create class method instead.

Parameters:
filenameThe file to be read.
argThe networks name map to validate against.

Definition at line 34 of file check.cc.

The default constructor. Do not use.

The copy constructor. Do not use.


Member Function Documentation

The create class method is used to create new dynamically allocated instance of this class.

Parameters:
filenameThe file to be read.
argThe networks name map to validate against.

Definition at line 46 of file check.cc.

space_netmasks_slurp_check& space_netmasks_slurp_check::operator= ( const space_netmasks_slurp_check ) [private]

The assignment operator. Do not use.

void space_netmasks_slurp_check::process ( const record::pointer rp) [protected, virtual]

The process method is called by the read_and_process method to process each record in the file.

Parameters:
rpThe row to be processed.

Reimplemented from space_netmasks_slurp.

Definition at line 54 of file check.cc.


Field Documentation

The networks instance variable is used to remember the networks file used to validate the netmasks against.

Definition at line 71 of file check.h.


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