int nequi;
int nskip;
bool doVirtualEquilibration;
+ bool extended;
};
class configcache{
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 *getHeader();
private:
infiledesc openFileDesc;
vector<parameter> Paras;
- int readConfigToMem(char *tmpConfig);
+ int readDataToMem(char *tmpData, long unsigned int dataSize);
+
+ void openOutFile();
+ bool openInFile();
+
+ char *headerData;
+
+ void readHeader();
};
#endif