StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
stdair::RMEventStruct Struct Reference

#include <stdair/bom/RMEventStruct.hpp>

+ Inheritance diagram for stdair::RMEventStruct:

Public Member Functions

const AirlineCode_TgetAirlineCode () const
 
const KeyDescription_TgetFlightDateDescription () const
 
const DateTime_TgetRMEventTime () const
 
void toStream (std::ostream &ioOut) const
 
void fromStream (std::istream &ioIn)
 
const std::string describe () const
 
 RMEventStruct (const AirlineCode_T &, const KeyDescription_T &, const DateTime_T &)
 
 RMEventStruct (const RMEventStruct &)
 
 RMEventStruct ()
 
 ~RMEventStruct ()
 

Detailed Description

Structure holding the elements of a snapshot .

Definition at line 19 of file RMEventStruct.hpp.

Constructor & Destructor Documentation

stdair::RMEventStruct::RMEventStruct ( const AirlineCode_T iAirlineCode,
const KeyDescription_T iFlightDateDescription,
const DateTime_T iRMEventTime 
)

Constructor.

Definition at line 27 of file RMEventStruct.cpp.

stdair::RMEventStruct::RMEventStruct ( const RMEventStruct iRMEvent)

Copy constructor.

Definition at line 19 of file RMEventStruct.cpp.

stdair::RMEventStruct::RMEventStruct ( )

Default constructor.
It is private so that it can not be used.

Definition at line 13 of file RMEventStruct.cpp.

stdair::RMEventStruct::~RMEventStruct ( )

Destructor.

Definition at line 36 of file RMEventStruct.cpp.

Member Function Documentation

const AirlineCode_T& stdair::RMEventStruct::getAirlineCode ( ) const
inline

Get the airline code.

Definition at line 23 of file RMEventStruct.hpp.

const KeyDescription_T& stdair::RMEventStruct::getFlightDateDescription ( ) const
inline

Get the string describing the flight-date key.

Definition at line 28 of file RMEventStruct.hpp.

const DateTime_T& stdair::RMEventStruct::getRMEventTime ( ) const
inline

Get the snapshot action time.

Definition at line 33 of file RMEventStruct.hpp.

void stdair::RMEventStruct::toStream ( std::ostream &  ioOut) const

Dump a Business Object into an output stream.

Parameters
ostream&the output stream.

Definition at line 40 of file RMEventStruct.cpp.

References describe().

void stdair::RMEventStruct::fromStream ( std::istream &  ioIn)
virtual

Read a Business Object from an input stream.

Parameters
istream&the input stream.

Reimplemented from stdair::StructAbstract.

Definition at line 45 of file RMEventStruct.cpp.

const std::string stdair::RMEventStruct::describe ( ) const
virtual

Display of the structure.

Implements stdair::StructAbstract.

Definition at line 49 of file RMEventStruct.cpp.

Referenced by toStream().


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