Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

mootio::mfstream Class Reference

Wrapper class for named file i/o using C FILE*s. More...

#include <mootCIO.h>

Inheritance diagram for mootio::mfstream:

Inheritance graph
[legend]
Collaboration diagram for mootio::mfstream:

Collaboration graph
[legend]
List of all members.

Public Methods

Constructors etc.
with mode @mode
(Re-)open file

Parameter setting (does nothing)

Public Attributes


Detailed Description

Uses mstream::name as filename identifier. The name "-" corresponds to either stdin or stdout, depending on open mode.


Constructor & Destructor Documentation

mootio::mfstream::mfstream void    [inline]
 

Default constructor as for mcstream

mootio::mfstream::mfstream const char *    filename,
const char *    open_mode = ((void *)0)
[inline]
 

Constructor given filename and mode

virtual mootio::mfstream::~mfstream void    [inline, virtual]
 

Destructor: auto-closes file


Member Function Documentation

virtual bool mootio::mfstream::close void    [inline, virtual]
 

Close currently open file, if any

Reimplemented from mootio::mcstream.

bool mootio::mfstream::open const std::string &    filename,
const std::string &    open_mode = ""
[inline]
 

Open a named file, fopen() style. "-" may be use to specify stdin or stdout, depending on @mode

bool mootio::mfstream::open const char *    filename,
const char *    open_mode = ((void *)0)
[inline]
 

Open a named file, fopen() style. "-" may be use to specify stdin or stdout, depending on 'mode'

virtual bool mootio::mfstream::reopen void    [inline, virtual]
 

Does nothing

Reimplemented from mootio::mcstream.

void mootio::mfstream::setparams int    level = 0,
int    strategy = 0
[inline]
 

Does nothing. For compatibility with (possibly missing) zlib


Member Data Documentation

std::string mootio::mfstream::default_mode
 

std::string mootio::mfstream::mode
 


The documentation for this class was generated from the following file:
Generated on Wed Jul 28 15:48:08 2004 for libmoot by doxygen1.2.15