IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 5, 2006, 2:16:35 PM (21 years ago)
Author:
jhoblitt
Message:

split global and per table data
forward port generated code to pslib 0.9.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/templates/psdb/object_h.tt

    r4196 r5907  
    11[% USE format -%]
    22[% indented = format('%-15s %s') -%]
    3 /** [% object_name %] data structure
     3/** [% table.object_name %] data structure
    44 *
    5  * Structure for representing a single row of [% table_name %] table data.
     5 * Structure for representing a single row of [% table.name %] table data.
    66 */
    77
    88typedef struct {
    99[% SET i = 0 -%]
    10 [% FOREACH item = columns -%]
     10[% FOREACH item = table.columns -%]
    1111[% IF item.type == "STR" -%]
    1212    [% indented("char", "*$item.name") %];
     
    1515[% END -%]
    1616[% END -%]
    17 } [% object_name %];
     17} [% table.object_name %];
Note: See TracChangeset for help on using the changeset viewer.