📄 item.cpp
字号:
#include "Item.h"
cItem::cItem( void ) : type( 0 ) { }
cItem::cItem( unsigned long t ) : type( t ) { }
unsigned long cItem::getID( void ) const { return( type ); }
cItem::cItem( const cItem © ) : type( copy.type ) { }
bool cItem::operator ==( const cItem &i ) const { return( type == i.type ); }
bool cItem::operator <( const cItem &i ) const { return( type < i.type ); }
cItem &cItem::operator =( const cItem © ) {
type = copy.type;
return( *this );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -