/[ff3d]/ff3d/language/MultiLinearFormExpression.hpp
ViewVC logotype

Diff of /ff3d/language/MultiLinearFormExpression.hpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by delpinux, Mon Feb 17 16:32:53 2003 UTC revision 1.2 by delpinux, Sun May 4 18:09:01 2003 UTC
# Line 40  private: Line 40  private:
40    ReferenceCounting<MultiLinearExpressionSum> __multiLinearExpression;    ReferenceCounting<MultiLinearExpressionSum> __multiLinearExpression;
41    const FormType __formType;    const FormType __formType;
42    
43    std::ostream& put(std::ostream& os)    std::ostream& put(std::ostream& os) const
44    {    {
45      switch(__formType) {      switch(__formType) {
46      case oneD: {      case oneD: {
# Line 131  private: Line 131  private:
131    ListType __listPlus;    ListType __listPlus;
132    ListType __listMinus;    ListType __listMinus;
133    
134    std::ostream& put(std::ostream& os)    std::ostream& put(std::ostream& os) const
135    {    {
136      bool first = true;      bool first = true;
137    
138      for (ListType::iterator i = __listPlus.begin();      for (ListType::const_iterator i = __listPlus.begin();
139           i != __listPlus.end(); ++i) {           i != __listPlus.end(); ++i) {
140        if (!first) {        if (!first) {
141          os << '+';          os << '+';
# Line 145  private: Line 145  private:
145        os << *(*i);        os << *(*i);
146      }      }
147    
148      for (ListType::iterator i = __listMinus.begin();      for (ListType::const_iterator i = __listMinus.begin();
149           i != __listMinus.end(); ++i) {           i != __listMinus.end(); ++i) {
150        os << '-' << *(*i);        os << '-' << *(*i);
151      }      }

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26