KiCad PCB EDA Suite
RN_NODE_AND_FILTER Struct Reference

#include <ratsnest_data.h>

Inheritance diagram for RN_NODE_AND_FILTER:
RN_NODE_FILTER

Public Member Functions

 RN_NODE_AND_FILTER (const RN_NODE_FILTER &aFilter1, const RN_NODE_FILTER &aFilter2)
 
bool operator() (const RN_NODE_PTR &aNode) const override
 

Private Attributes

const RN_NODE_FILTERm_filter1
 
const RN_NODE_FILTERm_filter2
 

Detailed Description

Definition at line 134 of file ratsnest_data.h.

Constructor & Destructor Documentation

RN_NODE_AND_FILTER::RN_NODE_AND_FILTER ( const RN_NODE_FILTER aFilter1,
const RN_NODE_FILTER aFilter2 
)
inline

Definition at line 136 of file ratsnest_data.h.

136  :
137  m_filter1( aFilter1 ), m_filter2( aFilter2 )
138  {}
const RN_NODE_FILTER & m_filter1
const RN_NODE_FILTER & m_filter2

Member Function Documentation

bool RN_NODE_AND_FILTER::operator() ( const RN_NODE_PTR aNode) const
inlineoverridevirtual

Reimplemented from RN_NODE_FILTER.

Definition at line 140 of file ratsnest_data.h.

References m_filter1, and m_filter2.

141  {
142  return m_filter1( aNode ) && m_filter2( aNode );
143  }
const RN_NODE_FILTER & m_filter1
const RN_NODE_FILTER & m_filter2

Member Data Documentation

const RN_NODE_FILTER& RN_NODE_AND_FILTER::m_filter1
private

Definition at line 146 of file ratsnest_data.h.

Referenced by operator()().

const RN_NODE_FILTER& RN_NODE_AND_FILTER::m_filter2
private

Definition at line 147 of file ratsnest_data.h.

Referenced by operator()().


The documentation for this struct was generated from the following file: