NEST
2.6.0,not_revisioned_source_dir@0
|
#include <gnureadline.h>
Classes | |
class | GNUAddhistoryFunction |
class | GNUReadlineFunction |
Public Member Functions | |
GNUReadline () | |
~GNUReadline () | |
const std::string | name (void) const |
Return name of the module. More... | |
void | init (SLIInterpreter *) |
Initialise the module. More... | |
Public Member Functions inherited from SLIModule | |
virtual | ~SLIModule () |
virtual const std::string | commandstring (void) const |
Return sli command sequence to be executed for initialisation. More... | |
void | install (std::ostream &, SLIInterpreter *) |
Print installation message via interpreter message command. More... | |
Public Attributes | |
GNUReadlineFunction | gnureadlinefunction |
GNUAddhistoryFunction | gnuaddhistoryfunction |
|
inline |
GNUReadline::~GNUReadline | ( | ) |
References clear_history().
|
virtual |
Initialise the module.
When this function is called, most of the interpreter's fascilities are up and running. However, depending on where in the interpreter's bootstrap sequence the module is initialised, not all services may be available.
Implements SLIModule.
References SLIInterpreter::createcommand(), gnuaddhistoryfunction, gnureadlinefunction, read_history(), and using_history().
|
inlinevirtual |
Return name of the module.
Implements SLIModule.
GNUAddhistoryFunction GNUReadline::gnuaddhistoryfunction |
Referenced by init().
GNUReadlineFunction GNUReadline::gnureadlinefunction |
Referenced by init().