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

Last change on this file since 200 was 197, checked in by Maciej Komosinski, 11 years ago

GDK used by developers since 1999, distributed on the web since 2002

  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
1// This file is a part of the Framsticks GDK.
2// Copyright (C) 1999-2014  Maciej Komosinski and Szymon Ulatowski.  See LICENSE.txt for details.
3// Refer to http://www.framsticks.com/ for further information.
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);
30#undef STATRICKCLASS
31
32static ExtObject makeStaticObject(Geno* g);
33static ExtObject makeDynamicObject(Geno* g);
34static ExtObject makeDynamicObjectAndDecRef(Geno* g);
35static Geno* fromObject(const ExtValue& v, bool warn=true);
36static ParamInterface* getInterface();
37
38static Param& getStaticParam();
39static Param& getDynamicParam();
40};
41
42#endif
43
44
45
Note: See TracBrowser for help on using the repository browser.