CAD::Drawing::IO::PgDB

CAD::Drawing::IO::PgDB is a Perl module with PostgreSQL save / load methods.
Download

CAD::Drawing::IO::PgDB Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Eric L. Wilhelm
  • Publisher web site:
  • http://search.cpan.org/~ewilhelm/Date-Piece-v0.0.2/lib/Date/Piece.pm

CAD::Drawing::IO::PgDB Tags


CAD::Drawing::IO::PgDB Description

CAD::Drawing::IO::PgDB is a Perl module with PostgreSQL save / load methods. CAD::Drawing::IO::PgDB is a Perl module with PostgreSQL save / load methods.This module is considered pre-ALPHA and under-documented. Its use is strongly discouraged except under experimental conditions. Particularly susceptible to change will be the table structure of the database, which currently does not yet even have any auto-create method.Requisite Plug-in FunctionsSee CAD::Drawing::IO for a description of the plug-in architecture.check_typeReturns true if $type is "circ" or $filename is a directory containing a ".circ" file. $fact = check_type($filename, $type);Back-End Input and output methodsThe functions load() and save() are responsible for determining the filetype (with forced types available via $opt->{type}.) These then call the appropriate load< thing > or save< thing > functions.loadLoads a CAD::Drawing object from an SQL database. $spec should be of the form required by the database driver.$opts->{auth} = may be required to create a connection. $drw->load($spec, $opts);save $drw->save($spec, $opts);cleardbDeletes the drawing and all of its entities from the database. $drw->cleardb();Internalsparse_optionsAllows options to come in through the $spec or %opts. %options = parse_options($spec, %opts);sort_addrSorts through @addr_list and returns a hash of array references for each entity type. %these = sort_addr($layer, @addr_list); Requirements: · Perl


CAD::Drawing::IO::PgDB Related Software