nis-util
1.0.D108
|
#include <netid.h>
Public Types | |
typedef boost::shared_ptr< record > | pointer |
typedef std::vector< rcstring > | gids_t |
Public Member Functions | |
~record () | |
const source_location & | get_source_location (void) const |
rcstring | get_uid1 (void) const |
rcstring | get_domain (void) const |
rcstring | get_uid2 (void) const |
const gids_t & | get_gids (void) const |
bool | is_host_kind (void) const |
rcstring | name (void) const |
rcstring | representation (void) const |
void | append (const rcstring &gid) |
Static Public Member Functions | |
static pointer | create (const source_location &locn, const rcstring &uid1, const rcstring &domain, const rcstring &uid2, const gids_t &gids) |
Private Member Functions | |
record (const source_location &locn, const rcstring &uid1, const rcstring &domain, const rcstring &uid2, const gids_t &gids) | |
record () | |
record (const record &rhs) | |
record & | operator= (const record &rhs) |
Private Attributes | |
source_location | locn |
rcstring | uid1 |
rcstring | domain |
rcstring | uid2 |
gids_t | gids |
The record class is used to represent one record from the netid file. Values of this type are returned by the get method.
typedef std::vector<rcstring> space_netid::record::gids_t |
typedef boost::shared_ptr<record> space_netid::record::pointer |
space_netid::record::record | ( | const source_location & | locn, |
const rcstring & | uid1, | ||
const rcstring & | domain, | ||
const rcstring & | uid2, | ||
const gids_t & | gids | ||
) | [private] |
space_netid::record::record | ( | ) | [private] |
The default constructor. Do not use.
space_netid::record::record | ( | const record & | rhs | ) | [private] |
The copy constructor. Do not use.
void space_netid::record::append | ( | const rcstring & | gid | ) |
space_netid::record::pointer space_netid::record::create | ( | const source_location & | locn, |
const rcstring & | uid1, | ||
const rcstring & | domain, | ||
const rcstring & | uid2, | ||
const gids_t & | gids | ||
) | [static] |
rcstring space_netid::record::get_domain | ( | void | ) | const [inline] |
const gids_t& space_netid::record::get_gids | ( | void | ) | const [inline] |
const source_location& space_netid::record::get_source_location | ( | void | ) | const [inline] |
rcstring space_netid::record::get_uid1 | ( | void | ) | const [inline] |
rcstring space_netid::record::get_uid2 | ( | void | ) | const [inline] |
bool space_netid::record::is_host_kind | ( | void | ) | const |
rcstring space_netid::record::name | ( | void | ) | const |
The assignment operator. Do not use.
rcstring space_netid::record::representation | ( | void | ) | const |
rcstring space_netid::record::domain [private] |
gids_t space_netid::record::gids [private] |
source_location space_netid::record::locn [private] |
rcstring space_netid::record::uid1 [private] |
rcstring space_netid::record::uid2 [private] |