add begin/end in ObjectList
This commit is contained in:
parent
7b79a61874
commit
da5138b920
@ -214,6 +214,11 @@ namespace hgl
|
||||
// virtual T * CreateObject(){return(new T);} ///<创建一个数据
|
||||
virtual void DeleteObject(T *obj){if(obj)delete obj;} ///<删除一个数据
|
||||
|
||||
public:
|
||||
|
||||
T **begin()const{return this->items;}
|
||||
T **end()const{return this->items+this->count;}
|
||||
|
||||
public:
|
||||
|
||||
virtual ~ObjectList()
|
||||
|
Loading…
x
Reference in New Issue
Block a user