Points&Forces (core)
Software tools facilitating the task of surveying architecture
|
#include <a_base.h>
Classes | |
class | file_open_error |
class | file_read_error |
class | file_write_error |
Public Member Functions | |
a_base () | |
virtual const std::string | classname () |
virtual void | read (std::istream &i) |
virtual void | write (std::ostream &o) const |
void | read (const std::string &file_in) |
void | write (const std::string &file_out) const |
void | small (double tol) |
double | small () const |
Static Public Member Functions | |
static const std::string | help () |
Protected Attributes | |
double | verysmall_ |
Friends | |
std::istream & | operator>> (std::istream &in, a_base &o) |
std::ostream & | operator<< (std::ostream &out, const a_base &o) |
std::istream & | operator>> (std::istream &in, a_base *o) |
std::ostream & | operator<< (std::ostream &out, const a_base *o) |
|
inlinevirtual |
return class name: should be overridden by children classes
Reimplemented in a_unit_system, a_unit_base, a_unit, a_triangle, a_text_base, a_text, a_tetrahedron, a_segment, a_point2, a_point, a_plane, a_mat_base, a_geom_base, a_coord_base, a_coord, and a_circle.
|
static |
get help about class (without need to create object): should be overridden by children classes
Definition at line 21 of file a_base.cxx.
void a_base::read | ( | const std::string & | file_in | ) |
read object from file: meant to be reused by children classes
Definition at line 34 of file a_base.cxx.
|
inlinevirtual |
read object from stream: should be overridden by children classes
Reimplemented in a_unit_system, a_unit, a_triangle, a_tetrahedron, a_segment, a_point2, a_point, a_plane, a_mat, a_coord, and a_circle.
Definition at line 38 of file a_base.h.
void a_base::write | ( | const std::string & | file_out | ) | const |
write object to file: meant to be reused by children classes
Definition at line 45 of file a_base.cxx.
|
inlinevirtual |
write object to stream: should be overridden by children classes
Reimplemented in a_unit_system, a_unit, a_triangle, a_tetrahedron, a_segment, a_point2, a_point, a_plane, a_mat, a_coord, and a_circle.
Definition at line 40 of file a_base.h.
|
friend |
write object to stream: meant to be reused by children classes
Definition at line 62 of file a_base.cxx.
|
friend |
write object refered by pointer to stream: meant to be reused by children classes
Definition at line 74 of file a_base.cxx.
|
friend |
read object from stream: meant to be reused by children classes
Definition at line 56 of file a_base.cxx.
|
friend |
read object refered by pointer from stream: meant to be reused by children classes
Definition at line 68 of file a_base.cxx.