Public Types |
typedef boost::shared_ptr< record > | pointer |
typedef std::vector< rcstring > | groups_t |
Public Member Functions |
| ~record () |
const source_location & | get_source_location (void) const |
rcstring | get_name (void) const |
rcstring | get_password (void) const |
rcstring | get_uid (void) const |
long | get_uid_binary (void) const |
rcstring | get_gid (void) const |
long | get_gid_binary (void) const |
rcstring | get_gecos (void) const |
rcstring | get_home (void) const |
rcstring | get_shell (void) const |
rcstring | representation (void) const |
const groups_t & | get_groups (void) const |
void | append_group (const rcstring &gid) |
Static Public Member Functions |
static pointer | create (const source_location &locn, const rcstring &name, const rcstring &passwd, const rcstring &uid, const rcstring &gid, const rcstring &gecos, const rcstring &home, const rcstring &shell) |
Private Member Functions |
| record (const source_location &locn, const rcstring &name, const rcstring &passwd, const rcstring &uid, const rcstring &gid, const rcstring &gecos, const rcstring &home, const rcstring &shell) |
| record () |
| record (const record &rhs) |
record & | operator= (const record &rhs) |
Private Attributes |
source_location | locn |
rcstring | name |
rcstring | password |
rcstring | uid |
rcstring | gid |
rcstring | gecos |
rcstring | home |
rcstring | shell |
groups_t | groups |
The record class is used to represent a passwd file entry. Pointers to values of this type are returned by the get method.
Definition at line 54 of file passwd.h.