KiCad PCB EDA Suite
KIGFX::VIEW::CLEAR_LAYER_CACHE_VISITOR Struct Reference

Public Member Functions

 CLEAR_LAYER_CACHE_VISITOR (VIEW *aView)
 
bool operator() (VIEW_ITEM *aItem)
 

Public Attributes

VIEWview
 

Detailed Description

Definition at line 1178 of file view.cpp.

Constructor & Destructor Documentation

◆ CLEAR_LAYER_CACHE_VISITOR()

KIGFX::VIEW::CLEAR_LAYER_CACHE_VISITOR::CLEAR_LAYER_CACHE_VISITOR ( VIEW aView)
inline

Definition at line 1180 of file view.cpp.

1180  :
1181  view( aView )
1182  {
1183  }

Member Function Documentation

◆ operator()()

bool KIGFX::VIEW::CLEAR_LAYER_CACHE_VISITOR::operator() ( VIEW_ITEM aItem)
inline

Definition at line 1185 of file view.cpp.

1186  {
1187  aItem->viewPrivData()->deleteGroups();
1188 
1189  return true;
1190  }

References KIGFX::VIEW_ITEM_DATA::deleteGroups(), and KIGFX::VIEW_ITEM::viewPrivData().

Member Data Documentation

◆ view

VIEW* KIGFX::VIEW::CLEAR_LAYER_CACHE_VISITOR::view

Definition at line 1192 of file view.cpp.


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