From 880eb4421cfd0924a3fcd11a54f32eb7e249a157 Mon Sep 17 00:00:00 2001 From: Pierre Gueth Date: Thu, 7 Feb 2013 15:35:00 +0100 Subject: [PATCH] merger works when files are ordered --- tests_dav/GateMergeManager.cc | 17 +++++++++++++++++ tests_dav/GateMergeManager.hh | 3 +++ 2 files changed, 20 insertions(+) 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); -- 2.47.1