source: cpp/frams/vm/classes/genoobj.h @ 300

Last change on this file since 300 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
10extern ParamEntry geno_paramtab[];
11
12class GenoObj: public Geno
13{
14  public:
15#define STATRICKCLASS GenoObj
16PARAMGETDEF(isvalid);
17PARAMGETDEF(genotype);
18PARAMGETDEF(name);
19PARAMSETDEF(name);
20PARAMGETDEF(autoname);
21PARAMGETDEF(info);
22PARAMSETDEF(info);
23PARAMGETDEF(format);
24PARAMGETDEF(string);
25PARAMPROCDEF(p_getconvert);
26PARAMGETDEF(f0genotype);
27PARAMPROCDEF(p_new);
28PARAMPROCDEF(p_newfrom);
29PARAMPROCDEF(p_newfromstring);
30PARAMPROCDEF(p_newfromvector);
31PARAMGETDEF(toVector);
32#undef STATRICKCLASS
33
34static ExtObject makeStaticObject(Geno* g);
35static ExtObject makeDynamicObject(Geno* g);
36static ExtObject makeDynamicObjectAndDecRef(Geno* g);
37static Geno* fromObject(const ExtValue& v, bool warn=true);
38static ParamInterface* getInterface();
39
40static Param& getStaticParam();
41static Param& getDynamicParam();
42};
43
44#endif
45
46
47
Note: See TracBrowser for help on using the repository browser.