mFrame
載入中...
搜尋中...
無符合項目
Container.h
1
7#ifndef MFRAME_956664BF_5E02_4253_99E4_5145B33F691B
8#define MFRAME_956664BF_5E02_4253_99E4_5145B33F691B
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15#include "./../lang/Interface.h"
16
17//----------------------------------------------------------------------------------------
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace ufm::util {
23 struct Container;
24} // namespace ufm::util
25
26/* ***************************************************************************************
27 * Class/Interface/Struct/Enum
28 */
29
177 /* *************************************************************************************
178 * Method
179 */
187 virtual void clear(void) abstract;
188
194 virtual bool isEmpty(void) const abstract;
195
203 virtual int size(void) const abstract;
204};
205
206/* ***************************************************************************************
207 * End of file
208 */
209
210#endif /* MFRAME_956664BF_5E02_4253_99E4_5145B33F691B */
Definition Iterable.h:28
容器介面,定義所有集合容器的基本操作。
Definition Container.h:176
virtual int size(void) const override
返回此集合中的元素數量
virtual void clear(void) override
從此集合中刪除所有元素(可選操作)
virtual bool isEmpty(void) const override
檢查此集合是否不包含任何元素