KiCad PCB EDA Suite
RC_TREE_NODE Class Reference

#include <rc_item.h>

Public Types

enum  NODE_TYPE {
  MARKER, MAIN_ITEM, AUX_ITEM, AUX_ITEM2,
  AUX_ITEM3
}
 

Public Member Functions

 RC_TREE_NODE (RC_TREE_NODE *aParent, RC_ITEM *aRcItem, NODE_TYPE aType)
 
 ~RC_TREE_NODE ()
 

Public Attributes

NODE_TYPE m_Type
 
RC_ITEMm_RcItem
 
RC_TREE_NODEm_Parent
 
std::vector< RC_TREE_NODE * > m_Children
 

Detailed Description

Definition at line 187 of file rc_item.h.

Member Enumeration Documentation

◆ NODE_TYPE

Enumerator
MARKER 
MAIN_ITEM 
AUX_ITEM 
AUX_ITEM2 
AUX_ITEM3 

Definition at line 190 of file rc_item.h.

Constructor & Destructor Documentation

◆ RC_TREE_NODE()

RC_TREE_NODE::RC_TREE_NODE ( RC_TREE_NODE aParent,
RC_ITEM aRcItem,
NODE_TYPE  aType 
)
inline

Definition at line 192 of file rc_item.h.

192  :
193  m_Type( aType ),
194  m_RcItem( aRcItem ),
195  m_Parent( aParent )
196  {}
RC_TREE_NODE * m_Parent
Definition: rc_item.h:207
NODE_TYPE m_Type
Definition: rc_item.h:204
RC_ITEM * m_RcItem
Definition: rc_item.h:205

◆ ~RC_TREE_NODE()

RC_TREE_NODE::~RC_TREE_NODE ( )
inline

Definition at line 198 of file rc_item.h.

199  {
200  for( RC_TREE_NODE* child : m_Children )
201  delete child;
202  }
std::vector< RC_TREE_NODE * > m_Children
Definition: rc_item.h:208

References m_Children.

Member Data Documentation

◆ m_Children

std::vector<RC_TREE_NODE*> RC_TREE_NODE::m_Children

◆ m_Parent

RC_TREE_NODE* RC_TREE_NODE::m_Parent

Definition at line 207 of file rc_item.h.

Referenced by RC_TREE_MODEL::ValueChanged().

◆ m_RcItem

◆ m_Type


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