GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::sys::uname Class Reference

#include "oct-uname.h"

Collaboration diagram for octave::sys::uname:

Public Member Functions

 uname (const uname &unm)
 
 uname (void)
 
 ~uname (void)=default
 
int error (void) const
 
std::string machine (void) const
 
std::string message (void) const
 
std::string nodename (void) const
 
unameoperator= (const uname &unm)
 
std::string release (void) const
 
std::string sysname (void) const
 
std::string version (void) const
 

Private Member Functions

void init (void)
 

Private Attributes

int err
 
std::string m_machine
 
std::string m_nodename
 
std::string m_release
 
std::string m_sysname
 
std::string m_version
 
std::string msg
 

Detailed Description

Definition at line 37 of file oct-uname.h.

Constructor & Destructor Documentation

◆ uname() [1/2]

octave::sys::uname::uname ( void  )
inline

Definition at line 43 of file oct-uname.h.

◆ uname() [2/2]

octave::sys::uname::uname ( const uname unm)
inline

Definition at line 50 of file oct-uname.h.

◆ ~uname()

octave::sys::uname::~uname ( void  )
default

Member Function Documentation

◆ error()

int octave::sys::uname::error ( void  ) const
inline

Definition at line 82 of file oct-uname.h.

Referenced by Funame().

◆ init()

void octave::sys::uname::init ( void  )
private

◆ machine()

std::string octave::sys::uname::machine ( void  ) const
inline

Definition at line 79 of file oct-uname.h.

Referenced by Funame(), and init().

◆ message()

std::string octave::sys::uname::message ( void  ) const
inline

Definition at line 81 of file oct-uname.h.

Referenced by Funame().

◆ nodename()

std::string octave::sys::uname::nodename ( void  ) const
inline

Definition at line 76 of file oct-uname.h.

Referenced by Funame(), and init().

◆ operator=()

uname& octave::sys::uname::operator= ( const uname unm)
inline

Definition at line 56 of file oct-uname.h.

References err, m_machine, m_nodename, m_release, m_sysname, m_version, and msg.

◆ release()

std::string octave::sys::uname::release ( void  ) const
inline

Definition at line 77 of file oct-uname.h.

Referenced by Funame(), and init().

◆ sysname()

std::string octave::sys::uname::sysname ( void  ) const
inline

Definition at line 75 of file oct-uname.h.

Referenced by Funame(), and init().

◆ version()

std::string octave::sys::uname::version ( void  ) const
inline

Definition at line 78 of file oct-uname.h.

Referenced by Funame(), and init().

Member Data Documentation

◆ err

int octave::sys::uname::err
private

Definition at line 93 of file oct-uname.h.

Referenced by init(), and operator=().

◆ m_machine

std::string octave::sys::uname::m_machine
private

Definition at line 90 of file oct-uname.h.

Referenced by init(), and operator=().

◆ m_nodename

std::string octave::sys::uname::m_nodename
private

Definition at line 87 of file oct-uname.h.

Referenced by init(), and operator=().

◆ m_release

std::string octave::sys::uname::m_release
private

Definition at line 88 of file oct-uname.h.

Referenced by init(), and operator=().

◆ m_sysname

std::string octave::sys::uname::m_sysname
private

Definition at line 86 of file oct-uname.h.

Referenced by init(), and operator=().

◆ m_version

std::string octave::sys::uname::m_version
private

Definition at line 89 of file oct-uname.h.

Referenced by init(), and operator=().

◆ msg

std::string octave::sys::uname::msg
private

Definition at line 92 of file oct-uname.h.

Referenced by init(), and operator=().


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