CGeneralData.h

Go to the documentation of this file.
00001 #ifndef CGENERALDATA_H
00002 #define CGENERALDATA_H
00003 #include <string>
00004 
00005 /*!
00006  *  The Class CGeneralData is the most basic and abstract class common 
00007  *  to all objects that contain data. All member functions are purely
00008  * virtual.
00009  */
00010 class CGeneralData{
00011 public:
00012         //! The constructor does not do anything 
00013         CGeneralData();
00014         //! The destructor is also empty
00015         virtual ~CGeneralData()=0;
00016         /*! Declaration for GetData() without any parameter.
00017          * This function is intended for use with objects that read in
00018          * data that is generated within the program. 
00019          */
00020         virtual void GetData()=0;
00021         /*! Declaration for GetData() that reads data from
00022          * a file. This is intended for use with external data, such as
00023          * recorded data, or synthetic data from external programs.
00024          */
00025         virtual void GetData(const std::string filename) = 0;
00026         /*! The abstract declaration for a method that writes the data to
00027          * a file. Therefore no version without a filename is present
00028          */
00029         virtual void WriteData(const std::string filename) = 0;
00030 };
00031 
00032 #endif // CGENERALDATA_H

Generated on Thu Nov 22 13:58:24 2007 for GPLIB++ by  doxygen 1.5.1