GNU Octave  6.2.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 f, typename BUF_T::close_fcn 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 * 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

◆ 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  f,
typename BUF_T::close_fcn  cf = BUF_T::file_close 
)
inline

Definition at line 110 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 119 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 130 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 121 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 125 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 123 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 128 of file c-file-ptr-stream.h.

Member Data Documentation

◆ buf

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


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