AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AIRINV::FareFamilyStruct Struct Reference

Utility Structure for the parsing of fare family details. More...

#include <airinv/bom/FareFamilyStruct.hpp>

+ Inheritance diagram for AIRINV::FareFamilyStruct:

List of all members.

Public Member Functions

 FareFamilyStruct ()
 FareFamilyStruct (const stdair::FamilyCode_T &, const stdair::CurveKey_T &, const stdair::CurveKey_T &, const stdair::ClassList_String_T &)
void fill (stdair::FareFamily &) const
const std::string describe () const

Public Attributes

stdair::FamilyCode_T _familyCode
stdair::CurveKey_T _frat5CurveKey
stdair::CurveKey_T _ffDisutilityCurveKey
stdair::ClassList_String_T _classes
BookingClassStructList_T _classList

Detailed Description

Utility Structure for the parsing of fare family details.

Definition at line 26 of file FareFamilyStruct.hpp.


Constructor & Destructor Documentation

AIRINV::FareFamilyStruct::FareFamilyStruct ( )

Default constructor.

Definition at line 16 of file FareFamilyStruct.cpp.

AIRINV::FareFamilyStruct::FareFamilyStruct ( const stdair::FamilyCode_T &  iFamilyCode,
const stdair::CurveKey_T &  iFRAT5Key,
const stdair::CurveKey_T &  iFFDisutilityKey,
const stdair::ClassList_String_T &  iClasses 
)

Main constructor.

Definition at line 23 of file FareFamilyStruct.cpp.


Member Function Documentation

void AIRINV::FareFamilyStruct::fill ( stdair::FareFamily &  ioFareFamily) const

Fill the FareFamily objects with the attributes of the FareFamilyStruct.

Definition at line 52 of file FareFamilyStruct.cpp.

const std::string AIRINV::FareFamilyStruct::describe ( ) const

Give a description of the structure (for display purposes).

Definition at line 32 of file FareFamilyStruct.cpp.

References _classes, _classList, _familyCode, _ffDisutilityCurveKey, _frat5CurveKey, and AIRINV::BookingClassStruct::describe().

Referenced by AIRINV::SegmentCabinStruct::describe().


Member Data Documentation

stdair::CurveKey_T AIRINV::FareFamilyStruct::_frat5CurveKey
stdair::CurveKey_T AIRINV::FareFamilyStruct::_ffDisutilityCurveKey
stdair::ClassList_String_T AIRINV::FareFamilyStruct::_classes

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