$treeview $search $mathjax
TravelCCM Logo  1.00.2
$projectbrief
$projectbrief
$searchbox

TRAVELCCM::CustomerChoiceModel Class Reference

#include <travelccm/bom/CustomerChoiceModel.hpp>

Inheritance diagram for TRAVELCCM::CustomerChoiceModel:

TRAVELCCM::HardRestrictionModel TRAVELCCM::HybridModel TRAVELCCM::PriceOrientedModel List of all members.

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

TRAVELCCM::CustomerChoiceModel::~CustomerChoiceModel (  )  [virtual]

Destructor.

Definition at line 31 of file CustomerChoiceModel.cpp.

TRAVELCCM::CustomerChoiceModel::CustomerChoiceModel (  )  [protected]

Default Constructor.

Definition at line 17 of file CustomerChoiceModel.cpp.

TRAVELCCM::CustomerChoiceModel::CustomerChoiceModel ( const stdair::PassengerChoiceModel::EN_PassengerChoiceModel &   )  [protected]

Main Constructor.

Definition at line 22 of file CustomerChoiceModel.cpp.


Member Function Documentation

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.

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

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

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

Definition at line 36 of file CustomerChoiceModel.cpp.

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


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