Author image Marvin Humphrey
and 1 contributors

NAME

Boilerplater::Dumpable - Auto-generate code for "dumpable" classes.

DESCRIPTION

If a class declares that it has the attribute "dumpable", but does not declare either Dump or Load(), Boilerplater::Dumpable will attempt to auto-generate those methods if methods inherited from the parent class do not suffice.

    class Foo::Bar extends Foo : dumpable {
        Thing *thing;

        public inert incremented Bar*
        new();

        void
        Destroy(Bar *self);
    }

COPYRIGHT AND LICENSE

Copyright 2006-2009 Marvin Humphrey

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