diff options
Diffstat (limited to 'src/phenotype.h')
| -rw-r--r-- | src/phenotype.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/phenotype.h b/src/phenotype.h index 0eafb78..27173e2 100644 --- a/src/phenotype.h +++ b/src/phenotype.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #ifndef GENETIC_PHENOTYPE_H | 1 | #ifndef GENETIC_PHENOTYPE_H |
| 2 | #define GENETIC_PHENOTYPE_H | 2 | #define GENETIC_PHENOTYPE_H |
| 3 | 3 | ||
| 4 | #include <bu/stream.h> | ||
| 4 | #include <bu/string.h> | 5 | #include <bu/string.h> |
| 5 | #include <bu/hash.h> | 6 | #include <bu/hash.h> |
| 6 | #include <bu/variant.h> | 7 | #include <bu/variant.h> |
| @@ -33,6 +34,9 @@ namespace Genetic | |||
| 33 | 34 | ||
| 34 | virtual Bu::String toString()=0; | 35 | virtual Bu::String toString()=0; |
| 35 | 36 | ||
| 37 | virtual void write( Bu::Stream &rStream ) {}; | ||
| 38 | virtual void read( Bu::Stream &rStream ) {}; | ||
| 39 | |||
| 36 | bool hasProperty( const Bu::String &sKey ) const; | 40 | bool hasProperty( const Bu::String &sKey ) const; |
| 37 | Bu::Variant getProperty( const Bu::String &sKey ) const; | 41 | Bu::Variant getProperty( const Bu::String &sKey ) const; |
| 38 | void setProperty( const Bu::String &sKey, Bu::Variant vValue ); | 42 | void setProperty( const Bu::String &sKey, Bu::Variant vValue ); |
