Changeset 4358 for trunk/glueforge/glueforge.in
- Timestamp:
- Jun 22, 2005, 3:34:31 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/glueforge/glueforge.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/glueforge/glueforge.in
r4344 r4358 3 3 # Copyright (C) 2005 Joshua Hoblitt 4 4 # 5 # $Id: glueforge.in,v 1.2 4 2005-06-22 03:09:28jhoblitt Exp $5 # $Id: glueforge.in,v 1.25 2005-06-23 01:34:31 jhoblitt Exp $ 6 6 7 7 use strict; … … 180 180 } 181 181 182 __END__ 183 184 =pod 185 186 =head1 NAME 187 188 md2db.pl - auto-generate 'meta' database bindings 189 190 =head1 SYNOPSIS 191 192 md2db.pl --input <filename> [--output <filename>] [--template <dirname> ] 193 194 =head1 DESCRIPTION 195 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. 200 201 =head2 Features 202 203 =over 4 204 205 =item * Generates a complete autoconf/automake/libtool package. 206 207 =item * Generated packages include an C<autogen.sh> script. 208 209 =item * Installs a pkgconfig C<.pc> data file. 210 211 =item * Includes a table specific autotest test suite. 212 213 =item * Builds both shared and static libraries by default. 214 215 =item * Generates man pages and HTML documentation with doxygen. 216 217 =item * Header files should be C++ safe. 218 219 =back 220 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. 225 226 =head2 Example table description 227 228 table STR foo 229 foo STR 60 # Primary Key 230 bar S32 0 231 baz F32 0.0 232 boing F64 0.0 233 zot BOOL t # Key 234 235 =head1 OPTIONS 236 237 =over 4 238 239 =item * --input|-i <filename> 240 241 File to read table description from. 242 243 =item * --output|-o <dirname> 244 245 Send the generate files to this directory name. Defaults to the name of the 246 database table. 247 248 Defaults to write to STDOUT. 249 250 =item * --template|-t <dirname> 251 252 Directory to load template files from. 253 254 =back 255 256 =head1 CREDITS 257 258 Just me, myself, and I. 259 260 =head1 SUPPORT 261 262 Please contact the author directly via e-mail. 263 264 =head1 AUTHOR 265 266 Principle authors and contact info. 267 268 =head1 COPYRIGHT 269 270 Copyright (C) 2005 Joshua Hoblitt. All rights reserved. 271 272 This program is free software; you can redistribute it and/or modify it under 273 the terms of the GNU General Public License as published by the Free Software 274 Foundation; either version 2 of the License, or (at your option) any later 275 version. 276 277 This program is distributed in the hope that it will be useful, but WITHOUT ANY 278 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 279 PARTICULAR PURPOSE. See the GNU General Public License for more details. 280 281 You should have received a copy of the GNU General Public License along with 282 this program; if not, write to the Free Software Foundation, Inc., 59 Temple 283 Place - Suite 330, Boston, MA 02111-1307, USA. 284 285 The full text of the license can be found in the L<perlgpl> Pod as supplied 286 with Perl 5.8.1 and later. 287 288 =head1 SEE ALSO 289 290 L<PS:IPP::Metadata::Config> 291 292 =cut
Note:
See TracChangeset
for help on using the changeset viewer.
