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

#include <simcrs/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

SIMCRS::BomAbstract::BomAbstract ( )
inlineprotected

Protected Default Constructor to ensure this class is abtract.

Definition at line 40 of file BomAbstract.hpp.

SIMCRS::BomAbstract::BomAbstract ( const BomAbstract )
inlineprotected

Definition at line 41 of file BomAbstract.hpp.

virtual SIMCRS::BomAbstract::~BomAbstract ( )
inlineprotectedvirtual

Destructor.

Definition at line 44 of file BomAbstract.hpp.


Member Function Documentation

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

Dump a Business Object into an output stream.

Parameters:
ostream&the output stream.
virtual void SIMCRS::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 SIMCRS::BomAbstract::toString ( ) const
pure virtual

Get the serialised version of the Business Object.

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

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

virtual std::string SIMCRS::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: