C# Класс Encog.Persist.PersistWriter

Utility class for writing Encog persisted class files.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Begin ( ) : void

Begin an Encog document.

BeginObjects ( ) : void

Begin the objects collection.

Close ( ) : void

Close the writer.

End ( ) : void

End the document.

EndObjects ( ) : void

End the objects collection.

MergeObjects ( IPersistenceLocation location, String skip ) : void

Merge the objects from this collection into the new one. Skip the specified object.

ModifyObject ( IPersistenceLocation location, String name, String newName, String newDesc ) : void

Modify the specified object, such as changing its name or description.

PersistWriter ( IPersistenceLocation location ) : System

Create a writer for the specified location.

WriteHeader ( ) : void

Write the header for the Encog file.

WriteObject ( IEncogPersistedObject obj ) : void

Write an object.

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

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

Begin an Encog document.
public Begin ( ) : void
Результат void

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

Begin the objects collection.
public BeginObjects ( ) : void
Результат void

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

Close the writer.
public Close ( ) : void
Результат void

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

End the document.
public End ( ) : void
Результат void

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

End the objects collection.
public EndObjects ( ) : void
Результат void

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

Merge the objects from this collection into the new one. Skip the specified object.
public MergeObjects ( IPersistenceLocation location, String skip ) : void
location IPersistenceLocation The location to merge to.
skip String The object to skip.
Результат void

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

Modify the specified object, such as changing its name or description.
public ModifyObject ( IPersistenceLocation location, String name, String newName, String newDesc ) : void
location IPersistenceLocation The location of the object being modified.
name String The old name of the object being modified.
newName String The new name of the object being modified.
newDesc String The new description of the object being modified.
Результат void

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

Create a writer for the specified location.
public PersistWriter ( IPersistenceLocation location ) : System
location IPersistenceLocation The location.
Результат System

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

Write the header for the Encog file.
public WriteHeader ( ) : void
Результат void

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

Write an object.
public WriteObject ( IEncogPersistedObject obj ) : void
obj IEncogPersistedObject The object to write.
Результат void