Public Member Functions | Private Member Functions | Private Attributes

c_file_ptr_stream< STREAM_T, FILE_T, BUF_T > Class Template Reference

#include "c-file-ptr-stream.h"

Inheritance diagram for c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >:
Inheritance graph
[legend]
Collaboration diagram for c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 c_file_ptr_stream (FILE_T f, typename BUF_T::close_fcn cf=BUF_T::file_close)
 ~c_file_ptr_stream (void)
void clear (void)
BUF_T * rdbuf (void)
int seek (long offset, int origin)
void stream_close (void)
long tell (void)

Private Member Functions

 c_file_ptr_stream (const c_file_ptr_stream &)
c_file_ptr_streamoperator= (const c_file_ptr_stream &)

Private Attributes

BUF_T * buf

Detailed Description

template<typename STREAM_T, typename FILE_T, typename BUF_T>
class c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >

Definition at line 106 of file c-file-ptr-stream.h.


Constructor & Destructor Documentation

template<typename STREAM_T , typename FILE_T , typename BUF_T >
c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >::c_file_ptr_stream ( FILE_T  f,
typename BUF_T::close_fcn  cf = BUF_T::file_close 
) [inline]

Definition at line 111 of file c-file-ptr-stream.h.

template<typename STREAM_T , typename FILE_T , typename BUF_T >
c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >::~c_file_ptr_stream ( void   )  [inline]

Definition at line 114 of file c-file-ptr-stream.h.

template<typename STREAM_T , typename FILE_T , typename BUF_T >
c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >::c_file_ptr_stream ( const c_file_ptr_stream< STREAM_T, FILE_T, BUF_T > &   )  [private]

Member Function Documentation

template<typename STREAM_T , typename FILE_T , typename BUF_T >
void c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >::clear ( void   )  [inline]

Definition at line 125 of file c-file-ptr-stream.h.

References clear().

template<typename STREAM_T , typename FILE_T , typename BUF_T >
c_file_ptr_stream& c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >::operator= ( const c_file_ptr_stream< STREAM_T, FILE_T, BUF_T > &   )  [private]
template<typename STREAM_T , typename FILE_T , typename BUF_T >
BUF_T* c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >::rdbuf ( void   )  [inline]

Definition at line 116 of file c-file-ptr-stream.h.

template<typename STREAM_T , typename FILE_T , typename BUF_T >
int c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >::seek ( long  offset,
int  origin 
) [inline]

Definition at line 120 of file c-file-ptr-stream.h.

template<typename STREAM_T , typename FILE_T , typename BUF_T >
void c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >::stream_close ( void   )  [inline]

Definition at line 118 of file c-file-ptr-stream.h.

template<typename STREAM_T , typename FILE_T , typename BUF_T >
long c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >::tell ( void   )  [inline]

Definition at line 123 of file c-file-ptr-stream.h.


Member Data Documentation

template<typename STREAM_T , typename FILE_T , typename BUF_T >
BUF_T* c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >::buf [private]

Definition at line 129 of file c-file-ptr-stream.h.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines