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

#include <compound.h>

Inheritance diagram for space_automap_row_compound:
space_automap_row

Public Types

typedef boost::shared_ptr
< space_automap_row_compound
pointer
typedef std::list
< space_automap_row::pointer
parts_t

Public Member Functions

virtual ~space_automap_row_compound ()

Static Public Member Functions

static pointer create (const mount_point &a_mount_point, const rcstring &a_options, const parts_t &parts)

Protected Member Functions

void print (const output_pointer &op) const
space_automap_row::pointer repath (const mount_point &stem) const
void space_automap_insert_sub (space_automap *sap) const

Private Member Functions

 space_automap_row_compound (const mount_point &a_mount_point, const rcstring &a_options, const parts_t &parts)
 space_automap_row_compound ()
 space_automap_row_compound (const space_automap_row_compound &rhs)
space_automap_row_compoundoperator= (const space_automap_row_compound &rhs)

Private Attributes

parts_t parts

Detailed Description

The space_automap_row_compound class is used to represent a SunOS or Solaris automap row that has sub mount points.

Definition at line 28 of file compound.h.


Member Typedef Documentation

Definition at line 39 of file compound.h.

Reimplemented from space_automap_row.

Definition at line 32 of file compound.h.


Constructor & Destructor Documentation

The destructor.

Definition at line 25 of file compound.cc.

space_automap_row_compound::space_automap_row_compound ( const mount_point a_mount_point,
const rcstring a_options,
const parts_t parts 
) [private]

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

Definition at line 30 of file compound.cc.

The default constructor. Do not use.

The copy constructor. Do not use.

Parameters:
rhsThe right hand side of the initialization.

Member Function Documentation

space_automap_row_compound::pointer space_automap_row_compound::create ( const mount_point a_mount_point,
const rcstring a_options,
const parts_t parts 
) [static]

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

Definition at line 42 of file compound.cc.

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

The assignment operator. Do not use.

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

The print method may be used to print a representation of this object instance.

Parameters:
opThe file on which to print.

Implements space_automap_row.

Definition at line 50 of file compound.cc.

space_automap_row::pointer space_automap_row_compound::repath ( const mount_point stem) const [protected, virtual]

The repath method is used to add a directory prefix to the mount point.

Parameters:
stemThe directory root for the sub mounts.

Implements space_automap_row.

Definition at line 97 of file compound.cc.

void space_automap_row_compound::space_automap_insert_sub ( space_automap sap) const [protected, virtual]

The space_automap_insert_sub is used to call amp->insert_sub for each row and subrow.

Reimplemented from space_automap_row.

Definition at line 83 of file compound.cc.


Field Documentation

The paths instance variable is used to remember all of the internal sub-mount-points of this row.

Definition at line 70 of file compound.h.


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