0.6.0
C++ Open Travel Request Parsing Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
BomType.cpp
Go to the documentation of this file.
1
// //////////////////////////////////////////////////////////////////////
2
// Import section
3
// //////////////////////////////////////////////////////////////////////
4
// C
5
#include <assert.h>
6
// OpenTrep
7
#include <
opentrep/bom/BomType.hpp
>
8
9
namespace
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
}
OPENTREP::BomType::getLabel
static const std::string & getLabel(const EN_BomType &)
Definition:
BomType.cpp:16
BomType.hpp
OPENTREP::LOG::LAST_VALUE
Definition:
OPENTREP_log.hpp:22
OPENTREP::BomType::EN_BomType
EN_BomType
Definition:
BomType.hpp:15
Generated on Mon Feb 3 2014 14:17:07 for OpenTREP by
1.8.6