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 1172 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 1174 of file view.cpp.

1174 :
1175 view( aView )
1176 {
1177 }

Member Function Documentation

◆ operator()()

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

Definition at line 1179 of file view.cpp.

1180 {
1181 aItem->viewPrivData()->deleteGroups();
1182
1183 return true;
1184 }

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 1186 of file view.cpp.


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