1 #ifndef __STDAIR_BOM_INVENTORY_HPP 2 #define __STDAIR_BOM_INVENTORY_HPP 20 namespace serialization {
35 template <
typename BOM>
friend class FacBom;
38 friend class boost::serialization::access;
57 return _key.getAirlineCode();
95 FlightDate* getFlightDate (
const std::string& iFlightDateKeyStr)
const;
113 return _airlineFeature;
121 _airlineFeature = &iAirlineFeature;
147 std::string toString()
const;
153 return _key.toString();
162 template<
class Archive>
163 void serialize (Archive& ar,
const unsigned int iFileVersion);
173 void serialisationImplementationExport()
const;
174 void serialisationImplementationImport();
188 #if BOOST_VERSION == 106300 228 #endif // __STDAIR_BOM_INVENTORY_HPP
void toStream(std::ostream &ioOut) const
AirlineFeature * _airlineFeature
Key of a given inventory, made of the airline code.
Base class for Factory layer.
const Key_T & getKey() const
Class representing the actual attributes for an airline flight-date.
std::map< const std::type_info *, BomAbstract * > HolderMap_T
void fromStream(std::istream &ioIn)
std::string AirlineCode_T
Class representing the actual attributes for an airline inventory.
AirlineFeature * getAirlineFeature() const
const std::string describeKey() const
const HolderMap_T & getHolderMap() const
Handle on the StdAir library context.
Utility class for linking StdAir-based objects.
BomAbstract *const getParent() const
const AirlineCode_T & getAirlineCode() const
Class representing various configuration parameters (e.g., revenue management methods such EMSRb or M...
Base class for the Business Object Model (BOM) layer.
Key of a given flight-date, made of a flight number and a departure date.
Base class for Factory layer.