Version: 9.15.0
Identity Class Reference

#include <Utils_Identity.hxx>

Public Member Functions

 Identity (const char *name)
 
 ~Identity ()
 
const pid_t & pid (void) const
 
const struct utsname & hostid (void) const
 
const uid_t & uid (void) const
 
const char * name (void) const
 
const char * adip (void) const
 
const char * pwname (void) const
 
const time_t & start (void) const
 
const char * rep (void) const
 
const char * host_char (void) const
 
const char * start_char (void) const
 

Protected Attributes

const char *const _name
 
const char *const _adip
 
const struct utsname _hostid
 
const pid_t _pid
 
const uid_t _uid
 
const char *const _pwname
 
const char *const _dir
 
const time_t _start
 
const char *const _cstart
 

Private Member Functions

 Identity (void)
 
 Identity (const Identity &monid)
 

Friends

std::ostream & operator<< (std::ostream &os, const Identity &monid)
 

Constructor & Destructor Documentation

◆ Identity() [1/3]

Identity::Identity ( void  )
private

◆ Identity() [2/3]

Identity::Identity ( const Identity monid)
private

◆ Identity() [3/3]

Identity::Identity ( const char *  name)

References _dir.

◆ ~Identity()

Identity::~Identity ( void  )

References _adip, _dir, and _name.

Member Function Documentation

◆ adip()

const char * Identity::adip ( void  ) const

References _adip.

Referenced by RegistryConnexion::add().

◆ host_char()

const char * Identity::host_char ( void  ) const

References _hostid.

Referenced by RegistryConnexion::add().

◆ hostid()

const struct utsname & Identity::hostid ( void  ) const

◆ name()

const char * Identity::name ( void  ) const

◆ pid()

const pid_t & Identity::pid ( void  ) const

Referenced by RegistryConnexion::add().

◆ pwname()

const char * Identity::pwname ( void  ) const

References _pwname.

Referenced by RegistryConnexion::add().

◆ rep()

const char * Identity::rep ( void  ) const

References _dir.

Referenced by RegistryConnexion::add().

◆ start()

const time_t & Identity::start ( void  ) const

References _start.

Referenced by RegistryConnexion::add().

◆ start_char()

const char * Identity::start_char ( void  ) const

References _start.

◆ uid()

const uid_t & Identity::uid ( void  ) const

Referenced by RegistryConnexion::add().

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Identity monid 
)
friend

Field Documentation

◆ _adip

const char* const Identity::_adip
protected

Referenced by adip(), and ~Identity().

◆ _cstart

const char* const Identity::_cstart
protected

◆ _dir

const char* const Identity::_dir
protected

Referenced by Identity(), rep(), and ~Identity().

◆ _hostid

const struct utsname Identity::_hostid
protected

Referenced by host_char().

◆ _name

const char* const Identity::_name
protected

Referenced by name(), and ~Identity().

◆ _pid

const pid_t Identity::_pid
protected

◆ _pwname

const char* const Identity::_pwname
protected

Referenced by pwname().

◆ _start

const time_t Identity::_start
protected

Referenced by start(), and start_char().

◆ _uid

const uid_t Identity::_uid
protected