#include <emaskin.h>
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 |
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
|