#include <gdsdrin.h>
Public Methods | |
GDS_driver_in (const wxString &filename) | |
constructor | |
void | Read (GdsII *_GdsII) |
read in total GDSII file | |
Protected Methods | |
bool | ReadHeader (int type) |
void | SkipData () |
skip the date of the last read record | |
void | ReadString (wxString &a_string) |
read string data for Text element, structure names etc. | |
Protected Attributes | |
wxString | GDS_filename |
input file name | |
Gdsio | GDS_file |
input file handle | |
bool | _back |
last read record is stored | |
TWO_G_BYTE_UNSIGNED_INTEGER | _recordsize |
size of the last read record | |
G_BYTE | _recordtype |
recordtype of last read record | |
G_BYTE | _datatype |
the type of the data in the last read record | |
int | _mapping_in [1000] |
mapping of GDSII layers to internal layers | |
GdsII * | m_cur_gdsii |
the units of the current file that is read |
Every record in the GDSII file is read/mapped into the right internal structure The GDSII file is parsed according to the BNF of the GDSII format. Info on the different record types that are read can be found in the GDSII format manual All basic data types are read using a specialized file stream.
|
constructor
|
|
read in total GDSII file
|
|
read the specified record type from the GDSII file if the last record is not this type, it is stored for the next read |