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

📄 object.h

📁 Linux 环境下
💻 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 + -