Linux SoftwareProgrammingLibrariesClass::Interfaces 0.04

Class::Interfaces 0.04



Developer:   Stevan Little
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   6K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Class::Interfaces is a Per module for defining interface classes inline.

SYNOPSIS

# define some simple interfaces
use Class::Interfaces (
Serializable => [ 'pack', 'unpack' ],
Printable => [ 'toString' ],
Iterable => [ 'iterator' ],
Iterator => [ 'hasNext', 'next' ]
);

# or some more complex ones ...

# interface can also inherit from
# other interfaces using this form
use Class::Interfaces (
BiDirectionalIterator => {
isa => 'Iterator',
methods => [ 'hasPrev', 'prev' ]
},
ResetableIterator => {
isa => 'Iterator',
methods => [ 'reset' ]
},
# we even support multiple inheritance
ResetableBiDirectionalIterator => {
isa => [ 'ResetableIterator', 'BiDirectionalIterator' ]
}
);

# it is also possible to create an
# empty interface, sometimes called
# a marker interface
use Class::Interfaces (
JustAMarker => undef
);

This module provides a simple means to define abstract class interfaces, which can be used to program using the concepts of interface polymorphism.

Requirements:
  • Perl
    tags class interfaces  use class  iterator methods  isa iterator  

    Download Class::Interfaces 0.04


     http://ftp.hostingromania.ro/Linux/mirrors/ftp.cpan.org/authors/id/S/ST/STEVAN/Class-Interfaces-0.04.tar.gz


    Authors software

    Tree::Simple::SAX 0.01 (by Stevan Little)
    Tree::Simple::SAX is a set of classes for using Tree::Simple with XML.

    SYNOPSIS

    use Tree::Simple::SAX;
    use XML::SAX::Parse

    Class::Trait 0.21 (by Stevan Little)

    Class::Interfaces 0.04 (by Stevan Little)

    Class::Cloneable 0.03 (by Stevan Little)
    Class::Cloneable is a base class for Cloneable objects.

    SYNOPSIS

    package MyObject;
    our @ISA = ('Class::Cloneable');

    #

    Tree::Binary 0.07 (by Stevan Little)
    Tree::Binary is a Object Oriented Binary Tree for Perl.

    SYNOPSIS

    use Tree::Binary;

    # a tree representaion of the expre


    Similar software

    Class::Interfaces 0.04 (by Stevan Little)

    Net::Delicious::Iterator 1.01 (by Aaron Straup Cope)
    Net::Delicious::Iterator is an iterator class for Net::Delicious thingies.

    SYNOPSIS

    use Net::Delicious::Iterator;

    my @date

    Forth Foundation Library 0.3.0 (by Dick van Oudheusden)
    Forth Foundation Library, in short FFL is a Forth library

    libwrapiter 1.0.0 (by Ciaran McCreesh)
    libwrapiter is a library that provides wrappers for C++ STL style iterators.

    It makes it easy to define generic iterator wrappers,

    Unix::Conf::Bind8::Conf 0.3 (by Karthik Krishnamurthy)
    Unix::Conf::Bind8::Conf is a front end for a suite of classes for manipulating a Bind8 style configuration file.

    SYNOPSIS

    m

    Class::Adapter::Builder 1.02 (by Adam Kennedy)

    Gtk2::GladeXML 1.005 (by Ross McFarland)
    Gtk2::GladeXML is a Perl module that create user interfaces directly from Glade XML files.

    SYNOPSIS

    # for a pure gtk+ glade p

    Class::Meta::Express 0.04 (by David Wheeler)
    Class::Meta::Express is a Perl module for concise, expressive creation of Class::Meta classes.

    Synopsis

    package My::Contact;

    jclassinfo 0.19.1 (by anarxia)
    jclassinfo reads java class files and provides information about the class, dependencies and more

    libGLI 0.4 (by Benjamin Schieder)
    libGLI is a multi-platform library for creating 3D user interfaces, based on OpenGL.

    With the help of this library, programmers can


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags