OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OPENTREP::OPENTREP_Abstract Struct Referenceabstract

#include <opentrep/OPENTREP_Abstract.hpp>

+ Inheritance diagram for OPENTREP::OPENTREP_Abstract:

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 ()
 

Detailed Description

Base class for the OPENTREP interface structures.

Definition at line 16 of file OPENTREP_Abstract.hpp.

Constructor & Destructor Documentation

OPENTREP::OPENTREP_Abstract::OPENTREP_Abstract ( )
inlineprotected

Protected Default Constructor to ensure this class is abtract.

Definition at line 43 of file OPENTREP_Abstract.hpp.

OPENTREP::OPENTREP_Abstract::OPENTREP_Abstract ( const OPENTREP_Abstract )
inlineprotected

Definition at line 44 of file OPENTREP_Abstract.hpp.

virtual OPENTREP::OPENTREP_Abstract::~OPENTREP_Abstract ( )
inlineprotectedvirtual

Destructor.

Definition at line 49 of file OPENTREP_Abstract.hpp.

Member Function Documentation

virtual void OPENTREP::OPENTREP_Abstract::toStream ( std::ostream &  ioOut) const
pure virtual

Dump a structure into an output stream.

Parameters
ostream&the output stream.

Implemented in OPENTREP::Location, OPENTREP::DBParams, OPENTREP::Names, OPENTREP::LocationKey, OPENTREP::DistanceErrorRule, and OPENTREP::NameMatrix.

virtual void OPENTREP::OPENTREP_Abstract::fromStream ( std::istream &  ioIn)
pure virtual

Read a structure from an input stream.

Parameters
istream&the input stream.

Implemented in OPENTREP::Location, OPENTREP::DBParams, OPENTREP::Names, OPENTREP::LocationKey, OPENTREP::DistanceErrorRule, and OPENTREP::NameMatrix.

Referenced by operator>>().

virtual std::string OPENTREP::OPENTREP_Abstract::toString ( ) const
pure virtual

The documentation for this struct was generated from the following file: