ConversionForm.h

Go to the documentation of this file.
00001 
00002 
00008 /*  
00009 */
00011 
00012 #ifndef __OSESSAME_CONVERSIONFORM_H__
00013 #define __OSESSAME_CONVERSIONFORM_H__
00014 #include "Matrix.h"
00015 #include <string>       
00016 #include <stdlib.h>  
00017 #include <sstream>
00018 using namespace std; 
00019 using namespace O_SESSAME; 
00020 
00021 namespace O_SESSAME {
00022 
00028 class ConversionForm 
00029 {
00030 public:
00031     virtual ~ConversionForm() {};
00032     
00033     // ConversionForm MUTATORS
00034     virtual void FromHeader(const string& _body) = 0;
00035     virtual void FromBody(const string& _body) = 0;
00036     virtual void FromFooter(const string& _body) = 0;
00037     virtual void InitializeData(int _sizeObject) = 0;
00038 
00039     // ConversionForm INSPECTORS
00040     virtual string GetHeader() const = 0;
00041     virtual string GetBody() const = 0;
00042     virtual string GetFooter() const = 0;
00043     
00044     virtual void* GetDataPtr() const;
00045     virtual int GetDataSize() const = 0;
00046     // ConversionForm OPERATORS
00047 
00048 protected:
00049 
00050 private:
00051 
00052 };
00053 } // close namespace O_SESSAME
00054 
00055 #endif
00056 
00057 
00058 // Do not change the comments below - they will be added automatically by CVS
00059 /*****************************************************************************
00060 *       $Log: AttitudeHistory.h,v $
00061 *
00062 ******************************************************************************/

Generated on Wed Aug 6 12:58:43 2003 for Open-Sessame Framework by doxygen1.3