C# Класс 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.
Наследование: IPersistor
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GenericPersistor() публичный Метод

Construct a generic persistor for the specified class.
public GenericPersistor ( Type clazz ) : System
clazz System.Type The class to construct a persistor for.
Результат System

Load() публичный Метод

Load from the specified node.
public Load ( ReadXML xmlIn ) : IEncogPersistedObject
xmlIn Encog.Parse.Tags.Read.ReadXML The node to load from.
Результат IEncogPersistedObject

Save() публичный Метод

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.
Результат void