📄 object.h
字号:
#ifndef _BASE_OBJECT_
#define _BASE_OBJECT_
#include <string>
#include <list>
using namespace std;
#include "typedef.h"
class CBaseObject
{
public:
CBaseObject() : id(""), stid(""), name(""), code(0) { }
CBaseObject(string tid, string tstid, string tname, unsigned short tcode)
:id(tid), stid(tstid), name(tname), code(tcode) { }
virtual ~CBaseObject() { };
virtual string GetID() { return id;}
virtual string GetStID() { return stid;}
virtual string GetName() { return name;}
virtual unsigned short GetCode() { return code;}
protected:
string id;
string stid;
string name;
unsigned short code;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -