source: cpp/frams/neuro/neurolibrary.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: 880 bytes
RevLine 
[121]1// This file is a part of the Framsticks GDK.
[197]2// Copyright (C) 1999-2014  Maciej Komosinski and Szymon Ulatowski.  See LICENSE.txt for details.
[109]3// Refer to http://www.framsticks.com/ for further information.
4
5#ifndef _NILIBRARY_H_
6#define _NILIBRARY_H_
7
8#include <frams/util/advlist.h>
9#include <frams/param/param.h>
10
11class NeuroClass;
12
13class NeuroLibrary
14{
15  public:
16static NeuroLibrary staticlibrary;
17NeuroLibrary();
18~NeuroLibrary();
19AdvList classes;
20NeuroClass* findClass(const SString& classname, bool activeonly=1);
21void addStandardClasses();
22int findClassIndex(const SString& classname, bool activeonly=1);
23NeuroClass* getClass(int classindex) {return (NeuroClass*)classes(classindex);}
24SString getClassName(int classindex);
25int getClassCount() {return classes.size();}
26void removeClass(int i);
27void clear();
28NeuroClass *addClass(NeuroClass *cls,bool replace=1);
29};
30
31#endif
Note: See TracBrowser for help on using the repository browser.