CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::Selector Class Reference

#include <Selector.h>

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

List of all members.

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 ()

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().

                                        :
    sel_(new ComposedSelectorWrapper<T>(expression)) {
    }
Selector< T >::~Selector ( ) [virtual]

Definition at line 20 of file Selector.cc.

{ }

Member Function Documentation

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

Implements edm::SelectorBase.

Definition at line 23 of file Selector.cc.

References Selector().

                        {
    return new Selector(*this);
  }
bool Selector< T >::doMatch ( ConstBranchDescription const &  p) const [virtual]

Implements edm::SelectorBase.

Definition at line 28 of file Selector.cc.

References sel_.

                                                            {
    return sel_->match(prov);
  }
void Selector< T >::swap ( Selector other)

Definition at line 16 of file Selector.cc.

References sel_.

                                {
    std::swap(sel_, other.sel_);
  }

Member Data Documentation

Definition at line 282 of file Selector.h.

Referenced by doMatch(), and swap().