cheshirekow  v0.1.0
nix::FdSet::Ref Class Reference

reference to an element in a bitset More...

#include <cpp_nix/fd_set.h>

Public Member Functions

Refflip ()
 flip the bit More...
 
 operator bool () const
 convert to bool More...
 
Refoperator= (bool x)
 assign from bool More...
 

Private Member Functions

 Ref (fd_set *set, int fd)
 

Private Attributes

int m_fd
 
fd_set * m_set
 

Friends

class FdSet
 

Detailed Description

reference to an element in a bitset

Definition at line 40 of file fd_set.h.

Constructor & Destructor Documentation

nix::FdSet::Ref::Ref ( fd_set *  set,
int  fd 
)
private

Member Function Documentation

Ref& nix::FdSet::Ref::flip ( )

flip the bit

nix::FdSet::Ref::operator bool ( ) const

convert to bool

Ref& nix::FdSet::Ref::operator= ( bool  x)

assign from bool

Friends And Related Function Documentation

friend class FdSet
friend

Definition at line 45 of file fd_set.h.

Member Data Documentation

int nix::FdSet::Ref::m_fd
private

Definition at line 43 of file fd_set.h.

fd_set* nix::FdSet::Ref::m_set
private

Definition at line 42 of file fd_set.h.


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