Cerealizer.Dumper

Module Cerealizer :: Class Dumper |
[show private | hide private]
[frames | no frames]

## Type Dumper

    object --+
             |
            Dumper

Method Summary
| ``collect`(self, obj)` Dumper.collect(OBJ) -> bool
| `dump(self, root_obj, s)`
| ``dump_ref`(self, obj, s)` Dumper.dump_ref(OBJ, S)
| `immutable_depth(self, t)`
| `undump(self, s)`
| ``undump_ref`(self, s)` Dumper.undump_ref(S) -> obj
Inherited from object
| ``__init__`(...)` x.__init__(...) initializes x; see x.__class__.__doc__ for signature
| ``__delattr__`(...)` x.__delattr__('name') <==> del x.name
| ``__getattribute__`(...)` x.__getattribute__('name') <==> x.name
| ``__hash__`(x)` x.__hash__() <==> hash(x)
| ``__new__`(T, S, ...)` T.__new__(S, ...) -> a new object with type S, a subtype of T
| ``__reduce__`(...)` helper for pickle
| ``__reduce_ex__`(...)` helper for pickle
| ``__repr__`(x)` x.__repr__() <==> repr(x)
| ``__setattr__`(...)` x.__setattr__('name', value) <==> x.name = value
| ``__str__`(x)` x.__str__() <==> str(x)

Method Details

### collect(self, obj) Dumper.collect(OBJ) -> bool Collects OBJ for serialization. Returns false is OBJ is already collected; else returns true.

### dump_ref(self, obj, s) Dumper.dump_ref(OBJ, S) Writes a reference to OBJ in file S.

### undump_ref(self, s) Dumper.undump_ref(S) -> obj Reads a reference from file S.

Generated by Epydoc 2.1 on Thu Nov 23 23:40:43 2006 | http://epydoc.sf.net