Navigation

Operators and Keywords

Function List:

C++ API

octave_fstream Class Reference

#include <oct-fstrm.h>

Inherits octave_base_stream.

Collaboration diagram for octave_fstream:

List of all members.


Public Member Functions

 octave_fstream (const std::string &nm_arg, std::ios::openmode arg_md=std::ios::in|std::ios::out, oct_mach_info::float_format flt_fmt=oct_mach_info::native_float_format())
int seek (long offset, int origin)
long tell (void)
bool eof (void) const
void do_close (void)
std::string name (void) const
std::istream * input_stream (void)
std::ostreamoutput_stream (void)

Static Public Member Functions

static octave_stream create (const std::string &nm_arg, std::ios::openmode arg_md=std::ios::in|std::ios::out, oct_mach_info::float_format flt_fmt=oct_mach_info::native_float_format())

Protected Member Functions

 ~octave_fstream (void)

Constructor & Destructor Documentation

octave_fstream::octave_fstream ( const std::string nm_arg,
std::ios::openmode  arg_md = std::ios::in|std::ios::out,
oct_mach_info::float_format  flt_fmt = oct_mach_info::native_float_format () 
)

octave_fstream::~octave_fstream ( void   )  [inline, protected]


Member Function Documentation

octave_stream octave_fstream::create ( const std::string nm_arg,
std::ios::openmode  arg_md = std::ios::in|std::ios::out,
oct_mach_info::float_format  flt_fmt = oct_mach_info::native_float_format () 
) [static]

void octave_fstream::do_close ( void   )  [virtual]

Reimplemented from octave_base_stream.

bool octave_fstream::eof ( void   )  const [virtual]

Implements octave_base_stream.

std::istream * octave_fstream::input_stream ( void   )  [virtual]

Reimplemented from octave_base_stream.

std::string octave_fstream::name ( void   )  const [inline, virtual]

Implements octave_base_stream.

std::ostream * octave_fstream::output_stream ( void   )  [virtual]

Reimplemented from octave_base_stream.

int octave_fstream::seek ( long  offset,
int  origin 
) [virtual]

Implements octave_base_stream.

long octave_fstream::tell ( void   )  [virtual]

Implements octave_base_stream.


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