1.1 --- a/c++/parameter-lister/info/globalcode/parameterLister/OutputModule.cpp Tue May 05 22:27:59 2015 +0200
1.2 +++ b/c++/parameter-lister/info/globalcode/parameterLister/OutputModule.cpp Tue May 05 22:30:28 2015 +0200
1.3 @@ -5,21 +5,15 @@
1.4 namespace globalcode {
1.5 namespace parameterLister {
1.6
1.7 -int OutputModule::process(std::ostream &output, std::string &command, std::vector<std::string> &args) {
1.8 - terminalCodes::Modifier fgGreen(terminalCodes::FG_GREEN);
1.9 - terminalCodes::Modifier fgReset(terminalCodes::FG_DEFAULT);
1.10 +using namespace std;
1.11
1.12 - using namespace std;
1.13 -
1.14 - output << "<outputModule>" << endl;
1.15 +int OutputModule::process(ostream &output, string &command, vector<std::string> &args) {
1.16
1.17 for (int i = 0; i < args.size(); i++) {
1.18 string s = args[i];
1.19 output << i + 1 << ":" << s.length() << " = \"" << s << "\"" << endl;
1.20 }
1.21
1.22 - output << "</outputModule>" << endl;
1.23 -
1.24 return 0;
1.25 }
1.26