w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Retro::RerrMsg Class Reference

FIXME_docs. More...

#include <RerrMsg.hpp>

Collaboration diagram for Retro::RerrMsg:
[legend]

Public Member Functions

 RerrMsg ()
 Default constructor.
 
 RerrMsg (const RerrMsg &rhs)
 Copy constructor.
 
 RerrMsg (const std::string &meth, const std::string &text)
 Construct from method and message text.
 
 RerrMsg (const std::string &meth, const std::string &text, int errnum)
 Construct from method and message text and errno.
 
 ~RerrMsg ()
 Destructor.
 
void Init (const std::string &meth, const std::string &text)
 FIXME_docs.
 
void InitErrno (const std::string &meth, const std::string &text, int errnum)
 FIXME_docs.
 
void InitPrintf (const std::string &meth, const char *format,...)
 FIXME_docs.
 
void SetMeth (const std::string &meth)
 FIXME_docs.
 
void SetText (const std::string &text)
 FIXME_docs.
 
void Prepend (const std::string &meth)
 FIXME_docs.
 
void Append (const std::string &text)
 FIXME_docs.
 
void AppendErrno (int errnum)
 FIXME_docs.
 
void AppendPrintf (const char *format,...)
 FIXME_docs.
 
const std::string & Meth () const
 FIXME_docs.
 
const std::string & Text () const
 FIXME_docs.
 
std::string Message () const
 FIXME_docs.
 
void Swap (RerrMsg &rhs)
 FIXME_docs.
 
RerrMsgoperator= (const RerrMsg &rhs)
 FIXME_docs.
 
 operator std::string () const
 FIXME_docs.
 

Protected Attributes

std::string fMeth
 originating method
 
std::string fText
 message text
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &os, const RerrMsg &obj)
 ostream insertion operator.
 

Detailed Description

FIXME_docs.

Definition at line 25 of file RerrMsg.hpp.

Constructor & Destructor Documentation

◆ RerrMsg() [1/4]

Retro::RerrMsg::RerrMsg ( )

Default constructor.

Definition at line 36 of file RerrMsg.cpp.

◆ RerrMsg() [2/4]

Retro::RerrMsg::RerrMsg ( const RerrMsg rhs)

Copy constructor.

Definition at line 44 of file RerrMsg.cpp.

◆ RerrMsg() [3/4]

Retro::RerrMsg::RerrMsg ( const std::string &  meth,
const std::string &  text 
)

Construct from method and message text.

Definition at line 51 of file RerrMsg.cpp.

◆ RerrMsg() [4/4]

Retro::RerrMsg::RerrMsg ( const std::string &  meth,
const std::string &  text,
int  errnum 
)

Construct from method and message text and errno.

Definition at line 59 of file RerrMsg.cpp.

References AppendErrno().

◆ ~RerrMsg()

Retro::RerrMsg::~RerrMsg ( )

Destructor.

Definition at line 68 of file RerrMsg.cpp.

Member Function Documentation

◆ Init()

void Retro::RerrMsg::Init ( const std::string &  meth,
const std::string &  text 
)

FIXME_docs.

Definition at line 74 of file RerrMsg.cpp.

References fMeth, and fText.

Referenced by Retro::RparseUrl::AddOpt(), Retro::Rw11Unit::Attach(), Retro::Rw11UnitVirt< TV >::Attach(), Retro::Rw11VirtTapeTap::BadTapeMsg(), Retro::Rw11Cpu::Boot(), Retro::Rw11VirtTapeTap::CheckSizeBack(), Retro::Rw11VirtTapeTap::CheckSizeForw(), Retro::RtclSignalAction::ClearAction(), Retro::Rfd::Close(), Retro::Rtools::CreateBackupFile(), Retro::Rw11VirtDiskOver::Flush(), Retro::RtclSignalAction::GetAction(), Retro::RtclSignalAction::Init(), Retro::Rw11Cpu::LoadAbs(), Retro::Rw11Cpu::MemWriteByte(), Retro::RlinkPortFactory::New(), Retro::Rw11VirtDisk::New(), Retro::Rw11VirtEth::New(), Retro::Rw11VirtTape::New(), Retro::Rw11VirtTerm::New(), Retro::Rw11VirtDiskRam::Open(), Retro::RlinkPortCuff::Open(), Retro::RlinkPortTerm::Open(), Retro::Rw11VirtEthTap::Open(), Retro::Rw11VirtTapeTap::Open(), Retro::Rw11VirtTermTcp::Open(), Retro::RlinkPortFifo::OpenFifo(), Retro::Rw11VirtTapeTap::ParseMeta(), Retro::RlinkPacketBufRcv::ReadData(), Retro::Rw11VirtTapeTap::ReadRecord(), Retro::RparseUrl::Set(), Retro::RlinkPacketBufSnd::SndRaw(), Retro::Rw11VirtTapeTap::SpaceBack(), Retro::Rtools::String2Long(), Retro::RethTools::String2Mac(), Retro::RtclSignalAction::ValidSignal(), Retro::Rw11UnitStream::VirtFlush(), Retro::Rw11UnitDisk::VirtRead(), Retro::Rw11UnitStream::VirtRead(), Retro::Rw11UnitTape::VirtReadRecord(), Retro::Rw11UnitTape::VirtRewind(), Retro::Rw11UnitTape::VirtSpaceBack(), Retro::Rw11UnitTape::VirtSpaceForw(), Retro::Rw11UnitStream::VirtWrite(), Retro::Rw11UnitDisk::VirtWrite(), Retro::Rw11UnitTape::VirtWriteEof(), and Retro::Rw11UnitTape::VirtWriteRecord().

