# HG changeset patch # User František Kučera # Date 1430857828 -7200 # Node ID 48a3c9c509374f6786d0f50e21c05a48197b7309 # Parent 25a73772efbd56bb635f6c72b8534b2a999af003 default OutputModule: basic text output diff -r 25a73772efbd -r 48a3c9c50937 c++/parameter-lister/info/globalcode/parameterLister/OutputModule.cpp --- a/c++/parameter-lister/info/globalcode/parameterLister/OutputModule.cpp Tue May 05 22:27:59 2015 +0200 +++ b/c++/parameter-lister/info/globalcode/parameterLister/OutputModule.cpp Tue May 05 22:30:28 2015 +0200 @@ -5,21 +5,15 @@ namespace globalcode { namespace parameterLister { -int OutputModule::process(std::ostream &output, std::string &command, std::vector &args) { - terminalCodes::Modifier fgGreen(terminalCodes::FG_GREEN); - terminalCodes::Modifier fgReset(terminalCodes::FG_DEFAULT); +using namespace std; - using namespace std; - - output << "" << endl; +int OutputModule::process(ostream &output, string &command, vector &args) { for (int i = 0; i < args.size(); i++) { string s = args[i]; output << i + 1 << ":" << s.length() << " = \"" << s << "\"" << endl; } - output << "" << endl; - return 0; }