Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
GdsObjectHelpers.h File Reference

Various GDSII objects and a top GDSII database. More...

#include <cmath>
#include <boost/geometry/strategies/transform.hpp>
#include <limbo/parsers/gdsii/stream/GdsReader.h>
#include <limbo/parsers/gdsii/stream/GdsWriter.h>
#include <limbo/preprocessor/Msg.h>

Go to the source code of this file.

Classes

struct  GdsParser::GdsDB::GdsObjectHelpers
 a helper to facilitate actions on different GDSII objects. More...
 
struct  GdsParser::GdsDB::CopyCellObjectAction
 an action function for copy a cell More...
 
struct  GdsParser::GdsDB::DeleteCellObjectAction
 an action function for delete a cell More...
 
struct  GdsParser::GdsDB::WriteCellObjectAction< GdsWriterType >
 
struct  GdsParser::GdsDB::ExtractCellObjectAction
 Action function object to extract cell. More...
 
struct  GdsParser::GdsDB::ApplyCellReferenceActionDetails::Translate
 Translate operation. More...
 
struct  GdsParser::GdsDB::ApplyCellReferenceActionDetails::Rotate
 Rotate operation. More...
 
struct  GdsParser::GdsDB::ApplyCellReferenceActionDetails::MagScale
 Scale magnification. More...
 
struct  GdsParser::GdsDB::ApplyCellReferenceActionDetails::XReflection
 X reflection. More...
 
struct  GdsParser::GdsDB::ApplyCellReferenceAction
 Apply cell reference action. It needs to call functions in GdsParser::GdsDB::ApplyCellReferenceActionDetails. More...
 

Namespaces

 GdsParser
 namespace for Limbo.GdsParser
 
 GdsParser::GdsDB
 namespace for Limbo.GdsParser.GdsDB
 
 GdsParser::GdsDB::ExtractCellObjectActionDetails
 Detailed action functions for extract objects of a cell.
 
 GdsParser::GdsDB::ApplyCellReferenceActionDetails
 An action function to apply changes to a copied cell reference. It contains various transformers.
 

Functions

template<typename ObjectType >
void GdsParser::GdsDB::ExtractCellObjectActionDetails::extract (GdsDB const &, GdsCell const &, GdsCell &targetCell,::GdsParser::GdsRecords::EnumType type, ObjectType *object)
 
template<>
void GdsParser::GdsDB::ExtractCellObjectActionDetails::extract< GdsCellReference > (GdsDB const &gdsDB, GdsCell const &srcCell, GdsCell &targetCell,::GdsParser::GdsRecords::EnumType type, GdsCellReference *object)
 
template<>
void GdsParser::GdsDB::ExtractCellObjectActionDetails::extract< GdsCellArray > (GdsDB const &, GdsCell const &, GdsCell &,::GdsParser::GdsRecords::EnumType type, GdsCellArray *)
 
template<typename Iterator , typename TransformerType >
void GdsParser::GdsDB::ApplyCellReferenceActionDetails::transform (Iterator first, Iterator last, TransformerType transform)
 Transform operation over an array. More...
 
template<typename ObjectType >
void GdsParser::GdsDB::ApplyCellReferenceActionDetails::copyToArray (std::vector< GdsCellReference::point_type > &vPoint, ObjectType *object)
 copy points of objects to array More...
 
template<>
void GdsParser::GdsDB::ApplyCellReferenceActionDetails::copyToArray< GdsText > (std::vector< GdsCellReference::point_type > &vPoint, GdsText *object)
 copy points of objects to array More...
 
template<typename ObjectType >
void GdsParser::GdsDB::ApplyCellReferenceActionDetails::copyFromArray (std::vector< GdsCellReference::point_type > const &vPoint, ObjectType *object)
 copy points of objects from array More...
 
template<>
void GdsParser::GdsDB::ApplyCellReferenceActionDetails::copyFromArray< GdsText > (std::vector< GdsCellReference::point_type > const &vPoint, GdsText *object)
 copy points of objects from array More...
 
template<typename ObjectType >
void GdsParser::GdsDB::ApplyCellReferenceActionDetails::apply (GdsCellReference const &cellRef, ObjectType *object)
 apply cell reference More...
 
template<>
void GdsParser::GdsDB::ApplyCellReferenceActionDetails::apply< GdsCellReference > (GdsCellReference const &, GdsCellReference *)
 no reference to cell reference; it should not reach here
 
template<>
void GdsParser::GdsDB::ApplyCellReferenceActionDetails::apply< GdsCellArray > (GdsCellReference const &, GdsCellArray *)
 no reference to cell array; it should not reach here
 

Detailed Description

Various GDSII objects and a top GDSII database.

Author
Yibo Lin
Date
Oct 2016

Definition in file GdsObjectHelpers.h.