Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    CAD::Drawing::IO::PgDB 0.03

    Download button

    No screenshots available
    Downloads: 659  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Eric L. Wilhelm | More programs
    GPL / FREE
    March 17th, 2007, 11:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    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 Functions

    See CAD::Drawing::IO for a description of the plug-in architecture.

    check_type

    Returns true if $type is "circ" or $filename is a directory containing a ".circ" file.

    $fact = check_type($filename, $type);

    Back-End Input and output methods

    The 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.

    load

    Loads a CAD::Drawing object from an SQL database. $spec should be of the form required by the database driver.
    $opts->{auth} = ["username", "password"] may be required to create a connection.

    $drw->load($spec, $opts);

    save

    $drw->save($spec, $opts);

    cleardb

    Deletes the drawing and all of its entities from the database.

    $drw->cleardb();

    Internals

    parse_options

    Allows options to come in through the $spec or %opts.

    %options = parse_options($spec, %opts);

    sort_addr

    Sorts through @addr_list and returns a hash of array references for each entity type.

    %these = sort_addr($layer, @addr_list);

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    PostgreSQL load methods | PostgreSQL save methods | Perl module | CAD::Drawing::IO::Pg | PostgreSQL | save

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM