Table of Contents

Class DeSerializer

Namespace
VectorDraw.Serialize
Assembly
VectorDraw.Serialize.dll

This class is used to open vdml files.

public abstract class DeSerializer : BaseObject, IDisposable, IBaseObject
Inheritance
DeSerializer
Implements
Derived
Inherited Members

Constructors

DeSerializer(Activator)

Initializes the object with the passed Activator.

Properties

ContainsLargeRangeCharacters

Specifies if this document contains strings with characters in range bigger than 56207

END_DOC

Get/Set a value indicating whether all properties of vdDocument object are deserialized.

FirstObjectRecord

Get/Set the vdDocument object,internally used to define the document object in the memory stream.

HandleTableGuid

Get/Set a vdGuidTable that will be filled with serialized objects unique Guid

IncompleteOpenStatus

Returns a string that descripts the reason and the object tree for a broken deserialization or string.Empty for successfully complete deserialization.

RecoverMode

Get/Set a boolean value that defines if the desirializer will try to recover bad records.

START_DOC

Get/Set a value indicating whether a vdDocument is started deserialization.

actiVator

Get/Set the activator object used to create instances of the read objects.

version

Returns the version of the deserializing file.

Methods

AddReferenceObject(object)

Add objects that reference the deserializable objects

Close()

Closes the current stream and releases any resources (such as sockets and file handles) associated with the current vdml stream.

Dispose()

Releases all resources used by this object.

~DeSerializer()

Object deconstructor

Read()

Read the vdml file.

getObjectFromHandle(ulong)

Returns an object already deserialized that reference the passed handle id.

Events

OnAddObjectHandleToTable

Fires when an object's handle is added to the handle dictionary.