rvm  1.11
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
fdinbuf Class Reference

#include <fdstream.h>

Inheritance diagram for fdinbuf:
Inheritance graph
Collaboration diagram for fdinbuf:
Collaboration graph

Public Member Functions

 fdinbuf ()
 
 fdinbuf (int a_fd)
 
void attach (int a_fd)
 
virtual int underflow (void)
 

Protected Attributes

int m_fd
 
char m_buffer [m_buffer_size]
 

Static Protected Attributes

static const int m_buffer_size = 10
 

Detailed Description

Definition at line 38 of file fdstream.h.

Constructor & Destructor Documentation

fdinbuf::fdinbuf ( )

Definition at line 64 of file fdstream.cc.

References m_buffer.

fdinbuf::fdinbuf ( int  a_fd)

Definition at line 69 of file fdstream.cc.

References m_buffer, and m_fd.

Member Function Documentation

void fdinbuf::attach ( int  a_fd)

Definition at line 75 of file fdstream.cc.

References m_fd.

Referenced by ifdstream::attach(), and ifdstream::ifdstream().

int fdinbuf::underflow ( void  )
virtual

Definition at line 80 of file fdstream.cc.

References m_buffer, m_buffer_size, and m_fd.

Member Data Documentation

char fdinbuf::m_buffer[m_buffer_size]
protected

Definition at line 49 of file fdstream.h.

Referenced by fdinbuf(), and underflow().

const int fdinbuf::m_buffer_size = 10
staticprotected

Definition at line 48 of file fdstream.h.

Referenced by underflow().

int fdinbuf::m_fd
protected

Definition at line 47 of file fdstream.h.

Referenced by attach(), fdinbuf(), and underflow().


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