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

Key of airport-pair. More...

#include <stdair/bom/AirlineClassListKey.hpp>

+ Inheritance diagram for stdair::AirlineClassListKey:

List of all members.

Public Member Functions

 AirlineClassListKey (const AirlineCodeList_T &, const ClassList_StringList_T &)
 AirlineClassListKey (const AirlineClassListKey &)
 ~AirlineClassListKey ()
const AirlineCodeList_TgetAirlineCodeList () const
const ClassList_StringList_TgetClassCodeList () const
void toStream (std::ostream &ioOut) const
void fromStream (std::istream &ioIn)
const std::string toString () const
template<class Archive >
void serialize (Archive &ar, const unsigned int iFileVersion)


class boost::serialization::access

Detailed Description

Key of airport-pair.

Definition at line 25 of file AirlineClassListKey.hpp.

Constructor & Destructor Documentation

stdair::AirlineClassListKey::AirlineClassListKey ( const AirlineCodeList_T iAirlineCodeList,
const ClassList_StringList_T iClassCodeList 


Definition at line 24 of file AirlineClassListKey.cpp.

stdair::AirlineClassListKey::AirlineClassListKey ( const AirlineClassListKey iKey)

Copy constructor.

Definition at line 30 of file AirlineClassListKey.cpp.

stdair::AirlineClassListKey::~AirlineClassListKey ( )


Definition at line 36 of file AirlineClassListKey.cpp.

Member Function Documentation

const AirlineCodeList_T& stdair::AirlineClassListKey::getAirlineCodeList ( ) const

Get the airline code list.

Definition at line 56 of file AirlineClassListKey.hpp.

Referenced by stdair::AirlineClassList::getAirlineCodeList().

const ClassList_StringList_T& stdair::AirlineClassListKey::getClassCodeList ( ) const

Get the class code list.

Definition at line 61 of file AirlineClassListKey.hpp.

Referenced by stdair::AirlineClassList::getClassCodeList().

void stdair::AirlineClassListKey::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 40 of file AirlineClassListKey.cpp.

References toString().

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

Read a Business Object Key from an input stream.

istream&the input stream.

Reimplemented from stdair::KeyAbstract.

Definition at line 45 of file AirlineClassListKey.cpp.

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

Reimplemented from stdair::KeyAbstract.

Definition at line 49 of file AirlineClassListKey.cpp.


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

template<class Archive >
void stdair::AirlineClassListKey::serialize ( Archive &  ar,
const unsigned int  iFileVersion 


Definition at line 86 of file AirlineClassListKey.cpp.

Friends And Related Function Documentation

friend class boost::serialization::access

Definition at line 26 of file AirlineClassListKey.hpp.

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