//===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== #include "bbstdWriteColumnsString.h" #include "bbstdPackage.h" namespace bbstd { BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,WriteColumnsString) BBTK_BLACK_BOX_IMPLEMENTATION(WriteColumnsString,bbtk::AtomicBlackBox); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== void WriteColumnsString::Process() { std::cout << "MLER WriteColumnsString::Process Start " << std::endl; std::ofstream write_fi; write_fi.open(bbGetInputFileName().c_str()); //std::cout<<"write_fi "< headers = bbGetInputHeaders(); int i,j,k; if(write_fi.is_open()) { for(i=0 ;i< headers.size(); i++ ) { write_fi << headers[i] << "\t"; }//for headersSize for(j=0; j< bbGetInputlstData1().size();j++) { write_fi << bbGetInputlstData1()[j] << "\n"; } std::cout<<"size Header"<