Class representing the actual attributes for a segment-features. More...
#include <stdair/bom/AirlineClassList.hpp>
Inheritance diagram for stdair::AirlineClassList:Public Types | |
| typedef AirlineClassListKey | Key_T |
Public Member Functions | |
| const Key_T & | getKey () const |
| BomAbstract *const | getParent () const |
| const AirlineCodeList_T & | getAirlineCodeList () const |
| const ClassList_StringList_T & | getClassCodeList () const |
| const HolderMap_T & | getHolderMap () const |
| const stdair::Yield_T & | getYield () const |
| const stdair::Fare_T & | getFare () const |
| void | setYield (const Yield_T &iYield) |
| void | setFare (const Fare_T &iFare) |
| void | toStream (std::ostream &ioOut) const |
| void | fromStream (std::istream &ioIn) |
| std::string | toString () const |
| const std::string | describeKey () const |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int iFileVersion) |
Protected Member Functions | |
| AirlineClassList (const Key_T &) | |
| virtual | ~AirlineClassList () |
Protected Attributes | |
| Key_T | _key |
| BomAbstract * | _parent |
| HolderMap_T | _holderMap |
| Yield_T | _yield |
| Fare_T | _fare |
Friends | |
| template<typename BOM > | |
| class | FacBom |
| template<typename BOM > | |
| class | FacCloneBom |
| class | FacBomManager |
| class | boost::serialization::access |
Class representing the actual attributes for a segment-features.
Definition at line 27 of file AirlineClassList.hpp.
Definition allowing to retrieve the associated BOM key type.
Definition at line 38 of file AirlineClassList.hpp.
|
protected |
Main constructor.
Definition at line 34 of file AirlineClassList.cpp.
|
protectedvirtual |
Destructor.
Definition at line 39 of file AirlineClassList.cpp.
|
inline |
Get the airline class list key.
Definition at line 44 of file AirlineClassList.hpp.
References _key.
|
inline |
|
inline |
Get the airline code list (part of the primary key).
Definition at line 54 of file AirlineClassList.hpp.
References _key, and stdair::AirlineClassListKey::getAirlineCodeList().
|
inline |
Get the class code list (part of the primary key).
Definition at line 59 of file AirlineClassList.hpp.
References _key, and stdair::AirlineClassListKey::getClassCodeList().
|
inline |
Get the map of children holders.
Definition at line 64 of file AirlineClassList.hpp.
References _holderMap.
|
inline |
|
inline |
|
inline |
Definition at line 80 of file AirlineClassList.hpp.
References _yield.
|
inline |
Definition at line 84 of file AirlineClassList.hpp.
References _fare.
|
inlinevirtual |
Dump a Business Object into an output stream.
| ostream& | the output stream. |
Implements stdair::BomAbstract.
Definition at line 95 of file AirlineClassList.hpp.
References toString().
|
inlinevirtual |
Read a Business Object from an input stream.
| istream& | the input stream. |
Implements stdair::BomAbstract.
Definition at line 104 of file AirlineClassList.hpp.
|
virtual |
Get the serialised version of the Business Object.
Implements stdair::BomAbstract.
Definition at line 43 of file AirlineClassList.cpp.
References _fare, _yield, and describeKey().
Referenced by toStream().
|
inline |
Get a string describing the key.
Definition at line 115 of file AirlineClassList.hpp.
References _key, and stdair::AirlineClassListKey::toString().
Referenced by toString().
| void stdair::AirlineClassList::serialize | ( | Archive & | ar, |
| const unsigned int | iFileVersion | ||
| ) |
Serialisation.
Definition at line 65 of file AirlineClassList.cpp.
|
friend |
Definition at line 28 of file AirlineClassList.hpp.
|
friend |
Definition at line 29 of file AirlineClassList.hpp.
|
friend |
Definition at line 30 of file AirlineClassList.hpp.
|
friend |
Definition at line 31 of file AirlineClassList.hpp.
|
protected |
Primary key (flight number and departure date).
Definition at line 165 of file AirlineClassList.hpp.
Referenced by describeKey(), getAirlineCodeList(), getClassCodeList(), getKey(), and serialize().
|
protected |
Pointer on the parent class (Inventory).
Definition at line 170 of file AirlineClassList.hpp.
Referenced by getParent().
|
protected |
Map holding the children (SegmentDate and LegDate objects).
Definition at line 175 of file AirlineClassList.hpp.
Referenced by getHolderMap().
|
protected |
Definition at line 180 of file AirlineClassList.hpp.
Referenced by getYield(), serialize(), setYield(), and toString().
|
protected |
Definition at line 185 of file AirlineClassList.hpp.
Referenced by getFare(), serialize(), setFare(), and toString().
1.8.9.1