18 : _segmentPath (iSegPath), _classList (iList), _partySize (iSize),
19 _datetime (iDateTime) {
27 : _segmentPath (iSegPath), _classIDList (iIDList), _partySize (iSize),
28 _datetime (iDateTime) {
46 std::ostringstream oStr;
48 oStr <<
"Segment path: ";
49 unsigned short idx = 0;
50 for (SegmentPath_T::const_iterator lItSegmentPath = _segmentPath.begin();
51 lItSegmentPath != _segmentPath.end(); ++lItSegmentPath, ++idx) {
55 const std::string& lSegmentKey = *lItSegmentPath;
58 if (_classList ==
"") {
60 BookingClassIDList_T::const_iterator lItBookingClassIDList =
63 for (; lItBookingClassIDList != _classIDList.end();
64 ++lItBookingClassIDList, ++idx) {
73 oStr <<
";" << _partySize <<
";" << _datetime;
75 oStr <<
";" << _classList <<
";" << _partySize <<
";" << _datetime;
82 std::ostringstream oStr;
85 unsigned short idx = 0;
86 for (SegmentPath_T::const_iterator itSegPath = _segmentPath.begin();
87 itSegPath != _segmentPath.end(); ++itSegPath, ++idx) {
91 const std::string& lSegmentKey = *itSegPath;
92 oStr <<
"[" << idx <<
"] " << lSegmentKey;
94 if (_classList ==
"") {
96 BookingClassIDList_T::const_iterator lItBookingClassIDList =
99 for (; lItBookingClassIDList != _classIDList.end();
100 ++lItBookingClassIDList, ++idx) {
109 oStr <<
";" << _partySize <<
";" << _datetime;
111 oStr <<
";" << _classList <<
";" << _partySize <<
";" << _datetime;