JWS C++ Library
C++ language utility library
|
Abstract class to write this object to an output stream. More...
#include <writeable.h>
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. |
Abstract class to write this object to an output stream.
Definition at line 66 of file writeable.h.
virtual jwscxx::base::Writeable::~Writeable | ( | ) | [inline, virtual] |
Deletes this Writeable.
Definition at line 71 of file writeable.h.
virtual void jwscxx::base::Writeable::write | ( | std::ostream & | out | ) | const throw (jwscxx::base::IO_error) [pure virtual] |
Writes this Writeable to an output stream.
Implemented in jwscxx::graphics::Camera_f, jwscxx::graphics::Camera_d, jwscxx::graphics::Stereo_camera_f, jwscxx::graphics::Stereo_camera_d, jwscxx::graphics::Parapiped_f, jwscxx::graphics::Parapiped_d, jwscxx::graphics::Polygon_f, and jwscxx::graphics::Polygon_d.
void Writeable::write | ( | const char * | fname | ) | const throw (jwscxx::base::IO_error) [virtual] |
Writes this Writeable to a file.
fname | Output file to write to. |
jwscxx::base::IO_error | Could not write to fname. |
Definition at line 68 of file writeable.cpp.