NEST  2.6.0,not_revisioned_source_dir@0
slidata.h
Go to the documentation of this file.
1 /*
2  * slidata.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 SLIDATA_H
24 #define SLIDATA_H
25 /*
26  SLI's array access functions
27 */
28 #include "slifunction.h"
29 /*
30  Operators will be implemented as described in the PS Reference Manual
31  for the types
32  array
33  string
34  NOTE: dictionary operators are defined in slidict.{h,cc}
35  */
36 
38 {
39 public:
41  void execute(SLIInterpreter *) const;
42 };
43 
45 {
46 public:
48  void execute(SLIInterpreter *) const;
49 };
50 
52 {
53 public:
55  void execute(SLIInterpreter *) const;
56 };
57 
59 {
60 public:
62  void execute(SLIInterpreter *) const;
63 };
64 
66 {
67 public:
69  void execute(SLIInterpreter *) const;
70 };
71 
73 {
74 public:
76  void execute(SLIInterpreter *) const;
77 };
78 
80 {
81 public:
83  void execute(SLIInterpreter *) const;
84 };
85 
87 {
88 public:
90  void execute(SLIInterpreter *) const;
91 };
92 
94 {
95 public:
97  void execute(SLIInterpreter *) const;
98 };
99 
101 {
102 public:
104  void execute(SLIInterpreter *) const;
105 };
106 
108 {
109 public:
111  void execute(SLIInterpreter *) const;
112 };
113 
115 {
116 public:
118  void execute(SLIInterpreter *) const;
119 };
120 
122 {
123 public:
125  void execute(SLIInterpreter *) const;
126 };
127 
129 {
130 public:
132  void execute(SLIInterpreter *) const;
133 };
134 
136 {
137 public:
139  void execute(SLIInterpreter *) const;
140 };
141 
143 {
144 public:
146  void execute(SLIInterpreter *) const;
147 };
148 
150 {
151 public:
153  void execute(SLIInterpreter *) const;
154 };
155 
157 {
158 public:
160  void execute(SLIInterpreter *) const;
161 };
162 
164 {
165 public:
167  void execute(SLIInterpreter *) const;
168 };
169 
171 {
172 public:
174  void execute(SLIInterpreter *) const;
175 };
176 
178 {
179 public:
181  void execute(SLIInterpreter *) const;
182 };
183 
185 {
186 public:
188  void execute(SLIInterpreter *) const;
189 };
190 
192 {
193 public:
195  void execute(SLIInterpreter *) const;
196 };
197 
198 
200 {
201 public:
203  void execute(SLIInterpreter *) const;
204 };
205 
207 {
208 public:
210  void execute(SLIInterpreter *) const;
211 };
212 
214 {
215 public:
217  void execute(SLIInterpreter *) const;
218 };
219 
221 {
222 public:
224  void execute(SLIInterpreter *) const;
225 };
226 
228 {
229 public:
231  void execute(SLIInterpreter *) const;
232 };
233 
235 {
236 public:
238  void execute(SLIInterpreter *) const;
239 };
240 
242 {
243 public:
245  void execute(SLIInterpreter *) const;
246 };
247 
249 {
250 public:
252  void execute(SLIInterpreter *) const;
253 };
254 
256 {
257 public:
259  void execute(SLIInterpreter *) const;
260 };
261 
263 {
264 public:
266  void execute(SLIInterpreter *) const;
267 };
268 
270 {
271 public:
273 
274  void execute(SLIInterpreter *) const;
275 };
276 
278 {
279 public:
281  void execute(SLIInterpreter *) const;
282 };
283 
285 {
286 public:
288  void execute(SLIInterpreter *) const;
289 };
290 
292 {
293 public:
295  void execute(SLIInterpreter *) const;
296 };
297 
299 {
300 public:
302  void execute(SLIInterpreter *) const;
303 };
304 
306 {
307 public:
309  void execute(SLIInterpreter *) const;
310 };
311 
313 {
314 public:
316  void execute(SLIInterpreter *) const;
317 };
318 
320 {
321 public:
323  void execute(SLIInterpreter *) const;
324 };
325 
327 {
328 public:
330  void execute(SLIInterpreter *) const;
331 };
332 
334 {
335 public:
337  void execute(SLIInterpreter *) const;
338 };
339 
341 {
342 public:
344  void execute(SLIInterpreter *) const;
345 };
346 
348 {
349 public:
351  void execute(SLIInterpreter *) const;
352 };
353 
355 {
356 public:
358  void execute(SLIInterpreter *) const;
359 };
360 
362 {
363 public:
365  void execute(SLIInterpreter *) const;
366 };
367 
369 {
370 public:
372  void execute(SLIInterpreter *) const;
373 };
374 
376 {
377 public:
379  void execute(SLIInterpreter *) const;
380 };
381 
382 //--------------------------------------------------------------------------------- <- end of line (C84) is maximum width for LaTeX-include1
383 /* BeginDocumentation
384 
385 Name: cvi_s - convert string to integer
386 
387 Synopsis: string cvi_s -> integer
388 
389 Description: This is a wrapper to the standard C "atoi"-routine.
390 If cvi_s is executed with a string that contains letters 0 is returned.
391 
392 Examples: (23) cvi_s -> 23
393  (23.5) cvi_s -> 23
394  (NEST) cvi_s -> 0
395 
396 Diagnostics: No errors are raised.
397  In case of impossible conversion, zero is returned.
398 
399 Bugs: -
400 
401 Author: R Kupper
402 
403 FirstVersion: Nov 05 1999
404 
405 SeeAlso: cvi, cvd, cvs
406 
407 */
409 {
410 public:
412  void execute(SLIInterpreter *) const;
413 };
414 
415 //--------------------------------------------------------------------------------- <- end of line (C84) is maximum width for LaTeX-include1
416 /* BeginDocumentation
417 
418 Name: cvd_s - convert string to double
419 
420 Synopsis: string cvd_s -> double
421 
422 Description: This is a wrapper to the standard C "atof"-routine.
423 If cvd_s is executed with a string that contains letters 0 is returned.
424 
425 Examples: (23.5) cvi_s -> 23.5
426  (23) cvi_s -> 23 % doubletype!
427  (NEST) cvi_s -> 0
428 
429 Diagnostics: No errors are raised.
430  In case of impossible conversion, zero is returned.
431 
432 Bugs: -
433 
434 Author: R Kupper
435 
436 FirstVersion: Nov 05 1999
437 
438 SeeAlso: cvi, cvd, cvs
439 
440 */
442 {
443 public:
445  void execute(SLIInterpreter *) const;
446 };
447 
449 {
450 public:
452  void execute(SLIInterpreter *) const;
453 };
454 
456 {
457 public:
459  void execute(SLIInterpreter *) const;
460 };
461 
463 {
464 public:
466  void execute(SLIInterpreter *) const;
467 };
468 
470 {
471 public:
473  void execute(SLIInterpreter *) const;
474 };
475 
477 {
478 public:
480  void execute(SLIInterpreter *) const;
481 };
482 
484 {
485 public:
487  void execute(SLIInterpreter *) const;
488 };
489 
491 {
492 public:
494  void execute(SLIInterpreter *) const;
495 };
496 
497 // This function is not implemented
498 // needed to remove it in order to compile NEST
499 // on PETA project fx machine. 2010-10-28 MH
500 //class RangeFunction: public SLIFunction
501 //{
502 //public:
503 //RangeFunction() {}
504 // void execute(SLIInterpreter *) const;
505 //};
506 
508 {
509 public:
511  void execute(SLIInterpreter *) const;
512 };
513 
515 {
516 public:
518  void execute(SLIInterpreter *) const;
519 };
520 
521 
523 
524 
525 #endif
526 
527 
528 
void execute(SLIInterpreter *) const
Definition: slidata.cc:796
void execute(SLIInterpreter *) const
Definition: slidata.cc:1195
Definition: slidata.h:37
Replace_sFunction()
Definition: slidata.h:166
Get_pFunction()
Definition: slidata.h:61
Definition: slidata.h:170
Definition: slidata.h:44
void execute(SLIInterpreter *) const
Definition: slidata.cc:399
void execute(SLIInterpreter *) const
Definition: slidata.cc:437
Definition: slidata.h:65
InsertElement_sFunction()
Definition: slidata.h:152
Definition: slidata.h:149
Reserve_sFunction()
Definition: slidata.h:294
Definition: slidata.h:156
void execute(SLIInterpreter *) const
Definition: slidata.cc:1336
Definition: slidata.h:163
void execute(SLIInterpreter *) const
Definition: slidata.cc:457
Append_sFunction()
Definition: slidata.h:89
Definition: slidata.h:312
Shrink_aFunction()
Definition: slidata.h:272
void execute(SLIInterpreter *) const
Definition: slidata.cc:1206
Definition: slidata.h:319
void execute(SLIInterpreter *) const
Definition: slidata.cc:504
void execute(SLIInterpreter *) const
Definition: slidata.cc:364
void execute(SLIInterpreter *) const
Definition: slidata.cc:301
Definition: slidata.h:305
Definition: slidata.h:269
Definition: slidata.h:51
void init_slidata(SLIInterpreter *)
Definition: slidata.cc:1520
Erase_aFunction()
Definition: slidata.h:187
Cvx_aFunction()
Definition: slidata.h:329
void execute(SLIInterpreter *) const
Definition: slidata.cc:165
Join_aFunction()
Definition: slidata.h:124
Cvi_sFunction()
Definition: slidata.h:411
Append_aFunction()
Definition: slidata.h:75
Definition: slidata.h:291
Append_pFunction()
Definition: slidata.h:82
void execute(SLIInterpreter *) const
Definition: slidata.cc:1289
Definition: slidata.h:333
Definition: slidata.h:455
Definition: slifunction.h:35
Definition: slidata.h:340
Definition: slidata.h:469
Definition: slidata.h:490
Definition: slidata.h:241
Definition: slidata.h:255
Get_a_aFunction()
Definition: slidata.h:47
Definition: slidata.h:476
void execute(SLIInterpreter *) const
Definition: slidata.cc:771
void execute(SLIInterpreter *) const
Definition: slidata.cc:331
void execute(SLIInterpreter *) const
Definition: slidata.cc:651
void execute(SLIInterpreter *) const
Definition: slidata.cc:1116
Definition: slidata.h:326
Search_sFunction()
Definition: slidata.h:486
Capacity_sFunction()
Definition: slidata.h:280
Definition: slidata.h:462
Cvlit_pFunction()
Definition: slidata.h:343
Definition: slidata.h:483
void execute(SLIInterpreter *) const
Definition: slidata.cc:53
Erase_pFunction()
Definition: slidata.h:194
Definition: slidata.h:514
References_aFunction()
Definition: slidata.h:265
void execute(SLIInterpreter *) const
Definition: slidata.cc:1370
Get_aFunction()
Definition: slidata.h:40
void execute(SLIInterpreter *) const
Definition: slidata.cc:1244
Definition: slidata.h:361
void execute(SLIInterpreter *) const
Definition: slidata.cc:825
void execute(SLIInterpreter *) const
Definition: slidata.cc:572
void execute(SLIInterpreter *) const
Definition: slidata.cc:416
Length_pFunction()
Definition: slidata.h:216
void execute(SLIInterpreter *) const
Definition: slidata.cc:990
Definition: slidata.h:220
void execute(SLIInterpreter *) const
Definition: slidata.cc:1217
void execute(SLIInterpreter *) const
Definition: slidata.cc:968
InsertElement_aFunction()
Definition: slidata.h:159
Put_sFunction()
Definition: slidata.h:458
Cvn_lFunction()
Definition: slidata.h:378
Resize_aFunction()
Definition: slidata.h:251
void execute(SLIInterpreter *) const
Definition: slidata.cc:284
Prepend_aFunction()
Definition: slidata.h:96
Getinterval_sFunction()
Definition: slidata.h:315
Definition: slidata.h:347
void execute(SLIInterpreter *) const
Definition: slidata.cc:879
Definition: slidata.h:177
Definition: slidata.h:191
void execute(SLIInterpreter *) const
Definition: slidata.cc:1006
Insert_aFunction()
Definition: slidata.h:145
Allocations_aFunction()
Definition: slidata.h:54
Definition: slidata.h:79
void execute(SLIInterpreter *) const
Definition: slidata.cc:902
Definition: slidata.h:441
Definition: slidata.h:72
void execute(SLIInterpreter *) const
Definition: slidata.cc:1054
void execute(SLIInterpreter *) const
Definition: slidata.cc:262
Join_pFunction()
Definition: slidata.h:131
void execute(SLIInterpreter *) const
Definition: slidata.cc:1261
Definition: slidata.h:298
void execute(SLIInterpreter *) const
Definition: slidata.cc:1435
Cvd_sFunction()
Definition: slidata.h:444
void execute(SLIInterpreter *) const
Definition: slidata.cc:473
Definition: slidata.h:184
Capacity_aFunction()
Definition: slidata.h:230
void execute(SLIInterpreter *) const
Definition: slidata.cc:1171
Cvlp_pFunction()
Definition: slidata.h:350
void execute(SLIInterpreter *) const
Definition: slidata.cc:1410
RangeIterator_aFunction()
Definition: slidata.h:357
Replace_aFunction()
Definition: slidata.h:173
void execute(SLIInterpreter *) const
Definition: slidata.cc:952
void execute(SLIInterpreter *) const
Definition: slidata.cc:201
Definition: interpret.h:69
Definition: slidata.h:234
Definition: slidata.h:86
void execute(SLIInterpreter *) const
Definition: slidata.cc:853
Definition: slidata.h:248
void execute(SLIInterpreter *) const
Definition: slidata.cc:1301
Resize_sFunction()
Definition: slidata.h:301
Definition: slidata.h:213
RepeatanyFunction()
Definition: slidata.h:517
Insert_sFunction()
Definition: slidata.h:138
Definition: slidata.h:199
Getinterval_aFunction()
Definition: slidata.h:322
Definition: slidata.h:284
void execute(SLIInterpreter *) const
Definition: slidata.cc:1277
Put_aFunction()
Definition: slidata.h:465
void execute(SLIInterpreter *) const
Definition: slidata.cc:1020
Definition: slidata.h:375
Definition: slidata.h:121
Get_sFunction()
Definition: slidata.h:451
Definition: slidata.h:206
void execute(SLIInterpreter *) const
Definition: slidata.cc:75
void execute(SLIInterpreter *) const
Definition: slidata.cc:598
Cvn_sFunction()
Definition: slidata.h:371
void execute(SLIInterpreter *) const
Definition: slidata.cc:186
Definition: slidata.h:507
Definition: slidata.h:128
void execute(SLIInterpreter *) const
Definition: slidata.cc:934
void execute(SLIInterpreter *) const
Definition: slidata.cc:1075
Definition: slidata.h:114
void execute(SLIInterpreter *) const
Definition: slidata.cc:1142
Length_aFunction()
Definition: slidata.h:209
void execute(SLIInterpreter *) const
Definition: slidata.cc:46
Size_sFunction()
Definition: slidata.h:287
void execute(SLIInterpreter *) const
Definition: slidata.cc:1231
Erase_sFunction()
Definition: slidata.h:180
void execute(SLIInterpreter *) const
Definition: slidata.cc:715
Definition: slidata.h:368
Definition: slidata.h:135
Join_sFunction()
Definition: slidata.h:117
Length_lpFunction()
Definition: slidata.h:223
Cvlit_nFunction()
Definition: slidata.h:336
Definition: slidata.h:142
void execute(SLIInterpreter *) const
Definition: slidata.cc:1184
IrepeatanyFunction()
Definition: slidata.h:510
Reserve_aFunction()
Definition: slidata.h:244
void execute(SLIInterpreter *) const
Definition: slidata.cc:673
void execute(SLIInterpreter *) const
Definition: slidata.cc:143
void execute(SLIInterpreter *) const
Definition: slidata.cc:694
Definition: slidata.h:262
Definition: slidata.h:277
Length_sFunction()
Definition: slidata.h:202
Put_lpFunction()
Definition: slidata.h:479
Definition: slidata.h:227
Get_lpFunction()
Definition: slidata.h:68
Definition: slidata.h:107
Definition: slidata.h:100
void execute(SLIInterpreter *) const
Definition: slidata.cc:531
Prepend_sFunction()
Definition: slidata.h:110
Search_aFunction()
Definition: slidata.h:493
Empty_sFunction()
Definition: slidata.h:308
Empty_aFunction()
Definition: slidata.h:258
void execute(SLIInterpreter *) const
Definition: slidata.cc:230
Definition: slidata.h:58
Definition: slidata.h:408
Definition: slidata.h:448
Prepend_pFunction()
Definition: slidata.h:103
IteratorSize_iterFunction()
Definition: slidata.h:364
void execute(SLIInterpreter *) const
Definition: slidata.cc:1034
Definition: slidata.h:93
void execute(SLIInterpreter *) const
Definition: slidata.cc:746
Definition: slidata.h:354
Put_pFunction()
Definition: slidata.h:472
void execute(SLIInterpreter *) const
Definition: slidata.cc:624
Size_aFunction()
Definition: slidata.h:237