| nis-util
    1.0.D108
    | 
#include <normal.h>
 
  
 | Public Types | |
| typedef boost::shared_ptr < space_auto_master_row_normal > | pointer | 
| Public Member Functions | |
| virtual | ~space_auto_master_row_normal () | 
| Static Public Member Functions | |
| static pointer | create (const mount_point &key, const rcstring &map_name, const rcstring &options) | 
| Protected Member Functions | |
| void | print (const output_pointer &op) const | 
| void | load_map (const rcstring &filename, const space_hosts_slurp::pointer &hosts) | 
| rcstring | get_filename (void) const | 
| bool | has_associated_file (void) const | 
| Private Member Functions | |
| space_auto_master_row_normal (const mount_point &key, const rcstring &filename, const rcstring &options) | |
| space_auto_master_row_normal () | |
| space_auto_master_row_normal (const space_auto_master_row_normal &rhs) | |
| space_auto_master_row_normal & | operator= (const space_auto_master_row_normal &rhs) | 
| Private Attributes | |
| rcstring | maptype | 
| rcstring | mapname | 
| space_automap::pointer | map | 
The space_auto_master_row_normal class is used to represent a normal auto_mount row, which nominates a map name as the second argument.
| typedef boost::shared_ptr<space_auto_master_row_normal> space_auto_master_row_normal::pointer | 
Reimplemented from space_auto_master_row.
| space_auto_master_row_normal::space_auto_master_row_normal | ( | const mount_point & | key, | 
| const rcstring & | filename, | ||
| const rcstring & | options | ||
| ) |  [private] | 
The default constructor. It is private on purpose, use the create class method instead.
| key | where to mount this map in the file system (It is also the database key for this row of the NIS map.) | 
| filename | The name of the file containing the map. | 
| options | any options associated with this row | 
The default constructor. Do not use.
| space_auto_master_row_normal::space_auto_master_row_normal | ( | const space_auto_master_row_normal & | rhs | ) |  [private] | 
The copy constructor. Do not use.
| rhs | The right hand side of the initialization. | 
| space_auto_master_row_normal::pointer space_auto_master_row_normal::create | ( | const mount_point & | key, | 
| const rcstring & | map_name, | ||
| const rcstring & | options | ||
| ) |  [static] | 
The create class method is used to create new dynamically allocated instances of this class.
| key | where to mount this map in the file system (It is also the database key for this row of the NIS map.) | 
| map_name | The name of the file containing the map. | 
| options | any options associated with this row | 
| rcstring space_auto_master_row_normal::get_filename | ( | void | ) | const  [protected, virtual] | 
The get_filename method is used to obtain the filename of the text file containing the map.
Reimplemented from space_auto_master_row.
| bool space_auto_master_row_normal::has_associated_file | ( | void | ) | const  [protected, virtual] | 
The has_associated_file method is used to determine whether or not a row has a map file associated with it.
Reimplemented from space_auto_master_row.
| void space_auto_master_row_normal::load_map | ( | const rcstring & | filename, | 
| const space_hosts_slurp::pointer & | hosts | ||
| ) |  [protected, virtual] | 
The load_map method is used to load the map corresponding to this row of the table.
| filename | The name of the file to read from. | 
| hosts | If non-NULL, the hosts map to validate against. | 
Implements space_auto_master_row.
| space_auto_master_row_normal& space_auto_master_row_normal::operator= | ( | const space_auto_master_row_normal & | rhs | ) |  [private] | 
The assignment operator. Do not use.
| rhs | The right hand side of the assignment. | 
| void space_auto_master_row_normal::print | ( | const output_pointer & | op | ) | const  [protected, virtual] | 
The print method is used to print a representation of the etc/auto.master row on the given output stream.
Implements space_auto_master_row.
 1.7.6.1
 1.7.6.1