NEST
2.6.0,not_revisioned_source_dir@0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
ixaxaar
src
nest
sli
gnureadline.h
Go to the documentation of this file.
1
/*
2
* gnureadline.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 GNUREADLINE_H
24
#define GNUREADLINE_H
25
26
#include "
config.h
"
27
#ifdef HAVE_READLINE
28
29
#include "
slitype.h
"
30
#include "
slimodule.h
"
31
32
class
GNUReadline
:
public
SLIModule
33
{
34
public
:
35
36
GNUReadline
(){}
37
~GNUReadline
();
38
39
const
std::string
name
(
void
)
const
40
{
41
return
"GNUReadline"
;
42
}
43
44
void
init
(
SLIInterpreter
*);
45
46
class
GNUReadlineFunction
:
public
SLIFunction
47
{
48
public
:
49
void
execute
(
SLIInterpreter
*)
const
;
50
};
51
52
class
GNUAddhistoryFunction
:
public
SLIFunction
53
{
54
public
:
55
void
execute
(
SLIInterpreter
*)
const
;
56
};
57
58
GNUReadlineFunction
gnureadlinefunction
;
59
GNUAddhistoryFunction
gnuaddhistoryfunction
;
60
};
61
62
#endif //HAVE_READLINE
63
64
#endif
slitype.h
SLIFunction
Definition:
slifunction.h:35
slimodule.h
config.h
GNUReadline::GNUReadline
GNUReadline()
Definition:
gnureadline.h:36
GNUReadline::gnuaddhistoryfunction
GNUAddhistoryFunction gnuaddhistoryfunction
Definition:
gnureadline.h:59
GNUReadline::name
const std::string name(void) const
Return name of the module.
Definition:
gnureadline.h:39
GNUReadline
Definition:
gnureadline.h:32
GNUReadline::GNUReadlineFunction::execute
void execute(SLIInterpreter *) const
Definition:
gnureadline.cc:49
SLIInterpreter
Definition:
interpret.h:69
GNUReadline::GNUReadlineFunction
Definition:
gnureadline.h:46
GNUReadline::~GNUReadline
~GNUReadline()
Definition:
gnureadline.cc:106
GNUReadline::init
void init(SLIInterpreter *)
Initialise the module.
Definition:
gnureadline.cc:111
SLIModule
Base class for all SLI Interpreter modules.
Definition:
slimodule.h:34
GNUReadline::gnureadlinefunction
GNUReadlineFunction gnureadlinefunction
Definition:
gnureadline.h:58
GNUReadline::GNUAddhistoryFunction::execute
void execute(SLIInterpreter *) const
Definition:
gnureadline.cc:89
GNUReadline::GNUAddhistoryFunction
Definition:
gnureadline.h:52
Generated on Thu Mar 26 2015 08:02:25 for NEST by
1.8.7