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

Key of date-period. More...

#include <stdair/bom/YieldFeaturesKey.hpp>

+ Inheritance diagram for stdair::YieldFeaturesKey:

List of all members.

Public Member Functions

 YieldFeaturesKey (const TripType_T &, const CabinCode_T &)
 YieldFeaturesKey (const YieldFeaturesKey &)
 ~YieldFeaturesKey ()
const TripType_TgetTripType () const
const CabinCode_TgetCabinCode () const
void toStream (std::ostream &ioOut) const
void fromStream (std::istream &ioIn)
const std::string toString () const

Detailed Description

Key of date-period.

Definition at line 18 of file YieldFeaturesKey.hpp.

Constructor & Destructor Documentation

stdair::YieldFeaturesKey::YieldFeaturesKey ( const TripType_T iTripType,
const CabinCode_T iCabin 

Main constructor.

Definition at line 21 of file YieldFeaturesKey.cpp.

stdair::YieldFeaturesKey::YieldFeaturesKey ( const YieldFeaturesKey iKey)

Copy constructor.

Definition at line 27 of file YieldFeaturesKey.cpp.

stdair::YieldFeaturesKey::~YieldFeaturesKey ( )


Definition at line 32 of file YieldFeaturesKey.cpp.

Member Function Documentation

const TripType_T& stdair::YieldFeaturesKey::getTripType ( ) const

Get the fare trip type.

Definition at line 44 of file YieldFeaturesKey.hpp.

Referenced by stdair::YieldFeatures::getTripType().

const CabinCode_T& stdair::YieldFeaturesKey::getCabinCode ( ) const

Get the cabin.

Definition at line 51 of file YieldFeaturesKey.hpp.

Referenced by stdair::YieldFeatures::getCabinCode().

void stdair::YieldFeaturesKey::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 36 of file YieldFeaturesKey.cpp.

References toString().

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

Read a Business Object Key from an input stream.

istream&the input stream.

Reimplemented from stdair::KeyAbstract.

Definition at line 41 of file YieldFeaturesKey.cpp.

const std::string stdair::YieldFeaturesKey::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 45 of file YieldFeaturesKey.cpp.

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

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