CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/FWCore/Framework/src/Selector.cc

Go to the documentation of this file.
00001 /*----------------------------------------------------------------------
00002   $Id: Selector.cc,v 1.8 2009/04/15 23:22:30 wmtan Exp $
00003   ----------------------------------------------------------------------*/
00004 
00005 #include "FWCore/Framework/interface/Selector.h"
00006 
00007 namespace edm
00008 {
00009   //------------------------------------------------------------------
00010   //
00011   // Selector
00012   //  
00013   //------------------------------------------------------------------
00014 
00015   void
00016   Selector::swap(Selector& other) {
00017     std::swap(sel_, other.sel_);
00018   }
00019 
00020   Selector::~Selector() { }
00021 
00022   Selector*
00023   Selector::clone() const {
00024     return new Selector(*this);
00025   }
00026 
00027   bool
00028   Selector::doMatch(ConstBranchDescription const& prov) const {
00029     return sel_->match(prov);
00030   }
00031 
00032 }