NEST  2.6.0,not_revisioned_source_dir@0
slistack.h
Go to the documentation of this file.
1 /*
2  * slistack.h
3  *
4  * This file is part of NEST.
5  *
6  * Copyright (C) 2004 The NEST Initiative
7  *
8  * NEST is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * NEST is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with NEST. If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22 
23 #ifndef SLISTACK_H
24 #define SLISTACK_H
25 /*
26  Stack manipulation functions
27 */
28 #include <typeinfo>
29 #include "interpret.h"
30  /************************************************
31  Stack manipulation functions
32  ********************************************/
33 class PopFunction: public SLIFunction
34 {
35 public:
37  void execute(SLIInterpreter *) const;
38 };
39 
41 {
42 public:
44  void execute(SLIInterpreter *) const;
45 };
46 
47 class DupFunction: public SLIFunction
48 {
49 public:
51  void execute(SLIInterpreter *) const;
52 };
53 
55 {
56 public:
58  void execute(SLIInterpreter *) const;
59 };
60 
62 {
63 public:
65  void execute(SLIInterpreter *) const;
66 };
67 
69 {
70 public:
72  void execute(SLIInterpreter *) const;
73 };
74 
76 {
77 public:
79  void execute(SLIInterpreter *) const;
80 };
81 
83 {
84 public:
86  void execute(SLIInterpreter *) const;
87 };
88 
89 class RotFunction: public SLIFunction
90 {
91 public:
93  void execute(SLIInterpreter *) const;
94 };
95 
97 {
98 public:
100  void execute(SLIInterpreter *) const;
101 };
102 
104 {
105 public:
107  void execute(SLIInterpreter *) const;
108 };
109 
111 {
112 public:
114  void execute(SLIInterpreter *) const;
115 };
116 
118 {
119 public:
121  void execute(SLIInterpreter *) const;
122 };
123 
125 {
126 public:
128  void execute(SLIInterpreter *) const;
129 };
130 
132 {
133 public:
135  void execute(SLIInterpreter *) const;
136 };
137 
139 {
140 public:
142  void execute(SLIInterpreter *) const;
143 };
144 
146 {
147 public:
149  void execute(SLIInterpreter *) const;
150 };
151 #endif
void execute(SLIInterpreter *) const
Definition: slistack.cc:180
RestoreestackFunction()
Definition: slistack.h:134
Definition: slistack.h:33
ExecstackFunction()
Definition: slistack.h:127
CountFunction()
Definition: slistack.h:106
Definition: slistack.h:96
Definition: slistack.h:68
void execute(SLIInterpreter *) const
Definition: slistack.cc:130
void execute(SLIInterpreter *) const
Definition: slistack.cc:391
Definition: slistack.h:82
DupFunction()
Definition: slistack.h:50
void execute(SLIInterpreter *) const
Definition: slistack.cc:148
Definition: slistack.h:138
Definition: slistack.h:75
Definition: slistack.h:54
Definition: slifunction.h:35
IndexFunction()
Definition: slistack.h:64
void execute(SLIInterpreter *) const
Definition: slistack.cc:91
Definition: slistack.h:61
Definition: slistack.h:110
void execute(SLIInterpreter *) const
Definition: slistack.cc:317
void execute(SLIInterpreter *) const
Definition: slistack.cc:43
RestoreostackFunction()
Definition: slistack.h:141
void execute(SLIInterpreter *) const
Definition: slistack.cc:364
RolldFunction()
Definition: slistack.h:85
void execute(SLIInterpreter *) const
Definition: slistack.cc:329
Definition: slistack.h:40
void execute(SLIInterpreter *) const
Definition: slistack.cc:62
void execute(SLIInterpreter *) const
Definition: slistack.cc:412
OverFunction()
Definition: slistack.h:99
Definition: slistack.h:89
Definition: interpret.h:69
void execute(SLIInterpreter *) const
Definition: slistack.cc:111
OperandstackFunction()
Definition: slistack.h:148
CopyFunction()
Definition: slistack.h:113
RolluFunction()
Definition: slistack.h:78
ExchFunction()
Definition: slistack.h:57
Definition: slistack.h:103
NpopFunction()
Definition: slistack.h:43
void execute(SLIInterpreter *) const
Definition: slistack.cc:306
void execute(SLIInterpreter *) const
Definition: slistack.cc:287
RotFunction()
Definition: slistack.h:92
Definition: slistack.h:124
void execute(SLIInterpreter *) const
Definition: slistack.cc:266
ClearFunction()
Definition: slistack.h:120
Definition: slistack.h:131
void execute(SLIInterpreter *) const
Definition: slistack.cc:225
Definition: slistack.h:47
PopFunction()
Definition: slistack.h:36
RollFunction()
Definition: slistack.h:71
void execute(SLIInterpreter *) const
Definition: slistack.cc:343
Definition: slistack.h:145
Definition: slistack.h:117