KJB
|
Abstract class to write this object to an output stream. More...
#include <l_writeable.h>
Public Member Functions | |
virtual | ~Writeable () |
Deletes this Writeable. More... | |
virtual void | write (std::ostream &out) const =0 |
Writes this Writeable to an output stream. More... | |
virtual void | write (const char *fname) const |
Writes this Writeable to a file. More... | |
Abstract class to write this object to an output stream.
|
inlinevirtual |
Deletes this Writeable.
|
pure virtual |
Writes this Writeable to an output stream.
Implemented in kjb::Line_segment, kjb::Edge_segment_set, kjb::Vanishing_point, kjb::Polymesh, kjb::Perspective_camera, kjb::Features_manager, kjb::Parapiped, kjb::Frustum, kjb::Model_edge, kjb::Color_histogram, kjb::Learned_discrete_prior, kjb::Edge_segment, kjb::Cylinder_section, kjb::Corner, kjb::Hog_responses, kjb::Parametric_frustum, kjb::Parametric_parapiped, kjb::Triangular_mesh, kjb::Circle_in_3d, kjb::Manhattan_hog, kjb::Collinear_segment_chain, kjb::Line_segment_set, kjb::Cylinder, kjb::Parametric_sphere, and kjb::Polygon.
|
virtual |
Writes this Writeable to a file.
fname | Output file to write to. |
kjb::IO_error | Could not write to fname. |
Reimplemented in kjb::Edge_segment_set, kjb::Polymesh, kjb::Perspective_camera, kjb::Features_manager, kjb::Color_histogram, kjb::Learned_discrete_prior, kjb::Parametric_frustum, kjb::Parametric_parapiped, kjb::Triangular_mesh, kjb::Circle_in_3d, kjb::Line_segment_set, kjb::Cylinder, and kjb::Parametric_sphere.