CMS 3D CMS Logo

Public Member Functions | Private Attributes

RefSelector< S > Struct Template Reference

#include <RefSelector.h>

List of all members.

Public Member Functions

template<typename Ref >
bool operator() (const Ref &ref) const
 RefSelector (const S &sel)

Private Attributes

sel_

Detailed Description

template<typename S>
struct RefSelector< S >

Definition at line 5 of file RefSelector.h.


Constructor & Destructor Documentation

template<typename S >
RefSelector< S >::RefSelector ( const S &  sel) [inline]

Definition at line 6 of file RefSelector.h.

: sel_( sel ) { }

Member Function Documentation

template<typename S >
template<typename Ref >
bool RefSelector< S >::operator() ( const Ref &  ref) const [inline]

Definition at line 8 of file RefSelector.h.

References RefSelector< S >::sel_.

                                           {
    return sel_( * ref );
  }

Member Data Documentation

template<typename S >
S RefSelector< S >::sel_ [private]

Definition at line 12 of file RefSelector.h.

Referenced by RefSelector< S >::operator()().