📄 identifier.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 + -