Limbo
|
a helper to facilitate actions on different GDSII objects. More...
#include <GdsObjectHelpers.h>
Public Member Functions | |
template<typename ActionType > | |
void | operator() (::GdsParser::GdsRecords::EnumType type, GdsObject *object, ActionType action) const |
API to run the actions over all GDSII objects. More... | |
a helper to facilitate actions on different GDSII objects.
Some helper functions to convert base class pointers to derived class pointers. The basic procedure is to cast the pointer and perform actions with template classes, we only need to implement copyable action classes.
Definition at line 29 of file GdsObjectHelpers.h.
|
inline |
API to run the actions over all GDSII objects.
ActionType | action type |
type | GDSII record |
object | GDSII object, which will be casted according to GDSII record |
action | user-defined action function object |
Definition at line 37 of file GdsObjectHelpers.h.