GNU Octave 11.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
group Class Reference

#include "oct-group.h"

Public Member Functions

 group ()
 
gid_t gid () const
 
string_vector mem () const
 
std::string name () const
 
bool ok () const
 
 operator bool () const
 
std::string passwd () const
 

Static Public Member Functions

static int endgrent ()
 
static int endgrent (std::string &msg)
 
static group getgrent ()
 
static group getgrent (std::string &msg)
 
static group getgrgid (gid_t gid)
 
static group getgrgid (gid_t gid, std::string &msg)
 
static group getgrnam (const std::string &nm)
 
static group getgrnam (const std::string &nm, std::string &msg)
 
static int setgrent ()
 
static int setgrent (std::string &msg)
 

Detailed Description

Definition at line 40 of file oct-group.h.

Constructor & Destructor Documentation

◆ group()

group::group ( )
inline

Definition at line 44 of file oct-group.h.

Referenced by getgrent(), getgrgid(), and getgrnam().

Member Function Documentation

◆ endgrent() [1/2]

int group::endgrent ( )
static

Definition at line 171 of file oct-group.cc.

References endgrent().

Referenced by endgrent(), and endgrent().

◆ endgrent() [2/2]

int group::endgrent ( std::string &  msg)
static

Definition at line 178 of file oct-group.cc.

References endgrent(), and NOT_SUPPORTED.

◆ getgrent() [1/2]

group group::getgrent ( )
static

Definition at line 90 of file oct-group.cc.

References getgrent().

Referenced by getgrent(), and getgrent().

◆ getgrent() [2/2]

group group::getgrent ( std::string &  msg)
static

Definition at line 97 of file oct-group.cc.

References group(), getgrent(), and NOT_SUPPORTED.

◆ getgrgid() [1/2]

group group::getgrgid ( gid_t  gid)
static

Definition at line 109 of file oct-group.cc.

References getgrgid(), and gid().

Referenced by getgrgid(), and getgrgid().

◆ getgrgid() [2/2]

group group::getgrgid ( gid_t  gid,
std::string &  msg 
)
static

Definition at line 116 of file oct-group.cc.

References group(), getgrgid(), gid(), and NOT_SUPPORTED.

◆ getgrnam() [1/2]

group group::getgrnam ( const std::string &  nm)
static

Definition at line 130 of file oct-group.cc.

References getgrnam().

Referenced by getgrnam(), and getgrnam().

◆ getgrnam() [2/2]

group group::getgrnam ( const std::string &  nm,
std::string &  msg 
)
static

Definition at line 137 of file oct-group.cc.

References group(), getgrnam(), and NOT_SUPPORTED.

◆ gid()

gid_t group::gid ( ) const

Definition at line 72 of file oct-group.cc.

References ok().

Referenced by getgrgid(), and getgrgid().

◆ mem()

string_vector group::mem ( ) const

Definition at line 81 of file oct-group.cc.

References ok().

◆ name()

std::string group::name ( ) const

Definition at line 54 of file oct-group.cc.

References ok().

◆ ok()

bool group::ok ( ) const
inline

Definition at line 58 of file oct-group.h.

Referenced by gid(), mem(), name(), and passwd().

◆ operator bool()

group::operator bool ( ) const
inline

Definition at line 60 of file oct-group.h.

◆ passwd()

std::string group::passwd ( ) const

Definition at line 63 of file oct-group.cc.

References ok().

◆ setgrent() [1/2]

int group::setgrent ( )
static

Definition at line 151 of file oct-group.cc.

References setgrent().

Referenced by setgrent(), and setgrent().

◆ setgrent() [2/2]

int group::setgrent ( std::string &  msg)
static

Definition at line 158 of file oct-group.cc.

References NOT_SUPPORTED, and setgrent().


The documentation for this class was generated from the following files: