nis-util
1.0.D108
|
#include <slurp.h>
Public Types | |
typedef boost::shared_ptr < space_services_slurp > | pointer |
Public Member Functions | |
virtual | ~space_services_slurp () |
void | read_and_process (void) |
record::pointer | query_by_name (const rcstring &name) |
Static Public Member Functions | |
static pointer | create (const rcstring &filename, const space_protocols_slurp::pointer &protocols) |
Private Types | |
typedef std::map< rcstring, record::pointer > | by_name_t |
typedef std::map< rcstring, record::pointer > | by_number_t |
Private Member Functions | |
space_services_slurp (const rcstring &filename, const space_protocols_slurp::pointer &protocols) | |
void | process (const record::pointer &rp) |
space_services_slurp () | |
space_services_slurp (const space_services_slurp &) | |
space_services_slurp & | operator= (const space_services_slurp &) |
Private Attributes | |
space_protocols_slurp::pointer | protocols |
by_name_t | by_name |
by_number_t | by_number |
The space_services_slurp class is used to process the services file records, filing each away for later checks. This checks the file for inter-row validity.
typedef std::map<rcstring, record::pointer> space_services_slurp::by_name_t [private] |
typedef std::map<rcstring, record::pointer> space_services_slurp::by_number_t [private] |
typedef boost::shared_ptr<space_services_slurp> space_services_slurp::pointer |
Reimplemented from space_services.
space_services_slurp::~space_services_slurp | ( | ) | [virtual] |
space_services_slurp::space_services_slurp | ( | const rcstring & | filename, |
const space_protocols_slurp::pointer & | protocols | ||
) | [private] |
space_services_slurp::space_services_slurp | ( | ) | [private] |
The default constructor. Do not use.
space_services_slurp::space_services_slurp | ( | const space_services_slurp & | ) | [private] |
The copy constructor. Do not use.
space_services_slurp::pointer space_services_slurp::create | ( | const rcstring & | filename, |
const space_protocols_slurp::pointer & | protocols | ||
) | [static] |
space_services_slurp& space_services_slurp::operator= | ( | const space_services_slurp & | ) | [private] |
The assignment operator. Do not use.
void space_services_slurp::process | ( | const record::pointer & | rp | ) | [private] |
record::pointer space_services_slurp::query_by_name | ( | const rcstring & | name | ) |
The query_by_name method is used to lookup a service by name.
name | The name to search for (including aliases) |
void space_services_slurp::read_and_process | ( | void | ) |
by_name_t space_services_slurp::by_name [private] |
by_number_t space_services_slurp::by_number [private] |