IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 22, 2005, 3:56:56 PM (21 years ago)
Author:
jhoblitt
Message:

pod corrections and improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/glueforge.in

    r4358 r4359  
    33# Copyright (C) 2005  Joshua Hoblitt
    44#
    5 # $Id: glueforge.in,v 1.25 2005-06-23 01:34:31 jhoblitt Exp $
     5# $Id: glueforge.in,v 1.26 2005-06-23 01:56:56 jhoblitt Exp $
    66
    77use strict;
     
    190190=head1 SYNOPSIS
    191191
    192     md2db.pl --input <filename> [--output <filename>] [--template <dirname> ]
     192    md2db.pl --input <filename> [--output <dirname>] [--template <dirname>]
    193193
    194194=head1 DESCRIPTION
    195195
    196 This program generates a set table description specific database bindings.  The
    197 code generated is larger just wrapper functions around the C<pslib> C<DB> API.
    198 The table description is read in from a file in the C<Metadata Config File>
    199 format.
     196This program generates a set of database table specific bindings in the ANSI C
     197language.  The code generated is largely just wrapper functions around the
     198C<pslib> C<DB> API.  A simple table description is read in and a directory
     199containing a complete, distributable software package is created.
    200200
    201201=head2 Features
     
    213213=item * Builds both shared and static libraries by default.
    214214
    215 =item * Generates man pages and HTML documentation with doxygen.
     215=item * Generates man pages and HTML documentation with Doxygen.
    216216
    217217=item * Header files should be C++ safe.
    218218
     219=item * Functions to open and close database connections.
     220
     221=item * Functions to create and destroy a table of the appropriate format.
     222
     223=item * Functions to insert and pop a row.
     224
     225=item * Functions to insert and pop a simple object representing a row.
     226
     227=item * Functions to insert, select, and pop to/from FITS files.
     228
     229=item * Functions to convert between row structs and C<psMetadata>s.
     230
    219231=back
    220232
    221 =head1 CONFIG FILE FORMAT
    222 
    223 Configuration files specify the name of the table, the name and types of all
    224 columns, and can optional specify which column are to be used as indexes.
     233=head1 TABLE DESCRIPTION FORMAT
     234
     235A simple config files specifies the name of the table, the name and types of
     236all columns, and can optional specify which column are to be used as indexes.
     237These C<Table Description> files are in the C<Configuration files> format as
     238described in C<PSDC-430-007>.
    225239
    226240=head2 Example table description
     
    233247    zot     BOOL    t       # Key
    234248
     249The key name C<table> is reserved and specifies the name of the database table.
     250It may appear any where in the file but it is most I<convenient> to have it as
     251the first line of the table description.
     252
     253The value of a C<STR> column specifies the maximum number of characters that
     254the database is required to store for that field.  The values for C<S32>,
     255C<F32>, C<F64>, & C<BOOL> columns are ignored.
     256
     257Keys maybe specified as a C<Primary Key> or C<Key>.  Only one C<Primary Key>
     258may be specified per table.
     259
     260The key name C<position> is also reserved as it is used internally by the
     261database bindings.
     262
    235263=head1 OPTIONS
    236264
Note: See TracChangeset for help on using the changeset viewer.