$treeview $search $mathjax
Class representing the actual attributes for a family fare. More...
#include <stdair/bom/FareFamily.hpp>
Class representing the actual attributes for a family fare.
Definition at line 28 of file FareFamily.hpp.
Definition allowing to retrieve the associated BOM key type.
Definition at line 39 of file FareFamily.hpp.
stdair::FareFamily::FareFamily | ( | const Key_T & | iKey | ) | [protected] |
Constructor.
Definition at line 32 of file FareFamily.cpp.
stdair::FareFamily::~FareFamily | ( | ) | [protected, virtual] |
Destructor.
Definition at line 36 of file FareFamily.cpp.
const Key_T& stdair::FareFamily::getKey | ( | ) | const [inline] |
BomAbstract* const stdair::FareFamily::getParent | ( | ) | const [inline] |
const FamilyCode_T& stdair::FareFamily::getFamilyCode | ( | ) | const [inline] |
Get the family fare code (part of the primary key).
Definition at line 55 of file FareFamily.hpp.
References _key, and stdair::FareFamilyKey::getFamilyCode().
const HolderMap_T& stdair::FareFamily::getHolderMap | ( | ) | const [inline] |
Get the map of children holders.
Definition at line 60 of file FareFamily.hpp.
References _holderMap.
const FRAT5Curve_T& stdair::FareFamily::getFrat5Curve | ( | ) | const [inline] |
const FFDisutilityCurve_T& stdair::FareFamily::getDisutilityCurve | ( | ) | const [inline] |
Get the Disutility Curve.
Definition at line 70 of file FareFamily.hpp.
References _disutilityCurve.
const MeanValue_T& stdair::FareFamily::getMean | ( | ) | const [inline] |
const StdDevValue_T& stdair::FareFamily::getStdDev | ( | ) | const [inline] |
Definition at line 76 of file FareFamily.hpp.
References _stdDev.
const MeanStdDevPairVector_T& stdair::FareFamily::getMeanStdDev | ( | ) | const [inline] |
void stdair::FareFamily::setFrat5Curve | ( | const FRAT5Curve_T & | iFRAT5Curve | ) | [inline] |
void stdair::FareFamily::setDisutilityCurve | ( | const FFDisutilityCurve_T & | iDisutilityCurve | ) | [inline] |
void stdair::FareFamily::setMean | ( | const MeanValue_T & | iMean | ) | [inline] |
void stdair::FareFamily::setStdDev | ( | const StdDevValue_T & | iStdDev | ) | [inline] |
Definition at line 96 of file FareFamily.hpp.
References _stdDev.
void stdair::FareFamily::setMeanStdDev | ( | const MeanStdDevPairVector_T & | iMeanStdDev | ) | [inline] |
void stdair::FareFamily::toStream | ( | std::ostream & | ioOut | ) | const [inline, virtual] |
Dump a Business Object into an output stream.
ostream& | the output stream. |
Implements stdair::BomAbstract.
Definition at line 111 of file FareFamily.hpp.
References toString().
void stdair::FareFamily::fromStream | ( | std::istream & | ioIn | ) | [inline, virtual] |
Read a Business Object from an input stream.
istream& | the input stream. |
Implements stdair::BomAbstract.
Definition at line 120 of file FareFamily.hpp.
std::string stdair::FareFamily::toString | ( | ) | const [virtual] |
Get the serialised version of the Business Object.
Implements stdair::BomAbstract.
Definition at line 40 of file FareFamily.cpp.
References describeKey().
Referenced by toStream().
const std::string stdair::FareFamily::describeKey | ( | ) | const [inline] |
Get a string describing the key.
Definition at line 131 of file FareFamily.hpp.
References _key, and stdair::FareFamilyKey::toString().
Referenced by toString().
void stdair::FareFamily::serialize | ( | Archive & | ar, | |
const unsigned int | iFileVersion | |||
) | [inline] |
friend class FacBom [friend] |
Definition at line 29 of file FareFamily.hpp.
friend class FacCloneBom [friend] |
Definition at line 30 of file FareFamily.hpp.
friend class FacBomManager [friend] |
Definition at line 31 of file FareFamily.hpp.
friend class boost::serialization::access [friend] |
Definition at line 32 of file FareFamily.hpp.
Primary key (fare family code).
Definition at line 184 of file FareFamily.hpp.
Referenced by describeKey(), getFamilyCode(), getKey(), and serialize().
Pointer on the parent class (SegmentCabin).
Definition at line 189 of file FareFamily.hpp.
Referenced by getParent().
Map holding the children (BookingClass objects).
Definition at line 194 of file FareFamily.hpp.
Referenced by getHolderMap().
The associated FRAT5 curve.
Definition at line 199 of file FareFamily.hpp.
Referenced by getFrat5Curve(), and setFrat5Curve().
The associated disutility for the next higher fare family.
Definition at line 204 of file FareFamily.hpp.
Referenced by getDisutilityCurve(), and setDisutilityCurve().
Demand distribution forecast.
Definition at line 207 of file FareFamily.hpp.
Definition at line 208 of file FareFamily.hpp.
Referenced by getStdDev(), and setStdDev().
Achievable demand distribution forecast.
Definition at line 213 of file FareFamily.hpp.
Referenced by getMeanStdDev(), and setMeanStdDev().