RMOL Logo  1.00.8
C++ library of Revenue Management and Optimisation classes and functions
RMOL::PolicyHelper Class Reference

#include <rmol/bom/PolicyHelper.hpp>

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

◆ diffBetweenTwoPolicies()

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

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

Definition at line 23 of file PolicyHelper.cpp.

◆ computeLastNode()

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

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

Definition at line 163 of file PolicyHelper.cpp.

◆ isNested()

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

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

Definition at line 220 of file PolicyHelper.cpp.

References isNested().

Referenced by isNested().


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