📄 decisiontableexporter.h
字号:
//-------------------------------------------------------------------
// Author........: Aleksander 豩rn
// Date..........:
// Description...:
// Revisions.....:
//===================================================================
#ifndef __DECISIONTABLEEXPORTER_H__
#define __DECISIONTABLEEXPORTER_H__
#include <copyright.h>
#include <kernel/algorithms/exporter.h>
//-------------------------------------------------------------------
// Class.........: DecisionTableExporter
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Base class for exporting decision tables to alien
// formats.
// Revisions.....:
//===================================================================
class DecisionTableExporter : public Exporter {
protected:
//- Methods inherited from Exporter................................
virtual bool ExportPrologue(ofstream &stream, const Structure &structure) const;
virtual bool ExportData(ofstream &stream, const Structure &structure) const;
virtual bool ExportEpilogue(ofstream &stream, const Structure &structure) const;
protected:
//- Overloadable for various formats...............................
virtual bool ExportInformationVector(ofstream &stream, const DecisionTable &table, int object_no, bool masked) const = 0;
public:
//- Constructors/destructor........................................
DecisionTableExporter();
virtual ~DecisionTableExporter();
//- Methods inherited from Identifier..............................
DECLAREIDMETHODS()
//- Methods inherited from Algorithm...............................
virtual bool IsApplicable(const Structure &structure, bool warn = true) const;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -