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

1171 :
1172 view( aView )
1173 {
1174 }

Member Function Documentation

◆ operator()()

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

Definition at line 1176 of file view.cpp.

1177 {
1178 aItem->viewPrivData()->deleteGroups();
1179
1180 return true;
1181 }

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


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