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

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

Clear() public méthode

Clear the map and current id.
public Clear ( ) : void
Résultat void

GetReference() public méthode

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

HasReference() public méthode

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