Wrapper class for named file input using C FILE*s.
More...
|
|
| mifstream (void) |
|
| mifstream (const char *filename, const char *mode=__null) |
|
| mifstream (const std::string &filename, const std::string &mode="") |
|
virtual | ~mifstream (void) |
|
| mfstream (void) |
|
| mfstream (const char *filename, const char *open_mode=__null) |
|
virtual | ~mfstream (void) |
|
bool | open (const char *filename, const char *open_mode=__null) |
|
bool | open (const std::string &filename, const std::string &open_mode="") |
|
virtual bool | reopen (void) |
|
virtual bool | close (void) |
|
void | setparams (int level=0, int strategy=0) |
|
| mcstream (FILE *f=__null) |
|
| ~mcstream (void) |
|
virtual bool | valid (void) |
|
virtual bool | eof (void) |
|
virtual std::string | errmsg (void) |
|
virtual ByteCount | read (char *buf, size_t n) |
|
virtual int | getbyte (void) |
|
virtual bool | flush (void) |
|
virtual bool | write (const char *buf, size_t n) |
|
virtual bool | putbyte (unsigned char c) |
|
virtual bool | puts (const char *s) |
|
virtual bool | puts (const std::string &s) |
|
virtual bool | vprintf (const char *fmt, va_list &ap) |
|
| mistream (void) |
|
virtual | ~mistream (void) |
|
virtual ByteCount | getline (std::string &s, const std::string &delim="\") |
|
| mstream (const std::string &myname="") |
|
virtual | ~mstream (void) |
|
| operator bool (void) |
|
| mostream (void) |
|
virtual | ~mostream (void) |
|
bool | printf (const char *fmt,...) |
|
Uses mstream::name as filename identifier. The name "-" corresponds to stdin. Default open-mode is "r".
◆ mifstream() [1/3]
mootio::mifstream::mifstream |
( |
void |
| ) |
|
|
inline |
Default constructor as for mcstream
◆ mifstream() [2/3]
mootio::mifstream::mifstream |
( |
const char * |
filename, |
|
|
const char * |
mode = __null |
|
) |
| |
|
inline |
Constructor given filename and mode
◆ mifstream() [3/3]
mootio::mifstream::mifstream |
( |
const std::string & |
filename, |
|
|
const std::string & |
mode = "" |
|
) |
| |
|
inline |
Constructor given filename and mode as C++ strings
◆ ~mifstream()
virtual mootio::mifstream::~mifstream |
( |
void |
| ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: