nis-util
1.0.D108
|
#include <auto_master.h>
Public Types | |
typedef boost::shared_ptr < space_auto_master > | pointer |
Public Member Functions | |
virtual | ~space_auto_master () |
void | insert (const space_auto_master_row::pointer &rp) |
void | print (void) const |
void | print (const rcstring &filename) const |
int | yak_lex (void) |
const source_location & | yak_location (void) const |
void | read_and_process (void) |
void | walk (space_auto_master_functor &func) |
Static Public Member Functions | |
static pointer | create (const rcstring &filename) |
static void | grammar_debug (void) |
Private Types | |
typedef std::list < space_auto_master_row::pointer > | content_t |
Private Member Functions | |
space_auto_master (const rcstring &filename) | |
space_auto_master (const space_auto_master &rhs) | |
space_auto_master & | operator= (const space_auto_master &rhs) |
Private Attributes | |
content_t | content |
The space_auto_master class is used to represent the pocessing required to read an /etc/auto.master file.
Definition at line 34 of file auto_master.h.
typedef std::list<space_auto_master_row::pointer> space_auto_master::content_t [private] |
Definition at line 108 of file auto_master.h.
typedef boost::shared_ptr<space_auto_master> space_auto_master::pointer |
Definition at line 38 of file auto_master.h.
space_auto_master::~space_auto_master | ( | ) | [virtual] |
The destructor.
Definition at line 24 of file auto_master.cc.
space_auto_master::space_auto_master | ( | const rcstring & | filename | ) | [private] |
The constructor. Do not use.
Definition at line 29 of file auto_master.cc.
space_auto_master::space_auto_master | ( | const space_auto_master & | rhs | ) | [private] |
The copy constructor. Do not use.
rhs | The right hand side of the initialization. |
space_auto_master::pointer space_auto_master::create | ( | const rcstring & | filename | ) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
Definition at line 39 of file auto_master.cc.
static void space_auto_master::grammar_debug | ( | void | ) | [static] |
The grammar_debug class method is used to turn on grammar (yacc) debug messages. Usually only of interest to developers.
void space_auto_master::insert | ( | const space_auto_master_row::pointer & | rp | ) |
The fubar method is used to
Definition at line 72 of file auto_master.cc.
space_auto_master& space_auto_master::operator= | ( | const space_auto_master & | rhs | ) | [private] |
The assignment operator. Do not use.
rhs | The right hand side of the assignment. |
void space_auto_master::print | ( | void | ) | const |
The fubar method is used to
Definition at line 46 of file auto_master.cc.
void space_auto_master::print | ( | const rcstring & | filename | ) | const |
The fubar method is used to
Definition at line 54 of file auto_master.cc.
void space_auto_master::read_and_process | ( | void | ) |
The fubar method is used to
void space_auto_master::walk | ( | space_auto_master_functor & | func | ) |
The walk method is used to visit each of the rows on the etc/auto.master file, for an abstract purpose.
func | The function to be called for each row. |
Definition at line 79 of file auto_master.cc.
int space_auto_master::yak_lex | ( | void | ) |
The fubar method is used to
const source_location& space_auto_master::yak_location | ( | void | ) | const [inline] |
content_t space_auto_master::content [private] |
The content instance variable is used to remember the ordered list of row (entries) in the etc/auto.master file.
Definition at line 114 of file auto_master.h.