ug4
SystemCall Class Reference

#include <system_call.h>

Public Member Functions

bool called ()
 
const std::string & output ()
 
int returnCode ()
 
bool successfull ()
 
 SystemCall (const std::string &command)
 

Private Attributes

bool m_bCalled
 
std::string m_output
 
int m_returnCode
 

Constructor & Destructor Documentation

◆ SystemCall()

SystemCall::SystemCall ( const std::string &  command)

call a system command (is passed to /usr/bin/sh

Parameters
command

Member Function Documentation

◆ called()

bool SystemCall::called ( )
inline

References m_bCalled.

◆ output()

const std::string& SystemCall::output ( )
inline

References m_output.

◆ returnCode()

int SystemCall::returnCode ( )
inline

References m_returnCode.

◆ successfull()

bool SystemCall::successfull ( )
inline

References m_bCalled, and m_returnCode.

Member Data Documentation

◆ m_bCalled

bool SystemCall::m_bCalled
private

Referenced by called(), and successfull().

◆ m_output

std::string SystemCall::m_output
private

Referenced by output().

◆ m_returnCode

int SystemCall::m_returnCode
private

Referenced by returnCode(), and successfull().


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