|
Clingo
|
An interface for handling grounding events. More...
#include <ground.hh>
Public Member Functions | |
| GroundEventHandler ()=default | |
| Default constructor. | |
| virtual | ~GroundEventHandler ()=default |
| Default destructor. | |
| auto | callable (std::string_view name, size_t args) -> bool |
| Check whether a function is callable for the given number of arguments. | |
| auto | call (Location const &loc, std::string_view name, SymbolSpan args) -> SymbolVector |
| Call the given function with the given arguments. | |
| void | finish (GroundResult result) noexcept |
| Notify the handler that grounding has finished with the given result. | |
An interface for handling grounding events.
|
inline |
Call the given function with the given arguments.
| loc | the location of the function call |
| name | the name of the function |
| args | the arguments of the function |
Check whether a function is callable for the given number of arguments.
| name | the name of the function |
| args | the number of arguments |