nis-util
1.0.D108
|
#include <row.h>
Public Types | |
typedef boost::shared_ptr < space_automap_row > | pointer |
typedef boost::shared_ptr< output > | output_pointer |
Public Member Functions | |
virtual | ~space_automap_row () |
virtual void | print (const output_pointer &op) const =0 |
const mount_point & | get_mount_point (void) const |
rcstring | get_options (void) const |
virtual void | space_automap_insert_sub (space_automap *sap) const |
virtual pointer | repath (const mount_point &stem) const =0 |
Static Public Member Functions | |
static void | option_verify (const rcstring &name, const rcstring &value, space *context) |
static void | options_verify (const rcstring &text, space *context) |
Protected Member Functions | |
space_automap_row (const mount_point &key, const rcstring &options) | |
Private Member Functions | |
space_automap_row () | |
space_automap_row (const space_automap_row &rhs) | |
space_automap_row & | operator= (const space_automap_row &rhs) |
Private Attributes | |
mount_point | key |
rcstring | options |
The space_automap_row class is used to represent a single row of an automap table. This is an abstract inferface, because the row may be simple (the commonest case) or complex (see on SunOS and Solaris systems).
typedef boost::shared_ptr<output> space_automap_row::output_pointer |
typedef boost::shared_ptr<space_automap_row> space_automap_row::pointer |
Reimplemented in space_automap_row_compound, and space_automap_row_simple.
space_automap_row::~space_automap_row | ( | ) | [virtual] |
space_automap_row::space_automap_row | ( | const mount_point & | key, |
const rcstring & | options | ||
) | [protected] |
space_automap_row::space_automap_row | ( | ) | [private] |
The default constructor. Do not use.
space_automap_row::space_automap_row | ( | const space_automap_row & | rhs | ) | [private] |
The copy constructor. Do not use.
rhs | The right hand side of the initialization. |
const mount_point& space_automap_row::get_mount_point | ( | void | ) | const [inline] |
rcstring space_automap_row::get_options | ( | void | ) | const [inline] |
space_automap_row& space_automap_row::operator= | ( | const space_automap_row & | rhs | ) | [private] |
The assignment operator. Do not use.
rhs | The right hand side of the assignment. |
void space_automap_row::option_verify | ( | const rcstring & | name, |
const rcstring & | value, | ||
space * | context | ||
) | [static] |
void space_automap_row::options_verify | ( | const rcstring & | text, |
space * | context | ||
) | [static] |
virtual void space_automap_row::print | ( | const output_pointer & | op | ) | const [pure virtual] |
The print method may be used to print a representation of this object instance.
op | The file on which to print. |
Implemented in space_automap_row_simple, and space_automap_row_compound.
virtual pointer space_automap_row::repath | ( | const mount_point & | stem | ) | const [pure virtual] |
The repath method is used to add a directory prefix to the mount point.
stem | The directory root for the sub mounts. |
Implemented in space_automap_row_simple, and space_automap_row_compound.
void space_automap_row::space_automap_insert_sub | ( | space_automap * | sap | ) | const [virtual] |
The space_automap_insert_sub is used to call amp->insert_sub for each row and subrow.
Reimplemented in space_automap_row_compound.
mount_point space_automap_row::key [private] |
rcstring space_automap_row::options [private] |