Added Iterator in Map<>

This commit is contained in:
hyzboy 2024-11-19 00:32:32 +08:00
parent 753b78dddf
commit 1538a049b8
3 changed files with 5 additions and 5 deletions

View File

@ -10,5 +10,4 @@ namespace hgl
};
#define HGL_SOURCE_CODE_LOCATION __FILE__,__FUNCTION__,__LINE__
}//namespace hgl

View File

@ -144,6 +144,10 @@ namespace hgl
template<typename K,typename V> class Map:public MapTemplate<K,V,KeyValue<K,V> >
{
public:
using Iterator=KeyValue<K,V>;
public:
Map()=default;

View File

@ -1,6 +1,7 @@
#pragma once
#include<hgl/type/DataType.h>
#include<hgl/type/object/ObjectBaseInfo.h>
#include<hgl/type/object/ObjectRelation.h>
namespace hgl
{
@ -33,10 +34,6 @@ namespace hgl
virtual ~Object()=default;
virtual void Deinitailize()=0;
virtual bool CheckType()
{
}
};//class Object
template<typename T> class DefaultObjectManager;