Michele De Stefano's C++ Utilities
mds_utils::file_utils::cFile_Sink Struct Reference

Sink device for FILE* pointers. More...

#include <mds_utils/file_utils/cfile_stream.hpp>

Inheritance diagram for mds_utils::file_utils::cFile_Sink:

Public Types

typedef detail::cFile_Device_base< cFile_Sink >::char_type char_type
 Character type.
 
typedef detail::cFile_Device_base< cFile_Sink >::category category
 Category.
 

Public Member Functions

 cFile_Sink ()
 Default constructor.
 
 cFile_Sink (FILE *ptr)
 Constructor. More...
 

Detailed Description

Sink device for FILE* pointers.

It models the Output Seekable device concept.

Author
Michele De Stefano
Date
01/12/2008
Examples:
cfile_sink_src.cpp.

Definition at line 102 of file cfile_stream.hpp.

Constructor & Destructor Documentation

mds_utils::file_utils::cFile_Sink::cFile_Sink ( FILE *  ptr)
inline

Constructor.

It attaches on an existing file pointer.

Parameters
ptrThe FILE pointer.
Author
Michele De Stefano.
Date
24/09/2009

Definition at line 120 of file cfile_stream.hpp.


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