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


Manual Reference Pages  -  PIPELINE::STORE::ISA (3)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSIS



  use Pipeline::Store::ISA;

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



DESCRIPTION

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.

METHODS

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.

SEE ALSO

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

AUTHOR

James A. Duncan <jduncan@fotango.com>

COPYRIGHT

Copyright 2002 Fotango Ltd. All Rights Reserved.

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

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


perl v5.20.3 PIPELINE::STORE::ISA (3) 2004-08-09

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