CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Selector.cc
Go to the documentation of this file.
1 /*----------------------------------------------------------------------
2  $Id: Selector.cc,v 1.8 2009/04/15 23:22:30 wmtan Exp $
3  ----------------------------------------------------------------------*/
4 
6 
7 namespace edm
8 {
9  //------------------------------------------------------------------
10  //
11  // Selector
12  //
13  //------------------------------------------------------------------
14 
15  void
17  std::swap(sel_, other.sel_);
18  }
19 
21 
22  Selector*
23  Selector::clone() const {
24  return new Selector(*this);
25  }
26 
27  bool
29  return sel_->match(prov);
30  }
31 
32 }
Selector(T const &expression)
Definition: Selector.h:286
virtual ~Selector()
Definition: Selector.cc:20
virtual Selector * clone() const
Definition: Selector.cc:23
value_ptr< SelectorBase > sel_
Definition: Selector.h:282
void swap(Selector &other)
Definition: Selector.cc:16
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
virtual bool doMatch(ConstBranchDescription const &p) const
Definition: Selector.cc:28