KiCad PCB EDA Suite
DESIGN_TREE_ITEM_DATA Class Reference

class DESIGN_TREE_ITEM Handle one item for the page layoiut design More...

#include <design_tree_frame.h>

Inheritance diagram for DESIGN_TREE_ITEM_DATA:

Public Member Functions

 DESIGN_TREE_ITEM_DATA (WORKSHEET_DATAITEM *aItem=NULL)
 
WORKSHEET_DATAITEMGetItem () const
 
void SetItem (WORKSHEET_DATAITEM *aItem)
 Set the link to the item managed by the cell. More...
 

Private Attributes

WORKSHEET_DATAITEMm_wsItem
 

Detailed Description

class DESIGN_TREE_ITEM Handle one item for the page layoiut design

Definition at line 41 of file design_tree_frame.h.

Constructor & Destructor Documentation

DESIGN_TREE_ITEM_DATA::DESIGN_TREE_ITEM_DATA ( WORKSHEET_DATAITEM aItem = NULL)
inline

Definition at line 48 of file design_tree_frame.h.

49  {
50  m_wsItem = aItem;
51  }
WORKSHEET_DATAITEM * m_wsItem

Member Function Documentation

WORKSHEET_DATAITEM* DESIGN_TREE_ITEM_DATA::GetItem ( ) const
inline
Returns
the item managed by the cell

Definition at line 55 of file design_tree_frame.h.

References m_wsItem.

Referenced by DESIGN_TREE_FRAME::GetPageLayoutItem(), and DESIGN_TREE_FRAME::SelectCell().

56  {
57  return m_wsItem;
58  }
WORKSHEET_DATAITEM * m_wsItem
void DESIGN_TREE_ITEM_DATA::SetItem ( WORKSHEET_DATAITEM aItem)
inline

Set the link to the item managed by the cell.

Definition at line 62 of file design_tree_frame.h.

63  {
64  m_wsItem = aItem;
65  }
WORKSHEET_DATAITEM * m_wsItem

Member Data Documentation

WORKSHEET_DATAITEM* DESIGN_TREE_ITEM_DATA::m_wsItem
private

Definition at line 44 of file design_tree_frame.h.

Referenced by GetItem().


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