TvlSim Logo  1.01.6
C++ Simulated Travel-Oriented Distribution System Library
Loading...
Searching...
No Matches
TVLSIM::BomAbstract Class Referenceabstract

#include <tvlsim/bom/BomAbstract.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
 
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

◆ BomAbstract() [1/2]

TVLSIM::BomAbstract::BomAbstract ( )
inlineprotected

Protected Default Constructor to ensure this class is abtract.

Definition at line 40 of file BomAbstract.hpp.

◆ BomAbstract() [2/2]

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

Definition at line 41 of file BomAbstract.hpp.

◆ ~BomAbstract()

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

Destructor.

Definition at line 44 of file BomAbstract.hpp.

Member Function Documentation

◆ toStream()

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

Dump a Business Object into an output stream.

Parameters
ostream&the output stream.

◆ fromStream()

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

◆ toString()

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

Get the serialised version of the Business Object.

◆ describeKey()

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

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

◆ describeShortKey()

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 Symbol Documentation

◆ FacBomAbstract

friend class FacBomAbstract
friend

Definition at line 15 of file BomAbstract.hpp.


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