CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
edm::Selector Class Reference

#include <Selector.h>

Inheritance diagram for edm::Selector:
edm::SelectorBase

Public Member Functions

virtual Selectorclone () const
 
virtual bool doMatch (ConstBranchDescription const &p) const
 
template<typename T >
 Selector (T const &expression)
 
void swap (Selector &other)
 
virtual ~Selector ()
 
- Public Member Functions inherited from edm::SelectorBase
bool match (ConstBranchDescription const &p) const
 
virtual ~SelectorBase ()
 

Private Attributes

value_ptr< SelectorBasesel_
 

Detailed Description

Definition at line 272 of file Selector.h.

Constructor & Destructor Documentation

template<typename T >
Selector< T >::Selector ( T const &  expression)

Definition at line 286 of file Selector.h.

Referenced by clone().

286  :
287  sel_(new ComposedSelectorWrapper<T>(expression)) {
288  }
value_ptr< SelectorBase > sel_
Definition: Selector.h:282
Selector< T >::~Selector ( )
virtual

Definition at line 20 of file Selector.cc.

20 { }

Member Function Documentation

Selector * Selector< T >::clone ( void  ) const
virtual

Implements edm::SelectorBase.

Definition at line 23 of file Selector.cc.

References Selector().

23  {
24  return new Selector(*this);
25  }
Selector(T const &expression)
Definition: Selector.h:286
bool Selector< T >::doMatch ( ConstBranchDescription const &  p) const
virtual

Implements edm::SelectorBase.

Definition at line 28 of file Selector.cc.

References sel_.

28  {
29  return sel_->match(prov);
30  }
value_ptr< SelectorBase > sel_
Definition: Selector.h:282
void Selector< T >::swap ( Selector other)

Definition at line 16 of file Selector.cc.

References sel_, and std::swap().

16  {
17  std::swap(sel_, other.sel_);
18  }
value_ptr< SelectorBase > sel_
Definition: Selector.h:282
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)

Member Data Documentation

value_ptr<SelectorBase> edm::Selector::sel_
private

Definition at line 282 of file Selector.h.

Referenced by doMatch(), and swap().