GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
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 >:
Collaboration diagram for c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >:

Public Member Functions

 c_file_ptr_stream (const c_file_ptr_stream &)=delete
 
 c_file_ptr_stream (FILE_T m_f, typename BUF_T::close_fcn m_cf=BUF_T::file_close)
 
 ~c_file_ptr_stream (void)
 
void clear (void)
 
c_file_ptr_streamoperator= (const c_file_ptr_stream &)=delete
 
BUF_T * rdbuf (void)
 
int seek (off_t offset, int origin)
 
void stream_close (void)
 
off_t tell (void)
 

Private Attributes

BUF_T * m_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 111 of file c-file-ptr-stream.h.

Constructor & Destructor Documentation

◆ c_file_ptr_stream() [1/2]

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  m_f,
typename BUF_T::close_fcn  m_cf = BUF_T::file_close 
)
inline

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

◆ c_file_ptr_stream() [2/2]

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 > &  )
delete

◆ ~c_file_ptr_stream()

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 127 of file c-file-ptr-stream.h.

Member Function Documentation

◆ clear()

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 138 of file c-file-ptr-stream.h.

◆ operator=()

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 > &  )
delete

◆ rdbuf()

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 129 of file c-file-ptr-stream.h.

◆ seek()

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 133 of file c-file-ptr-stream.h.

◆ stream_close()

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 131 of file c-file-ptr-stream.h.

◆ tell()

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 136 of file c-file-ptr-stream.h.

Member Data Documentation

◆ m_buf

template<typename STREAM_T , typename FILE_T , typename BUF_T >
BUF_T* c_file_ptr_stream< STREAM_T, FILE_T, BUF_T >::m_buf
private

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


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