author | František Kučera <franta-hg@frantovo.cz> |
Tue, 05 May 2015 22:46:40 +0200 | |
changeset 20 | 0684883953ba |
parent 19 | 48a3c9c50937 |
child 28 | bfef9f34e438 |
permissions | -rw-r--r-- |
1 #include "OutputModule.h"
2 #include "terminalCodes/TerminalCodes.h"
4 namespace info {
5 namespace globalcode {
6 namespace parameterLister {
8 using namespace std;
10 int OutputModule::process(ostream &output, string &command, vector<std::string> &args) {
12 for (int i = 0; i < args.size(); i++) {
13 string s = args[i];
14 output << i + 1 << ":" << s.length() << " = \"" << escapeValue(s, true) << "\"" << endl;
15 }
17 return 0;
18 }
20 string OutputModule::escapeValue(string value, bool colorize) {
21 return value;
22 }
24 }
25 }
26 }