58 |
FunctionListType __functionList; |
FunctionListType __functionList; |
59 |
RealListType __realList; |
RealListType __realList; |
60 |
|
|
61 |
std::ostream& put(std::ostream& os) |
std::ostream& put(std::ostream& os) const |
62 |
{ |
{ |
63 |
bool notFirst = false; |
bool notFirst = false; |
64 |
for (LinearListType::iterator i = __linearList.begin(); |
for (LinearListType::const_iterator i = __linearList.begin(); |
65 |
i != __linearList.end(); ++i) { |
i != __linearList.end(); ++i) { |
66 |
if (notFirst) { |
if (notFirst) { |
67 |
os << '*'; |
os << '*'; |
71 |
os << (*(*i)); |
os << (*(*i)); |
72 |
} |
} |
73 |
|
|
74 |
for (FunctionListType::iterator i = __functionList.begin(); |
for (FunctionListType::const_iterator i = __functionList.begin(); |
75 |
i != __functionList.end(); ++i) { |
i != __functionList.end(); ++i) { |
76 |
if (notFirst) { |
if (notFirst) { |
77 |
os << '*'; |
os << '*'; |
81 |
os << (*(*i)); |
os << (*(*i)); |
82 |
} |
} |
83 |
|
|
84 |
for (RealListType::iterator i = __realList.begin(); |
for (RealListType::const_iterator i = __realList.begin(); |
85 |
i != __realList.end(); ++i) { |
i != __realList.end(); ++i) { |
86 |
if (notFirst) { |
if (notFirst) { |
87 |
os << '*'; |
os << '*'; |
664 |
ListType __listPlus; |
ListType __listPlus; |
665 |
ListType __listMinus; |
ListType __listMinus; |
666 |
|
|
667 |
std::ostream& put(std::ostream& os) |
std::ostream& put(std::ostream& os) const |
668 |
{ |
{ |
669 |
bool first = true; |
bool first = true; |
670 |
|
|
671 |
for (ListType::iterator i = __listPlus.begin(); |
for (ListType::const_iterator i = __listPlus.begin(); |
672 |
i != __listPlus.end(); ++i) { |
i != __listPlus.end(); ++i) { |
673 |
if (!first) { |
if (!first) { |
674 |
os << '+'; |
os << '+'; |
678 |
os << *(*i); |
os << *(*i); |
679 |
|
|
680 |
} |
} |
681 |
for (ListType::iterator i = __listMinus.begin(); |
for (ListType::const_iterator i = __listMinus.begin(); |
682 |
i != __listMinus.end(); ++i) { |
i != __listMinus.end(); ++i) { |
683 |
os << '-' << *(*i); |
os << '-' << *(*i); |
684 |
} |
} |