CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
DDAndFilter< F1, F2 > Class Template Reference

#include <DDFilter.h>

Inheritance diagram for DDAndFilter< F1, F2 >:
DDFilter

Public Member Functions

bool accept (const DDExpandedView &node) const final
 true, if the DDExpandedNode fulfills the filter criteria More...
 
 DDAndFilter (F1 iF1, F2 iF2)
 
- Public Member Functions inherited from DDFilter
 DDFilter ()
 
virtual ~DDFilter ()
 

Private Attributes

F1 f1_
 
F2 f2_
 

Detailed Description

template<typename F1, typename F2>
class DDAndFilter< F1, F2 >

Definition at line 97 of file DDFilter.h.

Constructor & Destructor Documentation

template<typename F1, typename F2>
DDAndFilter< F1, F2 >::DDAndFilter ( F1  iF1,
F2  iF2 
)
inline

Definition at line 99 of file DDFilter.h.

99  :
100  f1_(std::move(iF1)),
101  f2_(std::move(iF2)) {}
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

template<typename F1, typename F2>
bool DDAndFilter< F1, F2 >::accept ( const DDExpandedView ) const
inlinefinalvirtual

true, if the DDExpandedNode fulfills the filter criteria

Implements DDFilter.

Definition at line 103 of file DDFilter.h.

Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), and esMonitoring.FDJsonServer::handle_accept().

103  {
104  return f1_.accept(node) && f2_.accept(node);
105  }

Member Data Documentation

template<typename F1, typename F2>
F1 DDAndFilter< F1, F2 >::f1_
private

Definition at line 107 of file DDFilter.h.

template<typename F1, typename F2>
F2 DDAndFilter< F1, F2 >::f2_
private

Definition at line 108 of file DDFilter.h.