Derived Classes
SYNOPSIS require UNIVERSAL::derived_classes; package A; package B; @ISA = qw( A ); package C; @ISA = qw( B ); package main; my @derived_classes = A->derived_classes; # B, C my @derived_classes_reversed = A->derived_classes_reversed; # C, B UNIVERSAL::derived_classes provides the...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (97): UNIVERSAL::derived_classes Download |
This script implements a base class, which allows derived classes to track instances in self.__instances__. It uses a WeakValueDictionary to store instance references.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (54): A class keeps a reference to it's instance Download |
Sometimes you define properties in base class and override the getter setter methods in derived classes. Then you find out the base class though has derived properties are still pointing to baseclasse's methods not the overriden ones.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): Rebind class properties Download |
ddbb implements a MySQL database abstraction access layer. A base class that implements common database access functionality, with other classes handling the operations.Sub-classes implement a MySQL database access and operations wrapper using the regular MySQL extension and another that uses the...
Platforms: PHP
License: Freeware | Size: 20.48 KB | Download (41): ddbb Download |
Biomolecule Toolkit project is an Open Source library for the structural modeling of biological macromolecules. The toolkit provides a C++ interface for common tasks in computational structural biology, to facilitate the development of molecular modeling, design, and analysis tools. Whats New...
Platforms: *nix
License: Freeware | Size: 450.56 KB | Download (97): Biomolecule Toolkit Download |
Class::Contract - Design-by-Contract OO in Perl. SYNOPSIS package ClassName use Class::Contract; contract { inherits BaseClass; invar { ... }; attr data1; attr data2 => HASH; class attr shared => SCALAR; ctor new; method methodname; pre { ... }; failmsg Error message; post...
Platforms: *nix
License: Freeware | Size: 26.62 KB | Download (114): Class::Contract Download |
Class::InsideOut is a Perl module with a safe, simple inside-out object construction kit. SYNOPSIS package My::Class; use Class::InsideOut qw( public private register id ); public name => my %name; # accessor: name() private age => my %age; # no accessor sub new { register( shift ) }...
Platforms: *nix
License: Freeware | Size: 48.13 KB | Download (88): Class::InsideOut Download |
Lib3df is a C++ library to load 3D world. It works under Windows,MacOS,Linux and most Unixes. HLIB is a C++ library intended to facilitate the use of ".MAP" files in applications. ".MAP" files are produced by the "Valve Hammer Editor" availlable at: http://collective.valve-erc.com/ . This is...
Platforms: *nix
License: Freeware | Size: 2.5 MB | Download (91): Lib3df Download |
Rose::DB::Object::Helpers is a mix-in class containing convenience methods for Rose::DB::Object. SYNOPSIS package MyDBObject; use Rose::DB::Object; our @ISA = qw(Rose::DB::Object); use Rose::DB::Object::Helpers clone, { load_or_insert => find_or_create }; ... $obj =...
Platforms: *nix
License: Freeware | Size: 481.28 KB | Download (114): Rose::DB::Object::Helpers Download |
Image::Xpm is a Perl module that can load, create, manipulate and save xpm image files. SYNOPSIS use Image::Xpm; my $j = Image::Xpm->new(-file, Camel.xpm); my $i = Image::Xpm->new(-width => 10, -height => 16); my $h = $i->new; # Copy of $i $i->xy(5, 8, red); # Set a colour (& add to...
Platforms: *nix
License: Freeware | Size: 102.4 KB | Download (105): Image::Xpm Download |
XML::Mini::TreeComponent is a Perl implementation of the XML::Mini TreeComponent API. SYNOPSIS Dont use this class - only presents an interface for other derived classes. This class is only to be used as a base class for others. It presents the minimal interface we can expect from any...
Platforms: *nix
License: Freeware | Size: 34.82 KB | Download (87): XML::Mini::TreeComponent Download |
RDF::Notation3 is a RDF Notation3 parser. SYNOPSIS $rdf = RDF::Notation3::Triples->new(); $rdf->parse_file($path); $triples = $rdf->get_triples; $rdf = RDF::Notation3::XML->new(); $rdf->parse_file($path); $string = $rdf->get_string; $handler = SAXHandler->new(); $rdf =...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (99): RDF::Notation3 Download |
Tangram is a simple Perl module that can store pure objects in standard relational databases. Tangram is an object-relational mapper. It is orthogonal, meaning that it does not require anything of the objects stored in it (other than the common convention that base objects be based upon HASHes;...
Platforms: *nix
License: Freeware | Size: 153.6 KB | Download (102): Tangram Download |
Acme::PM::Dresden::Convert::VQWiki2TWiki is a Perl module to convert VQWiki syntax into TWiki syntax. SYNOPSIS use Acme::PM::Dresden::Convert::VQWiki2TWiki; my $convert = new Acme::PM::Dresden::Convert::VQWiki2TWiki (vqwiki => $text); print $convert->twiki; # or my $convert = new...
Platforms: *nix
License: Freeware | Size: 35.84 KB | Download (95): Acme::PM::Dresden::Convert::VQWiki2TWiki Download |
JPA-XJC is a JAXB 2.1 XJC plugin for annotating schema derived classes with Java persistence annotations. It does not generate code depending on libraries other than JPA 1.0 and does not introduce non-standard customization elements.
Platforms: Windows, Mac, Linux
License: Freeware | Size: 184.85 KB | Download (46): JPA-XJC Download |
Perl6::Classes project contains first class classes in Perl 5. SYNOPSIS use Perl6::Classes; class Composer { submethod BUILD { print "Giving birth to a new composern" } method compose { print "Writing some music...n" } } class ClassicalComposer is Composer { method compose { print...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (92): Perl6::Classes Download |
Rauls classes for PHP is an OOP database abstraction layer for PHP 5.1 or greater. Rauls classes for PHP provides abstract classes to access database servers and traverse result sets. There are several implementation classes to access different types of databases: SQLite, MySQL, PostgreSQL, and...
Platforms: *nix
License: Freeware | Size: 51.2 KB | Download (91): Rauls classes for PHP Download |
classes::Test are functions to help with classes pragma testing. SYNOPSIS can_new can_set_get has_decl has_class_const has_mixins has_mixins_hash is_classes MyClass; is_classes main; is_throwable X::Mine; is_classes_exc X::Mine; Generic tests based on Test::Builder designed to...
Platforms: *nix
License: Freeware | Size: 163.84 KB | Download (99): classes::Test Download |
If you've ever wanted to learn to cook like a chef at home, Chef Todd Mohr's online cooking classes are exactly what you need. And this handy toolbar provides you access to tons of free cooking instructions, online cooking videos and food training so you never miss a thing. Designed to teach you...
Platforms: Windows
License: Freeware | Size: 40.96 KB | Download (81): Online Cooking Classes Download |
The point is that python doesn't have a notion of abstract methods.Abstract methods are part of a base class that defines an interface, without any code. Abstract methods can't be called directly, because they don't contain any code in their definition. In the definition of the base class, you...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): Abstract methods/classes Download |