author | František Kučera <franta-hg@frantovo.cz> |
Mon, 04 May 2015 00:29:17 +0200 | |
changeset 14 | d81d0a119e76 |
parent 12 | fde958908539 |
child 16 | 65f51abd5fb8 |
permissions | -rw-r--r-- |
1 #include "TerminalOutputModule.h"
3 namespace info {
4 namespace globalcode {
5 namespace parameterLister {
7 void TerminalOutputModule::process(std::ostream &output, std::string &command, std::vector<std::string> &args) {
8 using namespace std;
9 output << "<terminalOutputModule>" << endl;
11 for (int i = 0; i < args.size(); i++) {
12 string s = args[i];
13 output << i + 1 << ":" << s.length() << " = \"" << s << "\"" << endl;
14 }
16 output << "</terminalOutputModule>" << endl;
17 }
19 }
20 }
21 }