tag fourth (and hopefully last) alpha
[bioperl-live.git] / branch-1-6 / Bio / DB / GFF / Aggregator / none.pm
bloba11dcfab371a4b15b19585827746ee5fae5f950f
1 =head1 NAME
3 Bio::DB::GFF::Aggregator::none -- No aggregation
5 =head1 SYNOPSIS
7 use Bio::DB::GFF;
9 # Open the sequence database
10 my $db = Bio::DB::GFF->new( -adaptor => 'dbi:mysql',
11 -dsn => 'dbi:mysql:elegans42',
12 -aggregator => 'none'
16 =head1 DESCRIPTION
18 Bio::DB::GFF::Aggregator::none can be used to indicate that you do not
19 want any aggregation performed. It is equivalent to providing undef
20 to the B<-aggregator> argument. It overrides disaggregate() and
21 aggregate() so that they do exactly nothing.
23 =cut
25 package Bio::DB::GFF::Aggregator::none;
27 use strict;
29 use base qw(Bio::DB::GFF::Aggregator);
31 sub disaggregate {
32 my $self = shift;
33 my $types = shift;
34 # no change
37 sub aggregate {
38 my $self = shift;
39 my $features = shift;
40 return; # no change