wxArt2D
Classes | Macros | Typedefs | Variables
gdsio.h File Reference

GdsII format input and output. More...

#include "a2dprivate.h"
#include "wx/canvas/layerinf.h"
#include "wx/canvas/cantext.h"
#include <wx/wfstream.h>
Include dependency graph for gdsio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gds_strans_bitflags
 holds GDS-II info for reflection and positioning More...
 
class  Strans
 class to hold GDS-II transformation info, only used within the GDSII reader More...
 
class  a2dIOHandlerGDSIn
 Input driver for GDSII files. More...
 
class  a2dIOHandlerGDSOut
 Output driver for GDSII files. More...
 

Macros

#define GDS_ERROR   -1
 
#define GDS_DEFAULT_STRING_LENGTH   44
 
#define GDSTYPE_TWO_G_BYTE_UNSIGNED_INTEGER   7
 
#define GDSTYPE_FOUR_G_BYTE_UNSIGNED_INTEGER   8
 
#define GDSTYPE_NO_DATA   0
 
#define GDSTYPE_BIT_ARRAY   1
 
#define GDSTYPE_TWO_G_BYTE_SIGNED_INTEGER   2
 
#define GDSTYPE_FOUR_G_BYTE_SIGNED_INTEGER   3
 
#define GDSTYPE_FOUR_G_BYTE_REAL   4
 
#define GDSTYPE_EIGHT_G_BYTE_REAL   5
 
#define GDSTYPE_ASCII_STRING   6
 
#define GDS_HEADER   0
 
#define GDS_BGNLIB   1
 
#define GDS_LIBNAME   2
 
#define GDS_UNITS   3
 
#define GDS_ENDLIB   4
 
#define GDS_BGNSTR   5
 
#define GDS_STRNAME   6
 
#define GDS_ENDSTR   7
 
#define GDS_BOUNDARY   8
 
#define GDS_PATH   9
 
#define GDS_SREF   10
 
#define GDS_AREF   11
 
#define GDS_TEXT   12
 
#define GDS_LAYER   13
 
#define GDS_DATATYPE   14
 
#define GDS_WIDTH   15
 
#define GDS_XY   16
 
#define GDS_ENDEL   17
 
#define GDS_SNAME   18
 
#define GDS_COLROW   19
 
#define GDS_TEXTNODE   20
 
#define GDS_NODE   21
 
#define GDS_TEXTTYPE   22
 
#define GDS_PRESENTATION   23
 
#define GDS_SPACING   24
 
#define GDS_STRING   25
 
#define GDS_STRANS   26
 
#define GDS_MAG   27
 
#define GDS_ANGLE   28
 
#define GDS_UINTEGER   29
 
#define GDS_USTRING   30
 
#define GDS_REFLIBS   31
 
#define GDS_FONTS   32
 
#define GDS_PATHTYPE   33
 
#define GDS_GENERATIONS   34
 
#define GDS_ATTRTABLE   35
 
#define GDS_STYPTABLE   36
 
#define GDS_STRTYPE   37
 
#define GDS_ELFLAGS   38
 
#define GDS_ELKEY   39
 
#define GDS_LINKTYPE   40
 
#define GDS_LINKKEYS   41
 
#define GDS_NODETYPE   42
 
#define GDS_PROPATTR   43
 
#define GDS_PROPVALUE   44
 
#define GDS_BOX   45
 
#define GDS_BOXTYPE   46
 
#define GDS_PLEX   47
 
#define GDS_BGNEXTN   48
 
#define GDS_ENDEXTN   49
 
#define GDS_TAPENUM   50
 
#define GDS_TAPECODE   51
 
#define GDS_STRCLASS   52
 
#define GDS_RESERVED   53
 
#define GDS_FORMAT   54
 
#define GDS_MASK   55
 
#define GDS_ENDMASKS   56
 
#define GDS_LIBDIRSIZE   57
 
#define GDS_SRFNAME   58
 
#define GDS_LIBSECUR   59
 
#define DEFAULT_STRANS_ANGLE   0
 
#define DEFAULT_STRANS_SCALE   1.0
 
#define DEFAULT_STRANS_ABS_ANGLE   false
 
#define DEFAULT_STRANS_ABS_SCALE   false
 
#define DEFAULT_STRANS_REFLECTION   false
 

Typedefs

typedef wxByte G_BYTE
 
typedef wxUint16 TWO_G_BYTE_UNSIGNED_INTEGER
 
typedef wxUint32 FOUR_G_BYTE_UNSIGNED_INTEGER
 
typedef wxInt16 TWO_G_BYTE_SIGNED_INTEGER
 
typedef wxInt32 FOUR_G_BYTE_SIGNED_INTEGER
 
typedef wxFloat32 FOUR_G_BYTE_REAL
 
typedef wxFloat64 EIGHT_G_BYTE_REAL
 
typedef struct gds_strans_bitflags gds_strans_bitflags
 holds GDS-II info for reflection and positioning
 

Variables

const int GDS_HEADERSIZE = 4
 
const a2dError a2dError_GDSIIparse
 

Detailed Description

GdsII format input and output.

GDSII is an important mask industry interfacing format. Primitives on layers, stored in structures. This format was one of the main sources of insperation for the design of wxCanvasDocument's. The most important feature is that a group/structure can be placed at several location in a drawing without duplicating the data. So multiple reference to a drawing, which lead to reference counted objects (a2dObject) and smart pointers.

Author
Klaas Holwerda

Copyright: 2000-2004 (c) Klaas Holwerda

Licence: wxWidgets Licence

RCS-ID:

Id:
gdsio.h,v 1.25 2009/06/07 13:28:08 titato Exp

Definition in file gdsio.h.

Variable Documentation

const a2dError a2dError_GDSIIparse

GDSII parsing error

gdsio.h File Reference -- Sun Oct 12 2014 17:04:27 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation