query_class/5
[extendible]:- multifile 'SU_messages':query_class/5.
'SU_messages':query_class(
+QueryClass,
-Prompt,
-InputMethod,
-MapMethod,
-FailureMode)
Access the parameters of a given QueryClass.
Determines the allowed values for the atom Answer.
The prompt to display at the terminal.
A ground term, which specifies how to obtain
input from the user
A ground term, which specifies how to process the
input to get the abstract answer to the query.
An atom determining what to print in case of an input error, before re-querying the user. Possible values are:
help_query
- print the help message and print the query text
again;
help
- only print the help message;
query
- only print the query text;
none
- do not print anything.
For the list of default input- and map methods, see the “Default Input Methods” and “Default Map Methods” subsections in Query Processing.