C# Class Encog.Persist.PersistWriter

Utility class for writing Encog persisted class files.
ファイルを表示 Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
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.

Method Details

Begin() public method

Begin an Encog document.
public Begin ( ) : void
return void

BeginObjects() public method

Begin the objects collection.
public BeginObjects ( ) : void
return void

Close() public method

Close the writer.
public Close ( ) : void
return void

End() public method

End the document.
public End ( ) : void
return void

EndObjects() public method

End the objects collection.
public EndObjects ( ) : void
return void

MergeObjects() public method

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.
return void

ModifyObject() public method

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.
return void

PersistWriter() public method

Create a writer for the specified location.
public PersistWriter ( IPersistenceLocation location ) : System
location IPersistenceLocation The location.
return System

WriteHeader() public method

Write the header for the Encog file.
public WriteHeader ( ) : void
return void

WriteObject() public method

Write an object.
public WriteObject ( IEncogPersistedObject obj ) : void
obj IEncogPersistedObject The object to write.
return void