CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
ituple.h
1#pragma once
2#include "system/object.h"
3
4namespace System {
5namespace Runtime {
6namespace CompilerServices {
7
10class ITuple : virtual public Object
11{
13 RTTI_INFO_TEMPLATE_CLASS(Runtime::CompilerServices::ITuple, System::BaseTypesInfo<System::Object>);
14
15public:
19 virtual SharedPtr<Object> idx_get(int32_t index) const = 0;
20
22 virtual int32_t get_Length() const = 0;
23};
24
25}}} // namespace System::Runtime::CompilerServices
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Defines a general-purpose Tuple implementation that allows access to Tuple instance members without k...
Definition: ituple.h:11
virtual SharedPtr< Object > idx_get(int32_t index) const =0
Returns the element at position index.
virtual int32_t get_Length() const =0
Returns the number of positions in this data structure.
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9