AirSched Logo  0.1.4
C++ Simulated Airline Schedule Manager Library
airsched::Passenger_T Struct Reference

#include <airsched/batches/BookingRequestParser.hpp>

List of all members.

Public Types

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

airsched::Passenger_T::Passenger_T ( ) [inline]

Constructor.

Definition at line 78 of file BookingRequestParser.hpp.


Member Function Documentation

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

Definition at line 80 of file BookingRequestParser.hpp.

References _labels, _number, and _type.

Referenced by airsched::SearchString_T::display().


Member Data Documentation

const std::string airsched::Passenger_T::_labels [static]
Initial value:
    { "Adult", "Child", "Pet" }

Passenger type labels.

Definition at line 74 of file BookingRequestParser.hpp.

Referenced by display().


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