OBO::CCO::CCO_ID_Set - An implementation of a set of OBO::CCO::CCO_ID objects.


ONTO-PERL documentation  | view source Contained in the ONTO-PERL distribution.

Index


NAME

Top

OBO::CCO::CCO_ID_Set - An implementation of a set of OBO::CCO::CCO_ID objects.

SYNOPSIS

Top

use OBO::CCO::CCO_ID_Set;

use OBO::CCO::CCO_ID;

$cco_id_set = OBO::CCO::CCO_ID_Set->new();

$id = OBO::CCO::CCO_ID->new();

$size = $cco_id_set->size();

if ($cco_id_set->add($id)) { ... }

$new_id = $cco_id_set->get_new_id("CCO", "C");

$other_id = $cco_id_set->get_new_id("CCO", "Ca");

DESCRIPTION

Top

The OBO::CCO::CCO_ID_Set class implements a Cell-Cycle Ontology identifiers set.

AUTHOR

Top

Erick Antezana, <erick.antezana -@- gmail.com>

COPYRIGHT AND LICENSE

Top

add_as_string

  Usage    - $set->add_as_string($id)
  Returns  - the added id (OBO::CCO::CCO_ID)
  Args     - the CCO id (string) to be added
  Function - adds an CCO_ID to this set

get_new_id

  Usage    - $set->get_new_id($local_idspace, $subnamespace)
  Returns  - a new CCO id (string)
  Args     - none
  Function - returns a new CCO ID as string and adds this id to the set


ONTO-PERL documentation  | view source Contained in the ONTO-PERL distribution.