0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
BomType.hpp
Go to the documentation of this file.
1
#ifndef __OPENTREP_BOM_BOMTYPE_HPP
2
#define __OPENTREP_BOM_BOMTYPE_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <string>
9
10
namespace
OPENTREP
{
11
13
struct
BomType
{
14
public
:
15
typedef
enum
{
16
WORLD
= 0,
17
PLACE
,
18
AIRLINE
,
19
COUNTRY
,
20
DAY
,
21
MONTH
,
22
PASSENGER
,
23
LAST_VALUE
24
}
EN_BomType
;
25
27
static
const
std::string&
getLabel
(
const
EN_BomType
&);
28
29
private
:
31
static
const
std::string _labels[
LAST_VALUE
];
32
};
33
34
}
35
#endif
// __OPENTREP_BOM_BOMTYPE_HPP
OPENTREP
Definition
BasChronometer.cpp:10
OPENTREP::BomType
Definition
BomType.hpp:13
OPENTREP::BomType::EN_BomType
EN_BomType
Definition
BomType.hpp:15
OPENTREP::BomType::LAST_VALUE
@ LAST_VALUE
Definition
BomType.hpp:23
OPENTREP::BomType::AIRLINE
@ AIRLINE
Definition
BomType.hpp:18
OPENTREP::BomType::PLACE
@ PLACE
Definition
BomType.hpp:17
OPENTREP::BomType::MONTH
@ MONTH
Definition
BomType.hpp:21
OPENTREP::BomType::COUNTRY
@ COUNTRY
Definition
BomType.hpp:19
OPENTREP::BomType::WORLD
@ WORLD
Definition
BomType.hpp:16
OPENTREP::BomType::PASSENGER
@ PASSENGER
Definition
BomType.hpp:22
OPENTREP::BomType::DAY
@ DAY
Definition
BomType.hpp:20
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