From: Pierre Gueth Date: Thu, 7 Feb 2013 14:35:00 +0000 (+0100) Subject: merger works when files are ordered X-Git-Tag: v1.4.0~164^2~19 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=880eb4421cfd0924a3fcd11a54f32eb7e249a157;p=clitk.git merger works when files are ordered --- diff --git a/tests_dav/GateMergeManager.cc b/tests_dav/GateMergeManager.cc index dc190fc..5c5a12c 100644 --- a/tests_dav/GateMergeManager.cc +++ b/tests_dav/GateMergeManager.cc @@ -29,6 +29,7 @@ See GATE/LICENSE.txt for further details #include #include #include +#include #include "GateMergeManager.hh" @@ -50,6 +51,22 @@ void GateMergeManager::StartMerging(string splitfileName){ //if(res) cout<<"Strange?? Can't mark "<2) cout<<"Root input file name: "<2) cout<<"Root output file name: "< #include #include +#include using namespace std; +typedef list Strings; class GateMergeManager { @@ -43,6 +45,7 @@ public: void StartMerging(string splitfileName); + void StartMergingFromFilenames(Strings filenames, string outputfile); void ReadSplitFile(string splitfileName); bool MergeTree(string name); bool MergeGate(TChain* chain);