TraDemGen Logo  1.00.0
C++ Simulated Travel Demand Generation Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
TRADEMGEN::TRADEMGEN_Abstract Struct Reference

#include <trademgen/TRADEMGEN_Abstract.hpp>

+ Inheritance diagram for TRADEMGEN::TRADEMGEN_Abstract:

List of all members.

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

 TRADEMGEN_Abstract ()
 TRADEMGEN_Abstract (const TRADEMGEN_Abstract &)
virtual ~TRADEMGEN_Abstract ()

Detailed Description

Base class for the TRADEMGEN interface structures.

Definition at line 16 of file TRADEMGEN_Abstract.hpp.


Constructor & Destructor Documentation

TRADEMGEN::TRADEMGEN_Abstract::TRADEMGEN_Abstract ( )
inlineprotected

Protected Default Constructor to ensure this class is abtract.

Definition at line 33 of file TRADEMGEN_Abstract.hpp.

TRADEMGEN::TRADEMGEN_Abstract::TRADEMGEN_Abstract ( const TRADEMGEN_Abstract )
inlineprotected

Definition at line 34 of file TRADEMGEN_Abstract.hpp.

virtual TRADEMGEN::TRADEMGEN_Abstract::~TRADEMGEN_Abstract ( )
inlineprotectedvirtual

Destructor.

Definition at line 37 of file TRADEMGEN_Abstract.hpp.


Member Function Documentation

virtual void TRADEMGEN::TRADEMGEN_Abstract::toStream ( std::ostream &  ioOut) const
pure virtual

Dump a structure into an output stream.

Parameters:
ostream&the output stream.

Implemented in TRADEMGEN::DBParams.

virtual void TRADEMGEN::TRADEMGEN_Abstract::fromStream ( std::istream &  ioIn)
pure virtual

Read a structure from an input stream.

Parameters:
istream&the input stream.

Implemented in TRADEMGEN::DBParams.

Referenced by operator>>().

virtual std::string TRADEMGEN::TRADEMGEN_Abstract::toString ( ) const
pure virtual

Get the serialised version of the structure.

Implemented in TRADEMGEN::DBParams.


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