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

Source device for FILE* pointers. More...

#include <mds_utils/file_utils/cfile_stream.hpp>

Inheritance diagram for mds_utils::file_utils::cFile_Source:

Public Types

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

Public Member Functions

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

Detailed Description

Source device for FILE* pointers.

It models the Input Seekable device concept.

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

Definition at line 68 of file cfile_stream.hpp.

Constructor & Destructor Documentation

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

Constructor.

It attaches on an existing file pointer.

Parameters
ptrThe FILE pointer.
Author
Michele De Stefano.
Date
01/12/2008

Definition at line 86 of file cfile_stream.hpp.


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