#include <Streamable.h>
Inheritance diagram for Go::Streamable:
Public Member Functions | |
virtual void | read (std::istream &is)=0 |
read object from stream | |
virtual void | write (std::ostream &os) const =0 |
write object to stream | |
Classes | |
class | EofException |
objects which can be read from and written to a stream.
Definition at line 51 of file Streamable.h.
virtual void Go::Streamable::read | ( | std::istream & | is | ) | [pure virtual] |
read object from stream
is | stream from which object is read |
Implemented in Go::BoundedSurface, Go::BsplineBasis, Go::CompositeSurface, Go::CurveOnSurface, Go::LineCloud, Go::ObjectHeader, Go::PointCloud< Dim >, Go::RectGrid, Go::SplineCurve, and Go::SplineSurface.
Referenced by Go::operator>>().
virtual void Go::Streamable::write | ( | std::ostream & | os | ) | const [pure virtual] |
write object to stream
os | stream to which object is written |
Implemented in Go::BoundedSurface, Go::BsplineBasis, Go::CompositeSurface, Go::CurveOnSurface, Go::LineCloud, Go::ObjectHeader, Go::PointCloud< Dim >, Go::RectGrid, Go::SplineCurve, and Go::SplineSurface.
Referenced by Go::operator<<().