⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 identifier.cpp

📁 粗糙集应用软件
💻 CPP
字号:
//-------------------------------------------------------------------
// Author........: Aleksander 豩rn
// Date..........: 960307
// Description...:
// Revisions.....:
//===================================================================

#include <stdafx.h> // Precompiled headers.
#include <copyright.h>

#include <kernel/basic/identifier.h>

//-------------------------------------------------------------------
// Methods for class Identifier.
//===================================================================

//-------------------------------------------------------------------
// Method........: IsA/GetId
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Provides run-time type identification (RTTI).
// Comments......: Has to be implemented explicitly instead of via
//                 the IMPLEMENTIDMETHODS macro because this is the
//                 top-level identifying class, i.e. it has no
//                 baseclass equipped with an IsA relation.
// Revisions.....:
//===================================================================

bool
Identifier::IsA(Id id) const {
  return (id == IDENTIFIER);
}

Id
Identifier::GetId() const {
  return IDENTIFIER;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -