1Pipeline::Store::ISA(3)User Contributed Perl DocumentatioPnipeline::Store::ISA(3)
2
3
4

NAME

6       Pipeline::Store::ISA - inheritance-based store for pipelines
7

SYNOPSIS

9         use Pipeline::Store::ISA;
10
11         my $store = Pipeline::Store::ISA->new();
12         $store->set( $object );
13         my $object = $store->get( $class );
14

DESCRIPTION

16       "Pipeline::Store::ISA" is a slightly more complex implementation of a
17       Pipeline store than "Pipeline::Store::Simple". It stores things as in a
18       hashref indexed by classname, and also their inheritance tree. You can
19       add an object to a store by calling the set method with an object, and
20       you can get an object by calling the get method with the classname or
21       parent classname of the object you wish to retrieve.
22
23       "Pipeline::Store::ISA" inherits from the "Pipeline::Store" class and
24       includes its methods also.
25

METHODS

27       set( OBJECT )
28           The "set" method stores an object specified by OBJECT in itself.
29           Replaces existing objects of the same type.
30
31       get( SCALAR )
32           The "get" method attempts to return an object of the class
33           specified by SCALAR.  If an object of that class does not exist in
34           the store it returns undef instead.  In the case that you request a
35           super class of multiple objects an array reference will be returned
36           containing all the objects that are blessed into child classes of
37           SCALAR.
38

SEE ALSO

40       "Pipeline", "Pipeline::Store", "Pipeline::Store::Simple"
41

AUTHOR

43       James A. Duncan <jduncan@fotango.com>
44
46       Copyright 2002 Fotango Ltd. All Rights Reserved.
47
48       This software is distributed under the same terms as Perl itself.
49
50
51
52perl v5.32.0                      2020-07-28           Pipeline::Store::ISA(3)
Impressum