nis-util  1.0.D108
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
space_auto_master_row_adapter Class Reference

#include <adapter.h>

Inheritance diagram for space_auto_master_row_adapter:
space_auto_master_row

Public Types

typedef boost::shared_ptr
< space_auto_master_row_adapter
pointer

Public Member Functions

virtual ~space_auto_master_row_adapter ()

Static Public Member Functions

static pointer create (const mount_point &foreign_key)

Protected Member Functions

void print (const output_pointer &op) const
void load_map (const rcstring &filename, const space_hosts_slurp::pointer &hosts)

Private Member Functions

 space_auto_master_row_adapter (const mount_point &foreign_key)
 space_auto_master_row_adapter ()
 space_auto_master_row_adapter (const space_auto_master_row_adapter &rhs)
space_auto_master_row_adapteroperator= (const space_auto_master_row_adapter &rhs)

Detailed Description

The space_auto_master_row_adapter class is used to represent a reference to an automap row from within an etc/auto.master table, when checking for overlaps and other errors.

Definition at line 30 of file adapter.h.


Member Typedef Documentation

Reimplemented from space_auto_master_row.

Definition at line 34 of file adapter.h.


Constructor & Destructor Documentation

The destructor.

Definition at line 23 of file adapter.cc.

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

Definition at line 28 of file adapter.cc.

The default constructor. Do not use.

The copy constructor. Do not use.

Parameters:
rhsThe right hand side of the initialization.

Member Function Documentation

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

Definition at line 37 of file adapter.cc.

void space_auto_master_row_adapter::load_map ( const rcstring filename,
const space_hosts_slurp::pointer hosts 
) [protected, virtual]

The load_map method is used to load the map corresponding to this row of the table.

Parameters:
filenameThe name of the file to read from.
hostsIf non-NULL, the hosts map to validate against.

Implements space_auto_master_row.

Definition at line 51 of file adapter.cc.

space_auto_master_row_adapter& space_auto_master_row_adapter::operator= ( const space_auto_master_row_adapter rhs) [private]

The assignment operator. Do not use.

Parameters:
rhsThe right hand side of the assignment.
void space_auto_master_row_adapter::print ( const output_pointer op) const [protected, virtual]

The print method is used to print a representation of the etc/auto.master row on the given output stream.

Implements space_auto_master_row.

Definition at line 44 of file adapter.cc.


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