rllib
1
lib
rlinterpreter.h
Go to the documentation of this file.
1
/***************************************************************************
2
rlinterpreter.h - description
3
-------------------
4
begin : Tue Jan 02 2001
5
copyright : (C) 2001 by R. Lehrig
6
email : lehrig@t-online.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This library is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as *
13
* published by the Free Software Foundation *
14
* *
15
***************************************************************************/
16
#ifndef _RL_INTERPRETER_H_
17
#define _RL_INTERPRETER_H_
18
19
#include "
rldefine.h
"
20
24
class
rlInterpreter
25
{
26
public
:
27
rlInterpreter
(
int
Maxline=
rl_PRINTF_LENGTH
);
28
virtual
~rlInterpreter
();
29
30
char
*
line
;
31
int
isCommand
(
const
char
*command);
32
void
copyStringParam
(
char
*destination,
int
index);
33
int
maxchar
();
34
35
private
:
36
int
maxline
;
37
};
38
39
#endif
rlInterpreter::rlInterpreter
rlInterpreter(int Maxline=rl_PRINTF_LENGTH)
Definition:
rlinterpreter.cpp:19
rl_PRINTF_LENGTH
#define rl_PRINTF_LENGTH
Definition:
rldefine.h:71
rlInterpreter::maxchar
int maxchar()
Definition:
rlinterpreter.cpp:74
rlInterpreter
Definition:
rlinterpreter.h:24
rlInterpreter::~rlInterpreter
virtual ~rlInterpreter()
Definition:
rlinterpreter.cpp:27
rlInterpreter::isCommand
int isCommand(const char *command)
Definition:
rlinterpreter.cpp:32
rlInterpreter::maxline
int maxline
Definition:
rlinterpreter.h:36
rldefine.h
rlInterpreter::copyStringParam
void copyStringParam(char *destination, int index)
Definition:
rlinterpreter.cpp:43
rlInterpreter::line
char * line
Definition:
rlinterpreter.h:30
Generated by
1.8.14