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.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::BomType::WORLD
Definition:
BomType.hpp:16
OPENTREP::BomType::DAY
Definition:
BomType.hpp:20
OPENTREP::BomType::getLabel
static const std::string & getLabel(const EN_BomType &)
Definition:
BomType.cpp:16
OPENTREP::BomType::AIRLINE
Definition:
BomType.hpp:18
OPENTREP::BomType::LAST_VALUE
Definition:
BomType.hpp:23
OPENTREP::BomType
Definition:
BomType.hpp:13
OPENTREP::BomType::EN_BomType
EN_BomType
Definition:
BomType.hpp:15
OPENTREP::BomType::MONTH
Definition:
BomType.hpp:21
OPENTREP::BomType::COUNTRY
Definition:
BomType.hpp:19
OPENTREP::BomType::PLACE
Definition:
BomType.hpp:17
OPENTREP::BomType::PASSENGER
Definition:
BomType.hpp:22
Generated on Mon Feb 3 2014 14:17:07 for OpenTREP by
1.8.6