nis-util
1.0.D108
|
#include <mount_point.h>
Public Member Functions | |
~mount_point () | |
mount_point (const rcstring &path, const source_location &locn) | |
mount_point (const mount_point &rhs) | |
mount_point & | operator= (const mount_point &rhs) |
rcstring | get_mount_point (void) const |
const source_location & | get_source_location (void) const |
mount_point | operator+ (const mount_point &rhs) const |
bool | is_absolute (void) const |
Private Member Functions | |
mount_point () | |
Private Attributes | |
rcstring | path |
source_location | locn |
The mount_point class is used to represent a mount point parsed from a source file.
Definition at line 28 of file mount_point.h.
The destructor. It is not virtual, thou shalt not derive from this class.
Definition at line 24 of file mount_point.cc.
mount_point::mount_point | ( | const rcstring & | path, |
const source_location & | locn | ||
) |
The constructor.
path | The position withing the file system to mount a file system |
locn | The location of the mount point within the text of the source mount map. |
Definition at line 29 of file mount_point.cc.
mount_point::mount_point | ( | const mount_point & | rhs | ) |
The copy constructor.
rhs | The right hand side of the initialization. |
Definition at line 39 of file mount_point.cc.
mount_point::mount_point | ( | ) | [private] |
The default constructor. Do not use.
rcstring mount_point::get_mount_point | ( | void | ) | const [inline] |
The get_mount_point method may be used to obtain the position withing the file system to mount a file system
Definition at line 68 of file mount_point.h.
const source_location& mount_point::get_source_location | ( | void | ) | const [inline] |
The get_source_location method may be used to obtain the location of the mount point within the text of the source mount map.
Definition at line 75 of file mount_point.h.
bool mount_point::is_absolute | ( | void | ) | const |
The is_absolute method is used to determine whether or not this mount point is relative (does not start with '/') or absolute (starts with '/').
Definition at line 68 of file mount_point.cc.
mount_point mount_point::operator+ | ( | const mount_point & | rhs | ) | const |
The addition operator may be used to glue two mount points together, as is sometimes required for complex automap rows.
Definition at line 59 of file mount_point.cc.
mount_point & mount_point::operator= | ( | const mount_point & | rhs | ) |
The assignment operator.
rhs | The right hand side of the assignment. |
Definition at line 47 of file mount_point.cc.
source_location mount_point::locn [private] |
The locn instance variable is used to remember the location of the mount point within the text of the source mount map.
Definition at line 101 of file mount_point.h.
rcstring mount_point::path [private] |
The path instance variable is used to remember the position within the file system to mount a file system.
Definition at line 95 of file mount_point.h.