eoGenContinue is now persistent

This commit is contained in:
cahon 2005-12-09 17:49:43 +00:00
commit 30a18fa8ca

View file

@ -79,6 +79,17 @@ public:
virtual std::string className(void) const { return "eoGenContinue"; }
void readFrom (std :: istream & __is) {
__is >> thisGeneration; /* Loading the number of generations counted */
}
void printOn (std :: ostream & __os) const {
__os << thisGeneration << std :: endl; /* Saving the number of generations counted */
}
private:
unsigned long repTotalGenerations;
unsigned long thisGenerationPlaceHolder;