CMS 3D CMS Logo

FileCatalog.cc

Go to the documentation of this file.
00001 
00002 //
00003 // $Id: FileCatalog.cc,v 1.7 2008/03/14 03:46:02 wmtan Exp $
00004 //
00005 // Original Author: Luca Lista
00006 // Current Author: Bill Tanenbaum
00007 //
00009 
00010 #include "FWCore/Catalog/interface/FileCatalog.h"
00011 
00012 namespace edm {
00013 
00014   FileCatalog::FileCatalog(PoolCatalog & poolcat) :
00015       catalog_(poolcat.catalog_),
00016       url_(),
00017       active_(false) {
00018   }
00019 
00020   FileCatalog::~FileCatalog() {
00021     if (active_) catalog_.commit();
00022     catalog_.disconnect();
00023   }
00024 
00025   void FileCatalog::commitCatalog() {
00026     catalog_.commit();
00027     catalog_.start();
00028   }
00029 
00030 }

Generated on Tue Jun 9 17:35:18 2009 for CMSSW by  doxygen 1.5.4