cppruleexporter.h

来自「粗糙集应用软件」· C头文件 代码 · 共 44 行

H
44
字号
//-------------------------------------------------------------------
// 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 + =
减小字号Ctrl + -
显示快捷键?