$treeview $search $mathjax
AirTSP Logo  1.01.2
$projectbrief
$projectbrief
$searchbox

airtsp::Passenger_T Struct Reference

#include <airtsp/batches/BookingRequestParser.hpp>

List of all members.


Public Types

 ADULT = 0
 CHILD
 PET
 LAST_VALUE
enum  PassengerType_T { ADULT = 0, CHILD, PET, LAST_VALUE }

Public Member Functions

 Passenger_T ()
void display () const

Public Attributes

PassengerType_T _type
unsigned short _number

Static Public Attributes

static const std::string _labels [LAST_VALUE]

Detailed Description

Passenger.

Definition at line 71 of file BookingRequestParser.hpp.


Member Enumeration Documentation

Enumerator:
ADULT 
CHILD 
PET 
LAST_VALUE 

Definition at line 73 of file BookingRequestParser.hpp.


Constructor & Destructor Documentation

airtsp::Passenger_T::Passenger_T (  )  [inline]

Constructor.

Definition at line 78 of file BookingRequestParser.hpp.


Member Function Documentation

void airtsp::Passenger_T::display (  )  const [inline]

Definition at line 80 of file BookingRequestParser.hpp.

References _labels, _number, and _type.


Member Data Documentation

const std::string airtsp::Passenger_T::_labels [static]

Initial value:

    { "Adult", "Child", "Pet" }
Passenger type labels.

Definition at line 74 of file BookingRequestParser.hpp.

Referenced by display().

Definition at line 76 of file BookingRequestParser.hpp.

Referenced by display(), and airtsp::store_passenger_number::operator()().


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