Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Classes | Typedefs | Functions
GdsParser Namespace Reference

namespace for Limbo.GdsParser More...

Namespaces

 GdsDB
 namespace for Limbo.GdsParser.GdsDB
 

Classes

struct  gds_celltype
 cell type More...
 
struct  gds_itemtype
 GDSII item type. More...
 
struct  GdsBoundary
 internal structure to store gds information More...
 
struct  GdsCell
 GDSII cell. More...
 
struct  GdsData
 data type More...
 
class  GdsDataBase
 

GdsDataBase redirects callbacks of GdsDataBaseKernel to ascii callbacks

More...
 
class  GdsDataBaseKernel
 Kernel callbacks for GdsReader. These callbacks use enum for record_type and data_type, which is faster than ascii callbacks. More...
 
class  GdsDriver
 High-level wrapper class for GdsReader. Everything is saved in an internal data structure and users only need to provide simple callbacks. More...
 
class  GdsDriverDataBase
 database for the driver More...
 
struct  GdsLib
 Top GDSII library. More...
 
class  GdsReader
 read GDSII More...
 
struct  GdsRecords
 GDSII records. The records are numbered with consecutive integers, so we can use simple array to save all the data. More...
 
struct  GdsSref
 GDSII SREF. More...
 
struct  GdsText
 GDSII TEXT. More...
 
class  GdsWriter
 

Typedefs

typedef int BOOL
 use integer as bool
 
typedef unsigned char BYTE
 use unsigned char as byte
 
typedef int int32_t
 
typedef unsigned int uint32_t
 

Functions

bool read (GdsDriverDataBase &db, string const &filename)
 API function for GdsDriver. More...
 
bool read (GdsDataBaseKernel &db, std::istream &fp)
 read from stream More...
 
bool read (GdsDataBaseKernel &db, string const &filename)
 read from file More...
 
accessors

accessors to enum types and mapping arrays

const char * gds_record_ascii (int record_type)
 
const char * gds_record_description (int record_type)
 
int gds_record_expected_data (int record_type)
 
const char * gds_data_ascii (int data_type)
 
const char * gds_data_description (int data_type)
 
GdsRecords::EnumType gds_record_type (int numeric)
 convert integer to enum More...
 
GdsData::EnumType gds_data_type (int numeric)
 convert integer to enum More...
 

Detailed Description

namespace for Limbo.GdsParser

Function Documentation

const char* GdsParser::gds_data_ascii ( int  data_type)
inline
Parameters
data_typedata type
Returns
ASCII

Definition at line 347 of file GdsRecords.h.

const char* GdsParser::gds_data_description ( int  data_type)
inline
Parameters
data_typedata type
Returns
description

Definition at line 353 of file GdsRecords.h.

GdsData::EnumType GdsParser::gds_data_type ( int  numeric)
inline

convert integer to enum

Parameters
numericinteger number of GDSII data type
Returns
enum type of GDSII data type

Definition at line 369 of file GdsRecords.h.

const char* GdsParser::gds_record_ascii ( int  record_type)
inline
Parameters
record_typeGDSII record
Returns
ASCII

Definition at line 329 of file GdsRecords.h.

const char* GdsParser::gds_record_description ( int  record_type)
inline
Parameters
record_typeGDSII record
Returns
description

Definition at line 335 of file GdsRecords.h.

int GdsParser::gds_record_expected_data ( int  record_type)
inline
Parameters
record_typeGDSII record
Returns
expected data

Definition at line 341 of file GdsRecords.h.

GdsRecords::EnumType GdsParser::gds_record_type ( int  numeric)
inline

convert integer to enum

Parameters
numericinteger number for GDSII record
Returns
enum type of GDSII record

Definition at line 360 of file GdsRecords.h.

bool GdsParser::read ( GdsDataBaseKernel &  db,
std::istream &  fp 
)

read from stream

Parameters
dbGDSII database
fpinput stream
bool GdsParser::read ( GdsDataBaseKernel &  db,
string const &  filename 
)

read from file

Parameters
dbGDSII database
filenameGDSII file
bool GdsParser::read ( GdsDriverDataBase &  db,
string const &  filename 
)

API function for GdsDriver.

Parameters
dbdatabase
filenameGDSII file