Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
GdsParser::GdsDB::ExtractCellObjectAction Struct Reference

Action function object to extract cell. More...

#include <GdsObjectHelpers.h>

Public Member Functions

 ExtractCellObjectAction (GdsDB const &db, GdsCell const &sc, GdsCell &tc)
 constructor More...
 
 ExtractCellObjectAction (ExtractCellObjectAction const &rhs)
 copy constructor More...
 
template<typename ObjectType >
void operator() (::GdsParser::GdsRecords::EnumType type, ObjectType *object)
 API to run the extraction. More...
 
std::string message () const
 

Public Attributes

GdsDB const & gdsDB
 GDSII database.
 
GdsCell const & srcCell
 source cell
 
GdsCelltargetCell
 target cell
 

Detailed Description

Action function object to extract cell.

Given GDSII database and source cell, construct a target cell with all the SREF and AREF replaced as copies

Definition at line 230 of file GdsObjectHelpers.h.

Constructor & Destructor Documentation

GdsParser::GdsDB::ExtractCellObjectAction::ExtractCellObjectAction ( GdsDB const &  db,
GdsCell const &  sc,
GdsCell tc 
)
inline

constructor

Parameters
dbGDSII database
scsource cell
tctarget cell

Definition at line 240 of file GdsObjectHelpers.h.

GdsParser::GdsDB::ExtractCellObjectAction::ExtractCellObjectAction ( ExtractCellObjectAction const &  rhs)
inline

copy constructor

Parameters
rhsan object

Definition at line 243 of file GdsObjectHelpers.h.

Member Function Documentation

std::string GdsParser::GdsDB::ExtractCellObjectAction::message ( ) const
inline
Returns
a message of action for debug

Definition at line 259 of file GdsObjectHelpers.h.

template<typename ObjectType >
void GdsParser::GdsDB::ExtractCellObjectAction::operator() ( ::GdsParser::GdsRecords::EnumType  type,
ObjectType *  object 
)
inline

API to run the extraction.

Since template specialization for member function is not supported I have to use external function within a namespace GdsParser::GdsDB::ExtractCellObjectActionDetails

Parameters
typeGDSII record
objectGDSII object

Definition at line 253 of file GdsObjectHelpers.h.


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