KiCad PCB EDA Suite
LINE_TARGET_DIFF_TAG Struct Reference

#include <ratsnest_data.h>

Inheritance diagram for LINE_TARGET_DIFF_TAG:
RN_NODE_FILTER

Public Member Functions

 LINE_TARGET_DIFF_TAG (int aTag)
 
bool operator() (const RN_NODE_PTR &aNode) const override
 

Private Attributes

int m_tag
 

Detailed Description

Definition at line 119 of file ratsnest_data.h.

Constructor & Destructor Documentation

LINE_TARGET_DIFF_TAG::LINE_TARGET_DIFF_TAG ( int  aTag)
inline

Definition at line 121 of file ratsnest_data.h.

121  :
122  m_tag( aTag )
123  {}

Member Function Documentation

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

Reimplemented from RN_NODE_FILTER.

Definition at line 125 of file ratsnest_data.h.

References m_tag.

126  {
127  return !aNode->GetNoLine() && aNode->GetTag() == m_tag;
128  }

Member Data Documentation

int LINE_TARGET_DIFF_TAG::m_tag
private

Definition at line 131 of file ratsnest_data.h.

Referenced by operator()().


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