nis-util
1.0.D108
|
#include <compound.h>
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_compound & | operator= (const space_automap_row_compound &rhs) |
Private Attributes | |
parts_t | parts |
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.
typedef std::list<space_automap_row::pointer> space_automap_row_compound::parts_t |
Definition at line 39 of file compound.h.
typedef boost::shared_ptr<space_automap_row_compound> space_automap_row_compound::pointer |
Reimplemented from space_automap_row.
Definition at line 32 of file compound.h.
space_automap_row_compound::~space_automap_row_compound | ( | ) | [virtual] |
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.
space_automap_row_compound::space_automap_row_compound | ( | ) | [private] |
The default constructor. Do not use.
space_automap_row_compound::space_automap_row_compound | ( | const space_automap_row_compound & | rhs | ) | [private] |
The copy constructor. Do not use.
rhs | The right hand side of the initialization. |
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.
rhs | The 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.
op | The 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.
stem | The 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.
parts_t space_automap_row_compound::parts [private] |
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.