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

#include "oct-uname.h"

Collaboration diagram for 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

std::string m_errmsg
 
int m_errno
 
std::string m_machine
 
std::string m_nodename
 
std::string m_release
 
std::string m_sysname
 
std::string m_version
 

Detailed Description

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

Constructor & Destructor Documentation

◆ uname() [1/2]

uname::uname ( void  )
inline

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

◆ uname() [2/2]

uname::uname ( const uname unm)
inline

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

◆ ~uname()

uname::~uname ( void  )
default

Member Function Documentation

◆ error()

int uname::error ( void  ) const
inline

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

◆ init()

void uname::init ( void  )
private

◆ machine()

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

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

Referenced by init().

◆ message()

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

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

◆ nodename()

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

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

Referenced by init().

◆ operator=()

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

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

References m_errmsg, m_errno, m_machine, m_nodename, m_release, m_sysname, and m_version.

◆ release()

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

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

Referenced by init().

◆ sysname()

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

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

Referenced by init().

◆ version()

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

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

Referenced by init().

Member Data Documentation

◆ m_errmsg

std::string uname::m_errmsg
private

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

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

◆ m_errno

int uname::m_errno
private

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

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

◆ m_machine

std::string uname::m_machine
private

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

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

◆ m_nodename

std::string uname::m_nodename
private

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

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

◆ m_release

std::string uname::m_release
private

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

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

◆ m_sysname

std::string uname::m_sysname
private

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

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

◆ m_version

std::string uname::m_version
private

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

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


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