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

Diff of /ff3d/language/Expression.hpp

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

revision 1.1.1.1 by delpinux, Mon Feb 17 16:32:52 2003 UTC revision 1.2 by delpinux, Sun May 4 18:09:01 2003 UTC
# Line 97  protected: Line 97  protected:
97    }    }
98    
99    //! Writes *this to the output os.    //! Writes *this to the output os.
100    virtual std::ostream& put(std::ostream& os) = 0;    virtual std::ostream& put(std::ostream& os) const = 0;
101    
102  public:  public:
103    //! return the type.    //! return the type.
104    const Expression::Type& type() const    const Expression::Type& type() const
# Line 111  public: Line 112  public:
112    virtual void execute() = 0;    virtual void execute() = 0;
113    
114    //! this function allows to output expressions.    //! this function allows to output expressions.
115    friend std::ostream& operator<< (std::ostream& os, Expression& e)    friend std::ostream& operator<< (std::ostream& os, const Expression& e)
116    {    {
117      return e.put(os);      return e.put(os);
118    }    }

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