Hyper::Container - base class for all container classes.


Back to Top


NAME

Hyper::Container - base class for all container classes.

Back to Top


VERSION

This document describes Hyper::Container 0.01

Back to Top


SYNOPSIS

    package Hyper::Control::Container;
    use Class::Std::Storable;
    use base qw(Hyper::Control::Container);
    1;

Back to Top


DESCRIPTION

Provides methods to set and get named objects which are needed in your class (eg. some named embedded controls). This class is NOT only used in Hyper::Control::Conainer.

Back to Top


ATTRIBUTES

objects :get :set :default<{}>

Back to Top


SUBROUTINES/METHODS

set_object

    $object->set_object({
        cNext => Hyper::Control::Base::BPushButton->new(),
        cReset => Hyper::Control::Base::BPushButton->new(),
    });

Store as many named objects as you like. ATTENTION: Only Class::Std::Storable objects are supported - other objects will crash on freeze (persistance).

get_object

    $object->get_object('bNext');

Get named object.

Back to Top


DIAGNOSTICS

Back to Top


CONFIGURATION AND ENVIRONMENT

Back to Top


DEPENDENCIES

Back to Top


INCOMPATIBILITIES

Back to Top


BUGS AND LIMITATIONS

Back to Top


RCS INFORMATIONS

Last changed by
 $Author: ac0v $
Id
 $Id: Container.pm 317 2008-02-16 01:52:33Z ac0v $
Revision
 $Revision: 317 $
Date
 $Date: 2008-02-16 02:52:33 +0100 (Sa, 16 Feb 2008) $
HeadURL
 $HeadURL: http://svn.hyper-framework.org/Hyper/Hyper/tags/0.05/lib/Hyper/Container.pm $

Back to Top


AUTHOR

Andreas Specht <ACID@cpan.org>

Back to Top


LICENSE AND COPYRIGHT

Copyright (c) 2007, Andreas Specht <ACID@cpan.org>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Back to Top

 Hyper::Container - base class for all container classes.