#include <opentrep/OPENTREP_Abstract.hpp>
Public Member Functions | |
virtual void | toStream (std::ostream &ioOut) const =0 |
virtual void | fromStream (std::istream &ioIn)=0 |
virtual std::string | toString () const =0 |
Protected Member Functions | |
OPENTREP_Abstract () | |
OPENTREP_Abstract (const OPENTREP_Abstract &) | |
virtual | ~OPENTREP_Abstract () |
Base class for the OPENTREP interface structures.
Definition at line 16 of file OPENTREP_Abstract.hpp.
|
inlineprotected |
Protected Default Constructor to ensure this class is abtract.
Definition at line 43 of file OPENTREP_Abstract.hpp.
Referenced by OPENTREP_Abstract().
|
inlineprotected |
Definition at line 44 of file OPENTREP_Abstract.hpp.
References OPENTREP_Abstract().
|
inlineprotectedvirtual |
Destructor.
Definition at line 49 of file OPENTREP_Abstract.hpp.
|
pure virtual |
Dump a structure into an output stream.
ostream& | the output stream. |
Implemented in OPENTREP::CityDetails, OPENTREP::DBParams, OPENTREP::DistanceErrorRule, OPENTREP::Location, OPENTREP::LocationKey, OPENTREP::NameMatrix, and OPENTREP::Names.
|
pure virtual |
Read a structure from an input stream.
istream& | the input stream. |
Implemented in OPENTREP::CityDetails, OPENTREP::DBParams, OPENTREP::DistanceErrorRule, OPENTREP::Location, OPENTREP::LocationKey, OPENTREP::NameMatrix, and OPENTREP::Names.
Referenced by operator>>().
|
pure virtual |
Get the serialised version of the structure.
Implemented in OPENTREP::CityDetails, OPENTREP::DBParams, OPENTREP::DistanceErrorRule, OPENTREP::Location, OPENTREP::LocationKey, OPENTREP::NameMatrix, and OPENTREP::Names.