TravelCCM Logo  1.00.11
C++ Travel Customer Choice Model Library
Loading...
Searching...
No Matches
TRAVELCCM::CustomerChoiceModel Class Referenceabstract

#include <travelccm/bom/CustomerChoiceModel.hpp>

+ Inheritance diagram for TRAVELCCM::CustomerChoiceModel:

Public Member Functions

virtual const stdair::TravelSolutionStruct * chooseTravelSolution (stdair::TravelSolutionList_T &, const stdair::BookingRequestStruct &) const =0
 
virtual ~CustomerChoiceModel ()
 

Static Public Member Functions

static const CustomerChoiceModelcreate (const stdair::PassengerChoiceModel::EN_PassengerChoiceModel &)
 

Protected Member Functions

 CustomerChoiceModel ()
 
 CustomerChoiceModel (const stdair::PassengerChoiceModel::EN_PassengerChoiceModel &)
 

Detailed Description

Class implementing the customer choice.

Definition at line 22 of file CustomerChoiceModel.hpp.

Constructor & Destructor Documentation

◆ ~CustomerChoiceModel()

TRAVELCCM::CustomerChoiceModel::~CustomerChoiceModel ( )
virtual

Destructor.

Definition at line 31 of file CustomerChoiceModel.cpp.

◆ CustomerChoiceModel() [1/2]

TRAVELCCM::CustomerChoiceModel::CustomerChoiceModel ( )
protected

◆ CustomerChoiceModel() [2/2]

TRAVELCCM::CustomerChoiceModel::CustomerChoiceModel ( const stdair::PassengerChoiceModel::EN_PassengerChoiceModel & iPassengerChoiceModel)
protected

Main Constructor.

Definition at line 21 of file CustomerChoiceModel.cpp.

Member Function Documentation

◆ chooseTravelSolution()

virtual const stdair::TravelSolutionStruct * TRAVELCCM::CustomerChoiceModel::chooseTravelSolution ( stdair::TravelSolutionList_T & ,
const stdair::BookingRequestStruct &  ) const
pure virtual

Choose a travel solution within the given list of travel solutions.

Implemented in TRAVELCCM::HardRestrictionModel, TRAVELCCM::HybridModel, and TRAVELCCM::PriceOrientedModel.

References CustomerChoiceModel().

Referenced by TRAVELCCM::ChoiceManager::chooseTravelSolution().

◆ create()

const CustomerChoiceModel * TRAVELCCM::CustomerChoiceModel::create ( const stdair::PassengerChoiceModel::EN_PassengerChoiceModel & iPassengerChoiceModel)
static

Return the Customer Choice Model object described by the given enum type.

Definition at line 35 of file CustomerChoiceModel.cpp.

References CustomerChoiceModel().

Referenced by TRAVELCCM::ChoiceManager::chooseTravelSolution().


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