CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
iread_only_collection.h
1
2#pragma once
3
4#include <system/collections/ienumerable.h>
5#include <system/details/pointer_collection_helpers.h>
6
7
8namespace System {
9namespace Collections {
10namespace Generic {
11
17template<typename T>
18class ASPOSECPP_SHARED_CLASS IReadOnlyCollection : public virtual System::Collections::Generic::IEnumerable<T>
19{
22
23public:
25 typedef T ValueType;
28
31 virtual int32_t get_Count() const = 0;
32};
33
34} // namespace Generic
35} // namespace Collections
36} // namespace System
Interface of object providing enumerator on contained elements.
Definition: ienumerable.h:26
Interface of read-only collection of elements. Objects of this class should only be allocated using S...
Definition: iread_only_collection.h:19
IReadOnlyCollection< T > ThisType
Collection type name.
Definition: iread_only_collection.h:27
T ValueType
Value type name.
Definition: iread_only_collection.h:25
virtual int32_t get_Count() const =0
Gets number of elements in collection.
Definition: db_command.h:9