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

Key of point of sale and channel. More...

#include <stdair/bom/PosChannelKey.hpp>

+ Inheritance diagram for stdair::PosChannelKey:

List of all members.

Public Member Functions

 PosChannelKey (const stdair::CityCode_T &, const stdair::ChannelLabel_T &)
 PosChannelKey (const PosChannelKey &)
 ~PosChannelKey ()
const stdair::CityCode_TgetPos () const
const stdair::ChannelLabel_TgetChannel () const
void toStream (std::ostream &ioOut) const
void fromStream (std::istream &ioIn)
const std::string toString () const

Detailed Description

Key of point of sale and channel.

Definition at line 15 of file PosChannelKey.hpp.

Constructor & Destructor Documentation

stdair::PosChannelKey::PosChannelKey ( const stdair::CityCode_T iPos,
const stdair::ChannelLabel_T iChannel 

Main constructor.

Definition at line 22 of file PosChannelKey.cpp.

stdair::PosChannelKey::PosChannelKey ( const PosChannelKey iKey)

Copy constructor.

Definition at line 28 of file PosChannelKey.cpp.

stdair::PosChannelKey::~PosChannelKey ( )


Definition at line 33 of file PosChannelKey.cpp.

Member Function Documentation

const stdair::CityCode_T& stdair::PosChannelKey::getPos ( ) const

Get the point of sale.

Definition at line 43 of file PosChannelKey.hpp.

Referenced by stdair::PosChannel::getPos().

const stdair::ChannelLabel_T& stdair::PosChannelKey::getChannel ( ) const

Get the channel.

Definition at line 50 of file PosChannelKey.hpp.

Referenced by stdair::PosChannel::getChannel().

void stdair::PosChannelKey::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 37 of file PosChannelKey.cpp.

References toString().

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

Read a Business Object Key from an input stream.

istream&the input stream.

Reimplemented from stdair::KeyAbstract.

Definition at line 42 of file PosChannelKey.cpp.

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


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

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