nis-util
1.0.D108
|
#include <hosts.h>
Public Types | |
typedef boost::shared_ptr< record > | pointer |
typedef std::vector< rcstring > | names_t |
Public Member Functions | |
~record () | |
rcstring | representation () const |
const source_location & | get_source_location (void) const |
rcstring | get_ip_address (void) const |
const names_t & | get_names (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 |
Static Public Member Functions | |
static pointer | create (const source_location &locn, const rcstring &ip_address, const names_t &names) |
Private Member Functions | |
record (const source_location &locn, const rcstring &ip_address, const names_t &names) | |
Private Attributes | |
source_location | locn |
rcstring | ip_address |
names_t | names |
unsigned long | ip_address_binary |
The record class is used to represent one record from the hosts file. Values of this type are returned by the get method.
typedef std::vector<rcstring> space_hosts::record::names_t |
typedef boost::shared_ptr<record> space_hosts::record::pointer |
space_hosts::record::record | ( | const source_location & | locn, |
const rcstring & | ip_address, | ||
const names_t & | names | ||
) | [private] |
space_hosts::record::pointer space_hosts::record::create | ( | const source_location & | locn, |
const rcstring & | ip_address, | ||
const names_t & | names | ||
) | [static] |
rcstring space_hosts::record::get_ip_address | ( | void | ) | const [inline] |
const names_t& space_hosts::record::get_names | ( | void | ) | const [inline] |
const source_location& space_hosts::record::get_source_location | ( | void | ) | const [inline] |
bool space_hosts::record::operator< | ( | const record & | rhs | ) | const |
bool space_hosts::record::operator<= | ( | const record & | rhs | ) | const |
bool space_hosts::record::operator> | ( | const record & | rhs | ) | const |
bool space_hosts::record::operator>= | ( | const record & | rhs | ) | const |
rcstring space_hosts::record::representation | ( | void | ) | const |
rcstring space_hosts::record::ip_address [private] |
unsigned long space_hosts::record::ip_address_binary [private] |
source_location space_hosts::record::locn [private] |
names_t space_hosts::record::names [private] |