nis-util  1.0.D108
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes
space_auto_master Class Reference

#include <auto_master.h>

Inheritance diagram for space_auto_master:
space

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_locationyak_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_masteroperator= (const space_auto_master &rhs)

Private Attributes

content_t content

Detailed Description

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.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

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.

The copy constructor. Do not use.

Parameters:
rhsThe right hand side of the initialization.

Member Function Documentation

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.

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.

Parameters:
rhsThe 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.

The fubar method is used to

The walk method is used to visit each of the rows on the etc/auto.master file, for an abstract purpose.

Parameters:
funcThe function to be called for each row.

Definition at line 79 of file auto_master.cc.

The fubar method is used to

const source_location& space_auto_master::yak_location ( void  ) const [inline]

The fubar method is used to

Reimplemented from space.

Definition at line 75 of file auto_master.h.


Field Documentation

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.


The documentation for this class was generated from the following files: