GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
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]

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 (off_t offset, int origin)
void stream_close (void)
off_t 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 105 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 110 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 113 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 124 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 115 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 ( off_t  offset,
int  origin 
)
inline

Definition at line 119 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 117 of file c-file-ptr-stream.h.

template<typename STREAM_T , typename FILE_T , typename BUF_T >
off_t c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >::tell ( void  )
inline

Definition at line 122 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 128 of file c-file-ptr-stream.h.


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