#include <rlinterpreter.h>
A class for interpreting text.
Definition at line 24 of file rlinterpreter.h.
◆ rlInterpreter()
◆ ~rlInterpreter()
rlInterpreter::~rlInterpreter |
( |
| ) |
|
|
virtual |
◆ copyStringParam()
void rlInterpreter::copyStringParam |
( |
char * |
destination, |
|
|
int |
index |
|
) |
| |
Definition at line 43 of file rlinterpreter.cpp.
50 while(
line[i] !=
'\0')
52 if(
line[i] ==
'\"' && (i > 0 ||
line[i-1] !=
'\\')) iparen++;
53 if(iparen == (2*index + 1))
57 while(
line[i] !=
'\0' && (
line[i] !=
'\"' &&
line[i-1] !=
'\\'))
64 *destination++ =
line[i++];
◆ isCommand()
int rlInterpreter::isCommand |
( |
const char * |
command | ) |
|
Definition at line 32 of file rlinterpreter.cpp.
35 while(command[i] !=
'\0')
37 if(command[i] !=
line[i])
return 0;
◆ maxchar()
int rlInterpreter::maxchar |
( |
| ) |
|
◆ line
char* rlInterpreter::line |
◆ maxline
int rlInterpreter::maxline |
|
private |
The documentation for this class was generated from the following files: