nis-util
1.0.D108
|
#include <hosts.h>
Public Types | |
typedef boost::shared_ptr < space_auto_master_row_hosts > | pointer |
Public Member Functions | |
virtual | ~space_auto_master_row_hosts () |
Static Public Member Functions | |
static pointer | create (const mount_point &key, 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) |
Private Member Functions | |
space_auto_master_row_hosts (const mount_point &key, const rcstring &options) | |
space_auto_master_row_hosts () | |
space_auto_master_row_hosts (const space_auto_master_row_hosts &rhs) | |
space_auto_master_row_hosts & | operator= (const space_auto_master_row_hosts &rhs) |
The space_auto_master_row_hosts class is used to represent a host map mount in an etc/auto.master file.
typedef boost::shared_ptr<space_auto_master_row_hosts> space_auto_master_row_hosts::pointer |
Reimplemented from space_auto_master_row.
space_auto_master_row_hosts::space_auto_master_row_hosts | ( | const mount_point & | key, |
const rcstring & | options | ||
) | [private] |
space_auto_master_row_hosts::space_auto_master_row_hosts | ( | ) | [private] |
The default constructor. Do not use.
space_auto_master_row_hosts::space_auto_master_row_hosts | ( | const space_auto_master_row_hosts & | rhs | ) | [private] |
The copy constructor. Do not use.
rhs | The right hand side of the initialization. |
space_auto_master_row_hosts::pointer space_auto_master_row_hosts::create | ( | const mount_point & | key, |
const rcstring & | options | ||
) | [static] |
void space_auto_master_row_hosts::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_hosts& space_auto_master_row_hosts::operator= | ( | const space_auto_master_row_hosts & | rhs | ) | [private] |
The assignment operator. Do not use.
rhs | The right hand side of the assignment. |
void space_auto_master_row_hosts::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.