Navigation: Code Documentation > GeneticAlgorithm > RSGenerics.GeneticProgramEngine > Classes > TRSGPInstruction<T> > Methods
TRSGPInstruction<T>.SaveToXML(IXMLFunctionInstructionType) Method
Saves the instruction as a function to the XML
Warning
If the instruction is a function, the OnExecute event is not saved
Namespace: RSGenerics.GeneticProgramEngine
Delphi
public procedure SaveToXML( const aFunction: IXMLFunctionInstructionType ); overload; virtual;
Parameters
aFunction
Type: IXMLFunctionInstructionType
•RSGPDomainXML.IXMLFunctionInstructionType
•RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.LoadFromXML(IXMLInstructionType)
•RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.LoadValueFromXML(IXMLInstructionType)
•RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.SaveValueToXML(IXMLInstructionType)
•RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.SaveToXML(IXMLConstantInstructionType)
•RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.SaveToXML(IXMLFunctionInstructionType)
•RSGenerics.GeneticProgramEngine.TRSGPInstruction<T>.SaveToXML(IXMLVariableInstructionType)
•TRSGPInstruction<T>
•RSGenerics.GeneticProgramEngine