Navigation

Operators and Keywords

Function List:

C++ API

octave_tstdiostream< BUF_T, STREAM_T, FILE_T > Class Template Reference

#include <oct-stdstrm.h>

Inherits octave_base_stream.

Collaboration diagram for octave_tstdiostream< BUF_T, STREAM_T, FILE_T >:

List of all members.


Public Member Functions

 octave_tstdiostream (const std::string &n, FILE_T f=0, std::ios::openmode m=std::ios::in|std::ios::out, oct_mach_info::float_format ff=oct_mach_info::native_float_format(), typename BUF_T::close_fcn cf=BUF_T::fclose)
int seek (long offset, int origin)
long tell (void)
bool eof (void) const
std::string name (void) const
std::istream * input_stream (void)
std::ostreamoutput_stream (void)
BUF_T * rdbuf (void) const
bool bad (void) const
void clear (void)
void do_close (void)

Static Public Member Functions

static octave_stream create (const std::string &n, FILE_T f=0, std::ios::openmode m=std::ios::in|std::ios::out, oct_mach_info::float_format ff=oct_mach_info::native_float_format(), typename BUF_T::close_fcn cf=BUF_T::fclose)

Protected Member Functions

 ~octave_tstdiostream (void)

Protected Attributes

std::string nm
std::ios::openmode md
STREAM_T * s

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


Constructor & Destructor Documentation

template<typename BUF_T, typename STREAM_T, typename FILE_T>
octave_tstdiostream< BUF_T, STREAM_T, FILE_T >::octave_tstdiostream ( const std::string n,
FILE_T  f = 0,
std::ios::openmode  m = std::ios::in|std::ios::out,
oct_mach_info::float_format  ff = oct_mach_info::native_float_format (),
typename BUF_T::close_fcn  cf = BUF_T::fclose 
) [inline]

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


Member Function Documentation

template<typename BUF_T, typename STREAM_T, typename FILE_T>
bool octave_tstdiostream< BUF_T, STREAM_T, FILE_T >::bad ( void   )  const [inline]

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

Reimplemented from octave_base_stream.

template<typename BUF_T, typename STREAM_T, typename FILE_T>
static octave_stream octave_tstdiostream< BUF_T, STREAM_T, FILE_T >::create ( const std::string n,
FILE_T  f = 0,
std::ios::openmode  m = std::ios::in|std::ios::out,
oct_mach_info::float_format  ff = oct_mach_info::native_float_format (),
typename BUF_T::close_fcn  cf = BUF_T::fclose 
) [inline, static]

template<typename BUF_T, typename STREAM_T, typename FILE_T>
void octave_tstdiostream< BUF_T, STREAM_T, FILE_T >::do_close ( void   )  [inline, virtual]

Reimplemented from octave_base_stream.

template<typename BUF_T, typename STREAM_T, typename FILE_T>
bool octave_tstdiostream< BUF_T, STREAM_T, FILE_T >::eof ( void   )  const [inline, virtual]

Implements octave_base_stream.

template<typename BUF_T, typename STREAM_T, typename FILE_T>
std::istream* octave_tstdiostream< BUF_T, STREAM_T, FILE_T >::input_stream ( void   )  [inline, virtual]

Reimplemented from octave_base_stream.

template<typename BUF_T, typename STREAM_T, typename FILE_T>
std::string octave_tstdiostream< BUF_T, STREAM_T, FILE_T >::name ( void   )  const [inline, virtual]

Implements octave_base_stream.

template<typename BUF_T, typename STREAM_T, typename FILE_T>
std::ostream* octave_tstdiostream< BUF_T, STREAM_T, FILE_T >::output_stream ( void   )  [inline, virtual]

Reimplemented from octave_base_stream.

template<typename BUF_T, typename STREAM_T, typename FILE_T>
BUF_T* octave_tstdiostream< BUF_T, STREAM_T, FILE_T >::rdbuf ( void   )  const [inline]

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

Implements octave_base_stream.

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

Implements octave_base_stream.


Member Data Documentation

template<typename BUF_T, typename STREAM_T, typename FILE_T>
std::ios::openmode octave_tstdiostream< BUF_T, STREAM_T, FILE_T >::md [protected]

Reimplemented from octave_base_stream.

template<typename BUF_T, typename STREAM_T, typename FILE_T>
std::string octave_tstdiostream< BUF_T, STREAM_T, FILE_T >::nm [protected]

template<typename BUF_T, typename STREAM_T, typename FILE_T>
STREAM_T* octave_tstdiostream< BUF_T, STREAM_T, FILE_T >::s [protected]


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