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

FIXME_docs. More...

#include <Rfd.hpp>

Inheritance diagram for Retro::Rfd:
[legend]
Collaboration diagram for Retro::Rfd:
[legend]

Public Member Functions

 Rfd ()
 FIXME_docs.
 
 Rfd (Rfd &&rhs)
 FIXME_docs.
 
 Rfd (const char *cnam)
 FIXME_docs.
 
virtual ~Rfd ()
 FIXME_docs.
 
 Rfd (const Rfd &)=delete
 
Rfdoperator= (const Rfd &)=delete
 
bool SetFd (int fd)
 FIXME_docs.
 
int Fd () const
 FIXME_docs.
 
bool IsOpen () const
 FIXME_docs.
 
bool IsOpenNonStd () const
 FIXME_docs.
 
void Close ()
 FIXME_docs.
 
bool Close (RerrMsg &emsg)
 FIXME_docs.
 
void CloseOrCerr ()
 FIXME_docs.
 
 operator bool () const
 FIXME_docs.
 

Protected Attributes

int fFd
 
std::string fCnam
 

Detailed Description

FIXME_docs.

Definition at line 25 of file Rfd.hpp.

Constructor & Destructor Documentation

◆ Rfd() [1/4]

Retro::Rfd::Rfd ( )

FIXME_docs.

Definition at line 37 of file Rfd.cpp.

◆ Rfd() [2/4]

Retro::Rfd::Rfd ( Rfd &&  rhs)

FIXME_docs.

Definition at line 45 of file Rfd.cpp.

◆ Rfd() [3/4]

Retro::Rfd::Rfd ( const char *  cnam)
explicit

FIXME_docs.

Definition at line 55 of file Rfd.cpp.

◆ ~Rfd()

Retro::Rfd::~Rfd ( )
virtual

FIXME_docs.

Definition at line 63 of file Rfd.cpp.

References CloseOrCerr(), and IsOpen().

◆ Rfd() [4/4]

Retro::Rfd::Rfd ( const Rfd )
delete

Member Function Documentation

◆ operator=()

Rfd & Retro::Rfd::operator= ( const Rfd )
delete

◆ SetFd()

bool Retro::Rfd::SetFd ( int  fd)

FIXME_docs.

Definition at line 71 of file Rfd.cpp.

References fCnam, fFd, and IsOpen().

Referenced by Retro::RfileFd::Open().

◆ Fd()

◆ IsOpen()

bool Retro::Rfd::IsOpen ( ) const
inline

◆ IsOpenNonStd()

bool Retro::Rfd::IsOpenNonStd ( ) const
inline

FIXME_docs.

Definition at line 36 of file Rfd.ipp.

References fFd.

Referenced by Close().

◆ Close() [1/2]

void Retro::Rfd::Close ( )

FIXME_docs.

Definition at line 82 of file Rfd.cpp.

References fFd, and IsOpenNonStd().

Referenced by CloseOrCerr(), Retro::RfileFd::Open(), Retro::Rw11VirtDiskFile::Open(), and Retro::Rw11VirtTapeTap::Open().

◆ Close() [2/2]

bool Retro::Rfd::Close ( RerrMsg emsg)

FIXME_docs.

Definition at line 94 of file Rfd.cpp.

References fCnam, fFd, Retro::RerrMsg::Init(), Retro::RerrMsg::InitErrno(), IsOpen(), and IsOpenNonStd().

◆ CloseOrCerr()

void Retro::Rfd::CloseOrCerr ( )

FIXME_docs.

Definition at line 118 of file Rfd.cpp.

References Close(), Retro::RerrMsg::Meth(), and Retro::RerrMsg::Text().

Referenced by ~Rfd().

◆ operator bool()

Retro::Rfd::operator bool ( ) const
inlineexplicit

FIXME_docs.

Definition at line 44 of file Rfd.ipp.

Member Data Documentation

◆ fFd

◆ fCnam


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