|
Pol
Rev 533
|
#include <ofile.h>
Inheritance diagram for OFile:
Collaboration diagram for OFile:Public Member Functions | |
| OFile (FILE *iFP) | |
| OFile (FILECont *iFC) | |
| virtual | ~OFile () |
| int | close (void) |
| BObjectImp * | copy (void) const |
| std::string | getStringRep () const |
| const char * | isA (void) const |
| virtual bool | isA (const char *s) const |
| virtual bool | isTrue (void) const |
| void | printOn (std::ostream &) const |
| int | read (char *buf, int maxlen) |
| int | seek (int posn) |
| int | tell (int &posn) |
| int | write (const char *buf) |
Private Attributes | |
| FILECont * | fc |
| OFile::OFile | ( | FILE * | iFP | ) | [inline] |
| OFile::OFile | ( | FILECont * | iFC | ) | [inline] |
Definition at line 43 of file ofile.h.
References fc, and FILECont::nCopies.
| virtual OFile::~OFile | ( | ) | [virtual] |
| int OFile::close | ( | void | ) |
| BObjectImp* OFile::copy | ( | void | ) | const [virtual] |
Implements BObjectImp.
| std::string OFile::getStringRep | ( | ) | const [virtual] |
Implements BObjectImp.
| const char* OFile::isA | ( | void | ) | const [inline] |
| virtual bool OFile::isA | ( | const char * | s | ) | const [inline, virtual] |
| virtual bool OFile::isTrue | ( | void | ) | const [inline, virtual] |
Reimplemented from BObjectImp.
Definition at line 60 of file ofile.h.
References fc, and FILECont::fp.
| void OFile::printOn | ( | std::ostream & | ) | const [virtual] |
Reimplemented from BObjectImp.
| int OFile::read | ( | char * | buf, |
| int | maxlen | ||
| ) |
| int OFile::seek | ( | int | posn | ) |
| int OFile::tell | ( | int & | posn | ) |
| int OFile::write | ( | const char * | buf | ) |