void writeConfig();
void addPara(const string& parid, const double& val=0);
void setPara(const string& parid, const double& value);
- void writeHeader(char *header, const int& size);
+ void writeHeader(char *header, long unsigned int size);
void *getHeader();
private:
int readDataToMem(char *tmpData, long unsigned int dataSize);
void openOutFile();
- bool openInFile();
- char *headerData;
+ char *readHeaderData;
- void readHeader();
+ bool readHeader();
+
+ bool headerWritten;
+
+ int readFullBlock(char *tmpData, long unsigned int dataSize);
};
#endif