Main Page   Class Hierarchy   Compound List   File List   Compound Members  

EMASK_driver_in Class Reference

Input driver for EMASK files. More...

#include <emaskin.h>

List of all members.

Public Methods

 EMASK_driver_in (const wxString &filename, bool add, int layernr=0)
 constructor

 ~EMASK_driver_in ()
 destructor


Protected Methods

bool Read_Command_From_EMASK_File ()
 read one command from flash file

void Strip_Blanks ()
 remove blanks

void Read_Items (int &teller)
 read flash command and store the last_Xpos, last_Ypos etc.

int Read_XY ()
 read commands from command buffer

int Read_WH ()
 read commands from command buffer

int Read_A ()
 read commands from command buffer


Detailed Description

Input driver for EMASK files.

EMASK contains rectanguler DATA called flashes Flash data is read/mapped into the right internal structure (Box element) The FLASH file is parsed according to the BNF given here.

Below you can see the Bachus Naur representation of the format for EMASK representation :


 <command>              ::= [<blanks>] {<keyword> <value>}+ <endcommand> [<blanks>]

 <keyword>              ::= {'X'|'Y'|'W'|'V'|'U'}

 <value>                        ::= {<digit>}+

 <digit>        ::= {0-9}

 <EOF>          ::= 'Z'

 <BOF>          ::= '<'

 <comment>      ::= [<blanks>] <quote> <anycharacter but quote | EOF> <quote>

 <blanks>                       ::= { TAB | SPACE }*

 <endcommand>   ::= 'S'

 <file>         ::= <BOF> {<comment> <comment> <comment>}{<command>}+ {<comment>}<EOF>

 note:
        [ ]     entity CAN occur zero or more times
        ( )     entity MUST occur
        { }     pick one of the entities within the braces
        { }*    entities within the braces CAN occur zero or more times
        { }+    entities within the braces MUST occur one or more times
         |              OR


Constructor & Destructor Documentation

EMASK_driver_in::EMASK_driver_in const wxString &    filename,
bool    add,
int    layernr = 0
 

constructor

Parameters:
filename:  name of GDSII input file
add:  add data to existing drawing
add:  add data on this layernr


The documentation for this class was generated from the following file: EMASK_driver_in class Reference -- Thu Nov 28 21:24:57 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . -- Main Page