NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Private Attributes | List of all members
fdstream Class Reference

#include <fdstream.h>

Inheritance diagram for fdstream:

Public Member Functions

 fdstream ()
 
 fdstream (const char *s, std::ios_base::openmode mode)
 
 fdstream (int fd)
 
fdbufrdbuf () const
 
bool is_open ()
 
void open (const char *s, std::ios_base::openmode mode)
 
void close ()
 

Private Attributes

fdbuf sb
 

Constructor & Destructor Documentation

fdstream::fdstream ( )
inline

References sb.

fdstream::fdstream ( const char *  s,
std::ios_base::openmode  mode 
)
inlineexplicit

References open(), and sb.

fdstream::fdstream ( int  fd)
inlineexplicit

References sb.

Member Function Documentation

void fdstream::close ( )

References rdbuf().

bool fdstream::is_open ( )
inline

References fdbuf::is_open(), and rdbuf().

void fdstream::open ( const char *  s,
std::ios_base::openmode  mode 
)
inline

References rdbuf().

Referenced by fdstream().

fdbuf* fdstream::rdbuf ( ) const
inline

References sb.

Referenced by close(), is_open(), and open().

Member Data Documentation

fdbuf fdstream::sb
private

Referenced by fdstream(), and rdbuf().


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