TvlSim Logo  1.00.0
C++ Simulated Travel-Oriented Distribution System Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TVLSIM::BomAbstract Class Reference

#include <tvlsim/bom/BomAbstract.hpp>

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
virtual std::string describeKey () const =0
virtual std::string describeShortKey () const =0

Protected Member Functions

 BomAbstract ()
 BomAbstract (const BomAbstract &)
virtual ~BomAbstract ()

Friends

class FacBomAbstract

Detailed Description

Base class for the Business Object Model (BOM) layer.

Definition at line 14 of file BomAbstract.hpp.


Constructor & Destructor Documentation

TVLSIM::BomAbstract::BomAbstract ( )
inlineprotected

Protected Default Constructor to ensure this class is abtract.

Definition at line 40 of file BomAbstract.hpp.

TVLSIM::BomAbstract::BomAbstract ( const BomAbstract )
inlineprotected

Definition at line 41 of file BomAbstract.hpp.

virtual TVLSIM::BomAbstract::~BomAbstract ( )
inlineprotectedvirtual

Destructor.

Definition at line 44 of file BomAbstract.hpp.


Member Function Documentation

virtual void TVLSIM::BomAbstract::toStream ( std::ostream &  ioOut) const
pure virtual

Dump a Business Object into an output stream.

Parameters:
ostream&the output stream.
virtual void TVLSIM::BomAbstract::fromStream ( std::istream &  ioIn)
pure virtual

Read a Business Object from an input stream.

Parameters:
istream&the input stream.

Referenced by operator>>().

virtual std::string TVLSIM::BomAbstract::toString ( ) const
pure virtual

Get the serialised version of the Business Object.

virtual std::string TVLSIM::BomAbstract::describeKey ( ) const
pure virtual

Get a string describing the whole key (differentiating two objects at any level).

virtual std::string TVLSIM::BomAbstract::describeShortKey ( ) const
pure virtual

Get a string describing the short key (differentiating two objects at the same level).


Friends And Related Function Documentation

friend class FacBomAbstract
friend

Definition at line 15 of file BomAbstract.hpp.


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