Interface of procedure used in calculations.
You can find more information in comments below.
class IProcedure
{
public:
virtual const String &getName() const = 0; // Return name
virtual CVariable *Calculate(CVariable *parent, CVariable *args) = 0; // Calculate. Return nullptr if failed
virtual void Release() = 0;
};
Namespace: | nitisa::scripting |
Include: | Nitisa/Modules/Scripting/IProcedure.h |