ACF $AcfVersion:0$
IContainerInfo.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
6#include <istd/IChangeable.h>
7
8
9namespace istd
10{
11
12
16class IContainerInfo: virtual public IChangeable
17{
18public:
22 virtual int GetItemsCount() const = 0;
23
27 virtual bool IsEmpty() const = 0;
28
29 /*
30 Returns \c true if the index \c index is valid, otherwise a \c false.
31 */
32 virtual bool IsIndexValid(int index) const = 0;
33};
34
35
36} // namespace istd
37
38
39
Common interface for data model objects, which can be changed.
Definition IChangeable.h:28
Common interface for all container implementations.
virtual bool IsEmpty() const =0
Returns a true if container is empty, otherwise a false.
virtual int GetItemsCount() const =0
Returns number of elements in the container.
virtual bool IsIndexValid(int index) const =0
Standard library.
Definition IComponent.h:17