incubator-lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marvin Humphrey (JIRA)" <>
Subject [jira] Created: (LUCY-30) Boilerplater::Dumpable
Date Sun, 06 Sep 2009 23:21:57 GMT

                 Key: LUCY-30
             Project: Lucy
          Issue Type: Sub-task
          Components: Boilerplater
            Reporter: Marvin Humphrey

The Lucy_Obj_Dump() method creates a JSON-izable data structure from an
object; Load() takes the output of Dump() and builds an object from it.
Classes which implement Dump() and Load have the attribute "dumpable".

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*

    Destroy(Bar *self);

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message