20 : _frat5CurveHolder (iHolder._frat5CurveHolder) {
30 FRAT5CurveHolder_T::const_iterator itCurve = _frat5CurveHolder.find (iKey);
31 if (itCurve == _frat5CurveHolder.end()) {
33 <<
"given key: " << iKey);
37 return itCurve->second;
43 bool insert = _frat5CurveHolder.insert (FRAT5CurveHolder_T::value_type(iKey, iCurve)).second;
44 if (insert ==
false) {
46 <<
"given key: " << iKey
47 <<
", the key may already exist.");
63 std::ostringstream oStr;
64 for (FRAT5CurveHolder_T::const_iterator itCurve = _frat5CurveHolder.begin();
65 itCurve != _frat5CurveHolder.end(); ++itCurve) {
66 const std::string& lKey = itCurve->first;
69 for (FRAT5Curve_T::const_reverse_iterator itFRAT5 = lCurve.rbegin();
70 itFRAT5 != lCurve.rend(); ++itFRAT5) {
71 const DTD_T& lDTD = itFRAT5->first;
72 const double& lFRAT5 = itFRAT5->second;
73 oStr << lDTD <<
":" << lFRAT5 <<
";";
std::map< const DTD_T, FRAT5_T > FRAT5Curve_T
void fromStream(std::istream &ioIn)
Handle on the StdAir library context.
void addCurve(const std::string &, const FRAT5Curve_T &)
~FRAT5CurveHolderStruct()
const std::string describe() const
void toStream(std::ostream &ioOut) const
const FRAT5Curve_T & getFRAT5Curve(const std::string &) const
#define STDAIR_LOG_DEBUG(iToBeLogged)