template-project-cpp
Loading...
Searching...
No Matches
tpcpp::Callable Struct Referenceabstract

An interface for callable objects. More...

#include <Object.hpp>

Inheritance diagram for tpcpp::Callable:
[legend]

Public Member Functions

virtual Object call (const ListOfObjects &arguments)=0
 Call the function with the given arguments.
 
virtual const std::string name () const =0
 Return the name the function in std::string.
 
virtual const std::string toString () const =0
 Return a description of the function in std::string.
 
virtual size_t arity () const =0
 Return the arity of the function.
 

Detailed Description

An interface for callable objects.

Warning
This is a pure virtual class.

Definition at line 42 of file Object.hpp.


The documentation for this struct was generated from the following file: