GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "oct-group.h"
Public Member Functions | |
octave_group (void) | |
octave_group (const octave_group &gr) | |
gid_t | gid (void) const |
string_vector | mem (void) const |
std::string | name (void) const |
bool | ok (void) const |
operator bool () const | |
octave_group & | operator= (const octave_group &gr) |
std::string | passwd (void) const |
Static Public Member Functions | |
static int | endgrent (void) |
static int | endgrent (std::string &msg) |
static octave_group | getgrent (void) |
static octave_group | getgrent (std::string &msg) |
static octave_group | getgrgid (gid_t gid) |
static octave_group | getgrgid (gid_t gid, std::string &msg) |
static octave_group | getgrnam (const std::string &nm) |
static octave_group | getgrnam (const std::string &nm, std::string &msg) |
static int | setgrent (void) |
static int | setgrent (std::string &msg) |
Private Member Functions | |
octave_group (void *p, std::string &msg) | |
void | gripe_invalid (void) const |
Private Attributes | |
gid_t | gr_gid |
string_vector | gr_mem |
std::string | gr_name |
std::string | gr_passwd |
bool | valid |
Definition at line 32 of file oct-group.h.
|
inline |
Definition at line 38 of file oct-group.h.
Referenced by getgrent(), getgrgid(), and getgrnam().
|
inline |
Definition at line 42 of file oct-group.h.
|
private |
Definition at line 173 of file oct-group.cc.
References gr_gid, gr_mem, gr_name, gr_passwd, NOT_SUPPORTED, string_vector::resize(), and valid.
Definition at line 154 of file oct-group.cc.
Referenced by endgrent(), and Fendgrent().
|
static |
Definition at line 161 of file oct-group.cc.
References endgrent(), and NOT_SUPPORTED.
|
static |
Definition at line 77 of file oct-group.cc.
Referenced by Fgetgrent(), and getgrent().
|
static |
Definition at line 84 of file oct-group.cc.
References getgrent(), NOT_SUPPORTED, and octave_group().
|
static |
Definition at line 96 of file oct-group.cc.
Referenced by Fgetgrgid(), and getgrgid().
|
static |
Definition at line 103 of file oct-group.cc.
References getgrgid(), NOT_SUPPORTED, and octave_group().
|
static |
Definition at line 115 of file oct-group.cc.
Referenced by Fgetgrnam(), and getgrnam().
|
static |
Definition at line 122 of file oct-group.cc.
References getgrnam(), NOT_SUPPORTED, and octave_group().
gid_t octave_group::gid | ( | void | ) | const |
Definition at line 59 of file oct-group.cc.
References gr_gid, gripe_invalid(), and ok().
Referenced by mk_gr_map().
string_vector octave_group::mem | ( | void | ) | const |
Definition at line 68 of file oct-group.cc.
References gr_mem, gripe_invalid(), and ok().
Referenced by mk_gr_map().
std::string octave_group::name | ( | void | ) | const |
Definition at line 41 of file oct-group.cc.
References gr_name, gripe_invalid(), and ok().
Referenced by mk_gr_map(), and xilaenv().
|
inline |
Definition at line 71 of file oct-group.h.
|
inline |
std::string octave_group::passwd | ( | void | ) | const |
Definition at line 50 of file oct-group.cc.
References gr_passwd, gripe_invalid(), and ok().
Referenced by mk_gr_map().
Definition at line 134 of file oct-group.cc.
Referenced by Fsetgrent(), and setgrent().
|
static |
Definition at line 141 of file oct-group.cc.
References NOT_SUPPORTED, and setgrent().
|
private |
Definition at line 97 of file oct-group.h.
Referenced by gid(), octave_group(), and operator=().
|
private |
Definition at line 100 of file oct-group.h.
Referenced by mem(), octave_group(), and operator=().
|
private |
Definition at line 91 of file oct-group.h.
Referenced by name(), octave_group(), and operator=().
|
private |
Definition at line 94 of file oct-group.h.
Referenced by octave_group(), operator=(), and passwd().
|
private |
Definition at line 103 of file oct-group.h.
Referenced by octave_group(), and operator=().