Limbo 3.5.4
Loading...
Searching...
No Matches
GdsParser::GdsDB::CopyCellObjectAction Struct Reference

an action function for copy a cell More...

#include <GdsObjectHelpers.h>

Public Member Functions

 CopyCellObjectAction (std::pair< ::GdsParser::GdsRecords::EnumType, GdsObject * > &t)
 constructor
 CopyCellObjectAction (CopyCellObjectAction const &rhs)
 copy constructor
template<typename ObjectType>
void operator() (::GdsParser::GdsRecords::EnumType type, ObjectType *object)
 API to run the copy action.
std::string message () const

Public Attributes

std::pair< ::GdsParser::GdsRecords::EnumType, GdsObject * > & target
 target cell

Detailed Description

an action function for copy a cell

Definition at line 86 of file GdsObjectHelpers.h.

Constructor & Destructor Documentation

◆ CopyCellObjectAction() [1/2]

GdsParser::GdsDB::CopyCellObjectAction::CopyCellObjectAction ( std::pair< ::GdsParser::GdsRecords::EnumType, GdsObject * > & t)
inline

constructor

Parameters
ttarget cell

Definition at line 92 of file GdsObjectHelpers.h.

◆ CopyCellObjectAction() [2/2]

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

copy constructor

Parameters
rhsa CopyCellObjectAction object

Definition at line 95 of file GdsObjectHelpers.h.

Member Function Documentation

◆ message()

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

Definition at line 109 of file GdsObjectHelpers.h.

◆ operator()()

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

API to run the copy action.

Template Parameters
ObjectTypeGDSII object type
Parameters
typeGDSII record
objectGDSII object

Definition at line 102 of file GdsObjectHelpers.h.

Member Data Documentation

◆ target

std::pair< ::GdsParser::GdsRecords::EnumType, GdsObject*>& GdsParser::GdsDB::CopyCellObjectAction::target

target cell

Definition at line 88 of file GdsObjectHelpers.h.


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