Rudiments
Public Member Functions
filedestination Class Reference

Inherits logdestination.

List of all members.

Public Member Functions

 filedestination ()
 filedestination (const filedestination &f)
filedestinationoperator= (const filedestination &f)
virtual ~filedestination ()
bool open (const char *filename)
void close ()

Detailed Description

The filedestination class writes log data to a file.


Constructor & Destructor Documentation

filedestination::filedestination ( )

Creates an instance of the filedestination class.

filedestination::filedestination ( const filedestination f)

Creates an instance of the filedestination class that is a copy of "f".

virtual filedestination::~filedestination ( ) [virtual]

Deletes this instance of the filedestination class.


Member Function Documentation

void filedestination::close ( )

Closes the file as a logging destination.

bool filedestination::open ( const char *  filename)

Opens file "filename" as a logging destination.

filedestination& filedestination::operator= ( const filedestination f)

Makes this instance of the filedestination class identical to "f".