StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
stdair::TimePeriodKey Struct Reference

Key of time-period. More...

#include <stdair/bom/TimePeriodKey.hpp>

+ Inheritance diagram for stdair::TimePeriodKey:

List of all members.

Public Member Functions

 TimePeriodKey (const Time_T &, const Time_T &)
 TimePeriodKey (const TimePeriodKey &)
 ~TimePeriodKey ()
const Time_TgetTimeRangeStart () const
const Time_TgetTimeRangeEnd () const
void toStream (std::ostream &ioOut) const
void fromStream (std::istream &ioIn)
const std::string toString () const

Detailed Description

Key of time-period.

Definition at line 15 of file TimePeriodKey.hpp.

Constructor & Destructor Documentation

stdair::TimePeriodKey::TimePeriodKey ( const Time_T iTimeRangeStart,
const Time_T iTimeRangeEnd 

Main constructor.

Definition at line 21 of file TimePeriodKey.cpp.

stdair::TimePeriodKey::TimePeriodKey ( const TimePeriodKey iKey)

Copy constructor.

Definition at line 28 of file TimePeriodKey.cpp.

stdair::TimePeriodKey::~TimePeriodKey ( )


Definition at line 34 of file TimePeriodKey.cpp.

Member Function Documentation

const Time_T& stdair::TimePeriodKey::getTimeRangeStart ( ) const

Get the time period start.

Definition at line 35 of file TimePeriodKey.hpp.

Referenced by stdair::TimePeriod::getTimeRangeStart().

const Time_T& stdair::TimePeriodKey::getTimeRangeEnd ( ) const

Get the time period end.

Definition at line 42 of file TimePeriodKey.hpp.

Referenced by stdair::TimePeriod::getTimeRangeEnd().

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

Dump a Business Object Key into an output stream.

ostream&the output stream.

Reimplemented from stdair::KeyAbstract.

Definition at line 38 of file TimePeriodKey.cpp.

References toString().

void stdair::TimePeriodKey::fromStream ( std::istream &  ioIn)

Read a Business Object Key from an input stream.

istream&the input stream.

Reimplemented from stdair::KeyAbstract.

Definition at line 43 of file TimePeriodKey.cpp.

const std::string stdair::TimePeriodKey::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.

Reimplemented from stdair::KeyAbstract.

Definition at line 47 of file TimePeriodKey.cpp.

Referenced by stdair::TimePeriod::describeKey(), and toStream().

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