📄 functionfactory.h
字号:
/******************************************************************************
文件名 :FunctionFactory.h
版本号 : 1.0
作者 : Amos Peng
生成日期 :2008-07-08
最近修改 :
功能描述 :自定义函数的工厂基类
函数列表 :
*******************************************************************************/
#ifndef _FUNCTIONFACTORY_H_
#define _FUNCTIONFACTORY_H_
// Includes
#include <string>
#include <vector>
#include <new>
#include "Except.h"
#include "Nodes.h"
// Part of expreval namespace
namespace ExprEval
{
// Forward declarations
class CFunctionNode;
class CExpression;
// Function factory
//--------------------------------------------------------------------------
class CFunctionFactory
{
public:
CFunctionFactory();
virtual ~CFunctionFactory();
virtual ::std::string GetName() const = 0;
virtual CFunctionNode *DoCreate(CExpression *expr) = 0;
CFunctionNode *Create(CExpression *expr);
};
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -