Pol  Rev 533
OFile Class Reference

#include <ofile.h>

+ Inheritance diagram for OFile:
+ Collaboration diagram for OFile:

List of all members.

Public Member Functions

 OFile (FILE *iFP)
 OFile (FILECont *iFC)
virtual ~OFile ()
int close (void)
BObjectImpcopy (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

FILEContfc

Detailed Description

Definition at line 37 of file ofile.h.


Constructor & Destructor Documentation

OFile::OFile ( FILE *  iFP) [inline]

Definition at line 42 of file ofile.h.

OFile::OFile ( FILECont iFC) [inline]

Definition at line 43 of file ofile.h.

References fc, and FILECont::nCopies.

virtual OFile::~OFile ( ) [virtual]

Member Function Documentation

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]

Definition at line 55 of file ofile.h.

virtual bool OFile::isA ( const char *  s) const [inline, virtual]

Definition at line 56 of file ofile.h.

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)

Member Data Documentation

FILECont* OFile::fc [private]

Definition at line 39 of file ofile.h.

Referenced by isTrue(), and OFile().


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