General information:Author: klaas Version: 1.0 Date: Thu Oct 14 16:53:42 MET 1999 |
Header files:
|
Code files:
|
Input driver for DAVID Mann files. DAVID mann contains rectanguler DATA called flashes Flash data is read/mapped into the right internal structure (Box element) The DAVID Mann file is parsed according to the BNF given here.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: NONE |
Declaration:
FLASH_driver_in(Setup* setup,char* filename, G_BOOL add, int layernr = 0)
Parameters:
setup : layer properties
filename : name of GDSII input file
add : add data to existing drawing
add : add data on this layernr
Description:
constructor
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: NONE |
Declaration:
~FLASH_driver_in()
Description:
destructor
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Read(GdsII*)
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void SetDavidMannAdd(G_BOOL)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: G_BOOL |
Declaration:
G_BOOL Read_Command_From_FLASH_File()
Description:
read one command from flash file
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Strip_Nonsense()
Description:
filter comment and spaces from input
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Strip_Blanks()
Description:
remove blanks
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Strip_BOF()
Description:
remove start of FLASH file symbol (='#')
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Strip_Comment()
Description:
remove comment.
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Strip_Item(int)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Read_Items(int &teller)
Description:
read flash command and store the last_Xpos, last_Ypos etc.
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: G_BOOL |
Declaration:
G_BOOL is_Keyword(char)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: char* |
Declaration:
char* ReadValue(int &teller)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: FOUR_G_BYTE_SIGNED_INTEGER |
Declaration:
FOUR_G_BYTE_SIGNED_INTEGER Read_XY()
Description:
read commands from command buffer
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: FOUR_G_BYTE_SIGNED_INTEGER |
Declaration:
FOUR_G_BYTE_SIGNED_INTEGER Read_WH()
Description:
read commands from command buffer
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: TWO_G_BYTE_SIGNED_INTEGER |
Declaration:
TWO_G_BYTE_SIGNED_INTEGER Read_A()
Description:
read commands from command buffer
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Read_GDSII(GdsII*)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Read_Header(GdsII*)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Read_Bgnlib(GdsII*)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Read_Library(GdsII*)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Read_Units(Library*)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Read_Structure(StructureList*)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Read_Bgnstr(Structure*)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Read_StructureName(Structure*)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Read_Element(Structure* _structure)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Read_Box(Structure* _structure)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void ReadElflags(Element* _element)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void ReadLayer(Shape* _shape)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void ReadBoxType(Box* _box)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void ReadWidth(Shape* _shape)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Read_Flash(Structure*)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: double |
Declaration:
double Deg2Rad(TWO_G_BYTE_SIGNED_INTEGER)
Description:
conversion functions
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: double |
Declaration:
double Inch2Meter(FOUR_G_BYTE_SIGNED_INTEGER value)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: TWO_G_BYTE_SIGNED_INTEGER |
Declaration:
TWO_G_BYTE_SIGNED_INTEGER GetAddAtLayer()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: G_BOOL |
Declaration:
G_BOOL GetDavidMannAdd()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: FOUR_G_BYTE_SIGNED_INTEGER |
Declaration:
FOUR_G_BYTE_SIGNED_INTEGER Getlast_Xpos()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: FOUR_G_BYTE_SIGNED_INTEGER |
Declaration:
FOUR_G_BYTE_SIGNED_INTEGER Getlast_Ypos()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: FOUR_G_BYTE_SIGNED_INTEGER |
Declaration:
FOUR_G_BYTE_SIGNED_INTEGER Getlast_Height()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: FOUR_G_BYTE_SIGNED_INTEGER |
Declaration:
FOUR_G_BYTE_SIGNED_INTEGER Getlast_Width()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: TWO_G_BYTE_SIGNED_INTEGER |
Declaration:
TWO_G_BYTE_SIGNED_INTEGER Getlast_Angle()
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void SetAddAtLayer(TWO_G_BYTE_SIGNED_INTEGER)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Setlast_Xpos(FOUR_G_BYTE_SIGNED_INTEGER)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Setlast_Ypos(FOUR_G_BYTE_SIGNED_INTEGER)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Setlast_Height(FOUR_G_BYTE_SIGNED_INTEGER)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Setlast_Width(FOUR_G_BYTE_SIGNED_INTEGER)
Description:
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Setlast_Angle(TWO_G_BYTE_SIGNED_INTEGER)
Description:
scope: private | type: basic | typename: char* |
Declaration:
char* FLASH_filename
Description:
filename of flash file
scope: private | type: basic | typename: ifstream |
Declaration:
ifstream FLASH_file
Description:
file handle
scope: private | type: basic | typename: Setup* |
Declaration:
Setup* _setup
Description:
layer properties
scope: private | type: basic | typename: char |
Declaration:
char command_buffer[FLASH_BUFF_SIZE]
Description:
om het commando in op te slaan
scope: private | type: basic | typename: TWO_G_BYTE_SIGNED_INTEGER |
Declaration:
TWO_G_BYTE_SIGNED_INTEGER AddAtLayer
Description:
layer to add the data
scope: private | type: basic | typename: G_BOOL |
Declaration:
G_BOOL DavidMannAdd
Description:
add to existing drawing
scope: private | type: basic | typename: FOUR_G_BYTE_SIGNED_INTEGER |
Declaration:
FOUR_G_BYTE_SIGNED_INTEGER last_Xpos
Description:
position data off last flash
scope: private | type: basic | typename: FOUR_G_BYTE_SIGNED_INTEGER |
Declaration:
FOUR_G_BYTE_SIGNED_INTEGER last_Ypos
Description:
position data off last flash
scope: private | type: basic | typename: FOUR_G_BYTE_SIGNED_INTEGER |
Declaration:
FOUR_G_BYTE_SIGNED_INTEGER last_Height
Description:
position data off last flash
scope: private | type: basic | typename: FOUR_G_BYTE_SIGNED_INTEGER |
Declaration:
FOUR_G_BYTE_SIGNED_INTEGER last_Width
Description:
position data off last flash
scope: private | type: basic | typename: TWO_G_BYTE_SIGNED_INTEGER |
Declaration:
TWO_G_BYTE_SIGNED_INTEGER last_Angle
Description:
position data off last flash