the runtime type of the object
the static type of the object
the key associated with the object
the id associated with the object
a callback that performs the archiving of the individual fields
class Foo { int a; } auto foo = new Foo; auto archive = new XmlArchive!(); archive.archiveObject(Foo.classinfo.name, "Foo", "foo", 0, { // archive the fields of Foo });
Archives an object, either a class or an interface.