◆ InitErrno()

◆ InitPrintf()

void Retro::RerrMsg::InitPrintf ( const std::string &  meth,
const char *  format,
  ... 
)

FIXME_docs.

Definition at line 96 of file RerrMsg.cpp.

References fMeth, and fText.

Referenced by Retro::Rw11Cpu::LoadAbs().

◆ SetMeth()

void Retro::RerrMsg::SetMeth ( const std::string &  meth)
inline

FIXME_docs.

Definition at line 21 of file RerrMsg.ipp.

References fMeth.

◆ SetText()

void Retro::RerrMsg::SetText ( const std::string &  text)
inline

FIXME_docs.

Definition at line 30 of file RerrMsg.ipp.

References fText.

◆ Prepend()

void Retro::RerrMsg::Prepend ( const std::string &  meth)

FIXME_docs.

Definition at line 116 of file RerrMsg.cpp.

References fMeth.

◆ Append()

void Retro::RerrMsg::Append ( const std::string &  text)

FIXME_docs.

Definition at line 125 of file RerrMsg.cpp.

References fText.

◆ AppendErrno()

void Retro::RerrMsg::AppendErrno ( int  errnum)

FIXME_docs.

Definition at line 134 of file RerrMsg.cpp.

References fText.

Referenced by InitErrno(), and RerrMsg().

◆ AppendPrintf()

void Retro::RerrMsg::AppendPrintf ( const char *  format,
  ... 
)

FIXME_docs.

Definition at line 143 of file RerrMsg.cpp.

References fText.

◆ Meth()

const std::string & Retro::RerrMsg::Meth ( ) const
inline

FIXME_docs.

Definition at line 39 of file RerrMsg.ipp.

References fMeth.

Referenced by Retro::Rtools::Catch2Cerr(), and Retro::Rfd::CloseOrCerr().

◆ Text()

◆ Message()

std::string Retro::RerrMsg::Message ( ) const

FIXME_docs.

Definition at line 161 of file RerrMsg.cpp.

References fMeth, and fText.

Referenced by operator<<(), Retro::RlinkPort::Read(), and Retro::RlinkPort::Write().

◆ Swap()

void Retro::RerrMsg::Swap ( RerrMsg rhs)

FIXME_docs.

Definition at line 169 of file RerrMsg.cpp.

References fMeth, and fText.

◆ operator=()

RerrMsg & Retro::RerrMsg::operator= ( const RerrMsg rhs)

FIXME_docs.

Definition at line 179 of file RerrMsg.cpp.

References fMeth, and fText.

◆ operator std::string()

Retro::RerrMsg::operator std::string ( ) const
inline

FIXME_docs.

Definition at line 55 of file RerrMsg.ipp.

Friends And Related Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const RerrMsg obj 
)
related

ostream insertion operator.

Definition at line 66 of file RerrMsg.ipp.

References Message().

Member Data Documentation

◆ fMeth

std::string Retro::RerrMsg::fMeth
protected

originating method

Definition at line 58 of file RerrMsg.hpp.

Referenced by Init(), InitErrno(), InitPrintf(), Message(), Meth(), operator=(), Prepend(), SetMeth(), and Swap().

◆ fText

std::string Retro::RerrMsg::fText
protected

message text

Definition at line 59 of file RerrMsg.hpp.

Referenced by Append(), AppendErrno(), AppendPrintf(), Init(), InitErrno(), InitPrintf(), Message(), operator=(), SetText(), Swap(), and Text().


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