00001 #ifndef __PerformingOperation_h_INCLUDED_H__ 00002 #define __PerformingOperation_h_INCLUDED_H__ 00003 00004 00005 //------------------------------------------------------------------------------------------------------------ 00006 // Includes 00007 //------------------------------------------------------------------------------------------------------------ 00008 #include <iostream> 00009 #include <vector> 00010 00011 00015 //------------------------------------------------------------------------------------------------------------ 00016 // Class definition 00017 //------------------------------------------------------------------------------------------------------------ 00018 class PerformingOperation { 00019 00020 public: 00021 00022 //------------------------------------------------------------------------------------------------------------ 00023 // Constructors & Destructors 00024 //------------------------------------------------------------------------------------------------------------ 00025 00026 PerformingOperation(); 00027 00028 ~PerformingOperation(); 00029 00030 00031 //------------------------------------------------------------------------------------------------------------ 00032 // Attributes getters and setters 00033 //------------------------------------------------------------------------------------------------------------ 00034 00035 void setStartOperationInstantVector( std::vector<int> instantData ); 00036 00037 std::vector<int> getStartOperationInstantVector( ); 00038 00039 void setEndOperationInstantVector( std::vector<int> instantData ); 00040 00041 std::vector<int> getEndOperationInstantVector( ); 00042 00043 char getStartCommand(); 00044 00045 void setStartCommand( char theCommand ); 00046 00047 char getEndCommand(); 00048 00049 void setEndCommand( char theCommand ); 00050 00051 std::vector<std::string> getKeyNamesOperationElems( ); 00052 00053 void setKeyNamesOperationElems( std::vector<std::string> dataVector); 00054 00055 //------------------------------------------------------------------------------------------------------------ 00056 // Other functional methods 00057 //------------------------------------------------------------------------------------------------------------ 00058 00059 void reset(); 00060 00061 private: 00062 //------------------------------------------------------------------------------------------------------------ 00063 // Private methods 00064 //------------------------------------------------------------------------------------------------------------ 00065 00066 //------------------------------------------------------------------------------------------------------------ 00067 // Creational and initialization methods 00068 //------------------------------------------------------------------------------------------------------------ 00069 00070 00071 //------------------------------------------------------------------------------------------------------------ 00072 // Attributtes 00073 //------------------------------------------------------------------------------------------------------------ 00074 00075 std::vector<int> _startOperationInstantVector; 00076 00077 std::vector<int> _endOperationInstantVector; 00078 00079 std::vector<std::string> _keyNamesOperationElems; 00080 00081 char _startCommand; 00082 00083 char _endCommand; 00084 00085 }; 00086 #endif // __PerformingOperation_HEADER_FILE__ 00087 00088 00089