nis-util
1.0.D108
|
#include <netgroup.h>
Public Types | |
typedef boost::shared_ptr< record > | pointer |
typedef std::vector< entry_t > | members_t |
Public Member Functions | |
~record () | |
rcstring | representation (void) const |
const source_location & | get_source_location (void) const |
rcstring | get_name (void) const |
const members_t & | get_members (void) const |
Static Public Member Functions | |
static pointer | create (const source_location &locn, const rcstring &name, const members_t &members) |
Private Member Functions | |
record (const source_location &locn, const rcstring &name, const members_t &members) | |
record () | |
record (const record &rhs) | |
record & | operator= (const record &rhs) |
Private Attributes | |
source_location | locn |
rcstring | name |
members_t | members |
The record class is used to remember a netgroup record.
Definition at line 149 of file netgroup.h.
typedef std::vector<entry_t> space_netgroup::record::members_t |
Definition at line 156 of file netgroup.h.
typedef boost::shared_ptr<record> space_netgroup::record::pointer |
Definition at line 152 of file netgroup.h.
Definition at line 293 of file netgroup.cc.
space_netgroup::record::record | ( | const source_location & | locn, |
const rcstring & | name, | ||
const members_t & | members | ||
) | [private] |
The constructor. It is private on purpose, use the create class method instead.
locn | where in the source code this record appears. |
name | the name of the netgroup. |
members | the members of the netgroup. |
Definition at line 298 of file netgroup.cc.
space_netgroup::record::record | ( | ) | [private] |
The default constructor. Do not use.
space_netgroup::record::record | ( | const record & | rhs | ) | [private] |
The copy constructor. Do not use.
space_netgroup::record::pointer space_netgroup::record::create | ( | const source_location & | locn, |
const rcstring & | name, | ||
const members_t & | members | ||
) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
locn | where in the source code this record appears. |
name | the name of the netgroup. |
members | the members of the netgroup. |
Definition at line 311 of file netgroup.cc.
const members_t& space_netgroup::record::get_members | ( | void | ) | const [inline] |
Definition at line 182 of file netgroup.h.
rcstring space_netgroup::record::get_name | ( | void | ) | const [inline] |
Definition at line 181 of file netgroup.h.
const source_location& space_netgroup::record::get_source_location | ( | void | ) | const [inline] |
Definition at line 180 of file netgroup.h.
The assignment operator. Do not use.
rcstring space_netgroup::record::representation | ( | void | ) | const |
The representation method is used to generate a string which represents the record, suitable for inserting into a netgroup file or netgroup map. (There is no newline on the end.)
Definition at line 319 of file netgroup.cc.
source_location space_netgroup::record::locn [private] |
The locn instance variable is used to remember where in the source code this record appears.
Definition at line 203 of file netgroup.h.
members_t space_netgroup::record::members [private] |
The members instance variable is used to remember the members of the netgroup.
Definition at line 215 of file netgroup.h.
rcstring space_netgroup::record::name [private] |
The name instance variable is used to remember the name of the netgroup.
Definition at line 209 of file netgroup.h.