0.08.01
C++ Open Travel Request Parsing Library
Toggle main menu visibility
Loading...
Searching...
No Matches
PlaceHolder.hpp
Go to the documentation of this file.
1
#ifndef __OPENTREP_BOM_PLACEHOLDER_HPP
2
#define __OPENTREP_BOM_PLACEHOLDER_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// OpenTREP
8
#include <
opentrep/OPENTREP_Types.hpp
>
9
#include <
opentrep/Location.hpp
>
10
#include <
opentrep/bom/BomAbstract.hpp
>
11
#include <
opentrep/bom/PlaceList.hpp
>
12
13
namespace
OPENTREP
{
14
16
class
PlaceHolder :
public
BomAbstract
{
17
friend
class
FacPlaceHolder
;
18
public
:
19
// ////////////// Getters /////////////
21
const
PlaceList_T
&
getPlaceList
()
const
{
22
return
_placeList;
23
}
24
25
26
// ////////////// Setters /////////////
27
28
29
public
:
30
// /////////// Business methods /////////
34
void
createLocations
(
LocationList_T
&)
const
;
35
36
37
public
:
38
// /////////// Display support methods /////////
41
void
toStream
(std::ostream& ioOut)
const
;
42
45
void
fromStream
(std::istream& ioIn);
46
48
std::string
toString
()
const
;
49
51
std::string
toShortString
()
const
;
52
55
std::string
describeKey
()
const
;
56
59
std::string
describeShortKey
()
const
;
60
61
62
private
:
63
// ////////////// Constructors and Destructors /////////////
65
PlaceHolder
();
67
PlaceHolder
(
const
PlaceHolder
&);
69
~PlaceHolder
();
71
void
init ();
72
73
74
private
:
75
// /////////////// Attributes ////////////////
77
PlaceList_T
_placeList;
78
81
PlaceOrderedList_T
_placeOrderedList;
82
};
83
84
}
85
#endif
// __OPENTREP_BOM_PLACEHOLDER_HPP
BomAbstract.hpp
Location.hpp
OPENTREP_Types.hpp
PlaceList.hpp
OPENTREP::BomAbstract::BomAbstract
BomAbstract()
Definition
BomAbstract.hpp:57
OPENTREP::PlaceHolder
Definition
PlaceHolder.hpp:16
OPENTREP::PlaceHolder::getPlaceList
const PlaceList_T & getPlaceList() const
Definition
PlaceHolder.hpp:21
OPENTREP::PlaceHolder::describeShortKey
std::string describeShortKey() const
Definition
PlaceHolder.cpp:30
OPENTREP::PlaceHolder::toString
std::string toString() const
Definition
PlaceHolder.cpp:41
OPENTREP::PlaceHolder::toStream
void toStream(std::ostream &ioOut) const
Definition
PlaceHolder.cpp:73
OPENTREP::PlaceHolder::toShortString
std::string toShortString() const
Definition
PlaceHolder.cpp:57
OPENTREP::PlaceHolder::describeKey
std::string describeKey() const
Definition
PlaceHolder.cpp:36
OPENTREP::PlaceHolder::fromStream
void fromStream(std::istream &ioIn)
Definition
PlaceHolder.cpp:78
OPENTREP::PlaceHolder::createLocations
void createLocations(LocationList_T &) const
Definition
PlaceHolder.cpp:82
OPENTREP::PlaceHolder::FacPlaceHolder
friend class FacPlaceHolder
Definition
PlaceHolder.hpp:17
OPENTREP
Definition
BasChronometer.cpp:10
OPENTREP::PlaceOrderedList_T
std::list< Place * > PlaceOrderedList_T
Definition
PlaceList.hpp:21
OPENTREP::LocationList_T
std::list< Location > LocationList_T
Definition
LocationList.hpp:18
OPENTREP::PlaceList_T
std::multimap< std::string, Place * > PlaceList_T
Definition
PlaceList.hpp:20
Generated on
for OpenTREP by
1.17.0