CatapultServer  v0.5.0.1 (Elephant)
catapult::io::RawFile::FileDescriptorHolder Class Referencefinal

Public Member Functions

 FileDescriptorHolder (int fd)
 
 FileDescriptorHolder (FileDescriptorHolder &&rhs)
 
FileDescriptorHolderoperator= (FileDescriptorHolder &&rhs)=delete
 
 ~FileDescriptorHolder ()
 
bool isValid () const
 
int raw () const
 
int & rawRef ()
 

Private Attributes

int m_fd
 

Constructor & Destructor Documentation

◆ FileDescriptorHolder() [1/2]

catapult::io::RawFile::FileDescriptorHolder::FileDescriptorHolder ( int  fd)
explicit

◆ FileDescriptorHolder() [2/2]

catapult::io::RawFile::FileDescriptorHolder::FileDescriptorHolder ( FileDescriptorHolder &&  rhs)

◆ ~FileDescriptorHolder()

catapult::io::RawFile::FileDescriptorHolder::~FileDescriptorHolder ( )

Member Function Documentation

◆ isValid()

bool catapult::io::RawFile::FileDescriptorHolder::isValid ( ) const

◆ operator=()

FileDescriptorHolder& catapult::io::RawFile::FileDescriptorHolder::operator= ( FileDescriptorHolder &&  rhs)
delete

◆ raw()

int catapult::io::RawFile::FileDescriptorHolder::raw ( ) const

◆ rawRef()

int & catapult::io::RawFile::FileDescriptorHolder::rawRef ( )

Member Data Documentation

◆ m_fd

int catapult::io::RawFile::FileDescriptorHolder::m_fd
private

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