OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
OPENTREP::KeyAbstract Class Referenceabstract

Base class for the Business Object Model (KEY) layer. More...

#include <opentrep/bom/KeyAbstract.hpp>

Public Member Functions

virtual void toStream (std::ostream &) const =0
 
virtual void fromStream (std::istream &)=0
 
virtual std::string toString () const =0
 
virtual std::string describe () const =0
 

Protected Member Functions

 KeyAbstract ()
 
 KeyAbstract (const KeyAbstract &)
 
virtual ~KeyAbstract ()
 

Detailed Description

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

Definition at line 17 of file KeyAbstract.hpp.

Constructor & Destructor Documentation

◆ KeyAbstract() [1/2]

OPENTREP::KeyAbstract::KeyAbstract ( )
inlineprotected

Protected Default Constructor to ensure this class is abtract.

Definition at line 50 of file KeyAbstract.hpp.

Referenced by KeyAbstract().

◆ KeyAbstract() [2/2]

OPENTREP::KeyAbstract::KeyAbstract ( const KeyAbstract & )
inlineprotected

Definition at line 51 of file KeyAbstract.hpp.

References KeyAbstract().

◆ ~KeyAbstract()

virtual OPENTREP::KeyAbstract::~KeyAbstract ( )
inlineprotectedvirtual

Destructor.

Definition at line 56 of file KeyAbstract.hpp.

Member Function Documentation

◆ toStream()

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

Dump a Business Object into an output stream.

Parameters
ostream&the output stream.

◆ fromStream()

virtual void OPENTREP::KeyAbstract::fromStream ( std::istream & )
pure virtual

Read a Business Object from an input stream.

Parameters
istream&the input stream.

Referenced by operator>>().

◆ toString()

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

Get the serialised version of the Business Object.

◆ describe()

virtual std::string OPENTREP::KeyAbstract::describe ( ) const
pure virtual

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


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