Pol  Rev 533
FILECont Class Reference

#include <ofile.h>

+ Collaboration diagram for FILECont:

List of all members.

Public Member Functions

 FILECont (FILE *iFP)
virtual ~FILECont ()
int close (void)
int read (char *buf, int maxlen)
int seek (int posn)
int tell (int &posn)
int write (const char *buf)

Private Attributes

std::string filename_
FILE * fp
int nCopies

Friends

class OFile

Detailed Description

Definition at line 20 of file ofile.h.


Constructor & Destructor Documentation

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

Definition at line 27 of file ofile.h.

virtual FILECont::~FILECont ( ) [inline, virtual]

Definition at line 28 of file ofile.h.

References fp.


Member Function Documentation

int FILECont::close ( void  )
int FILECont::read ( char *  buf,
int  maxlen 
)
int FILECont::seek ( int  posn)
int FILECont::tell ( int &  posn)
int FILECont::write ( const char *  buf)

Friends And Related Function Documentation

friend class OFile [friend]

Definition at line 29 of file ofile.h.


Member Data Documentation

std::string FILECont::filename_ [private]

Definition at line 22 of file ofile.h.

FILE* FILECont::fp [private]

Definition at line 24 of file ofile.h.

Referenced by OFile::isTrue(), and ~FILECont().

int FILECont::nCopies [private]

Definition at line 25 of file ofile.h.

Referenced by OFile::OFile().


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