identifier.cpp
来自「粗糙集应用软件」· C++ 代码 · 共 38 行
CPP
38 行
//-------------------------------------------------------------------
// 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 + =
减小字号Ctrl + -
显示快捷键?