Mercurial > projects > orange
diff orange/serialization/RegisterWrapper.d @ 15:9f6064f9505a
Changed from archive to serializer in the register wrappers.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Sun, 08 Aug 2010 21:26:11 +0200 |
parents | 470ab5270d0c |
children | 78e5fef4bbf2 |
line wrap: on
line diff
--- a/orange/serialization/RegisterWrapper.d Sun Aug 08 21:24:11 2010 +0200 +++ b/orange/serialization/RegisterWrapper.d Sun Aug 08 21:26:11 2010 +0200 @@ -14,9 +14,8 @@ } -class SerializeRegisterWrapper (T, ArchiveType : IArchive) : RegisterBase +class SerializeRegisterWrapper (T, SerializerType) : RegisterBase { - private alias Serializer!(ArchiveType) SerializerType; private alias SerializerType.DataType DataType; private void delegate (T, SerializerType, DataType) dg; private bool isDelegate; @@ -42,9 +41,8 @@ } } -class DeserializeRegisterWrapper (T, ArchiveType : IArchive) : RegisterBase +class DeserializeRegisterWrapper (T, SerializerType) : RegisterBase { - private alias Serializer!(ArchiveType) SerializerType; private alias SerializerType.DataType DataType; private void delegate (ref T, SerializerType, DataType) dg; private bool isDelegate;