The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Data::Grid::Container - Generic superclass for Data::Grid containers

VERSION

Version 0.06

SYNOPSIS

    package Data::Grid::Foo;

    use Moo;
    extends 'Data::Grid::Container';

    # Now code some specific stuff...

DESCRIPTION

The data grid in Data::Grid is modeled as an ordered tree of tables, rows and cells, all contained inside a bundle. This module encapsulates the common behaviour of these components.

METHODS

new $parent, $position [, $proxy ] | %params

This basic constructor takes three arguments: the parent object, a numeric position amongst its siblings, beginning with 0, and an optional proxy object to manipulate directly, if it is necessary or advantageous to do so.

parent

Retrieve the parent object.

position

The position of the object in a list of its siblings, starting with 0.

proxy

Whatever object or value the container is proxying.

as_string

This is a stub to hook up a serialization method to the string overload. Fill it in at your leisure, otherwise it is a no-op.

AUTHOR

Dorian Taylor, <dorian at cpan.org>

SEE ALSO

COPYRIGHT & LICENSE

Copyright 2010-2018 Dorian Taylor.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.