Changeset 5963 for trunk/glueforge/INSTALL
- Timestamp:
- Jan 10, 2006, 4:12:35 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/glueforge/INSTALL (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/glueforge/INSTALL
r5897 r5963 1 # $Id: INSTALL,v 1. 5 2006-01-05 01:03:50jhoblitt Exp $1 # $Id: INSTALL,v 1.6 2006-01-11 02:12:34 jhoblitt Exp $ 2 2 3 3 Using the glueforge meta-database API generator … … 53 53 Create a MetadataConfig file that describes the table you want to access. The 54 54 MetadataConfig file syntax is described in the pslib SDRS. glueforge specific 55 details are included in the "glueforge" man page. For reference, an example56 named foo.md is provided 55 details are included in the "glueforge" man page. For reference, both a simple 56 and complex config example is provided in the examples directory. 57 57 58 58 $ perldoc glueforge … … 62 62 $ man glueforge 63 63 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 66 or 67 68 $ cat examples/complex.md 71 69 72 70 - Step 4 73 71 74 72 Generate the database bindings with the "glueforge" executable. The example 75 foo.md file will generate code under the directory "foodb".73 simple.md file will generate code under the directory "foodb". 76 74 77 $./glueforge -t templates/psdb -i foo.md75 $./glueforge -t templates/psdb -i examples/simple.md 78 76 $ cd foodb 79 77
Note:
See TracChangeset
for help on using the changeset viewer.
