$treeview $search $mathjax
#include <stdair/bom/Inventory.hpp>
Inheritance diagram for stdair::Inventory:
Definition at line 34 of file Inventory.hpp.
typedef InventoryKey stdair::Inventory::Key_T |
Definition allowing to retrieve the associated BOM key type.
Definition at line 45 of file Inventory.hpp.
stdair::Inventory::Inventory | ( | const Key_T & | ) | [protected] |
Constructor.
Definition at line 31 of file Inventory.cpp.
stdair::Inventory::~Inventory | ( | ) | [protected] |
Destructor.
Definition at line 38 of file Inventory.cpp.
const Key_T& stdair::Inventory::getKey | ( | ) | const [inline] |
const AirlineCode_T& stdair::Inventory::getAirlineCode | ( | ) | const [inline] |
Get the airline code (inventory/primary key).
Definition at line 56 of file Inventory.hpp.
References _key, and stdair::InventoryKey::getAirlineCode().
Referenced by stdair::OnDDate::getAirlineCode(), stdair::FlightDate::getAirlineCode(), and stdair::BomRetriever::retrieveSegmentDateFromLongKey().
ForecastingMethod::EN_ForecastingMethod stdair::Inventory::getForecastingMethod | ( | ) | const |
Get the forecasting method.
Definition at line 64 of file Inventory.cpp.
References _airlineFeature, and stdair::AirlineFeature::getForecastingMethod().
UnconstrainingMethod::EN_UnconstrainingMethod stdair::Inventory::getUnconstrainingMethod | ( | ) | const |
Get the unconstraining method.
Definition at line 71 of file Inventory.cpp.
References _airlineFeature, and stdair::AirlineFeature::getUnconstrainingMethod().
PreOptimisationMethod::EN_PreOptimisationMethod stdair::Inventory::getPreOptimisationMethod | ( | ) | const |
Get the pre-optimisation method.
Definition at line 78 of file Inventory.cpp.
References _airlineFeature, and stdair::AirlineFeature::getPreOptimisationMethod().
OptimisationMethod::EN_OptimisationMethod stdair::Inventory::getOptimisationMethod | ( | ) | const |
Get the optimisation method.
Definition at line 85 of file Inventory.cpp.
References _airlineFeature, and stdair::AirlineFeature::getOptimisationMethod().
PartnershipTechnique::EN_PartnershipTechnique stdair::Inventory::getPartnershipTechnique | ( | ) | const |
Get the partnership technique.
Definition at line 92 of file Inventory.cpp.
References _airlineFeature, and stdair::AirlineFeature::getPartnershipTechnique().
BomAbstract* const stdair::Inventory::getParent | ( | ) | const [inline] |
const HolderMap_T& stdair::Inventory::getHolderMap | ( | ) | const [inline] |
FlightDate * stdair::Inventory::getFlightDate | ( | const std::string & | iFlightDateKeyStr | ) | const |
Get a pointer on the FlightDate object corresponding to the given key.
const | std::string& The flight-date key. |
Definition at line 50 of file Inventory.cpp.
Referenced by getFlightDate(), stdair::BomRetriever::retrieveFlightDateFromKey(), and stdair::BomRetriever::retrieveFlightDateFromLongKey().
FlightDate * stdair::Inventory::getFlightDate | ( | const FlightDateKey & | ) | const |
Get a pointer on the FlightDate object corresponding to the given key.
const | FlightDateKey& The flight-date key |
Definition at line 58 of file Inventory.cpp.
References getFlightDate(), and stdair::FlightDateKey::toString().
AirlineFeature* stdair::Inventory::getAirlineFeature | ( | ) | const [inline] |
void stdair::Inventory::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 132 of file Inventory.hpp.
References toString().
void stdair::Inventory::fromStream | ( | std::istream & | ioIn | ) | [inline, virtual] |
Read a Business Object from an input stream.
istream& | the input stream. |
Implements stdair::BomAbstract.
Definition at line 141 of file Inventory.hpp.
std::string stdair::Inventory::toString | ( | ) | const [virtual] |
Get the serialised version of the Business Object.
Implements stdair::BomAbstract.
Definition at line 42 of file Inventory.cpp.
References describeKey().
Referenced by toStream().
const std::string stdair::Inventory::describeKey | ( | ) | const [inline] |
Get a string describing the key.
Definition at line 152 of file Inventory.hpp.
References _key, and stdair::InventoryKey::toString().
Referenced by stdair::BomRetriever::retrieveFullKeyFromSegmentDate(), and toString().
void stdair::Inventory::serialize | ( | Archive & | ar, | |
const unsigned int | iFileVersion | |||
) |
friend class FacBom [friend] |
Definition at line 35 of file Inventory.hpp.
friend class FacCloneBom [friend] |
Definition at line 36 of file Inventory.hpp.
friend class FacBomManager [friend] |
Definition at line 37 of file Inventory.hpp.
friend class boost::serialization::access [friend] |
Definition at line 38 of file Inventory.hpp.
Key_T stdair::Inventory::_key [protected] |
Primary key (airline code).
Definition at line 204 of file Inventory.hpp.
Referenced by describeKey(), getAirlineCode(), getKey(), and serialize().
BomAbstract* stdair::Inventory::_parent [protected] |
Pointer on the parent class (BomRoot).
Definition at line 209 of file Inventory.hpp.
Referenced by getParent().
AirlineFeature* stdair::Inventory::_airlineFeature [protected] |
Features specific to the airline.
Definition at line 214 of file Inventory.hpp.
Referenced by getAirlineFeature(), getForecastingMethod(), getOptimisationMethod(), getPartnershipTechnique(), getPreOptimisationMethod(), and getUnconstrainingMethod().
HolderMap_T stdair::Inventory::_holderMap [protected] |
Map holding the children (FlightDate objects).
Definition at line 219 of file Inventory.hpp.
Referenced by getHolderMap().