1 #ifndef __STDAIR_BOM_POLICY_HPP
2 #define __STDAIR_BOM_POLICY_HPP
18 namespace serialization {
31 template <
typename BOM>
friend class FacBom;
103 _yieldDemandMap.clear();
146 template<
class Archive>
147 void serialize (Archive& ar,
const unsigned int iFileVersion);
157 void serialisationImplementationExport()
const;
158 void serialisationImplementationImport();
224 #endif // __STDAIR_BOM_POLICY_HPP
void toStream(std::ostream &ioOut) const
void addYieldDemand(const Yield_T &, const NbOfBookings_T &)
const BookingClassList_T & getBookingClassList() const
Utility class for linking StdAir-based objects.
Handle on the StdAir library context.
std::map< const std::type_info *, BomAbstract * > HolderMap_T
Base class for the Business Object Model (BOM) layer.
void setDemand(const NbOfBookings_T &iDemand)
NbOfRequests_T NbOfBookings_T
void resetDemandForecast()
const StdDevValue_T & getStdDev() const
const std::string describeKey() const
const Revenue_T getTotalRevenue() const
std::list< BookingClass * > BookingClassList_T
std::map< const Yield_T, double > YieldDemandMap_T
const Yield_T & getYield() const
Base class for Factory layer.
const Key_T & getKey() const
void setStdDev(const StdDevValue_T &iStdDev)
void setYield(const Yield_T &iYield)
friend class boost::serialization::access
BomAbstract *const getParent() const
Key of a given policy, made of a policy code.
const HolderMap_T & getHolderMap() const
const NbOfBookings_T & getDemand() const
std::string toString() const
void fromStream(std::istream &ioIn)
const std::string toString() const
void serialize(Archive &ar, const unsigned int iFileVersion)