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::SimulationStatusKey Struct Reference

#include <tvlsim/bom/SimulationStatusKey.hpp>

+ Inheritance diagram for TVLSIM::SimulationStatusKey:

List of all members.

Public Member Functions

const SimulatorID_TgetSimulationStatusID () const
void toStream (std::ostream &ioOut) const
void fromStream (std::istream &ioIn)
const std::string toString () const
 SimulationStatusKey (const SimulatorID_T &iSimulatorID)
 SimulationStatusKey (const SimulationStatusKey &)
 ~SimulationStatusKey ()

Detailed Description

Key of eventqueue.

Definition at line 19 of file SimulationStatusKey.hpp.


Constructor & Destructor Documentation

TVLSIM::SimulationStatusKey::SimulationStatusKey ( const SimulatorID_T iSimulatorID)

Main constructor.

Definition at line 13 of file SimulationStatusKey.cpp.

TVLSIM::SimulationStatusKey::SimulationStatusKey ( const SimulationStatusKey iKey)

Copy Constructor.

Definition at line 24 of file SimulationStatusKey.cpp.

TVLSIM::SimulationStatusKey::~SimulationStatusKey ( )

Destructor.

Definition at line 29 of file SimulationStatusKey.cpp.


Member Function Documentation

const SimulatorID_T& TVLSIM::SimulationStatusKey::getSimulationStatusID ( ) const
inline

Get the ID of the SimulationStatus object.

Definition at line 26 of file SimulationStatusKey.hpp.

void TVLSIM::SimulationStatusKey::toStream ( std::ostream &  ioOut) const

Dump a Business Object Key into an output stream.

Parameters:
ostream&the output stream.

Definition at line 33 of file SimulationStatusKey.cpp.

References toString().

void TVLSIM::SimulationStatusKey::fromStream ( std::istream &  ioIn)

Read a Business Object Key from an input stream.

Parameters:
istream&the input stream.

Definition at line 38 of file SimulationStatusKey.cpp.

const std::string TVLSIM::SimulationStatusKey::toString ( ) const

Get the serialised version of the Business Object Key.
That string is unique, at the level of a given Business Object, when among children of a given parent Business Object.
For instance, "H" and "K" allow to differentiate among two marketing classes for the same segment-date.

Definition at line 42 of file SimulationStatusKey.cpp.

Referenced by TVLSIM::SimulationStatus::describeKey(), and toStream().


The documentation for this struct was generated from the following files: