Operators and Keywords

Function List:


octave_base_stream Class Reference

#include <oct-stream.h>

Inherited by octave_base_iostream, octave_base_strstream, octave_fstream, octave_tstdiostream< BUF_T, STREAM_T, FILE_T >, and octave_tstdiostream< c_file_ptr_buf, io_c_file_ptr_stream, FILE * >.

List of all members.

Public Member Functions

 octave_base_stream (std::ios::openmode arg_md=std::ios::in|std::ios::out, oct_mach_info::float_format ff=oct_mach_info::native_float_format())
virtual ~octave_base_stream (void)
virtual int seek (long offset, int origin)=0
virtual long tell (void)=0
virtual bool eof (void) const =0
virtual std::string name (void) const =0
virtual std::istream * input_stream (void)
virtual std::ostreamoutput_stream (void)
bool is_open (void) const
virtual void do_close (void)
void close (void)
int file_number (void)
bool ok (void) const
std::string error (bool clear, int &err_num)

Protected Member Functions

int mode (void) const
oct_mach_info::float_format float_format (void) const
void error (const std::string &msg)
void error (const std::string &who, const std::string &msg)
void clear (void)
void clearerr (void)


class octave_stream

Constructor & Destructor Documentation

octave_base_stream::octave_base_stream ( std::ios::openmode  arg_md = std::ios::in|std::ios::out,
oct_mach_info::float_format  ff = oct_mach_info::native_float_format () 
) [inline]

virtual octave_base_stream::~octave_base_stream ( void   )  [inline, virtual]

Member Function Documentation

void octave_base_stream::clearerr ( void   )  [protected]

void octave_base_stream::close ( void   )  [inline]

virtual void octave_base_stream::do_close ( void   )  [inline, virtual]

void octave_base_stream::error ( const std::string who,
const std::string msg 
) [protected]

void octave_base_stream::error ( const std::string msg  )  [protected]

std::string octave_base_stream::error ( bool  clear,
int err_num 

int octave_base_stream::file_number ( void   ) 

oct_mach_info::float_format octave_base_stream::float_format ( void   )  const [inline, protected]

bool octave_base_stream::is_open ( void   )  const [inline]

int octave_base_stream::mode ( void   )  const [inline, protected]

bool octave_base_stream::ok ( void   )  const [inline]

Friends And Related Function Documentation

friend class octave_stream [friend]

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