00001 Foo.h 00002 #ifndef FOO_H 00003 #define FOO_H 00004 00005 // @(#) $Id$ 00006 // 00007 // [Insert copyright statement appropriate to author(s).] 00008 // 00009 // Produced for the ALMA project 00010 // 00011 // This library is free software; you can redistribute it 00012 // and/or modify it under the terms of the GNU Library 00013 // General Public License as published by the Free Software 00014 // Foundation; either version 2 of the License, or (at 00015 // your option) any later version. 00016 // 00017 // This library is distributed in the hope that it will be 00018 // useful, but WITHOUT ANY WARRANTY; without even the 00019 // implied warranty of MERCHANTABILITY FITNESS FOR A 00020 // PARTICULAR PURPOSE. See the GNU Library General Public 00021 // License for more details. 00022 // 00023 // You should have received a copy of the GNU Library 00024 // General Public License along with this library; if not, 00025 // write to the Free Software Foundation, Inc., 675 00026 // Massachusetts Ave, Cambridge, MA 02139, USA. 00027 // Correspondence concerning ALMA should be addressed as 00028 // follows: 00029 // 00030 // Internet email: alma-sw-admin@nrao.edu 00031 00032 00034 00051 00052 class Foo 00053 { 00054 00055 public: 00061 Foo(); 00062 00068 Foo( const Foo &); 00069 00071 00072 ~Foo(); 00073 00075 Foo &operator =( const Foo &); 00076 00078 int getCount() const; 00079 00085 void setCount( const int _newValue); 00086 00089 const Bar& getBar( const Intermediate& c ) const ; 00090 00091 protected: 00093 double doubleCount; 00094 00095 private: 00100 int m_currentCount; 00101 00102 }; 00103 #endif 00104 00105 00106 00107 00108