Last change
on this file since 34 was
5,
checked in by sz, 16 years ago
|
added the GDK (Genotype Development Kit)
|
File size:
566 bytes
|
Rev | Line | |
---|
[5] | 1 | // This file is a part of Framsticks GDK library. |
---|
| 2 | // Copyright (C) 2002-2006 Szymon Ulatowski. See LICENSE.txt for details. |
---|
| 3 | // Refer to http://www.frams.alife.pl/ for further information. |
---|
| 4 | |
---|
| 5 | #ifndef _SYNTPATAM_H_ |
---|
| 6 | #define _SYNTPATAM_H_ |
---|
| 7 | |
---|
| 8 | #include "param.h" |
---|
| 9 | |
---|
| 10 | class SyntParam: public Param |
---|
| 11 | { |
---|
| 12 | void* obj; |
---|
| 13 | ParamEntry *pe; |
---|
| 14 | SString* autostring; |
---|
| 15 | public: |
---|
| 16 | SyntParam(ParamEntry *pe,SString* autostring=0); |
---|
| 17 | SyntParam(const SyntParam& src); |
---|
| 18 | ~SyntParam(); |
---|
| 19 | void setAutoUpdate(SString* autostr) {autostring=autostr;} |
---|
| 20 | void update(SString *s=0); |
---|
| 21 | void revert(SString *s=0); |
---|
| 22 | }; |
---|
| 23 | |
---|
| 24 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.