IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 6, 2006, 5:20:46 PM (20 years ago)
Author:
jhoblitt
Message:

change [foo]printMetadata() to strip position fields
change [foo]printMetadatas() to strip position fields
add [foo]printMetadataRaw()
add [foo]printMetadatasRaw()

File:
1 edited

Legend:

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

    r8159 r8201  
    33#include "[% pkg_name %].h"
    44
     5#define [% pkg_name FILTER upper %]_DEFAULT_INDEX_NAME "position"
    56[% FOREACH table = tables -%]
    67#define [% table.namespace FILTER upper %]_TABLE_NAME "[% table.name %]"
    7 #define [% table.namespace FILTER upper %]_INDEX_NAME "position"
     8#define [% table.namespace FILTER upper %]_INDEX_NAME [% pkg_name FILTER upper %]_DEFAULT_INDEX_NAME
    89[% END -%]
    910#define MAX_STRING_LENGTH 1024
     
    1112[% INCLUDE init.tt %]
    1213[% INCLUDE cleanup.tt %]
     14[% INCLUDE printmetadata.tt %]
     15[% INCLUDE printmetadataraw.tt %]
    1316[% INCLUDE printmetadatas.tt %]
     17[% INCLUDE printmetadatasraw.tt %]
    1418[% FOREACH table = tables -%]
    1519[% INCLUDE alloc.tt %]
Note: See TracChangeset for help on using the changeset viewer.