Changeset f2efcf for molecuilder/src/Parser/FormatParser.hpp
- Timestamp:
- Mar 5, 2010, 12:53:13 PM (16 years ago)
- Children:
- 5aefaa
- Parents:
- 4938aa
- File:
-
- 1 moved
-
molecuilder/src/Parser/FormatParser.hpp (moved) (moved from molecuilder/src/FormatParser.hpp ) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Parser/FormatParser.hpp
r4938aa rf2efcf 13 13 #include "parser.hpp" 14 14 15 using namespace std; 16 15 /** 16 * General parser which observes the change tracker. 17 */ 17 18 class FormatParser : public Observer { 18 19 public: 19 20 FormatParser(); 20 ~FormatParser(); 21 virtual void save(char* fileName); 22 virtual void load(char* fileName); 21 virtual ~FormatParser(); 22 virtual void save(std::ostream* file)=0; 23 virtual void load(std::istream* file)=0; 24 void setOstream(std::ostream* file); 25 void update(Observable *publisher); 26 void subjectKilled(Observable *publisher); 23 27 24 28 private: 25 MatrixContainer* readData(char* fileName, int skiplines, int skipcolumns); 26 virtual int getHeaderSize(char identifier); 29 std::ostream* saveStream; 27 30 }; 28 31
Note:
See TracChangeset
for help on using the changeset viewer.
