newly ObjectSimpleInfo
This commit is contained in:
parent
71a6695ab8
commit
2377c39642
@ -6,16 +6,23 @@ namespace hgl
|
|||||||
{
|
{
|
||||||
class ObjectManager;
|
class ObjectManager;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 对象简单信息
|
||||||
|
*/
|
||||||
|
struct ObjectSimpleInfo
|
||||||
|
{
|
||||||
|
size_t hash_code; ///<对象数据类型的hash值
|
||||||
|
size_t serial_number; ///<对象序列号
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 对象基本信息
|
* 对象基本信息
|
||||||
*/
|
*/
|
||||||
struct ObjectBaseInfo
|
struct ObjectBaseInfo:public ObjectSimpleInfo
|
||||||
{
|
{
|
||||||
size_t hash_code; ///<对象数据类型的hash值
|
ObjectManager * object_manager; ///<对象管理器
|
||||||
ObjectManager * object_manager; ///<对象管理器
|
|
||||||
size_t serial_number; ///<对象序列号
|
|
||||||
|
|
||||||
SourceCodeLocation source_code_location; ///<对象创建的源代码位置
|
SourceCodeLocation source_code_location; ///<对象创建的源代码位置
|
||||||
};
|
};
|
||||||
}//namespace hgl
|
}//namespace hgl
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user