📄 cppruleexporter.h
字号:
//-------------------------------------------------------------------
// Author........: Aleksander 豩rn
// Date..........:
// Description...:
// Revisions.....:
//===================================================================
#ifndef __CPPRULEEXPORTER_H__
#define __CPPRULEEXPORTER_H__
#include <copyright.h>
#include <kernel/algorithms/ruleexporter.h>
//-------------------------------------------------------------------
// Class.........: CPPRuleExporter
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Exports a set of rules to C++ format.
// Revisions.....:
//===================================================================
class CPPRuleExporter : public RuleExporter {
protected:
//- Methods inherited from Exporter................................
virtual bool ExportPrologue(ofstream &stream, const Structure &structure) const;
virtual bool ExportData(ofstream &stream, const Structure &structure) const;
//- Methods inherited from RuleExporter................................
virtual bool ExportRule(ofstream &stream, int rule_no, const Rule &rule) const;
public:
//- Constructors/destructor........................................
CPPRuleExporter();
virtual ~CPPRuleExporter();
//- Methods inherited from Identifier..............................
DECLAREIDMETHODS()
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -