Converter.h

Go to the documentation of this file.
00001 
00002 
00008 /*  
00009 */
00011 
00012 #ifndef __OSESSAME_CONVERTER_H__
00013 #define __OSESSAME_CONVERTER_H__
00014 #include "Matrix.h"
00015 #include "ConversionForm.h"
00016 #include <string>       
00017 #include <stdlib.h>  
00018 #include <sstream>
00019 
00020 using namespace std; 
00021 using namespace O_SESSAME; 
00022 
00023 namespace O_SESSAME {
00024 
00030 class Converter 
00031 {
00032 public:
00033     virtual ~Converter();
00034     
00035     // CONVERTER MUTATORS
00036     virtual void SetFilename(const string& _newFilename);
00037     virtual void SetExtension(const string& _newExtension);
00038     virtual void SetFileLocation(const string& _newFileLocation);
00039     
00040     // CONVERTER INSPECTORS
00041     virtual string GetFilename();
00042     virtual string GetExtension();
00043     virtual string GetFileLocation();
00044 
00045     // OPERATORS
00046     virtual void Export(const ConversionForm& _exportConvForm) = 0;
00047     virtual Matrix Import(const ConversionForm& _importConvForm) = 0;
00048 
00049 protected:
00050     Converter(const string& _newFilename, string _newExtension, string _newFileLocation);
00051 
00052 private:
00053     string m_Filename;
00054     string m_Extension;
00055     string m_FileLocation;
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 ******************************************************************************/

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