Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
AutoFD Class Reference
Collaboration diagram for AutoFD:
Collaboration graph

List of all members.

Public Member Functions

 AutoFD (int fd=-1)
 ~AutoFD ()
AutoFDoperator= (int fd)
 operator int ()

Private Attributes

int mFD

Detailed Description

Definition at line 143 of file updater.cpp.

Constructor & Destructor Documentation

AutoFD::AutoFD ( int  fd = -1) [inline]

Definition at line 146 of file updater.cpp.

    : mFD(fd) {
AutoFD::~AutoFD ( ) [inline]

Definition at line 150 of file updater.cpp.

    if (mFD != -1)

Member Function Documentation

AutoFD::operator int ( ) [inline]

Definition at line 162 of file updater.cpp.

    return mFD;
AutoFD& AutoFD::operator= ( int  fd) [inline]

Definition at line 155 of file updater.cpp.

    if (mFD != -1)
    mFD = fd;
    return *this;

Member Data Documentation

int AutoFD::mFD [private]

Definition at line 167 of file updater.cpp.

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