rsesinformationvector.h
来自「粗糙集应用软件」· C头文件 代码 · 共 71 行
H
71 行
//-------------------------------------------------------------------
// Author........: Aleksander 豩rn
// Date..........:
// Description...:
// Revisions.....:
//===================================================================
#ifndef __RSESINFORMATIONVECTOR_H__
#define __RSESINFORMATIONVECTOR_H__
#include <copyright.h>
#include <kernel/structures/informationvector.h>
//-------------------------------------------------------------------
// Class prototypes.
//===================================================================
class TDObject;
//-------------------------------------------------------------------
// Class.........: RSESInformationVector
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Wrapper class for inf. vectors from the RSES library.
// Revisions.....:
//===================================================================
class RSESInformationVector : public InformationVector {
private:
//- Friend declarations............................................
friend class RSESDecisionTable;
private:
//- Private member variables.......................................
TDObject *inf_; // From the RSES library.
bool is_owner_; // Does the wrapper own the embedded object?
protected:
//- Constructors...................................................
RSESInformationVector(const RSESInformationVector &in);
public:
//- Constructor and destructor....................................
RSESInformationVector();
RSESInformationVector(int size);
virtual ~RSESInformationVector();
//- Methods inherited from Identifier.............................
DECLAREIDMETHODS()
//- Methods inherited from Structure..............................
virtual Structure *Duplicate() const;
//- Access methods................................................
virtual int GetNoAttributes() const;
virtual int GetEntry(int attribute_no) const;
virtual bool SetEntry(int attribute_no, int value);
//- Attribute administration......................................
virtual bool InsertAttribute(int attribute_no);
virtual bool RemoveAttribute(int attribute_no);
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?