[
https://issues.apache.org/jira/browse/LUCY-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marvin Humphrey updated LUCY-30:
--------------------------------
Attachment: Dumpable.pm
dumpable_support.diff
> Boilerplater::Dumpable
> ----------------------
>
> Key: LUCY-30
> URL: https://issues.apache.org/jira/browse/LUCY-30
> Project: Lucy
> Issue Type: Sub-task
> Components: Boilerplater
> Reporter: Marvin Humphrey
> Attachments: Dumpable.pm, dumpable_support.diff
>
>
> 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.
> {code:none}
> class Foo::Bar extends Foo : dumpable {
> Thing *thing;
> public inert incremented Bar*
> new();
> void
> Destroy(Bar *self);
> }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.