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

An Encog perisistor that can be used with any object that supports the Encog generic persistence. Simply provide the class to the constructor, and return an instance of this object in the getPersistor call. When loading an object, Encog will attempt to use this class if no other suitable persistor can be found.
Inheritance: IPersistor
Afficher le fichier Open project: encog/encog-silverlight-core

Méthodes publiques

Méthode Description
GenericPersistor ( Type clazz ) : System

Construct a generic persistor for the specified class.

Load ( ReadXML xmlIn ) : IEncogPersistedObject

Load from the specified node.

Save ( IEncogPersistedObject obj, WriteXML xmlOut ) : void

Save the specified object.

Method Details

GenericPersistor() public méthode

Construct a generic persistor for the specified class.
public GenericPersistor ( Type clazz ) : System
clazz System.Type The class to construct a persistor for.
Résultat System

Load() public méthode

Load from the specified node.
public Load ( ReadXML xmlIn ) : IEncogPersistedObject
xmlIn Encog.Parse.Tags.Read.ReadXML The node to load from.
Résultat IEncogPersistedObject

Save() public méthode

Save the specified object.
public Save ( IEncogPersistedObject obj, WriteXML xmlOut ) : void
obj IEncogPersistedObject The object to save.
xmlOut Encog.Parse.Tags.Write.WriteXML The XML object.
Résultat void