CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
i_data_record.h
1
2#pragma once
3
4#include <system/object.h>
5#include <cstdint>
6#include <system/string.h>
7
8namespace System {
9namespace Data {
10
15class ASPOSECPP_SHARED_CLASS IDataRecord : virtual public System::Object
16{
18 RTTI_INFO(System::Data::IDataRecord, ::System::BaseTypesInfo<System::Object>)
19
20public:
23 virtual ASPOSECPP_SHARED_API int32_t get_FieldCount() = 0;
27 virtual ASPOSECPP_SHARED_API System::String GetName(const int32_t index) = 0;
31 virtual ASPOSECPP_SHARED_API System::SharedPtr<System::Object> idx_get(const int32_t index) = 0;
32};
33
34}
35}
Interface to record with columns. Objects of this class should only be allocated using System::MakeOb...
Definition: i_data_record.h:16
virtual System::String GetName(const int32_t index)=0
Gets name of field at specified position.
virtual int32_t get_FieldCount()=0
RTTI information.
virtual System::SharedPtr< System::Object > idx_get(const int32_t index)=0
Gets value at speified index.
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Definition: db_command.h:9