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