Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libtree-simple-perl

A simple tree object

This module is a fully object-oriented implementation of a simple n-ary tree. It is built upon the concept of parent-child relationships, so therefore every Tree::Simple object has both a parent and a set of children (who themselves may have children, and so on). Every Tree::Simple object also has siblings, as they are just the children of their immediate parent.

It can be used to model hierarchal information such as a file-system, the organizational structure of a company, an object inheritance hierarchy, versioned files from a version control system or even an abstract syntax tree for use in a parser. It makes no assumptions as to your intended usage, but instead simply provides the structure and means of accessing and traversing said structure.

This module uses exceptions and a minimal Design By Contract style. All method arguments are required unless specified in the documentation, if a required argument is not defined an exception will usually be thrown. Many arguments are also required to be of a specific type, for instance the $parent argument to the constructor must be a Tree::Simple object or an object derived from Tree::Simple, otherwise an exception is thrown. This may seems harsh to some, but this allows me to have the confidence that my code works as I intend, and for you to enjoy the same level of confidence when using this module. Note however that this module does not use any Exception or Error module, the exceptions are just strings thrown with die.

Homepage:
Package version:1.18-1
Architecture:all
Distribution:Debian
Filename:libtree-simple-perl_1.18-1_all.deb

/usr/share/doc/libtree-simple-perl/README

Tree/Simple version 1.18
========================

See the module documentation for more information.

INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

This module requires no other modules and libraries outside of the core
for normal usage. However it uses Test::Exception in the test suite.

COPYRIGHT AND LICENCE

Co
more»

/usr/share/man/man3/Tree::Simple.3pm.gz

Tree::Simple(3pm)User Contributed Perl DocumentatioTree::Simple(3pm)



NAME
       Tree::Simple - A simple tree object

SYNOPSIS
         use Tree::Simple;

         # make a tree root
         my $tree = Tree::Simple->new("0", Tree::Simple->ROOT);

         # explicity add a child to it
         $tree->addChild(Tree::Simple->new("1"));

         # specify the parent when creating
         # an i
more»

/usr/share/man/man3/Tree::Simple::Visitor.3pm.gz

Tree::Simple::VisUser(Contributed Perl DocTree::Simple::Visitor(3pm)



NAME
       Tree::Simple::Visitor - Visitor object for Tree::Simple
       objects

SYNOPSIS
         use Tree::Simple;
         use Tree::Simple::Visitor;

         # create a visitor instance
         my $visitor = Tree::Simple::Visitor->new();

         # create a tree to visit
         my $tree = Tree::Simple->new(Tree::Si
more»

/usr/share/doc/libtree-simple-perl/changelog.Debian.gz

libtree-simple-perl (1.18-1) unstable; urgency=low

  [ gregor herrmann ]
  * New upstream release.

more»

/usr/share/doc/libtree-simple-perl/changelog.gz

Revision history for Perl extension Tree::Simple.

1.18 Sun. Nov. 11, 2007
    - fixing version stri
more»

/usr/share/doc/libtree-simple-perl/copyright

This package was debianized by Stephen Quinney <sjq@debian.org> on
Fri, 02 Jul 2004 11:59:25 +0100 a
more»

Browse inside libtree-simple-perl_1.18-1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libtree-simple-perl_1.18-1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com