Last change
on this file since 412 was
286,
checked in by Maciej Komosinski, 10 years ago
|
Updated headers
|
-
Property svn:eol-style set to
native
|
File size:
1.0 KB
|
Line | |
---|
1 | // This file is a part of Framsticks SDK. http://www.framsticks.com/ |
---|
2 | // Copyright (C) 1999-2015 Maciej Komosinski and Szymon Ulatowski. |
---|
3 | // See LICENSE.txt for details. |
---|
4 | |
---|
5 | #ifndef _GENOOBJ_H_ |
---|
6 | #define _GENOOBJ_H_ |
---|
7 | |
---|
8 | #include <frams/genetics/geno.h> |
---|
9 | |
---|
10 | extern ParamEntry geno_paramtab[]; |
---|
11 | |
---|
12 | class GenoObj: public Geno |
---|
13 | { |
---|
14 | public: |
---|
15 | #define STATRICKCLASS GenoObj |
---|
16 | PARAMGETDEF(isvalid); |
---|
17 | PARAMGETDEF(genotype); |
---|
18 | PARAMGETDEF(name); |
---|
19 | PARAMSETDEF(name); |
---|
20 | PARAMGETDEF(autoname); |
---|
21 | PARAMGETDEF(info); |
---|
22 | PARAMSETDEF(info); |
---|
23 | PARAMGETDEF(format); |
---|
24 | PARAMGETDEF(string); |
---|
25 | PARAMPROCDEF(p_getconvert); |
---|
26 | PARAMGETDEF(f0genotype); |
---|
27 | PARAMPROCDEF(p_new); |
---|
28 | PARAMPROCDEF(p_newfrom); |
---|
29 | PARAMPROCDEF(p_newfromstring); |
---|
30 | PARAMPROCDEF(p_newfromvector); |
---|
31 | PARAMGETDEF(toVector); |
---|
32 | #undef STATRICKCLASS |
---|
33 | |
---|
34 | static ExtObject makeStaticObject(Geno* g); |
---|
35 | static ExtObject makeDynamicObject(Geno* g); |
---|
36 | static ExtObject makeDynamicObjectAndDecRef(Geno* g); |
---|
37 | static Geno* fromObject(const ExtValue& v, bool warn=true); |
---|
38 | static ParamInterface* getInterface(); |
---|
39 | |
---|
40 | static Param& getStaticParam(); |
---|
41 | static Param& getDynamicParam(); |
---|
42 | }; |
---|
43 | |
---|
44 | #endif |
---|
45 | |
---|
46 | |
---|
47 | |
---|
Note: See
TracBrowser
for help on using the repository browser.