nis-util
1.0.D108
|
#include <group.h>
The record class is used to represent a group file entry. Values of this type are returned by the get method.
typedef std::vector<rcstring> colon_group::record::members_t |
typedef boost::shared_ptr<record> colon_group::record::pointer |
colon_group::record::record | ( | const source_location & | locn, |
const rcstring & | name, | ||
const rcstring & | password, | ||
const rcstring & | gid, | ||
const members_t & | members | ||
) | [private] |
The constructor. It is private on purpose, use the create class method instead.
locn | The source file location of this record. |
name | The name of the group. |
password | The password of the group. |
gid | The group ID of the group. |
members | The members (by user name) of the group. |
void colon_group::record::append_member | ( | const rcstring & | user_name | ) |
colon_group::record::pointer colon_group::record::create | ( | const source_location & | locn, |
const rcstring & | name, | ||
const rcstring & | password, | ||
const rcstring & | gid, | ||
const members_t & | members | ||
) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
locn | The source file location of this record. |
name | The name of the group. |
password | The password of the group. |
gid | The group ID of the group. |
members | The members (by user name) of the group. |
rcstring colon_group::record::get_gid | ( | void | ) | const [inline] |
long colon_group::record::get_gid_binary | ( | void | ) | const |
const members_t& colon_group::record::get_members | ( | void | ) | const [inline] |
rcstring colon_group::record::get_name | ( | void | ) | const [inline] |
rcstring colon_group::record::get_password | ( | void | ) | const [inline] |
const source_location& colon_group::record::get_source_location | ( | void | ) | const [inline] |
rcstring colon_group::record::get_use_instead | ( | void | ) | const [inline] |
bool colon_group::record::is_member | ( | const rcstring & | user_name | ) | const |
bool colon_group::record::is_members_only | ( | void | ) | const [inline] |
rcstring colon_group::record::representation | ( | void | ) | const |
rcstring colon_group::record::gid [private] |
source_location colon_group::record::locn [private] |
members_t colon_group::record::members [private] |
bool colon_group::record::members_only [private] |
rcstring colon_group::record::name [private] |
rcstring colon_group::record::password [private] |
rcstring colon_group::record::use_instead [private] |