OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
BomType.cpp
Go to the documentation of this file.
1// //////////////////////////////////////////////////////////////////////
2// Import section
3// //////////////////////////////////////////////////////////////////////
4// C
5#include <assert.h>
6// OpenTrep
8
9namespace OPENTREP {
10
11 // //////////////////////////////////////////////////////////////////////
12 const std::string BomType::_labels[LAST_VALUE] = {
13 "World", "Place", "Airline", "Country", "Day", "Month", "Passenger"};
14
15 // //////////////////////////////////////////////////////////////////////
16 const std::string& BomType::getLabel (const BomType::EN_BomType& iBomType) {
17 return BomType::_labels[iBomType];
18 }
19
20}
static const std::string & getLabel(const EN_BomType &)
Definition BomType.cpp:16