nis-util
1.0.D108
|
#include <simple.h>
Public Types | |
typedef boost::shared_ptr < space_automap_row_simple > | pointer |
typedef std::list< rcstring > | locations_t |
Public Member Functions | |
virtual | ~space_automap_row_simple () |
Static Public Member Functions | |
static pointer | create (const mount_point &where, const rcstring &options, const locations_t &locations) |
Protected Member Functions | |
void | print (const output_pointer &op) const |
space_automap_row::pointer | repath (const mount_point &stem) const |
Private Member Functions | |
space_automap_row_simple (const mount_point &mount_point, const rcstring &options, const locations_t &locations) | |
space_automap_row_simple () | |
space_automap_row_simple (const space_automap_row_simple &rhs) | |
space_automap_row_simple & | operator= (const space_automap_row_simple &rhs) |
Private Attributes | |
locations_t | locations |
The space_automap_row_simple class is used to represent a simple automap row where no sub-parts are given.
typedef std::list<rcstring> space_automap_row_simple::locations_t |
typedef boost::shared_ptr<space_automap_row_simple> space_automap_row_simple::pointer |
Reimplemented from space_automap_row.
space_automap_row_simple::~space_automap_row_simple | ( | ) | [virtual] |
space_automap_row_simple::space_automap_row_simple | ( | const mount_point & | mount_point, |
const rcstring & | options, | ||
const locations_t & | locations | ||
) | [private] |
The constructor. It is private on purpose, use the create class method instead.
mount_point | Where to mount the file system |
options | Mount options to apply when mounting file system. |
locations | Main and alternative NFS locations for sourcing the file system. |
space_automap_row_simple::space_automap_row_simple | ( | ) | [private] |
The default constructor. Do not use.
space_automap_row_simple::space_automap_row_simple | ( | const space_automap_row_simple & | rhs | ) | [private] |
The copy constructor. Do not use.
rhs | The right hand side of the initialization. |
space_automap_row_simple::pointer space_automap_row_simple::create | ( | const mount_point & | where, |
const rcstring & | options, | ||
const locations_t & | locations | ||
) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
where | Where to mount the file system |
options | Mount options to apply when mounting file system. |
locations | Main and alternative NFS locations for sourcing the file system. |
space_automap_row_simple& space_automap_row_simple::operator= | ( | const space_automap_row_simple & | rhs | ) | [private] |
The assignment operator. Do not use.
rhs | The right hand side of the assignment. |
void space_automap_row_simple::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.
space_automap_row::pointer space_automap_row_simple::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.