24 }
catch (...) {
throw;
29std::string commandReader::readLine()
33 while (line.empty()) {
37 if (!std::getline(m_inputfile, line)) {
46 || (line[0] ==
';')) line =
"";
55 std::string line = readLine();
58 if (line ==
"__END__") {
60 }
else if (!line.empty()) {
61 std::stringstream ss(line);
63 std::getline(ss, cmd.
m_args);
79 m_inputfile.open(m_filename.c_str(), std::ios_base::in);
engineInterface * AppEI()
This is the main include file, needs to be included before any other include.
commandReader m_reader
searching output
bool attach(std::string const &ifile)
void execute(std::string const &command, std::string const ¶ms)
virtual void sendPrompt()