Method | Description | |
---|---|---|
Add ( String name, IEncogPersistedObject obj ) : void |
Add an EncogPersistedObject to the collection.
|
|
BuildDirectory ( ) : void |
Build a directory of objects.
|
|
Clear ( ) : void |
Clear the collection.
|
|
Create ( ) : void |
Create the file.
|
|
Delete ( |
Delete the specified object, use a directory entry.
|
|
Delete ( IEncogPersistedObject obj ) : void |
Delete the specified object.
|
|
Delete ( String name ) : void |
Delete the specified object.
|
|
EncogPersistedCollection ( IPersistenceLocation location, FileMode mode ) : System |
Create an object based on the specified location.
|
|
EncogPersistedCollection ( String file, FileMode mode ) : System |
Create a persistance collection for the specified file.
|
|
Exists ( String name ) : bool |
Determine if the specified resource exists.
|
|
Find ( |
Find the specified object, using a DirectoryEntry.
|
|
Find ( String name ) : IEncogPersistedObject |
Called to search all Encog objects in this collection for one with a name that passes what was passed in.
|
|
MergeTemp ( ) : void |
Merge the temp file with the main one, call this to make any changes permanent.
|
|
ThrowError ( String tag ) : void |
Throw and log an error.
|
|
UpdateProperties ( String name, String newName, String newDesc ) : void |
Update any header properties for an Encog object, for example, a rename.
|
public Add ( String name, IEncogPersistedObject obj ) : void | ||
name | String | The name of the object to load. |
obj | IEncogPersistedObject | The object to add. |
return | void |
public Delete ( |
||
d | The object to delete. | |
return | void |
public Delete ( IEncogPersistedObject obj ) : void | ||
obj | IEncogPersistedObject | The object to delete. |
return | void |
public Delete ( String name ) : void | ||
name | String | The object name. |
return | void |
public EncogPersistedCollection ( IPersistenceLocation location, FileMode mode ) : System | ||
location | IPersistenceLocation | The location to load/save from. |
mode | FileMode | The file mode. |
return | System |
public EncogPersistedCollection ( String file, FileMode mode ) : System | ||
file | String | The file to load/save. |
mode | FileMode | The file mode |
return | System |
public Exists ( String name ) : bool | ||
name | String | The name of the resource to check. |
return | bool |
public Find ( |
||
d | The directory entry to find. | |
return | IEncogPersistedObject |
public Find ( String name ) : IEncogPersistedObject | ||
name | String | The name we are searching for. |
return | IEncogPersistedObject |
public static ThrowError ( String tag ) : void | ||
tag | String | The tag this error is for. |
return | void |
public UpdateProperties ( String name, String newName, String newDesc ) : void | ||
name | String | The name of the object to change. |
newName | String | The new name of this object. |
newDesc | String | The description for this object. |
return | void |