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