nis-util
1.0.D108
|
#include <ethers.h>
Public Types | |
typedef boost::shared_ptr< record > | pointer |
Public Member Functions | |
~record () | |
rcstring | representation (void) const |
bool | operator< (const record &rhs) const |
bool | operator<= (const record &rhs) const |
bool | operator> (const record &rhs) const |
bool | operator>= (const record &rhs) const |
const source_location & | get_source_location (void) const |
rcstring | get_mac_address (void) const |
rcstring | get_name (void) const |
rcstring | get_ip_address (void) const |
Static Public Member Functions | |
static pointer | create (const source_location &locn, const rcstring &mac_address, const rcstring &name, const rcstring &ip_address) |
Private Member Functions | |
record (const source_location &locn, const rcstring &mac_address, const rcstring &name, const rcstring &ip_address) | |
int | compare (const record &rhs) const |
Private Attributes | |
source_location | locn |
rcstring | mac_address |
rcstring | name |
ether_addr | mac_address_binary |
rcstring | ip_address |
The record class is used to represent one record from the ethers file. Values of this type are returned by the get method.
typedef boost::shared_ptr<record> space_ethers::record::pointer |
space_ethers::record::record | ( | const source_location & | locn, |
const rcstring & | mac_address, | ||
const rcstring & | name, | ||
const rcstring & | ip_address | ||
) | [private] |
int space_ethers::record::compare | ( | const record & | rhs | ) | const [private] |
space_ethers::record::pointer space_ethers::record::create | ( | const source_location & | locn, |
const rcstring & | mac_address, | ||
const rcstring & | name, | ||
const rcstring & | ip_address | ||
) | [static] |
rcstring space_ethers::record::get_ip_address | ( | void | ) | const [inline] |
rcstring space_ethers::record::get_mac_address | ( | void | ) | const [inline] |
rcstring space_ethers::record::get_name | ( | void | ) | const [inline] |
const source_location& space_ethers::record::get_source_location | ( | void | ) | const [inline] |
bool space_ethers::record::operator< | ( | const record & | rhs | ) | const |
bool space_ethers::record::operator<= | ( | const record & | rhs | ) | const |
bool space_ethers::record::operator> | ( | const record & | rhs | ) | const |
bool space_ethers::record::operator>= | ( | const record & | rhs | ) | const |
rcstring space_ethers::record::representation | ( | void | ) | const |
rcstring space_ethers::record::ip_address [private] |
source_location space_ethers::record::locn [private] |
rcstring space_ethers::record::mac_address [private] |
ether_addr space_ethers::record::mac_address_binary [private] |
rcstring space_ethers::record::name [private] |