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
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
}
BomType.hpp
OPENTREP::LOG::LAST_VALUE
@ LAST_VALUE
Definition
OPENTREP_log.hpp:22
OPENTREP
Definition
BasChronometer.cpp:10
OPENTREP::BomType::EN_BomType
EN_BomType
Definition
BomType.hpp:15
OPENTREP::BomType::getLabel
static const std::string & getLabel(const EN_BomType &)
Definition
BomType.cpp:16
Generated on Mon May 5 2025 00:00:00 for OpenTREP by
1.13.2