Bio::Phylo::Identifiable - Objects with unique identifiers


Bio-Phylo documentation  | view source Contained in the Bio-Phylo distribution.

Index


NAME

Top

Bio::Phylo::Identifiable - Objects with unique identifiers

SYNOPSIS

Top

 # Actually, you would almost never use this module directly. This is 
 # the base class for other modules.
 use Bio::Phylo::Identifiable;

 my $obj = Bio::Phylo::Identifiable->new;
 print $obj->get_id;




DESCRIPTION

Top

This is the base class for objects in the Bio::Phylo package that need unique identifiers.

METHODS

Top

CONSTRUCTOR

new()
 Type    : Constructor
 Title   : new
 Usage   : my $phylo = Bio::Phylo::Identifiable->new;
 Function: Instantiates Bio::Phylo::Identifiable object
 Returns : a Bio::Phylo::Identifiable object 
 Args    : NONE

get_id()

Gets invocant's UID.

 Type    : Accessor
 Title   : get_id
 Usage   : my $id = $obj->get_id;
 Function: Returns the object's unique ID
 Returns : INT
 Args    : None

SEE ALSO

Top

Also see the manual: Bio::Phylo::Manual and http://rutgervos.blogspot.com

CITATION

Top

If you use Bio::Phylo in published research, please cite it:

Rutger A Vos, Jason Caravas, Klaas Hartmann, Mark A Jensen and Chase Miller, 2011. Bio::Phylo - phyloinformatic analysis using Perl. BMC Bioinformatics 12:63. http://dx.doi.org/10.1186/1471-2105-12-63

REVISION

Top

 $Id: Identifiable.pm 1593 2011-02-27 15:26:04Z rvos $


Bio-Phylo documentation  | view source Contained in the Bio-Phylo distribution.