# $Id$ package Bio::Phylo::Matrices; use strict; #use warnings FATAL => 'all'; use Bio::Phylo::Listable; use Bio::Phylo::Util::CONSTANT qw(_NONE_ _MATRICES_); use vars qw(@ISA); =begin comment This class has no internal state, no cleanup is necessary. =end comment =cut # classic @ISA manipulation, not using 'base' @ISA = qw(Bio::Phylo::Listable); { my $TYPE = _MATRICES_; my $CONTAINER = _NONE_; my $logger = __PACKAGE__->get_logger; =head1 NAME Bio::Phylo::Matrices - Holds a set of matrix objects. =head1 SYNOPSIS use Bio::Phylo::Matrices; use Bio::Phylo::Matrices::Matrix; my $matrices = Bio::Phylo::Matrices->new; my $matrix = Bio::Phylo::Matrices::Matrix->new; $matrices->insert($matrix); =head1 DESCRIPTION The L object models a set of matrices. It inherits from the L object, and so the filtering methods of that object are available to apply to a set of matrices. =head1 METHODS =head2 CONSTRUCTOR =over =item new() Matrices constructor. Type : Constructor Title : new Usage : my $matrices = Bio::Phylo::Matrices->new; Function: Initializes a Bio::Phylo::Matrices object. Returns : A Bio::Phylo::Matrices object. Args : None required. =cut # sub new { # # could be child class # my $class = shift; # # # notify user # $logger->info("constructor called for '$class'"); # # # recurse up inheritance tree, get ID # my $self = $class->SUPER::new( @_ ); # # # local fields would be set here # # return $self; # } =begin comment Type : Internal method Title : _container Usage : $matrices->_container; Function: Returns : CONSTANT Args : =end comment =cut sub _container { $CONTAINER } =begin comment Type : Internal method Title : _type Usage : $matrices->_type; Function: Returns : CONSTANT Args : =end comment =cut sub _type { $TYPE } =back =head1 SEE ALSO =over =item L The L object inherits from the L object. Look there for more methods applicable to the matrices object. =item L Also see the manual: L and L. =back =head1 REVISION $Id$ =cut } 1;