Last change
on this file since 88 was
66,
checked in by Maciej Komosinski, 14 years ago
|
set 'eol-style' to 'native'
|
-
Property svn:eol-style set to
native
|
File size:
805 bytes
|
Rev | Line | |
---|
[64] | 1 | // This file is a part of the Framsticks GDK library. |
---|
| 2 | // Copyright (C) 2002-2011 Szymon Ulatowski. See LICENSE.txt for details. |
---|
| 3 | // Refer to http://www.framsticks.com/ for further information. |
---|
[5] | 4 | |
---|
| 5 | #ifndef _NILIBRARY_H_ |
---|
| 6 | #define _NILIBRARY_H_ |
---|
| 7 | |
---|
| 8 | #include "advlist.h" |
---|
| 9 | #include "param.h" |
---|
| 10 | |
---|
| 11 | class NeuroClass; |
---|
| 12 | |
---|
| 13 | class NeuroLibrary |
---|
| 14 | { |
---|
| 15 | public: |
---|
| 16 | static NeuroLibrary staticlibrary; |
---|
| 17 | NeuroLibrary(); |
---|
| 18 | ~NeuroLibrary(); |
---|
| 19 | AdvList classes; |
---|
| 20 | NeuroClass* findClass(const SString& classname, bool activeonly=1); |
---|
| 21 | void addStandardClasses(); |
---|
| 22 | int findClassIndex(const SString& classname, bool activeonly=1); |
---|
| 23 | NeuroClass* getClass(int classindex) {return (NeuroClass*)classes(classindex);} |
---|
| 24 | int getClassCount() {return classes.size();} |
---|
| 25 | void removeClass(int i); |
---|
| 26 | void clear(); |
---|
| 27 | NeuroClass *addClass(NeuroClass *cls,bool replace=1); |
---|
| 28 | }; |
---|
| 29 | |
---|
| 30 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.