OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

OPENTREP::KeyAbstract::KeyAbstract ( )

Protected Default Constructor to ensure this class is abtract.

Definition at line 50 of file KeyAbstract.hpp.

OPENTREP::KeyAbstract::KeyAbstract ( const KeyAbstract )

Definition at line 51 of file KeyAbstract.hpp.

virtual OPENTREP::KeyAbstract::~KeyAbstract ( )


Definition at line 56 of file KeyAbstract.hpp.

Member Function Documentation

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

Dump a Business Object into an output stream.

ostream&the output stream.
virtual void OPENTREP::KeyAbstract::fromStream ( std::istream &  )
pure virtual

Read a Business Object from an input stream.

istream&the input stream.

Referenced by operator>>().

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

Get the serialised version of the Business Object.

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: