IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 10, 2006, 4:12:35 PM (21 years ago)
Author:
jhoblitt
Message:

rename foo.md -> examples/simple.md
add examples/complex.md

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/INSTALL

    r5897 r5963  
    1 # $Id: INSTALL,v 1.5 2006-01-05 01:03:50 jhoblitt Exp $
     1# $Id: INSTALL,v 1.6 2006-01-11 02:12:34 jhoblitt Exp $
    22
    33Using the glueforge meta-database API generator
     
    5353Create a MetadataConfig file that describes the table you want to access.  The
    5454MetadataConfig file syntax is described in the pslib SDRS.  glueforge specific
    55 details are included in the "glueforge" man page. For reference, an example
    56 named foo.md is provided
     55details are included in the "glueforge" man page. For reference, both a simple
     56and complex config example is provided in the examples directory.
    5757
    5858$ perldoc glueforge
     
    6262$ man glueforge
    6363
    64 $ cat foo.md
    65 table   STR     foo
    66 foo     STR     60      # Primary Key
    67 bar     S32     0
    68 baz     F32     0.0
    69 boing   F64     0.0
    70 zot     BOOL    t       # Key
     64$ cat examples/simple.md
     65
     66or
     67
     68$ cat examples/complex.md
    7169
    7270- Step 4
    7371
    7472Generate the database bindings with the "glueforge" executable.  The example
    75 foo.md file will generate code under the directory "foodb".
     73simple.md file will generate code under the directory "foodb".
    7674
    77 $./glueforge -t templates/psdb -i foo.md
     75$./glueforge -t templates/psdb -i examples/simple.md
    7876$ cd foodb
    7977
Note: See TracChangeset for help on using the changeset viewer.