Content


NTL
Core
IFunction

IFunction


Interface describes function executioner.

You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.

class IFunction :public virtual IReleasable
{
public:
    using Arguments = std::vector<IFunction*>;
protected:
    String m_sName;
    Variable *m_pResult;
public:
    String const &Name; // Function name 
    Variable* &Result; // Function execution result 

    virtual bool Run() = 0; // Execute function 
};
Namespace: nitisa::script
Include: Nitisa/Modules/Script/Interfaces/IFunction.h