GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Pipeline::Store::ISA(3) User Contributed Perl Documentation Pipeline::Store::ISA(3)

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

  use Pipeline::Store::ISA;

  my $store = Pipeline::Store::ISA->new();
  $store->set( $object );
  my $object = $store->get( $class );

"Pipeline::Store::ISA" is a slightly more complex implementation of a Pipeline store than "Pipeline::Store::Simple". It stores things as in a hashref indexed by classname, and also their inheritance tree. You can add an object to a store by calling the set method with an object, and you can get an object by calling the get method with the classname or parent classname of the object you wish to retrieve.

"Pipeline::Store::ISA" inherits from the "Pipeline::Store" class and includes its methods also.

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

"Pipeline", "Pipeline::Store", "Pipeline::Store::Simple"

James A. Duncan <jduncan@fotango.com>

Copyright 2002 Fotango Ltd. All Rights Reserved.

This software is distributed under the same terms as Perl itself.

2004-08-09 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.