C# Class Encog.Persist.Persistors.Generic.ObjectTagger

The object tagger is used in generic persistence to tag objects with a reference number.
Exibir arquivo Open project: encog/encog-silverlight-core

Public Methods

Method Description
Analyze ( IEncogPersistedObject encogObject ) : void

Analyze the specified object and build a reference map.

Clear ( ) : void

Clear the map and current id.

GetReference ( Object obj ) : int

Get the reference for the specified object.

HasReference ( Object obj ) : bool

Returns true if the object has a reference.

Private Methods

Method Description
AssignObjectTag ( Object obj ) : void

Assign a reference number to the specified object.

TagCollection ( ICollection value ) : void

Tag a collection, every object in the collection will be a reference.

TagField ( Object fieldObject ) : void

Tag a field.

TagObject ( Object parentObject ) : void

Tag an object.

Method Details

Analyze() public method

Analyze the specified object and build a reference map.
public Analyze ( IEncogPersistedObject encogObject ) : void
encogObject IEncogPersistedObject The object to analyze.
return void

Clear() public method

Clear the map and current id.
public Clear ( ) : void
return void

GetReference() public method

Get the reference for the specified object.
public GetReference ( Object obj ) : int
obj Object The object to check.
return int

HasReference() public method

Returns true if the object has a reference.
public HasReference ( Object obj ) : bool
obj Object The object to check.
return bool