|
Limbo 3.5.4
|
read GDSII file with GDSII database GdsParser::GdsDB::GdsDB More...
#include <GdsIO.h>
Public Types | |
| typedef GdsDB | gdsdb_type |
| typedef gdsdb_type::coordinate_type | coordinate_type |
| typedef gdsdb_type::point_type | point_type |
Public Member Functions | |
| GdsReader (gdsdb_type &db) | |
| constructor | |
| bool | operator() (std::string const &filename) |
| API to read GDSII file. | |
required callbacks in parser | |
| virtual void | bit_array_cbk (::GdsParser::GdsRecords::EnumType record_type, ::GdsParser::GdsData::EnumType data_type, std::vector< int > const &vBitArray) |
| virtual void | integer_2_cbk (::GdsParser::GdsRecords::EnumType record_type, ::GdsParser::GdsData::EnumType data_type, std::vector< int > const &vInteger) |
| virtual void | integer_4_cbk (::GdsParser::GdsRecords::EnumType record_type, ::GdsParser::GdsData::EnumType data_type, std::vector< int > const &vInteger) |
| virtual void | real_4_cbk (::GdsParser::GdsRecords::EnumType record_type, ::GdsParser::GdsData::EnumType data_type, std::vector< double > const &vFloat) |
| virtual void | real_8_cbk (::GdsParser::GdsRecords::EnumType record_type, ::GdsParser::GdsData::EnumType data_type, std::vector< double > const &vFloat) |
| virtual void | string_cbk (::GdsParser::GdsRecords::EnumType record_type, ::GdsParser::GdsData::EnumType data_type, std::string const &str) |
| virtual void | begin_end_cbk (::GdsParser::GdsRecords::EnumType record_type) |
helper functions for easier processing | |
| void | integer_cbk (::GdsParser::GdsRecords::EnumType record_type, ::GdsParser::GdsData::EnumType data_type, std::vector< int > const &vData) |
| callbacks for integer | |
| void | float_cbk (::GdsParser::GdsRecords::EnumType record_type, ::GdsParser::GdsData::EnumType data_type, std::vector< double > const &vData) |
| callbacks for floating point number | |
Protected Member Functions | |
| void | reset () |
| reset all temporary data to default values | |
| void | printUnsupportRecords () const |
| warn unsupported records | |
Protected Attributes | |
| std::string | m_string |
| STRING. | |
| std::string | m_sname |
| SNAME. | |
| int | m_layer |
| LAYER. | |
| int | m_datatype |
| DATATYPE. | |
| int | m_pathtype |
| PATHTYPE. | |
| int | m_texttype |
| TEXTTYPE. | |
| int | m_spacing [2] |
| SPACING. | |
| int | m_width |
| WIDTH. | |
| int | m_columns |
| COLROW, number of columns. | |
| int | m_rows |
| COLROW, number of rows. | |
| int | m_bgnextn |
| BGNEXTN. | |
| int | m_endextn |
| ENDEXTN. | |
| double | m_angle |
| ANGLE. | |
| double | m_magnification |
| MAG. | |
| int | m_strans |
| STRANS. | |
| int | m_presentation |
| PRESENTATION. | |
| std::vector< point_type > | m_vPoint |
| XY. | |
| ::GdsParser::GdsRecords::EnumType | m_status |
| current record status | |
| int | m_fileSize |
| file size in bytes | |
| gdsdb_type & | m_db |
| reference to GDSII database | |
| std::vector< unsigned int > | m_vUnsupportRecord |
| try to be clean at screen output, record the times of unsupported records | |
read GDSII file with GDSII database GdsParser::GdsDB::GdsDB
| typedef gdsdb_type::coordinate_type GdsParser::GdsDB::GdsReader::coordinate_type |
| typedef gdsdb_type::point_type GdsParser::GdsDB::GdsReader::point_type |
|
inline |
|
virtual |
| record_type | GDSII record |
Implements GdsParser::GdsDataBaseKernel.
|
virtual |
| record_type | GDSII record |
| data_type | GDSII data type |
| vBitArray | data |
| void GdsParser::GdsDB::GdsReader::float_cbk | ( | ::GdsParser::GdsRecords::EnumType | record_type, |
| ::GdsParser::GdsData::EnumType | data_type, | ||
| std::vector< double > const & | vData ) |
callbacks for floating point number
| record_type | GDSII record |
| data_type | GDSII data type |
| vData | data |
|
virtual |
| record_type | GDSII record |
| data_type | GDSII data type |
| vInteger | data |
|
virtual |
| record_type | GDSII record |
| data_type | GDSII data type |
| vInteger | data |
| void GdsParser::GdsDB::GdsReader::integer_cbk | ( | ::GdsParser::GdsRecords::EnumType | record_type, |
| ::GdsParser::GdsData::EnumType | data_type, | ||
| std::vector< int > const & | vData ) |
callbacks for integer
| record_type | GDSII record |
| data_type | GDSII data type |
| vData | data |
| bool GdsParser::GdsDB::GdsReader::operator() | ( | std::string const & | filename | ) |
API to read GDSII file.
| filename | GDSII file |
|
virtual |
| record_type | GDSII record |
| data_type | GDSII data type |
| vFloat | data |
|
virtual |
| record_type | GDSII record |
| data_type | GDSII data type |
| vFloat | data |
|
virtual |
| record_type | GDSII record |
| data_type | GDSII data type |
| str | data |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |