JWS C++ Library
C++ language utility library
jwscxx::base::Writeable Class Reference

Abstract class to write this object to an output stream. More...

#include <writeable.h>

Inheritance diagram for jwscxx::base::Writeable:

List of all members.

Public Member Functions

virtual ~Writeable ()
 Deletes this Writeable.
virtual void write (std::ostream &out) const =0 throw (jwscxx::base::IO_error)
 Writes this Writeable to an output stream.
virtual void write (const char *fname) const throw (jwscxx::base::IO_error)
 Writes this Writeable to a file.

Detailed Description

Abstract class to write this object to an output stream.

Definition at line 66 of file writeable.h.


Constructor & Destructor Documentation

virtual jwscxx::base::Writeable::~Writeable ( ) [inline, virtual]

Deletes this Writeable.

Definition at line 71 of file writeable.h.


Member Function Documentation

void Writeable::write ( const char *  fname) const throw (jwscxx::base::IO_error) [virtual]

Writes this Writeable to a file.

Parameters:
fnameOutput file to write to.
Exceptions:
jwscxx::base::IO_errorCould not write to fname.

Definition at line 68 of file writeable.cpp.


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