eoGenContinue is now persistent
This commit is contained in:
parent
07ea076b13
commit
30a18fa8ca
1 changed files with 11 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue