xapian-core  1.4.26
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FD Class Reference

#include <fd.h>

Public Member Functions

 FD ()
 
 FD (int fd_)
 
 ~FD ()
 
FDoperator= (int fd_)
 
 operator int () const
 
int close ()
 

Private Member Functions

 FD (const FD &)=delete
 Prevent copying. More...
 
FDoperator= (const FD &)=delete
 Prevent assignment between FD objects. More...
 

Private Attributes

int fd
 

Detailed Description

Definition at line 30 of file fd.h.

Constructor & Destructor Documentation

◆ FD() [1/3]

FD::FD ( const FD )
privatedelete

Prevent copying.

◆ FD() [2/3]

FD::FD ( )
inline

Definition at line 40 of file fd.h.

◆ FD() [3/3]

FD::FD ( int  fd_)
inline

Definition at line 42 of file fd.h.

◆ ~FD()

FD::~FD ( )
inline

Definition at line 44 of file fd.h.

References close().

Member Function Documentation

◆ close()

int FD::close ( )
inline

Definition at line 54 of file fd.h.

References close(), and fd.

Referenced by close(), operator=(), and ~FD().

◆ operator int()

FD::operator int ( ) const
inline

Definition at line 52 of file fd.h.

References fd.

◆ operator=() [1/2]

FD& FD::operator= ( const FD )
privatedelete

Prevent assignment between FD objects.

◆ operator=() [2/2]

FD& FD::operator= ( int  fd_)
inline

Definition at line 46 of file fd.h.

References close().

Member Data Documentation

◆ fd

int FD::fd
private

Definition at line 31 of file fd.h.

Referenced by close(), and operator int().


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