source: tags/arb-6.0/AISC_COM/AISC/keys.README

Last change on this file was 7986, checked in by westram, 13 years ago
  • PT-SERVER
    • allow to specify amount+limit where N is accept
    • moved hardcoded PT_MAX_MATCHES into AISC interface as parameter (with same limit)
  • added links to information related to MAGIC_NUMBER
    • maintain a list of previously used MAGIC_NUMBERs
  • AISC parameters
    • removed unused parameter MATCH_MAX_SPECIES
    • added new parameters MATCH_MAX_HITS, MATCH_N_ACCEPT, MATCH_N_LIMIT
      • defaulted them to previously hardcoded limits
  • parametrized set_table_for_PT_N_mis() using MATCH_N_ACCEPT + MATCH_N_LIMIT
  • protect vs illegal index into psg.N_mismatches
  • arb_probe
    • fixed commandline parser (no longer modifies passed argv)
    • added new parameters matchacceptN, matchlimitN + matchmaxresults
    • added some unit tests
      • testing N-matches (in match-string and/or seqdata)
      • testing truncation of results
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1
2format of .aisc-files used for client/server interfaces
3-------------------------------------------------------
4
5PROJECT      string   // main name of program
6OBJECT_KEY   string   // prefix key for objects
7MAX_KEY      num      // maximum attribute number
8MAX_OBJECT   num      // maximum object number
9MAGIC_NUMBER num      // server version (see magic.lst)
10
11DATA {         
12
13@CONST, @VALUE, @DOCU; // constants
14
15@ENUM;                  // enum is unused and obsolete
16..., {;
17        @VAR, @VAL, @DOCU;
18};
19
20@STRUCT, @SKEY, @SKEYC, @DOCU;
21
22my_struxt, MYKEY, 4711, (~ This is the docu ~), [SAVEDIRECTION VERTICAL,] {
23        @TYPE,  @IDENT, @REF, @ACC, @SAVE, @KEY, @KEYC, @INIT, @DOCU;
24        ...;
25};
26
27};
28
29
30
31TYPE can be:
32
33        int,char,double,float
34
35        dllh            header of DoubledLinkedList
36        aisc_string     string
37        bytestring      string
38
39        // [func    function ]
40
41        or any user defined type
42
43REF can be:
44        %               virtual (aka callback)
45
46                        unspecified ( double char .... )
47eor     i               or owner by insertion
48eor     o               owner by pointer
49eor     d               special owner (double linked list with ident + hash)
50eor     l               link
51eor     r               reversed_link   (only to those objects with dllh)
52
53        e               enum type
54eor     t               terminal type
55eor     s               structure type  /* unfold THIS structure else t */
56
57[       *               resizeable vector of ...        (key SIZE is size)
58eor     v               fixed   vector of ...           (key SIZE is size)]
59
60[       f               forward reference                               ]
61                                                        (THIS-> is father)
62
63z.B.    os*     Vector of unfold substructures
64
65
66ACC             Accessiongrants
67        ,       read and write
68        r,      readonly
69        w,      writeonly
70        c,      createonly
71        rw,     read and write
72        privat,
73        public,
74
75SAVE    version number for load/save (if AISC_SAVE=YES)
76
77KEY     key name
78
79KEYC    key number
80
81        Has to be unique inside each STRUCT.
82        Keys w/o keynumbers exist, but are not accessible via interface.
83        Several types use multiple KEYs (e.g. 'd' uses 2 keys (KEY and KEY+1)).
84
85INIT    default value or call to init-funtion
86        'THIS' is replaced by pointer to STRUCT
Note: See TracBrowser for help on using the repository browser.