33 std::ostringstream oStr;
36 oStr <<
"Segment path: ";
37 unsigned short idx = 0;
38 for (SegmentPath_T::const_iterator lItSegmentPath = _segmentPath.begin();
39 lItSegmentPath != _segmentPath.end(); ++lItSegmentPath, ++idx) {
43 const std::string& lSegmentPathString = *lItSegmentPath;
46 const std::string& lSegmentKey = lSegmentParsedKey.
toString();
54 std::ostringstream oStr;
57 oStr <<
"Segment path: ";
58 unsigned short idx = 0;
59 for (SegmentPath_T::const_iterator lItSegmentPath = _segmentPath.begin();
60 lItSegmentPath != _segmentPath.end(); ++lItSegmentPath, ++idx) {
64 const std::string& lSegmentPathString = *lItSegmentPath;
67 const std::string& lSegmentKey = lSegmentParsedKey.
toString();
73 if (_chosenFareOption != NULL) {
74 oStr <<
"Chosen fare option: " << _chosenFareOption->
describe()
77 oStr <<
"Fare options: ";
82 for (FareOptionList_T::const_iterator lItFareOption= _fareOptionList.begin();
83 lItFareOption != _fareOptionList.end(); ++lItFareOption, ++idx) {
96 std::ostringstream oStr;
99 unsigned short idx = 0;
100 for (SegmentPath_T::const_iterator itSegPath = _segmentPath.begin();
101 itSegPath != _segmentPath.end(); ++itSegPath, ++idx) {
105 const std::string& lSegmentPathString = *itSegPath;
108 const std::string& lSegmentKey = lSegmentParsedKey.
toString();
109 oStr <<
"[" << idx <<
"] " << lSegmentKey;
115 for (FareOptionList_T::const_iterator itFareOption = _fareOptionList.begin();
116 itFareOption != _fareOptionList.end(); ++itFareOption, ++idx) {
127 for (ClassAvailabilityMapHolder_T::const_iterator itSegMap =
128 _classAvailabilityMapHolder.begin();
129 itSegMap != _classAvailabilityMapHolder.end(); ++itSegMap, ++idx) {
135 oStr <<
"[" << idx <<
"] ";
138 unsigned short jdx = 0;
139 for (ClassAvailabilityMap_T::const_iterator itClass = lClassAvlMap.begin();
140 itClass != lClassAvlMap.end(); ++itClass, ++jdx) {
146 oStr << lClassCode <<
":" << lAvl;
155 _segmentPath.push_back (iKey);
161 _classAvailabilityMapHolder.push_back (iMap);
167 _classObjectIDMapHolder.push_back (iMap);
173 _classYieldMapHolder.push_back (iMap);
179 _bidPriceVectorHolder.push_back (iBpv);
185 _classBpvMapHolder.push_back (iMap);
191 _fareOptionList.push_back (iFareOption);