Class representing the actual attributes for a fare point of sale. More...
#include <stdair/bom/PosChannel.hpp>
Public Types | |
typedef PosChannelKey | Key_T |
Public Member Functions | |
void | toStream (std::ostream &ioOut) const |
void | fromStream (std::istream &ioIn) |
std::string | toString () const |
const std::string | describeKey () const |
const Key_T & | getKey () const |
BomAbstract *const | getParent () const |
const stdair::HolderMap_T & | getHolderMap () const |
const CityCode_T & | getPos () const |
const ChannelLabel_T & | getChannel () const |
Protected Member Functions | |
PosChannel (const Key_T &) | |
virtual | ~PosChannel () |
Protected Attributes | |
Key_T | _key |
BomAbstract * | _parent |
HolderMap_T | _holderMap |
Friends | |
template<typename BOM > | |
class | FacBom |
template<typename BOM > | |
class | FacCloneBom |
class | FacBomManager |
Class representing the actual attributes for a fare point of sale.
Definition at line 19 of file PosChannel.hpp.
Definition allowing to retrieve the associated BOM key type.
Definition at line 29 of file PosChannel.hpp.
|
protected |
Main constructor.
Definition at line 28 of file PosChannel.cpp.
|
protectedvirtual |
Destructor.
Definition at line 33 of file PosChannel.cpp.
|
inlinevirtual |
Dump a Business Object into an output stream.
ostream& | the output stream. |
Implements stdair::BomAbstract.
Definition at line 38 of file PosChannel.hpp.
References toString().
|
inlinevirtual |
Read a Business Object from an input stream.
istream& | the input stream. |
Implements stdair::BomAbstract.
Definition at line 47 of file PosChannel.hpp.
|
virtual |
Get the serialised version of the Business Object.
Implements stdair::BomAbstract.
Definition at line 37 of file PosChannel.cpp.
References describeKey().
Referenced by toStream().
|
inline |
Get a string describing the key.
Definition at line 58 of file PosChannel.hpp.
References _key, and stdair::PosChannelKey::toString().
Referenced by toString().
|
inline |
|
inline |
Get a reference on the parent object instance.
Definition at line 74 of file PosChannel.hpp.
References _parent.
|
inline |
Get a reference on the children holder.
Definition at line 81 of file PosChannel.hpp.
References _holderMap.
|
inline |
Get the point-of-sale.
Definition at line 88 of file PosChannel.hpp.
References _key, and stdair::PosChannelKey::getPos().
|
inline |
Get the channel.
Definition at line 95 of file PosChannel.hpp.
References _key, and stdair::PosChannelKey::getChannel().
|
friend |
Definition at line 20 of file PosChannel.hpp.
|
friend |
Definition at line 21 of file PosChannel.hpp.
|
friend |
Definition at line 22 of file PosChannel.hpp.
|
protected |
Primary key (flight number and departure date).
Definition at line 127 of file PosChannel.hpp.
Referenced by describeKey(), getChannel(), getKey(), and getPos().
|
protected |
Pointer on the parent class.
Definition at line 132 of file PosChannel.hpp.
Referenced by getParent().
|
protected |
Map holding the children.
Definition at line 137 of file PosChannel.hpp.
Referenced by getHolderMap().