RMOL Logo  1.00.0
C++ library of Revenue Management and Optimisation classes and functions
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
RMOL::PolicyHelper Class Reference

#include <rmol/bom/PolicyHelper.hpp>

List of all members.

Static Public Member Functions

static void diffBetweenTwoPolicies (stdair::NestingNode &, const stdair::Policy &, const stdair::Policy &)
static void computeLastNode (stdair::NestingNode &, const stdair::Policy &, const stdair::SegmentCabin &)
static bool isNested (const stdair::Policy &, const stdair::Policy &)

Detailed Description

Class holding helper methods.

Definition at line 28 of file PolicyHelper.hpp.

Member Function Documentation

void RMOL::PolicyHelper::diffBetweenTwoPolicies ( stdair::NestingNode &  ioNode,
const stdair::Policy &  iFirstPolicy,
const stdair::Policy &  iSecondPolicy 

Find the booking class list representing the difference between two Policies (first minus second)

Definition at line 24 of file PolicyHelper.cpp.

void RMOL::PolicyHelper::computeLastNode ( stdair::NestingNode &  ioNode,
const stdair::Policy &  iPolicy,
const stdair::SegmentCabin &  iSegmentCabin 

Compute the list of the booking class which is not in the node.

Definition at line 164 of file PolicyHelper.cpp.

bool RMOL::PolicyHelper::isNested ( const stdair::Policy &  iFirstPolicy,
const stdair::Policy &  iSecondPolicy 

Check if the first policy is nested under the second policy.

Definition at line 220 of file PolicyHelper.cpp.

The documentation for this class was generated from the following files: