|
Add
|
Creates a new instruction instance and adds it to the Items array. Call Add to create a new instruction in the collection. The new value is placed at the end of the Items array.
Add returns the new instruction
(Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstructions<T>.)
|
|
AssignAll(TPersistent)
|
Copies all the instructions and their events from the Source object to this collection. Any instructions currently in the collection before the assign are destroyed. (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstructions<T>.)
|
|
AssignTo(TPersistent)
|
Represents method AssignTo(TPersistent). (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstructions<T>.)
|
|
Engine
|
Returns the IRSGeneticProgramEngine<T> that owns the collection (or nil if there is no owner that supports the IRSGeneticProgramEngine<T> interface) (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstructions<T>.)
|
|
FindItemID(Integer)
|
Returns the Item with the specified ID. The FindItemID method returns the item in the collection whose ID property is passed to it as a parameter. If no item has the specified ID, FindItemID returns nil. (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstructions<T>.)
|
|
FindItemName(String)
|
Finds an instruction with the specified name and returns that instruction. If no instruction exists with that name, the function returns nil. (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstructions<T>.)
|
|
IndexOf(String)
|
Returns the index of the instruction with the specified Name. If no instruction exists with that name, the function returns -1. (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstructions<T>.)
|
|
Insert(Integer)
|
Creates a new instruction and adds it to the Items array. Call Insert to add a new instruction at a specified position in the collection. Existing items (starting from the specified position) are moved up in the Items array.
Insert returns the new instruction.
|
|
InstructionOperationUpdate(TRSGPInstruction<T>)
|
Represents method InstructionOperationUpdate(TRSGPInstruction<T>). (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstructions<T>.)
|
|
LoadFromXML(IXMLGPInstructions)
|
Loads the instructions from the XML
Important Note
|
When reading the XML, the method will attempt to match currently existing instructions to instruction names in the XML. IF an instruction is found, the instruction will be preserved (including its OnExecute event).
After reading the XML, any instructions previously in the collection but not found in the XML will be deleted.
|
|
|
Notify(TCollectionItem,Classes)
|
Represents method Notify(TCollectionItem,Classes). (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstructions<T>.)
|
|
SaveToXML(IXMLGPInstructions)
|
Saves the instructions to the XML
Warning
|
If the instruction is a function, the OnExecute event is not saved
|
|
|
Update(TCollectionItem)
|
Represents method Update(TCollectionItem). (Inherited from RSGenerics.GeneticProgramEngine.TRSGPInstructions<T>.)
|