Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

chiller.h

Go to the documentation of this file.
00001 #ifndef chiller_H
00002 #define chiller_H 1
00003 
00008 #include "SObject.h"
00009 
00010 class chiller: public SObject{
00011 
00012  public:
00013 
00016   chiller(const double temperature): m_T(temperature){}
00017 
00019   chiller(){}
00020 
00022   virtual ~chiller(){}
00023 
00025   double T() const;
00026 
00028   void stream(CSVParser& parser);
00029 
00030 
00032   // friend std::ostream& operator<< (std::ostream& s, const chiller& obj)
00033   // {
00034   //  return obj.fillStream(s);
00035   // }
00036 
00037   // Fill the ASCII output stream
00038   //virtual std::ostream& fillStream(std::ostream& s) const;
00039 
00040 private:  
00041 
00042   double m_T;
00043 
00044 };
00045 
00046 inline double chiller::T() const{
00047   return m_T;
00048 }
00049 /*
00050 inline std::ostream& chiller::fillStream(std::ostream& s) const{
00051   s << "{ "
00052     << " temp: " << this->T() <<  std::endl
00053     <<  " } ";
00054   return s;
00055 }
00056 */
00057 
00058 #endif

Generated on Fri Jul 8 16:38:52 2005 for Salamander by  doxygen 1.4.1