Manages a collection of user function names and their interfaces (IUserFunction interface) for the TInferenceEngine component.
Namespace: InferenceEngine
TRSStringHashTable
InferenceEngine.TUserFunctions
|
Delphi
|
type
TUserFunctions = class( TRSStringHashTable<IUserFunction> )
end;
|
|
Name
|
Description
|
|
AsString
|
Returns a syntactically correct string representation of all the user functions in the hash table
|
|
Engine
|
Specifies the TInferenceEngine that this class works with
|
|
NamesToString
|
Returns the FunctionNames of all the user functions in the hash table. Each function name is separated by the carraige return/line feed and is ready to be assigned to a TStrings Text property
|
|
NumInterpreted
|
Returns the number of interpreted functions (IInterpretedFunction interface) there are in the user functions table
|
Top
|
|
Name
|
Description
|
|
Add(IUserFunction)
|
Adds the specified user function to the hash table and associates it with its FunctionName property
|
|
Assign(TPersistent)
|
Overloaded. Represents method Assign(TPersistent).
|
|
Assign(TUserFunctions,Boolean)
|
Overloaded. Copies users functions from the Source to the class. The SafeAssign parameter controls whether the interpreted functions are reparsed (TRUE)
|
|
AssignInterpretedFunctions(TIList,Boolean)
|
Copies interpreted functions from the Funcs source to the class
|
|
Clear
|
Clears the table
|
|
DoAdd(Integer,Integer,TIStringHashtableKey,TUserFunctionsValue)
|
Represents method DoAdd(Integer,Integer,TIStringHashtableKey,TUserFunctionsValue).
|
|
DoSetValue(Integer,TUserFunctionsValue)
|
Represents method DoSetValue(Integer,TUserFunctionsValue).
|
|
Remove(String)
|
Removes the user function associated with the specified Key from the table and returns it. If no user function with that key exists, an exception is raised
|
|
ToString
|
Returns a syntactically correct string representation of all the user functions in the hash table
|
Top
|