Limbo 3.5.4
Loading...
Searching...
No Matches
GdsParser::GdsDB::WriteCellObjectAction< GdsWriterType > Struct Template Reference

#include <GdsObjectHelpers.h>

Public Member Functions

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

Public Attributes

GdsWriterType const & writer
 wrapper of GDSII writer which will invoke GdsParser::GdsWriter to write
::GdsParser::GdsWritergdsWriter
 GDSII writer.
std::pair< ::GdsParser::GdsRecords::EnumType, GdsObject * > const & target
 target object

Detailed Description

template<typename GdsWriterType>
struct GdsParser::GdsDB::WriteCellObjectAction< GdsWriterType >

an action function for write a cell

Template Parameters
GdsWriterTypeobject writer type

Definition at line 146 of file GdsObjectHelpers.h.

Constructor & Destructor Documentation

◆ WriteCellObjectAction() [1/2]

template<typename GdsWriterType>
GdsParser::GdsDB::WriteCellObjectAction< GdsWriterType >::WriteCellObjectAction ( GdsWriterType const & w,
::GdsParser::GdsWriter & gw,
std::pair< ::GdsParser::GdsRecords::EnumType, GdsObject * > const & t )
inline

constructor

Parameters
wGDSII object writer
gwGDSII writer
ttarget object

Definition at line 156 of file GdsObjectHelpers.h.

◆ WriteCellObjectAction() [2/2]

template<typename GdsWriterType>
GdsParser::GdsDB::WriteCellObjectAction< GdsWriterType >::WriteCellObjectAction ( WriteCellObjectAction< GdsWriterType > const & rhs)
inline

copy constructor

Parameters
rhsa WriteCellObjectAction object

Definition at line 159 of file GdsObjectHelpers.h.

Member Function Documentation

◆ message()

template<typename GdsWriterType>
std::string GdsParser::GdsDB::WriteCellObjectAction< GdsWriterType >::message ( ) const
inline
Returns
a message of action for debug

Definition at line 171 of file GdsObjectHelpers.h.

◆ operator()()

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

API to run the writing action.

Template Parameters
ObjectTypeobject type
Parameters
objectGDSII object

Definition at line 165 of file GdsObjectHelpers.h.

Member Data Documentation

◆ gdsWriter

template<typename GdsWriterType>
::GdsParser::GdsWriter& GdsParser::GdsDB::WriteCellObjectAction< GdsWriterType >::gdsWriter

GDSII writer.

Definition at line 149 of file GdsObjectHelpers.h.

◆ target

template<typename GdsWriterType>
std::pair< ::GdsParser::GdsRecords::EnumType, GdsObject*> const& GdsParser::GdsDB::WriteCellObjectAction< GdsWriterType >::target

target object

Definition at line 150 of file GdsObjectHelpers.h.

◆ writer

template<typename GdsWriterType>
GdsWriterType const& GdsParser::GdsDB::WriteCellObjectAction< GdsWriterType >::writer

wrapper of GDSII writer which will invoke GdsParser::GdsWriter to write

Definition at line 148 of file GdsObjectHelpers.h.


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