blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
01167f507415c8315cd81d010fc33ed6d5e2eb33 | 9ac56ff5b745fdebf34083ac113c577a8b120aa3 | /src/materialsystem/stdshaders/downsample_nohdr_dx80.cpp | 86f2389de4c58af967ba710f8296a197ad572748 | [] | no_license | FriskTheFallenHuman/swarm-sdk-template | 16e8e29edb9a19ecd1b38ededcc31fb1f6653ae1 | a6e6bf7fcbe5b93b5e5fc4ad32944022dae27f90 | refs/heads/master | 2023-01-13T17:23:32.693199 | 2020-11-11T00:44:59 | 2020-11-11T00:44:59 | 38,081,794 | 8 | 3 | null | 2020-11-11T00:45:00 | 2015-06-26T00:32:09 | C++ | WINDOWS-1252 | C++ | false | false | 2,047 | cpp | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "BaseVSShader.h"
#include "common_hlsl_cpp_consts.h"
#include "ConVar.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
DEFINE_FALLBACK_SHADER( Downsample_nohdr, Downsample_nohdr_DX80 )
BEGIN_VS_SHADER_FLAGS( Downsample_nohdr_DX80, "Help for Downsample_nohdr_DX80", SHADER_NOT_EDITABLE )
BEGIN_SHADER_PARAMS
END_SHADER_PARAMS
SHADER_INIT
{
LoadTexture( BASETEXTURE );
}
SHADER_FALLBACK
{
return 0;
}
SHADER_DRAW
{
SHADOW_STATE
{
pShaderShadow->EnableDepthWrites( false );
pShaderShadow->EnableAlphaWrites( true );
pShaderShadow->EnableTexture( SHADER_SAMPLER0, true );
pShaderShadow->EnableTexture( SHADER_SAMPLER1, true );
pShaderShadow->EnableTexture( SHADER_SAMPLER2, true );
pShaderShadow->EnableTexture( SHADER_SAMPLER3, true );
pShaderShadow->VertexShaderVertexFormat( VERTEX_POSITION, 1, 0, 0 );
pShaderShadow->SetVertexShader( "Downsample_vs11", 0 );
pShaderShadow->SetPixelShader( "Downsample_nohdr_ps11" );
}
DYNAMIC_STATE
{
BindTexture( SHADER_SAMPLER0, BASETEXTURE, -1 );
BindTexture( SHADER_SAMPLER1, BASETEXTURE, -1 );
BindTexture( SHADER_SAMPLER2, BASETEXTURE, -1 );
BindTexture( SHADER_SAMPLER3, BASETEXTURE, -1 );
int width, height;
pShaderAPI->GetBackBufferDimensions( width, height );
float v[4][4];
float dX = 1.0f/width;
float dY = 1.0f/height;
v[0][0] = .5*dX;
v[0][1] = .5*dY;
v[1][0] = 2.5*dX;
v[1][1] = .5*dY;
v[2][0] = .5*dX;
v[2][1] = 2.5*dY;
v[3][0] = 2.5*dX;
v[3][1] = 2.5*dY;
pShaderAPI->SetVertexShaderConstant( VERTEX_SHADER_SHADER_SPECIFIC_CONST_0, &v[0][0], 4 );
pShaderAPI->SetVertexShaderIndex( 0 );
pShaderAPI->SetPixelShaderIndex( 0 );
}
Draw();
}
END_SHADER
| [
"kosire.dk@gmail.com"
] | kosire.dk@gmail.com |
dfe0b6605c062fdab380f3000016e4ccf6af7f02 | eda0aa1e172285968d075ff018d2620dce0c34e2 | /codeforces1173D.cpp | 46a333438ef4e88eccfe0df3dc79ef9d71a17b4e | [] | no_license | AbhJ/some-cp-files-2 | bb12596453010a5e2f60329cbb397b2dc42c151d | 8d3dbf726939fbd3ae4a952f5049ab3ab40e7917 | refs/heads/master | 2023-07-30T23:17:28.150149 | 2021-09-26T13:16:29 | 2021-09-26T13:16:29 | 402,768,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,651 | cpp | //Coded by Abhijay Mitra
#include <iostream>
#include <stdlib.h>
#include <algorithm>
#include <cstdio>
#include <numeric>
#include <cstring>
#include <numeric>
#include <vector>
#include <iterator>
#include <map>
#include <set>
#include <climits>
#include <queue>
#include <iomanip>
#include <cmath>
#include <stack>
#include <cctype>
#include <bitset>
// #include <bits/stdc++.h>
#define double long double
#define int long long int
#define ll int
#define ibs ios_base::sync_with_stdio(false)
#define cti cin.tie(0)
#define bp __builtin_popcount
#define pb push_back
#define res(vector) v.resize(unique(v.begin(), v.end()) - v.begin());
#define timer cerr << "Time elapsed : " << 1.0 * clock() / CLOCKS_PER_SEC << " sec \n";
using namespace std;
const int N=2e6+10;
const int inf = /*0x3f3f3f3f*/1e18+10;
const ll M = 998244353 ; // Mulo
// const int M = 1e9+7 ; // Mulo
const double Pi = 3.14159265;
#define F first
#define S second
int n,k,x,y,A[N],a[N],result[N];
int mul(int a,int b);
ll fact_dp(int n)
{
if (n >= 0)
{
result[0] = 1;
for (int i = 1; i <= n; ++i)
{
result[i] = mul(i ,result[i - 1]);
}
return result[n];
}
}
int mul(int a,int b){
return ((a%M)*(b%M))%M;
}
void solve(){
cin>>n;
fact_dp(n);
// for(int i=1;i<=n;i++)cin>>A[i];
for(int i=1;i<=n-1;i++){
cin>>x>>y;
a[x]++,a[y]++;
}
k=n;
for(int i=1;i<=n;i++)k=mul(k,result[a[i]]);
cout<<k;
}
int32_t main()
{
ibs;cti;
solve()
/*,cout<<"\n"*/;
// cout<<"\n";
int xx=0;
// int t;cin>>t;while(t--){/*xx++;cout<<"Case "<<xx<<":\n"*/;solve();/*cout<<"\n";*/}
return 0;
} | [
"mitraabhijay@gmail.com"
] | mitraabhijay@gmail.com |
569716559d5ecd52d45c54f54a91af1cc2413a99 | 6cfc281f699a6af355bda88f7b9c667491cbfbdc | /Apps/IOS/Classes/Native/System.Data9.cpp | e2bdd4f9362a7f7d37c9ce153c32ee37289186ed | [] | no_license | slifcoa/FordHackathon | 93868b834eeeae2fa727e8fd1d83bbab8b291433 | c466b9c8b32154d08bd1106a28d0bec3726b8d96 | refs/heads/main | 2023-06-25T22:41:09.018873 | 2021-07-16T20:49:47 | 2021-07-16T20:49:47 | 377,796,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456,860 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename R, typename T1>
struct VirtFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1>
struct VirtActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
// System.Data.Listeners`1/Action`4<System.Data.DataViewListener,System.Data.DataViewListener,System.ComponentModel.ListChangedEventArgs,System.Boolean,System.Boolean>
struct Action_4_t7C0CDA9ECC22BC1D74B65D061DDC2951769010FA;
// System.Comparison`1<System.Data.DataRow>
struct Comparison_1_t07198BED61FE8C00A502FC75C933BD6121298D0F;
// System.Collections.Generic.Dictionary`2<System.String,System.Data.DataColumn>
struct Dictionary_2_t12A9AA41354E11B42EE09BEF63546DACC9744D79;
// System.Data.Listeners`1/Func`2<System.Data.DataViewListener,System.Data.DataViewListener,System.Boolean>
struct Func_2_t389B5A9F53CC3CA21378C7BE4542E859EB6C1EB0;
// System.Collections.Generic.IEqualityComparer`1<System.Collections.Generic.KeyValuePair`2<System.Type,System.Xml.Serialization.XmlRootAttribute>>
struct IEqualityComparer_1_t83BBB8C9BE9F60D1E0B123BCE005D819FCD31BE7;
// System.Collections.Generic.List`1<System.Data.DataColumn>
struct List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4;
// System.Collections.Generic.List`1<System.Data.DataView>
struct List_1_tB89245644B346101AE9E11C1D00E21FC07C571F6;
// System.Collections.Generic.List`1<System.Data.DataViewListener>
struct List_1_tA51850D121A8B0010EBA8C983E6A9624C5E7A4F8;
// System.Collections.Generic.List`1<System.Data.Index>
struct List_1_tD5795870026BEF286BB7B0CEC48058281AD2DA0D;
// System.Data.Listeners`1<System.Data.DataViewListener>
struct Listeners_1_t7C998D26DFD40B26063C9203609F507B8C2FF5E9;
// System.Data.RBTree`1<System.Data.DataRow>
struct RBTree_1_t39CBB459CE258F46F3F45D853DFEF568238BEA49;
// System.Data.RBTree`1<System.Int32>
struct RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11;
// System.Data.RBTree`1<System.Object>
struct RBTree_1_tDF6F84A8D1EE6E176828EB4C2FCB56C871C78AD2;
// System.Data.RBTree`1/TreePage<System.Data.DataRow>[]
struct TreePageU5BU5D_t23A902C89B1F3C4DEBE1BAA3EE0C4A335F62FEBE;
// System.Data.RBTree`1/TreePage<System.Int32>[]
struct TreePageU5BU5D_t119A89645D06C5D41CA7694ABC97CED591EBB0E4;
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
// System.Data.Constraint[]
struct ConstraintU5BU5D_tF3F338E19F54FBB6DF67F46E61DDC496DD2CF65F;
// System.Data.DataColumn[]
struct DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C;
// System.Data.DataRelation[]
struct DataRelationU5BU5D_tD72718271EA486F2C00EA68F2D1DB7DEB338F96C;
// System.Data.DataRow[]
struct DataRowU5BU5D_t039B78152F7ED6AC096A8A0A91289870EA3A97BD;
// System.Data.DataTable[]
struct DataTableU5BU5D_t83A87BCE9C5AC8A297BFC1274CB5A693E2BAFD34;
// System.Delegate[]
struct DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8;
// System.Data.IndexField[]
struct IndexFieldU5BU5D_t5ACA22730370B8DD7B0EF591FD0A08918625568A;
// System.Int32[]
struct Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32;
// System.IntPtr[]
struct IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6;
// System.Object[]
struct ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971;
// System.Type[]
struct TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755;
// System.UInt32[]
struct UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF;
// System.Collections.Hashtable/bucket[]
struct bucketU5BU5D_tFE956DAEFB1D1C86A13EF247D7367BF60B55E190;
// System.Collections.ArrayList
struct ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575;
// System.AsyncCallback
struct AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA;
// System.Data.AutoIncrementValue
struct AutoIncrementValue_t4267E1ADD464F0AAD2395E50A13224C7052A52DC;
// System.Reflection.Binder
struct Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30;
// System.ComponentModel.CollectionChangeEventArgs
struct CollectionChangeEventArgs_t7AAC8CD3B11DA4689B157DCC84CC3867282B0D2B;
// System.ComponentModel.CollectionChangeEventHandler
struct CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77;
// System.Globalization.CompareInfo
struct CompareInfo_t4AB62EC32E8AF1E469E315620C7E3FB8B0CAE0C9;
// System.Data.Constraint
struct Constraint_t9340D631C91CD0399D286378A00A40D2FA46EC4B;
// System.Data.ConstraintCollection
struct ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1;
// System.Globalization.CultureInfo
struct CultureInfo_t1B787142231DB79ABDCE0659823F908A040E9A98;
// System.Data.DataColumn
struct DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638;
// System.Data.DataColumnChangeEventHandler
struct DataColumnChangeEventHandler_t70A1ADAB356DD79C67541D04B50A91DF60F3D2A4;
// System.Data.DataColumnCollection
struct DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820;
// System.Data.DataError
struct DataError_t1D58E151B9E79E500B6279B5D77137381D31DBC0;
// System.Data.DataExpression
struct DataExpression_t02B5A14205433D16401B28DB7B2DD5508E71F2E9;
// System.Data.DataRelation
struct DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9;
// System.Data.DataRelationCollection
struct DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714;
// System.Data.DataRow
struct DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE;
// System.Data.DataRowBuilder
struct DataRowBuilder_t2C7D6576B4CB4899B7E72BC381206146A33BEFA7;
// System.Data.DataRowChangeEventHandler
struct DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B;
// System.Data.DataRowCollection
struct DataRowCollection_tFC565C4737B3CCAA82BCB904DF13A3BCD2809310;
// System.Data.DataRowCreatedEventHandler
struct DataRowCreatedEventHandler_tE60E7D5E5556337BEB5818E87E217E12F9987102;
// System.Data.DataSet
struct DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B;
// System.Data.DataSetClearEventhandler
struct DataSetClearEventhandler_tBBB7A6036B60539D6C54C4BADC06DC0E14A7494E;
// System.Data.Common.DataStorage
struct DataStorage_tD0EA36115182A6288321E6EF7C8B16C5E19D0138;
// System.Data.DataTable
struct DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827;
// System.Data.DataTableClearEventHandler
struct DataTableClearEventHandler_t0F631F97E38033D095CDF80C665BF15B8BE38B35;
// System.Data.DataTableCollection
struct DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451;
// System.Data.DataTableNewRowEventHandler
struct DataTableNewRowEventHandler_tD0FA1AC652286E800E155E5AE14EA075DC10897B;
// System.Data.DataView
struct DataView_t2E5A84859C321ACA156C56B6F1E03BED53E963CF;
// System.Data.DataViewListener
struct DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E;
// System.Data.DataViewManager
struct DataViewManager_tA216F22BB197AECDF442CD380A614CA7B4EA639A;
// System.Delegate
struct Delegate_t;
// System.DelegateData
struct DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288;
// System.ComponentModel.EventHandlerList
struct EventHandlerList_t085C99C5BEAB950B4B76BB13379FBCA0AA75A714;
// System.Exception
struct Exception_t;
// System.Data.ExpressionNode
struct ExpressionNode_t1D76051DE31ECF4B03B005FFD892EDB7CCB6D20E;
// System.Data.ForeignKeyConstraint
struct ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD;
// System.Collections.Hashtable
struct Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC;
// System.IAsyncResult
struct IAsyncResult_tC9F97BF36FCF122D29D3101D80642278297BF370;
// System.Collections.ICollection
struct ICollection_tC1E1DED86C0A66845675392606B302452210D5DA;
// System.Collections.IDictionary
struct IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A;
// System.Collections.IEqualityComparer
struct IEqualityComparer_t6C4C1F04B21BDE1E4B84BD6EC7DE494C186D6C68;
// System.IFormatProvider
struct IFormatProvider_tF2AECC4B14F41D36718920D67F930CED940412DF;
// System.ComponentModel.ISite
struct ISite_tC1E55EC6FA743BE8C9D79C838308E788B90C8790;
// System.Data.Index
struct Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663;
// System.ComponentModel.ListChangedEventArgs
struct ListChangedEventArgs_t7E1DD2BB933BE30107C8B95958746E6AF24F6632;
// System.Reflection.MemberFilter
struct MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81;
// System.Data.MergeFailedEventHandler
struct MergeFailedEventHandler_t10E3E3F0E24DB1FC0DFEC8687C4D690F5CA57A41;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// System.ComponentModel.PropertyChangedEventHandler
struct PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99;
// System.Data.PropertyCollection
struct PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012;
// System.ComponentModel.PropertyDescriptor
struct PropertyDescriptor_t851C1421EDEEC6CB7D059D50CF94886ECCA1B22B;
// System.ComponentModel.PropertyDescriptorCollection
struct PropertyDescriptorCollection_t0BB7AE0048C13582B255B7D574F323B4B01D272F;
// System.Threading.ReaderWriterLockSlim
struct ReaderWriterLockSlim_tABE1342190B3292CBA83424BDE0B46B40965BD7F;
// System.Data.RecordManager
struct RecordManager_t88D8410999842025EC74A65B2CD9BA479C5EDC53;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F;
// System.Data.SimpleType
struct SimpleType_t49470C34D88B5C339CCA842F9F167CB7A537D0F5;
// System.String
struct String_t;
// System.StringComparer
struct StringComparer_t69EC059128AD0CAE268CA1A1C33125DAC9D7F8D6;
// System.Type
struct Type_t;
// System.Data.UniqueConstraint
struct UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39;
// System.Void
struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5;
// System.WeakReference
struct WeakReference_tB8558D16C98417FD98C920C42C0CC5C9FF825C76;
// System.Xml.XmlNode
struct XmlNode_t26782CDADA207DFC891B2772C8DB236DD3D324A1;
// System.Xml.XmlReader
struct XmlReader_tECCB3D8B757F8CE744EF0430F338BEF15E060138;
// System.Xml.Serialization.XmlRootAttribute
struct XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96;
// System.Xml.Schema.XmlSchemaComplexType
struct XmlSchemaComplexType_tE6F9E57AB3C89D88DAB166F1F0A3EC2276C2F062;
// System.Data.ZeroOpNode
struct ZeroOpNode_tCDCB5B8A3877208A042493BBFA55DF9D678D0972;
// System.Data.DataRelationCollection/DataSetRelationCollection
struct DataSetRelationCollection_t679438AEFA6DF47F762A03302CD334C8DA9560D3;
// System.Data.DataRelationCollection/DataTableRelationCollection
struct DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E;
// System.Data.DataRowCollection/DataRowTree
struct DataRowTree_t919D7F356802E01FEAFB0C112C7993717AE0FA63;
// System.Data.DataView/DataRowReferenceComparer
struct DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051;
// System.Data.Index/<>c
struct U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033;
// System.Data.Index/<>c__DisplayClass86_0
struct U3CU3Ec__DisplayClass86_0_t0A216700852A2F8E0454E0E7A63AF4AB7200DFAB;
// System.Data.Index/IndexTree
struct IndexTree_t0E9881360105536EEEDB380C194A80B9BE1A9F7D;
// System.Data.Common.ObjectStorage/TempAssemblyComparer
struct TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129;
// System.Data.XDRSchema/NameType
struct NameType_t39DE8B1C4C82F09683DE372688E11B4F2CE51C5B;
// System.Data.XSDSchema/NameType
struct NameType_tC83605CA0673A9059F660474AC42EDEB60EAF7AE;
// System.Data.XmlToDatasetMap/TableSchemaInfo
struct TableSchemaInfo_t30BCB6D26A3BB9834CB6F80FAE03083BC0D5F830;
// System.Data.XmlToDatasetMap/XmlNodeIdHashtable
struct XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E;
// System.Data.XmlToDatasetMap/XmlNodeIdentety
struct XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454;
IL2CPP_EXTERN_C RuntimeClass* ADP_t9D19A67611CE9072A14EE34A3EB9447AE50F8525_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Exception_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* String_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Type_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C const RuntimeMethod* DataRowTree_CompareNode_mBCF6F51999568BCD87DB069D322B3BEF94C81820_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* DataRowTree_CompareSateliteTreeNode_mB74E951EDADFA611BFF2F10338BB5B41470139CD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* DataSetRelationCollection_AddCore_m102379FA1D8E8B2BA85021375B54C567F89B3BF9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* DataSetRelationCollection_RemoveCore_m43C1215777512217C0DE3B5B00FB2012964AD910_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* DataSetRelationCollection__ctor_mF79F3B7AC2F58429F6784BABEC0D3F185582613B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* DataSetRelationCollection_get_Item_m6AB7BD6754C38767481914AAF967E7725E12F764_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* DataSetRelationCollection_get_Item_m801C9F079AAF448785ACBAB01B3B6985D5ADBA25_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* DataTableRelationCollection_AddCore_m3257E9A45D276D8201849D6FE2D478660ED4C876_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* DataTableRelationCollection_EnsureDataSet_mCEA71BCCC50AF74B2D08774F6B93A0928C81F042_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* DataTableRelationCollection_RemoveCache_m434228DCEBDE2D480891504B10229B31F3B4D5AB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* DataTableRelationCollection_RemoveCore_m0A6F4AFBF5E60ADB157873890F661C6031581CB2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* DataTableRelationCollection__ctor_m7A2DFA537CE65FAC4415F3AFE408D710E0215C55_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* DataTableRelationCollection_get_Item_m2B17AF5FBD6241147800D8B84285C8595BF8C3DE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* DataTableRelationCollection_get_Item_m7AB8565259BA33E29870CE8CB735BDB4187FBFE2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* KeyValuePair_2_get_Key_mFD07BE2737B9698900D27E550ECD011F1871C5D8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* RBTree_1__ctor_m4BCBFD13A94209377525F282ADFB174018DEBF32_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* RBTree_1__ctor_m72A0B117F9F8DDF8D7C0241D5485E5E004823AA1_RuntimeMethod_var;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_pinvoke;
struct DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C;
struct DataRelationU5BU5D_tD72718271EA486F2C00EA68F2D1DB7DEB338F96C;
struct Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32;
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Object
// System.Collections.Generic.List`1<System.Data.DataColumn>
struct List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4, ____items_1)); }
inline DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* get__items_1() const { return ____items_1; }
inline DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4, ____size_2)); }
inline int32_t get__size_2() const { return ____size_2; }
inline int32_t* get_address_of__size_2() { return &____size_2; }
inline void set__size_2(int32_t value)
{
____size_2 = value;
}
inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4_StaticFields, ____emptyArray_5)); }
inline DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* get__emptyArray_5() const { return ____emptyArray_5; }
inline DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
struct Il2CppArrayBounds;
// System.Array
// System.Collections.ArrayList
struct ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 : public RuntimeObject
{
public:
// System.Object[] System.Collections.ArrayList::_items
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ____items_0;
// System.Int32 System.Collections.ArrayList::_size
int32_t ____size_1;
// System.Int32 System.Collections.ArrayList::_version
int32_t ____version_2;
// System.Object System.Collections.ArrayList::_syncRoot
RuntimeObject * ____syncRoot_3;
public:
inline static int32_t get_offset_of__items_0() { return static_cast<int32_t>(offsetof(ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575, ____items_0)); }
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* get__items_0() const { return ____items_0; }
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE** get_address_of__items_0() { return &____items_0; }
inline void set__items_0(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* value)
{
____items_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_0), (void*)value);
}
inline static int32_t get_offset_of__size_1() { return static_cast<int32_t>(offsetof(ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575, ____size_1)); }
inline int32_t get__size_1() const { return ____size_1; }
inline int32_t* get_address_of__size_1() { return &____size_1; }
inline void set__size_1(int32_t value)
{
____size_1 = value;
}
inline static int32_t get_offset_of__version_2() { return static_cast<int32_t>(offsetof(ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575, ____version_2)); }
inline int32_t get__version_2() const { return ____version_2; }
inline int32_t* get_address_of__version_2() { return &____version_2; }
inline void set__version_2(int32_t value)
{
____version_2 = value;
}
inline static int32_t get_offset_of__syncRoot_3() { return static_cast<int32_t>(offsetof(ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575, ____syncRoot_3)); }
inline RuntimeObject * get__syncRoot_3() const { return ____syncRoot_3; }
inline RuntimeObject ** get_address_of__syncRoot_3() { return &____syncRoot_3; }
inline void set__syncRoot_3(RuntimeObject * value)
{
____syncRoot_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_3), (void*)value);
}
};
struct ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575_StaticFields
{
public:
// System.Object[] System.Collections.ArrayList::emptyArray
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___emptyArray_4;
public:
inline static int32_t get_offset_of_emptyArray_4() { return static_cast<int32_t>(offsetof(ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575_StaticFields, ___emptyArray_4)); }
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* get_emptyArray_4() const { return ___emptyArray_4; }
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE** get_address_of_emptyArray_4() { return &___emptyArray_4; }
inline void set_emptyArray_4(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* value)
{
___emptyArray_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___emptyArray_4), (void*)value);
}
};
// System.Attribute
struct Attribute_t037CA9D9F3B742C063DB364D2EEBBF9FC5772C71 : public RuntimeObject
{
public:
public:
};
// System.Data.Constraint
struct Constraint_t9340D631C91CD0399D286378A00A40D2FA46EC4B : public RuntimeObject
{
public:
// System.String System.Data.Constraint::_schemaName
String_t* ____schemaName_0;
// System.Boolean System.Data.Constraint::_inCollection
bool ____inCollection_1;
// System.Data.DataSet System.Data.Constraint::_dataSet
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * ____dataSet_2;
// System.String System.Data.Constraint::_name
String_t* ____name_3;
// System.Data.PropertyCollection System.Data.Constraint::_extendedProperties
PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * ____extendedProperties_4;
public:
inline static int32_t get_offset_of__schemaName_0() { return static_cast<int32_t>(offsetof(Constraint_t9340D631C91CD0399D286378A00A40D2FA46EC4B, ____schemaName_0)); }
inline String_t* get__schemaName_0() const { return ____schemaName_0; }
inline String_t** get_address_of__schemaName_0() { return &____schemaName_0; }
inline void set__schemaName_0(String_t* value)
{
____schemaName_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____schemaName_0), (void*)value);
}
inline static int32_t get_offset_of__inCollection_1() { return static_cast<int32_t>(offsetof(Constraint_t9340D631C91CD0399D286378A00A40D2FA46EC4B, ____inCollection_1)); }
inline bool get__inCollection_1() const { return ____inCollection_1; }
inline bool* get_address_of__inCollection_1() { return &____inCollection_1; }
inline void set__inCollection_1(bool value)
{
____inCollection_1 = value;
}
inline static int32_t get_offset_of__dataSet_2() { return static_cast<int32_t>(offsetof(Constraint_t9340D631C91CD0399D286378A00A40D2FA46EC4B, ____dataSet_2)); }
inline DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * get__dataSet_2() const { return ____dataSet_2; }
inline DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B ** get_address_of__dataSet_2() { return &____dataSet_2; }
inline void set__dataSet_2(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * value)
{
____dataSet_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dataSet_2), (void*)value);
}
inline static int32_t get_offset_of__name_3() { return static_cast<int32_t>(offsetof(Constraint_t9340D631C91CD0399D286378A00A40D2FA46EC4B, ____name_3)); }
inline String_t* get__name_3() const { return ____name_3; }
inline String_t** get_address_of__name_3() { return &____name_3; }
inline void set__name_3(String_t* value)
{
____name_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____name_3), (void*)value);
}
inline static int32_t get_offset_of__extendedProperties_4() { return static_cast<int32_t>(offsetof(Constraint_t9340D631C91CD0399D286378A00A40D2FA46EC4B, ____extendedProperties_4)); }
inline PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * get__extendedProperties_4() const { return ____extendedProperties_4; }
inline PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 ** get_address_of__extendedProperties_4() { return &____extendedProperties_4; }
inline void set__extendedProperties_4(PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * value)
{
____extendedProperties_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____extendedProperties_4), (void*)value);
}
};
// System.DBNull
struct DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28 : public RuntimeObject
{
public:
public:
};
struct DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28_StaticFields
{
public:
// System.DBNull System.DBNull::Value
DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28 * ___Value_0;
public:
inline static int32_t get_offset_of_Value_0() { return static_cast<int32_t>(offsetof(DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28_StaticFields, ___Value_0)); }
inline DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28 * get_Value_0() const { return ___Value_0; }
inline DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28 ** get_address_of_Value_0() { return &___Value_0; }
inline void set_Value_0(DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28 * value)
{
___Value_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Value_0), (void*)value);
}
};
// System.Data.DataViewListener
struct DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E : public RuntimeObject
{
public:
// System.WeakReference System.Data.DataViewListener::_dvWeak
WeakReference_tB8558D16C98417FD98C920C42C0CC5C9FF825C76 * ____dvWeak_0;
// System.Data.DataTable System.Data.DataViewListener::_table
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ____table_1;
// System.Data.Index System.Data.DataViewListener::_index
Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * ____index_2;
// System.Int32 System.Data.DataViewListener::_objectID
int32_t ____objectID_3;
public:
inline static int32_t get_offset_of__dvWeak_0() { return static_cast<int32_t>(offsetof(DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E, ____dvWeak_0)); }
inline WeakReference_tB8558D16C98417FD98C920C42C0CC5C9FF825C76 * get__dvWeak_0() const { return ____dvWeak_0; }
inline WeakReference_tB8558D16C98417FD98C920C42C0CC5C9FF825C76 ** get_address_of__dvWeak_0() { return &____dvWeak_0; }
inline void set__dvWeak_0(WeakReference_tB8558D16C98417FD98C920C42C0CC5C9FF825C76 * value)
{
____dvWeak_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dvWeak_0), (void*)value);
}
inline static int32_t get_offset_of__table_1() { return static_cast<int32_t>(offsetof(DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E, ____table_1)); }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * get__table_1() const { return ____table_1; }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 ** get_address_of__table_1() { return &____table_1; }
inline void set__table_1(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * value)
{
____table_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____table_1), (void*)value);
}
inline static int32_t get_offset_of__index_2() { return static_cast<int32_t>(offsetof(DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E, ____index_2)); }
inline Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * get__index_2() const { return ____index_2; }
inline Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 ** get_address_of__index_2() { return &____index_2; }
inline void set__index_2(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * value)
{
____index_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____index_2), (void*)value);
}
inline static int32_t get_offset_of__objectID_3() { return static_cast<int32_t>(offsetof(DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E, ____objectID_3)); }
inline int32_t get__objectID_3() const { return ____objectID_3; }
inline int32_t* get_address_of__objectID_3() { return &____objectID_3; }
inline void set__objectID_3(int32_t value)
{
____objectID_3 = value;
}
};
// System.EventArgs
struct EventArgs_tBCAACA538A5195B6D6C8DFCC3524A2A4A67FD8BA : public RuntimeObject
{
public:
public:
};
struct EventArgs_tBCAACA538A5195B6D6C8DFCC3524A2A4A67FD8BA_StaticFields
{
public:
// System.EventArgs System.EventArgs::Empty
EventArgs_tBCAACA538A5195B6D6C8DFCC3524A2A4A67FD8BA * ___Empty_0;
public:
inline static int32_t get_offset_of_Empty_0() { return static_cast<int32_t>(offsetof(EventArgs_tBCAACA538A5195B6D6C8DFCC3524A2A4A67FD8BA_StaticFields, ___Empty_0)); }
inline EventArgs_tBCAACA538A5195B6D6C8DFCC3524A2A4A67FD8BA * get_Empty_0() const { return ___Empty_0; }
inline EventArgs_tBCAACA538A5195B6D6C8DFCC3524A2A4A67FD8BA ** get_address_of_Empty_0() { return &___Empty_0; }
inline void set_Empty_0(EventArgs_tBCAACA538A5195B6D6C8DFCC3524A2A4A67FD8BA * value)
{
___Empty_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Empty_0), (void*)value);
}
};
// System.Data.ExpressionNode
struct ExpressionNode_t1D76051DE31ECF4B03B005FFD892EDB7CCB6D20E : public RuntimeObject
{
public:
// System.Data.DataTable System.Data.ExpressionNode::_table
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ____table_0;
public:
inline static int32_t get_offset_of__table_0() { return static_cast<int32_t>(offsetof(ExpressionNode_t1D76051DE31ECF4B03B005FFD892EDB7CCB6D20E, ____table_0)); }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * get__table_0() const { return ____table_0; }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 ** get_address_of__table_0() { return &____table_0; }
inline void set__table_0(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * value)
{
____table_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____table_0), (void*)value);
}
};
// System.Data.InternalDataCollectionBase
struct InternalDataCollectionBase_t56E2D60DAF057848CB6C862C9E9FEB3D1FE1B5C9 : public RuntimeObject
{
public:
public:
};
struct InternalDataCollectionBase_t56E2D60DAF057848CB6C862C9E9FEB3D1FE1B5C9_StaticFields
{
public:
// System.ComponentModel.CollectionChangeEventArgs System.Data.InternalDataCollectionBase::s_refreshEventArgs
CollectionChangeEventArgs_t7AAC8CD3B11DA4689B157DCC84CC3867282B0D2B * ___s_refreshEventArgs_0;
public:
inline static int32_t get_offset_of_s_refreshEventArgs_0() { return static_cast<int32_t>(offsetof(InternalDataCollectionBase_t56E2D60DAF057848CB6C862C9E9FEB3D1FE1B5C9_StaticFields, ___s_refreshEventArgs_0)); }
inline CollectionChangeEventArgs_t7AAC8CD3B11DA4689B157DCC84CC3867282B0D2B * get_s_refreshEventArgs_0() const { return ___s_refreshEventArgs_0; }
inline CollectionChangeEventArgs_t7AAC8CD3B11DA4689B157DCC84CC3867282B0D2B ** get_address_of_s_refreshEventArgs_0() { return &___s_refreshEventArgs_0; }
inline void set_s_refreshEventArgs_0(CollectionChangeEventArgs_t7AAC8CD3B11DA4689B157DCC84CC3867282B0D2B * value)
{
___s_refreshEventArgs_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_refreshEventArgs_0), (void*)value);
}
};
// System.ComponentModel.MarshalByValueComponent
struct MarshalByValueComponent_t932153909102130DE1C7FE6F988139CD9FEF2E3D : public RuntimeObject
{
public:
// System.ComponentModel.ISite System.ComponentModel.MarshalByValueComponent::site
RuntimeObject* ___site_1;
// System.ComponentModel.EventHandlerList System.ComponentModel.MarshalByValueComponent::events
EventHandlerList_t085C99C5BEAB950B4B76BB13379FBCA0AA75A714 * ___events_2;
public:
inline static int32_t get_offset_of_site_1() { return static_cast<int32_t>(offsetof(MarshalByValueComponent_t932153909102130DE1C7FE6F988139CD9FEF2E3D, ___site_1)); }
inline RuntimeObject* get_site_1() const { return ___site_1; }
inline RuntimeObject** get_address_of_site_1() { return &___site_1; }
inline void set_site_1(RuntimeObject* value)
{
___site_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___site_1), (void*)value);
}
inline static int32_t get_offset_of_events_2() { return static_cast<int32_t>(offsetof(MarshalByValueComponent_t932153909102130DE1C7FE6F988139CD9FEF2E3D, ___events_2)); }
inline EventHandlerList_t085C99C5BEAB950B4B76BB13379FBCA0AA75A714 * get_events_2() const { return ___events_2; }
inline EventHandlerList_t085C99C5BEAB950B4B76BB13379FBCA0AA75A714 ** get_address_of_events_2() { return &___events_2; }
inline void set_events_2(EventHandlerList_t085C99C5BEAB950B4B76BB13379FBCA0AA75A714 * value)
{
___events_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___events_2), (void*)value);
}
};
struct MarshalByValueComponent_t932153909102130DE1C7FE6F988139CD9FEF2E3D_StaticFields
{
public:
// System.Object System.ComponentModel.MarshalByValueComponent::EventDisposed
RuntimeObject * ___EventDisposed_0;
public:
inline static int32_t get_offset_of_EventDisposed_0() { return static_cast<int32_t>(offsetof(MarshalByValueComponent_t932153909102130DE1C7FE6F988139CD9FEF2E3D_StaticFields, ___EventDisposed_0)); }
inline RuntimeObject * get_EventDisposed_0() const { return ___EventDisposed_0; }
inline RuntimeObject ** get_address_of_EventDisposed_0() { return &___EventDisposed_0; }
inline void set_EventDisposed_0(RuntimeObject * value)
{
___EventDisposed_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___EventDisposed_0), (void*)value);
}
};
// System.Reflection.MemberInfo
struct MemberInfo_t : public RuntimeObject
{
public:
public:
};
// System.String
struct String_t : public RuntimeObject
{
public:
// System.Int32 System.String::m_stringLength
int32_t ___m_stringLength_0;
// System.Char System.String::m_firstChar
Il2CppChar ___m_firstChar_1;
public:
inline static int32_t get_offset_of_m_stringLength_0() { return static_cast<int32_t>(offsetof(String_t, ___m_stringLength_0)); }
inline int32_t get_m_stringLength_0() const { return ___m_stringLength_0; }
inline int32_t* get_address_of_m_stringLength_0() { return &___m_stringLength_0; }
inline void set_m_stringLength_0(int32_t value)
{
___m_stringLength_0 = value;
}
inline static int32_t get_offset_of_m_firstChar_1() { return static_cast<int32_t>(offsetof(String_t, ___m_firstChar_1)); }
inline Il2CppChar get_m_firstChar_1() const { return ___m_firstChar_1; }
inline Il2CppChar* get_address_of_m_firstChar_1() { return &___m_firstChar_1; }
inline void set_m_firstChar_1(Il2CppChar value)
{
___m_firstChar_1 = value;
}
};
struct String_t_StaticFields
{
public:
// System.String System.String::Empty
String_t* ___Empty_5;
public:
inline static int32_t get_offset_of_Empty_5() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_5)); }
inline String_t* get_Empty_5() const { return ___Empty_5; }
inline String_t** get_address_of_Empty_5() { return &___Empty_5; }
inline void set_Empty_5(String_t* value)
{
___Empty_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Empty_5), (void*)value);
}
};
// System.ValueType
struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52 : public RuntimeObject
{
public:
public:
};
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_com
{
};
// System.Xml.XmlNode
struct XmlNode_t26782CDADA207DFC891B2772C8DB236DD3D324A1 : public RuntimeObject
{
public:
// System.Xml.XmlNode System.Xml.XmlNode::parentNode
XmlNode_t26782CDADA207DFC891B2772C8DB236DD3D324A1 * ___parentNode_0;
public:
inline static int32_t get_offset_of_parentNode_0() { return static_cast<int32_t>(offsetof(XmlNode_t26782CDADA207DFC891B2772C8DB236DD3D324A1, ___parentNode_0)); }
inline XmlNode_t26782CDADA207DFC891B2772C8DB236DD3D324A1 * get_parentNode_0() const { return ___parentNode_0; }
inline XmlNode_t26782CDADA207DFC891B2772C8DB236DD3D324A1 ** get_address_of_parentNode_0() { return &___parentNode_0; }
inline void set_parentNode_0(XmlNode_t26782CDADA207DFC891B2772C8DB236DD3D324A1 * value)
{
___parentNode_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___parentNode_0), (void*)value);
}
};
// System.Xml.XmlReader
struct XmlReader_tECCB3D8B757F8CE744EF0430F338BEF15E060138 : public RuntimeObject
{
public:
public:
};
struct XmlReader_tECCB3D8B757F8CE744EF0430F338BEF15E060138_StaticFields
{
public:
// System.UInt32 System.Xml.XmlReader::IsTextualNodeBitmap
uint32_t ___IsTextualNodeBitmap_0;
// System.UInt32 System.Xml.XmlReader::CanReadContentAsBitmap
uint32_t ___CanReadContentAsBitmap_1;
// System.UInt32 System.Xml.XmlReader::HasValueBitmap
uint32_t ___HasValueBitmap_2;
public:
inline static int32_t get_offset_of_IsTextualNodeBitmap_0() { return static_cast<int32_t>(offsetof(XmlReader_tECCB3D8B757F8CE744EF0430F338BEF15E060138_StaticFields, ___IsTextualNodeBitmap_0)); }
inline uint32_t get_IsTextualNodeBitmap_0() const { return ___IsTextualNodeBitmap_0; }
inline uint32_t* get_address_of_IsTextualNodeBitmap_0() { return &___IsTextualNodeBitmap_0; }
inline void set_IsTextualNodeBitmap_0(uint32_t value)
{
___IsTextualNodeBitmap_0 = value;
}
inline static int32_t get_offset_of_CanReadContentAsBitmap_1() { return static_cast<int32_t>(offsetof(XmlReader_tECCB3D8B757F8CE744EF0430F338BEF15E060138_StaticFields, ___CanReadContentAsBitmap_1)); }
inline uint32_t get_CanReadContentAsBitmap_1() const { return ___CanReadContentAsBitmap_1; }
inline uint32_t* get_address_of_CanReadContentAsBitmap_1() { return &___CanReadContentAsBitmap_1; }
inline void set_CanReadContentAsBitmap_1(uint32_t value)
{
___CanReadContentAsBitmap_1 = value;
}
inline static int32_t get_offset_of_HasValueBitmap_2() { return static_cast<int32_t>(offsetof(XmlReader_tECCB3D8B757F8CE744EF0430F338BEF15E060138_StaticFields, ___HasValueBitmap_2)); }
inline uint32_t get_HasValueBitmap_2() const { return ___HasValueBitmap_2; }
inline uint32_t* get_address_of_HasValueBitmap_2() { return &___HasValueBitmap_2; }
inline void set_HasValueBitmap_2(uint32_t value)
{
___HasValueBitmap_2 = value;
}
};
// System.Data.DataView/DataRowReferenceComparer
struct DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051 : public RuntimeObject
{
public:
public:
};
struct DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051_StaticFields
{
public:
// System.Data.DataView/DataRowReferenceComparer System.Data.DataView/DataRowReferenceComparer::s_default
DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051 * ___s_default_0;
public:
inline static int32_t get_offset_of_s_default_0() { return static_cast<int32_t>(offsetof(DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051_StaticFields, ___s_default_0)); }
inline DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051 * get_s_default_0() const { return ___s_default_0; }
inline DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051 ** get_address_of_s_default_0() { return &___s_default_0; }
inline void set_s_default_0(DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051 * value)
{
___s_default_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_default_0), (void*)value);
}
};
// System.Data.Index/<>c
struct U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033 : public RuntimeObject
{
public:
public:
};
struct U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033_StaticFields
{
public:
// System.Data.Index/<>c System.Data.Index/<>c::<>9
U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033 * ___U3CU3E9_0;
// System.Data.Listeners`1/Func`2<System.Data.DataViewListener,System.Data.DataViewListener,System.Boolean> System.Data.Index/<>c::<>9__22_0
Func_2_t389B5A9F53CC3CA21378C7BE4542E859EB6C1EB0 * ___U3CU3E9__22_0_1;
// System.Data.Listeners`1/Action`4<System.Data.DataViewListener,System.Data.DataViewListener,System.ComponentModel.ListChangedEventArgs,System.Boolean,System.Boolean> System.Data.Index/<>c::<>9__85_0
Action_4_t7C0CDA9ECC22BC1D74B65D061DDC2951769010FA * ___U3CU3E9__85_0_2;
public:
inline static int32_t get_offset_of_U3CU3E9_0() { return static_cast<int32_t>(offsetof(U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033_StaticFields, ___U3CU3E9_0)); }
inline U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033 * get_U3CU3E9_0() const { return ___U3CU3E9_0; }
inline U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033 ** get_address_of_U3CU3E9_0() { return &___U3CU3E9_0; }
inline void set_U3CU3E9_0(U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033 * value)
{
___U3CU3E9_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9_0), (void*)value);
}
inline static int32_t get_offset_of_U3CU3E9__22_0_1() { return static_cast<int32_t>(offsetof(U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033_StaticFields, ___U3CU3E9__22_0_1)); }
inline Func_2_t389B5A9F53CC3CA21378C7BE4542E859EB6C1EB0 * get_U3CU3E9__22_0_1() const { return ___U3CU3E9__22_0_1; }
inline Func_2_t389B5A9F53CC3CA21378C7BE4542E859EB6C1EB0 ** get_address_of_U3CU3E9__22_0_1() { return &___U3CU3E9__22_0_1; }
inline void set_U3CU3E9__22_0_1(Func_2_t389B5A9F53CC3CA21378C7BE4542E859EB6C1EB0 * value)
{
___U3CU3E9__22_0_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9__22_0_1), (void*)value);
}
inline static int32_t get_offset_of_U3CU3E9__85_0_2() { return static_cast<int32_t>(offsetof(U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033_StaticFields, ___U3CU3E9__85_0_2)); }
inline Action_4_t7C0CDA9ECC22BC1D74B65D061DDC2951769010FA * get_U3CU3E9__85_0_2() const { return ___U3CU3E9__85_0_2; }
inline Action_4_t7C0CDA9ECC22BC1D74B65D061DDC2951769010FA ** get_address_of_U3CU3E9__85_0_2() { return &___U3CU3E9__85_0_2; }
inline void set_U3CU3E9__85_0_2(Action_4_t7C0CDA9ECC22BC1D74B65D061DDC2951769010FA * value)
{
___U3CU3E9__85_0_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9__85_0_2), (void*)value);
}
};
// System.Data.Common.ObjectStorage/TempAssemblyComparer
struct TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129 : public RuntimeObject
{
public:
public:
};
struct TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129_StaticFields
{
public:
// System.Collections.Generic.IEqualityComparer`1<System.Collections.Generic.KeyValuePair`2<System.Type,System.Xml.Serialization.XmlRootAttribute>> System.Data.Common.ObjectStorage/TempAssemblyComparer::s_default
RuntimeObject* ___s_default_0;
public:
inline static int32_t get_offset_of_s_default_0() { return static_cast<int32_t>(offsetof(TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129_StaticFields, ___s_default_0)); }
inline RuntimeObject* get_s_default_0() const { return ___s_default_0; }
inline RuntimeObject** get_address_of_s_default_0() { return &___s_default_0; }
inline void set_s_default_0(RuntimeObject* value)
{
___s_default_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_default_0), (void*)value);
}
};
// System.Data.XDRSchema/NameType
struct NameType_t39DE8B1C4C82F09683DE372688E11B4F2CE51C5B : public RuntimeObject
{
public:
// System.String System.Data.XDRSchema/NameType::name
String_t* ___name_0;
// System.Type System.Data.XDRSchema/NameType::type
Type_t * ___type_1;
public:
inline static int32_t get_offset_of_name_0() { return static_cast<int32_t>(offsetof(NameType_t39DE8B1C4C82F09683DE372688E11B4F2CE51C5B, ___name_0)); }
inline String_t* get_name_0() const { return ___name_0; }
inline String_t** get_address_of_name_0() { return &___name_0; }
inline void set_name_0(String_t* value)
{
___name_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___name_0), (void*)value);
}
inline static int32_t get_offset_of_type_1() { return static_cast<int32_t>(offsetof(NameType_t39DE8B1C4C82F09683DE372688E11B4F2CE51C5B, ___type_1)); }
inline Type_t * get_type_1() const { return ___type_1; }
inline Type_t ** get_address_of_type_1() { return &___type_1; }
inline void set_type_1(Type_t * value)
{
___type_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___type_1), (void*)value);
}
};
// System.Data.XSDSchema/NameType
struct NameType_tC83605CA0673A9059F660474AC42EDEB60EAF7AE : public RuntimeObject
{
public:
// System.String System.Data.XSDSchema/NameType::name
String_t* ___name_0;
// System.Type System.Data.XSDSchema/NameType::type
Type_t * ___type_1;
public:
inline static int32_t get_offset_of_name_0() { return static_cast<int32_t>(offsetof(NameType_tC83605CA0673A9059F660474AC42EDEB60EAF7AE, ___name_0)); }
inline String_t* get_name_0() const { return ___name_0; }
inline String_t** get_address_of_name_0() { return &___name_0; }
inline void set_name_0(String_t* value)
{
___name_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___name_0), (void*)value);
}
inline static int32_t get_offset_of_type_1() { return static_cast<int32_t>(offsetof(NameType_tC83605CA0673A9059F660474AC42EDEB60EAF7AE, ___type_1)); }
inline Type_t * get_type_1() const { return ___type_1; }
inline Type_t ** get_address_of_type_1() { return &___type_1; }
inline void set_type_1(Type_t * value)
{
___type_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___type_1), (void*)value);
}
};
// System.Data.XmlToDatasetMap/TableSchemaInfo
struct TableSchemaInfo_t30BCB6D26A3BB9834CB6F80FAE03083BC0D5F830 : public RuntimeObject
{
public:
// System.Data.DataTable System.Data.XmlToDatasetMap/TableSchemaInfo::TableSchema
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ___TableSchema_0;
// System.Data.XmlToDatasetMap/XmlNodeIdHashtable System.Data.XmlToDatasetMap/TableSchemaInfo::ColumnsSchemaMap
XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E * ___ColumnsSchemaMap_1;
public:
inline static int32_t get_offset_of_TableSchema_0() { return static_cast<int32_t>(offsetof(TableSchemaInfo_t30BCB6D26A3BB9834CB6F80FAE03083BC0D5F830, ___TableSchema_0)); }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * get_TableSchema_0() const { return ___TableSchema_0; }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 ** get_address_of_TableSchema_0() { return &___TableSchema_0; }
inline void set_TableSchema_0(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * value)
{
___TableSchema_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TableSchema_0), (void*)value);
}
inline static int32_t get_offset_of_ColumnsSchemaMap_1() { return static_cast<int32_t>(offsetof(TableSchemaInfo_t30BCB6D26A3BB9834CB6F80FAE03083BC0D5F830, ___ColumnsSchemaMap_1)); }
inline XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E * get_ColumnsSchemaMap_1() const { return ___ColumnsSchemaMap_1; }
inline XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E ** get_address_of_ColumnsSchemaMap_1() { return &___ColumnsSchemaMap_1; }
inline void set_ColumnsSchemaMap_1(XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E * value)
{
___ColumnsSchemaMap_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ColumnsSchemaMap_1), (void*)value);
}
};
// System.Data.XmlToDatasetMap/XmlNodeIdentety
struct XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 : public RuntimeObject
{
public:
// System.String System.Data.XmlToDatasetMap/XmlNodeIdentety::LocalName
String_t* ___LocalName_0;
// System.String System.Data.XmlToDatasetMap/XmlNodeIdentety::NamespaceURI
String_t* ___NamespaceURI_1;
public:
inline static int32_t get_offset_of_LocalName_0() { return static_cast<int32_t>(offsetof(XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454, ___LocalName_0)); }
inline String_t* get_LocalName_0() const { return ___LocalName_0; }
inline String_t** get_address_of_LocalName_0() { return &___LocalName_0; }
inline void set_LocalName_0(String_t* value)
{
___LocalName_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___LocalName_0), (void*)value);
}
inline static int32_t get_offset_of_NamespaceURI_1() { return static_cast<int32_t>(offsetof(XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454, ___NamespaceURI_1)); }
inline String_t* get_NamespaceURI_1() const { return ___NamespaceURI_1; }
inline String_t** get_address_of_NamespaceURI_1() { return &___NamespaceURI_1; }
inline void set_NamespaceURI_1(String_t* value)
{
___NamespaceURI_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___NamespaceURI_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>
struct KeyValuePair_2_tFB6A066C69E28C6ACA5FC5E24D969BFADC5FA625
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
RuntimeObject * ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
RuntimeObject * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tFB6A066C69E28C6ACA5FC5E24D969BFADC5FA625, ___key_0)); }
inline RuntimeObject * get_key_0() const { return ___key_0; }
inline RuntimeObject ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(RuntimeObject * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_tFB6A066C69E28C6ACA5FC5E24D969BFADC5FA625, ___value_1)); }
inline RuntimeObject * get_value_1() const { return ___value_1; }
inline RuntimeObject ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(RuntimeObject * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.Type,System.Xml.Serialization.XmlRootAttribute>
struct KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
Type_t * ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3, ___key_0)); }
inline Type_t * get_key_0() const { return ___key_0; }
inline Type_t ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(Type_t * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___key_0), (void*)value);
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3, ___value_1)); }
inline XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * get_value_1() const { return ___value_1; }
inline XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Boolean
struct Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37
{
public:
// System.Boolean System.Boolean::m_value
bool ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37, ___m_value_0)); }
inline bool get_m_value_0() const { return ___m_value_0; }
inline bool* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(bool value)
{
___m_value_0 = value;
}
};
struct Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields
{
public:
// System.String System.Boolean::TrueString
String_t* ___TrueString_5;
// System.String System.Boolean::FalseString
String_t* ___FalseString_6;
public:
inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields, ___TrueString_5)); }
inline String_t* get_TrueString_5() const { return ___TrueString_5; }
inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; }
inline void set_TrueString_5(String_t* value)
{
___TrueString_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TrueString_5), (void*)value);
}
inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields, ___FalseString_6)); }
inline String_t* get_FalseString_6() const { return ___FalseString_6; }
inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; }
inline void set_FalseString_6(String_t* value)
{
___FalseString_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FalseString_6), (void*)value);
}
};
// System.Data.ConstraintCollection
struct ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1 : public InternalDataCollectionBase_t56E2D60DAF057848CB6C862C9E9FEB3D1FE1B5C9
{
public:
// System.Data.DataTable System.Data.ConstraintCollection::_table
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ____table_1;
// System.Collections.ArrayList System.Data.ConstraintCollection::_list
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * ____list_2;
// System.Int32 System.Data.ConstraintCollection::_defaultNameIndex
int32_t ____defaultNameIndex_3;
// System.ComponentModel.CollectionChangeEventHandler System.Data.ConstraintCollection::_onCollectionChanged
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * ____onCollectionChanged_4;
// System.Data.Constraint[] System.Data.ConstraintCollection::_delayLoadingConstraints
ConstraintU5BU5D_tF3F338E19F54FBB6DF67F46E61DDC496DD2CF65F* ____delayLoadingConstraints_5;
// System.Boolean System.Data.ConstraintCollection::_fLoadForeignKeyConstraintsOnly
bool ____fLoadForeignKeyConstraintsOnly_6;
public:
inline static int32_t get_offset_of__table_1() { return static_cast<int32_t>(offsetof(ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1, ____table_1)); }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * get__table_1() const { return ____table_1; }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 ** get_address_of__table_1() { return &____table_1; }
inline void set__table_1(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * value)
{
____table_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____table_1), (void*)value);
}
inline static int32_t get_offset_of__list_2() { return static_cast<int32_t>(offsetof(ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1, ____list_2)); }
inline ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * get__list_2() const { return ____list_2; }
inline ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 ** get_address_of__list_2() { return &____list_2; }
inline void set__list_2(ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * value)
{
____list_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____list_2), (void*)value);
}
inline static int32_t get_offset_of__defaultNameIndex_3() { return static_cast<int32_t>(offsetof(ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1, ____defaultNameIndex_3)); }
inline int32_t get__defaultNameIndex_3() const { return ____defaultNameIndex_3; }
inline int32_t* get_address_of__defaultNameIndex_3() { return &____defaultNameIndex_3; }
inline void set__defaultNameIndex_3(int32_t value)
{
____defaultNameIndex_3 = value;
}
inline static int32_t get_offset_of__onCollectionChanged_4() { return static_cast<int32_t>(offsetof(ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1, ____onCollectionChanged_4)); }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * get__onCollectionChanged_4() const { return ____onCollectionChanged_4; }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 ** get_address_of__onCollectionChanged_4() { return &____onCollectionChanged_4; }
inline void set__onCollectionChanged_4(CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * value)
{
____onCollectionChanged_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onCollectionChanged_4), (void*)value);
}
inline static int32_t get_offset_of__delayLoadingConstraints_5() { return static_cast<int32_t>(offsetof(ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1, ____delayLoadingConstraints_5)); }
inline ConstraintU5BU5D_tF3F338E19F54FBB6DF67F46E61DDC496DD2CF65F* get__delayLoadingConstraints_5() const { return ____delayLoadingConstraints_5; }
inline ConstraintU5BU5D_tF3F338E19F54FBB6DF67F46E61DDC496DD2CF65F** get_address_of__delayLoadingConstraints_5() { return &____delayLoadingConstraints_5; }
inline void set__delayLoadingConstraints_5(ConstraintU5BU5D_tF3F338E19F54FBB6DF67F46E61DDC496DD2CF65F* value)
{
____delayLoadingConstraints_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____delayLoadingConstraints_5), (void*)value);
}
inline static int32_t get_offset_of__fLoadForeignKeyConstraintsOnly_6() { return static_cast<int32_t>(offsetof(ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1, ____fLoadForeignKeyConstraintsOnly_6)); }
inline bool get__fLoadForeignKeyConstraintsOnly_6() const { return ____fLoadForeignKeyConstraintsOnly_6; }
inline bool* get_address_of__fLoadForeignKeyConstraintsOnly_6() { return &____fLoadForeignKeyConstraintsOnly_6; }
inline void set__fLoadForeignKeyConstraintsOnly_6(bool value)
{
____fLoadForeignKeyConstraintsOnly_6 = value;
}
};
// System.Data.DataColumnCollection
struct DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820 : public InternalDataCollectionBase_t56E2D60DAF057848CB6C862C9E9FEB3D1FE1B5C9
{
public:
// System.Data.DataTable System.Data.DataColumnCollection::_table
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ____table_1;
// System.Collections.ArrayList System.Data.DataColumnCollection::_list
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * ____list_2;
// System.Int32 System.Data.DataColumnCollection::_defaultNameIndex
int32_t ____defaultNameIndex_3;
// System.Data.DataColumn[] System.Data.DataColumnCollection::_delayedAddRangeColumns
DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* ____delayedAddRangeColumns_4;
// System.Collections.Generic.Dictionary`2<System.String,System.Data.DataColumn> System.Data.DataColumnCollection::_columnFromName
Dictionary_2_t12A9AA41354E11B42EE09BEF63546DACC9744D79 * ____columnFromName_5;
// System.Boolean System.Data.DataColumnCollection::_fInClear
bool ____fInClear_6;
// System.Data.DataColumn[] System.Data.DataColumnCollection::_columnsImplementingIChangeTracking
DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* ____columnsImplementingIChangeTracking_7;
// System.Int32 System.Data.DataColumnCollection::_nColumnsImplementingIChangeTracking
int32_t ____nColumnsImplementingIChangeTracking_8;
// System.Int32 System.Data.DataColumnCollection::_nColumnsImplementingIRevertibleChangeTracking
int32_t ____nColumnsImplementingIRevertibleChangeTracking_9;
// System.ComponentModel.CollectionChangeEventHandler System.Data.DataColumnCollection::CollectionChanged
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * ___CollectionChanged_10;
// System.ComponentModel.CollectionChangeEventHandler System.Data.DataColumnCollection::CollectionChanging
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * ___CollectionChanging_11;
// System.ComponentModel.CollectionChangeEventHandler System.Data.DataColumnCollection::ColumnPropertyChanged
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * ___ColumnPropertyChanged_12;
public:
inline static int32_t get_offset_of__table_1() { return static_cast<int32_t>(offsetof(DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820, ____table_1)); }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * get__table_1() const { return ____table_1; }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 ** get_address_of__table_1() { return &____table_1; }
inline void set__table_1(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * value)
{
____table_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____table_1), (void*)value);
}
inline static int32_t get_offset_of__list_2() { return static_cast<int32_t>(offsetof(DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820, ____list_2)); }
inline ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * get__list_2() const { return ____list_2; }
inline ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 ** get_address_of__list_2() { return &____list_2; }
inline void set__list_2(ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * value)
{
____list_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____list_2), (void*)value);
}
inline static int32_t get_offset_of__defaultNameIndex_3() { return static_cast<int32_t>(offsetof(DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820, ____defaultNameIndex_3)); }
inline int32_t get__defaultNameIndex_3() const { return ____defaultNameIndex_3; }
inline int32_t* get_address_of__defaultNameIndex_3() { return &____defaultNameIndex_3; }
inline void set__defaultNameIndex_3(int32_t value)
{
____defaultNameIndex_3 = value;
}
inline static int32_t get_offset_of__delayedAddRangeColumns_4() { return static_cast<int32_t>(offsetof(DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820, ____delayedAddRangeColumns_4)); }
inline DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* get__delayedAddRangeColumns_4() const { return ____delayedAddRangeColumns_4; }
inline DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C** get_address_of__delayedAddRangeColumns_4() { return &____delayedAddRangeColumns_4; }
inline void set__delayedAddRangeColumns_4(DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* value)
{
____delayedAddRangeColumns_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____delayedAddRangeColumns_4), (void*)value);
}
inline static int32_t get_offset_of__columnFromName_5() { return static_cast<int32_t>(offsetof(DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820, ____columnFromName_5)); }
inline Dictionary_2_t12A9AA41354E11B42EE09BEF63546DACC9744D79 * get__columnFromName_5() const { return ____columnFromName_5; }
inline Dictionary_2_t12A9AA41354E11B42EE09BEF63546DACC9744D79 ** get_address_of__columnFromName_5() { return &____columnFromName_5; }
inline void set__columnFromName_5(Dictionary_2_t12A9AA41354E11B42EE09BEF63546DACC9744D79 * value)
{
____columnFromName_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____columnFromName_5), (void*)value);
}
inline static int32_t get_offset_of__fInClear_6() { return static_cast<int32_t>(offsetof(DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820, ____fInClear_6)); }
inline bool get__fInClear_6() const { return ____fInClear_6; }
inline bool* get_address_of__fInClear_6() { return &____fInClear_6; }
inline void set__fInClear_6(bool value)
{
____fInClear_6 = value;
}
inline static int32_t get_offset_of__columnsImplementingIChangeTracking_7() { return static_cast<int32_t>(offsetof(DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820, ____columnsImplementingIChangeTracking_7)); }
inline DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* get__columnsImplementingIChangeTracking_7() const { return ____columnsImplementingIChangeTracking_7; }
inline DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C** get_address_of__columnsImplementingIChangeTracking_7() { return &____columnsImplementingIChangeTracking_7; }
inline void set__columnsImplementingIChangeTracking_7(DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* value)
{
____columnsImplementingIChangeTracking_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&____columnsImplementingIChangeTracking_7), (void*)value);
}
inline static int32_t get_offset_of__nColumnsImplementingIChangeTracking_8() { return static_cast<int32_t>(offsetof(DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820, ____nColumnsImplementingIChangeTracking_8)); }
inline int32_t get__nColumnsImplementingIChangeTracking_8() const { return ____nColumnsImplementingIChangeTracking_8; }
inline int32_t* get_address_of__nColumnsImplementingIChangeTracking_8() { return &____nColumnsImplementingIChangeTracking_8; }
inline void set__nColumnsImplementingIChangeTracking_8(int32_t value)
{
____nColumnsImplementingIChangeTracking_8 = value;
}
inline static int32_t get_offset_of__nColumnsImplementingIRevertibleChangeTracking_9() { return static_cast<int32_t>(offsetof(DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820, ____nColumnsImplementingIRevertibleChangeTracking_9)); }
inline int32_t get__nColumnsImplementingIRevertibleChangeTracking_9() const { return ____nColumnsImplementingIRevertibleChangeTracking_9; }
inline int32_t* get_address_of__nColumnsImplementingIRevertibleChangeTracking_9() { return &____nColumnsImplementingIRevertibleChangeTracking_9; }
inline void set__nColumnsImplementingIRevertibleChangeTracking_9(int32_t value)
{
____nColumnsImplementingIRevertibleChangeTracking_9 = value;
}
inline static int32_t get_offset_of_CollectionChanged_10() { return static_cast<int32_t>(offsetof(DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820, ___CollectionChanged_10)); }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * get_CollectionChanged_10() const { return ___CollectionChanged_10; }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 ** get_address_of_CollectionChanged_10() { return &___CollectionChanged_10; }
inline void set_CollectionChanged_10(CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * value)
{
___CollectionChanged_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___CollectionChanged_10), (void*)value);
}
inline static int32_t get_offset_of_CollectionChanging_11() { return static_cast<int32_t>(offsetof(DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820, ___CollectionChanging_11)); }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * get_CollectionChanging_11() const { return ___CollectionChanging_11; }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 ** get_address_of_CollectionChanging_11() { return &___CollectionChanging_11; }
inline void set_CollectionChanging_11(CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * value)
{
___CollectionChanging_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___CollectionChanging_11), (void*)value);
}
inline static int32_t get_offset_of_ColumnPropertyChanged_12() { return static_cast<int32_t>(offsetof(DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820, ___ColumnPropertyChanged_12)); }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * get_ColumnPropertyChanged_12() const { return ___ColumnPropertyChanged_12; }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 ** get_address_of_ColumnPropertyChanged_12() { return &___ColumnPropertyChanged_12; }
inline void set_ColumnPropertyChanged_12(CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * value)
{
___ColumnPropertyChanged_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ColumnPropertyChanged_12), (void*)value);
}
};
// System.Data.DataKey
struct DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06
{
public:
// System.Data.DataColumn[] System.Data.DataKey::_columns
DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* ____columns_0;
public:
inline static int32_t get_offset_of__columns_0() { return static_cast<int32_t>(offsetof(DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06, ____columns_0)); }
inline DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* get__columns_0() const { return ____columns_0; }
inline DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C** get_address_of__columns_0() { return &____columns_0; }
inline void set__columns_0(DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* value)
{
____columns_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____columns_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Data.DataKey
struct DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06_marshaled_pinvoke
{
DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* ____columns_0;
};
// Native definition for COM marshalling of System.Data.DataKey
struct DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06_marshaled_com
{
DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* ____columns_0;
};
// System.Data.DataRelationCollection
struct DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 : public InternalDataCollectionBase_t56E2D60DAF057848CB6C862C9E9FEB3D1FE1B5C9
{
public:
// System.Data.DataRelation System.Data.DataRelationCollection::_inTransition
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * ____inTransition_1;
// System.Int32 System.Data.DataRelationCollection::_defaultNameIndex
int32_t ____defaultNameIndex_2;
// System.ComponentModel.CollectionChangeEventHandler System.Data.DataRelationCollection::_onCollectionChangedDelegate
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * ____onCollectionChangedDelegate_3;
// System.ComponentModel.CollectionChangeEventHandler System.Data.DataRelationCollection::_onCollectionChangingDelegate
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * ____onCollectionChangingDelegate_4;
// System.Int32 System.Data.DataRelationCollection::_objectID
int32_t ____objectID_6;
public:
inline static int32_t get_offset_of__inTransition_1() { return static_cast<int32_t>(offsetof(DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714, ____inTransition_1)); }
inline DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * get__inTransition_1() const { return ____inTransition_1; }
inline DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 ** get_address_of__inTransition_1() { return &____inTransition_1; }
inline void set__inTransition_1(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * value)
{
____inTransition_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____inTransition_1), (void*)value);
}
inline static int32_t get_offset_of__defaultNameIndex_2() { return static_cast<int32_t>(offsetof(DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714, ____defaultNameIndex_2)); }
inline int32_t get__defaultNameIndex_2() const { return ____defaultNameIndex_2; }
inline int32_t* get_address_of__defaultNameIndex_2() { return &____defaultNameIndex_2; }
inline void set__defaultNameIndex_2(int32_t value)
{
____defaultNameIndex_2 = value;
}
inline static int32_t get_offset_of__onCollectionChangedDelegate_3() { return static_cast<int32_t>(offsetof(DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714, ____onCollectionChangedDelegate_3)); }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * get__onCollectionChangedDelegate_3() const { return ____onCollectionChangedDelegate_3; }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 ** get_address_of__onCollectionChangedDelegate_3() { return &____onCollectionChangedDelegate_3; }
inline void set__onCollectionChangedDelegate_3(CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * value)
{
____onCollectionChangedDelegate_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onCollectionChangedDelegate_3), (void*)value);
}
inline static int32_t get_offset_of__onCollectionChangingDelegate_4() { return static_cast<int32_t>(offsetof(DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714, ____onCollectionChangingDelegate_4)); }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * get__onCollectionChangingDelegate_4() const { return ____onCollectionChangingDelegate_4; }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 ** get_address_of__onCollectionChangingDelegate_4() { return &____onCollectionChangingDelegate_4; }
inline void set__onCollectionChangingDelegate_4(CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * value)
{
____onCollectionChangingDelegate_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onCollectionChangingDelegate_4), (void*)value);
}
inline static int32_t get_offset_of__objectID_6() { return static_cast<int32_t>(offsetof(DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714, ____objectID_6)); }
inline int32_t get__objectID_6() const { return ____objectID_6; }
inline int32_t* get_address_of__objectID_6() { return &____objectID_6; }
inline void set__objectID_6(int32_t value)
{
____objectID_6 = value;
}
};
struct DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714_StaticFields
{
public:
// System.Int32 System.Data.DataRelationCollection::s_objectTypeCount
int32_t ___s_objectTypeCount_5;
public:
inline static int32_t get_offset_of_s_objectTypeCount_5() { return static_cast<int32_t>(offsetof(DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714_StaticFields, ___s_objectTypeCount_5)); }
inline int32_t get_s_objectTypeCount_5() const { return ___s_objectTypeCount_5; }
inline int32_t* get_address_of_s_objectTypeCount_5() { return &___s_objectTypeCount_5; }
inline void set_s_objectTypeCount_5(int32_t value)
{
___s_objectTypeCount_5 = value;
}
};
// System.Data.DataTableCollection
struct DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451 : public InternalDataCollectionBase_t56E2D60DAF057848CB6C862C9E9FEB3D1FE1B5C9
{
public:
// System.Data.DataSet System.Data.DataTableCollection::_dataSet
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * ____dataSet_1;
// System.Collections.ArrayList System.Data.DataTableCollection::_list
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * ____list_2;
// System.Int32 System.Data.DataTableCollection::_defaultNameIndex
int32_t ____defaultNameIndex_3;
// System.Data.DataTable[] System.Data.DataTableCollection::_delayedAddRangeTables
DataTableU5BU5D_t83A87BCE9C5AC8A297BFC1274CB5A693E2BAFD34* ____delayedAddRangeTables_4;
// System.ComponentModel.CollectionChangeEventHandler System.Data.DataTableCollection::_onCollectionChangedDelegate
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * ____onCollectionChangedDelegate_5;
// System.ComponentModel.CollectionChangeEventHandler System.Data.DataTableCollection::_onCollectionChangingDelegate
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * ____onCollectionChangingDelegate_6;
// System.Int32 System.Data.DataTableCollection::_objectID
int32_t ____objectID_8;
public:
inline static int32_t get_offset_of__dataSet_1() { return static_cast<int32_t>(offsetof(DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451, ____dataSet_1)); }
inline DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * get__dataSet_1() const { return ____dataSet_1; }
inline DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B ** get_address_of__dataSet_1() { return &____dataSet_1; }
inline void set__dataSet_1(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * value)
{
____dataSet_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dataSet_1), (void*)value);
}
inline static int32_t get_offset_of__list_2() { return static_cast<int32_t>(offsetof(DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451, ____list_2)); }
inline ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * get__list_2() const { return ____list_2; }
inline ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 ** get_address_of__list_2() { return &____list_2; }
inline void set__list_2(ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * value)
{
____list_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____list_2), (void*)value);
}
inline static int32_t get_offset_of__defaultNameIndex_3() { return static_cast<int32_t>(offsetof(DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451, ____defaultNameIndex_3)); }
inline int32_t get__defaultNameIndex_3() const { return ____defaultNameIndex_3; }
inline int32_t* get_address_of__defaultNameIndex_3() { return &____defaultNameIndex_3; }
inline void set__defaultNameIndex_3(int32_t value)
{
____defaultNameIndex_3 = value;
}
inline static int32_t get_offset_of__delayedAddRangeTables_4() { return static_cast<int32_t>(offsetof(DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451, ____delayedAddRangeTables_4)); }
inline DataTableU5BU5D_t83A87BCE9C5AC8A297BFC1274CB5A693E2BAFD34* get__delayedAddRangeTables_4() const { return ____delayedAddRangeTables_4; }
inline DataTableU5BU5D_t83A87BCE9C5AC8A297BFC1274CB5A693E2BAFD34** get_address_of__delayedAddRangeTables_4() { return &____delayedAddRangeTables_4; }
inline void set__delayedAddRangeTables_4(DataTableU5BU5D_t83A87BCE9C5AC8A297BFC1274CB5A693E2BAFD34* value)
{
____delayedAddRangeTables_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____delayedAddRangeTables_4), (void*)value);
}
inline static int32_t get_offset_of__onCollectionChangedDelegate_5() { return static_cast<int32_t>(offsetof(DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451, ____onCollectionChangedDelegate_5)); }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * get__onCollectionChangedDelegate_5() const { return ____onCollectionChangedDelegate_5; }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 ** get_address_of__onCollectionChangedDelegate_5() { return &____onCollectionChangedDelegate_5; }
inline void set__onCollectionChangedDelegate_5(CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * value)
{
____onCollectionChangedDelegate_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onCollectionChangedDelegate_5), (void*)value);
}
inline static int32_t get_offset_of__onCollectionChangingDelegate_6() { return static_cast<int32_t>(offsetof(DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451, ____onCollectionChangingDelegate_6)); }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * get__onCollectionChangingDelegate_6() const { return ____onCollectionChangingDelegate_6; }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 ** get_address_of__onCollectionChangingDelegate_6() { return &____onCollectionChangingDelegate_6; }
inline void set__onCollectionChangingDelegate_6(CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * value)
{
____onCollectionChangingDelegate_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onCollectionChangingDelegate_6), (void*)value);
}
inline static int32_t get_offset_of__objectID_8() { return static_cast<int32_t>(offsetof(DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451, ____objectID_8)); }
inline int32_t get__objectID_8() const { return ____objectID_8; }
inline int32_t* get_address_of__objectID_8() { return &____objectID_8; }
inline void set__objectID_8(int32_t value)
{
____objectID_8 = value;
}
};
struct DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451_StaticFields
{
public:
// System.Int32 System.Data.DataTableCollection::s_objectTypeCount
int32_t ___s_objectTypeCount_7;
public:
inline static int32_t get_offset_of_s_objectTypeCount_7() { return static_cast<int32_t>(offsetof(DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451_StaticFields, ___s_objectTypeCount_7)); }
inline int32_t get_s_objectTypeCount_7() const { return ___s_objectTypeCount_7; }
inline int32_t* get_address_of_s_objectTypeCount_7() { return &___s_objectTypeCount_7; }
inline void set_s_objectTypeCount_7(int32_t value)
{
___s_objectTypeCount_7 = value;
}
};
// System.Decimal
struct Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7
{
public:
// System.Int32 System.Decimal::flags
int32_t ___flags_14;
// System.Int32 System.Decimal::hi
int32_t ___hi_15;
// System.Int32 System.Decimal::lo
int32_t ___lo_16;
// System.Int32 System.Decimal::mid
int32_t ___mid_17;
public:
inline static int32_t get_offset_of_flags_14() { return static_cast<int32_t>(offsetof(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7, ___flags_14)); }
inline int32_t get_flags_14() const { return ___flags_14; }
inline int32_t* get_address_of_flags_14() { return &___flags_14; }
inline void set_flags_14(int32_t value)
{
___flags_14 = value;
}
inline static int32_t get_offset_of_hi_15() { return static_cast<int32_t>(offsetof(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7, ___hi_15)); }
inline int32_t get_hi_15() const { return ___hi_15; }
inline int32_t* get_address_of_hi_15() { return &___hi_15; }
inline void set_hi_15(int32_t value)
{
___hi_15 = value;
}
inline static int32_t get_offset_of_lo_16() { return static_cast<int32_t>(offsetof(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7, ___lo_16)); }
inline int32_t get_lo_16() const { return ___lo_16; }
inline int32_t* get_address_of_lo_16() { return &___lo_16; }
inline void set_lo_16(int32_t value)
{
___lo_16 = value;
}
inline static int32_t get_offset_of_mid_17() { return static_cast<int32_t>(offsetof(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7, ___mid_17)); }
inline int32_t get_mid_17() const { return ___mid_17; }
inline int32_t* get_address_of_mid_17() { return &___mid_17; }
inline void set_mid_17(int32_t value)
{
___mid_17 = value;
}
};
struct Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7_StaticFields
{
public:
// System.UInt32[] System.Decimal::Powers10
UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* ___Powers10_6;
// System.Decimal System.Decimal::Zero
Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 ___Zero_7;
// System.Decimal System.Decimal::One
Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 ___One_8;
// System.Decimal System.Decimal::MinusOne
Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 ___MinusOne_9;
// System.Decimal System.Decimal::MaxValue
Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 ___MaxValue_10;
// System.Decimal System.Decimal::MinValue
Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 ___MinValue_11;
// System.Decimal System.Decimal::NearNegativeZero
Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 ___NearNegativeZero_12;
// System.Decimal System.Decimal::NearPositiveZero
Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 ___NearPositiveZero_13;
public:
inline static int32_t get_offset_of_Powers10_6() { return static_cast<int32_t>(offsetof(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7_StaticFields, ___Powers10_6)); }
inline UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* get_Powers10_6() const { return ___Powers10_6; }
inline UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF** get_address_of_Powers10_6() { return &___Powers10_6; }
inline void set_Powers10_6(UInt32U5BU5D_tCF06F1E9E72E0302C762578FF5358CC523F2A2CF* value)
{
___Powers10_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Powers10_6), (void*)value);
}
inline static int32_t get_offset_of_Zero_7() { return static_cast<int32_t>(offsetof(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7_StaticFields, ___Zero_7)); }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 get_Zero_7() const { return ___Zero_7; }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 * get_address_of_Zero_7() { return &___Zero_7; }
inline void set_Zero_7(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 value)
{
___Zero_7 = value;
}
inline static int32_t get_offset_of_One_8() { return static_cast<int32_t>(offsetof(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7_StaticFields, ___One_8)); }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 get_One_8() const { return ___One_8; }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 * get_address_of_One_8() { return &___One_8; }
inline void set_One_8(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 value)
{
___One_8 = value;
}
inline static int32_t get_offset_of_MinusOne_9() { return static_cast<int32_t>(offsetof(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7_StaticFields, ___MinusOne_9)); }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 get_MinusOne_9() const { return ___MinusOne_9; }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 * get_address_of_MinusOne_9() { return &___MinusOne_9; }
inline void set_MinusOne_9(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 value)
{
___MinusOne_9 = value;
}
inline static int32_t get_offset_of_MaxValue_10() { return static_cast<int32_t>(offsetof(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7_StaticFields, ___MaxValue_10)); }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 get_MaxValue_10() const { return ___MaxValue_10; }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 * get_address_of_MaxValue_10() { return &___MaxValue_10; }
inline void set_MaxValue_10(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 value)
{
___MaxValue_10 = value;
}
inline static int32_t get_offset_of_MinValue_11() { return static_cast<int32_t>(offsetof(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7_StaticFields, ___MinValue_11)); }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 get_MinValue_11() const { return ___MinValue_11; }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 * get_address_of_MinValue_11() { return &___MinValue_11; }
inline void set_MinValue_11(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 value)
{
___MinValue_11 = value;
}
inline static int32_t get_offset_of_NearNegativeZero_12() { return static_cast<int32_t>(offsetof(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7_StaticFields, ___NearNegativeZero_12)); }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 get_NearNegativeZero_12() const { return ___NearNegativeZero_12; }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 * get_address_of_NearNegativeZero_12() { return &___NearNegativeZero_12; }
inline void set_NearNegativeZero_12(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 value)
{
___NearNegativeZero_12 = value;
}
inline static int32_t get_offset_of_NearPositiveZero_13() { return static_cast<int32_t>(offsetof(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7_StaticFields, ___NearPositiveZero_13)); }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 get_NearPositiveZero_13() const { return ___NearPositiveZero_13; }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 * get_address_of_NearPositiveZero_13() { return &___NearPositiveZero_13; }
inline void set_NearPositiveZero_13(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 value)
{
___NearPositiveZero_13 = value;
}
};
// System.Enum
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA : public ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52
{
public:
public:
};
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_StaticFields
{
public:
// System.Char[] System.Enum::enumSeperatorCharArray
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___enumSeperatorCharArray_0;
public:
inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t23B90B40F60E677A8025267341651C94AE079CDA_StaticFields, ___enumSeperatorCharArray_0)); }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
inline void set_enumSeperatorCharArray_0(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* value)
{
___enumSeperatorCharArray_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___enumSeperatorCharArray_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_marshaled_com
{
};
// System.Int32
struct Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046
{
public:
// System.Int32 System.Int32::m_value
int32_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046, ___m_value_0)); }
inline int32_t get_m_value_0() const { return ___m_value_0; }
inline int32_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int32_t value)
{
___m_value_0 = value;
}
};
// System.IntPtr
struct IntPtr_t
{
public:
// System.Void* System.IntPtr::m_value
void* ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
inline void* get_m_value_0() const { return ___m_value_0; }
inline void** get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(void* value)
{
___m_value_0 = value;
}
};
struct IntPtr_t_StaticFields
{
public:
// System.IntPtr System.IntPtr::Zero
intptr_t ___Zero_1;
public:
inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
inline intptr_t get_Zero_1() const { return ___Zero_1; }
inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
inline void set_Zero_1(intptr_t value)
{
___Zero_1 = value;
}
};
// System.Void
struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5
{
public:
union
{
struct
{
};
uint8_t Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5__padding[1];
};
public:
};
// System.Xml.Serialization.XmlRootAttribute
struct XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 : public Attribute_t037CA9D9F3B742C063DB364D2EEBBF9FC5772C71
{
public:
// System.String System.Xml.Serialization.XmlRootAttribute::dataType
String_t* ___dataType_0;
// System.String System.Xml.Serialization.XmlRootAttribute::elementName
String_t* ___elementName_1;
// System.Boolean System.Xml.Serialization.XmlRootAttribute::isNullable
bool ___isNullable_2;
// System.String System.Xml.Serialization.XmlRootAttribute::ns
String_t* ___ns_3;
public:
inline static int32_t get_offset_of_dataType_0() { return static_cast<int32_t>(offsetof(XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96, ___dataType_0)); }
inline String_t* get_dataType_0() const { return ___dataType_0; }
inline String_t** get_address_of_dataType_0() { return &___dataType_0; }
inline void set_dataType_0(String_t* value)
{
___dataType_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dataType_0), (void*)value);
}
inline static int32_t get_offset_of_elementName_1() { return static_cast<int32_t>(offsetof(XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96, ___elementName_1)); }
inline String_t* get_elementName_1() const { return ___elementName_1; }
inline String_t** get_address_of_elementName_1() { return &___elementName_1; }
inline void set_elementName_1(String_t* value)
{
___elementName_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___elementName_1), (void*)value);
}
inline static int32_t get_offset_of_isNullable_2() { return static_cast<int32_t>(offsetof(XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96, ___isNullable_2)); }
inline bool get_isNullable_2() const { return ___isNullable_2; }
inline bool* get_address_of_isNullable_2() { return &___isNullable_2; }
inline void set_isNullable_2(bool value)
{
___isNullable_2 = value;
}
inline static int32_t get_offset_of_ns_3() { return static_cast<int32_t>(offsetof(XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96, ___ns_3)); }
inline String_t* get_ns_3() const { return ___ns_3; }
inline String_t** get_address_of_ns_3() { return &___ns_3; }
inline void set_ns_3(String_t* value)
{
___ns_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ns_3), (void*)value);
}
};
// System.Data.ZeroOpNode
struct ZeroOpNode_tCDCB5B8A3877208A042493BBFA55DF9D678D0972 : public ExpressionNode_t1D76051DE31ECF4B03B005FFD892EDB7CCB6D20E
{
public:
// System.Int32 System.Data.ZeroOpNode::_op
int32_t ____op_1;
public:
inline static int32_t get_offset_of__op_1() { return static_cast<int32_t>(offsetof(ZeroOpNode_tCDCB5B8A3877208A042493BBFA55DF9D678D0972, ____op_1)); }
inline int32_t get__op_1() const { return ____op_1; }
inline int32_t* get_address_of__op_1() { return &____op_1; }
inline void set__op_1(int32_t value)
{
____op_1 = value;
}
};
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=152
struct __StaticArrayInitTypeSizeU3D152_t4C3270B8B51AD246B48175392EC9236239F6A46A
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D152_t4C3270B8B51AD246B48175392EC9236239F6A46A__padding[152];
};
public:
};
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=176
struct __StaticArrayInitTypeSizeU3D176_t3B06F812A123DD37CDFB2419EA1D48F9BAFEED22
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D176_t3B06F812A123DD37CDFB2419EA1D48F9BAFEED22__padding[176];
};
public:
};
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=36
struct __StaticArrayInitTypeSizeU3D36_tE7DF3532AFFC6D23945F2DDD653CFE89C0EF8C8C
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D36_tE7DF3532AFFC6D23945F2DDD653CFE89C0EF8C8C__padding[36];
};
public:
};
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=38
struct __StaticArrayInitTypeSizeU3D38_t0B0C3763E3BA4DDD15C47D623602B6839C1819D4
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D38_t0B0C3763E3BA4DDD15C47D623602B6839C1819D4__padding[38];
};
public:
};
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=52
struct __StaticArrayInitTypeSizeU3D52_t0DD16B372598EB6480F52AE3688C28864CE0EE46
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D52_t0DD16B372598EB6480F52AE3688C28864CE0EE46__padding[52];
};
public:
};
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=64
struct __StaticArrayInitTypeSizeU3D64_t67F76B1425A45B2A581DDEFB08E377F361E393C5
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D64_t67F76B1425A45B2A581DDEFB08E377F361E393C5__padding[64];
};
public:
};
// System.Data.DataError/ColumnError
struct ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568
{
public:
// System.Data.DataColumn System.Data.DataError/ColumnError::_column
DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * ____column_0;
// System.String System.Data.DataError/ColumnError::_error
String_t* ____error_1;
public:
inline static int32_t get_offset_of__column_0() { return static_cast<int32_t>(offsetof(ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568, ____column_0)); }
inline DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * get__column_0() const { return ____column_0; }
inline DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 ** get_address_of__column_0() { return &____column_0; }
inline void set__column_0(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * value)
{
____column_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____column_0), (void*)value);
}
inline static int32_t get_offset_of__error_1() { return static_cast<int32_t>(offsetof(ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568, ____error_1)); }
inline String_t* get__error_1() const { return ____error_1; }
inline String_t** get_address_of__error_1() { return &____error_1; }
inline void set__error_1(String_t* value)
{
____error_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____error_1), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Data.DataError/ColumnError
struct ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568_marshaled_pinvoke
{
DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * ____column_0;
char* ____error_1;
};
// Native definition for COM marshalling of System.Data.DataError/ColumnError
struct ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568_marshaled_com
{
DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * ____column_0;
Il2CppChar* ____error_1;
};
// System.Data.DataTable/DSRowDiffIdUsageSection
struct DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A
{
public:
// System.Data.DataSet System.Data.DataTable/DSRowDiffIdUsageSection::_targetDS
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * ____targetDS_0;
public:
inline static int32_t get_offset_of__targetDS_0() { return static_cast<int32_t>(offsetof(DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A, ____targetDS_0)); }
inline DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * get__targetDS_0() const { return ____targetDS_0; }
inline DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B ** get_address_of__targetDS_0() { return &____targetDS_0; }
inline void set__targetDS_0(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * value)
{
____targetDS_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____targetDS_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Data.DataTable/DSRowDiffIdUsageSection
struct DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A_marshaled_pinvoke
{
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * ____targetDS_0;
};
// Native definition for COM marshalling of System.Data.DataTable/DSRowDiffIdUsageSection
struct DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A_marshaled_com
{
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * ____targetDS_0;
};
// System.Data.DataTable/RowDiffIdUsageSection
struct RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF
{
public:
// System.Data.DataTable System.Data.DataTable/RowDiffIdUsageSection::_targetTable
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ____targetTable_0;
public:
inline static int32_t get_offset_of__targetTable_0() { return static_cast<int32_t>(offsetof(RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF, ____targetTable_0)); }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * get__targetTable_0() const { return ____targetTable_0; }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 ** get_address_of__targetTable_0() { return &____targetTable_0; }
inline void set__targetTable_0(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * value)
{
____targetTable_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____targetTable_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Data.DataTable/RowDiffIdUsageSection
struct RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF_marshaled_pinvoke
{
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ____targetTable_0;
};
// Native definition for COM marshalling of System.Data.DataTable/RowDiffIdUsageSection
struct RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF_marshaled_com
{
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ____targetTable_0;
};
// System.Data.AcceptRejectRule
struct AcceptRejectRule_t85283FE9DC0629502AA5F0B22A342D013DE94FBF
{
public:
// System.Int32 System.Data.AcceptRejectRule::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(AcceptRejectRule_t85283FE9DC0629502AA5F0B22A342D013DE94FBF, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Reflection.BindingFlags
struct BindingFlags_tAAAB07D9AC588F0D55D844E51D7035E96DF94733
{
public:
// System.Int32 System.Reflection.BindingFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(BindingFlags_tAAAB07D9AC588F0D55D844E51D7035E96DF94733, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Globalization.CompareOptions
struct CompareOptions_tD3D7F165240DC4D784A11B1E2F21DC0D6D18E725
{
public:
// System.Int32 System.Globalization.CompareOptions::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CompareOptions_tD3D7F165240DC4D784A11B1E2F21DC0D6D18E725, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Data.DataRelation
struct DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 : public RuntimeObject
{
public:
// System.Data.DataSet System.Data.DataRelation::_dataSet
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * ____dataSet_0;
// System.Data.PropertyCollection System.Data.DataRelation::_extendedProperties
PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * ____extendedProperties_1;
// System.String System.Data.DataRelation::_relationName
String_t* ____relationName_2;
// System.Data.DataKey System.Data.DataRelation::_childKey
DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 ____childKey_3;
// System.Data.DataKey System.Data.DataRelation::_parentKey
DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 ____parentKey_4;
// System.Data.UniqueConstraint System.Data.DataRelation::_parentKeyConstraint
UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 * ____parentKeyConstraint_5;
// System.Data.ForeignKeyConstraint System.Data.DataRelation::_childKeyConstraint
ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * ____childKeyConstraint_6;
// System.Boolean System.Data.DataRelation::_nested
bool ____nested_7;
// System.Boolean System.Data.DataRelation::_createConstraints
bool ____createConstraints_8;
// System.Boolean System.Data.DataRelation::_checkMultipleNested
bool ____checkMultipleNested_9;
// System.Int32 System.Data.DataRelation::_objectID
int32_t ____objectID_11;
// System.ComponentModel.PropertyChangedEventHandler System.Data.DataRelation::PropertyChanging
PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 * ___PropertyChanging_12;
public:
inline static int32_t get_offset_of__dataSet_0() { return static_cast<int32_t>(offsetof(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9, ____dataSet_0)); }
inline DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * get__dataSet_0() const { return ____dataSet_0; }
inline DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B ** get_address_of__dataSet_0() { return &____dataSet_0; }
inline void set__dataSet_0(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * value)
{
____dataSet_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dataSet_0), (void*)value);
}
inline static int32_t get_offset_of__extendedProperties_1() { return static_cast<int32_t>(offsetof(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9, ____extendedProperties_1)); }
inline PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * get__extendedProperties_1() const { return ____extendedProperties_1; }
inline PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 ** get_address_of__extendedProperties_1() { return &____extendedProperties_1; }
inline void set__extendedProperties_1(PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * value)
{
____extendedProperties_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____extendedProperties_1), (void*)value);
}
inline static int32_t get_offset_of__relationName_2() { return static_cast<int32_t>(offsetof(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9, ____relationName_2)); }
inline String_t* get__relationName_2() const { return ____relationName_2; }
inline String_t** get_address_of__relationName_2() { return &____relationName_2; }
inline void set__relationName_2(String_t* value)
{
____relationName_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____relationName_2), (void*)value);
}
inline static int32_t get_offset_of__childKey_3() { return static_cast<int32_t>(offsetof(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9, ____childKey_3)); }
inline DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 get__childKey_3() const { return ____childKey_3; }
inline DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 * get_address_of__childKey_3() { return &____childKey_3; }
inline void set__childKey_3(DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 value)
{
____childKey_3 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&____childKey_3))->____columns_0), (void*)NULL);
}
inline static int32_t get_offset_of__parentKey_4() { return static_cast<int32_t>(offsetof(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9, ____parentKey_4)); }
inline DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 get__parentKey_4() const { return ____parentKey_4; }
inline DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 * get_address_of__parentKey_4() { return &____parentKey_4; }
inline void set__parentKey_4(DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 value)
{
____parentKey_4 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&____parentKey_4))->____columns_0), (void*)NULL);
}
inline static int32_t get_offset_of__parentKeyConstraint_5() { return static_cast<int32_t>(offsetof(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9, ____parentKeyConstraint_5)); }
inline UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 * get__parentKeyConstraint_5() const { return ____parentKeyConstraint_5; }
inline UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 ** get_address_of__parentKeyConstraint_5() { return &____parentKeyConstraint_5; }
inline void set__parentKeyConstraint_5(UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 * value)
{
____parentKeyConstraint_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____parentKeyConstraint_5), (void*)value);
}
inline static int32_t get_offset_of__childKeyConstraint_6() { return static_cast<int32_t>(offsetof(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9, ____childKeyConstraint_6)); }
inline ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * get__childKeyConstraint_6() const { return ____childKeyConstraint_6; }
inline ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD ** get_address_of__childKeyConstraint_6() { return &____childKeyConstraint_6; }
inline void set__childKeyConstraint_6(ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * value)
{
____childKeyConstraint_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____childKeyConstraint_6), (void*)value);
}
inline static int32_t get_offset_of__nested_7() { return static_cast<int32_t>(offsetof(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9, ____nested_7)); }
inline bool get__nested_7() const { return ____nested_7; }
inline bool* get_address_of__nested_7() { return &____nested_7; }
inline void set__nested_7(bool value)
{
____nested_7 = value;
}
inline static int32_t get_offset_of__createConstraints_8() { return static_cast<int32_t>(offsetof(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9, ____createConstraints_8)); }
inline bool get__createConstraints_8() const { return ____createConstraints_8; }
inline bool* get_address_of__createConstraints_8() { return &____createConstraints_8; }
inline void set__createConstraints_8(bool value)
{
____createConstraints_8 = value;
}
inline static int32_t get_offset_of__checkMultipleNested_9() { return static_cast<int32_t>(offsetof(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9, ____checkMultipleNested_9)); }
inline bool get__checkMultipleNested_9() const { return ____checkMultipleNested_9; }
inline bool* get_address_of__checkMultipleNested_9() { return &____checkMultipleNested_9; }
inline void set__checkMultipleNested_9(bool value)
{
____checkMultipleNested_9 = value;
}
inline static int32_t get_offset_of__objectID_11() { return static_cast<int32_t>(offsetof(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9, ____objectID_11)); }
inline int32_t get__objectID_11() const { return ____objectID_11; }
inline int32_t* get_address_of__objectID_11() { return &____objectID_11; }
inline void set__objectID_11(int32_t value)
{
____objectID_11 = value;
}
inline static int32_t get_offset_of_PropertyChanging_12() { return static_cast<int32_t>(offsetof(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9, ___PropertyChanging_12)); }
inline PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 * get_PropertyChanging_12() const { return ___PropertyChanging_12; }
inline PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 ** get_address_of_PropertyChanging_12() { return &___PropertyChanging_12; }
inline void set_PropertyChanging_12(PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 * value)
{
___PropertyChanging_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___PropertyChanging_12), (void*)value);
}
};
struct DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_StaticFields
{
public:
// System.Int32 System.Data.DataRelation::s_objectTypeCount
int32_t ___s_objectTypeCount_10;
public:
inline static int32_t get_offset_of_s_objectTypeCount_10() { return static_cast<int32_t>(offsetof(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_StaticFields, ___s_objectTypeCount_10)); }
inline int32_t get_s_objectTypeCount_10() const { return ___s_objectTypeCount_10; }
inline int32_t* get_address_of_s_objectTypeCount_10() { return &___s_objectTypeCount_10; }
inline void set_s_objectTypeCount_10(int32_t value)
{
___s_objectTypeCount_10 = value;
}
};
// System.Data.DataRowAction
struct DataRowAction_t57597E0A01CA9E666DFC8BFEE012007ADD0960CD
{
public:
// System.Int32 System.Data.DataRowAction::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DataRowAction_t57597E0A01CA9E666DFC8BFEE012007ADD0960CD, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Data.DataRowVersion
struct DataRowVersion_t0EB25EBED75155033D1841DCFA75D45E665B4F9E
{
public:
// System.Int32 System.Data.DataRowVersion::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DataRowVersion_t0EB25EBED75155033D1841DCFA75D45E665B4F9E, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Data.DataSetDateTime
struct DataSetDateTime_t787581C2820BA6C704C9E63C58D8CDE8B3C3719C
{
public:
// System.Int32 System.Data.DataSetDateTime::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DataSetDateTime_t787581C2820BA6C704C9E63C58D8CDE8B3C3719C, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Data.DataViewRowState
struct DataViewRowState_tC9DE64EF31373901D787D817AE055A72A73CF3CA
{
public:
// System.Int32 System.Data.DataViewRowState::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DataViewRowState_tC9DE64EF31373901D787D817AE055A72A73CF3CA, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Delegate
struct Delegate_t : public RuntimeObject
{
public:
// System.IntPtr System.Delegate::method_ptr
Il2CppMethodPointer ___method_ptr_0;
// System.IntPtr System.Delegate::invoke_impl
intptr_t ___invoke_impl_1;
// System.Object System.Delegate::m_target
RuntimeObject * ___m_target_2;
// System.IntPtr System.Delegate::method
intptr_t ___method_3;
// System.IntPtr System.Delegate::delegate_trampoline
intptr_t ___delegate_trampoline_4;
// System.IntPtr System.Delegate::extra_arg
intptr_t ___extra_arg_5;
// System.IntPtr System.Delegate::method_code
intptr_t ___method_code_6;
// System.Reflection.MethodInfo System.Delegate::method_info
MethodInfo_t * ___method_info_7;
// System.Reflection.MethodInfo System.Delegate::original_method_info
MethodInfo_t * ___original_method_info_8;
// System.DelegateData System.Delegate::data
DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288 * ___data_9;
// System.Boolean System.Delegate::method_is_virtual
bool ___method_is_virtual_10;
public:
inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_ptr_0)); }
inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; }
inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; }
inline void set_method_ptr_0(Il2CppMethodPointer value)
{
___method_ptr_0 = value;
}
inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t, ___invoke_impl_1)); }
inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; }
inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; }
inline void set_invoke_impl_1(intptr_t value)
{
___invoke_impl_1 = value;
}
inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t, ___m_target_2)); }
inline RuntimeObject * get_m_target_2() const { return ___m_target_2; }
inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; }
inline void set_m_target_2(RuntimeObject * value)
{
___m_target_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_target_2), (void*)value);
}
inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_3)); }
inline intptr_t get_method_3() const { return ___method_3; }
inline intptr_t* get_address_of_method_3() { return &___method_3; }
inline void set_method_3(intptr_t value)
{
___method_3 = value;
}
inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t, ___delegate_trampoline_4)); }
inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; }
inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; }
inline void set_delegate_trampoline_4(intptr_t value)
{
___delegate_trampoline_4 = value;
}
inline static int32_t get_offset_of_extra_arg_5() { return static_cast<int32_t>(offsetof(Delegate_t, ___extra_arg_5)); }
inline intptr_t get_extra_arg_5() const { return ___extra_arg_5; }
inline intptr_t* get_address_of_extra_arg_5() { return &___extra_arg_5; }
inline void set_extra_arg_5(intptr_t value)
{
___extra_arg_5 = value;
}
inline static int32_t get_offset_of_method_code_6() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_code_6)); }
inline intptr_t get_method_code_6() const { return ___method_code_6; }
inline intptr_t* get_address_of_method_code_6() { return &___method_code_6; }
inline void set_method_code_6(intptr_t value)
{
___method_code_6 = value;
}
inline static int32_t get_offset_of_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_info_7)); }
inline MethodInfo_t * get_method_info_7() const { return ___method_info_7; }
inline MethodInfo_t ** get_address_of_method_info_7() { return &___method_info_7; }
inline void set_method_info_7(MethodInfo_t * value)
{
___method_info_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___method_info_7), (void*)value);
}
inline static int32_t get_offset_of_original_method_info_8() { return static_cast<int32_t>(offsetof(Delegate_t, ___original_method_info_8)); }
inline MethodInfo_t * get_original_method_info_8() const { return ___original_method_info_8; }
inline MethodInfo_t ** get_address_of_original_method_info_8() { return &___original_method_info_8; }
inline void set_original_method_info_8(MethodInfo_t * value)
{
___original_method_info_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___original_method_info_8), (void*)value);
}
inline static int32_t get_offset_of_data_9() { return static_cast<int32_t>(offsetof(Delegate_t, ___data_9)); }
inline DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288 * get_data_9() const { return ___data_9; }
inline DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288 ** get_address_of_data_9() { return &___data_9; }
inline void set_data_9(DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288 * value)
{
___data_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___data_9), (void*)value);
}
inline static int32_t get_offset_of_method_is_virtual_10() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_is_virtual_10)); }
inline bool get_method_is_virtual_10() const { return ___method_is_virtual_10; }
inline bool* get_address_of_method_is_virtual_10() { return &___method_is_virtual_10; }
inline void set_method_is_virtual_10(bool value)
{
___method_is_virtual_10 = value;
}
};
// Native definition for P/Invoke marshalling of System.Delegate
struct Delegate_t_marshaled_pinvoke
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288 * ___data_9;
int32_t ___method_is_virtual_10;
};
// Native definition for COM marshalling of System.Delegate
struct Delegate_t_marshaled_com
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288 * ___data_9;
int32_t ___method_is_virtual_10;
};
// System.Exception
struct Exception_t : public RuntimeObject
{
public:
// System.String System.Exception::_className
String_t* ____className_1;
// System.String System.Exception::_message
String_t* ____message_2;
// System.Collections.IDictionary System.Exception::_data
RuntimeObject* ____data_3;
// System.Exception System.Exception::_innerException
Exception_t * ____innerException_4;
// System.String System.Exception::_helpURL
String_t* ____helpURL_5;
// System.Object System.Exception::_stackTrace
RuntimeObject * ____stackTrace_6;
// System.String System.Exception::_stackTraceString
String_t* ____stackTraceString_7;
// System.String System.Exception::_remoteStackTraceString
String_t* ____remoteStackTraceString_8;
// System.Int32 System.Exception::_remoteStackIndex
int32_t ____remoteStackIndex_9;
// System.Object System.Exception::_dynamicMethods
RuntimeObject * ____dynamicMethods_10;
// System.Int32 System.Exception::_HResult
int32_t ____HResult_11;
// System.String System.Exception::_source
String_t* ____source_12;
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* ___native_trace_ips_15;
public:
inline static int32_t get_offset_of__className_1() { return static_cast<int32_t>(offsetof(Exception_t, ____className_1)); }
inline String_t* get__className_1() const { return ____className_1; }
inline String_t** get_address_of__className_1() { return &____className_1; }
inline void set__className_1(String_t* value)
{
____className_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____className_1), (void*)value);
}
inline static int32_t get_offset_of__message_2() { return static_cast<int32_t>(offsetof(Exception_t, ____message_2)); }
inline String_t* get__message_2() const { return ____message_2; }
inline String_t** get_address_of__message_2() { return &____message_2; }
inline void set__message_2(String_t* value)
{
____message_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____message_2), (void*)value);
}
inline static int32_t get_offset_of__data_3() { return static_cast<int32_t>(offsetof(Exception_t, ____data_3)); }
inline RuntimeObject* get__data_3() const { return ____data_3; }
inline RuntimeObject** get_address_of__data_3() { return &____data_3; }
inline void set__data_3(RuntimeObject* value)
{
____data_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____data_3), (void*)value);
}
inline static int32_t get_offset_of__innerException_4() { return static_cast<int32_t>(offsetof(Exception_t, ____innerException_4)); }
inline Exception_t * get__innerException_4() const { return ____innerException_4; }
inline Exception_t ** get_address_of__innerException_4() { return &____innerException_4; }
inline void set__innerException_4(Exception_t * value)
{
____innerException_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____innerException_4), (void*)value);
}
inline static int32_t get_offset_of__helpURL_5() { return static_cast<int32_t>(offsetof(Exception_t, ____helpURL_5)); }
inline String_t* get__helpURL_5() const { return ____helpURL_5; }
inline String_t** get_address_of__helpURL_5() { return &____helpURL_5; }
inline void set__helpURL_5(String_t* value)
{
____helpURL_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____helpURL_5), (void*)value);
}
inline static int32_t get_offset_of__stackTrace_6() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTrace_6)); }
inline RuntimeObject * get__stackTrace_6() const { return ____stackTrace_6; }
inline RuntimeObject ** get_address_of__stackTrace_6() { return &____stackTrace_6; }
inline void set__stackTrace_6(RuntimeObject * value)
{
____stackTrace_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____stackTrace_6), (void*)value);
}
inline static int32_t get_offset_of__stackTraceString_7() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTraceString_7)); }
inline String_t* get__stackTraceString_7() const { return ____stackTraceString_7; }
inline String_t** get_address_of__stackTraceString_7() { return &____stackTraceString_7; }
inline void set__stackTraceString_7(String_t* value)
{
____stackTraceString_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&____stackTraceString_7), (void*)value);
}
inline static int32_t get_offset_of__remoteStackTraceString_8() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackTraceString_8)); }
inline String_t* get__remoteStackTraceString_8() const { return ____remoteStackTraceString_8; }
inline String_t** get_address_of__remoteStackTraceString_8() { return &____remoteStackTraceString_8; }
inline void set__remoteStackTraceString_8(String_t* value)
{
____remoteStackTraceString_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&____remoteStackTraceString_8), (void*)value);
}
inline static int32_t get_offset_of__remoteStackIndex_9() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackIndex_9)); }
inline int32_t get__remoteStackIndex_9() const { return ____remoteStackIndex_9; }
inline int32_t* get_address_of__remoteStackIndex_9() { return &____remoteStackIndex_9; }
inline void set__remoteStackIndex_9(int32_t value)
{
____remoteStackIndex_9 = value;
}
inline static int32_t get_offset_of__dynamicMethods_10() { return static_cast<int32_t>(offsetof(Exception_t, ____dynamicMethods_10)); }
inline RuntimeObject * get__dynamicMethods_10() const { return ____dynamicMethods_10; }
inline RuntimeObject ** get_address_of__dynamicMethods_10() { return &____dynamicMethods_10; }
inline void set__dynamicMethods_10(RuntimeObject * value)
{
____dynamicMethods_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dynamicMethods_10), (void*)value);
}
inline static int32_t get_offset_of__HResult_11() { return static_cast<int32_t>(offsetof(Exception_t, ____HResult_11)); }
inline int32_t get__HResult_11() const { return ____HResult_11; }
inline int32_t* get_address_of__HResult_11() { return &____HResult_11; }
inline void set__HResult_11(int32_t value)
{
____HResult_11 = value;
}
inline static int32_t get_offset_of__source_12() { return static_cast<int32_t>(offsetof(Exception_t, ____source_12)); }
inline String_t* get__source_12() const { return ____source_12; }
inline String_t** get_address_of__source_12() { return &____source_12; }
inline void set__source_12(String_t* value)
{
____source_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&____source_12), (void*)value);
}
inline static int32_t get_offset_of__safeSerializationManager_13() { return static_cast<int32_t>(offsetof(Exception_t, ____safeSerializationManager_13)); }
inline SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; }
inline SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; }
inline void set__safeSerializationManager_13(SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * value)
{
____safeSerializationManager_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&____safeSerializationManager_13), (void*)value);
}
inline static int32_t get_offset_of_captured_traces_14() { return static_cast<int32_t>(offsetof(Exception_t, ___captured_traces_14)); }
inline StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* get_captured_traces_14() const { return ___captured_traces_14; }
inline StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971** get_address_of_captured_traces_14() { return &___captured_traces_14; }
inline void set_captured_traces_14(StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* value)
{
___captured_traces_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___captured_traces_14), (void*)value);
}
inline static int32_t get_offset_of_native_trace_ips_15() { return static_cast<int32_t>(offsetof(Exception_t, ___native_trace_ips_15)); }
inline IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* get_native_trace_ips_15() const { return ___native_trace_ips_15; }
inline IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; }
inline void set_native_trace_ips_15(IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* value)
{
___native_trace_ips_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___native_trace_ips_15), (void*)value);
}
};
struct Exception_t_StaticFields
{
public:
// System.Object System.Exception::s_EDILock
RuntimeObject * ___s_EDILock_0;
public:
inline static int32_t get_offset_of_s_EDILock_0() { return static_cast<int32_t>(offsetof(Exception_t_StaticFields, ___s_EDILock_0)); }
inline RuntimeObject * get_s_EDILock_0() const { return ___s_EDILock_0; }
inline RuntimeObject ** get_address_of_s_EDILock_0() { return &___s_EDILock_0; }
inline void set_s_EDILock_0(RuntimeObject * value)
{
___s_EDILock_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_EDILock_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Exception
struct Exception_t_marshaled_pinvoke
{
char* ____className_1;
char* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_pinvoke* ____innerException_4;
char* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
char* ____stackTraceString_7;
char* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
char* ____source_12;
SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// Native definition for COM marshalling of System.Exception
struct Exception_t_marshaled_com
{
Il2CppChar* ____className_1;
Il2CppChar* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_com* ____innerException_4;
Il2CppChar* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
Il2CppChar* ____stackTraceString_7;
Il2CppChar* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
Il2CppChar* ____source_12;
SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// System.Collections.Hashtable
struct Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC : public RuntimeObject
{
public:
// System.Collections.Hashtable/bucket[] System.Collections.Hashtable::buckets
bucketU5BU5D_tFE956DAEFB1D1C86A13EF247D7367BF60B55E190* ___buckets_10;
// System.Int32 System.Collections.Hashtable::count
int32_t ___count_11;
// System.Int32 System.Collections.Hashtable::occupancy
int32_t ___occupancy_12;
// System.Int32 System.Collections.Hashtable::loadsize
int32_t ___loadsize_13;
// System.Single System.Collections.Hashtable::loadFactor
float ___loadFactor_14;
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Hashtable::version
int32_t ___version_15;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Hashtable::isWriterInProgress
bool ___isWriterInProgress_16;
// System.Collections.ICollection System.Collections.Hashtable::keys
RuntimeObject* ___keys_17;
// System.Collections.ICollection System.Collections.Hashtable::values
RuntimeObject* ___values_18;
// System.Collections.IEqualityComparer System.Collections.Hashtable::_keycomparer
RuntimeObject* ____keycomparer_19;
// System.Object System.Collections.Hashtable::_syncRoot
RuntimeObject * ____syncRoot_20;
public:
inline static int32_t get_offset_of_buckets_10() { return static_cast<int32_t>(offsetof(Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC, ___buckets_10)); }
inline bucketU5BU5D_tFE956DAEFB1D1C86A13EF247D7367BF60B55E190* get_buckets_10() const { return ___buckets_10; }
inline bucketU5BU5D_tFE956DAEFB1D1C86A13EF247D7367BF60B55E190** get_address_of_buckets_10() { return &___buckets_10; }
inline void set_buckets_10(bucketU5BU5D_tFE956DAEFB1D1C86A13EF247D7367BF60B55E190* value)
{
___buckets_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buckets_10), (void*)value);
}
inline static int32_t get_offset_of_count_11() { return static_cast<int32_t>(offsetof(Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC, ___count_11)); }
inline int32_t get_count_11() const { return ___count_11; }
inline int32_t* get_address_of_count_11() { return &___count_11; }
inline void set_count_11(int32_t value)
{
___count_11 = value;
}
inline static int32_t get_offset_of_occupancy_12() { return static_cast<int32_t>(offsetof(Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC, ___occupancy_12)); }
inline int32_t get_occupancy_12() const { return ___occupancy_12; }
inline int32_t* get_address_of_occupancy_12() { return &___occupancy_12; }
inline void set_occupancy_12(int32_t value)
{
___occupancy_12 = value;
}
inline static int32_t get_offset_of_loadsize_13() { return static_cast<int32_t>(offsetof(Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC, ___loadsize_13)); }
inline int32_t get_loadsize_13() const { return ___loadsize_13; }
inline int32_t* get_address_of_loadsize_13() { return &___loadsize_13; }
inline void set_loadsize_13(int32_t value)
{
___loadsize_13 = value;
}
inline static int32_t get_offset_of_loadFactor_14() { return static_cast<int32_t>(offsetof(Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC, ___loadFactor_14)); }
inline float get_loadFactor_14() const { return ___loadFactor_14; }
inline float* get_address_of_loadFactor_14() { return &___loadFactor_14; }
inline void set_loadFactor_14(float value)
{
___loadFactor_14 = value;
}
inline static int32_t get_offset_of_version_15() { return static_cast<int32_t>(offsetof(Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC, ___version_15)); }
inline int32_t get_version_15() const { return ___version_15; }
inline int32_t* get_address_of_version_15() { return &___version_15; }
inline void set_version_15(int32_t value)
{
___version_15 = value;
}
inline static int32_t get_offset_of_isWriterInProgress_16() { return static_cast<int32_t>(offsetof(Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC, ___isWriterInProgress_16)); }
inline bool get_isWriterInProgress_16() const { return ___isWriterInProgress_16; }
inline bool* get_address_of_isWriterInProgress_16() { return &___isWriterInProgress_16; }
inline void set_isWriterInProgress_16(bool value)
{
___isWriterInProgress_16 = value;
}
inline static int32_t get_offset_of_keys_17() { return static_cast<int32_t>(offsetof(Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC, ___keys_17)); }
inline RuntimeObject* get_keys_17() const { return ___keys_17; }
inline RuntimeObject** get_address_of_keys_17() { return &___keys_17; }
inline void set_keys_17(RuntimeObject* value)
{
___keys_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keys_17), (void*)value);
}
inline static int32_t get_offset_of_values_18() { return static_cast<int32_t>(offsetof(Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC, ___values_18)); }
inline RuntimeObject* get_values_18() const { return ___values_18; }
inline RuntimeObject** get_address_of_values_18() { return &___values_18; }
inline void set_values_18(RuntimeObject* value)
{
___values_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_18), (void*)value);
}
inline static int32_t get_offset_of__keycomparer_19() { return static_cast<int32_t>(offsetof(Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC, ____keycomparer_19)); }
inline RuntimeObject* get__keycomparer_19() const { return ____keycomparer_19; }
inline RuntimeObject** get_address_of__keycomparer_19() { return &____keycomparer_19; }
inline void set__keycomparer_19(RuntimeObject* value)
{
____keycomparer_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&____keycomparer_19), (void*)value);
}
inline static int32_t get_offset_of__syncRoot_20() { return static_cast<int32_t>(offsetof(Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC, ____syncRoot_20)); }
inline RuntimeObject * get__syncRoot_20() const { return ____syncRoot_20; }
inline RuntimeObject ** get_address_of__syncRoot_20() { return &____syncRoot_20; }
inline void set__syncRoot_20(RuntimeObject * value)
{
____syncRoot_20 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_20), (void*)value);
}
};
// System.ComponentModel.ListChangedType
struct ListChangedType_t58520B3D3109CD5C04D27714D495895CD89E1676
{
public:
// System.Int32 System.ComponentModel.ListChangedType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ListChangedType_t58520B3D3109CD5C04D27714D495895CD89E1676, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Data.MappingType
struct MappingType_tAA0DE2A64E2B04E270F71EB3FBF2CF52BD272636
{
public:
// System.Int32 System.Data.MappingType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(MappingType_tAA0DE2A64E2B04E270F71EB3FBF2CF52BD272636, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Data.RBTreeError
struct RBTreeError_tD4673BE0774B9F25D1B28996B11369DC0EEFF592
{
public:
// System.Int32 System.Data.RBTreeError::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(RBTreeError_tD4673BE0774B9F25D1B28996B11369DC0EEFF592, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Data.Rule
struct Rule_t9CD48A4A7FE505F9D954959BE324C10819A52B75
{
public:
// System.Int32 System.Data.Rule::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Rule_t9CD48A4A7FE505F9D954959BE324C10819A52B75, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.RuntimeTypeHandle
struct RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9
{
public:
// System.IntPtr System.RuntimeTypeHandle::value
intptr_t ___value_0;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9, ___value_0)); }
inline intptr_t get_value_0() const { return ___value_0; }
inline intptr_t* get_address_of_value_0() { return &___value_0; }
inline void set_value_0(intptr_t value)
{
___value_0 = value;
}
};
// System.Data.SerializationFormat
struct SerializationFormat_t31A4CB3E88553E85268A0DCE05E9D9FC28245730
{
public:
// System.Int32 System.Data.SerializationFormat::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SerializationFormat_t31A4CB3E88553E85268A0DCE05E9D9FC28245730, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Data.Common.StorageType
struct StorageType_tE4E29216CBA812D4241BD7D6EBCE84D06B8E8D36
{
public:
// System.Int32 System.Data.Common.StorageType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(StorageType_tE4E29216CBA812D4241BD7D6EBCE84D06B8E8D36, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.StringComparison
struct StringComparison_tCC9F72B9B1E2C3C6D2566DD0D3A61E1621048998
{
public:
// System.Int32 System.StringComparison::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(StringComparison_tCC9F72B9B1E2C3C6D2566DD0D3A61E1621048998, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Data.Tokens
struct Tokens_t7F7B46C51F508BB849DE2C84D182B5F7DFFE0B16
{
public:
// System.Int32 System.Data.Tokens::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Tokens_t7F7B46C51F508BB849DE2C84D182B5F7DFFE0B16, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Data.TreeAccessMethod
struct TreeAccessMethod_t5918E1BAD166C286BF31F24B8A0CCE4D41E47930
{
public:
// System.Int32 System.Data.TreeAccessMethod::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TreeAccessMethod_t5918E1BAD166C286BF31F24B8A0CCE4D41E47930, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Data.UniqueConstraint
struct UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 : public Constraint_t9340D631C91CD0399D286378A00A40D2FA46EC4B
{
public:
// System.Data.DataKey System.Data.UniqueConstraint::_key
DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 ____key_5;
// System.Data.Index System.Data.UniqueConstraint::_constraintIndex
Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * ____constraintIndex_6;
// System.Boolean System.Data.UniqueConstraint::_bPrimaryKey
bool ____bPrimaryKey_7;
public:
inline static int32_t get_offset_of__key_5() { return static_cast<int32_t>(offsetof(UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39, ____key_5)); }
inline DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 get__key_5() const { return ____key_5; }
inline DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 * get_address_of__key_5() { return &____key_5; }
inline void set__key_5(DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 value)
{
____key_5 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&____key_5))->____columns_0), (void*)NULL);
}
inline static int32_t get_offset_of__constraintIndex_6() { return static_cast<int32_t>(offsetof(UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39, ____constraintIndex_6)); }
inline Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * get__constraintIndex_6() const { return ____constraintIndex_6; }
inline Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 ** get_address_of__constraintIndex_6() { return &____constraintIndex_6; }
inline void set__constraintIndex_6(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * value)
{
____constraintIndex_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____constraintIndex_6), (void*)value);
}
inline static int32_t get_offset_of__bPrimaryKey_7() { return static_cast<int32_t>(offsetof(UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39, ____bPrimaryKey_7)); }
inline bool get__bPrimaryKey_7() const { return ____bPrimaryKey_7; }
inline bool* get_address_of__bPrimaryKey_7() { return &____bPrimaryKey_7; }
inline void set__bPrimaryKey_7(bool value)
{
____bPrimaryKey_7 = value;
}
};
// System.Data.XmlWriteMode
struct XmlWriteMode_t6D82E376E4A0A49F76387E59A10D4AF1F0A2EAD9
{
public:
// System.Int32 System.Data.XmlWriteMode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(XmlWriteMode_t6D82E376E4A0A49F76387E59A10D4AF1F0A2EAD9, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Data.BinaryNode/DataTypePrecedence
struct DataTypePrecedence_t073058661E57535A7B98EDBC58A53AAF503D0950
{
public:
// System.Int32 System.Data.BinaryNode/DataTypePrecedence::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DataTypePrecedence_t073058661E57535A7B98EDBC58A53AAF503D0950, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Data.DataRelationCollection/DataSetRelationCollection
struct DataSetRelationCollection_t679438AEFA6DF47F762A03302CD334C8DA9560D3 : public DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714
{
public:
// System.Data.DataSet System.Data.DataRelationCollection/DataSetRelationCollection::_dataSet
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * ____dataSet_7;
// System.Collections.ArrayList System.Data.DataRelationCollection/DataSetRelationCollection::_relations
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * ____relations_8;
// System.Data.DataRelation[] System.Data.DataRelationCollection/DataSetRelationCollection::_delayLoadingRelations
DataRelationU5BU5D_tD72718271EA486F2C00EA68F2D1DB7DEB338F96C* ____delayLoadingRelations_9;
public:
inline static int32_t get_offset_of__dataSet_7() { return static_cast<int32_t>(offsetof(DataSetRelationCollection_t679438AEFA6DF47F762A03302CD334C8DA9560D3, ____dataSet_7)); }
inline DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * get__dataSet_7() const { return ____dataSet_7; }
inline DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B ** get_address_of__dataSet_7() { return &____dataSet_7; }
inline void set__dataSet_7(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * value)
{
____dataSet_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dataSet_7), (void*)value);
}
inline static int32_t get_offset_of__relations_8() { return static_cast<int32_t>(offsetof(DataSetRelationCollection_t679438AEFA6DF47F762A03302CD334C8DA9560D3, ____relations_8)); }
inline ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * get__relations_8() const { return ____relations_8; }
inline ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 ** get_address_of__relations_8() { return &____relations_8; }
inline void set__relations_8(ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * value)
{
____relations_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&____relations_8), (void*)value);
}
inline static int32_t get_offset_of__delayLoadingRelations_9() { return static_cast<int32_t>(offsetof(DataSetRelationCollection_t679438AEFA6DF47F762A03302CD334C8DA9560D3, ____delayLoadingRelations_9)); }
inline DataRelationU5BU5D_tD72718271EA486F2C00EA68F2D1DB7DEB338F96C* get__delayLoadingRelations_9() const { return ____delayLoadingRelations_9; }
inline DataRelationU5BU5D_tD72718271EA486F2C00EA68F2D1DB7DEB338F96C** get_address_of__delayLoadingRelations_9() { return &____delayLoadingRelations_9; }
inline void set__delayLoadingRelations_9(DataRelationU5BU5D_tD72718271EA486F2C00EA68F2D1DB7DEB338F96C* value)
{
____delayLoadingRelations_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____delayLoadingRelations_9), (void*)value);
}
};
// System.Data.DataRelationCollection/DataTableRelationCollection
struct DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E : public DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714
{
public:
// System.Data.DataTable System.Data.DataRelationCollection/DataTableRelationCollection::_table
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ____table_7;
// System.Collections.ArrayList System.Data.DataRelationCollection/DataTableRelationCollection::_relations
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * ____relations_8;
// System.Boolean System.Data.DataRelationCollection/DataTableRelationCollection::_fParentCollection
bool ____fParentCollection_9;
// System.ComponentModel.CollectionChangeEventHandler System.Data.DataRelationCollection/DataTableRelationCollection::RelationPropertyChanged
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * ___RelationPropertyChanged_10;
public:
inline static int32_t get_offset_of__table_7() { return static_cast<int32_t>(offsetof(DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E, ____table_7)); }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * get__table_7() const { return ____table_7; }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 ** get_address_of__table_7() { return &____table_7; }
inline void set__table_7(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * value)
{
____table_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&____table_7), (void*)value);
}
inline static int32_t get_offset_of__relations_8() { return static_cast<int32_t>(offsetof(DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E, ____relations_8)); }
inline ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * get__relations_8() const { return ____relations_8; }
inline ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 ** get_address_of__relations_8() { return &____relations_8; }
inline void set__relations_8(ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * value)
{
____relations_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&____relations_8), (void*)value);
}
inline static int32_t get_offset_of__fParentCollection_9() { return static_cast<int32_t>(offsetof(DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E, ____fParentCollection_9)); }
inline bool get__fParentCollection_9() const { return ____fParentCollection_9; }
inline bool* get_address_of__fParentCollection_9() { return &____fParentCollection_9; }
inline void set__fParentCollection_9(bool value)
{
____fParentCollection_9 = value;
}
inline static int32_t get_offset_of_RelationPropertyChanged_10() { return static_cast<int32_t>(offsetof(DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E, ___RelationPropertyChanged_10)); }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * get_RelationPropertyChanged_10() const { return ___RelationPropertyChanged_10; }
inline CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 ** get_address_of_RelationPropertyChanged_10() { return &___RelationPropertyChanged_10; }
inline void set_RelationPropertyChanged_10(CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * value)
{
___RelationPropertyChanged_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___RelationPropertyChanged_10), (void*)value);
}
};
// System.Data.Common.ObjectStorage/Families
struct Families_t6E8551AC06DF4382799D70C917548A9597BD1EF2
{
public:
// System.Int32 System.Data.Common.ObjectStorage/Families::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Families_t6E8551AC06DF4382799D70C917548A9597BD1EF2, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Data.RBTree`1<System.Data.DataRow>
struct RBTree_1_t39CBB459CE258F46F3F45D853DFEF568238BEA49 : public RuntimeObject
{
public:
// System.Data.RBTree`1/TreePage<K>[] System.Data.RBTree`1::_pageTable
TreePageU5BU5D_t23A902C89B1F3C4DEBE1BAA3EE0C4A335F62FEBE* ____pageTable_0;
// System.Int32[] System.Data.RBTree`1::_pageTableMap
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ____pageTableMap_1;
// System.Int32 System.Data.RBTree`1::_inUsePageCount
int32_t ____inUsePageCount_2;
// System.Int32 System.Data.RBTree`1::_nextFreePageLine
int32_t ____nextFreePageLine_3;
// System.Int32 System.Data.RBTree`1::root
int32_t ___root_4;
// System.Int32 System.Data.RBTree`1::_version
int32_t ____version_5;
// System.Int32 System.Data.RBTree`1::_inUseNodeCount
int32_t ____inUseNodeCount_6;
// System.Int32 System.Data.RBTree`1::_inUseSatelliteTreeCount
int32_t ____inUseSatelliteTreeCount_7;
// System.Data.TreeAccessMethod System.Data.RBTree`1::_accessMethod
int32_t ____accessMethod_8;
public:
inline static int32_t get_offset_of__pageTable_0() { return static_cast<int32_t>(offsetof(RBTree_1_t39CBB459CE258F46F3F45D853DFEF568238BEA49, ____pageTable_0)); }
inline TreePageU5BU5D_t23A902C89B1F3C4DEBE1BAA3EE0C4A335F62FEBE* get__pageTable_0() const { return ____pageTable_0; }
inline TreePageU5BU5D_t23A902C89B1F3C4DEBE1BAA3EE0C4A335F62FEBE** get_address_of__pageTable_0() { return &____pageTable_0; }
inline void set__pageTable_0(TreePageU5BU5D_t23A902C89B1F3C4DEBE1BAA3EE0C4A335F62FEBE* value)
{
____pageTable_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____pageTable_0), (void*)value);
}
inline static int32_t get_offset_of__pageTableMap_1() { return static_cast<int32_t>(offsetof(RBTree_1_t39CBB459CE258F46F3F45D853DFEF568238BEA49, ____pageTableMap_1)); }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get__pageTableMap_1() const { return ____pageTableMap_1; }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of__pageTableMap_1() { return &____pageTableMap_1; }
inline void set__pageTableMap_1(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
{
____pageTableMap_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____pageTableMap_1), (void*)value);
}
inline static int32_t get_offset_of__inUsePageCount_2() { return static_cast<int32_t>(offsetof(RBTree_1_t39CBB459CE258F46F3F45D853DFEF568238BEA49, ____inUsePageCount_2)); }
inline int32_t get__inUsePageCount_2() const { return ____inUsePageCount_2; }
inline int32_t* get_address_of__inUsePageCount_2() { return &____inUsePageCount_2; }
inline void set__inUsePageCount_2(int32_t value)
{
____inUsePageCount_2 = value;
}
inline static int32_t get_offset_of__nextFreePageLine_3() { return static_cast<int32_t>(offsetof(RBTree_1_t39CBB459CE258F46F3F45D853DFEF568238BEA49, ____nextFreePageLine_3)); }
inline int32_t get__nextFreePageLine_3() const { return ____nextFreePageLine_3; }
inline int32_t* get_address_of__nextFreePageLine_3() { return &____nextFreePageLine_3; }
inline void set__nextFreePageLine_3(int32_t value)
{
____nextFreePageLine_3 = value;
}
inline static int32_t get_offset_of_root_4() { return static_cast<int32_t>(offsetof(RBTree_1_t39CBB459CE258F46F3F45D853DFEF568238BEA49, ___root_4)); }
inline int32_t get_root_4() const { return ___root_4; }
inline int32_t* get_address_of_root_4() { return &___root_4; }
inline void set_root_4(int32_t value)
{
___root_4 = value;
}
inline static int32_t get_offset_of__version_5() { return static_cast<int32_t>(offsetof(RBTree_1_t39CBB459CE258F46F3F45D853DFEF568238BEA49, ____version_5)); }
inline int32_t get__version_5() const { return ____version_5; }
inline int32_t* get_address_of__version_5() { return &____version_5; }
inline void set__version_5(int32_t value)
{
____version_5 = value;
}
inline static int32_t get_offset_of__inUseNodeCount_6() { return static_cast<int32_t>(offsetof(RBTree_1_t39CBB459CE258F46F3F45D853DFEF568238BEA49, ____inUseNodeCount_6)); }
inline int32_t get__inUseNodeCount_6() const { return ____inUseNodeCount_6; }
inline int32_t* get_address_of__inUseNodeCount_6() { return &____inUseNodeCount_6; }
inline void set__inUseNodeCount_6(int32_t value)
{
____inUseNodeCount_6 = value;
}
inline static int32_t get_offset_of__inUseSatelliteTreeCount_7() { return static_cast<int32_t>(offsetof(RBTree_1_t39CBB459CE258F46F3F45D853DFEF568238BEA49, ____inUseSatelliteTreeCount_7)); }
inline int32_t get__inUseSatelliteTreeCount_7() const { return ____inUseSatelliteTreeCount_7; }
inline int32_t* get_address_of__inUseSatelliteTreeCount_7() { return &____inUseSatelliteTreeCount_7; }
inline void set__inUseSatelliteTreeCount_7(int32_t value)
{
____inUseSatelliteTreeCount_7 = value;
}
inline static int32_t get_offset_of__accessMethod_8() { return static_cast<int32_t>(offsetof(RBTree_1_t39CBB459CE258F46F3F45D853DFEF568238BEA49, ____accessMethod_8)); }
inline int32_t get__accessMethod_8() const { return ____accessMethod_8; }
inline int32_t* get_address_of__accessMethod_8() { return &____accessMethod_8; }
inline void set__accessMethod_8(int32_t value)
{
____accessMethod_8 = value;
}
};
// System.Data.RBTree`1<System.Int32>
struct RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11 : public RuntimeObject
{
public:
// System.Data.RBTree`1/TreePage<K>[] System.Data.RBTree`1::_pageTable
TreePageU5BU5D_t119A89645D06C5D41CA7694ABC97CED591EBB0E4* ____pageTable_0;
// System.Int32[] System.Data.RBTree`1::_pageTableMap
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ____pageTableMap_1;
// System.Int32 System.Data.RBTree`1::_inUsePageCount
int32_t ____inUsePageCount_2;
// System.Int32 System.Data.RBTree`1::_nextFreePageLine
int32_t ____nextFreePageLine_3;
// System.Int32 System.Data.RBTree`1::root
int32_t ___root_4;
// System.Int32 System.Data.RBTree`1::_version
int32_t ____version_5;
// System.Int32 System.Data.RBTree`1::_inUseNodeCount
int32_t ____inUseNodeCount_6;
// System.Int32 System.Data.RBTree`1::_inUseSatelliteTreeCount
int32_t ____inUseSatelliteTreeCount_7;
// System.Data.TreeAccessMethod System.Data.RBTree`1::_accessMethod
int32_t ____accessMethod_8;
public:
inline static int32_t get_offset_of__pageTable_0() { return static_cast<int32_t>(offsetof(RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11, ____pageTable_0)); }
inline TreePageU5BU5D_t119A89645D06C5D41CA7694ABC97CED591EBB0E4* get__pageTable_0() const { return ____pageTable_0; }
inline TreePageU5BU5D_t119A89645D06C5D41CA7694ABC97CED591EBB0E4** get_address_of__pageTable_0() { return &____pageTable_0; }
inline void set__pageTable_0(TreePageU5BU5D_t119A89645D06C5D41CA7694ABC97CED591EBB0E4* value)
{
____pageTable_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____pageTable_0), (void*)value);
}
inline static int32_t get_offset_of__pageTableMap_1() { return static_cast<int32_t>(offsetof(RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11, ____pageTableMap_1)); }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get__pageTableMap_1() const { return ____pageTableMap_1; }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of__pageTableMap_1() { return &____pageTableMap_1; }
inline void set__pageTableMap_1(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
{
____pageTableMap_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____pageTableMap_1), (void*)value);
}
inline static int32_t get_offset_of__inUsePageCount_2() { return static_cast<int32_t>(offsetof(RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11, ____inUsePageCount_2)); }
inline int32_t get__inUsePageCount_2() const { return ____inUsePageCount_2; }
inline int32_t* get_address_of__inUsePageCount_2() { return &____inUsePageCount_2; }
inline void set__inUsePageCount_2(int32_t value)
{
____inUsePageCount_2 = value;
}
inline static int32_t get_offset_of__nextFreePageLine_3() { return static_cast<int32_t>(offsetof(RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11, ____nextFreePageLine_3)); }
inline int32_t get__nextFreePageLine_3() const { return ____nextFreePageLine_3; }
inline int32_t* get_address_of__nextFreePageLine_3() { return &____nextFreePageLine_3; }
inline void set__nextFreePageLine_3(int32_t value)
{
____nextFreePageLine_3 = value;
}
inline static int32_t get_offset_of_root_4() { return static_cast<int32_t>(offsetof(RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11, ___root_4)); }
inline int32_t get_root_4() const { return ___root_4; }
inline int32_t* get_address_of_root_4() { return &___root_4; }
inline void set_root_4(int32_t value)
{
___root_4 = value;
}
inline static int32_t get_offset_of__version_5() { return static_cast<int32_t>(offsetof(RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11, ____version_5)); }
inline int32_t get__version_5() const { return ____version_5; }
inline int32_t* get_address_of__version_5() { return &____version_5; }
inline void set__version_5(int32_t value)
{
____version_5 = value;
}
inline static int32_t get_offset_of__inUseNodeCount_6() { return static_cast<int32_t>(offsetof(RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11, ____inUseNodeCount_6)); }
inline int32_t get__inUseNodeCount_6() const { return ____inUseNodeCount_6; }
inline int32_t* get_address_of__inUseNodeCount_6() { return &____inUseNodeCount_6; }
inline void set__inUseNodeCount_6(int32_t value)
{
____inUseNodeCount_6 = value;
}
inline static int32_t get_offset_of__inUseSatelliteTreeCount_7() { return static_cast<int32_t>(offsetof(RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11, ____inUseSatelliteTreeCount_7)); }
inline int32_t get__inUseSatelliteTreeCount_7() const { return ____inUseSatelliteTreeCount_7; }
inline int32_t* get_address_of__inUseSatelliteTreeCount_7() { return &____inUseSatelliteTreeCount_7; }
inline void set__inUseSatelliteTreeCount_7(int32_t value)
{
____inUseSatelliteTreeCount_7 = value;
}
inline static int32_t get_offset_of__accessMethod_8() { return static_cast<int32_t>(offsetof(RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11, ____accessMethod_8)); }
inline int32_t get__accessMethod_8() const { return ____accessMethod_8; }
inline int32_t* get_address_of__accessMethod_8() { return &____accessMethod_8; }
inline void set__accessMethod_8(int32_t value)
{
____accessMethod_8 = value;
}
};
// System.Data.DataColumn
struct DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 : public MarshalByValueComponent_t932153909102130DE1C7FE6F988139CD9FEF2E3D
{
public:
// System.Boolean System.Data.DataColumn::_allowNull
bool ____allowNull_3;
// System.String System.Data.DataColumn::_caption
String_t* ____caption_4;
// System.String System.Data.DataColumn::_columnName
String_t* ____columnName_5;
// System.Type System.Data.DataColumn::_dataType
Type_t * ____dataType_6;
// System.Data.Common.StorageType System.Data.DataColumn::_storageType
int32_t ____storageType_7;
// System.Object System.Data.DataColumn::_defaultValue
RuntimeObject * ____defaultValue_8;
// System.Data.DataSetDateTime System.Data.DataColumn::_dateTimeMode
int32_t ____dateTimeMode_9;
// System.Data.DataExpression System.Data.DataColumn::_expression
DataExpression_t02B5A14205433D16401B28DB7B2DD5508E71F2E9 * ____expression_10;
// System.Int32 System.Data.DataColumn::_maxLength
int32_t ____maxLength_11;
// System.Int32 System.Data.DataColumn::_ordinal
int32_t ____ordinal_12;
// System.Boolean System.Data.DataColumn::_readOnly
bool ____readOnly_13;
// System.Data.Index System.Data.DataColumn::_sortIndex
Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * ____sortIndex_14;
// System.Data.DataTable System.Data.DataColumn::_table
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ____table_15;
// System.Boolean System.Data.DataColumn::_unique
bool ____unique_16;
// System.Data.MappingType System.Data.DataColumn::_columnMapping
int32_t ____columnMapping_17;
// System.Int32 System.Data.DataColumn::_hashCode
int32_t ____hashCode_18;
// System.Int32 System.Data.DataColumn::_errors
int32_t ____errors_19;
// System.Boolean System.Data.DataColumn::_isSqlType
bool ____isSqlType_20;
// System.Boolean System.Data.DataColumn::_implementsINullable
bool ____implementsINullable_21;
// System.Boolean System.Data.DataColumn::_implementsIChangeTracking
bool ____implementsIChangeTracking_22;
// System.Boolean System.Data.DataColumn::_implementsIRevertibleChangeTracking
bool ____implementsIRevertibleChangeTracking_23;
// System.Boolean System.Data.DataColumn::_implementsIXMLSerializable
bool ____implementsIXMLSerializable_24;
// System.Boolean System.Data.DataColumn::_defaultValueIsNull
bool ____defaultValueIsNull_25;
// System.Collections.Generic.List`1<System.Data.DataColumn> System.Data.DataColumn::_dependentColumns
List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4 * ____dependentColumns_26;
// System.Data.PropertyCollection System.Data.DataColumn::_extendedProperties
PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * ____extendedProperties_27;
// System.Data.Common.DataStorage System.Data.DataColumn::_storage
DataStorage_tD0EA36115182A6288321E6EF7C8B16C5E19D0138 * ____storage_28;
// System.Data.AutoIncrementValue System.Data.DataColumn::_autoInc
AutoIncrementValue_t4267E1ADD464F0AAD2395E50A13224C7052A52DC * ____autoInc_29;
// System.String System.Data.DataColumn::_columnUri
String_t* ____columnUri_30;
// System.String System.Data.DataColumn::_columnPrefix
String_t* ____columnPrefix_31;
// System.String System.Data.DataColumn::_encodedColumnName
String_t* ____encodedColumnName_32;
// System.Data.SimpleType System.Data.DataColumn::_simpleType
SimpleType_t49470C34D88B5C339CCA842F9F167CB7A537D0F5 * ____simpleType_33;
// System.Int32 System.Data.DataColumn::_objectID
int32_t ____objectID_35;
// System.String System.Data.DataColumn::<XmlDataType>k__BackingField
String_t* ___U3CXmlDataTypeU3Ek__BackingField_36;
// System.ComponentModel.PropertyChangedEventHandler System.Data.DataColumn::PropertyChanging
PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 * ___PropertyChanging_37;
public:
inline static int32_t get_offset_of__allowNull_3() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____allowNull_3)); }
inline bool get__allowNull_3() const { return ____allowNull_3; }
inline bool* get_address_of__allowNull_3() { return &____allowNull_3; }
inline void set__allowNull_3(bool value)
{
____allowNull_3 = value;
}
inline static int32_t get_offset_of__caption_4() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____caption_4)); }
inline String_t* get__caption_4() const { return ____caption_4; }
inline String_t** get_address_of__caption_4() { return &____caption_4; }
inline void set__caption_4(String_t* value)
{
____caption_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____caption_4), (void*)value);
}
inline static int32_t get_offset_of__columnName_5() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____columnName_5)); }
inline String_t* get__columnName_5() const { return ____columnName_5; }
inline String_t** get_address_of__columnName_5() { return &____columnName_5; }
inline void set__columnName_5(String_t* value)
{
____columnName_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____columnName_5), (void*)value);
}
inline static int32_t get_offset_of__dataType_6() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____dataType_6)); }
inline Type_t * get__dataType_6() const { return ____dataType_6; }
inline Type_t ** get_address_of__dataType_6() { return &____dataType_6; }
inline void set__dataType_6(Type_t * value)
{
____dataType_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dataType_6), (void*)value);
}
inline static int32_t get_offset_of__storageType_7() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____storageType_7)); }
inline int32_t get__storageType_7() const { return ____storageType_7; }
inline int32_t* get_address_of__storageType_7() { return &____storageType_7; }
inline void set__storageType_7(int32_t value)
{
____storageType_7 = value;
}
inline static int32_t get_offset_of__defaultValue_8() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____defaultValue_8)); }
inline RuntimeObject * get__defaultValue_8() const { return ____defaultValue_8; }
inline RuntimeObject ** get_address_of__defaultValue_8() { return &____defaultValue_8; }
inline void set__defaultValue_8(RuntimeObject * value)
{
____defaultValue_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&____defaultValue_8), (void*)value);
}
inline static int32_t get_offset_of__dateTimeMode_9() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____dateTimeMode_9)); }
inline int32_t get__dateTimeMode_9() const { return ____dateTimeMode_9; }
inline int32_t* get_address_of__dateTimeMode_9() { return &____dateTimeMode_9; }
inline void set__dateTimeMode_9(int32_t value)
{
____dateTimeMode_9 = value;
}
inline static int32_t get_offset_of__expression_10() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____expression_10)); }
inline DataExpression_t02B5A14205433D16401B28DB7B2DD5508E71F2E9 * get__expression_10() const { return ____expression_10; }
inline DataExpression_t02B5A14205433D16401B28DB7B2DD5508E71F2E9 ** get_address_of__expression_10() { return &____expression_10; }
inline void set__expression_10(DataExpression_t02B5A14205433D16401B28DB7B2DD5508E71F2E9 * value)
{
____expression_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&____expression_10), (void*)value);
}
inline static int32_t get_offset_of__maxLength_11() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____maxLength_11)); }
inline int32_t get__maxLength_11() const { return ____maxLength_11; }
inline int32_t* get_address_of__maxLength_11() { return &____maxLength_11; }
inline void set__maxLength_11(int32_t value)
{
____maxLength_11 = value;
}
inline static int32_t get_offset_of__ordinal_12() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____ordinal_12)); }
inline int32_t get__ordinal_12() const { return ____ordinal_12; }
inline int32_t* get_address_of__ordinal_12() { return &____ordinal_12; }
inline void set__ordinal_12(int32_t value)
{
____ordinal_12 = value;
}
inline static int32_t get_offset_of__readOnly_13() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____readOnly_13)); }
inline bool get__readOnly_13() const { return ____readOnly_13; }
inline bool* get_address_of__readOnly_13() { return &____readOnly_13; }
inline void set__readOnly_13(bool value)
{
____readOnly_13 = value;
}
inline static int32_t get_offset_of__sortIndex_14() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____sortIndex_14)); }
inline Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * get__sortIndex_14() const { return ____sortIndex_14; }
inline Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 ** get_address_of__sortIndex_14() { return &____sortIndex_14; }
inline void set__sortIndex_14(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * value)
{
____sortIndex_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&____sortIndex_14), (void*)value);
}
inline static int32_t get_offset_of__table_15() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____table_15)); }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * get__table_15() const { return ____table_15; }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 ** get_address_of__table_15() { return &____table_15; }
inline void set__table_15(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * value)
{
____table_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&____table_15), (void*)value);
}
inline static int32_t get_offset_of__unique_16() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____unique_16)); }
inline bool get__unique_16() const { return ____unique_16; }
inline bool* get_address_of__unique_16() { return &____unique_16; }
inline void set__unique_16(bool value)
{
____unique_16 = value;
}
inline static int32_t get_offset_of__columnMapping_17() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____columnMapping_17)); }
inline int32_t get__columnMapping_17() const { return ____columnMapping_17; }
inline int32_t* get_address_of__columnMapping_17() { return &____columnMapping_17; }
inline void set__columnMapping_17(int32_t value)
{
____columnMapping_17 = value;
}
inline static int32_t get_offset_of__hashCode_18() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____hashCode_18)); }
inline int32_t get__hashCode_18() const { return ____hashCode_18; }
inline int32_t* get_address_of__hashCode_18() { return &____hashCode_18; }
inline void set__hashCode_18(int32_t value)
{
____hashCode_18 = value;
}
inline static int32_t get_offset_of__errors_19() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____errors_19)); }
inline int32_t get__errors_19() const { return ____errors_19; }
inline int32_t* get_address_of__errors_19() { return &____errors_19; }
inline void set__errors_19(int32_t value)
{
____errors_19 = value;
}
inline static int32_t get_offset_of__isSqlType_20() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____isSqlType_20)); }
inline bool get__isSqlType_20() const { return ____isSqlType_20; }
inline bool* get_address_of__isSqlType_20() { return &____isSqlType_20; }
inline void set__isSqlType_20(bool value)
{
____isSqlType_20 = value;
}
inline static int32_t get_offset_of__implementsINullable_21() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____implementsINullable_21)); }
inline bool get__implementsINullable_21() const { return ____implementsINullable_21; }
inline bool* get_address_of__implementsINullable_21() { return &____implementsINullable_21; }
inline void set__implementsINullable_21(bool value)
{
____implementsINullable_21 = value;
}
inline static int32_t get_offset_of__implementsIChangeTracking_22() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____implementsIChangeTracking_22)); }
inline bool get__implementsIChangeTracking_22() const { return ____implementsIChangeTracking_22; }
inline bool* get_address_of__implementsIChangeTracking_22() { return &____implementsIChangeTracking_22; }
inline void set__implementsIChangeTracking_22(bool value)
{
____implementsIChangeTracking_22 = value;
}
inline static int32_t get_offset_of__implementsIRevertibleChangeTracking_23() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____implementsIRevertibleChangeTracking_23)); }
inline bool get__implementsIRevertibleChangeTracking_23() const { return ____implementsIRevertibleChangeTracking_23; }
inline bool* get_address_of__implementsIRevertibleChangeTracking_23() { return &____implementsIRevertibleChangeTracking_23; }
inline void set__implementsIRevertibleChangeTracking_23(bool value)
{
____implementsIRevertibleChangeTracking_23 = value;
}
inline static int32_t get_offset_of__implementsIXMLSerializable_24() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____implementsIXMLSerializable_24)); }
inline bool get__implementsIXMLSerializable_24() const { return ____implementsIXMLSerializable_24; }
inline bool* get_address_of__implementsIXMLSerializable_24() { return &____implementsIXMLSerializable_24; }
inline void set__implementsIXMLSerializable_24(bool value)
{
____implementsIXMLSerializable_24 = value;
}
inline static int32_t get_offset_of__defaultValueIsNull_25() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____defaultValueIsNull_25)); }
inline bool get__defaultValueIsNull_25() const { return ____defaultValueIsNull_25; }
inline bool* get_address_of__defaultValueIsNull_25() { return &____defaultValueIsNull_25; }
inline void set__defaultValueIsNull_25(bool value)
{
____defaultValueIsNull_25 = value;
}
inline static int32_t get_offset_of__dependentColumns_26() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____dependentColumns_26)); }
inline List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4 * get__dependentColumns_26() const { return ____dependentColumns_26; }
inline List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4 ** get_address_of__dependentColumns_26() { return &____dependentColumns_26; }
inline void set__dependentColumns_26(List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4 * value)
{
____dependentColumns_26 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dependentColumns_26), (void*)value);
}
inline static int32_t get_offset_of__extendedProperties_27() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____extendedProperties_27)); }
inline PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * get__extendedProperties_27() const { return ____extendedProperties_27; }
inline PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 ** get_address_of__extendedProperties_27() { return &____extendedProperties_27; }
inline void set__extendedProperties_27(PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * value)
{
____extendedProperties_27 = value;
Il2CppCodeGenWriteBarrier((void**)(&____extendedProperties_27), (void*)value);
}
inline static int32_t get_offset_of__storage_28() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____storage_28)); }
inline DataStorage_tD0EA36115182A6288321E6EF7C8B16C5E19D0138 * get__storage_28() const { return ____storage_28; }
inline DataStorage_tD0EA36115182A6288321E6EF7C8B16C5E19D0138 ** get_address_of__storage_28() { return &____storage_28; }
inline void set__storage_28(DataStorage_tD0EA36115182A6288321E6EF7C8B16C5E19D0138 * value)
{
____storage_28 = value;
Il2CppCodeGenWriteBarrier((void**)(&____storage_28), (void*)value);
}
inline static int32_t get_offset_of__autoInc_29() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____autoInc_29)); }
inline AutoIncrementValue_t4267E1ADD464F0AAD2395E50A13224C7052A52DC * get__autoInc_29() const { return ____autoInc_29; }
inline AutoIncrementValue_t4267E1ADD464F0AAD2395E50A13224C7052A52DC ** get_address_of__autoInc_29() { return &____autoInc_29; }
inline void set__autoInc_29(AutoIncrementValue_t4267E1ADD464F0AAD2395E50A13224C7052A52DC * value)
{
____autoInc_29 = value;
Il2CppCodeGenWriteBarrier((void**)(&____autoInc_29), (void*)value);
}
inline static int32_t get_offset_of__columnUri_30() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____columnUri_30)); }
inline String_t* get__columnUri_30() const { return ____columnUri_30; }
inline String_t** get_address_of__columnUri_30() { return &____columnUri_30; }
inline void set__columnUri_30(String_t* value)
{
____columnUri_30 = value;
Il2CppCodeGenWriteBarrier((void**)(&____columnUri_30), (void*)value);
}
inline static int32_t get_offset_of__columnPrefix_31() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____columnPrefix_31)); }
inline String_t* get__columnPrefix_31() const { return ____columnPrefix_31; }
inline String_t** get_address_of__columnPrefix_31() { return &____columnPrefix_31; }
inline void set__columnPrefix_31(String_t* value)
{
____columnPrefix_31 = value;
Il2CppCodeGenWriteBarrier((void**)(&____columnPrefix_31), (void*)value);
}
inline static int32_t get_offset_of__encodedColumnName_32() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____encodedColumnName_32)); }
inline String_t* get__encodedColumnName_32() const { return ____encodedColumnName_32; }
inline String_t** get_address_of__encodedColumnName_32() { return &____encodedColumnName_32; }
inline void set__encodedColumnName_32(String_t* value)
{
____encodedColumnName_32 = value;
Il2CppCodeGenWriteBarrier((void**)(&____encodedColumnName_32), (void*)value);
}
inline static int32_t get_offset_of__simpleType_33() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____simpleType_33)); }
inline SimpleType_t49470C34D88B5C339CCA842F9F167CB7A537D0F5 * get__simpleType_33() const { return ____simpleType_33; }
inline SimpleType_t49470C34D88B5C339CCA842F9F167CB7A537D0F5 ** get_address_of__simpleType_33() { return &____simpleType_33; }
inline void set__simpleType_33(SimpleType_t49470C34D88B5C339CCA842F9F167CB7A537D0F5 * value)
{
____simpleType_33 = value;
Il2CppCodeGenWriteBarrier((void**)(&____simpleType_33), (void*)value);
}
inline static int32_t get_offset_of__objectID_35() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ____objectID_35)); }
inline int32_t get__objectID_35() const { return ____objectID_35; }
inline int32_t* get_address_of__objectID_35() { return &____objectID_35; }
inline void set__objectID_35(int32_t value)
{
____objectID_35 = value;
}
inline static int32_t get_offset_of_U3CXmlDataTypeU3Ek__BackingField_36() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ___U3CXmlDataTypeU3Ek__BackingField_36)); }
inline String_t* get_U3CXmlDataTypeU3Ek__BackingField_36() const { return ___U3CXmlDataTypeU3Ek__BackingField_36; }
inline String_t** get_address_of_U3CXmlDataTypeU3Ek__BackingField_36() { return &___U3CXmlDataTypeU3Ek__BackingField_36; }
inline void set_U3CXmlDataTypeU3Ek__BackingField_36(String_t* value)
{
___U3CXmlDataTypeU3Ek__BackingField_36 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CXmlDataTypeU3Ek__BackingField_36), (void*)value);
}
inline static int32_t get_offset_of_PropertyChanging_37() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638, ___PropertyChanging_37)); }
inline PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 * get_PropertyChanging_37() const { return ___PropertyChanging_37; }
inline PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 ** get_address_of_PropertyChanging_37() { return &___PropertyChanging_37; }
inline void set_PropertyChanging_37(PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 * value)
{
___PropertyChanging_37 = value;
Il2CppCodeGenWriteBarrier((void**)(&___PropertyChanging_37), (void*)value);
}
};
struct DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638_StaticFields
{
public:
// System.Int32 System.Data.DataColumn::s_objectTypeCount
int32_t ___s_objectTypeCount_34;
public:
inline static int32_t get_offset_of_s_objectTypeCount_34() { return static_cast<int32_t>(offsetof(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638_StaticFields, ___s_objectTypeCount_34)); }
inline int32_t get_s_objectTypeCount_34() const { return ___s_objectTypeCount_34; }
inline int32_t* get_address_of_s_objectTypeCount_34() { return &___s_objectTypeCount_34; }
inline void set_s_objectTypeCount_34(int32_t value)
{
___s_objectTypeCount_34 = value;
}
};
// System.Data.DataRow
struct DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE : public RuntimeObject
{
public:
// System.Data.DataTable System.Data.DataRow::_table
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ____table_0;
// System.Data.DataColumnCollection System.Data.DataRow::_columns
DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820 * ____columns_1;
// System.Int32 System.Data.DataRow::_oldRecord
int32_t ____oldRecord_2;
// System.Int32 System.Data.DataRow::_newRecord
int32_t ____newRecord_3;
// System.Int32 System.Data.DataRow::_tempRecord
int32_t ____tempRecord_4;
// System.Int64 System.Data.DataRow::_rowID
int64_t ____rowID_5;
// System.Data.DataRowAction System.Data.DataRow::_action
int32_t ____action_6;
// System.Boolean System.Data.DataRow::_inChangingEvent
bool ____inChangingEvent_7;
// System.Boolean System.Data.DataRow::_inDeletingEvent
bool ____inDeletingEvent_8;
// System.Boolean System.Data.DataRow::_inCascade
bool ____inCascade_9;
// System.Data.DataColumn System.Data.DataRow::_lastChangedColumn
DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * ____lastChangedColumn_10;
// System.Int32 System.Data.DataRow::_countColumnChange
int32_t ____countColumnChange_11;
// System.Data.DataError System.Data.DataRow::_error
DataError_t1D58E151B9E79E500B6279B5D77137381D31DBC0 * ____error_12;
// System.Int32 System.Data.DataRow::_rbTreeNodeId
int32_t ____rbTreeNodeId_13;
// System.Int32 System.Data.DataRow::_objectID
int32_t ____objectID_15;
public:
inline static int32_t get_offset_of__table_0() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____table_0)); }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * get__table_0() const { return ____table_0; }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 ** get_address_of__table_0() { return &____table_0; }
inline void set__table_0(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * value)
{
____table_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____table_0), (void*)value);
}
inline static int32_t get_offset_of__columns_1() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____columns_1)); }
inline DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820 * get__columns_1() const { return ____columns_1; }
inline DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820 ** get_address_of__columns_1() { return &____columns_1; }
inline void set__columns_1(DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820 * value)
{
____columns_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____columns_1), (void*)value);
}
inline static int32_t get_offset_of__oldRecord_2() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____oldRecord_2)); }
inline int32_t get__oldRecord_2() const { return ____oldRecord_2; }
inline int32_t* get_address_of__oldRecord_2() { return &____oldRecord_2; }
inline void set__oldRecord_2(int32_t value)
{
____oldRecord_2 = value;
}
inline static int32_t get_offset_of__newRecord_3() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____newRecord_3)); }
inline int32_t get__newRecord_3() const { return ____newRecord_3; }
inline int32_t* get_address_of__newRecord_3() { return &____newRecord_3; }
inline void set__newRecord_3(int32_t value)
{
____newRecord_3 = value;
}
inline static int32_t get_offset_of__tempRecord_4() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____tempRecord_4)); }
inline int32_t get__tempRecord_4() const { return ____tempRecord_4; }
inline int32_t* get_address_of__tempRecord_4() { return &____tempRecord_4; }
inline void set__tempRecord_4(int32_t value)
{
____tempRecord_4 = value;
}
inline static int32_t get_offset_of__rowID_5() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____rowID_5)); }
inline int64_t get__rowID_5() const { return ____rowID_5; }
inline int64_t* get_address_of__rowID_5() { return &____rowID_5; }
inline void set__rowID_5(int64_t value)
{
____rowID_5 = value;
}
inline static int32_t get_offset_of__action_6() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____action_6)); }
inline int32_t get__action_6() const { return ____action_6; }
inline int32_t* get_address_of__action_6() { return &____action_6; }
inline void set__action_6(int32_t value)
{
____action_6 = value;
}
inline static int32_t get_offset_of__inChangingEvent_7() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____inChangingEvent_7)); }
inline bool get__inChangingEvent_7() const { return ____inChangingEvent_7; }
inline bool* get_address_of__inChangingEvent_7() { return &____inChangingEvent_7; }
inline void set__inChangingEvent_7(bool value)
{
____inChangingEvent_7 = value;
}
inline static int32_t get_offset_of__inDeletingEvent_8() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____inDeletingEvent_8)); }
inline bool get__inDeletingEvent_8() const { return ____inDeletingEvent_8; }
inline bool* get_address_of__inDeletingEvent_8() { return &____inDeletingEvent_8; }
inline void set__inDeletingEvent_8(bool value)
{
____inDeletingEvent_8 = value;
}
inline static int32_t get_offset_of__inCascade_9() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____inCascade_9)); }
inline bool get__inCascade_9() const { return ____inCascade_9; }
inline bool* get_address_of__inCascade_9() { return &____inCascade_9; }
inline void set__inCascade_9(bool value)
{
____inCascade_9 = value;
}
inline static int32_t get_offset_of__lastChangedColumn_10() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____lastChangedColumn_10)); }
inline DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * get__lastChangedColumn_10() const { return ____lastChangedColumn_10; }
inline DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 ** get_address_of__lastChangedColumn_10() { return &____lastChangedColumn_10; }
inline void set__lastChangedColumn_10(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * value)
{
____lastChangedColumn_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&____lastChangedColumn_10), (void*)value);
}
inline static int32_t get_offset_of__countColumnChange_11() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____countColumnChange_11)); }
inline int32_t get__countColumnChange_11() const { return ____countColumnChange_11; }
inline int32_t* get_address_of__countColumnChange_11() { return &____countColumnChange_11; }
inline void set__countColumnChange_11(int32_t value)
{
____countColumnChange_11 = value;
}
inline static int32_t get_offset_of__error_12() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____error_12)); }
inline DataError_t1D58E151B9E79E500B6279B5D77137381D31DBC0 * get__error_12() const { return ____error_12; }
inline DataError_t1D58E151B9E79E500B6279B5D77137381D31DBC0 ** get_address_of__error_12() { return &____error_12; }
inline void set__error_12(DataError_t1D58E151B9E79E500B6279B5D77137381D31DBC0 * value)
{
____error_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&____error_12), (void*)value);
}
inline static int32_t get_offset_of__rbTreeNodeId_13() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____rbTreeNodeId_13)); }
inline int32_t get__rbTreeNodeId_13() const { return ____rbTreeNodeId_13; }
inline int32_t* get_address_of__rbTreeNodeId_13() { return &____rbTreeNodeId_13; }
inline void set__rbTreeNodeId_13(int32_t value)
{
____rbTreeNodeId_13 = value;
}
inline static int32_t get_offset_of__objectID_15() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE, ____objectID_15)); }
inline int32_t get__objectID_15() const { return ____objectID_15; }
inline int32_t* get_address_of__objectID_15() { return &____objectID_15; }
inline void set__objectID_15(int32_t value)
{
____objectID_15 = value;
}
};
struct DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE_StaticFields
{
public:
// System.Int32 System.Data.DataRow::s_objectTypeCount
int32_t ___s_objectTypeCount_14;
public:
inline static int32_t get_offset_of_s_objectTypeCount_14() { return static_cast<int32_t>(offsetof(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE_StaticFields, ___s_objectTypeCount_14)); }
inline int32_t get_s_objectTypeCount_14() const { return ___s_objectTypeCount_14; }
inline int32_t* get_address_of_s_objectTypeCount_14() { return &___s_objectTypeCount_14; }
inline void set_s_objectTypeCount_14(int32_t value)
{
___s_objectTypeCount_14 = value;
}
};
// System.Data.DataSet
struct DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B : public MarshalByValueComponent_t932153909102130DE1C7FE6F988139CD9FEF2E3D
{
public:
// System.Data.DataViewManager System.Data.DataSet::_defaultViewManager
DataViewManager_tA216F22BB197AECDF442CD380A614CA7B4EA639A * ____defaultViewManager_3;
// System.Data.DataTableCollection System.Data.DataSet::_tableCollection
DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451 * ____tableCollection_4;
// System.Data.DataRelationCollection System.Data.DataSet::_relationCollection
DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * ____relationCollection_5;
// System.Data.PropertyCollection System.Data.DataSet::_extendedProperties
PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * ____extendedProperties_6;
// System.String System.Data.DataSet::_dataSetName
String_t* ____dataSetName_7;
// System.String System.Data.DataSet::_datasetPrefix
String_t* ____datasetPrefix_8;
// System.String System.Data.DataSet::_namespaceURI
String_t* ____namespaceURI_9;
// System.Boolean System.Data.DataSet::_enforceConstraints
bool ____enforceConstraints_10;
// System.Boolean System.Data.DataSet::_caseSensitive
bool ____caseSensitive_11;
// System.Globalization.CultureInfo System.Data.DataSet::_culture
CultureInfo_t1B787142231DB79ABDCE0659823F908A040E9A98 * ____culture_12;
// System.Boolean System.Data.DataSet::_cultureUserSet
bool ____cultureUserSet_13;
// System.Boolean System.Data.DataSet::_fInReadXml
bool ____fInReadXml_14;
// System.Boolean System.Data.DataSet::_fInLoadDiffgram
bool ____fInLoadDiffgram_15;
// System.Boolean System.Data.DataSet::_fTopLevelTable
bool ____fTopLevelTable_16;
// System.Boolean System.Data.DataSet::_fInitInProgress
bool ____fInitInProgress_17;
// System.Boolean System.Data.DataSet::_fEnableCascading
bool ____fEnableCascading_18;
// System.Boolean System.Data.DataSet::_fIsSchemaLoading
bool ____fIsSchemaLoading_19;
// System.String System.Data.DataSet::_mainTableName
String_t* ____mainTableName_20;
// System.Data.SerializationFormat System.Data.DataSet::_remotingFormat
int32_t ____remotingFormat_21;
// System.Object System.Data.DataSet::_defaultViewManagerLock
RuntimeObject * ____defaultViewManagerLock_22;
// System.Int32 System.Data.DataSet::_objectID
int32_t ____objectID_24;
// System.Boolean System.Data.DataSet::_useDataSetSchemaOnly
bool ____useDataSetSchemaOnly_26;
// System.Boolean System.Data.DataSet::_udtIsWrapped
bool ____udtIsWrapped_27;
// System.ComponentModel.PropertyChangedEventHandler System.Data.DataSet::PropertyChanging
PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 * ___PropertyChanging_28;
// System.Data.MergeFailedEventHandler System.Data.DataSet::MergeFailed
MergeFailedEventHandler_t10E3E3F0E24DB1FC0DFEC8687C4D690F5CA57A41 * ___MergeFailed_29;
// System.Data.DataRowCreatedEventHandler System.Data.DataSet::DataRowCreated
DataRowCreatedEventHandler_tE60E7D5E5556337BEB5818E87E217E12F9987102 * ___DataRowCreated_30;
// System.Data.DataSetClearEventhandler System.Data.DataSet::ClearFunctionCalled
DataSetClearEventhandler_tBBB7A6036B60539D6C54C4BADC06DC0E14A7494E * ___ClearFunctionCalled_31;
public:
inline static int32_t get_offset_of__defaultViewManager_3() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____defaultViewManager_3)); }
inline DataViewManager_tA216F22BB197AECDF442CD380A614CA7B4EA639A * get__defaultViewManager_3() const { return ____defaultViewManager_3; }
inline DataViewManager_tA216F22BB197AECDF442CD380A614CA7B4EA639A ** get_address_of__defaultViewManager_3() { return &____defaultViewManager_3; }
inline void set__defaultViewManager_3(DataViewManager_tA216F22BB197AECDF442CD380A614CA7B4EA639A * value)
{
____defaultViewManager_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____defaultViewManager_3), (void*)value);
}
inline static int32_t get_offset_of__tableCollection_4() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____tableCollection_4)); }
inline DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451 * get__tableCollection_4() const { return ____tableCollection_4; }
inline DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451 ** get_address_of__tableCollection_4() { return &____tableCollection_4; }
inline void set__tableCollection_4(DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451 * value)
{
____tableCollection_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____tableCollection_4), (void*)value);
}
inline static int32_t get_offset_of__relationCollection_5() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____relationCollection_5)); }
inline DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * get__relationCollection_5() const { return ____relationCollection_5; }
inline DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 ** get_address_of__relationCollection_5() { return &____relationCollection_5; }
inline void set__relationCollection_5(DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * value)
{
____relationCollection_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____relationCollection_5), (void*)value);
}
inline static int32_t get_offset_of__extendedProperties_6() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____extendedProperties_6)); }
inline PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * get__extendedProperties_6() const { return ____extendedProperties_6; }
inline PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 ** get_address_of__extendedProperties_6() { return &____extendedProperties_6; }
inline void set__extendedProperties_6(PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * value)
{
____extendedProperties_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____extendedProperties_6), (void*)value);
}
inline static int32_t get_offset_of__dataSetName_7() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____dataSetName_7)); }
inline String_t* get__dataSetName_7() const { return ____dataSetName_7; }
inline String_t** get_address_of__dataSetName_7() { return &____dataSetName_7; }
inline void set__dataSetName_7(String_t* value)
{
____dataSetName_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dataSetName_7), (void*)value);
}
inline static int32_t get_offset_of__datasetPrefix_8() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____datasetPrefix_8)); }
inline String_t* get__datasetPrefix_8() const { return ____datasetPrefix_8; }
inline String_t** get_address_of__datasetPrefix_8() { return &____datasetPrefix_8; }
inline void set__datasetPrefix_8(String_t* value)
{
____datasetPrefix_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&____datasetPrefix_8), (void*)value);
}
inline static int32_t get_offset_of__namespaceURI_9() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____namespaceURI_9)); }
inline String_t* get__namespaceURI_9() const { return ____namespaceURI_9; }
inline String_t** get_address_of__namespaceURI_9() { return &____namespaceURI_9; }
inline void set__namespaceURI_9(String_t* value)
{
____namespaceURI_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____namespaceURI_9), (void*)value);
}
inline static int32_t get_offset_of__enforceConstraints_10() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____enforceConstraints_10)); }
inline bool get__enforceConstraints_10() const { return ____enforceConstraints_10; }
inline bool* get_address_of__enforceConstraints_10() { return &____enforceConstraints_10; }
inline void set__enforceConstraints_10(bool value)
{
____enforceConstraints_10 = value;
}
inline static int32_t get_offset_of__caseSensitive_11() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____caseSensitive_11)); }
inline bool get__caseSensitive_11() const { return ____caseSensitive_11; }
inline bool* get_address_of__caseSensitive_11() { return &____caseSensitive_11; }
inline void set__caseSensitive_11(bool value)
{
____caseSensitive_11 = value;
}
inline static int32_t get_offset_of__culture_12() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____culture_12)); }
inline CultureInfo_t1B787142231DB79ABDCE0659823F908A040E9A98 * get__culture_12() const { return ____culture_12; }
inline CultureInfo_t1B787142231DB79ABDCE0659823F908A040E9A98 ** get_address_of__culture_12() { return &____culture_12; }
inline void set__culture_12(CultureInfo_t1B787142231DB79ABDCE0659823F908A040E9A98 * value)
{
____culture_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&____culture_12), (void*)value);
}
inline static int32_t get_offset_of__cultureUserSet_13() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____cultureUserSet_13)); }
inline bool get__cultureUserSet_13() const { return ____cultureUserSet_13; }
inline bool* get_address_of__cultureUserSet_13() { return &____cultureUserSet_13; }
inline void set__cultureUserSet_13(bool value)
{
____cultureUserSet_13 = value;
}
inline static int32_t get_offset_of__fInReadXml_14() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____fInReadXml_14)); }
inline bool get__fInReadXml_14() const { return ____fInReadXml_14; }
inline bool* get_address_of__fInReadXml_14() { return &____fInReadXml_14; }
inline void set__fInReadXml_14(bool value)
{
____fInReadXml_14 = value;
}
inline static int32_t get_offset_of__fInLoadDiffgram_15() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____fInLoadDiffgram_15)); }
inline bool get__fInLoadDiffgram_15() const { return ____fInLoadDiffgram_15; }
inline bool* get_address_of__fInLoadDiffgram_15() { return &____fInLoadDiffgram_15; }
inline void set__fInLoadDiffgram_15(bool value)
{
____fInLoadDiffgram_15 = value;
}
inline static int32_t get_offset_of__fTopLevelTable_16() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____fTopLevelTable_16)); }
inline bool get__fTopLevelTable_16() const { return ____fTopLevelTable_16; }
inline bool* get_address_of__fTopLevelTable_16() { return &____fTopLevelTable_16; }
inline void set__fTopLevelTable_16(bool value)
{
____fTopLevelTable_16 = value;
}
inline static int32_t get_offset_of__fInitInProgress_17() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____fInitInProgress_17)); }
inline bool get__fInitInProgress_17() const { return ____fInitInProgress_17; }
inline bool* get_address_of__fInitInProgress_17() { return &____fInitInProgress_17; }
inline void set__fInitInProgress_17(bool value)
{
____fInitInProgress_17 = value;
}
inline static int32_t get_offset_of__fEnableCascading_18() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____fEnableCascading_18)); }
inline bool get__fEnableCascading_18() const { return ____fEnableCascading_18; }
inline bool* get_address_of__fEnableCascading_18() { return &____fEnableCascading_18; }
inline void set__fEnableCascading_18(bool value)
{
____fEnableCascading_18 = value;
}
inline static int32_t get_offset_of__fIsSchemaLoading_19() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____fIsSchemaLoading_19)); }
inline bool get__fIsSchemaLoading_19() const { return ____fIsSchemaLoading_19; }
inline bool* get_address_of__fIsSchemaLoading_19() { return &____fIsSchemaLoading_19; }
inline void set__fIsSchemaLoading_19(bool value)
{
____fIsSchemaLoading_19 = value;
}
inline static int32_t get_offset_of__mainTableName_20() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____mainTableName_20)); }
inline String_t* get__mainTableName_20() const { return ____mainTableName_20; }
inline String_t** get_address_of__mainTableName_20() { return &____mainTableName_20; }
inline void set__mainTableName_20(String_t* value)
{
____mainTableName_20 = value;
Il2CppCodeGenWriteBarrier((void**)(&____mainTableName_20), (void*)value);
}
inline static int32_t get_offset_of__remotingFormat_21() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____remotingFormat_21)); }
inline int32_t get__remotingFormat_21() const { return ____remotingFormat_21; }
inline int32_t* get_address_of__remotingFormat_21() { return &____remotingFormat_21; }
inline void set__remotingFormat_21(int32_t value)
{
____remotingFormat_21 = value;
}
inline static int32_t get_offset_of__defaultViewManagerLock_22() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____defaultViewManagerLock_22)); }
inline RuntimeObject * get__defaultViewManagerLock_22() const { return ____defaultViewManagerLock_22; }
inline RuntimeObject ** get_address_of__defaultViewManagerLock_22() { return &____defaultViewManagerLock_22; }
inline void set__defaultViewManagerLock_22(RuntimeObject * value)
{
____defaultViewManagerLock_22 = value;
Il2CppCodeGenWriteBarrier((void**)(&____defaultViewManagerLock_22), (void*)value);
}
inline static int32_t get_offset_of__objectID_24() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____objectID_24)); }
inline int32_t get__objectID_24() const { return ____objectID_24; }
inline int32_t* get_address_of__objectID_24() { return &____objectID_24; }
inline void set__objectID_24(int32_t value)
{
____objectID_24 = value;
}
inline static int32_t get_offset_of__useDataSetSchemaOnly_26() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____useDataSetSchemaOnly_26)); }
inline bool get__useDataSetSchemaOnly_26() const { return ____useDataSetSchemaOnly_26; }
inline bool* get_address_of__useDataSetSchemaOnly_26() { return &____useDataSetSchemaOnly_26; }
inline void set__useDataSetSchemaOnly_26(bool value)
{
____useDataSetSchemaOnly_26 = value;
}
inline static int32_t get_offset_of__udtIsWrapped_27() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ____udtIsWrapped_27)); }
inline bool get__udtIsWrapped_27() const { return ____udtIsWrapped_27; }
inline bool* get_address_of__udtIsWrapped_27() { return &____udtIsWrapped_27; }
inline void set__udtIsWrapped_27(bool value)
{
____udtIsWrapped_27 = value;
}
inline static int32_t get_offset_of_PropertyChanging_28() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ___PropertyChanging_28)); }
inline PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 * get_PropertyChanging_28() const { return ___PropertyChanging_28; }
inline PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 ** get_address_of_PropertyChanging_28() { return &___PropertyChanging_28; }
inline void set_PropertyChanging_28(PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 * value)
{
___PropertyChanging_28 = value;
Il2CppCodeGenWriteBarrier((void**)(&___PropertyChanging_28), (void*)value);
}
inline static int32_t get_offset_of_MergeFailed_29() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ___MergeFailed_29)); }
inline MergeFailedEventHandler_t10E3E3F0E24DB1FC0DFEC8687C4D690F5CA57A41 * get_MergeFailed_29() const { return ___MergeFailed_29; }
inline MergeFailedEventHandler_t10E3E3F0E24DB1FC0DFEC8687C4D690F5CA57A41 ** get_address_of_MergeFailed_29() { return &___MergeFailed_29; }
inline void set_MergeFailed_29(MergeFailedEventHandler_t10E3E3F0E24DB1FC0DFEC8687C4D690F5CA57A41 * value)
{
___MergeFailed_29 = value;
Il2CppCodeGenWriteBarrier((void**)(&___MergeFailed_29), (void*)value);
}
inline static int32_t get_offset_of_DataRowCreated_30() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ___DataRowCreated_30)); }
inline DataRowCreatedEventHandler_tE60E7D5E5556337BEB5818E87E217E12F9987102 * get_DataRowCreated_30() const { return ___DataRowCreated_30; }
inline DataRowCreatedEventHandler_tE60E7D5E5556337BEB5818E87E217E12F9987102 ** get_address_of_DataRowCreated_30() { return &___DataRowCreated_30; }
inline void set_DataRowCreated_30(DataRowCreatedEventHandler_tE60E7D5E5556337BEB5818E87E217E12F9987102 * value)
{
___DataRowCreated_30 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DataRowCreated_30), (void*)value);
}
inline static int32_t get_offset_of_ClearFunctionCalled_31() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B, ___ClearFunctionCalled_31)); }
inline DataSetClearEventhandler_tBBB7A6036B60539D6C54C4BADC06DC0E14A7494E * get_ClearFunctionCalled_31() const { return ___ClearFunctionCalled_31; }
inline DataSetClearEventhandler_tBBB7A6036B60539D6C54C4BADC06DC0E14A7494E ** get_address_of_ClearFunctionCalled_31() { return &___ClearFunctionCalled_31; }
inline void set_ClearFunctionCalled_31(DataSetClearEventhandler_tBBB7A6036B60539D6C54C4BADC06DC0E14A7494E * value)
{
___ClearFunctionCalled_31 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ClearFunctionCalled_31), (void*)value);
}
};
struct DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B_StaticFields
{
public:
// System.Int32 System.Data.DataSet::s_objectTypeCount
int32_t ___s_objectTypeCount_23;
// System.Xml.Schema.XmlSchemaComplexType System.Data.DataSet::s_schemaTypeForWSDL
XmlSchemaComplexType_tE6F9E57AB3C89D88DAB166F1F0A3EC2276C2F062 * ___s_schemaTypeForWSDL_25;
public:
inline static int32_t get_offset_of_s_objectTypeCount_23() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B_StaticFields, ___s_objectTypeCount_23)); }
inline int32_t get_s_objectTypeCount_23() const { return ___s_objectTypeCount_23; }
inline int32_t* get_address_of_s_objectTypeCount_23() { return &___s_objectTypeCount_23; }
inline void set_s_objectTypeCount_23(int32_t value)
{
___s_objectTypeCount_23 = value;
}
inline static int32_t get_offset_of_s_schemaTypeForWSDL_25() { return static_cast<int32_t>(offsetof(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B_StaticFields, ___s_schemaTypeForWSDL_25)); }
inline XmlSchemaComplexType_tE6F9E57AB3C89D88DAB166F1F0A3EC2276C2F062 * get_s_schemaTypeForWSDL_25() const { return ___s_schemaTypeForWSDL_25; }
inline XmlSchemaComplexType_tE6F9E57AB3C89D88DAB166F1F0A3EC2276C2F062 ** get_address_of_s_schemaTypeForWSDL_25() { return &___s_schemaTypeForWSDL_25; }
inline void set_s_schemaTypeForWSDL_25(XmlSchemaComplexType_tE6F9E57AB3C89D88DAB166F1F0A3EC2276C2F062 * value)
{
___s_schemaTypeForWSDL_25 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_schemaTypeForWSDL_25), (void*)value);
}
};
// System.Data.DataTable
struct DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 : public MarshalByValueComponent_t932153909102130DE1C7FE6F988139CD9FEF2E3D
{
public:
// System.Data.DataSet System.Data.DataTable::_dataSet
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * ____dataSet_3;
// System.Data.DataView System.Data.DataTable::_defaultView
DataView_t2E5A84859C321ACA156C56B6F1E03BED53E963CF * ____defaultView_4;
// System.Int64 System.Data.DataTable::_nextRowID
int64_t ____nextRowID_5;
// System.Data.DataRowCollection System.Data.DataTable::_rowCollection
DataRowCollection_tFC565C4737B3CCAA82BCB904DF13A3BCD2809310 * ____rowCollection_6;
// System.Data.DataColumnCollection System.Data.DataTable::_columnCollection
DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820 * ____columnCollection_7;
// System.Data.ConstraintCollection System.Data.DataTable::_constraintCollection
ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1 * ____constraintCollection_8;
// System.Int32 System.Data.DataTable::_elementColumnCount
int32_t ____elementColumnCount_9;
// System.Data.DataRelationCollection System.Data.DataTable::_parentRelationsCollection
DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * ____parentRelationsCollection_10;
// System.Data.DataRelationCollection System.Data.DataTable::_childRelationsCollection
DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * ____childRelationsCollection_11;
// System.Data.RecordManager System.Data.DataTable::_recordManager
RecordManager_t88D8410999842025EC74A65B2CD9BA479C5EDC53 * ____recordManager_12;
// System.Collections.Generic.List`1<System.Data.Index> System.Data.DataTable::_indexes
List_1_tD5795870026BEF286BB7B0CEC48058281AD2DA0D * ____indexes_13;
// System.Collections.Generic.List`1<System.Data.Index> System.Data.DataTable::_shadowIndexes
List_1_tD5795870026BEF286BB7B0CEC48058281AD2DA0D * ____shadowIndexes_14;
// System.Int32 System.Data.DataTable::_shadowCount
int32_t ____shadowCount_15;
// System.Data.PropertyCollection System.Data.DataTable::_extendedProperties
PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * ____extendedProperties_16;
// System.String System.Data.DataTable::_tableName
String_t* ____tableName_17;
// System.String System.Data.DataTable::_tableNamespace
String_t* ____tableNamespace_18;
// System.String System.Data.DataTable::_tablePrefix
String_t* ____tablePrefix_19;
// System.Data.DataExpression System.Data.DataTable::_displayExpression
DataExpression_t02B5A14205433D16401B28DB7B2DD5508E71F2E9 * ____displayExpression_20;
// System.Boolean System.Data.DataTable::_fNestedInDataset
bool ____fNestedInDataset_21;
// System.Globalization.CultureInfo System.Data.DataTable::_culture
CultureInfo_t1B787142231DB79ABDCE0659823F908A040E9A98 * ____culture_22;
// System.Boolean System.Data.DataTable::_cultureUserSet
bool ____cultureUserSet_23;
// System.Globalization.CompareInfo System.Data.DataTable::_compareInfo
CompareInfo_t4AB62EC32E8AF1E469E315620C7E3FB8B0CAE0C9 * ____compareInfo_24;
// System.Globalization.CompareOptions System.Data.DataTable::_compareFlags
int32_t ____compareFlags_25;
// System.IFormatProvider System.Data.DataTable::_formatProvider
RuntimeObject* ____formatProvider_26;
// System.StringComparer System.Data.DataTable::_hashCodeProvider
StringComparer_t69EC059128AD0CAE268CA1A1C33125DAC9D7F8D6 * ____hashCodeProvider_27;
// System.Boolean System.Data.DataTable::_caseSensitive
bool ____caseSensitive_28;
// System.Boolean System.Data.DataTable::_caseSensitiveUserSet
bool ____caseSensitiveUserSet_29;
// System.String System.Data.DataTable::_encodedTableName
String_t* ____encodedTableName_30;
// System.Data.DataColumn System.Data.DataTable::_xmlText
DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * ____xmlText_31;
// System.Data.DataColumn System.Data.DataTable::_colUnique
DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * ____colUnique_32;
// System.Decimal System.Data.DataTable::_minOccurs
Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 ____minOccurs_33;
// System.Decimal System.Data.DataTable::_maxOccurs
Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 ____maxOccurs_34;
// System.Boolean System.Data.DataTable::_repeatableElement
bool ____repeatableElement_35;
// System.Object System.Data.DataTable::_typeName
RuntimeObject * ____typeName_36;
// System.Data.UniqueConstraint System.Data.DataTable::_primaryKey
UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 * ____primaryKey_37;
// System.Data.IndexField[] System.Data.DataTable::_primaryIndex
IndexFieldU5BU5D_t5ACA22730370B8DD7B0EF591FD0A08918625568A* ____primaryIndex_38;
// System.Data.DataColumn[] System.Data.DataTable::_delayedSetPrimaryKey
DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* ____delayedSetPrimaryKey_39;
// System.Data.Index System.Data.DataTable::_loadIndex
Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * ____loadIndex_40;
// System.Data.Index System.Data.DataTable::_loadIndexwithOriginalAdded
Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * ____loadIndexwithOriginalAdded_41;
// System.Data.Index System.Data.DataTable::_loadIndexwithCurrentDeleted
Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * ____loadIndexwithCurrentDeleted_42;
// System.Int32 System.Data.DataTable::_suspendIndexEvents
int32_t ____suspendIndexEvents_43;
// System.Boolean System.Data.DataTable::_inDataLoad
bool ____inDataLoad_44;
// System.Boolean System.Data.DataTable::_schemaLoading
bool ____schemaLoading_45;
// System.Boolean System.Data.DataTable::_enforceConstraints
bool ____enforceConstraints_46;
// System.Boolean System.Data.DataTable::_suspendEnforceConstraints
bool ____suspendEnforceConstraints_47;
// System.Boolean System.Data.DataTable::fInitInProgress
bool ___fInitInProgress_48;
// System.Boolean System.Data.DataTable::_inLoad
bool ____inLoad_49;
// System.Boolean System.Data.DataTable::_fInLoadDiffgram
bool ____fInLoadDiffgram_50;
// System.Byte System.Data.DataTable::_isTypedDataTable
uint8_t ____isTypedDataTable_51;
// System.Data.DataRow[] System.Data.DataTable::_emptyDataRowArray
DataRowU5BU5D_t039B78152F7ED6AC096A8A0A91289870EA3A97BD* ____emptyDataRowArray_52;
// System.ComponentModel.PropertyDescriptorCollection System.Data.DataTable::_propertyDescriptorCollectionCache
PropertyDescriptorCollection_t0BB7AE0048C13582B255B7D574F323B4B01D272F * ____propertyDescriptorCollectionCache_53;
// System.Data.DataRelation[] System.Data.DataTable::_nestedParentRelations
DataRelationU5BU5D_tD72718271EA486F2C00EA68F2D1DB7DEB338F96C* ____nestedParentRelations_54;
// System.Collections.Generic.List`1<System.Data.DataColumn> System.Data.DataTable::_dependentColumns
List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4 * ____dependentColumns_55;
// System.Boolean System.Data.DataTable::_mergingData
bool ____mergingData_56;
// System.Data.DataRowChangeEventHandler System.Data.DataTable::_onRowChangedDelegate
DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B * ____onRowChangedDelegate_57;
// System.Data.DataRowChangeEventHandler System.Data.DataTable::_onRowChangingDelegate
DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B * ____onRowChangingDelegate_58;
// System.Data.DataRowChangeEventHandler System.Data.DataTable::_onRowDeletingDelegate
DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B * ____onRowDeletingDelegate_59;
// System.Data.DataRowChangeEventHandler System.Data.DataTable::_onRowDeletedDelegate
DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B * ____onRowDeletedDelegate_60;
// System.Data.DataColumnChangeEventHandler System.Data.DataTable::_onColumnChangedDelegate
DataColumnChangeEventHandler_t70A1ADAB356DD79C67541D04B50A91DF60F3D2A4 * ____onColumnChangedDelegate_61;
// System.Data.DataColumnChangeEventHandler System.Data.DataTable::_onColumnChangingDelegate
DataColumnChangeEventHandler_t70A1ADAB356DD79C67541D04B50A91DF60F3D2A4 * ____onColumnChangingDelegate_62;
// System.Data.DataTableClearEventHandler System.Data.DataTable::_onTableClearingDelegate
DataTableClearEventHandler_t0F631F97E38033D095CDF80C665BF15B8BE38B35 * ____onTableClearingDelegate_63;
// System.Data.DataTableClearEventHandler System.Data.DataTable::_onTableClearedDelegate
DataTableClearEventHandler_t0F631F97E38033D095CDF80C665BF15B8BE38B35 * ____onTableClearedDelegate_64;
// System.Data.DataTableNewRowEventHandler System.Data.DataTable::_onTableNewRowDelegate
DataTableNewRowEventHandler_tD0FA1AC652286E800E155E5AE14EA075DC10897B * ____onTableNewRowDelegate_65;
// System.ComponentModel.PropertyChangedEventHandler System.Data.DataTable::_onPropertyChangingDelegate
PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 * ____onPropertyChangingDelegate_66;
// System.Data.DataRowBuilder System.Data.DataTable::_rowBuilder
DataRowBuilder_t2C7D6576B4CB4899B7E72BC381206146A33BEFA7 * ____rowBuilder_67;
// System.Collections.Generic.List`1<System.Data.DataView> System.Data.DataTable::_delayedViews
List_1_tB89245644B346101AE9E11C1D00E21FC07C571F6 * ____delayedViews_68;
// System.Collections.Generic.List`1<System.Data.DataViewListener> System.Data.DataTable::_dataViewListeners
List_1_tA51850D121A8B0010EBA8C983E6A9624C5E7A4F8 * ____dataViewListeners_69;
// System.Collections.Hashtable System.Data.DataTable::_rowDiffId
Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC * ____rowDiffId_70;
// System.Threading.ReaderWriterLockSlim System.Data.DataTable::_indexesLock
ReaderWriterLockSlim_tABE1342190B3292CBA83424BDE0B46B40965BD7F * ____indexesLock_71;
// System.Int32 System.Data.DataTable::_ukColumnPositionForInference
int32_t ____ukColumnPositionForInference_72;
// System.Data.SerializationFormat System.Data.DataTable::_remotingFormat
int32_t ____remotingFormat_73;
// System.Int32 System.Data.DataTable::_objectID
int32_t ____objectID_75;
public:
inline static int32_t get_offset_of__dataSet_3() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____dataSet_3)); }
inline DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * get__dataSet_3() const { return ____dataSet_3; }
inline DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B ** get_address_of__dataSet_3() { return &____dataSet_3; }
inline void set__dataSet_3(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * value)
{
____dataSet_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dataSet_3), (void*)value);
}
inline static int32_t get_offset_of__defaultView_4() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____defaultView_4)); }
inline DataView_t2E5A84859C321ACA156C56B6F1E03BED53E963CF * get__defaultView_4() const { return ____defaultView_4; }
inline DataView_t2E5A84859C321ACA156C56B6F1E03BED53E963CF ** get_address_of__defaultView_4() { return &____defaultView_4; }
inline void set__defaultView_4(DataView_t2E5A84859C321ACA156C56B6F1E03BED53E963CF * value)
{
____defaultView_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____defaultView_4), (void*)value);
}
inline static int32_t get_offset_of__nextRowID_5() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____nextRowID_5)); }
inline int64_t get__nextRowID_5() const { return ____nextRowID_5; }
inline int64_t* get_address_of__nextRowID_5() { return &____nextRowID_5; }
inline void set__nextRowID_5(int64_t value)
{
____nextRowID_5 = value;
}
inline static int32_t get_offset_of__rowCollection_6() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____rowCollection_6)); }
inline DataRowCollection_tFC565C4737B3CCAA82BCB904DF13A3BCD2809310 * get__rowCollection_6() const { return ____rowCollection_6; }
inline DataRowCollection_tFC565C4737B3CCAA82BCB904DF13A3BCD2809310 ** get_address_of__rowCollection_6() { return &____rowCollection_6; }
inline void set__rowCollection_6(DataRowCollection_tFC565C4737B3CCAA82BCB904DF13A3BCD2809310 * value)
{
____rowCollection_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____rowCollection_6), (void*)value);
}
inline static int32_t get_offset_of__columnCollection_7() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____columnCollection_7)); }
inline DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820 * get__columnCollection_7() const { return ____columnCollection_7; }
inline DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820 ** get_address_of__columnCollection_7() { return &____columnCollection_7; }
inline void set__columnCollection_7(DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820 * value)
{
____columnCollection_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&____columnCollection_7), (void*)value);
}
inline static int32_t get_offset_of__constraintCollection_8() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____constraintCollection_8)); }
inline ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1 * get__constraintCollection_8() const { return ____constraintCollection_8; }
inline ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1 ** get_address_of__constraintCollection_8() { return &____constraintCollection_8; }
inline void set__constraintCollection_8(ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1 * value)
{
____constraintCollection_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&____constraintCollection_8), (void*)value);
}
inline static int32_t get_offset_of__elementColumnCount_9() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____elementColumnCount_9)); }
inline int32_t get__elementColumnCount_9() const { return ____elementColumnCount_9; }
inline int32_t* get_address_of__elementColumnCount_9() { return &____elementColumnCount_9; }
inline void set__elementColumnCount_9(int32_t value)
{
____elementColumnCount_9 = value;
}
inline static int32_t get_offset_of__parentRelationsCollection_10() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____parentRelationsCollection_10)); }
inline DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * get__parentRelationsCollection_10() const { return ____parentRelationsCollection_10; }
inline DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 ** get_address_of__parentRelationsCollection_10() { return &____parentRelationsCollection_10; }
inline void set__parentRelationsCollection_10(DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * value)
{
____parentRelationsCollection_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&____parentRelationsCollection_10), (void*)value);
}
inline static int32_t get_offset_of__childRelationsCollection_11() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____childRelationsCollection_11)); }
inline DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * get__childRelationsCollection_11() const { return ____childRelationsCollection_11; }
inline DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 ** get_address_of__childRelationsCollection_11() { return &____childRelationsCollection_11; }
inline void set__childRelationsCollection_11(DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * value)
{
____childRelationsCollection_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&____childRelationsCollection_11), (void*)value);
}
inline static int32_t get_offset_of__recordManager_12() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____recordManager_12)); }
inline RecordManager_t88D8410999842025EC74A65B2CD9BA479C5EDC53 * get__recordManager_12() const { return ____recordManager_12; }
inline RecordManager_t88D8410999842025EC74A65B2CD9BA479C5EDC53 ** get_address_of__recordManager_12() { return &____recordManager_12; }
inline void set__recordManager_12(RecordManager_t88D8410999842025EC74A65B2CD9BA479C5EDC53 * value)
{
____recordManager_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&____recordManager_12), (void*)value);
}
inline static int32_t get_offset_of__indexes_13() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____indexes_13)); }
inline List_1_tD5795870026BEF286BB7B0CEC48058281AD2DA0D * get__indexes_13() const { return ____indexes_13; }
inline List_1_tD5795870026BEF286BB7B0CEC48058281AD2DA0D ** get_address_of__indexes_13() { return &____indexes_13; }
inline void set__indexes_13(List_1_tD5795870026BEF286BB7B0CEC48058281AD2DA0D * value)
{
____indexes_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&____indexes_13), (void*)value);
}
inline static int32_t get_offset_of__shadowIndexes_14() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____shadowIndexes_14)); }
inline List_1_tD5795870026BEF286BB7B0CEC48058281AD2DA0D * get__shadowIndexes_14() const { return ____shadowIndexes_14; }
inline List_1_tD5795870026BEF286BB7B0CEC48058281AD2DA0D ** get_address_of__shadowIndexes_14() { return &____shadowIndexes_14; }
inline void set__shadowIndexes_14(List_1_tD5795870026BEF286BB7B0CEC48058281AD2DA0D * value)
{
____shadowIndexes_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&____shadowIndexes_14), (void*)value);
}
inline static int32_t get_offset_of__shadowCount_15() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____shadowCount_15)); }
inline int32_t get__shadowCount_15() const { return ____shadowCount_15; }
inline int32_t* get_address_of__shadowCount_15() { return &____shadowCount_15; }
inline void set__shadowCount_15(int32_t value)
{
____shadowCount_15 = value;
}
inline static int32_t get_offset_of__extendedProperties_16() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____extendedProperties_16)); }
inline PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * get__extendedProperties_16() const { return ____extendedProperties_16; }
inline PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 ** get_address_of__extendedProperties_16() { return &____extendedProperties_16; }
inline void set__extendedProperties_16(PropertyCollection_tB3B42BDE84A831DD057EAB1C19F69AB0625F5012 * value)
{
____extendedProperties_16 = value;
Il2CppCodeGenWriteBarrier((void**)(&____extendedProperties_16), (void*)value);
}
inline static int32_t get_offset_of__tableName_17() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____tableName_17)); }
inline String_t* get__tableName_17() const { return ____tableName_17; }
inline String_t** get_address_of__tableName_17() { return &____tableName_17; }
inline void set__tableName_17(String_t* value)
{
____tableName_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&____tableName_17), (void*)value);
}
inline static int32_t get_offset_of__tableNamespace_18() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____tableNamespace_18)); }
inline String_t* get__tableNamespace_18() const { return ____tableNamespace_18; }
inline String_t** get_address_of__tableNamespace_18() { return &____tableNamespace_18; }
inline void set__tableNamespace_18(String_t* value)
{
____tableNamespace_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&____tableNamespace_18), (void*)value);
}
inline static int32_t get_offset_of__tablePrefix_19() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____tablePrefix_19)); }
inline String_t* get__tablePrefix_19() const { return ____tablePrefix_19; }
inline String_t** get_address_of__tablePrefix_19() { return &____tablePrefix_19; }
inline void set__tablePrefix_19(String_t* value)
{
____tablePrefix_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&____tablePrefix_19), (void*)value);
}
inline static int32_t get_offset_of__displayExpression_20() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____displayExpression_20)); }
inline DataExpression_t02B5A14205433D16401B28DB7B2DD5508E71F2E9 * get__displayExpression_20() const { return ____displayExpression_20; }
inline DataExpression_t02B5A14205433D16401B28DB7B2DD5508E71F2E9 ** get_address_of__displayExpression_20() { return &____displayExpression_20; }
inline void set__displayExpression_20(DataExpression_t02B5A14205433D16401B28DB7B2DD5508E71F2E9 * value)
{
____displayExpression_20 = value;
Il2CppCodeGenWriteBarrier((void**)(&____displayExpression_20), (void*)value);
}
inline static int32_t get_offset_of__fNestedInDataset_21() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____fNestedInDataset_21)); }
inline bool get__fNestedInDataset_21() const { return ____fNestedInDataset_21; }
inline bool* get_address_of__fNestedInDataset_21() { return &____fNestedInDataset_21; }
inline void set__fNestedInDataset_21(bool value)
{
____fNestedInDataset_21 = value;
}
inline static int32_t get_offset_of__culture_22() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____culture_22)); }
inline CultureInfo_t1B787142231DB79ABDCE0659823F908A040E9A98 * get__culture_22() const { return ____culture_22; }
inline CultureInfo_t1B787142231DB79ABDCE0659823F908A040E9A98 ** get_address_of__culture_22() { return &____culture_22; }
inline void set__culture_22(CultureInfo_t1B787142231DB79ABDCE0659823F908A040E9A98 * value)
{
____culture_22 = value;
Il2CppCodeGenWriteBarrier((void**)(&____culture_22), (void*)value);
}
inline static int32_t get_offset_of__cultureUserSet_23() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____cultureUserSet_23)); }
inline bool get__cultureUserSet_23() const { return ____cultureUserSet_23; }
inline bool* get_address_of__cultureUserSet_23() { return &____cultureUserSet_23; }
inline void set__cultureUserSet_23(bool value)
{
____cultureUserSet_23 = value;
}
inline static int32_t get_offset_of__compareInfo_24() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____compareInfo_24)); }
inline CompareInfo_t4AB62EC32E8AF1E469E315620C7E3FB8B0CAE0C9 * get__compareInfo_24() const { return ____compareInfo_24; }
inline CompareInfo_t4AB62EC32E8AF1E469E315620C7E3FB8B0CAE0C9 ** get_address_of__compareInfo_24() { return &____compareInfo_24; }
inline void set__compareInfo_24(CompareInfo_t4AB62EC32E8AF1E469E315620C7E3FB8B0CAE0C9 * value)
{
____compareInfo_24 = value;
Il2CppCodeGenWriteBarrier((void**)(&____compareInfo_24), (void*)value);
}
inline static int32_t get_offset_of__compareFlags_25() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____compareFlags_25)); }
inline int32_t get__compareFlags_25() const { return ____compareFlags_25; }
inline int32_t* get_address_of__compareFlags_25() { return &____compareFlags_25; }
inline void set__compareFlags_25(int32_t value)
{
____compareFlags_25 = value;
}
inline static int32_t get_offset_of__formatProvider_26() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____formatProvider_26)); }
inline RuntimeObject* get__formatProvider_26() const { return ____formatProvider_26; }
inline RuntimeObject** get_address_of__formatProvider_26() { return &____formatProvider_26; }
inline void set__formatProvider_26(RuntimeObject* value)
{
____formatProvider_26 = value;
Il2CppCodeGenWriteBarrier((void**)(&____formatProvider_26), (void*)value);
}
inline static int32_t get_offset_of__hashCodeProvider_27() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____hashCodeProvider_27)); }
inline StringComparer_t69EC059128AD0CAE268CA1A1C33125DAC9D7F8D6 * get__hashCodeProvider_27() const { return ____hashCodeProvider_27; }
inline StringComparer_t69EC059128AD0CAE268CA1A1C33125DAC9D7F8D6 ** get_address_of__hashCodeProvider_27() { return &____hashCodeProvider_27; }
inline void set__hashCodeProvider_27(StringComparer_t69EC059128AD0CAE268CA1A1C33125DAC9D7F8D6 * value)
{
____hashCodeProvider_27 = value;
Il2CppCodeGenWriteBarrier((void**)(&____hashCodeProvider_27), (void*)value);
}
inline static int32_t get_offset_of__caseSensitive_28() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____caseSensitive_28)); }
inline bool get__caseSensitive_28() const { return ____caseSensitive_28; }
inline bool* get_address_of__caseSensitive_28() { return &____caseSensitive_28; }
inline void set__caseSensitive_28(bool value)
{
____caseSensitive_28 = value;
}
inline static int32_t get_offset_of__caseSensitiveUserSet_29() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____caseSensitiveUserSet_29)); }
inline bool get__caseSensitiveUserSet_29() const { return ____caseSensitiveUserSet_29; }
inline bool* get_address_of__caseSensitiveUserSet_29() { return &____caseSensitiveUserSet_29; }
inline void set__caseSensitiveUserSet_29(bool value)
{
____caseSensitiveUserSet_29 = value;
}
inline static int32_t get_offset_of__encodedTableName_30() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____encodedTableName_30)); }
inline String_t* get__encodedTableName_30() const { return ____encodedTableName_30; }
inline String_t** get_address_of__encodedTableName_30() { return &____encodedTableName_30; }
inline void set__encodedTableName_30(String_t* value)
{
____encodedTableName_30 = value;
Il2CppCodeGenWriteBarrier((void**)(&____encodedTableName_30), (void*)value);
}
inline static int32_t get_offset_of__xmlText_31() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____xmlText_31)); }
inline DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * get__xmlText_31() const { return ____xmlText_31; }
inline DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 ** get_address_of__xmlText_31() { return &____xmlText_31; }
inline void set__xmlText_31(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * value)
{
____xmlText_31 = value;
Il2CppCodeGenWriteBarrier((void**)(&____xmlText_31), (void*)value);
}
inline static int32_t get_offset_of__colUnique_32() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____colUnique_32)); }
inline DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * get__colUnique_32() const { return ____colUnique_32; }
inline DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 ** get_address_of__colUnique_32() { return &____colUnique_32; }
inline void set__colUnique_32(DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * value)
{
____colUnique_32 = value;
Il2CppCodeGenWriteBarrier((void**)(&____colUnique_32), (void*)value);
}
inline static int32_t get_offset_of__minOccurs_33() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____minOccurs_33)); }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 get__minOccurs_33() const { return ____minOccurs_33; }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 * get_address_of__minOccurs_33() { return &____minOccurs_33; }
inline void set__minOccurs_33(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 value)
{
____minOccurs_33 = value;
}
inline static int32_t get_offset_of__maxOccurs_34() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____maxOccurs_34)); }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 get__maxOccurs_34() const { return ____maxOccurs_34; }
inline Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 * get_address_of__maxOccurs_34() { return &____maxOccurs_34; }
inline void set__maxOccurs_34(Decimal_t2978B229CA86D3B7BA66A0AEEE014E0DE4F940D7 value)
{
____maxOccurs_34 = value;
}
inline static int32_t get_offset_of__repeatableElement_35() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____repeatableElement_35)); }
inline bool get__repeatableElement_35() const { return ____repeatableElement_35; }
inline bool* get_address_of__repeatableElement_35() { return &____repeatableElement_35; }
inline void set__repeatableElement_35(bool value)
{
____repeatableElement_35 = value;
}
inline static int32_t get_offset_of__typeName_36() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____typeName_36)); }
inline RuntimeObject * get__typeName_36() const { return ____typeName_36; }
inline RuntimeObject ** get_address_of__typeName_36() { return &____typeName_36; }
inline void set__typeName_36(RuntimeObject * value)
{
____typeName_36 = value;
Il2CppCodeGenWriteBarrier((void**)(&____typeName_36), (void*)value);
}
inline static int32_t get_offset_of__primaryKey_37() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____primaryKey_37)); }
inline UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 * get__primaryKey_37() const { return ____primaryKey_37; }
inline UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 ** get_address_of__primaryKey_37() { return &____primaryKey_37; }
inline void set__primaryKey_37(UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 * value)
{
____primaryKey_37 = value;
Il2CppCodeGenWriteBarrier((void**)(&____primaryKey_37), (void*)value);
}
inline static int32_t get_offset_of__primaryIndex_38() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____primaryIndex_38)); }
inline IndexFieldU5BU5D_t5ACA22730370B8DD7B0EF591FD0A08918625568A* get__primaryIndex_38() const { return ____primaryIndex_38; }
inline IndexFieldU5BU5D_t5ACA22730370B8DD7B0EF591FD0A08918625568A** get_address_of__primaryIndex_38() { return &____primaryIndex_38; }
inline void set__primaryIndex_38(IndexFieldU5BU5D_t5ACA22730370B8DD7B0EF591FD0A08918625568A* value)
{
____primaryIndex_38 = value;
Il2CppCodeGenWriteBarrier((void**)(&____primaryIndex_38), (void*)value);
}
inline static int32_t get_offset_of__delayedSetPrimaryKey_39() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____delayedSetPrimaryKey_39)); }
inline DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* get__delayedSetPrimaryKey_39() const { return ____delayedSetPrimaryKey_39; }
inline DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C** get_address_of__delayedSetPrimaryKey_39() { return &____delayedSetPrimaryKey_39; }
inline void set__delayedSetPrimaryKey_39(DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* value)
{
____delayedSetPrimaryKey_39 = value;
Il2CppCodeGenWriteBarrier((void**)(&____delayedSetPrimaryKey_39), (void*)value);
}
inline static int32_t get_offset_of__loadIndex_40() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____loadIndex_40)); }
inline Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * get__loadIndex_40() const { return ____loadIndex_40; }
inline Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 ** get_address_of__loadIndex_40() { return &____loadIndex_40; }
inline void set__loadIndex_40(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * value)
{
____loadIndex_40 = value;
Il2CppCodeGenWriteBarrier((void**)(&____loadIndex_40), (void*)value);
}
inline static int32_t get_offset_of__loadIndexwithOriginalAdded_41() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____loadIndexwithOriginalAdded_41)); }
inline Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * get__loadIndexwithOriginalAdded_41() const { return ____loadIndexwithOriginalAdded_41; }
inline Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 ** get_address_of__loadIndexwithOriginalAdded_41() { return &____loadIndexwithOriginalAdded_41; }
inline void set__loadIndexwithOriginalAdded_41(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * value)
{
____loadIndexwithOriginalAdded_41 = value;
Il2CppCodeGenWriteBarrier((void**)(&____loadIndexwithOriginalAdded_41), (void*)value);
}
inline static int32_t get_offset_of__loadIndexwithCurrentDeleted_42() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____loadIndexwithCurrentDeleted_42)); }
inline Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * get__loadIndexwithCurrentDeleted_42() const { return ____loadIndexwithCurrentDeleted_42; }
inline Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 ** get_address_of__loadIndexwithCurrentDeleted_42() { return &____loadIndexwithCurrentDeleted_42; }
inline void set__loadIndexwithCurrentDeleted_42(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * value)
{
____loadIndexwithCurrentDeleted_42 = value;
Il2CppCodeGenWriteBarrier((void**)(&____loadIndexwithCurrentDeleted_42), (void*)value);
}
inline static int32_t get_offset_of__suspendIndexEvents_43() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____suspendIndexEvents_43)); }
inline int32_t get__suspendIndexEvents_43() const { return ____suspendIndexEvents_43; }
inline int32_t* get_address_of__suspendIndexEvents_43() { return &____suspendIndexEvents_43; }
inline void set__suspendIndexEvents_43(int32_t value)
{
____suspendIndexEvents_43 = value;
}
inline static int32_t get_offset_of__inDataLoad_44() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____inDataLoad_44)); }
inline bool get__inDataLoad_44() const { return ____inDataLoad_44; }
inline bool* get_address_of__inDataLoad_44() { return &____inDataLoad_44; }
inline void set__inDataLoad_44(bool value)
{
____inDataLoad_44 = value;
}
inline static int32_t get_offset_of__schemaLoading_45() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____schemaLoading_45)); }
inline bool get__schemaLoading_45() const { return ____schemaLoading_45; }
inline bool* get_address_of__schemaLoading_45() { return &____schemaLoading_45; }
inline void set__schemaLoading_45(bool value)
{
____schemaLoading_45 = value;
}
inline static int32_t get_offset_of__enforceConstraints_46() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____enforceConstraints_46)); }
inline bool get__enforceConstraints_46() const { return ____enforceConstraints_46; }
inline bool* get_address_of__enforceConstraints_46() { return &____enforceConstraints_46; }
inline void set__enforceConstraints_46(bool value)
{
____enforceConstraints_46 = value;
}
inline static int32_t get_offset_of__suspendEnforceConstraints_47() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____suspendEnforceConstraints_47)); }
inline bool get__suspendEnforceConstraints_47() const { return ____suspendEnforceConstraints_47; }
inline bool* get_address_of__suspendEnforceConstraints_47() { return &____suspendEnforceConstraints_47; }
inline void set__suspendEnforceConstraints_47(bool value)
{
____suspendEnforceConstraints_47 = value;
}
inline static int32_t get_offset_of_fInitInProgress_48() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ___fInitInProgress_48)); }
inline bool get_fInitInProgress_48() const { return ___fInitInProgress_48; }
inline bool* get_address_of_fInitInProgress_48() { return &___fInitInProgress_48; }
inline void set_fInitInProgress_48(bool value)
{
___fInitInProgress_48 = value;
}
inline static int32_t get_offset_of__inLoad_49() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____inLoad_49)); }
inline bool get__inLoad_49() const { return ____inLoad_49; }
inline bool* get_address_of__inLoad_49() { return &____inLoad_49; }
inline void set__inLoad_49(bool value)
{
____inLoad_49 = value;
}
inline static int32_t get_offset_of__fInLoadDiffgram_50() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____fInLoadDiffgram_50)); }
inline bool get__fInLoadDiffgram_50() const { return ____fInLoadDiffgram_50; }
inline bool* get_address_of__fInLoadDiffgram_50() { return &____fInLoadDiffgram_50; }
inline void set__fInLoadDiffgram_50(bool value)
{
____fInLoadDiffgram_50 = value;
}
inline static int32_t get_offset_of__isTypedDataTable_51() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____isTypedDataTable_51)); }
inline uint8_t get__isTypedDataTable_51() const { return ____isTypedDataTable_51; }
inline uint8_t* get_address_of__isTypedDataTable_51() { return &____isTypedDataTable_51; }
inline void set__isTypedDataTable_51(uint8_t value)
{
____isTypedDataTable_51 = value;
}
inline static int32_t get_offset_of__emptyDataRowArray_52() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____emptyDataRowArray_52)); }
inline DataRowU5BU5D_t039B78152F7ED6AC096A8A0A91289870EA3A97BD* get__emptyDataRowArray_52() const { return ____emptyDataRowArray_52; }
inline DataRowU5BU5D_t039B78152F7ED6AC096A8A0A91289870EA3A97BD** get_address_of__emptyDataRowArray_52() { return &____emptyDataRowArray_52; }
inline void set__emptyDataRowArray_52(DataRowU5BU5D_t039B78152F7ED6AC096A8A0A91289870EA3A97BD* value)
{
____emptyDataRowArray_52 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyDataRowArray_52), (void*)value);
}
inline static int32_t get_offset_of__propertyDescriptorCollectionCache_53() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____propertyDescriptorCollectionCache_53)); }
inline PropertyDescriptorCollection_t0BB7AE0048C13582B255B7D574F323B4B01D272F * get__propertyDescriptorCollectionCache_53() const { return ____propertyDescriptorCollectionCache_53; }
inline PropertyDescriptorCollection_t0BB7AE0048C13582B255B7D574F323B4B01D272F ** get_address_of__propertyDescriptorCollectionCache_53() { return &____propertyDescriptorCollectionCache_53; }
inline void set__propertyDescriptorCollectionCache_53(PropertyDescriptorCollection_t0BB7AE0048C13582B255B7D574F323B4B01D272F * value)
{
____propertyDescriptorCollectionCache_53 = value;
Il2CppCodeGenWriteBarrier((void**)(&____propertyDescriptorCollectionCache_53), (void*)value);
}
inline static int32_t get_offset_of__nestedParentRelations_54() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____nestedParentRelations_54)); }
inline DataRelationU5BU5D_tD72718271EA486F2C00EA68F2D1DB7DEB338F96C* get__nestedParentRelations_54() const { return ____nestedParentRelations_54; }
inline DataRelationU5BU5D_tD72718271EA486F2C00EA68F2D1DB7DEB338F96C** get_address_of__nestedParentRelations_54() { return &____nestedParentRelations_54; }
inline void set__nestedParentRelations_54(DataRelationU5BU5D_tD72718271EA486F2C00EA68F2D1DB7DEB338F96C* value)
{
____nestedParentRelations_54 = value;
Il2CppCodeGenWriteBarrier((void**)(&____nestedParentRelations_54), (void*)value);
}
inline static int32_t get_offset_of__dependentColumns_55() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____dependentColumns_55)); }
inline List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4 * get__dependentColumns_55() const { return ____dependentColumns_55; }
inline List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4 ** get_address_of__dependentColumns_55() { return &____dependentColumns_55; }
inline void set__dependentColumns_55(List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4 * value)
{
____dependentColumns_55 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dependentColumns_55), (void*)value);
}
inline static int32_t get_offset_of__mergingData_56() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____mergingData_56)); }
inline bool get__mergingData_56() const { return ____mergingData_56; }
inline bool* get_address_of__mergingData_56() { return &____mergingData_56; }
inline void set__mergingData_56(bool value)
{
____mergingData_56 = value;
}
inline static int32_t get_offset_of__onRowChangedDelegate_57() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____onRowChangedDelegate_57)); }
inline DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B * get__onRowChangedDelegate_57() const { return ____onRowChangedDelegate_57; }
inline DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B ** get_address_of__onRowChangedDelegate_57() { return &____onRowChangedDelegate_57; }
inline void set__onRowChangedDelegate_57(DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B * value)
{
____onRowChangedDelegate_57 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onRowChangedDelegate_57), (void*)value);
}
inline static int32_t get_offset_of__onRowChangingDelegate_58() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____onRowChangingDelegate_58)); }
inline DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B * get__onRowChangingDelegate_58() const { return ____onRowChangingDelegate_58; }
inline DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B ** get_address_of__onRowChangingDelegate_58() { return &____onRowChangingDelegate_58; }
inline void set__onRowChangingDelegate_58(DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B * value)
{
____onRowChangingDelegate_58 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onRowChangingDelegate_58), (void*)value);
}
inline static int32_t get_offset_of__onRowDeletingDelegate_59() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____onRowDeletingDelegate_59)); }
inline DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B * get__onRowDeletingDelegate_59() const { return ____onRowDeletingDelegate_59; }
inline DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B ** get_address_of__onRowDeletingDelegate_59() { return &____onRowDeletingDelegate_59; }
inline void set__onRowDeletingDelegate_59(DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B * value)
{
____onRowDeletingDelegate_59 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onRowDeletingDelegate_59), (void*)value);
}
inline static int32_t get_offset_of__onRowDeletedDelegate_60() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____onRowDeletedDelegate_60)); }
inline DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B * get__onRowDeletedDelegate_60() const { return ____onRowDeletedDelegate_60; }
inline DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B ** get_address_of__onRowDeletedDelegate_60() { return &____onRowDeletedDelegate_60; }
inline void set__onRowDeletedDelegate_60(DataRowChangeEventHandler_t1CA1E6A9B920F2EFD9E6A2F51F0938EB682D901B * value)
{
____onRowDeletedDelegate_60 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onRowDeletedDelegate_60), (void*)value);
}
inline static int32_t get_offset_of__onColumnChangedDelegate_61() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____onColumnChangedDelegate_61)); }
inline DataColumnChangeEventHandler_t70A1ADAB356DD79C67541D04B50A91DF60F3D2A4 * get__onColumnChangedDelegate_61() const { return ____onColumnChangedDelegate_61; }
inline DataColumnChangeEventHandler_t70A1ADAB356DD79C67541D04B50A91DF60F3D2A4 ** get_address_of__onColumnChangedDelegate_61() { return &____onColumnChangedDelegate_61; }
inline void set__onColumnChangedDelegate_61(DataColumnChangeEventHandler_t70A1ADAB356DD79C67541D04B50A91DF60F3D2A4 * value)
{
____onColumnChangedDelegate_61 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onColumnChangedDelegate_61), (void*)value);
}
inline static int32_t get_offset_of__onColumnChangingDelegate_62() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____onColumnChangingDelegate_62)); }
inline DataColumnChangeEventHandler_t70A1ADAB356DD79C67541D04B50A91DF60F3D2A4 * get__onColumnChangingDelegate_62() const { return ____onColumnChangingDelegate_62; }
inline DataColumnChangeEventHandler_t70A1ADAB356DD79C67541D04B50A91DF60F3D2A4 ** get_address_of__onColumnChangingDelegate_62() { return &____onColumnChangingDelegate_62; }
inline void set__onColumnChangingDelegate_62(DataColumnChangeEventHandler_t70A1ADAB356DD79C67541D04B50A91DF60F3D2A4 * value)
{
____onColumnChangingDelegate_62 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onColumnChangingDelegate_62), (void*)value);
}
inline static int32_t get_offset_of__onTableClearingDelegate_63() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____onTableClearingDelegate_63)); }
inline DataTableClearEventHandler_t0F631F97E38033D095CDF80C665BF15B8BE38B35 * get__onTableClearingDelegate_63() const { return ____onTableClearingDelegate_63; }
inline DataTableClearEventHandler_t0F631F97E38033D095CDF80C665BF15B8BE38B35 ** get_address_of__onTableClearingDelegate_63() { return &____onTableClearingDelegate_63; }
inline void set__onTableClearingDelegate_63(DataTableClearEventHandler_t0F631F97E38033D095CDF80C665BF15B8BE38B35 * value)
{
____onTableClearingDelegate_63 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onTableClearingDelegate_63), (void*)value);
}
inline static int32_t get_offset_of__onTableClearedDelegate_64() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____onTableClearedDelegate_64)); }
inline DataTableClearEventHandler_t0F631F97E38033D095CDF80C665BF15B8BE38B35 * get__onTableClearedDelegate_64() const { return ____onTableClearedDelegate_64; }
inline DataTableClearEventHandler_t0F631F97E38033D095CDF80C665BF15B8BE38B35 ** get_address_of__onTableClearedDelegate_64() { return &____onTableClearedDelegate_64; }
inline void set__onTableClearedDelegate_64(DataTableClearEventHandler_t0F631F97E38033D095CDF80C665BF15B8BE38B35 * value)
{
____onTableClearedDelegate_64 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onTableClearedDelegate_64), (void*)value);
}
inline static int32_t get_offset_of__onTableNewRowDelegate_65() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____onTableNewRowDelegate_65)); }
inline DataTableNewRowEventHandler_tD0FA1AC652286E800E155E5AE14EA075DC10897B * get__onTableNewRowDelegate_65() const { return ____onTableNewRowDelegate_65; }
inline DataTableNewRowEventHandler_tD0FA1AC652286E800E155E5AE14EA075DC10897B ** get_address_of__onTableNewRowDelegate_65() { return &____onTableNewRowDelegate_65; }
inline void set__onTableNewRowDelegate_65(DataTableNewRowEventHandler_tD0FA1AC652286E800E155E5AE14EA075DC10897B * value)
{
____onTableNewRowDelegate_65 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onTableNewRowDelegate_65), (void*)value);
}
inline static int32_t get_offset_of__onPropertyChangingDelegate_66() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____onPropertyChangingDelegate_66)); }
inline PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 * get__onPropertyChangingDelegate_66() const { return ____onPropertyChangingDelegate_66; }
inline PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 ** get_address_of__onPropertyChangingDelegate_66() { return &____onPropertyChangingDelegate_66; }
inline void set__onPropertyChangingDelegate_66(PropertyChangedEventHandler_t094CCD63C952DCD4E1ED794434160679C28A8E99 * value)
{
____onPropertyChangingDelegate_66 = value;
Il2CppCodeGenWriteBarrier((void**)(&____onPropertyChangingDelegate_66), (void*)value);
}
inline static int32_t get_offset_of__rowBuilder_67() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____rowBuilder_67)); }
inline DataRowBuilder_t2C7D6576B4CB4899B7E72BC381206146A33BEFA7 * get__rowBuilder_67() const { return ____rowBuilder_67; }
inline DataRowBuilder_t2C7D6576B4CB4899B7E72BC381206146A33BEFA7 ** get_address_of__rowBuilder_67() { return &____rowBuilder_67; }
inline void set__rowBuilder_67(DataRowBuilder_t2C7D6576B4CB4899B7E72BC381206146A33BEFA7 * value)
{
____rowBuilder_67 = value;
Il2CppCodeGenWriteBarrier((void**)(&____rowBuilder_67), (void*)value);
}
inline static int32_t get_offset_of__delayedViews_68() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____delayedViews_68)); }
inline List_1_tB89245644B346101AE9E11C1D00E21FC07C571F6 * get__delayedViews_68() const { return ____delayedViews_68; }
inline List_1_tB89245644B346101AE9E11C1D00E21FC07C571F6 ** get_address_of__delayedViews_68() { return &____delayedViews_68; }
inline void set__delayedViews_68(List_1_tB89245644B346101AE9E11C1D00E21FC07C571F6 * value)
{
____delayedViews_68 = value;
Il2CppCodeGenWriteBarrier((void**)(&____delayedViews_68), (void*)value);
}
inline static int32_t get_offset_of__dataViewListeners_69() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____dataViewListeners_69)); }
inline List_1_tA51850D121A8B0010EBA8C983E6A9624C5E7A4F8 * get__dataViewListeners_69() const { return ____dataViewListeners_69; }
inline List_1_tA51850D121A8B0010EBA8C983E6A9624C5E7A4F8 ** get_address_of__dataViewListeners_69() { return &____dataViewListeners_69; }
inline void set__dataViewListeners_69(List_1_tA51850D121A8B0010EBA8C983E6A9624C5E7A4F8 * value)
{
____dataViewListeners_69 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dataViewListeners_69), (void*)value);
}
inline static int32_t get_offset_of__rowDiffId_70() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____rowDiffId_70)); }
inline Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC * get__rowDiffId_70() const { return ____rowDiffId_70; }
inline Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC ** get_address_of__rowDiffId_70() { return &____rowDiffId_70; }
inline void set__rowDiffId_70(Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC * value)
{
____rowDiffId_70 = value;
Il2CppCodeGenWriteBarrier((void**)(&____rowDiffId_70), (void*)value);
}
inline static int32_t get_offset_of__indexesLock_71() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____indexesLock_71)); }
inline ReaderWriterLockSlim_tABE1342190B3292CBA83424BDE0B46B40965BD7F * get__indexesLock_71() const { return ____indexesLock_71; }
inline ReaderWriterLockSlim_tABE1342190B3292CBA83424BDE0B46B40965BD7F ** get_address_of__indexesLock_71() { return &____indexesLock_71; }
inline void set__indexesLock_71(ReaderWriterLockSlim_tABE1342190B3292CBA83424BDE0B46B40965BD7F * value)
{
____indexesLock_71 = value;
Il2CppCodeGenWriteBarrier((void**)(&____indexesLock_71), (void*)value);
}
inline static int32_t get_offset_of__ukColumnPositionForInference_72() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____ukColumnPositionForInference_72)); }
inline int32_t get__ukColumnPositionForInference_72() const { return ____ukColumnPositionForInference_72; }
inline int32_t* get_address_of__ukColumnPositionForInference_72() { return &____ukColumnPositionForInference_72; }
inline void set__ukColumnPositionForInference_72(int32_t value)
{
____ukColumnPositionForInference_72 = value;
}
inline static int32_t get_offset_of__remotingFormat_73() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____remotingFormat_73)); }
inline int32_t get__remotingFormat_73() const { return ____remotingFormat_73; }
inline int32_t* get_address_of__remotingFormat_73() { return &____remotingFormat_73; }
inline void set__remotingFormat_73(int32_t value)
{
____remotingFormat_73 = value;
}
inline static int32_t get_offset_of__objectID_75() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827, ____objectID_75)); }
inline int32_t get__objectID_75() const { return ____objectID_75; }
inline int32_t* get_address_of__objectID_75() { return &____objectID_75; }
inline void set__objectID_75(int32_t value)
{
____objectID_75 = value;
}
};
struct DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827_StaticFields
{
public:
// System.Int32 System.Data.DataTable::s_objectTypeCount
int32_t ___s_objectTypeCount_74;
public:
inline static int32_t get_offset_of_s_objectTypeCount_74() { return static_cast<int32_t>(offsetof(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827_StaticFields, ___s_objectTypeCount_74)); }
inline int32_t get_s_objectTypeCount_74() const { return ___s_objectTypeCount_74; }
inline int32_t* get_address_of_s_objectTypeCount_74() { return &___s_objectTypeCount_74; }
inline void set_s_objectTypeCount_74(int32_t value)
{
___s_objectTypeCount_74 = value;
}
};
// System.Data.ForeignKeyConstraint
struct ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD : public Constraint_t9340D631C91CD0399D286378A00A40D2FA46EC4B
{
public:
// System.Data.Rule System.Data.ForeignKeyConstraint::_deleteRule
int32_t ____deleteRule_5;
// System.Data.Rule System.Data.ForeignKeyConstraint::_updateRule
int32_t ____updateRule_6;
// System.Data.AcceptRejectRule System.Data.ForeignKeyConstraint::_acceptRejectRule
int32_t ____acceptRejectRule_7;
// System.Data.DataKey System.Data.ForeignKeyConstraint::_childKey
DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 ____childKey_8;
// System.Data.DataKey System.Data.ForeignKeyConstraint::_parentKey
DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 ____parentKey_9;
public:
inline static int32_t get_offset_of__deleteRule_5() { return static_cast<int32_t>(offsetof(ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD, ____deleteRule_5)); }
inline int32_t get__deleteRule_5() const { return ____deleteRule_5; }
inline int32_t* get_address_of__deleteRule_5() { return &____deleteRule_5; }
inline void set__deleteRule_5(int32_t value)
{
____deleteRule_5 = value;
}
inline static int32_t get_offset_of__updateRule_6() { return static_cast<int32_t>(offsetof(ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD, ____updateRule_6)); }
inline int32_t get__updateRule_6() const { return ____updateRule_6; }
inline int32_t* get_address_of__updateRule_6() { return &____updateRule_6; }
inline void set__updateRule_6(int32_t value)
{
____updateRule_6 = value;
}
inline static int32_t get_offset_of__acceptRejectRule_7() { return static_cast<int32_t>(offsetof(ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD, ____acceptRejectRule_7)); }
inline int32_t get__acceptRejectRule_7() const { return ____acceptRejectRule_7; }
inline int32_t* get_address_of__acceptRejectRule_7() { return &____acceptRejectRule_7; }
inline void set__acceptRejectRule_7(int32_t value)
{
____acceptRejectRule_7 = value;
}
inline static int32_t get_offset_of__childKey_8() { return static_cast<int32_t>(offsetof(ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD, ____childKey_8)); }
inline DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 get__childKey_8() const { return ____childKey_8; }
inline DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 * get_address_of__childKey_8() { return &____childKey_8; }
inline void set__childKey_8(DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 value)
{
____childKey_8 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&____childKey_8))->____columns_0), (void*)NULL);
}
inline static int32_t get_offset_of__parentKey_9() { return static_cast<int32_t>(offsetof(ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD, ____parentKey_9)); }
inline DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 get__parentKey_9() const { return ____parentKey_9; }
inline DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 * get_address_of__parentKey_9() { return &____parentKey_9; }
inline void set__parentKey_9(DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 value)
{
____parentKey_9 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&____parentKey_9))->____columns_0), (void*)NULL);
}
};
// System.Data.Index
struct Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 : public RuntimeObject
{
public:
// System.Data.DataTable System.Data.Index::_table
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ____table_0;
// System.Data.IndexField[] System.Data.Index::_indexFields
IndexFieldU5BU5D_t5ACA22730370B8DD7B0EF591FD0A08918625568A* ____indexFields_1;
// System.Comparison`1<System.Data.DataRow> System.Data.Index::_comparison
Comparison_1_t07198BED61FE8C00A502FC75C933BD6121298D0F * ____comparison_2;
// System.Data.DataViewRowState System.Data.Index::_recordStates
int32_t ____recordStates_3;
// System.WeakReference System.Data.Index::_rowFilter
WeakReference_tB8558D16C98417FD98C920C42C0CC5C9FF825C76 * ____rowFilter_4;
// System.Data.Index/IndexTree System.Data.Index::_records
IndexTree_t0E9881360105536EEEDB380C194A80B9BE1A9F7D * ____records_5;
// System.Int32 System.Data.Index::_recordCount
int32_t ____recordCount_6;
// System.Int32 System.Data.Index::_refCount
int32_t ____refCount_7;
// System.Data.Listeners`1<System.Data.DataViewListener> System.Data.Index::_listeners
Listeners_1_t7C998D26DFD40B26063C9203609F507B8C2FF5E9 * ____listeners_8;
// System.Boolean System.Data.Index::_suspendEvents
bool ____suspendEvents_9;
// System.Boolean System.Data.Index::_isSharable
bool ____isSharable_10;
// System.Boolean System.Data.Index::_hasRemoteAggregate
bool ____hasRemoteAggregate_11;
// System.Int32 System.Data.Index::_objectID
int32_t ____objectID_13;
public:
inline static int32_t get_offset_of__table_0() { return static_cast<int32_t>(offsetof(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663, ____table_0)); }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * get__table_0() const { return ____table_0; }
inline DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 ** get_address_of__table_0() { return &____table_0; }
inline void set__table_0(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * value)
{
____table_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____table_0), (void*)value);
}
inline static int32_t get_offset_of__indexFields_1() { return static_cast<int32_t>(offsetof(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663, ____indexFields_1)); }
inline IndexFieldU5BU5D_t5ACA22730370B8DD7B0EF591FD0A08918625568A* get__indexFields_1() const { return ____indexFields_1; }
inline IndexFieldU5BU5D_t5ACA22730370B8DD7B0EF591FD0A08918625568A** get_address_of__indexFields_1() { return &____indexFields_1; }
inline void set__indexFields_1(IndexFieldU5BU5D_t5ACA22730370B8DD7B0EF591FD0A08918625568A* value)
{
____indexFields_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____indexFields_1), (void*)value);
}
inline static int32_t get_offset_of__comparison_2() { return static_cast<int32_t>(offsetof(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663, ____comparison_2)); }
inline Comparison_1_t07198BED61FE8C00A502FC75C933BD6121298D0F * get__comparison_2() const { return ____comparison_2; }
inline Comparison_1_t07198BED61FE8C00A502FC75C933BD6121298D0F ** get_address_of__comparison_2() { return &____comparison_2; }
inline void set__comparison_2(Comparison_1_t07198BED61FE8C00A502FC75C933BD6121298D0F * value)
{
____comparison_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____comparison_2), (void*)value);
}
inline static int32_t get_offset_of__recordStates_3() { return static_cast<int32_t>(offsetof(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663, ____recordStates_3)); }
inline int32_t get__recordStates_3() const { return ____recordStates_3; }
inline int32_t* get_address_of__recordStates_3() { return &____recordStates_3; }
inline void set__recordStates_3(int32_t value)
{
____recordStates_3 = value;
}
inline static int32_t get_offset_of__rowFilter_4() { return static_cast<int32_t>(offsetof(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663, ____rowFilter_4)); }
inline WeakReference_tB8558D16C98417FD98C920C42C0CC5C9FF825C76 * get__rowFilter_4() const { return ____rowFilter_4; }
inline WeakReference_tB8558D16C98417FD98C920C42C0CC5C9FF825C76 ** get_address_of__rowFilter_4() { return &____rowFilter_4; }
inline void set__rowFilter_4(WeakReference_tB8558D16C98417FD98C920C42C0CC5C9FF825C76 * value)
{
____rowFilter_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____rowFilter_4), (void*)value);
}
inline static int32_t get_offset_of__records_5() { return static_cast<int32_t>(offsetof(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663, ____records_5)); }
inline IndexTree_t0E9881360105536EEEDB380C194A80B9BE1A9F7D * get__records_5() const { return ____records_5; }
inline IndexTree_t0E9881360105536EEEDB380C194A80B9BE1A9F7D ** get_address_of__records_5() { return &____records_5; }
inline void set__records_5(IndexTree_t0E9881360105536EEEDB380C194A80B9BE1A9F7D * value)
{
____records_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____records_5), (void*)value);
}
inline static int32_t get_offset_of__recordCount_6() { return static_cast<int32_t>(offsetof(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663, ____recordCount_6)); }
inline int32_t get__recordCount_6() const { return ____recordCount_6; }
inline int32_t* get_address_of__recordCount_6() { return &____recordCount_6; }
inline void set__recordCount_6(int32_t value)
{
____recordCount_6 = value;
}
inline static int32_t get_offset_of__refCount_7() { return static_cast<int32_t>(offsetof(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663, ____refCount_7)); }
inline int32_t get__refCount_7() const { return ____refCount_7; }
inline int32_t* get_address_of__refCount_7() { return &____refCount_7; }
inline void set__refCount_7(int32_t value)
{
____refCount_7 = value;
}
inline static int32_t get_offset_of__listeners_8() { return static_cast<int32_t>(offsetof(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663, ____listeners_8)); }
inline Listeners_1_t7C998D26DFD40B26063C9203609F507B8C2FF5E9 * get__listeners_8() const { return ____listeners_8; }
inline Listeners_1_t7C998D26DFD40B26063C9203609F507B8C2FF5E9 ** get_address_of__listeners_8() { return &____listeners_8; }
inline void set__listeners_8(Listeners_1_t7C998D26DFD40B26063C9203609F507B8C2FF5E9 * value)
{
____listeners_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&____listeners_8), (void*)value);
}
inline static int32_t get_offset_of__suspendEvents_9() { return static_cast<int32_t>(offsetof(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663, ____suspendEvents_9)); }
inline bool get__suspendEvents_9() const { return ____suspendEvents_9; }
inline bool* get_address_of__suspendEvents_9() { return &____suspendEvents_9; }
inline void set__suspendEvents_9(bool value)
{
____suspendEvents_9 = value;
}
inline static int32_t get_offset_of__isSharable_10() { return static_cast<int32_t>(offsetof(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663, ____isSharable_10)); }
inline bool get__isSharable_10() const { return ____isSharable_10; }
inline bool* get_address_of__isSharable_10() { return &____isSharable_10; }
inline void set__isSharable_10(bool value)
{
____isSharable_10 = value;
}
inline static int32_t get_offset_of__hasRemoteAggregate_11() { return static_cast<int32_t>(offsetof(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663, ____hasRemoteAggregate_11)); }
inline bool get__hasRemoteAggregate_11() const { return ____hasRemoteAggregate_11; }
inline bool* get_address_of__hasRemoteAggregate_11() { return &____hasRemoteAggregate_11; }
inline void set__hasRemoteAggregate_11(bool value)
{
____hasRemoteAggregate_11 = value;
}
inline static int32_t get_offset_of__objectID_13() { return static_cast<int32_t>(offsetof(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663, ____objectID_13)); }
inline int32_t get__objectID_13() const { return ____objectID_13; }
inline int32_t* get_address_of__objectID_13() { return &____objectID_13; }
inline void set__objectID_13(int32_t value)
{
____objectID_13 = value;
}
};
struct Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663_StaticFields
{
public:
// System.Int32 System.Data.Index::s_objectTypeCount
int32_t ___s_objectTypeCount_12;
public:
inline static int32_t get_offset_of_s_objectTypeCount_12() { return static_cast<int32_t>(offsetof(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663_StaticFields, ___s_objectTypeCount_12)); }
inline int32_t get_s_objectTypeCount_12() const { return ___s_objectTypeCount_12; }
inline int32_t* get_address_of_s_objectTypeCount_12() { return &___s_objectTypeCount_12; }
inline void set_s_objectTypeCount_12(int32_t value)
{
___s_objectTypeCount_12 = value;
}
};
// System.ComponentModel.ListChangedEventArgs
struct ListChangedEventArgs_t7E1DD2BB933BE30107C8B95958746E6AF24F6632 : public EventArgs_tBCAACA538A5195B6D6C8DFCC3524A2A4A67FD8BA
{
public:
// System.ComponentModel.ListChangedType System.ComponentModel.ListChangedEventArgs::listChangedType
int32_t ___listChangedType_1;
// System.Int32 System.ComponentModel.ListChangedEventArgs::newIndex
int32_t ___newIndex_2;
// System.Int32 System.ComponentModel.ListChangedEventArgs::oldIndex
int32_t ___oldIndex_3;
// System.ComponentModel.PropertyDescriptor System.ComponentModel.ListChangedEventArgs::propDesc
PropertyDescriptor_t851C1421EDEEC6CB7D059D50CF94886ECCA1B22B * ___propDesc_4;
public:
inline static int32_t get_offset_of_listChangedType_1() { return static_cast<int32_t>(offsetof(ListChangedEventArgs_t7E1DD2BB933BE30107C8B95958746E6AF24F6632, ___listChangedType_1)); }
inline int32_t get_listChangedType_1() const { return ___listChangedType_1; }
inline int32_t* get_address_of_listChangedType_1() { return &___listChangedType_1; }
inline void set_listChangedType_1(int32_t value)
{
___listChangedType_1 = value;
}
inline static int32_t get_offset_of_newIndex_2() { return static_cast<int32_t>(offsetof(ListChangedEventArgs_t7E1DD2BB933BE30107C8B95958746E6AF24F6632, ___newIndex_2)); }
inline int32_t get_newIndex_2() const { return ___newIndex_2; }
inline int32_t* get_address_of_newIndex_2() { return &___newIndex_2; }
inline void set_newIndex_2(int32_t value)
{
___newIndex_2 = value;
}
inline static int32_t get_offset_of_oldIndex_3() { return static_cast<int32_t>(offsetof(ListChangedEventArgs_t7E1DD2BB933BE30107C8B95958746E6AF24F6632, ___oldIndex_3)); }
inline int32_t get_oldIndex_3() const { return ___oldIndex_3; }
inline int32_t* get_address_of_oldIndex_3() { return &___oldIndex_3; }
inline void set_oldIndex_3(int32_t value)
{
___oldIndex_3 = value;
}
inline static int32_t get_offset_of_propDesc_4() { return static_cast<int32_t>(offsetof(ListChangedEventArgs_t7E1DD2BB933BE30107C8B95958746E6AF24F6632, ___propDesc_4)); }
inline PropertyDescriptor_t851C1421EDEEC6CB7D059D50CF94886ECCA1B22B * get_propDesc_4() const { return ___propDesc_4; }
inline PropertyDescriptor_t851C1421EDEEC6CB7D059D50CF94886ECCA1B22B ** get_address_of_propDesc_4() { return &___propDesc_4; }
inline void set_propDesc_4(PropertyDescriptor_t851C1421EDEEC6CB7D059D50CF94886ECCA1B22B * value)
{
___propDesc_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___propDesc_4), (void*)value);
}
};
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t
{
public:
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8* ___delegates_11;
public:
inline static int32_t get_offset_of_delegates_11() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___delegates_11)); }
inline DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8* get_delegates_11() const { return ___delegates_11; }
inline DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8** get_address_of_delegates_11() { return &___delegates_11; }
inline void set_delegates_11(DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8* value)
{
___delegates_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___delegates_11), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
{
Delegate_t_marshaled_pinvoke** ___delegates_11;
};
// Native definition for COM marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
{
Delegate_t_marshaled_com** ___delegates_11;
};
// System.Type
struct Type_t : public MemberInfo_t
{
public:
// System.RuntimeTypeHandle System.Type::_impl
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 ____impl_9;
public:
inline static int32_t get_offset_of__impl_9() { return static_cast<int32_t>(offsetof(Type_t, ____impl_9)); }
inline RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 get__impl_9() const { return ____impl_9; }
inline RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 * get_address_of__impl_9() { return &____impl_9; }
inline void set__impl_9(RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 value)
{
____impl_9 = value;
}
};
struct Type_t_StaticFields
{
public:
// System.Reflection.MemberFilter System.Type::FilterAttribute
MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * ___FilterAttribute_0;
// System.Reflection.MemberFilter System.Type::FilterName
MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * ___FilterName_1;
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * ___FilterNameIgnoreCase_2;
// System.Object System.Type::Missing
RuntimeObject * ___Missing_3;
// System.Char System.Type::Delimiter
Il2CppChar ___Delimiter_4;
// System.Type[] System.Type::EmptyTypes
TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* ___EmptyTypes_5;
// System.Reflection.Binder System.Type::defaultBinder
Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 * ___defaultBinder_6;
public:
inline static int32_t get_offset_of_FilterAttribute_0() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterAttribute_0)); }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * get_FilterAttribute_0() const { return ___FilterAttribute_0; }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 ** get_address_of_FilterAttribute_0() { return &___FilterAttribute_0; }
inline void set_FilterAttribute_0(MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * value)
{
___FilterAttribute_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterAttribute_0), (void*)value);
}
inline static int32_t get_offset_of_FilterName_1() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterName_1)); }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * get_FilterName_1() const { return ___FilterName_1; }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 ** get_address_of_FilterName_1() { return &___FilterName_1; }
inline void set_FilterName_1(MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * value)
{
___FilterName_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterName_1), (void*)value);
}
inline static int32_t get_offset_of_FilterNameIgnoreCase_2() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterNameIgnoreCase_2)); }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * get_FilterNameIgnoreCase_2() const { return ___FilterNameIgnoreCase_2; }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 ** get_address_of_FilterNameIgnoreCase_2() { return &___FilterNameIgnoreCase_2; }
inline void set_FilterNameIgnoreCase_2(MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * value)
{
___FilterNameIgnoreCase_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterNameIgnoreCase_2), (void*)value);
}
inline static int32_t get_offset_of_Missing_3() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Missing_3)); }
inline RuntimeObject * get_Missing_3() const { return ___Missing_3; }
inline RuntimeObject ** get_address_of_Missing_3() { return &___Missing_3; }
inline void set_Missing_3(RuntimeObject * value)
{
___Missing_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Missing_3), (void*)value);
}
inline static int32_t get_offset_of_Delimiter_4() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Delimiter_4)); }
inline Il2CppChar get_Delimiter_4() const { return ___Delimiter_4; }
inline Il2CppChar* get_address_of_Delimiter_4() { return &___Delimiter_4; }
inline void set_Delimiter_4(Il2CppChar value)
{
___Delimiter_4 = value;
}
inline static int32_t get_offset_of_EmptyTypes_5() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___EmptyTypes_5)); }
inline TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* get_EmptyTypes_5() const { return ___EmptyTypes_5; }
inline TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755** get_address_of_EmptyTypes_5() { return &___EmptyTypes_5; }
inline void set_EmptyTypes_5(TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* value)
{
___EmptyTypes_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___EmptyTypes_5), (void*)value);
}
inline static int32_t get_offset_of_defaultBinder_6() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___defaultBinder_6)); }
inline Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 * get_defaultBinder_6() const { return ___defaultBinder_6; }
inline Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 ** get_address_of_defaultBinder_6() { return &___defaultBinder_6; }
inline void set_defaultBinder_6(Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 * value)
{
___defaultBinder_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultBinder_6), (void*)value);
}
};
// System.Data.ExpressionParser/ReservedWords
struct ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62
{
public:
// System.String System.Data.ExpressionParser/ReservedWords::_word
String_t* ____word_0;
// System.Data.Tokens System.Data.ExpressionParser/ReservedWords::_token
int32_t ____token_1;
// System.Int32 System.Data.ExpressionParser/ReservedWords::_op
int32_t ____op_2;
public:
inline static int32_t get_offset_of__word_0() { return static_cast<int32_t>(offsetof(ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62, ____word_0)); }
inline String_t* get__word_0() const { return ____word_0; }
inline String_t** get_address_of__word_0() { return &____word_0; }
inline void set__word_0(String_t* value)
{
____word_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____word_0), (void*)value);
}
inline static int32_t get_offset_of__token_1() { return static_cast<int32_t>(offsetof(ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62, ____token_1)); }
inline int32_t get__token_1() const { return ____token_1; }
inline int32_t* get_address_of__token_1() { return &____token_1; }
inline void set__token_1(int32_t value)
{
____token_1 = value;
}
inline static int32_t get_offset_of__op_2() { return static_cast<int32_t>(offsetof(ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62, ____op_2)); }
inline int32_t get__op_2() const { return ____op_2; }
inline int32_t* get_address_of__op_2() { return &____op_2; }
inline void set__op_2(int32_t value)
{
____op_2 = value;
}
};
// Native definition for P/Invoke marshalling of System.Data.ExpressionParser/ReservedWords
struct ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62_marshaled_pinvoke
{
char* ____word_0;
int32_t ____token_1;
int32_t ____op_2;
};
// Native definition for COM marshalling of System.Data.ExpressionParser/ReservedWords
struct ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62_marshaled_com
{
Il2CppChar* ____word_0;
int32_t ____token_1;
int32_t ____op_2;
};
// System.Data.Index/<>c__DisplayClass86_0
struct U3CU3Ec__DisplayClass86_0_t0A216700852A2F8E0454E0E7A63AF4AB7200DFAB : public RuntimeObject
{
public:
// System.ComponentModel.ListChangedType System.Data.Index/<>c__DisplayClass86_0::changedType
int32_t ___changedType_0;
public:
inline static int32_t get_offset_of_changedType_0() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass86_0_t0A216700852A2F8E0454E0E7A63AF4AB7200DFAB, ___changedType_0)); }
inline int32_t get_changedType_0() const { return ___changedType_0; }
inline int32_t* get_address_of_changedType_0() { return &___changedType_0; }
inline void set_changedType_0(int32_t value)
{
___changedType_0 = value;
}
};
// System.Data.XmlToDatasetMap/XmlNodeIdHashtable
struct XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E : public Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC
{
public:
// System.Data.XmlToDatasetMap/XmlNodeIdentety System.Data.XmlToDatasetMap/XmlNodeIdHashtable::_id
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * ____id_21;
public:
inline static int32_t get_offset_of__id_21() { return static_cast<int32_t>(offsetof(XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E, ____id_21)); }
inline XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * get__id_21() const { return ____id_21; }
inline XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 ** get_address_of__id_21() { return &____id_21; }
inline void set__id_21(XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * value)
{
____id_21 = value;
Il2CppCodeGenWriteBarrier((void**)(&____id_21), (void*)value);
}
};
// System.ComponentModel.CollectionChangeEventHandler
struct CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 : public MulticastDelegate_t
{
public:
public:
};
// System.Data.DataRowCollection/DataRowTree
struct DataRowTree_t919D7F356802E01FEAFB0C112C7993717AE0FA63 : public RBTree_1_t39CBB459CE258F46F3F45D853DFEF568238BEA49
{
public:
public:
};
// System.Data.Index/IndexTree
struct IndexTree_t0E9881360105536EEEDB380C194A80B9BE1A9F7D : public RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11
{
public:
// System.Data.Index System.Data.Index/IndexTree::_index
Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * ____index_9;
public:
inline static int32_t get_offset_of__index_9() { return static_cast<int32_t>(offsetof(IndexTree_t0E9881360105536EEEDB380C194A80B9BE1A9F7D, ____index_9)); }
inline Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * get__index_9() const { return ____index_9; }
inline Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 ** get_address_of__index_9() { return &____index_9; }
inline void set__index_9(Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * value)
{
____index_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____index_9), (void*)value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// System.Int32[]
struct Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32 : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// System.Data.DataRelation[]
struct DataRelationU5BU5D_tD72718271EA486F2C00EA68F2D1DB7DEB338F96C : public RuntimeArray
{
public:
ALIGN_FIELD (8) DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * m_Items[1];
public:
inline DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Data.DataColumn[]
struct DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C : public RuntimeArray
{
public:
ALIGN_FIELD (8) DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * m_Items[1];
public:
inline DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, DataColumn_tC346323CF7BCB3895FDAF750C8B594F436CD1638 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Void System.Data.RBTree`1<System.Object>::.ctor(System.Data.TreeAccessMethod)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RBTree_1__ctor_mEF554A61D805B516456AFA15A75BFDE7C9BBAE91_gshared (RBTree_1_tDF6F84A8D1EE6E176828EB4C2FCB56C871C78AD2 * __this, int32_t ___accessMethod0, const RuntimeMethod* method);
// System.Void System.Data.RBTree`1<System.Int32>::.ctor(System.Data.TreeAccessMethod)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RBTree_1__ctor_m4BCBFD13A94209377525F282ADFB174018DEBF32_gshared (RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11 * __this, int32_t ___accessMethod0, const RuntimeMethod* method);
// !0 System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>::get_Key()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject * KeyValuePair_2_get_Key_mCAD7B121DB998D7C56EB0281215A860EFE9DCD95_gshared_inline (KeyValuePair_2_tFB6A066C69E28C6ACA5FC5E24D969BFADC5FA625 * __this, const RuntimeMethod* method);
// !1 System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>::get_Value()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject * KeyValuePair_2_get_Value_m622223593F7461E7812C581DDB145270016ED303_gshared_inline (KeyValuePair_2_tFB6A066C69E28C6ACA5FC5E24D969BFADC5FA625 * __this, const RuntimeMethod* method);
// System.Void System.Data.ExpressionNode::.ctor(System.Data.DataTable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ExpressionNode__ctor_m562380932E2F97F1BB5B3F2C13D4FEEDA7029F97 (ExpressionNode_t1D76051DE31ECF4B03B005FFD892EDB7CCB6D20E * __this, DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ___table0, const RuntimeMethod* method);
// System.Void System.Data.DataRelationCollection::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRelationCollection__ctor_m0064756431658F3229B6D9951D946247F7C8294A (DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * __this, const RuntimeMethod* method);
// System.Exception System.Data.ExceptionBuilder::RelationDataSetNull()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t * ExceptionBuilder_RelationDataSetNull_m214CAC3812CB7EF709A8D4DA8C4F6AFC69F50A76 (const RuntimeMethod* method);
// System.Void System.Collections.ArrayList::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArrayList__ctor_m6847CFECD6BDC2AD10A4AC9852A572B88B8D6B1B (ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * __this, const RuntimeMethod* method);
// System.Void System.Data.DataRelationCollection::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRelationCollection_Clear_m9DD81C7E75101711513EFEE1787C70AC0B886AB5 (DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * __this, const RuntimeMethod* method);
// System.Exception System.Data.ExceptionBuilder::RelationOutOfRange(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t * ExceptionBuilder_RelationOutOfRange_mFEAFF706E00A243A6476921DC0841EEE54C6503B (RuntimeObject * ___index0, const RuntimeMethod* method);
// System.Int32 System.Data.DataRelationCollection::InternalIndexOf(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DataRelationCollection_InternalIndexOf_mFD60BB18EC6DD8AEA2B75CE7BA9669D88937F51E (DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * __this, String_t* ___name0, const RuntimeMethod* method);
// System.Exception System.Data.ExceptionBuilder::CaseInsensitiveNameConflict(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t * ExceptionBuilder_CaseInsensitiveNameConflict_m84FE47D0CE6994026D8D02D84EE4A2D61D48EC38 (String_t* ___name0, const RuntimeMethod* method);
// System.Void System.Data.DataRelationCollection::AddCore(System.Data.DataRelation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRelationCollection_AddCore_m04124225B09E1CBC9A66196079E4C7D77CEBB3E8 (DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * __this, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * ___relation0, const RuntimeMethod* method);
// System.Data.DataSet System.Data.DataTable::get_DataSet()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * DataTable_get_DataSet_m2C802912DB49BDC3016F489FB8D28CA79D557CFD_inline (DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * __this, const RuntimeMethod* method);
// System.Exception System.Data.ExceptionBuilder::ForeignRelation()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t * ExceptionBuilder_ForeignRelation_mE044A34FCC171ADC1EE91A70FC1A13DF55B82802 (const RuntimeMethod* method);
// System.Void System.Data.DataRelation::CheckState()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRelation_CheckState_m9411727BFC3698B6BC640474F81839F30456334E (DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * __this, const RuntimeMethod* method);
// System.Void System.Data.DataRelation::CheckNestedRelations()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRelation_CheckNestedRelations_m34850D2B1B87AA62E5681EF1912D3B69A714957C (DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * __this, const RuntimeMethod* method);
// System.Int32 System.String::get_Length()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m129FC0ADA02FECBED3C0B1A809AE84A5AEE1CF09_inline (String_t* __this, const RuntimeMethod* method);
// System.String System.Data.DataRelationCollection::AssignName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* DataRelationCollection_AssignName_m501E3D873928D27EAFEFDE8831198612E60D0BE4 (DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * __this, const RuntimeMethod* method);
// System.Void System.Data.DataRelationCollection::RegisterName(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRelationCollection_RegisterName_mD6A114394B1C407C5669415EC2F977E6BD54E2AE (DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * __this, String_t* ___name0, const RuntimeMethod* method);
// System.Data.DataKey System.Data.DataRelation::get_ChildKey()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 DataRelation_get_ChildKey_mFC7FBCC367BCC1A0E16A5FD7CE2D87F7A3C33FA7 (DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * __this, const RuntimeMethod* method);
// System.Boolean System.Data.DataKey::ColumnsEqual(System.Data.DataKey)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool DataKey_ColumnsEqual_mA609AD58D467F60B7F797F167E6BF71B42CF0AF2 (DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 * __this, DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 ___key0, const RuntimeMethod* method);
// System.Data.DataKey System.Data.DataRelation::get_ParentKey()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 DataRelation_get_ParentKey_m8BCCB9EDC37529617F065CD00034A032E4D8332E (DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * __this, const RuntimeMethod* method);
// System.Exception System.Data.ExceptionBuilder::RelationAlreadyExists()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t * ExceptionBuilder_RelationAlreadyExists_m65473285BA5DD0085D8A3332C9A78616CF5C9E12 (const RuntimeMethod* method);
// System.Data.DataRelationCollection System.Data.DataTable::get_ChildRelations()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * DataTable_get_ChildRelations_mA386665CBE9975EB74C28B211062B95BED63A8A5 (DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * __this, const RuntimeMethod* method);
// System.Void System.Data.DataRelationCollection::Add(System.Data.DataRelation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRelationCollection_Add_mE0427AE8FE9BEDCE37E502016C376AD5AE6AE705 (DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * __this, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * ___relation0, const RuntimeMethod* method);
// System.Data.DataRelationCollection System.Data.DataTable::get_ParentRelations()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * DataTable_get_ParentRelations_m89183A6461A73E959687ACC469962675B4EA5ADF (DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * __this, const RuntimeMethod* method);
// System.Void System.Data.DataRelation::SetDataSet(System.Data.DataSet)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRelation_SetDataSet_m6DDDC3E921CB75FA9C398AAB118DF5D30D15D060 (DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * __this, DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * ___dataSet0, const RuntimeMethod* method);
// System.Data.Index System.Data.DataKey::GetSortIndex()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * DataKey_GetSortIndex_m9F8D5435AFD57BC7D6ADCBCFE63030D6ACC73717 (DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 * __this, const RuntimeMethod* method);
// System.Void System.Data.Index::AddRef()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Index_AddRef_m28342C7ABFAC84E3BB91746BCC3B820F2F7CF708 (Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * __this, const RuntimeMethod* method);
// System.Void System.Data.DataTable::CacheNestedParent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataTable_CacheNestedParent_mD0DC4516392D210EE9B09DA759AAF322B541429E (DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * __this, const RuntimeMethod* method);
// System.Data.ConstraintCollection System.Data.DataTable::get_Constraints()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1 * DataTable_get_Constraints_m5A2544AA333C8296B27056F249C2328E81A0A975_inline (DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * __this, const RuntimeMethod* method);
// System.Data.DataColumn[] System.Data.DataRelation::get_ParentColumnsReference()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* DataRelation_get_ParentColumnsReference_m9DF80D987F3D9E7B8417E1628A1653A2E4A0E465 (DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * __this, const RuntimeMethod* method);
// System.Data.DataColumn[] System.Data.DataRelation::get_ChildColumnsReference()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* DataRelation_get_ChildColumnsReference_mB6DEBD0DACD49D895428210E33EAA19E27A907FE (DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * __this, const RuntimeMethod* method);
// System.Data.ForeignKeyConstraint System.Data.ConstraintCollection::FindForeignKeyConstraint(System.Data.DataColumn[],System.Data.DataColumn[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * ConstraintCollection_FindForeignKeyConstraint_mD35FCECB80950CE1680196710711FB5C9A0B5B4E (ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1 * __this, DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* ___parentColumns0, DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* ___childColumns1, const RuntimeMethod* method);
// System.Void System.Data.ForeignKeyConstraint::.ctor(System.Data.DataColumn[],System.Data.DataColumn[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ForeignKeyConstraint__ctor_m87EE28827B120AC10241458E9F91F55F53B4083B (ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * __this, DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* ___parentColumns0, DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* ___childColumns1, const RuntimeMethod* method);
// System.Void System.Data.ConstraintCollection::Add(System.Data.Constraint)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ConstraintCollection_Add_m18C4C121B30F207DB169BF5371505A2895D54E5D (ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1 * __this, Constraint_t9340D631C91CD0399D286378A00A40D2FA46EC4B * ___constraint0, const RuntimeMethod* method);
// System.Boolean System.Data.Common.ADP::IsCatchableExceptionType(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ADP_IsCatchableExceptionType_m273E4E4A0FBAACB7DC2A8EDF0974C9A9E312F36F (Exception_t * ___e0, const RuntimeMethod* method);
// System.Exception System.Data.ExceptionBuilder::TraceExceptionWithoutRethrow(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t * ExceptionBuilder_TraceExceptionWithoutRethrow_m6367C97E51FECAC289B29A931D41BB2EAD0FF5DE (Exception_t * ___e0, const RuntimeMethod* method);
// System.Data.UniqueConstraint System.Data.ConstraintCollection::FindKeyConstraint(System.Data.DataColumn[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 * ConstraintCollection_FindKeyConstraint_m9907C5E227EAE005D018E01E790FB6D05DCA6A60 (ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1 * __this, DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* ___columns0, const RuntimeMethod* method);
// System.Void System.Data.DataRelation::SetParentKeyConstraint(System.Data.UniqueConstraint)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void DataRelation_SetParentKeyConstraint_m01B06666313B33781C64456936F5677060DCEB74_inline (DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * __this, UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 * ___value0, const RuntimeMethod* method);
// System.Void System.Data.DataRelation::SetChildKeyConstraint(System.Data.ForeignKeyConstraint)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void DataRelation_SetChildKeyConstraint_mC5248944C17EFEBB2E386BAD87EDDDD29A010BD0_inline (DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * __this, ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * ___value0, const RuntimeMethod* method);
// System.Void System.Data.DataRelationCollection::RemoveCore(System.Data.DataRelation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRelationCollection_RemoveCore_mE09AD0C5FC6DADF9AE9FFDEE0339660D100F2AE2 (DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * __this, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * ___relation0, const RuntimeMethod* method);
// System.Void System.Data.DataSet::OnRemoveRelationHack(System.Data.DataRelation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataSet_OnRemoveRelationHack_m634159374C17AC0A31CC96F750A62A5B7175FFC5 (DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * __this, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * ___relation0, const RuntimeMethod* method);
// System.Int32 System.Data.Index::RemoveRef()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Index_RemoveRef_m3D9985D587F8FD6A4E209DD9D512A65EC2AC9218 (Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * __this, const RuntimeMethod* method);
// System.Void System.Data.DataRelationCollection::Remove(System.Data.DataRelation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRelationCollection_Remove_m52CAC79D42F8ADFB457296DACBBBD72EA16CFA36 (DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * __this, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * ___relation0, const RuntimeMethod* method);
// System.Void System.Data.DataRelationCollection::UnregisterName(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRelationCollection_UnregisterName_m5273EE3A598D199B17D85597010A3DD999B8A6F2 (DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * __this, String_t* ___name0, const RuntimeMethod* method);
// System.Exception System.Data.ExceptionBuilder::RelationDoesNotExist()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t * ExceptionBuilder_RelationDoesNotExist_mBF363A0B708110C510DA507077C43B6083EB5701 (const RuntimeMethod* method);
// System.Exception System.Data.ExceptionBuilder::RelationTableNull()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t * ExceptionBuilder_RelationTableNull_m9855D653A8D278FB8F1C9E9422302A120796F62C (const RuntimeMethod* method);
// System.Exception System.Data.ExceptionBuilder::RelationTableWasRemoved()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t * ExceptionBuilder_RelationTableWasRemoved_m8027F00A53A15C35DAD79ECE2414B98FFD6BC635 (const RuntimeMethod* method);
// System.Void System.Data.DataRelationCollection/DataTableRelationCollection::EnsureDataSet()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataTableRelationCollection_EnsureDataSet_mCEA71BCCC50AF74B2D08774F6B93A0928C81F042 (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, const RuntimeMethod* method);
// System.Delegate System.Delegate::Combine(System.Delegate,System.Delegate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t * Delegate_Combine_m631D10D6CFF81AB4F237B9D549B235A54F45FA55 (Delegate_t * ___a0, Delegate_t * ___b1, const RuntimeMethod* method);
// System.Delegate System.Delegate::Remove(System.Delegate,System.Delegate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Delegate_t * Delegate_Remove_m8B4AD17254118B2904720D55C9B34FB3DCCBD7D4 (Delegate_t * ___source0, Delegate_t * ___value1, const RuntimeMethod* method);
// System.Void System.Data.DataTable::UpdatePropertyDescriptorCollectionCache()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataTable_UpdatePropertyDescriptorCollectionCache_m71D3EDD0305A00EBCE53C52C39CF8856FD969F93 (DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * __this, const RuntimeMethod* method);
// System.Exception System.Data.ExceptionBuilder::ChildTableMismatch()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t * ExceptionBuilder_ChildTableMismatch_m8E0CF72D5E912D665E1E6882BDDF97841A005240 (const RuntimeMethod* method);
// System.Exception System.Data.ExceptionBuilder::ParentTableMismatch()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t * ExceptionBuilder_ParentTableMismatch_mD7F347D4B4DA5F4937244264634E1947275ACAD9 (const RuntimeMethod* method);
// System.Data.DataRelationCollection System.Data.DataSet::get_Relations()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * DataSet_get_Relations_m648141B55045B57180317A120843883175B4A449_inline (DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * __this, const RuntimeMethod* method);
// System.Void System.Data.DataRelationCollection/DataTableRelationCollection::AddCache(System.Data.DataRelation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataTableRelationCollection_AddCache_mDBEB241D76562A278B30746B2D3EC8F435E39C61 (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * ___relation0, const RuntimeMethod* method);
// System.Void System.Data.DataRelationCollection/DataTableRelationCollection::RemoveCache(System.Data.DataRelation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataTableRelationCollection_RemoveCache_m434228DCEBDE2D480891504B10229B31F3B4D5AB (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * ___relation0, const RuntimeMethod* method);
// System.Void System.Data.RBTree`1<System.Data.DataRow>::.ctor(System.Data.TreeAccessMethod)
inline void RBTree_1__ctor_m72A0B117F9F8DDF8D7C0241D5485E5E004823AA1 (RBTree_1_t39CBB459CE258F46F3F45D853DFEF568238BEA49 * __this, int32_t ___accessMethod0, const RuntimeMethod* method)
{
(( void (*) (RBTree_1_t39CBB459CE258F46F3F45D853DFEF568238BEA49 *, int32_t, const RuntimeMethod*))RBTree_1__ctor_mEF554A61D805B516456AFA15A75BFDE7C9BBAE91_gshared)(__this, ___accessMethod0, method);
}
// System.Exception System.Data.ExceptionBuilder::InternalRBTreeError(System.Data.RBTreeError)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t * ExceptionBuilder_InternalRBTreeError_m8305960D40FCF87EABEBB85BC70288E33F41B7D3 (int32_t ___internalError0, const RuntimeMethod* method);
// System.Data.DataTableCollection System.Data.DataSet::get_Tables()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451 * DataSet_get_Tables_m02936105F6E973CE901C846EFE6C8BB3B4AD7BAE_inline (DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * __this, const RuntimeMethod* method);
// System.Data.DataTable System.Data.DataTableCollection::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * DataTableCollection_get_Item_m66EE1B4BCB0DFDD6261F3EA014B9A162C2F21B4E (DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451 * __this, int32_t ___index0, const RuntimeMethod* method);
// System.Void System.Data.DataTable/DSRowDiffIdUsageSection::Prepare(System.Data.DataSet)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DSRowDiffIdUsageSection_Prepare_mC4CEB7FFD8772F49FBF9D37119874875CF204D71 (DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A * __this, DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * ___ds0, const RuntimeMethod* method);
// System.Void System.Data.DataTable/RowDiffIdUsageSection::Prepare(System.Data.DataTable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RowDiffIdUsageSection_Prepare_mCE756A36AEDEDA2B4055CB5FD21AC2C44B513C5D (RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF * __this, DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ___table0, const RuntimeMethod* method);
// System.Void System.Object::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Void System.Data.DataView/DataRowReferenceComparer::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRowReferenceComparer__ctor_m244D967AE38FF6820B4A3C1951139A8498C0C65A (DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051 * __this, const RuntimeMethod* method);
// System.Void System.Data.ExpressionParser/ReservedWords::.ctor(System.String,System.Data.Tokens,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReservedWords__ctor_mD97E4D783563B6C4AE1B7E42E32D5C63D6ACC4FE (ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62 * __this, String_t* ___word0, int32_t ___token1, int32_t ___op2, const RuntimeMethod* method);
// System.Void System.Data.Index/<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m3EC84A773D1AA13D57751444E839948DA25E0A88 (U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033 * __this, const RuntimeMethod* method);
// System.Void System.Data.DataViewListener::IndexListChanged(System.ComponentModel.ListChangedEventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataViewListener_IndexListChanged_m25D3882883976D7E1AD8A97D185AA91272B44EDB (DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E * __this, ListChangedEventArgs_t7E1DD2BB933BE30107C8B95958746E6AF24F6632 * ___e0, const RuntimeMethod* method);
// System.Void System.Data.DataViewListener::MaintainDataView(System.ComponentModel.ListChangedType,System.Data.DataRow,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataViewListener_MaintainDataView_mE437821F6BF58541964A90BA68E5725E7E01EC3F (DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E * __this, int32_t ___changedType0, DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE * ___row1, bool ___trackAddRemove2, const RuntimeMethod* method);
// System.Void System.Data.RBTree`1<System.Int32>::.ctor(System.Data.TreeAccessMethod)
inline void RBTree_1__ctor_m4BCBFD13A94209377525F282ADFB174018DEBF32 (RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11 * __this, int32_t ___accessMethod0, const RuntimeMethod* method)
{
(( void (*) (RBTree_1_t58FDFB0AB43F3FE218D32B00B681D0A9AB213C11 *, int32_t, const RuntimeMethod*))RBTree_1__ctor_m4BCBFD13A94209377525F282ADFB174018DEBF32_gshared)(__this, ___accessMethod0, method);
}
// System.Int32 System.Data.Index::CompareRecords(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Index_CompareRecords_mDA459BE7B151471680FA26C2C49CF06871A737C7 (Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * __this, int32_t ___record10, int32_t ___record21, const RuntimeMethod* method);
// System.Int32 System.Data.Index::CompareDuplicateRecords(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Index_CompareDuplicateRecords_m17436134DD6B65B36B1C1D8043EB05B775C2A399 (Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * __this, int32_t ___record10, int32_t ___record21, const RuntimeMethod* method);
// !0 System.Collections.Generic.KeyValuePair`2<System.Type,System.Xml.Serialization.XmlRootAttribute>::get_Key()
inline Type_t * KeyValuePair_2_get_Key_mFD07BE2737B9698900D27E550ECD011F1871C5D8_inline (KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 * __this, const RuntimeMethod* method)
{
return (( Type_t * (*) (KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *, const RuntimeMethod*))KeyValuePair_2_get_Key_mCAD7B121DB998D7C56EB0281215A860EFE9DCD95_gshared_inline)(__this, method);
}
// System.Boolean System.Type::op_Equality(System.Type,System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Type_op_Equality_mA438719A1FDF103C7BBBB08AEF564E7FAEEA0046 (Type_t * ___left0, Type_t * ___right1, const RuntimeMethod* method);
// !1 System.Collections.Generic.KeyValuePair`2<System.Type,System.Xml.Serialization.XmlRootAttribute>::get_Value()
inline XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_inline (KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 * __this, const RuntimeMethod* method)
{
return (( XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * (*) (KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *, const RuntimeMethod*))KeyValuePair_2_get_Value_m622223593F7461E7812C581DDB145270016ED303_gshared_inline)(__this, method);
}
// System.String System.Xml.Serialization.XmlRootAttribute::get_ElementName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* XmlRootAttribute_get_ElementName_mC660E6FE49AF0626C781832D904D1B1A9612038E (XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * __this, const RuntimeMethod* method);
// System.Boolean System.String::op_Equality(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB (String_t* ___a0, String_t* ___b1, const RuntimeMethod* method);
// System.String System.Xml.Serialization.XmlRootAttribute::get_Namespace()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* XmlRootAttribute_get_Namespace_m0A911502725F9726BDDEE6EE3F38D02DA70097BD_inline (XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * __this, const RuntimeMethod* method);
// System.String System.Xml.Serialization.XmlRootAttribute::get_DataType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* XmlRootAttribute_get_DataType_mC325DC6FB4808F724638A72EB58AAA77B68C87D9 (XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * __this, const RuntimeMethod* method);
// System.Boolean System.Xml.Serialization.XmlRootAttribute::get_IsNullable()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool XmlRootAttribute_get_IsNullable_m891FFFF4D901032D8F70819DC2A31322765AC54F_inline (XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * __this, const RuntimeMethod* method);
// System.Void System.Data.Common.ObjectStorage/TempAssemblyComparer::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TempAssemblyComparer__ctor_mCD62B6982AD8B2B0C8C2F672FCC56470E4D72A40 (TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129 * __this, const RuntimeMethod* method);
// System.Int32 System.String::Compare(System.String,System.String,System.StringComparison)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t String_Compare_mDAE9D10BC450FF38960C691874EBFC3EAF6A39DD (String_t* ___strA0, String_t* ___strB1, int32_t ___comparisonType2, const RuntimeMethod* method);
// System.Data.DataColumnCollection System.Data.DataTable::get_Columns()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820 * DataTable_get_Columns_m66DC96CA636190222E4C2B8C6943C7A19D86A2C6_inline (DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * __this, const RuntimeMethod* method);
// System.Void System.Data.XmlToDatasetMap/XmlNodeIdHashtable::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void XmlNodeIdHashtable__ctor_m47350A139E925899A7F80DF4AAFE3E9059CF0235 (XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E * __this, int32_t ___capacity0, const RuntimeMethod* method);
// System.Void System.Data.XmlToDatasetMap/XmlNodeIdentety::.ctor(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void XmlNodeIdentety__ctor_mF95AB35C3B3509393CC0DF933B4961AB15C73491 (XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * __this, String_t* ___localName0, String_t* ___namespaceURI1, const RuntimeMethod* method);
// System.Void System.Collections.Hashtable::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Hashtable__ctor_mF6B704809ABE222280933EA170B6664286C91FDC (Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC * __this, int32_t ___capacity0, const RuntimeMethod* method);
// System.String System.Data.DataTable::get_EncodedTableName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* DataTable_get_EncodedTableName_mBEE66CC7D4DC997C202A1A0656C0CD947AC05B3D (DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * __this, const RuntimeMethod* method);
// System.String System.Data.DataTable::get_Namespace()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* DataTable_get_Namespace_m5076F188203F858D59D90398801E91DF9E9F1274 (DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * __this, const RuntimeMethod* method);
// System.Boolean System.String::Equals(System.String,System.String,System.StringComparison)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_Equals_mD65682B0BB7933CC7A8561AE34DED02E4F3BBBE5 (String_t* ___a0, String_t* ___b1, int32_t ___comparisonType2, const RuntimeMethod* method);
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Data.ZeroOpNode::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ZeroOpNode__ctor_m80FBAF2FE4900529F18A261639E46C65ABEC77EB (ZeroOpNode_tCDCB5B8A3877208A042493BBFA55DF9D678D0972 * __this, int32_t ___op0, const RuntimeMethod* method)
{
{
ExpressionNode__ctor_m562380932E2F97F1BB5B3F2C13D4FEEDA7029F97(__this, (DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 *)NULL, /*hidden argument*/NULL);
int32_t L_0 = ___op0;
__this->set__op_1(L_0);
return;
}
}
// System.Void System.Data.ZeroOpNode::Bind(System.Data.DataTable,System.Collections.Generic.List`1<System.Data.DataColumn>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ZeroOpNode_Bind_mD2B07EFC70C9FC3978F4F6238543D182E3BA133B (ZeroOpNode_tCDCB5B8A3877208A042493BBFA55DF9D678D0972 * __this, DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ___table0, List_1_t29671090F2E06651D66007921E9865EDBDE7CFC4 * ___list1, const RuntimeMethod* method)
{
{
return;
}
}
// System.Object System.Data.ZeroOpNode::Eval()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ZeroOpNode_Eval_mB8E298FFAB44CC2ABE302FACF9DC45C3BFC5E5C6 (ZeroOpNode_tCDCB5B8A3877208A042493BBFA55DF9D678D0972 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
int32_t L_0 = __this->get__op_1();
V_0 = L_0;
int32_t L_1 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_1, (int32_t)((int32_t)32))))
{
case 0:
{
goto IL_002c;
}
case 1:
{
goto IL_001e;
}
case 2:
{
goto IL_0025;
}
}
}
{
goto IL_0032;
}
IL_001e:
{
bool L_2 = ((bool)1);
RuntimeObject * L_3 = Box(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var, &L_2);
return L_3;
}
IL_0025:
{
bool L_4 = ((bool)0);
RuntimeObject * L_5 = Box(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var, &L_4);
return L_5;
}
IL_002c:
{
IL2CPP_RUNTIME_CLASS_INIT(DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28_il2cpp_TypeInfo_var);
DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28 * L_6 = ((DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28_StaticFields*)il2cpp_codegen_static_fields_for(DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28_il2cpp_TypeInfo_var))->get_Value_0();
return L_6;
}
IL_0032:
{
IL2CPP_RUNTIME_CLASS_INIT(DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28_il2cpp_TypeInfo_var);
DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28 * L_7 = ((DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28_StaticFields*)il2cpp_codegen_static_fields_for(DBNull_t0CFB3A03916C4AE0938C140E6A5487CEC8169C28_il2cpp_TypeInfo_var))->get_Value_0();
return L_7;
}
}
// System.Object System.Data.ZeroOpNode::Eval(System.Data.DataRow,System.Data.DataRowVersion)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ZeroOpNode_Eval_m04A50B67CF0ECB29EA38F21EB05C9831316E4BF5 (ZeroOpNode_tCDCB5B8A3877208A042493BBFA55DF9D678D0972 * __this, DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE * ___row0, int32_t ___version1, const RuntimeMethod* method)
{
{
RuntimeObject * L_0;
L_0 = VirtFuncInvoker0< RuntimeObject * >::Invoke(6 /* System.Object System.Data.ExpressionNode::Eval() */, __this);
return L_0;
}
}
// System.Object System.Data.ZeroOpNode::Eval(System.Int32[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * ZeroOpNode_Eval_mDD2FC94211E81AE22E9D7220DC570901CC99B157 (ZeroOpNode_tCDCB5B8A3877208A042493BBFA55DF9D678D0972 * __this, Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___recordNos0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0;
L_0 = VirtFuncInvoker0< RuntimeObject * >::Invoke(6 /* System.Object System.Data.ExpressionNode::Eval() */, __this);
return L_0;
}
}
// System.Boolean System.Data.ZeroOpNode::IsConstant()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ZeroOpNode_IsConstant_m146BAAC555564EAEFAEE32A6E720DFD30EB2571D (ZeroOpNode_tCDCB5B8A3877208A042493BBFA55DF9D678D0972 * __this, const RuntimeMethod* method)
{
{
return (bool)1;
}
}
// System.Boolean System.Data.ZeroOpNode::IsTableConstant()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ZeroOpNode_IsTableConstant_m518CF1A6F4FEAF61D0E6E70DB441516579E83CA7 (ZeroOpNode_tCDCB5B8A3877208A042493BBFA55DF9D678D0972 * __this, const RuntimeMethod* method)
{
{
return (bool)1;
}
}
// System.Boolean System.Data.ZeroOpNode::HasLocalAggregate()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ZeroOpNode_HasLocalAggregate_m54F8D967140A713DD5D70BA9A714EDEA811FCFC1 (ZeroOpNode_tCDCB5B8A3877208A042493BBFA55DF9D678D0972 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Data.ZeroOpNode::HasRemoteAggregate()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ZeroOpNode_HasRemoteAggregate_m4AFBBDCF32C4AA3F6DAF867CA5A07A1BF4A40176 (ZeroOpNode_tCDCB5B8A3877208A042493BBFA55DF9D678D0972 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Data.ExpressionNode System.Data.ZeroOpNode::Optimize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ExpressionNode_t1D76051DE31ECF4B03B005FFD892EDB7CCB6D20E * ZeroOpNode_Optimize_m29FCD5A83597A2AFF101C204466EBE043E5D4643 (ZeroOpNode_tCDCB5B8A3877208A042493BBFA55DF9D678D0972 * __this, const RuntimeMethod* method)
{
{
return __this;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Conversion methods for marshalling of: System.Data.DataError/ColumnError
IL2CPP_EXTERN_C void ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568_marshal_pinvoke(const ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568& unmarshaled, ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568_marshaled_pinvoke& marshaled)
{
Exception_t* ____column_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field '_column' of type 'ColumnError': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(____column_0Exception, NULL);
}
IL2CPP_EXTERN_C void ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568_marshal_pinvoke_back(const ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568_marshaled_pinvoke& marshaled, ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568& unmarshaled)
{
Exception_t* ____column_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field '_column' of type 'ColumnError': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(____column_0Exception, NULL);
}
// Conversion method for clean up from marshalling of: System.Data.DataError/ColumnError
IL2CPP_EXTERN_C void ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568_marshal_pinvoke_cleanup(ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: System.Data.DataError/ColumnError
IL2CPP_EXTERN_C void ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568_marshal_com(const ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568& unmarshaled, ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568_marshaled_com& marshaled)
{
Exception_t* ____column_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field '_column' of type 'ColumnError': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(____column_0Exception, NULL);
}
IL2CPP_EXTERN_C void ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568_marshal_com_back(const ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568_marshaled_com& marshaled, ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568& unmarshaled)
{
Exception_t* ____column_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field '_column' of type 'ColumnError': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(____column_0Exception, NULL);
}
// Conversion method for clean up from marshalling of: System.Data.DataError/ColumnError
IL2CPP_EXTERN_C void ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568_marshal_com_cleanup(ColumnError_tF4FBD0333E1398D81D6DE8149BCAC5CE6214B568_marshaled_com& marshaled)
{
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Data.DataRelationCollection/DataSetRelationCollection::.ctor(System.Data.DataSet)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataSetRelationCollection__ctor_mF79F3B7AC2F58429F6784BABEC0D3F185582613B (DataSetRelationCollection_t679438AEFA6DF47F762A03302CD334C8DA9560D3 * __this, DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * ___dataSet0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
DataRelationCollection__ctor_m0064756431658F3229B6D9951D946247F7C8294A(__this, /*hidden argument*/NULL);
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_0 = ___dataSet0;
if (L_0)
{
goto IL_000f;
}
}
{
Exception_t * L_1;
L_1 = ExceptionBuilder_RelationDataSetNull_m214CAC3812CB7EF709A8D4DA8C4F6AFC69F50A76(/*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataSetRelationCollection__ctor_mF79F3B7AC2F58429F6784BABEC0D3F185582613B_RuntimeMethod_var)));
}
IL_000f:
{
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_2 = ___dataSet0;
__this->set__dataSet_7(L_2);
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_3 = (ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 *)il2cpp_codegen_object_new(ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575_il2cpp_TypeInfo_var);
ArrayList__ctor_m6847CFECD6BDC2AD10A4AC9852A572B88B8D6B1B(L_3, /*hidden argument*/NULL);
__this->set__relations_8(L_3);
return;
}
}
// System.Collections.ArrayList System.Data.DataRelationCollection/DataSetRelationCollection::get_List()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * DataSetRelationCollection_get_List_mABDE84E035C1F8609AD6E7E149BE2E740E37FCDA (DataSetRelationCollection_t679438AEFA6DF47F762A03302CD334C8DA9560D3 * __this, const RuntimeMethod* method)
{
{
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_0 = __this->get__relations_8();
return L_0;
}
}
// System.Void System.Data.DataRelationCollection/DataSetRelationCollection::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataSetRelationCollection_Clear_mB0CD2AB9E69A0C61DA7AE0DE5842C3CC82B5E31F (DataSetRelationCollection_t679438AEFA6DF47F762A03302CD334C8DA9560D3 * __this, const RuntimeMethod* method)
{
{
DataRelationCollection_Clear_m9DD81C7E75101711513EFEE1787C70AC0B886AB5(__this, /*hidden argument*/NULL);
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_0 = __this->get__dataSet_7();
NullCheck(L_0);
bool L_1 = L_0->get__fInitInProgress_17();
if (!L_1)
{
goto IL_0022;
}
}
{
DataRelationU5BU5D_tD72718271EA486F2C00EA68F2D1DB7DEB338F96C* L_2 = __this->get__delayLoadingRelations_9();
if (!L_2)
{
goto IL_0022;
}
}
{
__this->set__delayLoadingRelations_9((DataRelationU5BU5D_tD72718271EA486F2C00EA68F2D1DB7DEB338F96C*)NULL);
}
IL_0022:
{
return;
}
}
// System.Data.DataSet System.Data.DataRelationCollection/DataSetRelationCollection::GetDataSet()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * DataSetRelationCollection_GetDataSet_m42DA1D50396CA6D8BD8F40F00EC5EFAB5C625917 (DataSetRelationCollection_t679438AEFA6DF47F762A03302CD334C8DA9560D3 * __this, const RuntimeMethod* method)
{
{
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_0 = __this->get__dataSet_7();
return L_0;
}
}
// System.Data.DataRelation System.Data.DataRelationCollection/DataSetRelationCollection::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * DataSetRelationCollection_get_Item_m801C9F079AAF448785ACBAB01B3B6985D5ADBA25 (DataSetRelationCollection_t679438AEFA6DF47F762A03302CD334C8DA9560D3 * __this, int32_t ___index0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) < ((int32_t)0)))
{
goto IL_0024;
}
}
{
int32_t L_1 = ___index0;
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_2 = __this->get__relations_8();
NullCheck(L_2);
int32_t L_3;
L_3 = VirtFuncInvoker0< int32_t >::Invoke(22 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_2);
if ((((int32_t)L_1) >= ((int32_t)L_3)))
{
goto IL_0024;
}
}
{
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_4 = __this->get__relations_8();
int32_t L_5 = ___index0;
NullCheck(L_4);
RuntimeObject * L_6;
L_6 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(27 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_4, L_5);
return ((DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 *)CastclassClass((RuntimeObject*)L_6, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_il2cpp_TypeInfo_var));
}
IL_0024:
{
int32_t L_7 = ___index0;
int32_t L_8 = L_7;
RuntimeObject * L_9 = Box(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var)), &L_8);
Exception_t * L_10;
L_10 = ExceptionBuilder_RelationOutOfRange_mFEAFF706E00A243A6476921DC0841EEE54C6503B(L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataSetRelationCollection_get_Item_m801C9F079AAF448785ACBAB01B3B6985D5ADBA25_RuntimeMethod_var)));
}
}
// System.Data.DataRelation System.Data.DataRelationCollection/DataSetRelationCollection::get_Item(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * DataSetRelationCollection_get_Item_m6AB7BD6754C38767481914AAF967E7725E12F764 (DataSetRelationCollection_t679438AEFA6DF47F762A03302CD334C8DA9560D3 * __this, String_t* ___name0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
String_t* L_0 = ___name0;
int32_t L_1;
L_1 = DataRelationCollection_InternalIndexOf_mFD60BB18EC6DD8AEA2B75CE7BA9669D88937F51E(__this, L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
if ((!(((uint32_t)L_2) == ((uint32_t)((int32_t)-2)))))
{
goto IL_0014;
}
}
{
String_t* L_3 = ___name0;
Exception_t * L_4;
L_4 = ExceptionBuilder_CaseInsensitiveNameConflict_m84FE47D0CE6994026D8D02D84EE4A2D61D48EC38(L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataSetRelationCollection_get_Item_m6AB7BD6754C38767481914AAF967E7725E12F764_RuntimeMethod_var)));
}
IL_0014:
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) < ((int32_t)0)))
{
goto IL_002a;
}
}
{
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_6;
L_6 = VirtFuncInvoker0< ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * >::Invoke(12 /* System.Collections.ArrayList System.Data.InternalDataCollectionBase::get_List() */, __this);
int32_t L_7 = V_0;
NullCheck(L_6);
RuntimeObject * L_8;
L_8 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(27 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_6, L_7);
return ((DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 *)CastclassClass((RuntimeObject*)L_8, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_il2cpp_TypeInfo_var));
}
IL_002a:
{
return (DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 *)NULL;
}
}
// System.Void System.Data.DataRelationCollection/DataSetRelationCollection::AddCore(System.Data.DataRelation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataSetRelationCollection_AddCore_m102379FA1D8E8B2BA85021375B54C567F89B3BF9 (DataSetRelationCollection_t679438AEFA6DF47F762A03302CD334C8DA9560D3 * __this, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * ___relation0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 V_0;
memset((&V_0), 0, sizeof(V_0));
ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * V_1 = NULL;
UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 * V_2 = NULL;
int32_t V_3 = 0;
DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 V_4;
memset((&V_4), 0, sizeof(V_4));
Exception_t * V_5 = NULL;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
Exception_t * G_B22_0 = NULL;
Exception_t * G_B21_0 = NULL;
int32_t G_B23_0 = 0;
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_0 = ___relation0;
DataRelationCollection_AddCore_m04124225B09E1CBC9A66196079E4C7D77CEBB3E8(__this, L_0, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_1 = ___relation0;
NullCheck(L_1);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_2;
L_2 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(5 /* System.Data.DataTable System.Data.DataRelation::get_ChildTable() */, L_1);
NullCheck(L_2);
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_3;
L_3 = DataTable_get_DataSet_m2C802912DB49BDC3016F489FB8D28CA79D557CFD_inline(L_2, /*hidden argument*/NULL);
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_4 = __this->get__dataSet_7();
if ((!(((RuntimeObject*)(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B *)L_3) == ((RuntimeObject*)(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B *)L_4))))
{
goto IL_002d;
}
}
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_5 = ___relation0;
NullCheck(L_5);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_6;
L_6 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(8 /* System.Data.DataTable System.Data.DataRelation::get_ParentTable() */, L_5);
NullCheck(L_6);
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_7;
L_7 = DataTable_get_DataSet_m2C802912DB49BDC3016F489FB8D28CA79D557CFD_inline(L_6, /*hidden argument*/NULL);
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_8 = __this->get__dataSet_7();
if ((((RuntimeObject*)(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B *)L_7) == ((RuntimeObject*)(DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B *)L_8)))
{
goto IL_0033;
}
}
IL_002d:
{
Exception_t * L_9;
L_9 = ExceptionBuilder_ForeignRelation_mE044A34FCC171ADC1EE91A70FC1A13DF55B82802(/*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataSetRelationCollection_AddCore_m102379FA1D8E8B2BA85021375B54C567F89B3BF9_RuntimeMethod_var)));
}
IL_0033:
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_10 = ___relation0;
NullCheck(L_10);
DataRelation_CheckState_m9411727BFC3698B6BC640474F81839F30456334E(L_10, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_11 = ___relation0;
NullCheck(L_11);
bool L_12;
L_12 = VirtFuncInvoker0< bool >::Invoke(10 /* System.Boolean System.Data.DataRelation::get_Nested() */, L_11);
if (!L_12)
{
goto IL_0047;
}
}
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_13 = ___relation0;
NullCheck(L_13);
DataRelation_CheckNestedRelations_m34850D2B1B87AA62E5681EF1912D3B69A714957C(L_13, /*hidden argument*/NULL);
}
IL_0047:
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_14 = ___relation0;
NullCheck(L_14);
String_t* L_15 = L_14->get__relationName_2();
NullCheck(L_15);
int32_t L_16;
L_16 = String_get_Length_m129FC0ADA02FECBED3C0B1A809AE84A5AEE1CF09_inline(L_15, /*hidden argument*/NULL);
if (L_16)
{
goto IL_0062;
}
}
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_17 = ___relation0;
String_t* L_18;
L_18 = DataRelationCollection_AssignName_m501E3D873928D27EAFEFDE8831198612E60D0BE4(__this, /*hidden argument*/NULL);
NullCheck(L_17);
L_17->set__relationName_2(L_18);
goto IL_006e;
}
IL_0062:
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_19 = ___relation0;
NullCheck(L_19);
String_t* L_20 = L_19->get__relationName_2();
DataRelationCollection_RegisterName_mD6A114394B1C407C5669415EC2F977E6BD54E2AE(__this, L_20, /*hidden argument*/NULL);
}
IL_006e:
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_21 = ___relation0;
NullCheck(L_21);
DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 L_22;
L_22 = DataRelation_get_ChildKey_mFC7FBCC367BCC1A0E16A5FD7CE2D87F7A3C33FA7(L_21, /*hidden argument*/NULL);
V_0 = L_22;
V_3 = 0;
goto IL_00c9;
}
IL_0079:
{
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_23 = __this->get__relations_8();
int32_t L_24 = V_3;
NullCheck(L_23);
RuntimeObject * L_25;
L_25 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(27 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_23, L_24);
NullCheck(((DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 *)CastclassClass((RuntimeObject*)L_25, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_il2cpp_TypeInfo_var)));
DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 L_26;
L_26 = DataRelation_get_ChildKey_mFC7FBCC367BCC1A0E16A5FD7CE2D87F7A3C33FA7(((DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 *)CastclassClass((RuntimeObject*)L_25, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
bool L_27;
L_27 = DataKey_ColumnsEqual_mA609AD58D467F60B7F797F167E6BF71B42CF0AF2((DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 *)(&V_0), L_26, /*hidden argument*/NULL);
if (!L_27)
{
goto IL_00c5;
}
}
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_28 = ___relation0;
NullCheck(L_28);
DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 L_29;
L_29 = DataRelation_get_ParentKey_m8BCCB9EDC37529617F065CD00034A032E4D8332E(L_28, /*hidden argument*/NULL);
V_4 = L_29;
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_30 = __this->get__relations_8();
int32_t L_31 = V_3;
NullCheck(L_30);
RuntimeObject * L_32;
L_32 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(27 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_30, L_31);
NullCheck(((DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 *)CastclassClass((RuntimeObject*)L_32, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_il2cpp_TypeInfo_var)));
DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 L_33;
L_33 = DataRelation_get_ParentKey_m8BCCB9EDC37529617F065CD00034A032E4D8332E(((DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 *)CastclassClass((RuntimeObject*)L_32, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
bool L_34;
L_34 = DataKey_ColumnsEqual_mA609AD58D467F60B7F797F167E6BF71B42CF0AF2((DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 *)(&V_4), L_33, /*hidden argument*/NULL);
if (!L_34)
{
goto IL_00c5;
}
}
{
Exception_t * L_35;
L_35 = ExceptionBuilder_RelationAlreadyExists_m65473285BA5DD0085D8A3332C9A78616CF5C9E12(/*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_35, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataSetRelationCollection_AddCore_m102379FA1D8E8B2BA85021375B54C567F89B3BF9_RuntimeMethod_var)));
}
IL_00c5:
{
int32_t L_36 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_36, (int32_t)1));
}
IL_00c9:
{
int32_t L_37 = V_3;
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_38 = __this->get__relations_8();
NullCheck(L_38);
int32_t L_39;
L_39 = VirtFuncInvoker0< int32_t >::Invoke(22 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_38);
if ((((int32_t)L_37) < ((int32_t)L_39)))
{
goto IL_0079;
}
}
{
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_40 = __this->get__relations_8();
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_41 = ___relation0;
NullCheck(L_40);
int32_t L_42;
L_42 = VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(29 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_40, L_41);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_43 = ___relation0;
NullCheck(L_43);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_44;
L_44 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(8 /* System.Data.DataTable System.Data.DataRelation::get_ParentTable() */, L_43);
NullCheck(L_44);
DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * L_45;
L_45 = DataTable_get_ChildRelations_mA386665CBE9975EB74C28B211062B95BED63A8A5(L_44, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_46 = ___relation0;
NullCheck(((DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E *)CastclassSealed((RuntimeObject*)L_45, DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E_il2cpp_TypeInfo_var)));
DataRelationCollection_Add_mE0427AE8FE9BEDCE37E502016C376AD5AE6AE705(((DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E *)CastclassSealed((RuntimeObject*)L_45, DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E_il2cpp_TypeInfo_var)), L_46, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_47 = ___relation0;
NullCheck(L_47);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_48;
L_48 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(5 /* System.Data.DataTable System.Data.DataRelation::get_ChildTable() */, L_47);
NullCheck(L_48);
DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * L_49;
L_49 = DataTable_get_ParentRelations_m89183A6461A73E959687ACC469962675B4EA5ADF(L_48, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_50 = ___relation0;
NullCheck(((DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E *)CastclassSealed((RuntimeObject*)L_49, DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E_il2cpp_TypeInfo_var)));
DataRelationCollection_Add_mE0427AE8FE9BEDCE37E502016C376AD5AE6AE705(((DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E *)CastclassSealed((RuntimeObject*)L_49, DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E_il2cpp_TypeInfo_var)), L_50, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_51 = ___relation0;
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_52 = __this->get__dataSet_7();
NullCheck(L_51);
DataRelation_SetDataSet_m6DDDC3E921CB75FA9C398AAB118DF5D30D15D060(L_51, L_52, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_53 = ___relation0;
NullCheck(L_53);
DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 L_54;
L_54 = DataRelation_get_ChildKey_mFC7FBCC367BCC1A0E16A5FD7CE2D87F7A3C33FA7(L_53, /*hidden argument*/NULL);
V_4 = L_54;
Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * L_55;
L_55 = DataKey_GetSortIndex_m9F8D5435AFD57BC7D6ADCBCFE63030D6ACC73717((DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 *)(&V_4), /*hidden argument*/NULL);
NullCheck(L_55);
Index_AddRef_m28342C7ABFAC84E3BB91746BCC3B820F2F7CF708(L_55, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_56 = ___relation0;
NullCheck(L_56);
bool L_57;
L_57 = VirtFuncInvoker0< bool >::Invoke(10 /* System.Boolean System.Data.DataRelation::get_Nested() */, L_56);
if (!L_57)
{
goto IL_0143;
}
}
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_58 = ___relation0;
NullCheck(L_58);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_59;
L_59 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(5 /* System.Data.DataTable System.Data.DataRelation::get_ChildTable() */, L_58);
NullCheck(L_59);
DataTable_CacheNestedParent_mD0DC4516392D210EE9B09DA759AAF322B541429E(L_59, /*hidden argument*/NULL);
}
IL_0143:
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_60 = ___relation0;
NullCheck(L_60);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_61;
L_61 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(5 /* System.Data.DataTable System.Data.DataRelation::get_ChildTable() */, L_60);
NullCheck(L_61);
ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1 * L_62;
L_62 = DataTable_get_Constraints_m5A2544AA333C8296B27056F249C2328E81A0A975_inline(L_61, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_63 = ___relation0;
NullCheck(L_63);
DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* L_64;
L_64 = DataRelation_get_ParentColumnsReference_m9DF80D987F3D9E7B8417E1628A1653A2E4A0E465(L_63, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_65 = ___relation0;
NullCheck(L_65);
DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* L_66;
L_66 = DataRelation_get_ChildColumnsReference_mB6DEBD0DACD49D895428210E33EAA19E27A907FE(L_65, /*hidden argument*/NULL);
NullCheck(L_62);
ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * L_67;
L_67 = ConstraintCollection_FindForeignKeyConstraint_mD35FCECB80950CE1680196710711FB5C9A0B5B4E(L_62, L_64, L_66, /*hidden argument*/NULL);
V_1 = L_67;
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_68 = ___relation0;
NullCheck(L_68);
bool L_69 = L_68->get__createConstraints_8();
if (!L_69)
{
goto IL_01c1;
}
}
{
ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * L_70 = V_1;
if (L_70)
{
goto IL_01c1;
}
}
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_71 = ___relation0;
NullCheck(L_71);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_72;
L_72 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(5 /* System.Data.DataTable System.Data.DataRelation::get_ChildTable() */, L_71);
NullCheck(L_72);
ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1 * L_73;
L_73 = DataTable_get_Constraints_m5A2544AA333C8296B27056F249C2328E81A0A975_inline(L_72, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_74 = ___relation0;
NullCheck(L_74);
DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* L_75;
L_75 = DataRelation_get_ParentColumnsReference_m9DF80D987F3D9E7B8417E1628A1653A2E4A0E465(L_74, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_76 = ___relation0;
NullCheck(L_76);
DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* L_77;
L_77 = DataRelation_get_ChildColumnsReference_mB6DEBD0DACD49D895428210E33EAA19E27A907FE(L_76, /*hidden argument*/NULL);
ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * L_78 = (ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD *)il2cpp_codegen_object_new(ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD_il2cpp_TypeInfo_var);
ForeignKeyConstraint__ctor_m87EE28827B120AC10241458E9F91F55F53B4083B(L_78, L_75, L_77, /*hidden argument*/NULL);
ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * L_79 = L_78;
V_1 = L_79;
NullCheck(L_73);
ConstraintCollection_Add_m18C4C121B30F207DB169BF5371505A2895D54E5D(L_73, L_79, /*hidden argument*/NULL);
}
IL_018e:
try
{ // begin try (depth: 1)
ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * L_80 = V_1;
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_81 = ___relation0;
NullCheck(L_81);
String_t* L_82;
L_82 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String System.Data.DataRelation::get_RelationName() */, L_81);
NullCheck(L_80);
VirtActionInvoker1< String_t* >::Invoke(5 /* System.Void System.Data.Constraint::set_ConstraintName(System.String) */, L_80, L_82);
goto IL_01c1;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
}
{ // begin filter(depth: 1)
bool __filter_local = false;
try
{ // begin implicit try block
{
Exception_t * L_83 = ((Exception_t *)IsInstClass((RuntimeObject*)((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *)), ((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var))));
G_B21_0 = L_83;
if (L_83)
{
G_B22_0 = L_83;
goto IL_01a8;
}
}
{
G_B23_0 = 0;
goto IL_01b4;
}
IL_01a8:
{
V_5 = G_B22_0;
Exception_t * L_84 = V_5;
IL2CPP_RUNTIME_CLASS_INIT(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ADP_t9D19A67611CE9072A14EE34A3EB9447AE50F8525_il2cpp_TypeInfo_var)));
bool L_85;
L_85 = ADP_IsCatchableExceptionType_m273E4E4A0FBAACB7DC2A8EDF0974C9A9E312F36F(L_84, /*hidden argument*/NULL);
G_B23_0 = ((!(((uint32_t)L_85) <= ((uint32_t)0)))? 1 : 0);
}
IL_01b4:
{
__filter_local = (G_B23_0) ? true : false;
}
} // end implicit try block
catch(Il2CppExceptionWrapper&)
{ // begin implicit catch block
__filter_local = false;
} // end implicit catch block
if (__filter_local)
{
goto FILTER_01b6;
}
else
{
IL2CPP_RAISE_MANAGED_EXCEPTION(IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *), ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataSetRelationCollection_AddCore_m102379FA1D8E8B2BA85021375B54C567F89B3BF9_RuntimeMethod_var)));
}
} // end filter (depth: 1)
FILTER_01b6:
{ // begin catch(filter)
Exception_t * L_86 = V_5;
Exception_t * L_87;
L_87 = ExceptionBuilder_TraceExceptionWithoutRethrow_m6367C97E51FECAC289B29A931D41BB2EAD0FF5DE(L_86, /*hidden argument*/NULL);
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_01c1;
} // end catch (depth: 1)
IL_01c1:
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_88 = ___relation0;
NullCheck(L_88);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_89;
L_89 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(8 /* System.Data.DataTable System.Data.DataRelation::get_ParentTable() */, L_88);
NullCheck(L_89);
ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1 * L_90;
L_90 = DataTable_get_Constraints_m5A2544AA333C8296B27056F249C2328E81A0A975_inline(L_89, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_91 = ___relation0;
NullCheck(L_91);
DataColumnU5BU5D_t707F732693E261B8D499AF62145420BF689DAA9C* L_92;
L_92 = DataRelation_get_ParentColumnsReference_m9DF80D987F3D9E7B8417E1628A1653A2E4A0E465(L_91, /*hidden argument*/NULL);
NullCheck(L_90);
UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 * L_93;
L_93 = ConstraintCollection_FindKeyConstraint_m9907C5E227EAE005D018E01E790FB6D05DCA6A60(L_90, L_92, /*hidden argument*/NULL);
V_2 = L_93;
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_94 = ___relation0;
UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 * L_95 = V_2;
NullCheck(L_94);
DataRelation_SetParentKeyConstraint_m01B06666313B33781C64456936F5677060DCEB74_inline(L_94, L_95, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_96 = ___relation0;
ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * L_97 = V_1;
NullCheck(L_96);
DataRelation_SetChildKeyConstraint_mC5248944C17EFEBB2E386BAD87EDDDD29A010BD0_inline(L_96, L_97, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Data.DataRelationCollection/DataSetRelationCollection::RemoveCore(System.Data.DataRelation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataSetRelationCollection_RemoveCore_m43C1215777512217C0DE3B5B00FB2012964AD910 (DataSetRelationCollection_t679438AEFA6DF47F762A03302CD334C8DA9560D3 * __this, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * ___relation0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 V_0;
memset((&V_0), 0, sizeof(V_0));
int32_t V_1 = 0;
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_0 = ___relation0;
DataRelationCollection_RemoveCore_mE09AD0C5FC6DADF9AE9FFDEE0339660D100F2AE2(__this, L_0, /*hidden argument*/NULL);
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_1 = __this->get__dataSet_7();
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_2 = ___relation0;
NullCheck(L_1);
DataSet_OnRemoveRelationHack_m634159374C17AC0A31CC96F750A62A5B7175FFC5(L_1, L_2, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_3 = ___relation0;
NullCheck(L_3);
DataRelation_SetDataSet_m6DDDC3E921CB75FA9C398AAB118DF5D30D15D060(L_3, (DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B *)NULL, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_4 = ___relation0;
NullCheck(L_4);
DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 L_5;
L_5 = DataRelation_get_ChildKey_mFC7FBCC367BCC1A0E16A5FD7CE2D87F7A3C33FA7(L_4, /*hidden argument*/NULL);
V_0 = L_5;
Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * L_6;
L_6 = DataKey_GetSortIndex_m9F8D5435AFD57BC7D6ADCBCFE63030D6ACC73717((DataKey_t729DC4084D9FB3EDBD64E760202E14C4B79CEF06 *)(&V_0), /*hidden argument*/NULL);
NullCheck(L_6);
int32_t L_7;
L_7 = Index_RemoveRef_m3D9985D587F8FD6A4E209DD9D512A65EC2AC9218(L_6, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_8 = ___relation0;
NullCheck(L_8);
bool L_9;
L_9 = VirtFuncInvoker0< bool >::Invoke(10 /* System.Boolean System.Data.DataRelation::get_Nested() */, L_8);
if (!L_9)
{
goto IL_0041;
}
}
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_10 = ___relation0;
NullCheck(L_10);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_11;
L_11 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(5 /* System.Data.DataTable System.Data.DataRelation::get_ChildTable() */, L_10);
NullCheck(L_11);
DataTable_CacheNestedParent_mD0DC4516392D210EE9B09DA759AAF322B541429E(L_11, /*hidden argument*/NULL);
}
IL_0041:
{
V_1 = 0;
goto IL_00be;
}
IL_0045:
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_12 = ___relation0;
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_13 = __this->get__relations_8();
int32_t L_14 = V_1;
NullCheck(L_13);
RuntimeObject * L_15;
L_15 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(27 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_13, L_14);
if ((!(((RuntimeObject*)(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 *)L_12) == ((RuntimeObject*)(RuntimeObject *)L_15))))
{
goto IL_00ba;
}
}
{
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_16 = __this->get__relations_8();
int32_t L_17 = V_1;
NullCheck(L_16);
VirtActionInvoker1< int32_t >::Invoke(42 /* System.Void System.Collections.ArrayList::RemoveAt(System.Int32) */, L_16, L_17);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_18 = ___relation0;
NullCheck(L_18);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_19;
L_19 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(8 /* System.Data.DataTable System.Data.DataRelation::get_ParentTable() */, L_18);
NullCheck(L_19);
DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * L_20;
L_20 = DataTable_get_ChildRelations_mA386665CBE9975EB74C28B211062B95BED63A8A5(L_19, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_21 = ___relation0;
NullCheck(((DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E *)CastclassSealed((RuntimeObject*)L_20, DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E_il2cpp_TypeInfo_var)));
DataRelationCollection_Remove_m52CAC79D42F8ADFB457296DACBBBD72EA16CFA36(((DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E *)CastclassSealed((RuntimeObject*)L_20, DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E_il2cpp_TypeInfo_var)), L_21, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_22 = ___relation0;
NullCheck(L_22);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_23;
L_23 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(5 /* System.Data.DataTable System.Data.DataRelation::get_ChildTable() */, L_22);
NullCheck(L_23);
DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * L_24;
L_24 = DataTable_get_ParentRelations_m89183A6461A73E959687ACC469962675B4EA5ADF(L_23, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_25 = ___relation0;
NullCheck(((DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E *)CastclassSealed((RuntimeObject*)L_24, DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E_il2cpp_TypeInfo_var)));
DataRelationCollection_Remove_m52CAC79D42F8ADFB457296DACBBBD72EA16CFA36(((DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E *)CastclassSealed((RuntimeObject*)L_24, DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E_il2cpp_TypeInfo_var)), L_25, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_26 = ___relation0;
NullCheck(L_26);
bool L_27;
L_27 = VirtFuncInvoker0< bool >::Invoke(10 /* System.Boolean System.Data.DataRelation::get_Nested() */, L_26);
if (!L_27)
{
goto IL_009f;
}
}
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_28 = ___relation0;
NullCheck(L_28);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_29;
L_29 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(5 /* System.Data.DataTable System.Data.DataRelation::get_ChildTable() */, L_28);
NullCheck(L_29);
DataTable_CacheNestedParent_mD0DC4516392D210EE9B09DA759AAF322B541429E(L_29, /*hidden argument*/NULL);
}
IL_009f:
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_30 = ___relation0;
NullCheck(L_30);
String_t* L_31;
L_31 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String System.Data.DataRelation::get_RelationName() */, L_30);
DataRelationCollection_UnregisterName_m5273EE3A598D199B17D85597010A3DD999B8A6F2(__this, L_31, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_32 = ___relation0;
NullCheck(L_32);
DataRelation_SetParentKeyConstraint_m01B06666313B33781C64456936F5677060DCEB74_inline(L_32, (UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 *)NULL, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_33 = ___relation0;
NullCheck(L_33);
DataRelation_SetChildKeyConstraint_mC5248944C17EFEBB2E386BAD87EDDDD29A010BD0_inline(L_33, (ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD *)NULL, /*hidden argument*/NULL);
return;
}
IL_00ba:
{
int32_t L_34 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)1));
}
IL_00be:
{
int32_t L_35 = V_1;
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_36 = __this->get__relations_8();
NullCheck(L_36);
int32_t L_37;
L_37 = VirtFuncInvoker0< int32_t >::Invoke(22 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_36);
if ((((int32_t)L_35) < ((int32_t)L_37)))
{
goto IL_0045;
}
}
{
Exception_t * L_38;
L_38 = ExceptionBuilder_RelationDoesNotExist_mBF363A0B708110C510DA507077C43B6083EB5701(/*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_38, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataSetRelationCollection_RemoveCore_m43C1215777512217C0DE3B5B00FB2012964AD910_RuntimeMethod_var)));
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Data.DataRelationCollection/DataTableRelationCollection::.ctor(System.Data.DataTable,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataTableRelationCollection__ctor_m7A2DFA537CE65FAC4415F3AFE408D710E0215C55 (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ___table0, bool ___fParentCollection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
DataRelationCollection__ctor_m0064756431658F3229B6D9951D946247F7C8294A(__this, /*hidden argument*/NULL);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_0 = ___table0;
if (L_0)
{
goto IL_000f;
}
}
{
Exception_t * L_1;
L_1 = ExceptionBuilder_RelationTableNull_m9855D653A8D278FB8F1C9E9422302A120796F62C(/*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataTableRelationCollection__ctor_m7A2DFA537CE65FAC4415F3AFE408D710E0215C55_RuntimeMethod_var)));
}
IL_000f:
{
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_2 = ___table0;
__this->set__table_7(L_2);
bool L_3 = ___fParentCollection1;
__this->set__fParentCollection_9(L_3);
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_4 = (ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 *)il2cpp_codegen_object_new(ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575_il2cpp_TypeInfo_var);
ArrayList__ctor_m6847CFECD6BDC2AD10A4AC9852A572B88B8D6B1B(L_4, /*hidden argument*/NULL);
__this->set__relations_8(L_4);
return;
}
}
// System.Collections.ArrayList System.Data.DataRelationCollection/DataTableRelationCollection::get_List()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * DataTableRelationCollection_get_List_m13280C53F376828B695F8954C9A0CC31D656ACA1 (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, const RuntimeMethod* method)
{
{
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_0 = __this->get__relations_8();
return L_0;
}
}
// System.Void System.Data.DataRelationCollection/DataTableRelationCollection::EnsureDataSet()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataTableRelationCollection_EnsureDataSet_mCEA71BCCC50AF74B2D08774F6B93A0928C81F042 (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, const RuntimeMethod* method)
{
{
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_0 = __this->get__table_7();
NullCheck(L_0);
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_1;
L_1 = DataTable_get_DataSet_m2C802912DB49BDC3016F489FB8D28CA79D557CFD_inline(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0013;
}
}
{
Exception_t * L_2;
L_2 = ExceptionBuilder_RelationTableWasRemoved_m8027F00A53A15C35DAD79ECE2414B98FFD6BC635(/*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataTableRelationCollection_EnsureDataSet_mCEA71BCCC50AF74B2D08774F6B93A0928C81F042_RuntimeMethod_var)));
}
IL_0013:
{
return;
}
}
// System.Data.DataSet System.Data.DataRelationCollection/DataTableRelationCollection::GetDataSet()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * DataTableRelationCollection_GetDataSet_m1D7FF0088A252FFF32AC1A35390027EEB0CF3101 (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, const RuntimeMethod* method)
{
{
DataTableRelationCollection_EnsureDataSet_mCEA71BCCC50AF74B2D08774F6B93A0928C81F042(__this, /*hidden argument*/NULL);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_0 = __this->get__table_7();
NullCheck(L_0);
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_1;
L_1 = DataTable_get_DataSet_m2C802912DB49BDC3016F489FB8D28CA79D557CFD_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Data.DataRelation System.Data.DataRelationCollection/DataTableRelationCollection::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * DataTableRelationCollection_get_Item_m2B17AF5FBD6241147800D8B84285C8595BF8C3DE (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, int32_t ___index0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) < ((int32_t)0)))
{
goto IL_0024;
}
}
{
int32_t L_1 = ___index0;
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_2 = __this->get__relations_8();
NullCheck(L_2);
int32_t L_3;
L_3 = VirtFuncInvoker0< int32_t >::Invoke(22 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_2);
if ((((int32_t)L_1) >= ((int32_t)L_3)))
{
goto IL_0024;
}
}
{
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_4 = __this->get__relations_8();
int32_t L_5 = ___index0;
NullCheck(L_4);
RuntimeObject * L_6;
L_6 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(27 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_4, L_5);
return ((DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 *)CastclassClass((RuntimeObject*)L_6, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_il2cpp_TypeInfo_var));
}
IL_0024:
{
int32_t L_7 = ___index0;
int32_t L_8 = L_7;
RuntimeObject * L_9 = Box(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var)), &L_8);
Exception_t * L_10;
L_10 = ExceptionBuilder_RelationOutOfRange_mFEAFF706E00A243A6476921DC0841EEE54C6503B(L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataTableRelationCollection_get_Item_m2B17AF5FBD6241147800D8B84285C8595BF8C3DE_RuntimeMethod_var)));
}
}
// System.Data.DataRelation System.Data.DataRelationCollection/DataTableRelationCollection::get_Item(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * DataTableRelationCollection_get_Item_m7AB8565259BA33E29870CE8CB735BDB4187FBFE2 (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, String_t* ___name0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
String_t* L_0 = ___name0;
int32_t L_1;
L_1 = DataRelationCollection_InternalIndexOf_mFD60BB18EC6DD8AEA2B75CE7BA9669D88937F51E(__this, L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
if ((!(((uint32_t)L_2) == ((uint32_t)((int32_t)-2)))))
{
goto IL_0014;
}
}
{
String_t* L_3 = ___name0;
Exception_t * L_4;
L_4 = ExceptionBuilder_CaseInsensitiveNameConflict_m84FE47D0CE6994026D8D02D84EE4A2D61D48EC38(L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataTableRelationCollection_get_Item_m7AB8565259BA33E29870CE8CB735BDB4187FBFE2_RuntimeMethod_var)));
}
IL_0014:
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) < ((int32_t)0)))
{
goto IL_002a;
}
}
{
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_6;
L_6 = VirtFuncInvoker0< ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * >::Invoke(12 /* System.Collections.ArrayList System.Data.InternalDataCollectionBase::get_List() */, __this);
int32_t L_7 = V_0;
NullCheck(L_6);
RuntimeObject * L_8;
L_8 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(27 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_6, L_7);
return ((DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 *)CastclassClass((RuntimeObject*)L_8, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9_il2cpp_TypeInfo_var));
}
IL_002a:
{
return (DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 *)NULL;
}
}
// System.Void System.Data.DataRelationCollection/DataTableRelationCollection::add_RelationPropertyChanged(System.ComponentModel.CollectionChangeEventHandler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataTableRelationCollection_add_RelationPropertyChanged_m93F695D680704717A2A967E6186F08D9B6FD71C8 (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * V_0 = NULL;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * V_1 = NULL;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * V_2 = NULL;
{
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_0 = __this->get_RelationPropertyChanged_10();
V_0 = L_0;
}
IL_0007:
{
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_1 = V_0;
V_1 = L_1;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_2 = V_1;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_3 = ___value0;
Delegate_t * L_4;
L_4 = Delegate_Combine_m631D10D6CFF81AB4F237B9D549B235A54F45FA55(L_2, L_3, /*hidden argument*/NULL);
V_2 = ((CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 *)CastclassSealed((RuntimeObject*)L_4, CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77_il2cpp_TypeInfo_var));
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 ** L_5 = __this->get_address_of_RelationPropertyChanged_10();
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_6 = V_2;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_7 = V_1;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_8;
L_8 = InterlockedCompareExchangeImpl<CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 *>((CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 **)L_5, L_6, L_7);
V_0 = L_8;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_9 = V_0;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_10 = V_1;
if ((!(((RuntimeObject*)(CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 *)L_9) == ((RuntimeObject*)(CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 *)L_10))))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Void System.Data.DataRelationCollection/DataTableRelationCollection::remove_RelationPropertyChanged(System.ComponentModel.CollectionChangeEventHandler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataTableRelationCollection_remove_RelationPropertyChanged_mB4874B6DD605FD40C91EB63173ABA5743FD8D826 (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * V_0 = NULL;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * V_1 = NULL;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * V_2 = NULL;
{
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_0 = __this->get_RelationPropertyChanged_10();
V_0 = L_0;
}
IL_0007:
{
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_1 = V_0;
V_1 = L_1;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_2 = V_1;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_3 = ___value0;
Delegate_t * L_4;
L_4 = Delegate_Remove_m8B4AD17254118B2904720D55C9B34FB3DCCBD7D4(L_2, L_3, /*hidden argument*/NULL);
V_2 = ((CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 *)CastclassSealed((RuntimeObject*)L_4, CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77_il2cpp_TypeInfo_var));
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 ** L_5 = __this->get_address_of_RelationPropertyChanged_10();
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_6 = V_2;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_7 = V_1;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_8;
L_8 = InterlockedCompareExchangeImpl<CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 *>((CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 **)L_5, L_6, L_7);
V_0 = L_8;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_9 = V_0;
CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 * L_10 = V_1;
if ((!(((RuntimeObject*)(CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 *)L_9) == ((RuntimeObject*)(CollectionChangeEventHandler_t935F19010617051C6E5CA8F91D1724F0A0D61F77 *)L_10))))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Void System.Data.DataRelationCollection/DataTableRelationCollection::AddCache(System.Data.DataRelation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataTableRelationCollection_AddCache_mDBEB241D76562A278B30746B2D3EC8F435E39C61 (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * ___relation0, const RuntimeMethod* method)
{
{
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_0 = __this->get__relations_8();
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_1 = ___relation0;
NullCheck(L_0);
int32_t L_2;
L_2 = VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(29 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_0, L_1);
bool L_3 = __this->get__fParentCollection_9();
if (L_3)
{
goto IL_0020;
}
}
{
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_4 = __this->get__table_7();
NullCheck(L_4);
DataTable_UpdatePropertyDescriptorCollectionCache_m71D3EDD0305A00EBCE53C52C39CF8856FD969F93(L_4, /*hidden argument*/NULL);
}
IL_0020:
{
return;
}
}
// System.Void System.Data.DataRelationCollection/DataTableRelationCollection::AddCore(System.Data.DataRelation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataTableRelationCollection_AddCore_m3257E9A45D276D8201849D6FE2D478660ED4C876 (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * ___relation0, const RuntimeMethod* method)
{
{
bool L_0 = __this->get__fParentCollection_9();
if (!L_0)
{
goto IL_001c;
}
}
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_1 = ___relation0;
NullCheck(L_1);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_2;
L_2 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(5 /* System.Data.DataTable System.Data.DataRelation::get_ChildTable() */, L_1);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_3 = __this->get__table_7();
if ((((RuntimeObject*)(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 *)L_2) == ((RuntimeObject*)(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 *)L_3)))
{
goto IL_0030;
}
}
{
Exception_t * L_4;
L_4 = ExceptionBuilder_ChildTableMismatch_m8E0CF72D5E912D665E1E6882BDDF97841A005240(/*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataTableRelationCollection_AddCore_m3257E9A45D276D8201849D6FE2D478660ED4C876_RuntimeMethod_var)));
}
IL_001c:
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_5 = ___relation0;
NullCheck(L_5);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_6;
L_6 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(8 /* System.Data.DataTable System.Data.DataRelation::get_ParentTable() */, L_5);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_7 = __this->get__table_7();
if ((((RuntimeObject*)(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 *)L_6) == ((RuntimeObject*)(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 *)L_7)))
{
goto IL_0030;
}
}
{
Exception_t * L_8;
L_8 = ExceptionBuilder_ParentTableMismatch_mD7F347D4B4DA5F4937244264634E1947275ACAD9(/*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataTableRelationCollection_AddCore_m3257E9A45D276D8201849D6FE2D478660ED4C876_RuntimeMethod_var)));
}
IL_0030:
{
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_9;
L_9 = VirtFuncInvoker0< DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * >::Invoke(18 /* System.Data.DataSet System.Data.DataRelationCollection::GetDataSet() */, __this);
NullCheck(L_9);
DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * L_10;
L_10 = DataSet_get_Relations_m648141B55045B57180317A120843883175B4A449_inline(L_9, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_11 = ___relation0;
NullCheck(L_10);
DataRelationCollection_Add_mE0427AE8FE9BEDCE37E502016C376AD5AE6AE705(L_10, L_11, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_12 = ___relation0;
DataTableRelationCollection_AddCache_mDBEB241D76562A278B30746B2D3EC8F435E39C61(__this, L_12, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Data.DataRelationCollection/DataTableRelationCollection::RemoveCache(System.Data.DataRelation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataTableRelationCollection_RemoveCache_m434228DCEBDE2D480891504B10229B31F3B4D5AB (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * ___relation0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
V_0 = 0;
goto IL_0037;
}
IL_0004:
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_0 = ___relation0;
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_1 = __this->get__relations_8();
int32_t L_2 = V_0;
NullCheck(L_1);
RuntimeObject * L_3;
L_3 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(27 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_1, L_2);
if ((!(((RuntimeObject*)(DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 *)L_0) == ((RuntimeObject*)(RuntimeObject *)L_3))))
{
goto IL_0033;
}
}
{
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_4 = __this->get__relations_8();
int32_t L_5 = V_0;
NullCheck(L_4);
VirtActionInvoker1< int32_t >::Invoke(42 /* System.Void System.Collections.ArrayList::RemoveAt(System.Int32) */, L_4, L_5);
bool L_6 = __this->get__fParentCollection_9();
if (L_6)
{
goto IL_0032;
}
}
{
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_7 = __this->get__table_7();
NullCheck(L_7);
DataTable_UpdatePropertyDescriptorCollectionCache_m71D3EDD0305A00EBCE53C52C39CF8856FD969F93(L_7, /*hidden argument*/NULL);
}
IL_0032:
{
return;
}
IL_0033:
{
int32_t L_8 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1));
}
IL_0037:
{
int32_t L_9 = V_0;
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * L_10 = __this->get__relations_8();
NullCheck(L_10);
int32_t L_11;
L_11 = VirtFuncInvoker0< int32_t >::Invoke(22 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_10);
if ((((int32_t)L_9) < ((int32_t)L_11)))
{
goto IL_0004;
}
}
{
Exception_t * L_12;
L_12 = ExceptionBuilder_RelationDoesNotExist_mBF363A0B708110C510DA507077C43B6083EB5701(/*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataTableRelationCollection_RemoveCache_m434228DCEBDE2D480891504B10229B31F3B4D5AB_RuntimeMethod_var)));
}
}
// System.Void System.Data.DataRelationCollection/DataTableRelationCollection::RemoveCore(System.Data.DataRelation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataTableRelationCollection_RemoveCore_m0A6F4AFBF5E60ADB157873890F661C6031581CB2 (DataTableRelationCollection_t2238023681888274464D5FD23BDD7398557FE40E * __this, DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * ___relation0, const RuntimeMethod* method)
{
{
bool L_0 = __this->get__fParentCollection_9();
if (!L_0)
{
goto IL_001c;
}
}
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_1 = ___relation0;
NullCheck(L_1);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_2;
L_2 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(5 /* System.Data.DataTable System.Data.DataRelation::get_ChildTable() */, L_1);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_3 = __this->get__table_7();
if ((((RuntimeObject*)(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 *)L_2) == ((RuntimeObject*)(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 *)L_3)))
{
goto IL_0030;
}
}
{
Exception_t * L_4;
L_4 = ExceptionBuilder_ChildTableMismatch_m8E0CF72D5E912D665E1E6882BDDF97841A005240(/*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataTableRelationCollection_RemoveCore_m0A6F4AFBF5E60ADB157873890F661C6031581CB2_RuntimeMethod_var)));
}
IL_001c:
{
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_5 = ___relation0;
NullCheck(L_5);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_6;
L_6 = VirtFuncInvoker0< DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * >::Invoke(8 /* System.Data.DataTable System.Data.DataRelation::get_ParentTable() */, L_5);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_7 = __this->get__table_7();
if ((((RuntimeObject*)(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 *)L_6) == ((RuntimeObject*)(DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 *)L_7)))
{
goto IL_0030;
}
}
{
Exception_t * L_8;
L_8 = ExceptionBuilder_ParentTableMismatch_mD7F347D4B4DA5F4937244264634E1947275ACAD9(/*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataTableRelationCollection_RemoveCore_m0A6F4AFBF5E60ADB157873890F661C6031581CB2_RuntimeMethod_var)));
}
IL_0030:
{
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_9;
L_9 = VirtFuncInvoker0< DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * >::Invoke(18 /* System.Data.DataSet System.Data.DataRelationCollection::GetDataSet() */, __this);
NullCheck(L_9);
DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * L_10;
L_10 = DataSet_get_Relations_m648141B55045B57180317A120843883175B4A449_inline(L_9, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_11 = ___relation0;
NullCheck(L_10);
DataRelationCollection_Remove_m52CAC79D42F8ADFB457296DACBBBD72EA16CFA36(L_10, L_11, /*hidden argument*/NULL);
DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * L_12 = ___relation0;
DataTableRelationCollection_RemoveCache_m434228DCEBDE2D480891504B10229B31F3B4D5AB(__this, L_12, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Data.DataRowCollection/DataRowTree::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRowTree__ctor_m15BF0F9FFAC656817ECBC89877733D47E3F16582 (DataRowTree_t919D7F356802E01FEAFB0C112C7993717AE0FA63 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RBTree_1__ctor_m72A0B117F9F8DDF8D7C0241D5485E5E004823AA1_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
RBTree_1__ctor_m72A0B117F9F8DDF8D7C0241D5485E5E004823AA1(__this, 2, /*hidden argument*/RBTree_1__ctor_m72A0B117F9F8DDF8D7C0241D5485E5E004823AA1_RuntimeMethod_var);
return;
}
}
// System.Int32 System.Data.DataRowCollection/DataRowTree::CompareNode(System.Data.DataRow,System.Data.DataRow)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DataRowTree_CompareNode_mBCF6F51999568BCD87DB069D322B3BEF94C81820 (DataRowTree_t919D7F356802E01FEAFB0C112C7993717AE0FA63 * __this, DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE * ___record10, DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE * ___record21, const RuntimeMethod* method)
{
{
Exception_t * L_0;
L_0 = ExceptionBuilder_InternalRBTreeError_m8305960D40FCF87EABEBB85BC70288E33F41B7D3(((int32_t)19), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataRowTree_CompareNode_mBCF6F51999568BCD87DB069D322B3BEF94C81820_RuntimeMethod_var)));
}
}
// System.Int32 System.Data.DataRowCollection/DataRowTree::CompareSateliteTreeNode(System.Data.DataRow,System.Data.DataRow)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DataRowTree_CompareSateliteTreeNode_mB74E951EDADFA611BFF2F10338BB5B41470139CD (DataRowTree_t919D7F356802E01FEAFB0C112C7993717AE0FA63 * __this, DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE * ___record10, DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE * ___record21, const RuntimeMethod* method)
{
{
Exception_t * L_0;
L_0 = ExceptionBuilder_InternalRBTreeError_m8305960D40FCF87EABEBB85BC70288E33F41B7D3(((int32_t)20), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&DataRowTree_CompareSateliteTreeNode_mB74E951EDADFA611BFF2F10338BB5B41470139CD_RuntimeMethod_var)));
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Conversion methods for marshalling of: System.Data.DataTable/DSRowDiffIdUsageSection
IL2CPP_EXTERN_C void DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A_marshal_pinvoke(const DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A& unmarshaled, DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A_marshaled_pinvoke& marshaled)
{
Exception_t* ____targetDS_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field '_targetDS' of type 'DSRowDiffIdUsageSection': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(____targetDS_0Exception, NULL);
}
IL2CPP_EXTERN_C void DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A_marshal_pinvoke_back(const DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A_marshaled_pinvoke& marshaled, DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A& unmarshaled)
{
Exception_t* ____targetDS_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field '_targetDS' of type 'DSRowDiffIdUsageSection': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(____targetDS_0Exception, NULL);
}
// Conversion method for clean up from marshalling of: System.Data.DataTable/DSRowDiffIdUsageSection
IL2CPP_EXTERN_C void DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A_marshal_pinvoke_cleanup(DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: System.Data.DataTable/DSRowDiffIdUsageSection
IL2CPP_EXTERN_C void DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A_marshal_com(const DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A& unmarshaled, DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A_marshaled_com& marshaled)
{
Exception_t* ____targetDS_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field '_targetDS' of type 'DSRowDiffIdUsageSection': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(____targetDS_0Exception, NULL);
}
IL2CPP_EXTERN_C void DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A_marshal_com_back(const DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A_marshaled_com& marshaled, DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A& unmarshaled)
{
Exception_t* ____targetDS_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field '_targetDS' of type 'DSRowDiffIdUsageSection': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(____targetDS_0Exception, NULL);
}
// Conversion method for clean up from marshalling of: System.Data.DataTable/DSRowDiffIdUsageSection
IL2CPP_EXTERN_C void DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A_marshal_com_cleanup(DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A_marshaled_com& marshaled)
{
}
// System.Void System.Data.DataTable/DSRowDiffIdUsageSection::Prepare(System.Data.DataSet)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DSRowDiffIdUsageSection_Prepare_mC4CEB7FFD8772F49FBF9D37119874875CF204D71 (DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A * __this, DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * ___ds0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_0 = ___ds0;
__this->set__targetDS_0(L_0);
V_0 = 0;
goto IL_0021;
}
IL_000b:
{
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_1 = ___ds0;
NullCheck(L_1);
DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451 * L_2;
L_2 = DataSet_get_Tables_m02936105F6E973CE901C846EFE6C8BB3B4AD7BAE_inline(L_1, /*hidden argument*/NULL);
int32_t L_3 = V_0;
NullCheck(L_2);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_4;
L_4 = DataTableCollection_get_Item_m66EE1B4BCB0DFDD6261F3EA014B9A162C2F21B4E(L_2, L_3, /*hidden argument*/NULL);
NullCheck(L_4);
L_4->set__rowDiffId_70((Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC *)NULL);
int32_t L_5 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0021:
{
int32_t L_6 = V_0;
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_7 = ___ds0;
NullCheck(L_7);
DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451 * L_8;
L_8 = DataSet_get_Tables_m02936105F6E973CE901C846EFE6C8BB3B4AD7BAE_inline(L_7, /*hidden argument*/NULL);
NullCheck(L_8);
int32_t L_9;
L_9 = VirtFuncInvoker0< int32_t >::Invoke(9 /* System.Int32 System.Data.InternalDataCollectionBase::get_Count() */, L_8);
if ((((int32_t)L_6) < ((int32_t)L_9)))
{
goto IL_000b;
}
}
{
return;
}
}
IL2CPP_EXTERN_C void DSRowDiffIdUsageSection_Prepare_mC4CEB7FFD8772F49FBF9D37119874875CF204D71_AdjustorThunk (RuntimeObject * __this, DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * ___ds0, const RuntimeMethod* method)
{
int32_t _offset = 1;
DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A * _thisAdjusted = reinterpret_cast<DSRowDiffIdUsageSection_t99358A8098D585C28B426D1279FD9002BB93681A *>(__this + _offset);
DSRowDiffIdUsageSection_Prepare_mC4CEB7FFD8772F49FBF9D37119874875CF204D71(_thisAdjusted, ___ds0, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Conversion methods for marshalling of: System.Data.DataTable/RowDiffIdUsageSection
IL2CPP_EXTERN_C void RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF_marshal_pinvoke(const RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF& unmarshaled, RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF_marshaled_pinvoke& marshaled)
{
Exception_t* ____targetTable_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field '_targetTable' of type 'RowDiffIdUsageSection': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(____targetTable_0Exception, NULL);
}
IL2CPP_EXTERN_C void RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF_marshal_pinvoke_back(const RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF_marshaled_pinvoke& marshaled, RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF& unmarshaled)
{
Exception_t* ____targetTable_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field '_targetTable' of type 'RowDiffIdUsageSection': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(____targetTable_0Exception, NULL);
}
// Conversion method for clean up from marshalling of: System.Data.DataTable/RowDiffIdUsageSection
IL2CPP_EXTERN_C void RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF_marshal_pinvoke_cleanup(RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: System.Data.DataTable/RowDiffIdUsageSection
IL2CPP_EXTERN_C void RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF_marshal_com(const RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF& unmarshaled, RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF_marshaled_com& marshaled)
{
Exception_t* ____targetTable_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field '_targetTable' of type 'RowDiffIdUsageSection': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(____targetTable_0Exception, NULL);
}
IL2CPP_EXTERN_C void RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF_marshal_com_back(const RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF_marshaled_com& marshaled, RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF& unmarshaled)
{
Exception_t* ____targetTable_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field '_targetTable' of type 'RowDiffIdUsageSection': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(____targetTable_0Exception, NULL);
}
// Conversion method for clean up from marshalling of: System.Data.DataTable/RowDiffIdUsageSection
IL2CPP_EXTERN_C void RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF_marshal_com_cleanup(RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF_marshaled_com& marshaled)
{
}
// System.Void System.Data.DataTable/RowDiffIdUsageSection::Prepare(System.Data.DataTable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RowDiffIdUsageSection_Prepare_mCE756A36AEDEDA2B4055CB5FD21AC2C44B513C5D (RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF * __this, DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ___table0, const RuntimeMethod* method)
{
{
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_0 = ___table0;
__this->set__targetTable_0(L_0);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_1 = ___table0;
NullCheck(L_1);
L_1->set__rowDiffId_70((Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC *)NULL);
return;
}
}
IL2CPP_EXTERN_C void RowDiffIdUsageSection_Prepare_mCE756A36AEDEDA2B4055CB5FD21AC2C44B513C5D_AdjustorThunk (RuntimeObject * __this, DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ___table0, const RuntimeMethod* method)
{
int32_t _offset = 1;
RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF * _thisAdjusted = reinterpret_cast<RowDiffIdUsageSection_tBF12365C1D82C7FF63229B801700EF3DA76181CF *>(__this + _offset);
RowDiffIdUsageSection_Prepare_mCE756A36AEDEDA2B4055CB5FD21AC2C44B513C5D(_thisAdjusted, ___table0, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Data.DataView/DataRowReferenceComparer::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRowReferenceComparer__ctor_m244D967AE38FF6820B4A3C1951139A8498C0C65A (DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Data.DataView/DataRowReferenceComparer::Equals(System.Data.DataRow,System.Data.DataRow)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool DataRowReferenceComparer_Equals_mCE23B41B96B4C7FBB75883A0A10B108661C9CCFC (DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051 * __this, DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE * ___x0, DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE * ___y1, const RuntimeMethod* method)
{
{
DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE * L_0 = ___x0;
DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE * L_1 = ___y1;
return (bool)((((RuntimeObject*)(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE *)L_0) == ((RuntimeObject*)(DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE *)L_1))? 1 : 0);
}
}
// System.Int32 System.Data.DataView/DataRowReferenceComparer::GetHashCode(System.Data.DataRow)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DataRowReferenceComparer_GetHashCode_m8E3FA8A7CCA470A517C3664640D2AFF331C30B4E (DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051 * __this, DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE * ___obj0, const RuntimeMethod* method)
{
{
DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE * L_0 = ___obj0;
NullCheck(L_0);
int32_t L_1 = L_0->get__objectID_15();
return L_1;
}
}
// System.Void System.Data.DataView/DataRowReferenceComparer::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DataRowReferenceComparer__cctor_m7DAFD22BC33271E1CAC53E4E87D0AA0253D198E2 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051 * L_0 = (DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051 *)il2cpp_codegen_object_new(DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051_il2cpp_TypeInfo_var);
DataRowReferenceComparer__ctor_m244D967AE38FF6820B4A3C1951139A8498C0C65A(L_0, /*hidden argument*/NULL);
((DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051_StaticFields*)il2cpp_codegen_static_fields_for(DataRowReferenceComparer_t0195804084076F67C8A3951399CA33E24E406051_il2cpp_TypeInfo_var))->set_s_default_0(L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Conversion methods for marshalling of: System.Data.ExpressionParser/ReservedWords
IL2CPP_EXTERN_C void ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62_marshal_pinvoke(const ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62& unmarshaled, ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62_marshaled_pinvoke& marshaled)
{
marshaled.____word_0 = il2cpp_codegen_marshal_string(unmarshaled.get__word_0());
marshaled.____token_1 = unmarshaled.get__token_1();
marshaled.____op_2 = unmarshaled.get__op_2();
}
IL2CPP_EXTERN_C void ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62_marshal_pinvoke_back(const ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62_marshaled_pinvoke& marshaled, ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62& unmarshaled)
{
unmarshaled.set__word_0(il2cpp_codegen_marshal_string_result(marshaled.____word_0));
int32_t unmarshaled__token_temp_1 = 0;
unmarshaled__token_temp_1 = marshaled.____token_1;
unmarshaled.set__token_1(unmarshaled__token_temp_1);
int32_t unmarshaled__op_temp_2 = 0;
unmarshaled__op_temp_2 = marshaled.____op_2;
unmarshaled.set__op_2(unmarshaled__op_temp_2);
}
// Conversion method for clean up from marshalling of: System.Data.ExpressionParser/ReservedWords
IL2CPP_EXTERN_C void ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62_marshal_pinvoke_cleanup(ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62_marshaled_pinvoke& marshaled)
{
il2cpp_codegen_marshal_free(marshaled.____word_0);
marshaled.____word_0 = NULL;
}
// Conversion methods for marshalling of: System.Data.ExpressionParser/ReservedWords
IL2CPP_EXTERN_C void ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62_marshal_com(const ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62& unmarshaled, ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62_marshaled_com& marshaled)
{
marshaled.____word_0 = il2cpp_codegen_marshal_bstring(unmarshaled.get__word_0());
marshaled.____token_1 = unmarshaled.get__token_1();
marshaled.____op_2 = unmarshaled.get__op_2();
}
IL2CPP_EXTERN_C void ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62_marshal_com_back(const ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62_marshaled_com& marshaled, ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62& unmarshaled)
{
unmarshaled.set__word_0(il2cpp_codegen_marshal_bstring_result(marshaled.____word_0));
int32_t unmarshaled__token_temp_1 = 0;
unmarshaled__token_temp_1 = marshaled.____token_1;
unmarshaled.set__token_1(unmarshaled__token_temp_1);
int32_t unmarshaled__op_temp_2 = 0;
unmarshaled__op_temp_2 = marshaled.____op_2;
unmarshaled.set__op_2(unmarshaled__op_temp_2);
}
// Conversion method for clean up from marshalling of: System.Data.ExpressionParser/ReservedWords
IL2CPP_EXTERN_C void ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62_marshal_com_cleanup(ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62_marshaled_com& marshaled)
{
il2cpp_codegen_marshal_free_bstring(marshaled.____word_0);
marshaled.____word_0 = NULL;
}
// System.Void System.Data.ExpressionParser/ReservedWords::.ctor(System.String,System.Data.Tokens,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReservedWords__ctor_mD97E4D783563B6C4AE1B7E42E32D5C63D6ACC4FE (ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62 * __this, String_t* ___word0, int32_t ___token1, int32_t ___op2, const RuntimeMethod* method)
{
{
String_t* L_0 = ___word0;
__this->set__word_0(L_0);
int32_t L_1 = ___token1;
__this->set__token_1(L_1);
int32_t L_2 = ___op2;
__this->set__op_2(L_2);
return;
}
}
IL2CPP_EXTERN_C void ReservedWords__ctor_mD97E4D783563B6C4AE1B7E42E32D5C63D6ACC4FE_AdjustorThunk (RuntimeObject * __this, String_t* ___word0, int32_t ___token1, int32_t ___op2, const RuntimeMethod* method)
{
int32_t _offset = 1;
ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62 * _thisAdjusted = reinterpret_cast<ReservedWords_t47DD3733DE702FA92AB9D25895E938A9B3645C62 *>(__this + _offset);
ReservedWords__ctor_mD97E4D783563B6C4AE1B7E42E32D5C63D6ACC4FE(_thisAdjusted, ___word0, ___token1, ___op2, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Data.Index/<>c::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__cctor_m068BADB0576569D0AF54AD544B2096D186016671 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033 * L_0 = (U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033 *)il2cpp_codegen_object_new(U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033_il2cpp_TypeInfo_var);
U3CU3Ec__ctor_m3EC84A773D1AA13D57751444E839948DA25E0A88(L_0, /*hidden argument*/NULL);
((U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033_il2cpp_TypeInfo_var))->set_U3CU3E9_0(L_0);
return;
}
}
// System.Void System.Data.Index/<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m3EC84A773D1AA13D57751444E839948DA25E0A88 (U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Data.Index/<>c::<.ctor>b__22_0(System.Data.DataViewListener)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CU3Ec_U3C_ctorU3Eb__22_0_m3F6AE56CEADCF56E33E28DC93C99B2809A82678D (U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033 * __this, DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E * ___listener0, const RuntimeMethod* method)
{
{
DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E * L_0 = ___listener0;
return (bool)((!(((RuntimeObject*)(DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E *)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
}
}
// System.Void System.Data.Index/<>c::<OnListChanged>b__85_0(System.Data.DataViewListener,System.ComponentModel.ListChangedEventArgs,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec_U3COnListChangedU3Eb__85_0_mFB87905C4274E4150A81CF357F962188316B2256 (U3CU3Ec_tCBCA7AF29D9B6DC586F536200ECC6EBF81232033 * __this, DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E * ___listener0, ListChangedEventArgs_t7E1DD2BB933BE30107C8B95958746E6AF24F6632 * ___args1, bool ___arg22, bool ___arg33, const RuntimeMethod* method)
{
{
DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E * L_0 = ___listener0;
ListChangedEventArgs_t7E1DD2BB933BE30107C8B95958746E6AF24F6632 * L_1 = ___args1;
NullCheck(L_0);
DataViewListener_IndexListChanged_m25D3882883976D7E1AD8A97D185AA91272B44EDB(L_0, L_1, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Data.Index/<>c__DisplayClass86_0::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass86_0__ctor_m6EA2AEA3D657FCC3C79E19D338924588C4CDB119 (U3CU3Ec__DisplayClass86_0_t0A216700852A2F8E0454E0E7A63AF4AB7200DFAB * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Data.Index/<>c__DisplayClass86_0::<MaintainDataView>b__0(System.Data.DataViewListener,System.ComponentModel.ListChangedType,System.Data.DataRow,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass86_0_U3CMaintainDataViewU3Eb__0_m7835AEEE4486F54141179D4E14B4AC917AAE8227 (U3CU3Ec__DisplayClass86_0_t0A216700852A2F8E0454E0E7A63AF4AB7200DFAB * __this, DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E * ___listener0, int32_t ___type1, DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE * ___row2, bool ___track3, const RuntimeMethod* method)
{
{
DataViewListener_tE5288E3EE7EDA7C08067B6B2D194D2D7DFBE1C4E * L_0 = ___listener0;
int32_t L_1 = __this->get_changedType_0();
DataRow_tE27621B890B8198D5263AFFE602C6C2DCBF9CCEE * L_2 = ___row2;
bool L_3 = ___track3;
NullCheck(L_0);
DataViewListener_MaintainDataView_mE437821F6BF58541964A90BA68E5725E7E01EC3F(L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Data.Index/IndexTree::.ctor(System.Data.Index)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IndexTree__ctor_mA2DC36F2D1917439EF182EAA01256F9BA56D00F6 (IndexTree_t0E9881360105536EEEDB380C194A80B9BE1A9F7D * __this, Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * ___index0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RBTree_1__ctor_m4BCBFD13A94209377525F282ADFB174018DEBF32_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
RBTree_1__ctor_m4BCBFD13A94209377525F282ADFB174018DEBF32(__this, 1, /*hidden argument*/RBTree_1__ctor_m4BCBFD13A94209377525F282ADFB174018DEBF32_RuntimeMethod_var);
Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * L_0 = ___index0;
__this->set__index_9(L_0);
return;
}
}
// System.Int32 System.Data.Index/IndexTree::CompareNode(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t IndexTree_CompareNode_mDFC0C472D3A8AAB1A56AC36CB806ABB7593B4C3D (IndexTree_t0E9881360105536EEEDB380C194A80B9BE1A9F7D * __this, int32_t ___record10, int32_t ___record21, const RuntimeMethod* method)
{
{
Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * L_0 = __this->get__index_9();
int32_t L_1 = ___record10;
int32_t L_2 = ___record21;
NullCheck(L_0);
int32_t L_3;
L_3 = Index_CompareRecords_mDA459BE7B151471680FA26C2C49CF06871A737C7(L_0, L_1, L_2, /*hidden argument*/NULL);
return L_3;
}
}
// System.Int32 System.Data.Index/IndexTree::CompareSateliteTreeNode(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t IndexTree_CompareSateliteTreeNode_m2F4780DCCBE60394BE7784D8D473DDF4D73892AA (IndexTree_t0E9881360105536EEEDB380C194A80B9BE1A9F7D * __this, int32_t ___record10, int32_t ___record21, const RuntimeMethod* method)
{
{
Index_tBA5996BF61AC61F6DE0C3EED5475B25D2892F663 * L_0 = __this->get__index_9();
int32_t L_1 = ___record10;
int32_t L_2 = ___record21;
NullCheck(L_0);
int32_t L_3;
L_3 = Index_CompareDuplicateRecords_m17436134DD6B65B36B1C1D8043EB05B775C2A399(L_0, L_1, L_2, /*hidden argument*/NULL);
return L_3;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Data.Common.ObjectStorage/TempAssemblyComparer::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TempAssemblyComparer__ctor_mCD62B6982AD8B2B0C8C2F672FCC56470E4D72A40 (TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Data.Common.ObjectStorage/TempAssemblyComparer::Equals(System.Collections.Generic.KeyValuePair`2<System.Type,System.Xml.Serialization.XmlRootAttribute>,System.Collections.Generic.KeyValuePair`2<System.Type,System.Xml.Serialization.XmlRootAttribute>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TempAssemblyComparer_Equals_mFAA818BD0E724AADF3F7E1981F534F8D669D6E4C (TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129 * __this, KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 ___x0, KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 ___y1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyValuePair_2_get_Key_mFD07BE2737B9698900D27E550ECD011F1871C5D8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
Type_t * L_0;
L_0 = KeyValuePair_2_get_Key_mFD07BE2737B9698900D27E550ECD011F1871C5D8_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___x0), /*hidden argument*/KeyValuePair_2_get_Key_mFD07BE2737B9698900D27E550ECD011F1871C5D8_RuntimeMethod_var);
Type_t * L_1;
L_1 = KeyValuePair_2_get_Key_mFD07BE2737B9698900D27E550ECD011F1871C5D8_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___y1), /*hidden argument*/KeyValuePair_2_get_Key_mFD07BE2737B9698900D27E550ECD011F1871C5D8_RuntimeMethod_var);
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
bool L_2;
L_2 = Type_op_Equality_mA438719A1FDF103C7BBBB08AEF564E7FAEEA0046(L_0, L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_00be;
}
}
{
XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * L_3;
L_3 = KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___x0), /*hidden argument*/KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
if (L_3)
{
goto IL_002d;
}
}
{
XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * L_4;
L_4 = KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___y1), /*hidden argument*/KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
if (!L_4)
{
goto IL_00bc;
}
}
IL_002d:
{
XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * L_5;
L_5 = KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___x0), /*hidden argument*/KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
if (!L_5)
{
goto IL_00ba;
}
}
{
XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * L_6;
L_6 = KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___y1), /*hidden argument*/KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
if (!L_6)
{
goto IL_00ba;
}
}
{
XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * L_7;
L_7 = KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___x0), /*hidden argument*/KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
NullCheck(L_7);
String_t* L_8;
L_8 = XmlRootAttribute_get_ElementName_mC660E6FE49AF0626C781832D904D1B1A9612038E(L_7, /*hidden argument*/NULL);
XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * L_9;
L_9 = KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___y1), /*hidden argument*/KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
NullCheck(L_9);
String_t* L_10;
L_10 = XmlRootAttribute_get_ElementName_mC660E6FE49AF0626C781832D904D1B1A9612038E(L_9, /*hidden argument*/NULL);
bool L_11;
L_11 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(L_8, L_10, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_00ba;
}
}
{
XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * L_12;
L_12 = KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___x0), /*hidden argument*/KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
NullCheck(L_12);
String_t* L_13;
L_13 = XmlRootAttribute_get_Namespace_m0A911502725F9726BDDEE6EE3F38D02DA70097BD_inline(L_12, /*hidden argument*/NULL);
XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * L_14;
L_14 = KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___y1), /*hidden argument*/KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
NullCheck(L_14);
String_t* L_15;
L_15 = XmlRootAttribute_get_Namespace_m0A911502725F9726BDDEE6EE3F38D02DA70097BD_inline(L_14, /*hidden argument*/NULL);
bool L_16;
L_16 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(L_13, L_15, /*hidden argument*/NULL);
if (!L_16)
{
goto IL_00ba;
}
}
{
XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * L_17;
L_17 = KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___x0), /*hidden argument*/KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
NullCheck(L_17);
String_t* L_18;
L_18 = XmlRootAttribute_get_DataType_mC325DC6FB4808F724638A72EB58AAA77B68C87D9(L_17, /*hidden argument*/NULL);
XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * L_19;
L_19 = KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___y1), /*hidden argument*/KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
NullCheck(L_19);
String_t* L_20;
L_20 = XmlRootAttribute_get_DataType_mC325DC6FB4808F724638A72EB58AAA77B68C87D9(L_19, /*hidden argument*/NULL);
bool L_21;
L_21 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(L_18, L_20, /*hidden argument*/NULL);
if (!L_21)
{
goto IL_00ba;
}
}
{
XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * L_22;
L_22 = KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___x0), /*hidden argument*/KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
NullCheck(L_22);
bool L_23;
L_23 = XmlRootAttribute_get_IsNullable_m891FFFF4D901032D8F70819DC2A31322765AC54F_inline(L_22, /*hidden argument*/NULL);
XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * L_24;
L_24 = KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___y1), /*hidden argument*/KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
NullCheck(L_24);
bool L_25;
L_25 = XmlRootAttribute_get_IsNullable_m891FFFF4D901032D8F70819DC2A31322765AC54F_inline(L_24, /*hidden argument*/NULL);
return (bool)((((int32_t)L_23) == ((int32_t)L_25))? 1 : 0);
}
IL_00ba:
{
return (bool)0;
}
IL_00bc:
{
return (bool)1;
}
IL_00be:
{
return (bool)0;
}
}
// System.Int32 System.Data.Common.ObjectStorage/TempAssemblyComparer::GetHashCode(System.Collections.Generic.KeyValuePair`2<System.Type,System.Xml.Serialization.XmlRootAttribute>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TempAssemblyComparer_GetHashCode_m5DCECABCB947327A9338BD64C00E575038EFA0B4 (TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129 * __this, KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyValuePair_2_get_Key_mFD07BE2737B9698900D27E550ECD011F1871C5D8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
Type_t * L_0;
L_0 = KeyValuePair_2_get_Key_mFD07BE2737B9698900D27E550ECD011F1871C5D8_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___obj0), /*hidden argument*/KeyValuePair_2_get_Key_mFD07BE2737B9698900D27E550ECD011F1871C5D8_RuntimeMethod_var);
NullCheck(L_0);
int32_t L_1;
L_1 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_0);
XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * L_2;
L_2 = KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_inline((KeyValuePair_2_t0916DDAEFA8651A71180EF38FA82641646ED3EE3 *)(&___obj0), /*hidden argument*/KeyValuePair_2_get_Value_mE60ED80E1E9D223851A77215B9E67D6F2CCDECFB_RuntimeMethod_var);
NullCheck(L_2);
String_t* L_3;
L_3 = XmlRootAttribute_get_ElementName_mC660E6FE49AF0626C781832D904D1B1A9612038E(L_2, /*hidden argument*/NULL);
NullCheck(L_3);
int32_t L_4;
L_4 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_3);
return ((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)L_4));
}
}
// System.Void System.Data.Common.ObjectStorage/TempAssemblyComparer::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TempAssemblyComparer__cctor_mDDAF1C443450C15EB600712DCCD345B0AA3DCC56 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129 * L_0 = (TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129 *)il2cpp_codegen_object_new(TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129_il2cpp_TypeInfo_var);
TempAssemblyComparer__ctor_mCD62B6982AD8B2B0C8C2F672FCC56470E4D72A40(L_0, /*hidden argument*/NULL);
((TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129_StaticFields*)il2cpp_codegen_static_fields_for(TempAssemblyComparer_t36834D90273018B44F2D0FB61E6CAC99A7D9E129_il2cpp_TypeInfo_var))->set_s_default_0(L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Data.XDRSchema/NameType::.ctor(System.String,System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NameType__ctor_m6BFB3898EDEA7905C3949A4AABB3E356135FBD4F (NameType_t39DE8B1C4C82F09683DE372688E11B4F2CE51C5B * __this, String_t* ___n0, Type_t * ___t1, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
String_t* L_0 = ___n0;
__this->set_name_0(L_0);
Type_t * L_1 = ___t1;
__this->set_type_1(L_1);
return;
}
}
// System.Int32 System.Data.XDRSchema/NameType::CompareTo(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NameType_CompareTo_mD2780E6D358BFADD79D649228963D52377109B95 (NameType_t39DE8B1C4C82F09683DE372688E11B4F2CE51C5B * __this, RuntimeObject * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = __this->get_name_0();
RuntimeObject * L_1 = ___obj0;
int32_t L_2;
L_2 = String_Compare_mDAE9D10BC450FF38960C691874EBFC3EAF6A39DD(L_0, ((String_t*)CastclassSealed((RuntimeObject*)L_1, String_t_il2cpp_TypeInfo_var)), 4, /*hidden argument*/NULL);
return L_2;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Data.XSDSchema/NameType::.ctor(System.String,System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NameType__ctor_mCEE8377134FB3F3D4D1D772193A000B088F1A536 (NameType_tC83605CA0673A9059F660474AC42EDEB60EAF7AE * __this, String_t* ___n0, Type_t * ___t1, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
String_t* L_0 = ___n0;
__this->set_name_0(L_0);
Type_t * L_1 = ___t1;
__this->set_type_1(L_1);
return;
}
}
// System.Int32 System.Data.XSDSchema/NameType::CompareTo(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NameType_CompareTo_m187B95C12CD2447BBE91951B2B58F9DB6B0A45C9 (NameType_tC83605CA0673A9059F660474AC42EDEB60EAF7AE * __this, RuntimeObject * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = __this->get_name_0();
RuntimeObject * L_1 = ___obj0;
int32_t L_2;
L_2 = String_Compare_mDAE9D10BC450FF38960C691874EBFC3EAF6A39DD(L_0, ((String_t*)CastclassSealed((RuntimeObject*)L_1, String_t_il2cpp_TypeInfo_var)), 4, /*hidden argument*/NULL);
return L_2;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Data.XmlToDatasetMap/TableSchemaInfo::.ctor(System.Data.DataTable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TableSchemaInfo__ctor_m6E8537548AFCDD1C373B24F120DDDCD3407F1916 (TableSchemaInfo_t30BCB6D26A3BB9834CB6F80FAE03083BC0D5F830 * __this, DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ___tableSchema0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_0 = ___tableSchema0;
__this->set_TableSchema_0(L_0);
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_1 = ___tableSchema0;
NullCheck(L_1);
DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820 * L_2;
L_2 = DataTable_get_Columns_m66DC96CA636190222E4C2B8C6943C7A19D86A2C6_inline(L_1, /*hidden argument*/NULL);
NullCheck(L_2);
int32_t L_3;
L_3 = VirtFuncInvoker0< int32_t >::Invoke(9 /* System.Int32 System.Data.InternalDataCollectionBase::get_Count() */, L_2);
XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E * L_4 = (XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E *)il2cpp_codegen_object_new(XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E_il2cpp_TypeInfo_var);
XmlNodeIdHashtable__ctor_m47350A139E925899A7F80DF4AAFE3E9059CF0235(L_4, L_3, /*hidden argument*/NULL);
__this->set_ColumnsSchemaMap_1(L_4);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Data.XmlToDatasetMap/XmlNodeIdHashtable::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void XmlNodeIdHashtable__ctor_m47350A139E925899A7F80DF4AAFE3E9059CF0235 (XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_2 = (XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 *)il2cpp_codegen_object_new(XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454_il2cpp_TypeInfo_var);
XmlNodeIdentety__ctor_mF95AB35C3B3509393CC0DF933B4961AB15C73491(L_2, L_0, L_1, /*hidden argument*/NULL);
__this->set__id_21(L_2);
int32_t L_3 = ___capacity0;
Hashtable__ctor_mF6B704809ABE222280933EA170B6664286C91FDC(__this, L_3, /*hidden argument*/NULL);
return;
}
}
// System.Object System.Data.XmlToDatasetMap/XmlNodeIdHashtable::get_Item(System.Xml.XmlNode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * XmlNodeIdHashtable_get_Item_m8435C3757F0BA58297130AC5E54EBFABCA851831 (XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E * __this, XmlNode_t26782CDADA207DFC891B2772C8DB236DD3D324A1 * ___node0, const RuntimeMethod* method)
{
{
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_0 = __this->get__id_21();
XmlNode_t26782CDADA207DFC891B2772C8DB236DD3D324A1 * L_1 = ___node0;
NullCheck(L_1);
String_t* L_2;
L_2 = VirtFuncInvoker0< String_t* >::Invoke(36 /* System.String System.Xml.XmlNode::get_LocalName() */, L_1);
NullCheck(L_0);
L_0->set_LocalName_0(L_2);
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_3 = __this->get__id_21();
XmlNode_t26782CDADA207DFC891B2772C8DB236DD3D324A1 * L_4 = ___node0;
NullCheck(L_4);
String_t* L_5;
L_5 = VirtFuncInvoker0< String_t* >::Invoke(33 /* System.String System.Xml.XmlNode::get_NamespaceURI() */, L_4);
NullCheck(L_3);
L_3->set_NamespaceURI_1(L_5);
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_6 = __this->get__id_21();
RuntimeObject * L_7;
L_7 = VirtFuncInvoker1< RuntimeObject *, RuntimeObject * >::Invoke(23 /* System.Object System.Collections.Hashtable::get_Item(System.Object) */, __this, L_6);
return L_7;
}
}
// System.Object System.Data.XmlToDatasetMap/XmlNodeIdHashtable::get_Item(System.Xml.XmlReader)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * XmlNodeIdHashtable_get_Item_m88EF0CE7374EF66EEF9DA164A04E049C6B43E865 (XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E * __this, XmlReader_tECCB3D8B757F8CE744EF0430F338BEF15E060138 * ___dataReader0, const RuntimeMethod* method)
{
{
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_0 = __this->get__id_21();
XmlReader_tECCB3D8B757F8CE744EF0430F338BEF15E060138 * L_1 = ___dataReader0;
NullCheck(L_1);
String_t* L_2;
L_2 = VirtFuncInvoker0< String_t* >::Invoke(8 /* System.String System.Xml.XmlReader::get_LocalName() */, L_1);
NullCheck(L_0);
L_0->set_LocalName_0(L_2);
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_3 = __this->get__id_21();
XmlReader_tECCB3D8B757F8CE744EF0430F338BEF15E060138 * L_4 = ___dataReader0;
NullCheck(L_4);
String_t* L_5;
L_5 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String System.Xml.XmlReader::get_NamespaceURI() */, L_4);
NullCheck(L_3);
L_3->set_NamespaceURI_1(L_5);
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_6 = __this->get__id_21();
RuntimeObject * L_7;
L_7 = VirtFuncInvoker1< RuntimeObject *, RuntimeObject * >::Invoke(23 /* System.Object System.Collections.Hashtable::get_Item(System.Object) */, __this, L_6);
return L_7;
}
}
// System.Object System.Data.XmlToDatasetMap/XmlNodeIdHashtable::get_Item(System.Data.DataTable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * XmlNodeIdHashtable_get_Item_m89FE8C9D8E98B9FF3A814D1DB62F8FE954001F4E (XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E * __this, DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * ___table0, const RuntimeMethod* method)
{
{
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_0 = __this->get__id_21();
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_1 = ___table0;
NullCheck(L_1);
String_t* L_2;
L_2 = DataTable_get_EncodedTableName_mBEE66CC7D4DC997C202A1A0656C0CD947AC05B3D(L_1, /*hidden argument*/NULL);
NullCheck(L_0);
L_0->set_LocalName_0(L_2);
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_3 = __this->get__id_21();
DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * L_4 = ___table0;
NullCheck(L_4);
String_t* L_5;
L_5 = DataTable_get_Namespace_m5076F188203F858D59D90398801E91DF9E9F1274(L_4, /*hidden argument*/NULL);
NullCheck(L_3);
L_3->set_NamespaceURI_1(L_5);
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_6 = __this->get__id_21();
RuntimeObject * L_7;
L_7 = VirtFuncInvoker1< RuntimeObject *, RuntimeObject * >::Invoke(23 /* System.Object System.Collections.Hashtable::get_Item(System.Object) */, __this, L_6);
return L_7;
}
}
// System.Object System.Data.XmlToDatasetMap/XmlNodeIdHashtable::get_Item(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * XmlNodeIdHashtable_get_Item_m4389A66494258CEFE6F2D4B7A9334F1A63EDB835 (XmlNodeIdHashtable_t85B5C0603DB6A1F37E4B9DB328B573A4C8BE6C9E * __this, String_t* ___name0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_0 = __this->get__id_21();
String_t* L_1 = ___name0;
NullCheck(L_0);
L_0->set_LocalName_0(L_1);
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_2 = __this->get__id_21();
String_t* L_3 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
NullCheck(L_2);
L_2->set_NamespaceURI_1(L_3);
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_4 = __this->get__id_21();
RuntimeObject * L_5;
L_5 = VirtFuncInvoker1< RuntimeObject *, RuntimeObject * >::Invoke(23 /* System.Object System.Collections.Hashtable::get_Item(System.Object) */, __this, L_4);
return L_5;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Data.XmlToDatasetMap/XmlNodeIdentety::.ctor(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void XmlNodeIdentety__ctor_mF95AB35C3B3509393CC0DF933B4961AB15C73491 (XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * __this, String_t* ___localName0, String_t* ___namespaceURI1, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
String_t* L_0 = ___localName0;
__this->set_LocalName_0(L_0);
String_t* L_1 = ___namespaceURI1;
__this->set_NamespaceURI_1(L_1);
return;
}
}
// System.Int32 System.Data.XmlToDatasetMap/XmlNodeIdentety::GetHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t XmlNodeIdentety_GetHashCode_mE117B700DC03A4109832691B8FFD221A464BC2AA (XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get_LocalName_0();
NullCheck(L_0);
int32_t L_1;
L_1 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_0);
return L_1;
}
}
// System.Boolean System.Data.XmlToDatasetMap/XmlNodeIdentety::Equals(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool XmlNodeIdentety_Equals_m3146CB0D203AA00EBC930295E476831CF827BFA4 (XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * __this, RuntimeObject * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * V_0 = NULL;
{
RuntimeObject * L_0 = ___obj0;
V_0 = ((XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 *)CastclassSealed((RuntimeObject*)L_0, XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454_il2cpp_TypeInfo_var));
String_t* L_1 = __this->get_LocalName_0();
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_2 = V_0;
NullCheck(L_2);
String_t* L_3 = L_2->get_LocalName_0();
bool L_4;
L_4 = String_Equals_mD65682B0BB7933CC7A8561AE34DED02E4F3BBBE5(L_1, L_3, 5, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_002e;
}
}
{
String_t* L_5 = __this->get_NamespaceURI_1();
XmlNodeIdentety_tDB2D0FFBEC368B86282BBEC679577C3E70B70454 * L_6 = V_0;
NullCheck(L_6);
String_t* L_7 = L_6->get_NamespaceURI_1();
bool L_8;
L_8 = String_Equals_mD65682B0BB7933CC7A8561AE34DED02E4F3BBBE5(L_5, L_7, 5, /*hidden argument*/NULL);
return L_8;
}
IL_002e:
{
return (bool)0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * DataTable_get_DataSet_m2C802912DB49BDC3016F489FB8D28CA79D557CFD_inline (DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * __this, const RuntimeMethod* method)
{
{
DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * L_0 = __this->get__dataSet_3();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m129FC0ADA02FECBED3C0B1A809AE84A5AEE1CF09_inline (String_t* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stringLength_0();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1 * DataTable_get_Constraints_m5A2544AA333C8296B27056F249C2328E81A0A975_inline (DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * __this, const RuntimeMethod* method)
{
{
ConstraintCollection_t6C68257CA7B227D224B6A08CE6C421F66DAEEEC1 * L_0 = __this->get__constraintCollection_8();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void DataRelation_SetParentKeyConstraint_m01B06666313B33781C64456936F5677060DCEB74_inline (DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * __this, UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 * ___value0, const RuntimeMethod* method)
{
{
UniqueConstraint_tC3E69EAF18F66B2517B72B7417D5028CBACD1B39 * L_0 = ___value0;
__this->set__parentKeyConstraint_5(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void DataRelation_SetChildKeyConstraint_mC5248944C17EFEBB2E386BAD87EDDDD29A010BD0_inline (DataRelation_t0AA86AB6D62D5F0F71E6905C8E9D8C52054D0FC9 * __this, ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * ___value0, const RuntimeMethod* method)
{
{
ForeignKeyConstraint_t66E716D92081A532EEC92D35BE0576B1C21C76CD * L_0 = ___value0;
__this->set__childKeyConstraint_6(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * DataSet_get_Relations_m648141B55045B57180317A120843883175B4A449_inline (DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * __this, const RuntimeMethod* method)
{
{
DataRelationCollection_tD29A1A2763A196A96964137CB72520CB43082714 * L_0 = __this->get__relationCollection_5();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451 * DataSet_get_Tables_m02936105F6E973CE901C846EFE6C8BB3B4AD7BAE_inline (DataSet_t72D1077FF27561D819DB6F19AB7DBD00BB06CA3B * __this, const RuntimeMethod* method)
{
{
DataTableCollection_t7DE29B9A65CD54CBD488A1D9753305753AC3B451 * L_0 = __this->get__tableCollection_4();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* XmlRootAttribute_get_Namespace_m0A911502725F9726BDDEE6EE3F38D02DA70097BD_inline (XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get_ns_3();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool XmlRootAttribute_get_IsNullable_m891FFFF4D901032D8F70819DC2A31322765AC54F_inline (XmlRootAttribute_t509A188575B2B9912E6DBF82CBB9A17715BECB96 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_isNullable_2();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820 * DataTable_get_Columns_m66DC96CA636190222E4C2B8C6943C7A19D86A2C6_inline (DataTable_tDBA400EA08E60C6C79DA5033C245F9252AB48827 * __this, const RuntimeMethod* method)
{
{
DataColumnCollection_t543E57724C598CD27A55604B73110804617F5820 * L_0 = __this->get__columnCollection_7();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject * KeyValuePair_2_get_Key_mCAD7B121DB998D7C56EB0281215A860EFE9DCD95_gshared_inline (KeyValuePair_2_tFB6A066C69E28C6ACA5FC5E24D969BFADC5FA625 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get_key_0();
return (RuntimeObject *)L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject * KeyValuePair_2_get_Value_m622223593F7461E7812C581DDB145270016ED303_gshared_inline (KeyValuePair_2_tFB6A066C69E28C6ACA5FC5E24D969BFADC5FA625 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get_value_1();
return (RuntimeObject *)L_0;
}
}
| [
"slifcoa@mail.gvsu.edu"
] | slifcoa@mail.gvsu.edu |
7905533d9b88bc62fb527822d9d6c3ddea447891 | 25fd73ce7f2ef3b697ab25e45643d250ce6567ce | /3rd/include/itpp/base/binary.h | 459ba19169e86058c6df124c04b9b6055d3b2e88 | [] | no_license | soulsheng/datvexpress_gui | 01dfb1ff574902f8d980feaac643581a14749726 | d6204d65ee6195c3460db34dde5b84d58deadeeb | refs/heads/master | 2020-12-28T20:54:13.293379 | 2015-06-04T07:28:53 | 2015-06-04T07:28:53 | 33,101,462 | 1 | 0 | null | 2015-03-30T03:32:34 | 2015-03-30T03:32:34 | null | UTF-8 | C++ | false | false | 5,539 | h | /*!
* \file
* \brief Binary class definition
* \author Tony Ottosson
*
* -------------------------------------------------------------------------
*
* Copyright (C) 1995-2010 (see AUTHORS file for a list of contributors)
*
* This file is part of IT++ - a C++ library of mathematical, signal
* processing, speech processing, and communications classes and functions.
*
* IT++ is free software: you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* IT++ is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along
* with IT++. If not, see <http://www.gnu.org/licenses/>.
*
* -------------------------------------------------------------------------
*/
#ifndef BINARY_H
#define BINARY_H
#include <itpp/base/itassert.h>
namespace itpp
{
/*!
\brief Binary arithmetic (boolean) class
\author Tony Ottosson
This class creates a binary arithmetic class, following the ordinary
rules for binary (GF(2)) fields.
Examples:
\code
bin a; // Creation of variable
bin a = 0; // Creating a variable and assigning it value 0
bin b = 1; // Creating a variable and assigning it value 1
bin c = a + b; // XOR operation
c = !a; // NOT
c = a * b; // AND
c = a / b; // OR
\endcode
*/
class bin
{
public:
//! Default constructor
bin(): b(0) {}
//! Set the binary object equal to \c value. Either "0" or "1".
bin(const int &value): b(static_cast<char>(value)) {
it_assert_debug((value == 0) || (value == 1),
"bin::bin(): value must be 0 or 1");
}
//! Copy constructor
bin(const bin &inbin): b(inbin.b) {}
//! Assign a value
void operator=(const int &value) {
it_assert_debug((value == 0) || (value == 1),
"bin::operator=(): value must be 0 or 1");
b = static_cast<char>(value);
}
//! Assign a value
void operator=(const bin &inbin) { b = inbin.b; }
//! OR
void operator/=(const bin &inbin) { b |= inbin.b; }
//! OR
void operator|=(const bin &inbin) { b |= inbin.b; }
//! OR
bin operator/(const bin &inbin) const { return bin(b | inbin.b); }
//! OR
bin operator|(const bin &inbin) const { return bin(b | inbin.b); }
//! XOR
void operator+=(const bin &inbin) { b ^= inbin.b; }
//! XOR
void operator^=(const bin &inbin) { b ^= inbin.b; }
//! XOR
bin operator+(const bin &inbin) const { return bin(b ^ inbin.b); }
//! XOR
bin operator^(const bin &inbin) const { return bin(b ^ inbin.b); }
//! XOR
void operator-=(const bin &inbin) { b ^= inbin.b; }
//! XOR
bin operator-(const bin &inbin) const { return bin(b ^ inbin.b); }
//! Dummy definition to be able to use vec<bin>
bin operator-() const { return bin(b); }
//! AND
void operator*=(const bin &inbin) { b &= inbin.b; }
//! AND
void operator&=(const bin &inbin) { b &= inbin.b; }
//! AND
bin operator*(const bin &inbin) const { return bin(b & inbin.b); }
//! AND
bin operator&(const bin &inbin) const { return bin(b & inbin.b); }
//! NOT
bin operator!(void) const { return bin(b ^ 1); }
//! NOT
bin operator~(void) const { return bin(b ^ 1); }
//! Check if equal
bool operator==(const bin &inbin) const { return b == inbin.b; }
//! Check if equal
bool operator==(const int &i) const { return b == i; }
//! Check if not equal
bool operator!=(const bin &inbin) const { return b != inbin.b; }
//! Check if not equal
bool operator!=(const int &i) const { return b != i; }
//! Less than (interpret the binary values {0,1} as integers)
bool operator<(const bin &inbin) const { return b < inbin.b; }
//! Less than equal (interpret the binary values {0,1} as integers)
bool operator<=(const bin &inbin) const { return b <= inbin.b; }
//! Greater than (interpret the binary values {0,1} as integers)
bool operator>(const bin &inbin) const { return b > inbin.b; }
//! Greater than equal (interpret the binary values {0,1} as integers)
bool operator>=(const bin &inbin) const { return b >= inbin.b; }
//! Convert \c bin to \c short
operator short() const { return static_cast<short>(b); }
//! Convert \c bin to \c int
operator int() const { return static_cast<int>(b); }
//! Convert \c bin to \c bool
operator bool() const { return b != 0; }
//! Convert \c bin to \c float
operator float() const { return static_cast<float>(b); }
//! Convert \c bin to \c double
operator double() const { return static_cast<double>(b); }
//! Output the binary value of the object
char value() const { return b; }
private:
char b;
};
/*!
\relatesalso bin
\brief Output stream of bin
*/
std::ostream &operator<<(std::ostream &output, const bin &inbin);
/*!
\relatesalso bin
\brief Input stream of bin
*/
std::istream &operator>>(std::istream &input, bin &outbin);
/*!
\relatesalso bin
\brief absolute value of bin
*/
inline bin abs(const bin &inbin) { return inbin; }
} // namespace itpp
namespace std // added 11/2005, EGL
{
/*!
\relatesalso itpp::bin
\brief absolute value of bin
*/
inline int abs(const itpp::bin &inbin) { return inbin; }
} // namespace std
#endif // #ifndef BINARY_H
| [
"S"
] | S |
51a9971cdaffa9c46b31b31db8ecb7957b1f65d8 | ddfbd1aea6c2b018e0cf12bdc18b5bc6a1491265 | /ui_mainwindow.h | 8b6b5b19c5672a067f7bc1767d7d3c8c976c60aa | [] | no_license | KaliGIS/PrimTroS | b8cab5075a20d190f69b748bcfaf30e6c9276928 | f48af2e8008be222b004b2038e6cebcb2f0ed2e1 | refs/heads/master | 2021-01-01T04:46:07.030588 | 2016-05-01T10:33:45 | 2016-05-01T10:33:45 | 57,593,313 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,531 | h | /********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created: Mon 20. Jan 21:31:56 2014
** by: Qt User Interface Compiler version 4.7.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_MAINWINDOW_H
#define UI_MAINWINDOW_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGraphicsView>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QMainWindow>
#include <QtGui/QMenuBar>
#include <QtGui/QPushButton>
#include <QtGui/QSpinBox>
#include <QtGui/QStatusBar>
#include <QtGui/QToolBar>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_MainWindow
{
public:
QWidget *centralWidget;
QPushButton *pushButton;
QGraphicsView *graphicsView;
QLineEdit *lineEdit;
QPushButton *pushButton_2;
QLabel *label;
QLabel *label_2;
QPushButton *pushButton_3;
QLabel *label_3;
QLabel *label_4;
QSpinBox *spinBox;
QLabel *label_5;
QSpinBox *spinBox_2;
QLabel *label_6;
QLabel *label_7;
QSpinBox *spinBox_3;
QMenuBar *menuBar;
QToolBar *mainToolBar;
QStatusBar *statusBar;
void setupUi(QMainWindow *MainWindow)
{
if (MainWindow->objectName().isEmpty())
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
MainWindow->resize(763, 1019);
centralWidget = new QWidget(MainWindow);
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
pushButton = new QPushButton(centralWidget);
pushButton->setObjectName(QString::fromUtf8("pushButton"));
pushButton->setGeometry(QRect(550, 30, 81, 23));
graphicsView = new QGraphicsView(centralWidget);
graphicsView->setObjectName(QString::fromUtf8("graphicsView"));
graphicsView->setGeometry(QRect(10, 130, 741, 831));
lineEdit = new QLineEdit(centralWidget);
lineEdit->setObjectName(QString::fromUtf8("lineEdit"));
lineEdit->setGeometry(QRect(10, 30, 531, 20));
pushButton_2 = new QPushButton(centralWidget);
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
pushButton_2->setEnabled(false);
pushButton_2->setGeometry(QRect(400, 79, 75, 23));
label = new QLabel(centralWidget);
label->setObjectName(QString::fromUtf8("label"));
label->setGeometry(QRect(10, 10, 641, 16));
QFont font;
font.setPointSize(16);
font.setBold(true);
font.setWeight(75);
label->setFont(font);
label_2 = new QLabel(centralWidget);
label_2->setObjectName(QString::fromUtf8("label_2"));
label_2->setGeometry(QRect(10, 110, 741, 16));
pushButton_3 = new QPushButton(centralWidget);
pushButton_3->setObjectName(QString::fromUtf8("pushButton_3"));
pushButton_3->setEnabled(false);
pushButton_3->setGeometry(QRect(480, 79, 151, 23));
pushButton_3->setCheckable(false);
label_3 = new QLabel(centralWidget);
label_3->setObjectName(QString::fromUtf8("label_3"));
label_3->setGeometry(QRect(10, 80, 331, 20));
label_4 = new QLabel(centralWidget);
label_4->setObjectName(QString::fromUtf8("label_4"));
label_4->setGeometry(QRect(380, 79, 21, 20));
spinBox = new QSpinBox(centralWidget);
spinBox->setObjectName(QString::fromUtf8("spinBox"));
spinBox->setEnabled(false);
spinBox->setGeometry(QRect(330, 80, 42, 21));
spinBox->setMinimum(1);
spinBox->setMaximum(1000);
spinBox->setSingleStep(1);
spinBox->setValue(55);
label_5 = new QLabel(centralWidget);
label_5->setObjectName(QString::fromUtf8("label_5"));
label_5->setGeometry(QRect(10, 60, 271, 16));
spinBox_2 = new QSpinBox(centralWidget);
spinBox_2->setObjectName(QString::fromUtf8("spinBox_2"));
spinBox_2->setEnabled(false);
spinBox_2->setGeometry(QRect(330, 55, 42, 21));
spinBox_2->setMaximum(999);
spinBox_2->setValue(1);
label_6 = new QLabel(centralWidget);
label_6->setObjectName(QString::fromUtf8("label_6"));
label_6->setGeometry(QRect(310, 60, 21, 16));
label_7 = new QLabel(centralWidget);
label_7->setObjectName(QString::fromUtf8("label_7"));
label_7->setGeometry(QRect(380, 60, 21, 16));
spinBox_3 = new QSpinBox(centralWidget);
spinBox_3->setObjectName(QString::fromUtf8("spinBox_3"));
spinBox_3->setEnabled(false);
spinBox_3->setGeometry(QRect(400, 55, 42, 21));
spinBox_3->setMaximum(999);
spinBox_3->setValue(4);
MainWindow->setCentralWidget(centralWidget);
menuBar = new QMenuBar(MainWindow);
menuBar->setObjectName(QString::fromUtf8("menuBar"));
menuBar->setGeometry(QRect(0, 0, 763, 20));
MainWindow->setMenuBar(menuBar);
mainToolBar = new QToolBar(MainWindow);
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
statusBar = new QStatusBar(MainWindow);
statusBar->setObjectName(QString::fromUtf8("statusBar"));
MainWindow->setStatusBar(statusBar);
retranslateUi(MainWindow);
QObject::connect(pushButton, SIGNAL(clicked()), MainWindow, SLOT(getPath()));
QObject::connect(pushButton_2, SIGNAL(clicked()), MainWindow, SLOT(generuj()));
QObject::connect(pushButton_3, SIGNAL(clicked()), MainWindow, SLOT(derivuj()));
QMetaObject::connectSlotsByName(MainWindow);
} // setupUi
void retranslateUi(QMainWindow *MainWindow)
{
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
pushButton->setText(QApplication::translate("MainWindow", "Preh\304\276adaj", 0, QApplication::UnicodeUTF8));
lineEdit->setText(QApplication::translate("MainWindow", "Vlo\305\276te adresu s\303\272boru s PDBP", 0, QApplication::UnicodeUTF8));
pushButton_2->setText(QApplication::translate("MainWindow", "Generuj PTS", 0, QApplication::UnicodeUTF8));
label->setText(QApplication::translate("MainWindow", "PrimTroS", 0, QApplication::UnicodeUTF8));
label_2->setText(QString());
pushButton_3->setText(QApplication::translate("MainWindow", "Zisti parci\303\241lne deriv\303\241cie", 0, QApplication::UnicodeUTF8));
label_3->setText(QApplication::translate("MainWindow", "Parameter reprezentat\303\255vnosti: maxim\303\241lna d\304\272\305\276ka strany trojuholn\303\255ka", 0, QApplication::UnicodeUTF8));
label_4->setText(QApplication::translate("MainWindow", "m", 0, QApplication::UnicodeUTF8));
label_5->setText(QApplication::translate("MainWindow", "\304\214\303\255sla bodov tvoriacich prv\303\272 stranu prv\303\251ho trojuholn\303\255ka:", 0, QApplication::UnicodeUTF8));
label_6->setText(QApplication::translate("MainWindow", "I =", 0, QApplication::UnicodeUTF8));
label_7->setText(QApplication::translate("MainWindow", "J =", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class MainWindow: public Ui_MainWindow {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_MAINWINDOW_H
| [
"kalivoda.martin@gmail.com"
] | kalivoda.martin@gmail.com |
3a7fec17628c25e626b7a12a390e0feac6506b08 | 7d8b45c2d696e1efa7cf89a55468bfcce01c365b | /printer.cpp | 6be19158f3278bcf9bcd787d92d900f86af4c0dc | [] | no_license | leidensj/BKVale | e0bf4df0104183f15520375624c06d9e462fc36c | 8ea086adc5be988434efec447a3d07320c2b4009 | refs/heads/master | 2023-06-10T19:06:38.451219 | 2023-06-06T20:24:08 | 2023-06-06T20:24:08 | 79,849,395 | 0 | 0 | null | 2019-03-30T13:24:46 | 2017-01-23T21:21:41 | C++ | UTF-8 | C++ | false | false | 18,216 | cpp | #include "printer.h"
#include <QDate>
#include <QTime>
#include <QHostInfo>
#include <QImage>
#include <QObject>
#include <QPixmap>
#include "escpos.h"
#include "settings.h"
QSerialPort Printer::m_printerSerial;
QTcpSocket Printer::m_printerTCP;
namespace
{
char decToHex[] = { '\x00', '\x01', '\x02', '\x03', '\x04', '\x05', '\x06', '\x07',
'\x08', '\x09', '\x0A', '\x0B', '\x0C', '\x0D', '\x0E', '\x0F',
'\x10', '\x11', '\x12', '\x13', '\x14', '\x15', '\x16', '\x17',
'\x18', '\x19', '\x1A', '\x1B', '\x1C', '\x1D', '\x1E', '\x1F',
'\x20', '\x21', '\x22', '\x23', '\x24', '\x25', '\x26', '\x27',
'\x28', '\x29', '\x2A', '\x2B', '\x2C', '\x2D', '\x2E', '\x2F',
'\x30', '\x31', '\x32', '\x33', '\x34', '\x35', '\x36', '\x37',
'\x38', '\x39', '\x3A', '\x3B', '\x3C', '\x3D', '\x3E', '\x3F',
'\x40', '\x41', '\x42', '\x43', '\x44', '\x45', '\x46', '\x47',
'\x48', '\x49', '\x4A', '\x4B', '\x4C', '\x4D', '\x4E', '\x4F',
'\x50', '\x51', '\x52', '\x53', '\x54', '\x55', '\x56', '\x57',
'\x58', '\x59', '\x5A', '\x5B', '\x5C', '\x5D', '\x5E', '\x5F',
'\x60', '\x61', '\x62', '\x63', '\x64', '\x65', '\x66', '\x67',
'\x68', '\x69', '\x6A', '\x6B', '\x6C', '\x6D', '\x6E', '\x6F',
'\x70', '\x71', '\x72', '\x73', '\x74', '\x75', '\x76', '\x77',
'\x78', '\x79', '\x7A', '\x7B', '\x7C', '\x7D', '\x7E', '\x7F',
'\x80', '\x81', '\x82', '\x83', '\x84', '\x85', '\x86', '\x87',
'\x88', '\x89', '\x8A', '\x8B', '\x8C', '\x8D', '\x8E', '\x8F',
'\x90', '\x91', '\x92', '\x93', '\x94', '\x95', '\x96', '\x97',
'\x98', '\x99', '\x9A', '\x9B', '\x9C', '\x9D', '\x9E', '\x9F',
'\xA0', '\xA1', '\xA2', '\xA3', '\xA4', '\xA5', '\xA6', '\xA7',
'\xA8', '\xA9', '\xAA', '\xAB', '\xAC', '\xAD', '\xAE', '\xAF',
'\xB0', '\xB1', '\xB2', '\xB3', '\xB4', '\xB5', '\xB6', '\xB7',
'\xB8', '\xB9', '\xBA', '\xBB', '\xBC', '\xBD', '\xBE', '\xBF',
'\xC0', '\xC1', '\xC2', '\xC3', '\xC4', '\xC5', '\xC6', '\xC7',
'\xC8', '\xC9', '\xCA', '\xCB', '\xCC', '\xCD', '\xCE', '\xCF',
'\xD0', '\xD1', '\xD2', '\xD3', '\xD4', '\xD5', '\xD6', '\xD7',
'\xD8', '\xD9', '\xDA', '\xDB', '\xDC', '\xDD', '\xDE', '\xDF',
'\xE0', '\xE1', '\xE2', '\xE3', '\xE4', '\xE5', '\xE6', '\xE7',
'\xE8', '\xE9', '\xEA', '\xEB', '\xEC', '\xED', '\xEE', '\xEF',
'\xF0', '\xF1', '\xF2', '\xF3', '\xF4', '\xF5', '\xF6', '\xF7',
'\xF8', '\xF9', '\xFA', '\xFB', '\xFC', '\xFD', '\xFE', '\xFF' };
void appendFormInfo(const Form& o, QString& str)
{
if (!o.m_alias.isEmpty())
{
str += ESC_EXPAND_ON
ESC_ALIGN_CENTER +
o.m_alias +
ESC_LF
ESC_EXPAND_OFF;
}
str += ESC_ALIGN_CENTER +
o.m_name +
ESC_LF;
if (!o.m_vAddress.isEmpty())
{
str += o.m_vAddress.at(0).name() +
ESC_LF;
}
if (!o.m_vPhone.isEmpty())
{
str += o.m_vPhone.at(0).name() +
ESC_LF;
}
}
void purchaseAppendHeader(const Purchase& o, QString& text)
{
appendFormInfo(o.m_store.m_form, text);
text += ESC_VERT_TAB;
text += o.m_paymentMethod == Purchase::PaymentMethod::Cash
? "PAGAMENTO A VISTA"
: "ORDEM DE RECEBIMENTO" ESC_LF "DE MERCADORIA";
text += ESC_LF
ESC_VERT_TAB
ESC_DOUBLE_FONT_ON +
o.strNumber() + " "
ESC_DOUBLE_FONT_OFF
ESC_LF;
if (0 < o.strNumber().length() && o.strNumber().length() < 256)
{
text += ESC_BARCODE_HRI_OFF
ESC_BARCODE_HEIGHT +
QString(decToHex[120]) +
ESC_BARCODE_CODE93 +
QString(decToHex[o.strNumber().length()]) +
o.strNumber() +
ESC_LF;
}
text += ESC_ALIGN_LEFT
"Data "
ESC_DOUBLE_FONT_ON +
o.strDate() +
ESC_DOUBLE_FONT_OFF
" " +
o.strDayOfWeek() +
ESC_LF
"Fornecedor "
ESC_DOUBLE_FONT_ON +
(o.m_supplier.m_id.isValid()
? (o.m_supplier.m_form.strAliasName())
: "Nao informado") +
ESC_DOUBLE_FONT_OFF
ESC_LF
ESC_VERT_TAB;
}
void purchaseAppendFooter(const Purchase& o, QString& text)
{
if (o.m_disccount != 0)
{
text += ESC_EXPAND_ON ESC_LF;
text += "Subtotal: " + o.strSubTotal() + ESC_LF;
if (o.m_disccount > 0)
text += "Acrescimo: " + o.strDisccount();
else if(o.m_disccount < 0)
text += "Desconto: " + o.strDisccount() ;
text += ESC_EXPAND_OFF ESC_LF;
}
QDateTime dt = DateTime::server();
if (!o.m_observation.isEmpty())
text += ESC_LF ESC_EXPAND_ON "Observacoes: " ESC_EXPAND_OFF + o.m_observation + ESC_LF;
text += ESC_LF
ESC_ALIGN_CENTER
ESC_DOUBLE_FONT_ON
"TOTAL " +
o.strTotal() +
ESC_DOUBLE_FONT_OFF
ESC_LF
"Emissao: " +
dt.date().toString("dd/MM/yyyy ") +
dt.time().toString("hh:mm:ss") +
" @ " +
QHostInfo::localHostName().toUpper() +
ESC_LF
ESC_LF
ESC_LF
ESC_ALIGN_CENTER
"________________________________"
ESC_LF
"Assinatura " +
o.m_employee.m_form.strAliasName() +
ESC_LF;
if (o.m_paymentMethod == Purchase::PaymentMethod::Cash)
{
text += ESC_LF ESC_LF "________________________________" ESC_LF
"Assinatura " +
(o.m_supplier.m_id.isValid()
? (o.m_supplier.m_form.strAliasName())
: "fornecedor") +
ESC_LF;
}
}
void purchaseAppendBody(const Purchase& o, QString& text)
{
text += ESC_ALIGN_LEFT;
for (int i = 0; i != o.m_products.size(); ++i)
{
const auto _o = o.m_products.at(i);
QString str;
{
QString itemPt1 = _o.strAmmount();
itemPt1 += _o.m_package.strUnity(_o.m_product.m_unity);
itemPt1 += " x " + _o.strPrice();
QString itemPt2 = _o.strSubtotal();
const int n = TABLE_WIDTH - (itemPt1.length() + itemPt2.length());
for (int j = 0; j < n; ++j)
itemPt1 += ".";
str = itemPt1 + ESC_STRESS_ON + itemPt2 + ESC_STRESS_OFF;
}
text += _o.m_product.m_name + ESC_LF + str + ESC_LF;
}
}
QString couponContent(const Coupon& o)
{
QString str;
switch (o.m_type)
{
case Coupon::Type::Value:
case Coupon::Type::Percentage:
str += ESC_ALIGN_CENTER
ESC_DOUBLE_FONT_ON +
o.strCoupon() +
ESC_DOUBLE_FONT_OFF
ESC_LF
ESC_VERT_TAB
ESC_ALIGN_LEFT;
break;
case Coupon::Type::Product:
str += ESC_ALIGN_CENTER
ESC_EXPAND_ON +
o.strCoupon() +
ESC_EXPAND_OFF
ESC_LF
ESC_VERT_TAB
ESC_ALIGN_LEFT;
break;
default:
break;
}
return str;
}
}
QString Printer::st_strFullCut()
{
return ESC_FULL_CUT;
}
void Printer::disconnect()
{
if (m_printerSerial.isOpen())
m_printerSerial.close();
if (m_printerTCP.isOpen())
m_printerTCP.close();
}
bool Printer::connect(QString& error)
{
if (m_printerSerial.isOpen())
m_printerSerial.close();
if (m_printerTCP.isOpen())
m_printerTCP.close();
Settings s;
s.load();
if (s.m_serialPort.isEmpty() &&
s.m_ethernetIP.isEmpty())
{
error = QObject::tr("É necessário selecionar uma porta serial ou endereço para se conectar à impressora.");
return false;
}
bool ok = true;
if (s.m_bIsPrinterEthernet)
{
m_printerTCP.connectToHost(s.m_ethernetIP, (quint16)s.m_ethernetPort);
ok = m_printerTCP.waitForConnected();
if (ok)
ok = printString(ESC_INIT, error);
else
error = m_printerTCP.errorString();
}
else
{
m_printerSerial.setPortName(s.m_serialPort);
ok = m_printerSerial.open(QIODevice::ReadWrite);
if (ok)
{
m_printerSerial.clear();
ok = printString(ESC_INIT, error);
}
else
error = m_printerSerial.errorString();
}
return ok;
}
bool Printer::printByteArray(QByteArray& data, QString& error)
{
error.clear();
Settings s;
s.load();
QIODevice* printer = s.m_bIsPrinterEthernet ? (QIODevice*)&m_printerTCP : (QIODevice*)&m_printerSerial;
auto nBytes = printer->write(data);
if (nBytes != data.size())
error = QObject::tr("Erro ao imprimir:\n'%1'.").arg(printer->errorString());
else if (!printer->waitForBytesWritten(10000))
error = QObject::tr("Falha de timeout.");
else
return true;
return false;
}
bool Printer::printString(const QString& msg, QString& error)
{
error.clear();
Settings s;
s.load();
QByteArray data;
if (s.m_bIsPrinterEthernet)
{
QDataStream out(&data, QIODevice::WriteOnly);
out.setVersion(QDataStream::Qt_4_3);
out << quint16(0) << msg.toUtf8();
out.device()->seek(0);
out << quint16(data.size() - sizeof(quint16));
}
else
{
data = msg.toUtf8();
}
return printByteArray(data, error);
}
bool Printer::print(const QString& msg, QString& error)
{
bool ok = connect(error);
if (ok)
ok = printString(msg, error);
disconnect();
return ok;
}
bool Printer::print(const Purchase& o, QString& error)
{
QString str;
purchaseAppendHeader(o, str);
purchaseAppendBody(o, str);
purchaseAppendFooter(o, str);
if (o.m_paymentMethod == Purchase::PaymentMethod::Cash)
{
str += ESC_LF ESC_FULL_CUT;
}
else
{
QString strAux(str);
str += "1 via" ESC_LF ESC_LF ESC_PARTIAL_CUT;
strAux += "2 via" ESC_LF ESC_LF ESC_FULL_CUT;
str += strAux;
}
return print(str, error);
}
bool Printer::print(const Reminder& r, QString& error)
{
QString str, title, subject, msg;
switch (r.m_capitalization)
{
case Reminder::Capitalization::Normal:
title = r.m_title;
msg = r.m_message;
subject = r.m_subject;
break;
case Reminder::Capitalization::AllLowercase:
title = r.m_title.toLower();
msg = r.m_message.toLower();
subject = r.m_subject.toLower();
break;
case Reminder::Capitalization::AllUppercase:
default:
title = r.m_title.toUpper();
msg = r.m_message.toUpper();
subject = r.m_subject.toUpper();
break;
}
if (!title.isEmpty())
{
str += ESC_ALIGN_CENTER
ESC_DOUBLE_FONT_ON +
title +
ESC_DOUBLE_FONT_OFF
ESC_LF;
if (!msg.isEmpty() || !subject.isEmpty() || r.m_bDate || r.m_bTime)
{
str += "________________________________________________"
ESC_LF;
}
str += ESC_ALIGN_LEFT;
}
if (!subject.isEmpty())
{
str += ESC_ALIGN_CENTER
ESC_EXPAND_ON +
subject +
ESC_EXPAND_OFF
ESC_LF;
if (!msg.isEmpty() || r.m_bDate || r.m_bTime )
{
str += "________________________________________________"
ESC_LF;
}
str += ESC_ALIGN_LEFT;
}
if (r.m_bDate || r.m_bTime)
{
QString date = r.m_bDate ? r.m_date.toString("dd/MM/yyyy") : "";
QString time = r.m_bTime ? r.m_time.toString("HH:mm:ss") : "";
str += ESC_ALIGN_CENTER
ESC_STRESS_ON +
date + " " + time +
ESC_STRESS_OFF
ESC_LF;
if (!msg.isEmpty())
{
str += "________________________________________________"
ESC_LF;
}
str += ESC_ALIGN_LEFT;
}
if (!msg.isEmpty())
{
str += ESC_ALIGN_LEFT;
if (r.m_size == Reminder::Size::Large)
str += ESC_EXPAND_ON;
str += msg;
if (r.m_size == Reminder::Size::Large)
str += ESC_EXPAND_OFF;
}
if (!r.m_barcode.isEmpty() && 0 < r.m_barcode.length() && r.m_barcode.length() < 256)
{
if (!str.isEmpty())
str += ESC_LF;
str += r.m_bBarcodeHRI ? ESC_BARCODE_HRI_ON : ESC_BARCODE_HRI_OFF;
str += ESC_BARCODE_HEIGHT +
QString(decToHex[120]) +
ESC_BARCODE_CODE93 +
QString(decToHex[r.m_barcode.length()]) +
r.m_barcode;
}
if (!str.isEmpty())
str += ESC_LF ESC_LF ESC_FULL_CUT;
return print(str, error);
}
bool Printer::print(const ShoppingList& lst, bool bPrintCount, QString& error)
{
QDateTime dt = DateTime::server();
QString str;
str += ESC_EXPAND_ON
ESC_ALIGN_CENTER
"LISTA DE COMPRAS"
ESC_EXPAND_OFF
ESC_LF
ESC_DOUBLE_FONT_ON +
lst.m_title +
ESC_DOUBLE_FONT_OFF
ESC_LF
ESC_EXPAND_ON +
dt.date().toString("dd/MM/yyyy") +
ESC_EXPAND_OFF
ESC_LF +
dt.date().toString("dddd") +
ESC_LF
ESC_ALIGN_LEFT;
if (!lst.m_description.isEmpty())
str += ESC_VERT_TAB
ESC_EXPAND_ON
"Descricao: "
ESC_EXPAND_OFF +
lst.m_description +
ESC_LF;
if (lst.m_supplier.m_id.isValid())
{
str += ESC_VERT_TAB
ESC_ALIGN_CENTER
"Fornecedor: "
ESC_EXPAND_ON +
lst.m_supplier.m_form.strAliasName() +
ESC_EXPAND_OFF
ESC_ALIGN_LEFT
ESC_LF;
for (int i = 0; i != lst.m_supplier.m_form.m_vPhone.size(); ++i)
{
if (!lst.m_supplier.m_form.m_vPhone.at(i).m_number.isEmpty())
{
if (!lst.m_supplier.m_form.m_vPhone.at(i).m_name.isEmpty())
str += lst.m_supplier.m_form.m_vPhone.at(i).m_name + " ";
str += lst.m_supplier.m_form.m_vPhone.at(i).strFormattedPhone() + ESC_LF;
}
}
}
str += ESC_LF;
if (lst.m_vItem.size() != 0 && bPrintCount)
str += ESC_ALIGN_LEFT
ESC_DOUBLE_FONT_ON
"[ EST ][ COM ][ REC ]"
ESC_LF
ESC_DOUBLE_FONT_OFF;
Id lastSupplier, supplier;
for (int i = 0; i != lst.m_vItem.size(); ++i)
{
supplier = lst.m_vItem.at(i).m_supplier.m_id;
bool bPrintSupplier = ((!lastSupplier.isValid() && supplier.isValid()) ||
(lastSupplier.isValid() && supplier.isValid() && lastSupplier != supplier)) &&
!lst.m_supplier.m_id.isValid();
bool bPrintSeparator = ((lastSupplier.isValid() && !supplier.isValid()) ||
(lastSupplier.isValid() && supplier.isValid() && lastSupplier != supplier)) &&
!lst.m_supplier.m_id.isValid();
lastSupplier = supplier;
if (bPrintSeparator)
str += TABLE_FULL_LINE ESC_LF;
if (bPrintSupplier && !bPrintSeparator)
str += TABLE_FULL_LINE ESC_LF;
if (bPrintSupplier)
str += ESC_ALIGN_CENTER "Fornecedor: " + lst.m_vItem.at(i).m_supplier.m_form.strAliasName() + ESC_LF ESC_ALIGN_LEFT;
str += ESC_STRESS_ON + lst.m_vItem.at(i).m_product.m_name + ESC_STRESS_OFF ESC_LF;
if (lst.m_vItem.at(i).m_price != 0.0)
str += "Preco: " + lst.m_vItem.at(i).strPrice() + ESC_LF;
if (bPrintCount)
{
str += ESC_DOUBLE_FONT_ON "[ ][ ]";
if (lst.m_vItem.at(i).m_ammount != 0.0)
str += "[" + Data::strFmt(lst.m_vItem.at(i).m_ammount) +
lst.m_vItem.at(i).m_package.strUnity(lst.m_vItem.at(i).m_product.m_unity) + "]";
str += ESC_DOUBLE_FONT_OFF ESC_LF;
}
}
str += ESC_ALIGN_LEFT;
if (lst.m_nLines > 0)
{
for (int i = 0; i != lst.m_nLines; ++i)
str += ESC_VERT_TAB TABLE_FULL_LINE ESC_LF;
}
str += ESC_LF
ESC_VERT_TAB
ESC_FULL_CUT;
return print(str, error);
}
bool Printer::print(const Coupon& o, bool bPrintContent, QString& error)
{
QString str;
if (o.m_store.m_id.isValid())
{
appendFormInfo(o.m_store.m_form, str);
str += ESC_LF;
}
if (!o.m_bRedeemed)
{
str += ESC_ALIGN_CENTER
ESC_EXPAND_ON
"CUPOM DE DESCONTO"
ESC_EXPAND_OFF
ESC_LF
ESC_VERT_TAB
ESC_ALIGN_LEFT
"Utilize o codigo abaixo para ativar o desconto:"
ESC_LF
ESC_VERT_TAB
ESC_ALIGN_CENTER
ESC_DOUBLE_FONT_ON +
o.m_code +
ESC_DOUBLE_FONT_OFF
ESC_LF
ESC_BARCODE_HRI_OFF
ESC_BARCODE_HEIGHT +
QString(decToHex[120]) +
ESC_BARCODE_CODE93 +
QString(decToHex[o.m_code.length()]) +
o.m_code +
ESC_LF
ESC_VERT_TAB;
if (bPrintContent)
str += "Esse codigo vale:" ESC_LF + couponContent(o);
str += ESC_ALIGN_LEFT
"Emissao: " +
o.m_dtCreation.toString("dd/MM/yyyy hh:mm:ss") +
" @ " + QHostInfo::localHostName().toUpper() +
ESC_LF;
if (o.m_bExpires)
str += "Codigo valido ate o dia "
ESC_EXPAND_ON +
o.m_dtExpiration.toString("dd/MM/yyyy") +
ESC_EXPAND_OFF;
}
else
{
str += ESC_ALIGN_CENTER
ESC_EXPAND_ON
"CUPOM DE DESCONTO"
ESC_LF +
o.m_code +
ESC_LF
ESC_VERT_TAB
ESC_EXPAND_OFF
ESC_ALIGN_LEFT
"Parabens! Voce ganhou um desconto de:"
ESC_LF
ESC_VERT_TAB +
couponContent(o);
str += ESC_ALIGN_LEFT
"Resgate: " + o.m_dtRedeemed.toString("dd/MM/yyyy hh:mm:ss") +
" @ " + QHostInfo::localHostName().toUpper();
}
str += ESC_LF
ESC_VERT_TAB
ESC_FULL_CUT;
return print(str, error);
}
| [
"jfleidens@gmail.com"
] | jfleidens@gmail.com |
401f6775547d6d55574eecb50a586a1303268675 | 2749d7ef8783e9362978d242c7a2e4fee7c8c707 | /SWAN/Logic/Entity.hpp | c8be163fb49326e62a80ccd42d9854be9d93c0b6 | [] | no_license | PracticallyNothing/SWAN-Game-Engine | ec9b22bfc2d4e8f77d61ad2f0dede1fbeec904f8 | 9a533f06d0b6bd6ff4a9407f22a96b085b71e00c | refs/heads/master | 2021-10-26T16:15:14.271103 | 2019-04-13T20:16:47 | 2019-04-13T20:16:47 | 106,198,512 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,592 | hpp | #ifndef SWAN_ENTITY_HPP
#define SWAN_ENTITY_HPP
#include "Maths/Vector.hpp" // For vec3
#include "Physics/Transform.hpp" // For Transform
#include "Rendering/Mesh.hpp" // For Mesh
#include "Rendering/Shader.hpp" // For Shaders
#include "Rendering/Texture.hpp" // For Texture
#include <cstdint> // For std::uint32_t
namespace SWAN
{
float Interpolate(float current, float goal, uint32_t deltaTimeMs)
{
float diff = goal - current;
float dt = (float) deltaTimeMs / 1000;
if(diff > dt)
return current + dt;
else if(diff < -dt)
return current - dt;
else
return goal;
}
class Entity
{
public:
Entity() : mesh(NULL), tex(NULL) {}
Entity(const Mesh* mesh, const Texture* tex) : mesh(mesh), tex(tex) {}
~Entity() {}
virtual void update(clock_t dt)
{
currVel.x = Interpolate(currVel.x, targetVel.x, dt);
currVel.y = Interpolate(currVel.y, targetVel.y, dt);
currVel.z = Interpolate(currVel.z, targetVel.z, dt);
currAngVel.x = Interpolate(currAngVel.x, targetAngVel.x, dt);
currAngVel.y = Interpolate(currAngVel.y, targetAngVel.y, dt);
currAngVel.z = Interpolate(currAngVel.z, targetAngVel.z, dt);
transform.pos += currVel;
transform.rot.x += currAngVel.x;
transform.rot.y += currAngVel.y;
transform.rot.z += currAngVel.z;
}
virtual void render(Shader* s)
{
// s->SetMat4("transform", transform.getModel());
// tex->bind();
// s->renderMesh(*mesh);
// mesh->
}
void setCurrVelX(float val) { currVel.x = val; }
void setCurrVelY(float val) { currVel.y = val; }
void setCurrVelZ(float val) { currVel.z = val; }
void setTargetVelX(float val) { targetVel.x = val; }
void setTargetVelY(float val) { targetVel.y = val; }
void setTargetVelZ(float val) { targetVel.z = val; }
void setCurrVel(vec3 v) { currVel = v; }
void setTargetVel(vec3 v) { targetVel = v; }
vec3 getCurrVel() { return currVel; }
vec3 getTargetVel() { return targetVel; }
void setCurrAngVelX(float val) { currAngVel.x = val; }
void setCurrAngVelY(float val) { currAngVel.y = val; }
void setCurrAngVelZ(float val) { currAngVel.z = val; }
void setTargetAngVelX(float val) { targetAngVel.x = val; }
void setTargetAngVelY(float val) { targetAngVel.y = val; }
void setTargetAngVelZ(float val) { targetAngVel.z = val; }
void setCurrAngVel(vec3 v) { currAngVel = v; }
void setTargetAngVel(vec3 v) { targetAngVel = v; }
vec3 getCurrAngVel() { return currAngVel; }
vec3 getTargetAngVel() { return targetAngVel; }
const Mesh* getMesh() const { return mesh; }
void setMesh(const Mesh* m) { mesh = m; }
const Texture* getTexture() const { return tex; }
void setTexture(const Texture* t) { tex = t; }
Transform getTransform() { return transform; }
Transform& getTransform_ref() { return transform; }
const Transform* getTransform_ptr() { return &transform; }
void setTransform(Transform t) { transform = t; }
inline void scaleByX(float amt) { transform.scale.x += amt; }
inline void scaleByY(float amt) { transform.scale.y += amt; }
inline void scaleByZ(float amt) { transform.scale.z += amt; }
inline void scaleByVec(vec3 vec) { transform.scale += vec; }
inline void scaleToX(float amt) { transform.scale.x = amt; }
inline void scaleToY(float amt) { transform.scale.y = amt; }
inline void scaleToZ(float amt) { transform.scale.z = amt; }
inline void scaleToVec(vec3 vec) { transform.scale = vec; }
protected:
const Mesh* mesh;
const Texture* tex;
Transform transform;
vec3 currVel, targetVel, currAngVel, targetAngVel;
};
} // namespace SWAN
#endif
| [
"practicallynothingatall@gmail.com"
] | practicallynothingatall@gmail.com |
9b0a86a72b9973170bd4f5927a359d8ee82eaaf5 | 637c4892287929583bdadd8630d5353dd78dc82c | /vendor/cubelib/src/cube/src/network/CubeServerConnection.cpp | 8ca41f6cec55d08f8c14b29736e2d81605ce9b82 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | readex-eu/readex-scorep | 6819f074bba6b4fe9d6de07cf7037d2829cbbccf | 38d7b84145f229b44670656d59f84faa51007ced | refs/heads/master | 2020-03-27T01:04:12.730561 | 2018-08-22T14:42:37 | 2018-08-22T14:42:37 | 145,679,275 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,188 | cpp | /****************************************************************************
** CUBE http://www.scalasca.org/ **
*****************************************************************************
** Copyright (c) 2016 **
** Forschungszentrum Juelich GmbH, Juelich Supercomputing Centre **
** **
** Copyright (c) 2014-2015 **
** German Research School for Simulation Sciences GmbH, **
** Laboratory for Parallel Programming **
** **
** Copyright (c) 2014-2015 **
** RWTH Aachen University, JARA-HPC **
** **
** This software may be modified and distributed under the terms of **
** a BSD-style license. See the COPYING file in the package base **
** directory for details. **
****************************************************************************/
/*-------------------------------------------------------------------------*/
/**
* @file
* @ingroup CUBE_lib.network
* @brief Definition of the class ServerConnection.
**/
/*-------------------------------------------------------------------------*/
#include <config.h>
#include "CubeServerConnection.h"
#include <iostream>
#include "CubeError.h"
#include "CubeNetworkRequest.h"
#include "CubeOperator.h"
#include "CubeSocket.h"
#include "CubeUrl.h"
using namespace std;
namespace cube
{
ServerConnection::Ptr
ServerConnection::create(SocketPtr socket,
size_t port)
{
return ServerConnection::Ptr(new ServerConnection(socket, port));
}
void
ServerConnection::accept()
{
if (!mSocket.get())
{
throw InvalidSocket("Invalid Socket.");
}
mSocket->accept();
uint64_t one;
*this >> one;
if (one != 1)
{
ByteSwapOperator< uint64_t >::apply(one);
if (one != 1)
{
throw UnrecoverableNetworkError("Unable to negotiate endianness");
}
else
{
this->enableByteSwap(true);
cerr << "Enabled byte swap" << endl;
}
}
}
ServerConnection::ServerConnection(SocketPtr socket,
size_t port)
: Connection(socket)
{
if (mSocket.get())
{
mSocket->listen(port);
}
}
ServerConnection::~ServerConnection()
{
if (mSocket.get())
{
mSocket->disconnect();
}
}
bool
ServerConnection::isListening() const
{
if (mSocket.get())
{
return mSocket->isListening();
}
return false;
}
NetworkRequestPtr
ServerConnection::createRequestFromStream()
{
return NetworkRequest::createFromStream(*this);
}
void
ServerConnection::stopListening()
{
mSocket->shutdown();
}
} /* namespace cube */
| [
"robert.schoene@tu-dresden.de"
] | robert.schoene@tu-dresden.de |
b97a9280a51ac19cee69f484489f2ff60eb5556f | fdb0e9e837c935f9f25f479abf6b6f815b36b63b | /leetcode/【栈】331.验证二叉树前序序列化正确性.cpp | 6d84e7eb3eb7995ed75834e0b38efd8f72d4185f | [] | no_license | AnsonHooL/Coding_Note | 57b4ce798e8008cb5c4438b10529ec880598dbd2 | 8c51bd6f828e5cb77d97a87ffac01284c79aeba4 | refs/heads/master | 2023-05-14T00:58:11.691078 | 2021-06-10T08:42:09 | 2021-06-10T08:42:09 | 316,232,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,852 | cpp | //
// Created by lenovo on 2021/3/12.
//
class Solution {
public:
bool isValidSerialization(string preorder) {
preorder.push_back(',');
stack<char> mystack;
int number = 0;
for(int i = 0; i < preorder.size(); i++)
{
if(preorder[i] != ',') continue;
else
{
if(isdigit(preorder[i-1]))
{
mystack.push('0');
}else if(preorder[i-1] == '#')
{
if(mystack.empty() || mystack.top() != '#') mystack.push('#');
else
{
while(!mystack.empty()&&mystack.top() == '#') ///有两个子结点
{
mystack.pop();
if(!mystack.empty() && isdigit(mystack.top()))
{
mystack.pop();
} else
{
return false;
}
}
mystack.push('#');
}
}
}
}
return mystack.empty() || (mystack.top() == '#' && mystack.size() == 1);
}
};
/**
* 这里的思路:就是两个#就可以退出,然后每次跳到逗号进行处理
* 有一种快速,而且空间O(1)的方法,就是计数法,设置如果遇到空节点则消耗一个slot,如果是非空节点则消耗一个slot,并新增两个slot
*
*序列化二叉树的一种方法是使用前序遍历。当我们遇到一个非空节点时,我们可以记录下这个节点的值。如果它是一个空节点,我们可以使用一个标记值记录,例如 #。
_9_
/ \
3 2
/ \ / \
4 1 # 6
/ \ / \ / \
# # # # # #
例如,上面的二叉树可以被序列化为字符串 "9,3,4,#,#,1,#,#,2,#,6,#,#",其中 # 代表一个空节点。
给定一串以逗号分隔的序列,验证它是否是正确的二叉树的前序序列化。编写一个在不重构树的条件下的可行算法。
每个以逗号分隔的字符或为一个整数或为一个表示 null 指针的 '#' 。
你可以认为输入格式总是有效的,例如它永远不会包含两个连续的逗号,比如 "1,,3" 。
示例 1:
输入: "9,3,4,#,#,1,#,#,2,#,6,#,#"
输出: true
示例 2:
输入: "1,#"
输出: false
示例 3:
输入: "9,#,#,1"
输出: false
我们知道在树(甚至图)中,所有节点的入度之和等于出度之和。可以根据这个特点判断输入序列是否为有效的!
在一棵二叉树中:
每个空节点( "#" )会提供 0 个出度和 1 个入度。
每个非空节点会提供 2 个出度和 1 个入度。
我们只要把字符串遍历一次,每个节点都累加 diff = 出度 - 入度 。在遍历到任何一个节点的时候,要求diff >= 0,原因是还没遍历到该节点的子节点,所以此时的出度应该大于等于入度。当所有节点遍历完成之后,整棵树的 diff == 0 。
这里解释一下为什么下面的代码中 diff 的初始化为 1。因为,我们加入一个非空节点时,都会先减去一个入度,再加上两个出度。但是由于根节点没有父节点,所以其入度为 0,出度为 2。因此 diff 初始化为 1,是为了在加入根节点的时候,先减去一个入度,再加上两个出度,此时 diff 正好应该是2.
class Solution(object):
def isValidSerialization(self, preorder):
nodes = preorder.split(',')
diff = 1
for node in nodes:
diff -= 1
if diff < 0:
return False
if node != '#':
diff += 2
return diff == 0
*
*
* */ | [
"984149833@qq.com"
] | 984149833@qq.com |
6c4157e73baa2f4211c82130e4e28eef4a779eae | 57625110a30efc8360f396294c247e107e220efa | /src/modules/ml/kmean.cc | ddc0312d79495805c7500573e0ab9d55a858c783 | [] | no_license | Jsty00/star | f27314864f84a7072a37ff875a260678132d51c2 | 64a8dff9719dd5926f12e77898c8994780c3b97a | refs/heads/master | 2023-03-23T10:01:51.233265 | 2021-02-24T16:11:42 | 2021-02-24T16:11:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,443 | cc | #include <fstream>
#include "kmean.h"
namespace star {
void ml_kmeans(const char *data_path, const char *data_config_path, const char *dst_dir) {
std::ifstream io(data_path, std::ifstream::in);
if (!io.is_open()) {
printf("open %s fail!\n", data_path);
return;
}
NumN total_points, total_values, K, max_iterations, has_name;
io >> total_points >> total_values >> K >> max_iterations >> has_name;
MATH21_LOG_NAME_VALUE(total_points);
MATH21_LOG_NAME_VALUE(total_values);
MATH21_LOG_NAME_VALUE(K);
MATH21_LOG_NAME_VALUE(max_iterations);
std::string point_name;
Seqce<TenR> data(total_points);
VecN labels(total_points);
VecN d(1);
d = total_values;
math21_tool_setSize(data, d);
for (NumN i = 1; i <= total_points; ++i) {
TenR &A = data.at(i);
for (NumN j = 1; j <= total_values; ++j) {
double value;
io >> value;
A(j) = value;
}
if (has_name) {
io >> point_name;
A.setName(point_name.c_str());
}
}
ml_kmeans_config config(K, total_points, total_values, max_iterations);
Seqce<VecN> points_in_clusters;
ml_kmeans(data, labels, points_in_clusters, config);
if (data_config_path) {
MATH21_ASSERT(dst_dir)
// points_in_clusters.log("points_in_clusters");
ml_data_save_as_vector_using_index_multiple(data, points_in_clusters, data_config_path, dst_dir, 10, 32);
}
}
}
int sky_ml_kmeans_test() {
std::string home_path = STAR_WORKING_PATH;
std::string data_path = home_path + "/assets/kmeans/datasets/dataset1.txt";
star::ml_kmeans(data_path.c_str(), "data_config.txt", "clusters");
return 1;
}
int sky_ml_kmeans(int argc, const char **argv) {
if (argc == 2) {
if (star::math21_string_is_equal(argv[1], "--help") || star::math21_string_is_equal(argv[1], "--h")) {
std::cout << "\tml_kmeans data_path dst_config_path dst_dir\n";
return 1;
} else if (star::math21_string_is_equal(argv[1], "test")) {
sky_ml_kmeans_test();
return 1;
}
}
if (argc == 4) {
star::ml_kmeans(argv[1], argv[2], argv[3]);
} else {
return 0;
}
return 1;
}
| [
"emmawatson@gmail.com"
] | emmawatson@gmail.com |
4d1fea2744429bf149a8c654d9de223f11d92459 | 88ae8695987ada722184307301e221e1ba3cc2fa | /chrome/browser/ui/tab_contents/core_tab_helper.cc | 385c4991fceda928766065144b509aeeea905f80 | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 27,528 | cc | // Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/tab_contents/core_tab_helper.h"
#include <string>
#include <utility>
#include <vector>
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/stringprintf.h"
#include "build/branding_buildflags.h"
#include "build/build_config.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "chrome/browser/translate/chrome_translate_client.h"
#include "chrome/browser/ui/browser_command_controller.h"
#include "chrome/browser/ui/lens/lens_core_tab_side_panel_helper.h"
#include "chrome/browser/ui/ui_features.h"
#include "chrome/common/chrome_render_frame.mojom.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/grit/generated_resources.h"
#include "components/lens/buildflags.h"
#include "components/lens/lens_entrypoints.h"
#include "components/lens/lens_features.h"
#include "components/lens/lens_rendering_environment.h"
#include "components/lens/lens_url_utils.h"
#include "components/search/search.h"
#include "components/search_engines/template_url.h"
#include "components/search_engines/template_url_service.h"
#include "components/strings/grit/components_strings.h"
#include "components/translate/core/browser/language_state.h"
#include "components/translate/core/common/translate_constants.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_details.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/navigation_handle.h"
#include "content/public/browser/page_navigator.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_switches.h"
#include "extensions/buildflags/buildflags.h"
#include "net/base/load_states.h"
#include "net/http/http_request_headers.h"
#include "third_party/blink/public/common/associated_interfaces/associated_interface_provider.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/codec/jpeg_codec.h"
#include "ui/gfx/codec/webp_codec.h"
#if BUILDFLAG(IS_ANDROID)
#include "chrome/browser/android/tab_android.h"
#else
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/side_panel/companion/companion_tab_helper.h"
#include "chrome/browser/ui/side_panel/companion/companion_utils.h"
#endif
#if BUILDFLAG(ENABLE_EXTENSIONS)
#include "components/guest_view/browser/guest_view_manager.h"
#endif
#if BUILDFLAG(ENABLE_LENS_DESKTOP_GOOGLE_BRANDED_FEATURES)
#include "chrome/browser/ui/lens/lens_side_panel_helper.h"
#endif
using content::WebContents;
namespace {
constexpr int kImageSearchThumbnailMinSize = 300 * 300;
constexpr int kImageSearchThumbnailMaxWidth = 600;
constexpr int kImageSearchThumbnailMaxHeight = 600;
constexpr char kUnifiedSidePanelVersion[] = "1";
} // namespace
CoreTabHelper::CoreTabHelper(WebContents* web_contents)
: content::WebContentsObserver(web_contents),
content::WebContentsUserData<CoreTabHelper>(*web_contents) {}
CoreTabHelper::~CoreTabHelper() {}
std::u16string CoreTabHelper::GetDefaultTitle() {
return l10n_util::GetStringUTF16(IDS_DEFAULT_TAB_TITLE);
}
std::u16string CoreTabHelper::GetStatusText() const {
std::u16string status_text;
GetStatusTextForWebContents(&status_text, web_contents());
return status_text;
}
void CoreTabHelper::UpdateContentRestrictions(int content_restrictions) {
content_restrictions_ = content_restrictions;
#if !BUILDFLAG(IS_ANDROID)
Browser* browser = chrome::FindBrowserWithWebContents(web_contents());
if (!browser)
return;
browser->command_controller()->ContentRestrictionsChanged();
#endif
}
std::vector<unsigned char> CoreTabHelper::EncodeImage(
const gfx::Image& image,
std::string& content_type,
lens::mojom::ImageFormat& image_format) {
std::vector<unsigned char> data;
if (lens::features::IsWebpForRegionSearchEnabled() &&
gfx::WebpCodec::Encode(image.AsBitmap(),
lens::features::GetRegionSearchEncodingQuality(),
&data)) {
content_type = "image/webp";
image_format = lens::mojom::ImageFormat::WEBP;
return data;
} else if (lens::features::IsJpegForRegionSearchEnabled() &&
gfx::JPEGCodec::Encode(
image.AsBitmap(),
lens::features::GetRegionSearchEncodingQuality(), &data)) {
content_type = "image/jpeg";
image_format = lens::mojom::ImageFormat::JPEG;
return data;
}
// If the WebP/JPEG encoding fails, fall back to PNG.
// Get the front and end of the image bytes in order to store them in the
// search_args to be sent as part of the PostContent in the request.
size_t image_bytes_size = image.As1xPNGBytes()->size();
const unsigned char* image_bytes_begin = image.As1xPNGBytes()->front();
const unsigned char* image_bytes_end = image_bytes_begin + image_bytes_size;
content_type = "image/png";
image_format = lens::mojom::ImageFormat::PNG;
data.assign(image_bytes_begin, image_bytes_end);
return data;
}
lens::mojom::ImageFormat CoreTabHelper::EncodeImageIntoSearchArgs(
const gfx::Image& image,
TemplateURLRef::SearchTermsArgs& search_args) {
lens::mojom::ImageFormat image_format;
std::string content_type;
std::vector<unsigned char> data =
EncodeImage(image, content_type, image_format);
search_args.image_thumbnail_content.assign(data.begin(), data.end());
search_args.image_thumbnail_content_type = content_type;
return image_format;
}
void CoreTabHelper::TriggerLensPingIfEnabled() {
if (lens::features::GetEnableLensPing()) {
lens_ping_start_time_ = base::TimeTicks::Now();
awaiting_lens_ping_response_ = lens::features::GetLensPingIsSequential();
// The Lens ping should return response code 204, so opening it in the
// current tab will be invisible to the user.
GURL lens_ping_url = GURL(lens::features::GetLensPingURL());
content::OpenURLParams lens_ping_url_params(
lens_ping_url, content::Referrer(), WindowOpenDisposition::CURRENT_TAB,
ui::PAGE_TRANSITION_AUTO_TOPLEVEL, false);
web_contents()->OpenURL(lens_ping_url_params);
}
}
void CoreTabHelper::SearchWithLens(content::RenderFrameHost* render_frame_host,
const GURL& src_url,
lens::EntryPoint entry_point,
bool is_image_translate) {
TriggerLensPingIfEnabled();
bool use_side_panel = lens::IsSidePanelEnabledForLens(web_contents());
const gfx::Size side_panel_initial_size =
lens::GetSidePanelInitialContentSizeUpperBound(web_contents());
SearchByImageImpl(render_frame_host, src_url, kImageSearchThumbnailMinSize,
lens::features::GetMaxPixelsForImageSearch(),
lens::features::GetMaxPixelsForImageSearch(),
lens::GetQueryParametersForLensRequest(
entry_point, use_side_panel, side_panel_initial_size,
/** is_full_screen_region_search_request **/ false,
IsImageSearchSupportedForCompanion()),
use_side_panel, is_image_translate);
}
TemplateURLService* CoreTabHelper::GetTemplateURLService() {
Profile* profile =
Profile::FromBrowserContext(web_contents()->GetBrowserContext());
DCHECK(profile);
TemplateURLService* template_url_service =
TemplateURLServiceFactory::GetForProfile(profile);
DCHECK(template_url_service);
return template_url_service;
}
void CoreTabHelper::RegionSearchWithLens(
gfx::Image image,
const gfx::Size& image_original_size,
std::vector<lens::mojom::LatencyLogPtr> log_data) {
// TODO(crbug/1431377): After validating the efficacy of the Lens Ping, move
// the region search Ping to an earlier point in
// lens_region_search_controller.
TriggerLensPingIfEnabled();
// Do not show the side panel on region searches and modify the entry point
// if Lens fullscreen search features are enabled.
bool is_full_screen_region_search_request =
lens::features::IsLensFullscreenSearchEnabled();
lens::EntryPoint entry_point =
is_full_screen_region_search_request
? lens::EntryPoint::CHROME_FULLSCREEN_SEARCH_MENU_ITEM
: lens::EntryPoint::CHROME_REGION_SEARCH_MENU_ITEM;
bool use_side_panel =
lens::IsSidePanelEnabledForLensRegionSearch(web_contents());
bool is_companion_enabled = IsImageSearchSupportedForCompanion();
const gfx::Size side_panel_initial_size =
lens::GetSidePanelInitialContentSizeUpperBound(web_contents());
auto lens_query_params = lens::GetQueryParametersForLensRequest(
entry_point, use_side_panel, side_panel_initial_size,
is_full_screen_region_search_request, is_companion_enabled);
SearchByImageImpl(image, image_original_size, lens_query_params,
use_side_panel, std::move(log_data));
}
void CoreTabHelper::SearchByImage(content::RenderFrameHost* render_frame_host,
const GURL& src_url) {
SearchByImage(render_frame_host, src_url, /*is_image_translate=*/false);
}
void CoreTabHelper::SearchByImage(content::RenderFrameHost* render_frame_host,
const GURL& src_url,
bool is_image_translate) {
SearchByImageImpl(render_frame_host, src_url, kImageSearchThumbnailMinSize,
kImageSearchThumbnailMaxWidth,
kImageSearchThumbnailMaxHeight, std::string(),
lens::IsSidePanelEnabledFor3PDse(web_contents()),
is_image_translate);
}
void CoreTabHelper::SearchByImage(const gfx::Image& image,
const gfx::Size& image_original_size) {
SearchByImageImpl(image, image_original_size,
/*additional_query_params=*/std::string(),
lens::IsSidePanelEnabledFor3PDse(web_contents()),
std::vector<lens::mojom::LatencyLogPtr>());
}
void CoreTabHelper::SearchByImageImpl(
const gfx::Image& image,
const gfx::Size& image_original_size,
const std::string& additional_query_params,
bool use_side_panel,
std::vector<lens::mojom::LatencyLogPtr> log_data) {
TemplateURLService* template_url_service = GetTemplateURLService();
const TemplateURL* const default_provider =
template_url_service->GetDefaultSearchProvider();
DCHECK(default_provider);
bool is_companion_enabled = IsImageSearchSupportedForCompanion();
TemplateURLRef::SearchTermsArgs search_args =
TemplateURLRef::SearchTermsArgs(std::u16string());
log_data.push_back(lens::mojom::LatencyLog::New(
lens::mojom::Phase::ENCODE_START, image_original_size, gfx::Size(),
lens::mojom::ImageFormat::ORIGINAL, base::Time::Now()));
std::string content_type;
std::vector<unsigned char> encoded_image_bytes;
lens::mojom::ImageFormat image_format;
if (is_companion_enabled) {
// We do not need to add the image to the search args when using the
// companion.
encoded_image_bytes = EncodeImage(image, content_type, image_format);
} else {
image_format = EncodeImageIntoSearchArgs(image, search_args);
}
log_data.push_back(lens::mojom::LatencyLog::New(
lens::mojom::Phase::ENCODE_END, image_original_size, gfx::Size(),
image_format, base::Time::Now()));
std::string additional_query_params_modified = additional_query_params;
if (lens::features::GetEnableLatencyLogging() &&
search::DefaultSearchProviderIsGoogle(template_url_service)) {
lens::AppendLogsQueryParam(&additional_query_params_modified,
std::move(log_data));
}
#if !BUILDFLAG(IS_ANDROID)
// If supported, launch image in the side panel.
auto* companion_helper =
companion::CompanionTabHelper::FromWebContents(web_contents());
if (companion_helper && is_companion_enabled) {
companion_helper->ShowCompanionSidePanelForImage(
/*src_url=*/GURL(), /*is_image_translate=*/false,
additional_query_params_modified, encoded_image_bytes,
image_original_size, image.Size(),
/*image_extension=*/std::string(), content_type);
return;
}
#endif
if (search::DefaultSearchProviderIsGoogle(template_url_service)) {
search_args.processed_image_dimensions =
base::NumberToString(image.Size().width()) + "," +
base::NumberToString(image.Size().height());
}
search_args.image_original_size = image_original_size;
search_args.additional_query_params = additional_query_params_modified;
TemplateURLRef::PostContent post_content;
GURL search_url(default_provider->image_url_ref().ReplaceSearchTerms(
search_args, template_url_service->search_terms_data(), &post_content));
if (use_side_panel) {
search_url = template_url_service
->GenerateSideImageSearchURLForDefaultSearchProvider(
search_url, kUnifiedSidePanelVersion);
}
PostContentToURL(post_content, search_url, use_side_panel);
}
void CoreTabHelper::SearchByImageImpl(
content::RenderFrameHost* render_frame_host,
const GURL& src_url,
int thumbnail_min_size,
int thumbnail_max_width,
int thumbnail_max_height,
const std::string& additional_query_params,
bool use_side_panel,
bool is_image_translate) {
mojo::AssociatedRemote<chrome::mojom::ChromeRenderFrame> chrome_render_frame;
render_frame_host->GetRemoteAssociatedInterfaces()->GetInterface(
&chrome_render_frame);
// Bind the InterfacePtr into the callback so that it's kept alive until
// there's either a connection error or a response.
auto* thumbnail_capturer_proxy = chrome_render_frame.get();
thumbnail_capturer_proxy->RequestImageForContextNode(
thumbnail_min_size, gfx::Size(thumbnail_max_width, thumbnail_max_height),
lens::features::IsWebpForImageSearchEnabled()
? chrome::mojom::ImageFormat::WEBP
: chrome::mojom::ImageFormat::JPEG,
lens::features::GetImageSearchEncodingQuality(),
base::BindOnce(
&CoreTabHelper::DoSearchByImage, weak_factory_.GetWeakPtr(),
std::move(chrome_render_frame), src_url, additional_query_params,
use_side_panel, is_image_translate,
lens::features::IsWebpForImageSearchEnabled() ? "image/webp"
: "image/jpeg"));
}
std::unique_ptr<content::WebContents> CoreTabHelper::SwapWebContents(
std::unique_ptr<content::WebContents> new_contents,
bool did_start_load,
bool did_finish_load) {
#if BUILDFLAG(IS_ANDROID)
TabAndroid* tab = TabAndroid::FromWebContents(web_contents());
return tab->SwapWebContents(std::move(new_contents), did_start_load,
did_finish_load);
#else
Browser* browser = chrome::FindBrowserWithWebContents(web_contents());
return browser->SwapWebContents(web_contents(), std::move(new_contents));
#endif
}
// static
bool CoreTabHelper::GetStatusTextForWebContents(std::u16string* status_text,
content::WebContents* source) {
#if BUILDFLAG(IS_ANDROID)
NOTREACHED() << "If this ends up being used on Android update "
<< "ChromeContentBrowserClient::OverrideURLLoaderFactoryParams.";
return false;
#else
#if BUILDFLAG(ENABLE_EXTENSIONS)
auto* guest_manager = guest_view::GuestViewManager::FromBrowserContext(
source->GetBrowserContext());
#endif // BUILDFLAG(ENABLE_EXTENSIONS)
if (!source->IsLoading() ||
source->GetLoadState().state == net::LOAD_STATE_IDLE) {
#if BUILDFLAG(ENABLE_EXTENSIONS)
if (!guest_manager)
return false;
return guest_manager->ForEachGuest(
source, base::BindRepeating(&CoreTabHelper::GetStatusTextForWebContents,
status_text));
#else // !BUILDFLAG(ENABLE_EXTENSIONS)
return false;
#endif // BUILDFLAG(ENABLE_EXTENSIONS)
}
switch (source->GetLoadState().state) {
case net::LOAD_STATE_WAITING_FOR_STALLED_SOCKET_POOL:
case net::LOAD_STATE_WAITING_FOR_AVAILABLE_SOCKET:
*status_text =
l10n_util::GetStringUTF16(IDS_LOAD_STATE_WAITING_FOR_SOCKET_SLOT);
return true;
case net::LOAD_STATE_WAITING_FOR_DELEGATE:
if (!source->GetLoadState().param.empty()) {
*status_text = l10n_util::GetStringFUTF16(
IDS_LOAD_STATE_WAITING_FOR_DELEGATE,
source->GetLoadState().param);
return true;
} else {
*status_text = l10n_util::GetStringUTF16(
IDS_LOAD_STATE_WAITING_FOR_DELEGATE_GENERIC);
return true;
}
case net::LOAD_STATE_WAITING_FOR_CACHE:
*status_text =
l10n_util::GetStringUTF16(IDS_LOAD_STATE_WAITING_FOR_CACHE);
return true;
case net::LOAD_STATE_ESTABLISHING_PROXY_TUNNEL:
*status_text =
l10n_util::GetStringUTF16(IDS_LOAD_STATE_ESTABLISHING_PROXY_TUNNEL);
return true;
case net::LOAD_STATE_DOWNLOADING_PAC_FILE:
*status_text =
l10n_util::GetStringUTF16(IDS_LOAD_STATE_DOWNLOADING_PAC_FILE);
return true;
case net::LOAD_STATE_RESOLVING_PROXY_FOR_URL:
*status_text =
l10n_util::GetStringUTF16(IDS_LOAD_STATE_RESOLVING_PROXY_FOR_URL);
return true;
case net::LOAD_STATE_RESOLVING_HOST_IN_PAC_FILE:
*status_text =
l10n_util::GetStringUTF16(IDS_LOAD_STATE_RESOLVING_HOST_IN_PAC_FILE);
return true;
case net::LOAD_STATE_RESOLVING_HOST:
*status_text = l10n_util::GetStringUTF16(IDS_LOAD_STATE_RESOLVING_HOST);
return true;
case net::LOAD_STATE_CONNECTING:
*status_text = l10n_util::GetStringUTF16(IDS_LOAD_STATE_CONNECTING);
return true;
case net::LOAD_STATE_SSL_HANDSHAKE:
*status_text = l10n_util::GetStringUTF16(IDS_LOAD_STATE_SSL_HANDSHAKE);
return true;
case net::LOAD_STATE_SENDING_REQUEST:
if (source->GetUploadSize()) {
*status_text = l10n_util::GetStringFUTF16Int(
IDS_LOAD_STATE_SENDING_REQUEST_WITH_PROGRESS,
static_cast<int>((100 * source->GetUploadPosition()) /
source->GetUploadSize()));
return true;
} else {
*status_text =
l10n_util::GetStringUTF16(IDS_LOAD_STATE_SENDING_REQUEST);
return true;
}
case net::LOAD_STATE_WAITING_FOR_RESPONSE:
*status_text =
l10n_util::GetStringFUTF16(IDS_LOAD_STATE_WAITING_FOR_RESPONSE,
source->GetLoadStateHost());
return true;
// Ignore net::LOAD_STATE_READING_RESPONSE, net::LOAD_STATE_IDLE and
// net::LOAD_STATE_OBSOLETE_WAITING_FOR_APPCACHE
case net::LOAD_STATE_IDLE:
case net::LOAD_STATE_READING_RESPONSE:
case net::LOAD_STATE_OBSOLETE_WAITING_FOR_APPCACHE:
break;
}
#if BUILDFLAG(ENABLE_EXTENSIONS)
if (!guest_manager)
return false;
return guest_manager->ForEachGuest(
source, base::BindRepeating(&CoreTabHelper::GetStatusTextForWebContents,
status_text));
#else // !BUILDFLAG(ENABLE_EXTENSIONS)
return false;
#endif // BUILDFLAG(ENABLE_EXTENSIONS)
#endif // BUILDFLAG(IS_ANDROID)
}
////////////////////////////////////////////////////////////////////////////////
// WebContentsObserver overrides
void CoreTabHelper::DidStartLoading() {
UpdateContentRestrictions(0);
}
// Update back/forward buttons for web_contents that are active.
void CoreTabHelper::NavigationEntriesDeleted() {
#if !BUILDFLAG(IS_ANDROID)
for (Browser* browser : *BrowserList::GetInstance()) {
if (web_contents() == browser->tab_strip_model()->GetActiveWebContents())
browser->command_controller()->TabStateChanged();
}
#endif
}
// Notify browser commands that depend on whether focus is in the
// web contents or not.
void CoreTabHelper::OnWebContentsFocused(
content::RenderWidgetHost* render_widget_host) {
#if !BUILDFLAG(IS_ANDROID)
Browser* browser = chrome::FindBrowserWithWebContents(web_contents());
if (browser)
browser->command_controller()->WebContentsFocusChanged();
#endif // BUILDFLAG(IS_ANDROID)
}
void CoreTabHelper::OnWebContentsLostFocus(
content::RenderWidgetHost* render_widget_host) {
#if !BUILDFLAG(IS_ANDROID)
Browser* browser = chrome::FindBrowserWithWebContents(web_contents());
if (browser)
browser->command_controller()->WebContentsFocusChanged();
#endif // BUILDFLAG(IS_ANDROID)
}
void CoreTabHelper::DidFinishNavigation(
content::NavigationHandle* navigation_handle) {
// A Lens ping should return code 204, so the navigation handle will not be
// committed and the URL will start with the Lens ping URL.
if (awaiting_lens_ping_response_ && !navigation_handle->HasCommitted() &&
navigation_handle->GetURL().spec().find(
lens::features::GetLensPingURL()) != std::string::npos) {
awaiting_lens_ping_response_ = false;
base::TimeDelta ping_elapsed_time =
base::TimeTicks::Now() - lens_ping_start_time_;
UMA_HISTOGRAM_TIMES("Search.Lens.PingDuration", ping_elapsed_time);
if (stored_lens_search_settings_) {
OpenOpenURLParams(stored_lens_search_settings_->url_params,
stored_lens_search_settings_->use_side_panel);
stored_lens_search_settings_.reset();
}
}
}
// Handles the image thumbnail for the context node, composes a image search
// request based on the received thumbnail and opens the request in a new tab.
void CoreTabHelper::DoSearchByImage(
mojo::AssociatedRemote<chrome::mojom::ChromeRenderFrame>
chrome_render_frame,
const GURL& src_url,
const std::string& additional_query_params,
bool use_side_panel,
bool is_image_translate,
const std::string& thumbnail_content_type,
const std::vector<uint8_t>& thumbnail_data,
const gfx::Size& original_size,
const gfx::Size& downscaled_size,
const std::string& image_extension,
const std::vector<lens::mojom::LatencyLogPtr> log_data) {
if (thumbnail_data.empty())
return;
TemplateURLService* template_url_service = GetTemplateURLService();
const TemplateURL* const default_provider =
template_url_service->GetDefaultSearchProvider();
DCHECK(default_provider);
std::string additional_query_params_modified = additional_query_params;
if (lens::features::GetEnableLatencyLogging() &&
search::DefaultSearchProviderIsGoogle(template_url_service)) {
lens::AppendLogsQueryParam(&additional_query_params_modified,
std::move(log_data));
}
#if !BUILDFLAG(IS_ANDROID)
auto* companion_helper =
companion::CompanionTabHelper::FromWebContents(web_contents());
if (companion_helper && IsImageSearchSupportedForCompanion()) {
companion_helper->ShowCompanionSidePanelForImage(
src_url, is_image_translate, additional_query_params_modified,
thumbnail_data, original_size, downscaled_size, image_extension,
thumbnail_content_type);
return;
}
#endif
TemplateURLRef::SearchTermsArgs search_args =
TemplateURLRef::SearchTermsArgs(std::u16string());
if (search::DefaultSearchProviderIsGoogle(template_url_service)) {
search_args.processed_image_dimensions =
base::NumberToString(downscaled_size.width()) + "," +
base::NumberToString(downscaled_size.height());
}
search_args.image_thumbnail_content.assign(thumbnail_data.begin(),
thumbnail_data.end());
search_args.image_thumbnail_content_type = thumbnail_content_type;
search_args.image_url = src_url;
search_args.image_original_size = original_size;
search_args.additional_query_params = additional_query_params_modified;
if (is_image_translate) {
MaybeSetSearchArgsForImageTranslate(search_args);
}
TemplateURLRef::PostContent post_content;
const TemplateURLRef& template_url =
is_image_translate ? default_provider->image_translate_url_ref()
: default_provider->image_url_ref();
GURL search_url(template_url.ReplaceSearchTerms(
search_args, template_url_service->search_terms_data(), &post_content));
if (use_side_panel) {
search_url = template_url_service
->GenerateSideImageSearchURLForDefaultSearchProvider(
search_url, kUnifiedSidePanelVersion);
}
PostContentToURL(post_content, search_url, use_side_panel);
}
bool CoreTabHelper::IsImageSearchSupportedForCompanion() {
#if !BUILDFLAG(IS_ANDROID)
Browser* browser = chrome::FindBrowserWithWebContents(web_contents());
if (browser) {
return companion::IsSearchImageInCompanionSidePanelSupported(browser);
}
#endif
return false;
}
void CoreTabHelper::MaybeSetSearchArgsForImageTranslate(
TemplateURLRef::SearchTermsArgs& search_args) {
ChromeTranslateClient* chrome_translate_client =
ChromeTranslateClient::FromWebContents(web_contents());
if (!chrome_translate_client) {
return;
}
const translate::LanguageState& language_state =
chrome_translate_client->GetLanguageState();
if (language_state.IsPageTranslated()) {
if (language_state.source_language() != translate::kUnknownLanguageCode) {
search_args.image_translate_source_locale =
language_state.source_language();
}
if (language_state.current_language() != translate::kUnknownLanguageCode) {
search_args.image_translate_target_locale =
language_state.current_language();
}
}
}
void CoreTabHelper::PostContentToURL(TemplateURLRef::PostContent post_content,
GURL url,
bool use_side_panel) {
if (!url.is_valid())
return;
content::OpenURLParams open_url_params(
url, content::Referrer(), WindowOpenDisposition::NEW_FOREGROUND_TAB,
ui::PAGE_TRANSITION_LINK, false);
const std::string& content_type = post_content.first;
const std::string& post_data = post_content.second;
if (!post_data.empty()) {
DCHECK(!content_type.empty());
open_url_params.post_data = network::ResourceRequestBody::CreateFromBytes(
post_data.data(), post_data.size());
open_url_params.extra_headers += base::StringPrintf(
"%s: %s\r\n", net::HttpRequestHeaders::kContentType,
content_type.c_str());
}
if (awaiting_lens_ping_response_) {
stored_lens_search_settings_ = {use_side_panel, open_url_params};
} else {
OpenOpenURLParams(open_url_params, use_side_panel);
}
}
void CoreTabHelper::OpenOpenURLParams(content::OpenURLParams open_url_params,
bool use_side_panel) {
if (use_side_panel) {
#if BUILDFLAG(ENABLE_LENS_DESKTOP_GOOGLE_BRANDED_FEATURES)
lens::OpenLensSidePanel(chrome::FindBrowserWithWebContents(web_contents()),
open_url_params);
#else
web_contents()->OpenURL(open_url_params);
#endif // BUILDFLAG(ENABLE_LENS_DESKTOP_GOOGLE_BRANDED_FEATURES)
} else {
web_contents()->OpenURL(open_url_params);
}
}
WEB_CONTENTS_USER_DATA_KEY_IMPL(CoreTabHelper);
| [
"jengelh@inai.de"
] | jengelh@inai.de |
fc1892f2476e71a1babeea306bb5186aedca0592 | 566d03c03e42b80a1485259dd21e97965e39ed0b | /Alamo.h | c7d3bc2ba2c3f807b123844a47540fb7ca7e1145 | [] | no_license | yslib/Alamo | c1ad48c0553ade2840301ea8ccf2895da5a4a2d7 | 0780a8d19430105599e477705ef4489db61541a5 | refs/heads/master | 2021-01-11T09:39:49.545633 | 2017-05-29T09:05:45 | 2017-05-29T09:05:45 | 77,681,186 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 913 | h |
#ifndef _ALAMO_H_
#define _ALAMO_H_
#include <Windows.h>
#include <GL\GL.h>
#include <al.h>
#include <alc.h>
#include <alut.h>
#include <string>
#include <vector>
#include <fstream>
#include <cstdlib>
#include <cmath>
#include <cassert>
//头文件顺序很重要
//#include "AlamoMonip.h"
//#include "AlamoDebug.h"
//#include "AlamoError.h"
//#include "AlamoType.h"
//#include "AlamoImageFileBase.h"
//#include "AlamoBMPFile.h"
//#include "AlamoInputDevice.h"
//#include "AlamoMsgMap.h"
//#include "AlamoPtr.h"
//#include "AlamoSound.h"
//#include "AlamoGame.h"
//#include "AlamoScreenMode.h"
//#include "AlamoScreenObject.h"
//#include "AlamoApp.h"
//#include "AlamoTexture.h"
//#include "AlamoSpriteBase.h"
//#include "AlamoSprite.h"
//#include "AlamoAnimation.h"
//#include "AlamoAnimatedSprite.h"
//#include "AlamoLevelFileBase.h"
//#include "AlamoLevel.h"
// !_ALAMO_HEADERS_
#endif // !_ALAMO_ | [
"yangshuoliu@sina.com"
] | yangshuoliu@sina.com |
bd7974293b23b7442481963fdd77249ed289f125 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/thread/test/sync/mutual_exclusion/locks/strict_lock/owns_lock_pass.cpp | 8ab6279cc447fc396c15b93ccdbe4c5b77c0d8cc | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | // Copyright (C) 2012 Vicente J. Botet Escriba
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// <sstd/boost/thread/locks.hpp>
// template <class Mutex> class strict_lock;
// bool owns_lock(Mutex *) const;
#include <sstd/boost/thread/strict_lock.hpp>
#include <sstd/boost/thread/mutex.hpp>
#include <sstd/boost/thread/thread.hpp>
#include <sstd/boost/detail/lightweight_test.hpp>
#ifdef BOOST_THREAD_USES_CHRONO
typedef boost::chrono::high_resolution_clock Clock;
typedef Clock::time_point time_point;
typedef Clock::duration duration;
typedef boost::chrono::milliseconds ms;
typedef boost::chrono::nanoseconds ns;
#endif
int main()
{
boost::mutex m;
boost::mutex m2;
boost::strict_lock<boost::mutex> lk(m);
BOOST_TEST(lk.owns_lock(&m) == true);
BOOST_TEST(!lk.owns_lock(&m2) == true);
return boost::report_errors();
}
| [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
ad43a262f21a372c86a6eb6f81d397033a7138e7 | d80fd3a98114f5b0a260e558768d1188a96ee85a | /src/cryptopp/md5.h | d379123056be9fecc6826c89b163cc0839b04379 | [
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | gkcproject/gkccash_core | 9c599c5377683b25d9974d8c0f8983ce820676ab | 1bec1d5dd91fde93276f2ddb2cc63b93f02ba3e9 | refs/heads/master | 2023-06-16T01:10:42.286710 | 2021-06-28T09:49:04 | 2021-06-28T09:49:04 | 257,286,295 | 67 | 17 | MIT | 2021-01-04T01:39:57 | 2020-04-20T13:16:14 | C++ | UTF-8 | C++ | false | false | 1,232 | h | #ifndef CRYPTOPP_MD5_H
#define CRYPTOPP_MD5_H
#include "iterhash.h"
NAMESPACE_BEGIN(CryptoPP)
namespace Weak1 {
//! <a href="http://www.cryptolounge.org/wiki/MD5">MD5</a>
class MD5 : public IteratedHashWithStaticTransform<word32, LittleEndian, 64, 16, MD5>
{
public:
static void InitState(HashWordType *state);
static void Transform(word32 *digest, const word32 *data);
CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "MD5";}
};
}
#if CRYPTOPP_ENABLE_NAMESPACE_WEAK >= 1
namespace Weak {using namespace Weak1;} // import Weak1 into CryptoPP::Weak
#else
using namespace Weak1; // import Weak1 into CryptoPP with warning
#ifdef __GNUC__
#warning "You may be using a weak algorithm that has been retained for backwards compatibility. Please '#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1' before including this .h file and prepend the class name with 'Weak::' to remove this warning."
#else
#pragma message("You may be using a weak algorithm that has been retained for backwards compatibility. Please '#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1' before including this .h file and prepend the class name with 'Weak::' to remove this warning.")
#endif
#endif
NAMESPACE_END
#endif
| [
"gkcproject@hotmail.com"
] | gkcproject@hotmail.com |
be0ed80e0cb11d7da9eb08832743382fcabeddda | 40c687bc71dea19b015daf808ea96295ebefd4b9 | /Utils.hpp | d1cd13ca57a7895a4d46b2bf4f39b8a264e59d64 | [] | no_license | Aiscky/Zappy | bf5a66f7ced2d1ceed777a9ebbb6fa6790dededa | f64d1eee5648af921d0d4d856355d8a5e61b636e | refs/heads/master | 2020-12-24T17:26:55.498378 | 2015-07-06T12:08:53 | 2015-07-06T12:08:53 | 38,616,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,188 | hpp | //
// Utils.hpp for zappy in /home/woivre_t/rendu/PSU_2014_zappy/client_src
//
// Made by Thibault WOIVRE
// Login <woivre_t@epitech.net>
//
// Started on Tue Jun 16 16:47:04 2015 Thibault WOIVRE
// Last update Tue Jun 30 17:08:48 2015 Thibault WOIVRE
//
#ifndef UTILS_HH
#define UTILS_HH
#include "./include/includeGraphic.hh"
class Utils {
public:
static bool isNumber(const std::string &str) {
int i = 0;
while (str[i]) {
if (str[i] < '0' || str[i] > '9') {
return (false);
}
i++;
}
return (true);
}
template<typename T>
static T max(T a, T b) {
if (a > b)
return (a);
else
return (b);
}
template<typename T>
static T min(T a, T b) {
if (a < b)
return (a);
else
return (b);
}
static std::string intToString(int nb) {
std::stringstream ss;
ss << nb;
return (ss.str());
}
static int stringToInt(std::string &str) {
std::stringstream ss;
int nb;
ss << str;
ss >> nb;
return (nb);
}
static std::vector<std::string> *split(std::string str, std::string sep) {
char* cstr=const_cast<char*>(str.c_str());
char* current;
std::vector<std::string> *arr = new std::vector<std::string>();
current = strtok(cstr,sep.c_str());
while (current != NULL){
arr->push_back(current);
current = strtok(NULL, sep.c_str());
}
return arr;
}
static float cartesianToIsoX(float x, float y) {
return (x - y);
}
static float cartesianToIsoY(float x, float y) {
return ((x + y) / 2);
}
static float isoToCartesianX(float x, float y) {
return (2 * y + x) / 2;
}
static float isoToCartesianY(float x, float y) {
return (2 * y - x) / 2;
}
static bool RectInRect(const sf::FloatRect &inRect, const sf::FloatRect &outRect) {
if (inRect.Top < outRect.Top)
return (false);
if (inRect.Bottom > outRect.Bottom)
return (false);
if (inRect.Right > outRect.Right)
return (false);
if (inRect.Left < outRect.Left)
return (false);
return (true);
}
};
#endif
| [
"woivre_t@epitech.eu"
] | woivre_t@epitech.eu |
a0dea3c3e0b7d2ed94ee8cbb9fcd91dc25cf7a96 | 33035c05aad9bca0b0cefd67529bdd70399a9e04 | /src/boost_spirit_include_classic_escape_char.hpp | 7def1e3f2a937db98f263f64e729afb57c5b9a5e | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | elvisbugs/BoostForArduino | 7e2427ded5fd030231918524f6a91554085a8e64 | b8c912bf671868e2182aa703ed34076c59acf474 | refs/heads/master | 2023-03-25T13:11:58.527671 | 2021-03-27T02:37:29 | 2021-03-27T02:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 56 | hpp | #include <boost/spirit/include/classic_escape_char.hpp>
| [
"k@kekyo.net"
] | k@kekyo.net |
acc5b2b49b2fc6cc1d199510862521e7b94b07e1 | 1e006c14837be0e7b6ed9a0f5870907638dfd402 | /usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/include/boost/intrusive/priority_compare.hpp | bbadaa0844273f291228ab33769d278afa72618d | [] | no_license | slowfranklin/synology-ds | b9cd512d86ffc4d61949e6d72012b8cff8d58813 | 5a6dc5e1cfde5be3104f412e5a368bc8d615dfa6 | refs/heads/master | 2021-10-24T01:38:38.120574 | 2019-03-20T13:01:12 | 2019-03-20T13:01:12 | 176,933,470 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,389 | hpp | /////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2008
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/intrusive for documentation.
//
/////////////////////////////////////////////////////////////////////////////
#ifndef BOOST_INTRUSIVE_PRIORITY_COMPARE_HPP
#define BOOST_INTRUSIVE_PRIORITY_COMPARE_HPP
#if defined(_MSC_VER)
# pragma once
#endif
#include <boost/intrusive/detail/config_begin.hpp>
#include <boost/intrusive/intrusive_fwd.hpp>
#include <functional>
namespace boost {
namespace intrusive {
template <class T>
struct priority_compare
{
//Compatibility with std::binary_function
typedef T first_argument_type;
typedef T second_argument_type;
typedef bool result_type;
bool operator()(const T &val, const T &val2) const
{
return priority_order(val, val2);
}
};
/// @cond
template<class Less, class T>
struct get_prio
{
typedef Less type;
};
template<class T>
struct get_prio<void, T>
{
typedef ::boost::intrusive::priority_compare<T> type;
};
/// @endcond
} //namespace intrusive
} //namespace boost
#include <boost/intrusive/detail/config_end.hpp>
#endif //BOOST_INTRUSIVE_PRIORITY_COMPARE_HPP
| [
"slow@samba.org"
] | slow@samba.org |
e01fb3961d2787ac0d7d4eb71844dbd879764b48 | 36be138bc6934a178df3af618bba04f9d5e10993 | /chapter04/listing_4.2.cpp | 8b090bd9ff0a452d03f87ce431800f3b588eaf01 | [] | no_license | Galibier/CppConcurrencyInAction | efb8c4968daa763f5e393e30c6eef98e04ad95f8 | 3779862da5628b22e7f8eefbc6e557055386e674 | refs/heads/master | 2021-05-13T11:36:41.928077 | 2020-07-15T16:21:08 | 2020-07-15T16:21:08 | 117,133,079 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | cpp | template <typename T, typename Container = std::deque<T>>
class queue {
public:
explicit queue(const Container &);
explicit queue(Container&& = Container());
queue(queue&& q);
template <class Alloc> explicit queue(const Alloc&);
template <class Alloc> queue(const Container&, const Alloc&);
template <class Alloc> queue(Container&&, const Alloc&);
template <class Alloc> queue(queue&&, const Alloc&);
queue& operator=(queue&& q);
void swap(queue&& q);
bool empty() const;
size_type size() const;
T& front();
const T& front()const;
T& back();
const T& back() const;
void push(const T& x);
void push(T&& x);
void pop();
};
int main() {} | [
"cx.sjtu@gmail.com"
] | cx.sjtu@gmail.com |
8dbc3193e36a8076eaa43e3e58ef6ae24cde4705 | f4ced2c1afc304e4e062b7681d6462ed5b93e47c | /src/privatesend.h | 28c004c36ba3a9ebf96aaf69b13a7f10947d7bfd | [
"MIT"
] | permissive | ArchimedDev/ArchimedCoin | fce02539daf638f80e66754ac24a265e51dfb85f | 92f8220cc704787157bd77bbe1a09023fa309762 | refs/heads/master | 2021-04-26T21:51:45.314561 | 2018-03-09T00:28:04 | 2018-03-09T00:28:04 | 124,167,392 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,007 | h | // Copyright (c) 2014-2017 The Archimed Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef PRIVATESEND_H
#define PRIVATESEND_H
#include "chainparams.h"
#include "primitives/transaction.h"
#include "pubkey.h"
#include "sync.h"
#include "tinyformat.h"
#include "timedata.h"
class CPrivateSend;
class CConnman;
// timeouts
static const int PRIVATESEND_AUTO_TIMEOUT_MIN = 5;
static const int PRIVATESEND_AUTO_TIMEOUT_MAX = 15;
static const int PRIVATESEND_QUEUE_TIMEOUT = 30;
static const int PRIVATESEND_SIGNING_TIMEOUT = 15;
//! minimum peer version accepted by mixing pool
static const int MIN_PRIVATESEND_PEER_PROTO_VERSION = 70208;
static const CAmount PRIVATESEND_ENTRY_MAX_SIZE = 9;
// pool responses
enum PoolMessage {
ERR_ALREADY_HAVE,
ERR_DENOM,
ERR_ENTRIES_FULL,
ERR_EXISTING_TX,
ERR_FEES,
ERR_INVALID_COLLATERAL,
ERR_INVALID_INPUT,
ERR_INVALID_SCRIPT,
ERR_INVALID_TX,
ERR_MAXIMUM,
ERR_MN_LIST,
ERR_MODE,
ERR_NON_STANDARD_PUBKEY,
ERR_NOT_A_MN, // not used
ERR_QUEUE_FULL,
ERR_RECENT,
ERR_SESSION,
ERR_MISSING_TX,
ERR_VERSION,
MSG_NOERR,
MSG_SUCCESS,
MSG_ENTRIES_ADDED,
MSG_POOL_MIN = ERR_ALREADY_HAVE,
MSG_POOL_MAX = MSG_ENTRIES_ADDED
};
// pool states
enum PoolState {
POOL_STATE_IDLE,
POOL_STATE_QUEUE,
POOL_STATE_ACCEPTING_ENTRIES,
POOL_STATE_SIGNING,
POOL_STATE_ERROR,
POOL_STATE_SUCCESS,
POOL_STATE_MIN = POOL_STATE_IDLE,
POOL_STATE_MAX = POOL_STATE_SUCCESS
};
// status update message constants
enum PoolStatusUpdate {
STATUS_REJECTED,
STATUS_ACCEPTED
};
/** Holds an mixing input
*/
class CTxDSIn : public CTxIn
{
public:
bool fHasSig; // flag to indicate if signed
int nSentTimes; //times we've sent this anonymously
CTxDSIn(const CTxIn& txin) :
CTxIn(txin),
fHasSig(false),
nSentTimes(0)
{}
CTxDSIn() :
CTxIn(),
fHasSig(false),
nSentTimes(0)
{}
};
/** Holds an mixing output
*/
class CTxDSOut : public CTxOut
{
public:
int nSentTimes; //times we've sent this anonymously
CTxDSOut(const CTxOut& out) :
CTxOut(out),
nSentTimes(0)
{}
CTxDSOut() :
CTxOut(),
nSentTimes(0)
{}
};
// A clients transaction in the mixing pool
class CDarkSendEntry
{
public:
std::vector<CTxDSIn> vecTxDSIn;
std::vector<CTxDSOut> vecTxDSOut;
CTransaction txCollateral;
// memory only
CService addr;
CDarkSendEntry() :
vecTxDSIn(std::vector<CTxDSIn>()),
vecTxDSOut(std::vector<CTxDSOut>()),
txCollateral(CTransaction()),
addr(CService())
{}
CDarkSendEntry(const std::vector<CTxIn>& vecTxIn, const std::vector<CTxOut>& vecTxOut, const CTransaction& txCollateral);
ADD_SERIALIZE_METHODS;
template <typename Stream, typename Operation>
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
READWRITE(vecTxDSIn);
READWRITE(txCollateral);
READWRITE(vecTxDSOut);
}
bool AddScriptSig(const CTxIn& txin);
};
/**
* A currently inprogress mixing merge and denomination information
*/
class CDarksendQueue
{
public:
int nDenom;
CTxIn vin;
int64_t nTime;
bool fReady; //ready for submit
std::vector<unsigned char> vchSig;
// memory only
bool fTried;
CDarksendQueue() :
nDenom(0),
vin(CTxIn()),
nTime(0),
fReady(false),
vchSig(std::vector<unsigned char>()),
fTried(false)
{}
CDarksendQueue(int nDenom, COutPoint outpoint, int64_t nTime, bool fReady) :
nDenom(nDenom),
vin(CTxIn(outpoint)),
nTime(nTime),
fReady(fReady),
vchSig(std::vector<unsigned char>()),
fTried(false)
{}
ADD_SERIALIZE_METHODS;
template <typename Stream, typename Operation>
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
READWRITE(nDenom);
READWRITE(vin);
READWRITE(nTime);
READWRITE(fReady);
READWRITE(vchSig);
}
/** Sign this mixing transaction
* \return true if all conditions are met:
* 1) we have an active Masternode,
* 2) we have a valid Masternode private key,
* 3) we signed the message successfully, and
* 4) we verified the message successfully
*/
bool Sign();
/// Check if we have a valid Masternode address
bool CheckSignature(const CPubKey& pubKeyMasternode);
bool Relay(CConnman &connman);
/// Is this queue expired?
bool IsExpired() { return GetAdjustedTime() - nTime > PRIVATESEND_QUEUE_TIMEOUT; }
std::string ToString()
{
return strprintf("nDenom=%d, nTime=%lld, fReady=%s, fTried=%s, masternode=%s",
nDenom, nTime, fReady ? "true" : "false", fTried ? "true" : "false", vin.prevout.ToStringShort());
}
friend bool operator==(const CDarksendQueue& a, const CDarksendQueue& b)
{
return a.nDenom == b.nDenom && a.vin.prevout == b.vin.prevout && a.nTime == b.nTime && a.fReady == b.fReady;
}
};
/** Helper class to store mixing transaction (tx) information.
*/
class CDarksendBroadcastTx
{
private:
// memory only
// when corresponding tx is 0-confirmed or conflicted, nConfirmedHeight is -1
int nConfirmedHeight;
public:
CTransaction tx;
CTxIn vin;
std::vector<unsigned char> vchSig;
int64_t sigTime;
CDarksendBroadcastTx() :
nConfirmedHeight(-1),
tx(),
vin(),
vchSig(),
sigTime(0)
{}
CDarksendBroadcastTx(CTransaction tx, COutPoint outpoint, int64_t sigTime) :
nConfirmedHeight(-1),
tx(tx),
vin(CTxIn(outpoint)),
vchSig(),
sigTime(sigTime)
{}
ADD_SERIALIZE_METHODS;
template <typename Stream, typename Operation>
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
READWRITE(tx);
READWRITE(vin);
READWRITE(vchSig);
READWRITE(sigTime);
}
friend bool operator==(const CDarksendBroadcastTx& a, const CDarksendBroadcastTx& b)
{
return a.tx == b.tx;
}
friend bool operator!=(const CDarksendBroadcastTx& a, const CDarksendBroadcastTx& b)
{
return !(a == b);
}
explicit operator bool() const
{
return *this != CDarksendBroadcastTx();
}
bool Sign();
bool CheckSignature(const CPubKey& pubKeyMasternode);
void SetConfirmedHeight(int nConfirmedHeightIn) { nConfirmedHeight = nConfirmedHeightIn; }
bool IsExpired(int nHeight);
};
// base class
class CPrivateSendBase
{
protected:
// The current mixing sessions in progress on the network
std::vector<CDarksendQueue> vecDarksendQueue;
std::vector<CDarkSendEntry> vecEntries; // Masternode/clients entries
PoolState nState; // should be one of the POOL_STATE_XXX values
int64_t nTimeLastSuccessfulStep; // the time when last successful mixing step was performed, in UTC milliseconds
int nSessionID; // 0 if no mixing session is active
CMutableTransaction finalMutableTransaction; // the finalized transaction ready for signing
void SetNull();
public:
int nSessionDenom; //Users must submit an denom matching this
CPrivateSendBase() { SetNull(); }
int GetQueueSize() const { return vecDarksendQueue.size(); }
int GetState() const { return nState; }
std::string GetStateString() const;
int GetEntriesCount() const { return vecEntries.size(); }
};
// helper class
class CPrivateSend
{
private:
// make constructor, destructor and copying not available
CPrivateSend() {}
~CPrivateSend() {}
CPrivateSend(CPrivateSend const&) = delete;
CPrivateSend& operator= (CPrivateSend const&) = delete;
static const CAmount COLLATERAL = 0.001 * COIN;
// static members
static std::vector<CAmount> vecStandardDenominations;
static std::map<uint256, CDarksendBroadcastTx> mapDSTX;
static CCriticalSection cs_mapdstx;
public:
static void InitStandardDenominations();
static std::vector<CAmount> GetStandardDenominations() { return vecStandardDenominations; }
static CAmount GetSmallestDenomination() { return vecStandardDenominations.back(); }
/// Get the denominations for a specific amount of archimed.
static int GetDenominationsByAmounts(const std::vector<CAmount>& vecAmount);
/// Get the denominations for a list of outputs (returns a bitshifted integer)
static int GetDenominations(const std::vector<CTxOut>& vecTxOut, bool fSingleRandomDenom = false);
static int GetDenominations(const std::vector<CTxDSOut>& vecTxDSOut);
static std::string GetDenominationsToString(int nDenom);
static bool GetDenominationsBits(int nDenom, std::vector<int> &vecBitsRet);
static std::string GetMessageByID(PoolMessage nMessageID);
/// Get the maximum number of transactions for the pool
static int GetMaxPoolTransactions() { return Params().PoolMaxTransactions(); }
static CAmount GetMaxPoolAmount() { return vecStandardDenominations.empty() ? 0 : PRIVATESEND_ENTRY_MAX_SIZE * vecStandardDenominations.front(); }
/// If the collateral is valid given by a client
static bool IsCollateralValid(const CTransaction& txCollateral);
static CAmount GetCollateralAmount() { return COLLATERAL; }
static CAmount GetMaxCollateralAmount() { return COLLATERAL*4; }
static void AddDSTX(const CDarksendBroadcastTx& dstx);
static CDarksendBroadcastTx GetDSTX(const uint256& hash);
static void CheckDSTXes(int nHeight);
static void SyncTransaction(const CTransaction& tx, const CBlock* pblock);
};
void ThreadCheckPrivateSend(CConnman& connman);
#endif
| [
"ArhimedCoin"
] | ArhimedCoin |
c6277bc9449616cca2f123a898831cafa51ae9a0 | 5117c9ce71bbb768d7a720c6fa0fb10c933d1aa1 | /c++/scan_for_devices.cpp | 4018d94890faac6227bc4c0421db4b3b22bf1dd6 | [] | no_license | Sivaramakrishnan1998/bluetooth | 4372d9ed23843208186a5b5d5870d2aa25649427 | 947a042f03b78685dc7261226b3303d15f389651 | refs/heads/master | 2022-11-28T21:54:49.899924 | 2020-08-04T14:28:24 | 2020-08-04T14:28:24 | 283,708,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,300 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
#include <bluetooth/l2cap.h>
int main(int argc, char **argv)
{
inquiry_info *ii = NULL;
int max_rsp, num_rsp;
int dev_id, sock, len, flags;
int i;
char addr[19] = { 0 };
char name[248] = { 0 };
dev_id = hci_get_route(NULL); // parameter passed as (1) NULL will find out first available device (2) number will connect to the resp device
sock = hci_open_dev(dev_id); // opens bluetooth socket
if (dev_id<0||sock <0) {
perror("opening socket");
exit(1);
}
len = 8;
max_rsp = 255;
flags = IREQ_CACHE_FLUSH;
ii = (inquiry_info*)malloc(max_rsp * sizeof(inquiry_info));
num_rsp = hci_inquiry(dev_id, len, max_rsp, NULL, &ii, flags);
if(num_rsp<0) perror("hci_inquiry");
int count = 0;
for (i = 0; i < num_rsp; i++) {
ba2str(&(ii+i)->bdaddr, addr);
memset(name, 0, sizeof(name));
if (hci_read_remote_name(sock, &(ii+i)->bdaddr, sizeof(name),
name, 0) < 0)
strcpy(name, "[unknown]");
count++;
printf("%d %s %s\n",count, addr, name);
}
free(ii);
close(sock);
return 0;
}
| [
"sivaposhac1998@gmail.com"
] | sivaposhac1998@gmail.com |
2ebb0715617234fd76d1ed565d552397d92ffd60 | 48dc48534ae7d24126736b3e6dfe50e82c79f5be | /app/src/main/jni/skia/include/gpu/gl/SkNullGLContext.h | faaba7ca2f4d6f7b86cb62c8e799f2bd4be95b6a | [] | no_license | dilip-rai/kalakruti | 55179cd727097c482ced5d7d72c4922ac9d12db8 | a553f8234d6061503c00acdfdc6a0a37f7bbb90a | refs/heads/master | 2021-01-10T12:02:25.412674 | 2016-01-06T08:30:58 | 2016-01-06T08:30:58 | 48,533,757 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 643 | h | /*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkNullGLContext_DEFINED
#define SkNullGLContext_DEFINED
#include "gl/SkGLContext.h"
class SK_API SkNullGLContext :
public SkGLContext {
public:
~SkNullGLContext() override;
static SkNullGLContext *Create(GrGLStandard);
class ContextState;
private:
SkNullGLContext();
void onPlatformMakeCurrent()
const override;
void onPlatformSwapBuffers()
const override { }
GrGLFuncPtr onPlatformGetProcAddress(const char *)
const override { return
NULL;
}
ContextState *fState;
};
#endif
| [
"dilip@adobe.com"
] | dilip@adobe.com |
bbfb8fb10e45291c144f325373f22e7df2d3bb33 | 5663da3eebe06f0355e1b83c22344d0d6b10554b | /pj_ncnn_lane_ultra-fast-lane-detection_v2/image_processor/lane_engine.h | abb40a3e325de489e81a1b46429dd537ca108bcb | [
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | iwatake2222/play_with_ncnn | f32a5fc479cae98d55f051f6bda3d05baf78183e | 9154b4137a4ab403f7c0437266d3a10f7f052d72 | refs/heads/master | 2022-10-24T21:12:54.274122 | 2022-09-04T11:33:36 | 2022-09-04T11:33:36 | 216,198,402 | 6 | 3 | Apache-2.0 | 2020-12-13T07:31:24 | 2019-10-19T11:51:32 | C++ | UTF-8 | C++ | false | false | 2,540 | h | /* Copyright 2022 iwatake2222
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#ifndef LANE_ENGINE_
#define LANE_ENGINE_
/* for general */
#include <cstdint>
#include <cmath>
#include <string>
#include <vector>
#include <array>
#include <memory>
/* for OpenCV */
#include <opencv2/opencv.hpp>
/* for My modules */
#include "inference_helper.h"
#include "bounding_box.h"
class LaneEngine {
public:
enum {
kRetOk = 0,
kRetErr = -1,
};
template <typename T>
using Line = std::vector<std::pair<T, T>>;
typedef struct Result_ {
std::vector<Line<int32_t>> line_list;
struct crop_ {
int32_t x;
int32_t y;
int32_t w;
int32_t h;
crop_() : x(0), y(0), w(0), h(0) {}
} crop;
double time_pre_process; // [msec]
double time_inference; // [msec]
double time_post_process; // [msec]
Result_() : time_pre_process(0), time_inference(0), time_post_process(0)
{}
} Result;
public:
LaneEngine() {}
~LaneEngine() {}
int32_t Initialize(const std::string& work_dir, const int32_t num_threads);
int32_t Finalize(void);
int32_t Process(const cv::Mat& original_mat, Result& result);
void GenerateAnchor();
std::vector<Line<float>> Pred2Coords(const std::vector<float>& loc_row, const std::vector<int32_t>& loc_row_dims, const std::vector<float>& exist_row, const std::vector<int32_t>& exist_row_dims,
const std::vector<float>& loc_col, const std::vector<int32_t>& loc_col_dims, const std::vector<float>& exist_col, const std::vector<int32_t>& exist_col_dims);
private:
private:
std::unique_ptr<InferenceHelper> inference_helper_;
std::vector<InputTensorInfo> input_tensor_info_list_;
std::vector<OutputTensorInfo> output_tensor_info_list_;
std::vector<float> row_anchor_;
std::vector<float> col_anchor_;
};
#endif
| [
"take.iwiw2222@gmail.com"
] | take.iwiw2222@gmail.com |
47ca2dad18bfd12fdc32402af65579de7b314485 | 59ae00f7cf3c32be5177e73ecc2e52472d556635 | /C++ {AD}/MATRIX_TRANSPOSE.cpp | f27301e88a474424cbc610559180681006b465ab | [] | no_license | swapnilpathak14/C--VS-CODE | 555054a4daf8439b1c45bee2d6d0dd8c504f3516 | 4626e1da51466735153c9f81e9d7503ff5c53331 | refs/heads/master | 2023-05-08T12:26:52.433325 | 2021-05-20T16:48:36 | 2021-05-20T16:48:36 | 336,799,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
int arr[n][n];
for(int x=0;x<n;x++){
for(int y=0;y<n;y++){
cin>>arr[x][y];
}
}
for (int x = 0; x < n; x++)
{
for (int y = x; y < n; y++)
{
int temp=arr[x][y];
arr[x][y]=arr[y][x];
arr[y][x]=temp;
}
}
for (int x = 0; x < n; x++)
{
for (int y = 0; y < n; y++)
{
cout<<arr[x][y]<<" ";
}
cout << endl;
}
} | [
"swapnil14.pathak1931@gmail.com"
] | swapnil14.pathak1931@gmail.com |
5eca31d47cbd4f158a21284dd323d6c994df9d42 | 316b8ce861009661c2d00233c701da70b14bfc27 | /backend/src/umbrella/modules/umbrella_module.h | 2d991fad84f1dba1980d7b5a95ef04edbb1512b1 | [] | no_license | oxfordyang2016/profitcode | eb2b35bf47469410ddef22647789071b40618617 | c587ad5093ed78699e5ba96fb85eb4023267c895 | refs/heads/master | 2020-03-23T14:37:33.288869 | 2018-07-20T08:53:44 | 2018-07-20T08:53:44 | 141,688,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | h | #ifndef SRC_UMBRELLA_MODULES_UMBRELLA_MODULE_H_
#define SRC_UMBRELLA_MODULES_UMBRELLA_MODULE_H_
class Umbrella;
class UmbrellaModule {
public:
explicit UmbrellaModule(Umbrella* umbrella) : umbrella_(umbrella) {}
virtual ~UmbrellaModule() {}
virtual void Process() = 0;
inline Umbrella* GetUmbrella() const { return umbrella_; }
private:
Umbrella* umbrella_;
};
#endif // SRC_UMBRELLA_MODULES_UMBRELLA_MODULE_H_
| [
"rcy-fudan@ioeb-FUDANdeMacBook-Pro.local"
] | rcy-fudan@ioeb-FUDANdeMacBook-Pro.local |
d50685e945af7eb6a3f44dc442a062933b8e0874 | 052c3153359bdd9838ee9738f1561a085b358ba3 | /DrawingAssignment/FillTool.cpp | 7394657312977ef0ededbb2e132f9c89a95b5fff | [] | no_license | AamirHashmi/Drawing-Program | 87eea2f3801fb587f2246650308e93ed8fd7e210 | 835171d7dec29958a7cc17eba47383262f9046f7 | refs/heads/master | 2020-06-09T10:50:42.702601 | 2019-06-24T03:28:14 | 2019-06-24T03:28:14 | 193,425,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 78 | cpp | #include "FillTool.h"
FillTool::FillTool()
{
}
FillTool::~FillTool()
{
}
| [
"aamiruhashmiru@gmail.com"
] | aamiruhashmiru@gmail.com |
23aaa7244cdc72032817cac31cabb4a20f22016c | 4dcc9997b954a0b298d1e68d05f2bc039e1b4a7f | /Programming Assignment 1/spellcheck.cpp | a326e0aae4476d13ecd0993646b66189c3ec89d4 | [] | no_license | sara-exe/DSA2 | 8b30b9f8071ba4e8a0da0259c2af706bf569e55c | 92ee6f61d18472400c08b24c7c147f52e5317616 | refs/heads/master | 2020-04-14T01:01:15.879192 | 2019-02-03T06:29:24 | 2019-02-03T06:29:24 | 163,549,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,857 | cpp | // Spellchecker program
//Sara Huang ECE 365
#include "hash.h"
#include <cstdlib>
#include <string>
#include <ctime>
#include <cctype>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <array>
#include <vector>
using namespace std;
void loadDict(hashTable *my_hash, string my_dict);
void spellCheck(hashTable *dict, string my_file, string my_out);
int main() {
hashTable *my_hash = new hashTable(50000); //for dictionary
string my_dict, my_file, my_out;
cout << "Enter name of dictionary: ";
cin >> my_dict;
clock_t t_1, t_2; //time
t_1 = clock();
loadDict(my_hash, my_dict);
t_2 = clock();
cout << "Total time (in seconds) to load dictionary: " << ((double)(t_2 - t_1)/(CLOCKS_PER_SEC)) << endl;
cout << "Enter name of input file: ";
cin >> my_file;
cout << "Enter name of output file: ";
cin >> my_out;
t_1 = clock();
spellCheck(my_hash, my_file, my_out);
t_2 = clock();
cout << "Total time (in seconds) to check document: " << ((double)(t_2 - t_1)/(CLOCKS_PER_SEC)) << endl;
return 0;
}
void loadDict(hashTable *my_hash, string my_dict) {
ifstream dictionary;
dictionary.open(my_dict);
if (dictionary.fail()) {
cout << "Error: cannot open file" << my_dict << "for reading" << endl;
exit(EXIT_FAILURE);
}
string line;
while (getline(dictionary,line)) {
std::transform(line.begin(),line.end(),line.begin(),::tolower);
(*my_hash).insert(line);
}
dictionary.close();
}
void spellCheck(hashTable *my_hash, string my_file, string my_out) {
ifstream in_file;
in_file.open(my_file);
if (in_file.fail()) {
cout << "Error: Cannot open file "<< my_file << "for reading" << endl;
exit(EXIT_FAILURE);
}
ofstream out_file;
out_file.open(my_out);
if (out_file.fail()) {
cout << "Error: Cannot open file " << my_out << "for reading" << endl;
exit(EXIT_FAILURE);
}
char t;
string line = "";
string known_word = "";
unsigned long line_no = 0;
bool containsNum = false;
while (getline(in_file,line)) {
int i = 0;
line_no++;
while (i <= line.size()) {
t = tolower(line[i++]); //convert uppercase to lowercase
if (isdigit(t)) containsNum = true;
if (isalnum(t)||(t == '-') || (t =='\'')) { //check if t is uppercase/lowercase or a number
known_word+=t;
}
else if (known_word.size() != 0 && containsNum == 0) {
if (known_word.size() > 20) { //check if exceeds 20 character length
out_file << "Long word at line " << line_no << ", starts: " << known_word.substr(0,20) << endl;
}
else if (!my_hash->contains(known_word)) {
out_file << "Unknown word at line " << line_no << ": " << known_word << endl;
}
known_word = "";
}
else {
known_word = "";
containsNum = false;
}
}
}
in_file.close();
out_file.close();
} | [
"noreply@github.com"
] | noreply@github.com |
201169ddbed01a5915f02d97ebbfc3e26280eb93 | 8e65fa9c52d996c723eeb389cc6780eaa30c722d | /1002. Date.cpp | 4923a1e29528e83622b2383891e9cb16e1823ae4 | [] | no_license | HermanZYZ/Codes-of-Sicily-or-else | 6682cf1ecbc10633ce215caaa7d395930f8371d1 | 644e5e2f054163aab309eb021a198e3bd295d6f3 | refs/heads/master | 2021-05-15T07:58:05.718574 | 2017-10-27T16:37:41 | 2017-10-27T16:37:41 | 108,568,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,479 | cpp | #include <iostream>
#include <string>
#include <iomanip>
using namespace std;
class Date {
public:
Date();
Date(const Date&);
Date(const string&);
Date(int, int = 2, int = 29);
void setDate(const string&);
void printDate() const;
int getYear() const;
int getMonth() const;
int getDay() const;
private:
bool checkFormat(const string&) const;
bool validate();
int year, month, day;
bool pass;
};
/******** this part should be submitted ********/
Date::Date() {
year=2006;
month=1;
day=1;
validate();// your code.
}
Date::Date(const Date& anotherDate) {
// your code.
year = anotherDate.year;
month= anotherDate.month;
day = anotherDate.day;
validate();
}
Date::Date(const string& input) {
setDate(input);// your code.
}
Date::Date(int year, int month, int day) {
this -> year=year;
this -> month=month;
this -> day=day;
validate();// your code.
}
void Date::printDate() const {
if(pass)
{
cout<<setfill('0')<<setw(4)<<right<<year<<"-"
<<setfill('0')<<setw(2)<<right<<month<<"-"
<<setfill('0')<<setw(2)<<right<<day<<endl;
}
else
cout<<"Invalid Date"<<endl;
// your code.
}
int Date::getYear() const {
return year; // your code.
}
int Date::getMonth() const {
return month;// your code
}
int Date::getDay() const {
return day;// your code.
}
void Date::setDate(const string& input) {
year=month=day=0;
if(checkFormat(input))
{
for(int i=0;i<input.size();i++)
{
if(i<4)
{
year=year*10+(input[i]-'0');
}
else if(i>4 && i<7)
{
month=month*10+(input[i]-'0');
}
else if(i>7)
{
day=day*10+(input[i]-'0');
}
validate();
}
}
else
{
year=month=day=233;
validate();
}
// your code.
}
bool Date::checkFormat(const string& input) const {
if(input.size()!=10)
return false;
for(int i=0;i<input.size();i++)
{
if(i<4)
{
if(input[i]<'0' || input[i]>'9')
{
return false;
}
//return false;
}
else if(i==4)
{
if(input[i]!=':')
return false;
}
else if(i<7)
{
if(input[i]<'0' || input[i]>'9')
return false;
}
else if(i==7)
{
if(input[i]!=':')
return false;
}
else if(input[i]<'0' || input[i]>'9')
return false;
}
return true; // your code.
}
bool Date::validate() {
int daynum[13]={0,31,28,31,30,31,30,31,31,30,31,30,31};
if((year%400==0) || (year%4==0 && year%100!=0))
daynum[2]++;
if(year<0 || year>9999)
{
//cout<<year<<" "<<month<<endl;
pass=false;
return false;
}
else if(month<0 || month>12)
{
//cout<<year<<" "<<month<<"*"<<endl;
pass=false;
return false;
}
else if(day<0 || day>daynum[month])
{
//cout<<day<<endl;
pass=false;
return false;
}
else
{
pass=true;
return true;
}
// your code.
}
/******** this part should be submitted ********/
int main() {
int T;
int flag;
Date* myDate;
string dateString;
int year, month, day;
cin >> T;
while (T--) {
cin >> flag;
if (flag == 1) {
cin >> dateString;
myDate = new Date(dateString);
}
else if (flag == 2) {
cin >> year;
myDate = new Date(year);
}
else if (flag == 3) {
cin >> year >> month;
myDate = new Date(year, month);
}
else if (flag == 4) {
cin >> year >> month >> day;
myDate = new Date(year, month, day);
}
else if (flag == 5){
myDate = new Date(2016,3,7);
myDate -> printDate();
cin >> dateString;
myDate->setDate(dateString);
cout << setw(1);
cout << myDate->getYear() << ' ';
cout << myDate->getMonth() <<' ';
cout << myDate->getDay() << endl;
}
else if (flag == 6){
myDate = new Date();
myDate ->printDate();
delete myDate;
cin >> year >> month >> day;
myDate = new Date( Date(year,month,day) );
cout << setw(1);
cout << myDate->getYear() << ' ';
cout << myDate->getMonth() <<' ';
cout << myDate->getDay() << endl;
}
myDate->printDate();
delete myDate;
}
return 0;
}
| [
"820421356@qq.com"
] | 820421356@qq.com |
fb9cf770e5c58f8da021d697cb86556221962e75 | ba033e0d225ba9229d318da97a62d4ccca7ad0d9 | /src/consensus/verify.h | 117ab44856db30718fbcbbec06a9bff02871b9da | [
"MIT"
] | permissive | wizbl/wizbl | d490cbdd85fc243c89ae166446545b4f53cfee88 | 6b52d66f5a8c877e93764e0220a252755ab93297 | refs/heads/master | 2021-07-14T11:06:45.910833 | 2018-12-03T01:58:48 | 2018-12-03T01:58:48 | 137,292,501 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,742 | h | // Copyright (c) 2018- The Wizblcoin Core developers
#ifndef WIZBLCOIN_CONSENSUS_VERIFY_H
#define WIZBLCOIN_CONSENSUS_VERIFY_H
#include "arith_uint256.h"
#include "serialize.h"
#include "uint256.h"
#include "version.h"
#include "sodium.h"
#include <string>
#include <vector>
#include <utility>
#include <map>
class CBlockHeader;
/**
* <h1>CBlockHeaderSignatureValidation</h1>
* <p>
* <b>Note:</b>
* 블럭 전자서명 검증 관련 모음입니다.
*/
class CBlockHeaderSignatureValidation
{
public:
CBlockHeaderSignatureValidation() {
resetValidationInfo();
}
/**
* <h2>std::vector<std::vector<unsigned char>> m_vPublicKey</h2>
* <p>
* <b>Note:</b>
* 블럭 전자서명 공개키 관리
*/
public:
std::vector<std::vector<unsigned char>> m_vPublicKey;
private:
uint16_t m_iCountOfSignaturesRequiredToPassValidation;//유효성 검사를 통과하는 데 필요한 서명 수
uint16_t m_iCountOfPublicKeysValid;//유효한 공개 키 수
public:
void resetValidationInfo();
//regtest 예외 설정
private:
bool m_bRegTest = false;
public:
void setRegTest() { m_bRegTest = true; }
bool isRegTest() { return m_bRegTest; }
//전자서명 공개키 등록
public:
uint16_t setPublicKeys(const std::string& strGenesisBlockSignaturePublicKeyBase64_44);
/**
* <h2>uint16_t getCountOfSignaturesRequiredToPassValidation()</h2>
* <p>
* <b>Note:</b>
* 향후 블럭에 키 업데이트등을 추가 예정인데,
* 패밀리 그룹의 키 or 노드에 변화가 있는경우 예상되는 어려움을 피하고자 함.
*
* @return 유효성 검사를 통과하는 데 필요한 서명 수를 반환합니다.
*/
public:
uint16_t getCountOfSignaturesRequiredToPassValidation() const;//유효성 검사를 통과하는 데 필요한 서명 수 얻기
/**
* <h2>uint16_t getPublicKeyCount()</h2>
* <p>
* <b>Note:</b>
* 향후 블럭에 키 업데이트등을 추가 예정인데,
* 패밀리 그룹의 키 or 노드에 변화가 있는경우 예상되는 어려움을 피하고자 함.
*
* @return 관리 키중에 유효한 개수를 반환합니다.
*/
public:
uint16_t getPublicKeyCount() const;
/**
* <h2>bool verifyBlockHeader()</h2>
* <p>
* <b>Note:</b>
* 블럭헤더의 서명을 검증합니다.
*
* @param pBlockHeader 검증 받을 블럭의 헤더 정보입니다.
*
* @return 검증 성공을 bool값으로 반환합니다.
*/
public:
bool verifyBlockHeader(const CBlockHeader* pBlockHeader) const;
private:
bool verifyBlockHeader_(const CBlockHeader* pBlockHeader) const;
};
#endif // WIZBLCOIN_CONSENSUS_VERIFY_H
| [
"bk.cho@wizbl.com"
] | bk.cho@wizbl.com |
db9a6be377ae3f739814a0b9f67dc44b9c00eefe | 9ca0783e78c37c41221d255601bab73ec958b0b9 | /src/ui/misc/TabbedView.hpp | 07876c6868255be45296d1e09be62dabe977400f | [] | no_license | nagalun/worldofpixels-client | c67006bf982cd79fa47d1d173381c39a703bc9c2 | d224a215fa6f33727e6315745b65def7fc4dda97 | refs/heads/master | 2023-07-07T11:11:50.010894 | 2023-06-28T09:02:17 | 2023-06-28T09:02:17 | 210,177,431 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 662 | hpp | #pragma once
#include <cstdint>
#include <type_traits>
#include <tuple>
#include "util/emsc/ui/Object.hpp"
namespace detail {
template<typename Content>
struct Tab : public eui::Object {
static_assert(std::is_base_of_v<eui::Object, Content>, "Tab content must be an element");
eui::Object radio;
eui::Object label;
Content content;
template<typename... CArgs>
Tab(std::uint32_t tabGroupId, CArgs&&... cargs);
};
}
template<typename... TabContents>
class TabbedView : public eui::Object {
std::tuple<detail::Tab<TabContents>...> tabs;
public:
template<typename... CArgs>
TabbedView(CArgs&&...);
};
#include "TabbedView.tpp" // IWYU pragma: keep
| [
"nagalun@users.noreply.github.com"
] | nagalun@users.noreply.github.com |
3584e2a6f449f91587967a1f65778d0ea133db06 | cbcc01c6ac83c12ee1283122685c8aa59d7f2469 | /MAGE/MAGE/src/shader/tsnm_shader_factory.cpp | ff34deac733dc5b4d71e84f6792bbd23ae3704f7 | [] | no_license | sienaiwun/MAGE | ece6ff3072f1d2d89c3fa8abd223700e3d11fda1 | e3fda321f08e4c69d416bfd1aa0414cfab63490b | refs/heads/master | 2021-01-01T05:53:46.678567 | 2017-07-02T18:24:30 | 2017-07-02T18:24:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,060 | cpp | //-----------------------------------------------------------------------------
// Engine Includes
//-----------------------------------------------------------------------------
#pragma region
#include "shader\tsnm_shader_factory.hpp"
#include "shader\compiled_shader_factory.hpp"
#include "resource\resource_manager.hpp"
#include "resource\guids.hpp"
#pragma endregion
//-----------------------------------------------------------------------------
// Engine Definitions
//-----------------------------------------------------------------------------
namespace mage {
const CombinedShader CreateLambertianTSNMShader() {
const CompiledVertexShader cvs = CreateCompiledTransformVertexShader();
SharedPtr< VertexShader > vs = GetOrCreateTSNMVertexShader(MAGE_GUID_VS_TRANSFORM, cvs);
const CompiledPixelShader cps = CreateCompiledLambertianTSNMPixelShader();
SharedPtr< PixelShader > ps = GetOrCreateTSNMPixelShader(MAGE_GUID_PS_TSNM_LAMBERTIAN, cps);
return CombinedShader(vs, ps);
}
const CombinedShader CreatePhongTSNMShader() {
const CompiledVertexShader cvs = CreateCompiledTransformVertexShader();
SharedPtr< VertexShader > vs = GetOrCreateTSNMVertexShader(MAGE_GUID_VS_TRANSFORM, cvs);
const CompiledPixelShader cps = CreateCompiledPhongTSNMPixelShader();
SharedPtr< PixelShader > ps = GetOrCreateTSNMPixelShader(MAGE_GUID_PS_TSNM_PHONG, cps);
return CombinedShader(vs, ps);
}
const CombinedShader CreateModifiedPhongTSNMShader() {
const CompiledVertexShader cvs = CreateCompiledTransformVertexShader();
SharedPtr< VertexShader > vs = GetOrCreateTSNMVertexShader(MAGE_GUID_VS_TRANSFORM, cvs);
const CompiledPixelShader cps = CreateCompiledModifiedPhongTSNMPixelShader();
SharedPtr< PixelShader > ps = GetOrCreateTSNMPixelShader(MAGE_GUID_PS_TSNM_MODIFIED_PHONG, cps);
return CombinedShader(vs, ps);
}
const CombinedShader CreateBlinnPhongTSNMShader() {
const CompiledVertexShader cvs = CreateCompiledTransformVertexShader();
SharedPtr< VertexShader > vs = GetOrCreateTSNMVertexShader(MAGE_GUID_VS_TRANSFORM, cvs);
const CompiledPixelShader cps = CreateCompiledBlinnPhongTSNMPixelShader();
SharedPtr< PixelShader > ps = GetOrCreateTSNMPixelShader(MAGE_GUID_PS_TSNM_BLINN_PHONG, cps);
return CombinedShader(vs, ps);
}
const CombinedShader CreateModifiedBlinnPhongTSNMShader() {
const CompiledVertexShader cvs = CreateCompiledTransformVertexShader();
SharedPtr< VertexShader > vs = GetOrCreateTSNMVertexShader(MAGE_GUID_VS_TRANSFORM, cvs);
const CompiledPixelShader cps = CreateCompiledModifiedBlinnPhongTSNMPixelShader();
SharedPtr< PixelShader > ps = GetOrCreateTSNMPixelShader(MAGE_GUID_PS_TSNM_MODIFIED_BLINN_PHONG, cps);
return CombinedShader(vs, ps);
}
const CombinedShader CreateWardTSNMShader() {
const CompiledVertexShader cvs = CreateCompiledTransformVertexShader();
SharedPtr< VertexShader > vs = GetOrCreateTSNMVertexShader(MAGE_GUID_VS_TRANSFORM, cvs);
const CompiledPixelShader cps = CreateCompiledWardTSNMPixelShader();
SharedPtr< PixelShader > ps = GetOrCreateTSNMPixelShader(MAGE_GUID_PS_TSNM_WARD, cps);
return CombinedShader(vs, ps);
}
const CombinedShader CreateWardDuerTSNMShader() {
const CompiledVertexShader cvs = CreateCompiledTransformVertexShader();
SharedPtr< VertexShader > vs = GetOrCreateTSNMVertexShader(MAGE_GUID_VS_TRANSFORM, cvs);
const CompiledPixelShader cps = CreateCompiledWardDuerTSNMPixelShader();
SharedPtr< PixelShader > ps = GetOrCreateTSNMPixelShader(MAGE_GUID_PS_TSNM_WARD_DUER, cps);
return CombinedShader(vs, ps);
}
const CombinedShader CreateCookTorranceTSNMShader() {
const CompiledVertexShader cvs = CreateCompiledTransformVertexShader();
SharedPtr< VertexShader > vs = GetOrCreateTSNMVertexShader(MAGE_GUID_VS_TRANSFORM, cvs);
const CompiledPixelShader cps = CreateCompiledCookTorranceTSNMPixelShader();
SharedPtr< PixelShader > ps = GetOrCreateTSNMPixelShader(MAGE_GUID_PS_TSNM_COOK_TORRANCE, cps);
return CombinedShader(vs, ps);
}
} | [
"matthias.moulin@gmail.com"
] | matthias.moulin@gmail.com |
4942a4a9d966ecdce59a4ba7268bd3a020a703be | 49e6111f11e5147bd1df424415de6bbaeaa1252d | /c++/huffman/a/master/c++/huffman/lib/huffman.h | 9eec95dd08352183a38c237342cdf9900454e057 | [] | no_license | Krotkov/ITMO-homeworks | 64a20a18c246baf1736a8454a8c7d0acf32c4adf | b7d8e331597da5155b1d5fe286e27a112299ee40 | refs/heads/master | 2023-03-31T06:28:38.651808 | 2021-04-06T01:11:52 | 2021-04-06T01:11:52 | 355,010,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 398 | h | //
// Created by user on 20.06.18.
//
#ifndef LIB_HUFFMAN_H
#define LIB_HUFFMAN_H
#include <fstream>
#include "Tree.h"
class Huffman {
static const size_t READ_BLOCK_SIZE = 1000;
static const size_t WRITE_BLOCK_SIZE = 1000;
public:
static void compress(std::istream &in, std::ostream &out);
static bool decompress(std::istream &in, std::ostream &out);
};
#endif //LIB_HUFFMAN_H
| [
"krotkovd99@gmail.com"
] | krotkovd99@gmail.com |
9aeb05297c2635104f3ed52e15421d9e41de4753 | 749b8001120c5f932c26d1d2868518d25d610268 | /PressureSensorReactor.cpp | 7440c5c146c511e01aaffef1fcdd08304763cd09 | [] | no_license | adelindobre/MockSensorApp | d51f5b46f5dba30279e10fcda565621b14aaa4db | 184aa1aa202b4d2c706ddbcf0b8748d246f06ec8 | refs/heads/master | 2020-05-13T18:30:46.810556 | 2019-04-16T12:42:54 | 2019-04-16T12:42:54 | 181,649,473 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 938 | cpp | #pragma once
#include "PressureSensorReactor.hpp"
double PressureSensorReactor::getPressureAtm(const uint16_t& value)
{
double raw_value = value;
double atm_value = (raw_value * max_pressure_atm) / max_pressure_raw;
return atm_value;
}
double PressureSensorReactor::getPressureBar(const uint16_t& value)
{
double atm_value = getPressureAtm(value);
return atm_value * one_atm_in_bar;
}
double PressureSensorReactor::getSeaLevel(const uint16_t& value)
{
double raw_value = value;
double sea_level = (raw_value * max_sea_level) / max_pressure_raw;
return sea_level;
}
struct ProcessedData PressureSensorReactor::collectInfo(const uint16_t& value)
{
struct ProcessedData final_result;
final_result.atm_pressure_value = getPressureAtm(value);
final_result.bar_pressure_value = getPressureBar(value);
final_result.current_sea_level = getSeaLevel(value);
return final_result;
}
| [
"adelin.dobre@rinftech.com"
] | adelin.dobre@rinftech.com |
8db8d5759dfde5abfb404cf534362d543949bbd3 | ce4e38505716a4ddf33addd6b575c517e8f1eb32 | /third_party/webrtc/include/chromium/src/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h | 0f09dabc0bec8da7a901b7be0f7c1a7b26322127 | [
"BSD-2-Clause"
] | permissive | ssaroha/node-webrtc | 73647b45145db865ae53bd307e0b20b089a2cdf4 | 74335bd07cbc52484a88c8eeb336c9bd001928a8 | refs/heads/develop | 2020-12-24T06:58:06.732217 | 2016-12-22T20:52:42 | 2016-12-22T20:52:42 | 73,387,497 | 3 | 2 | null | 2016-11-10T14:03:57 | 2016-11-10T14:03:57 | null | UTF-8 | C++ | false | false | 3,787 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EffectPaintPropertyNode_h
#define EffectPaintPropertyNode_h
#include "platform/PlatformExport.h"
#include "platform/graphics/CompositorFilterOperations.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/RefPtr.h"
#include <iosfwd>
namespace blink {
// Effect nodes are abstraction of isolated groups, along with optional effects
// that can be applied to the composited output of the group.
//
// The effect tree is rooted at a node with no parent. This root node should
// not be modified.
class PLATFORM_EXPORT EffectPaintPropertyNode
: public RefCounted<EffectPaintPropertyNode> {
public:
static PassRefPtr<EffectPaintPropertyNode> create(
PassRefPtr<const EffectPaintPropertyNode> parent,
PassRefPtr<const TransformPaintPropertyNode> localTransformSpace,
PassRefPtr<const ClipPaintPropertyNode> outputClip,
CompositorFilterOperations filter,
float opacity) {
return adoptRef(new EffectPaintPropertyNode(
std::move(parent), std::move(localTransformSpace),
std::move(outputClip), std::move(filter), opacity));
}
void update(PassRefPtr<const EffectPaintPropertyNode> parent,
PassRefPtr<const TransformPaintPropertyNode> localTransformSpace,
PassRefPtr<const ClipPaintPropertyNode> outputClip,
CompositorFilterOperations filter,
float opacity) {
DCHECK(!isRoot());
DCHECK(parent != this);
m_parent = parent;
m_localTransformSpace = localTransformSpace;
m_outputClip = outputClip;
m_filter = std::move(filter);
m_opacity = opacity;
}
const TransformPaintPropertyNode* localTransformSpace() const {
return m_localTransformSpace.get();
}
const ClipPaintPropertyNode* outputClip() const { return m_outputClip.get(); }
float opacity() const { return m_opacity; }
const CompositorFilterOperations& filter() const { return m_filter; }
// Parent effect or nullptr if this is the root effect.
const EffectPaintPropertyNode* parent() const { return m_parent.get(); }
bool isRoot() const { return !m_parent; }
private:
EffectPaintPropertyNode(
PassRefPtr<const EffectPaintPropertyNode> parent,
PassRefPtr<const TransformPaintPropertyNode> localTransformSpace,
PassRefPtr<const ClipPaintPropertyNode> outputClip,
CompositorFilterOperations filter,
float opacity)
: m_parent(parent),
m_localTransformSpace(localTransformSpace),
m_outputClip(outputClip),
m_filter(std::move(filter)),
m_opacity(opacity) {}
RefPtr<const EffectPaintPropertyNode> m_parent;
// The local transform space serves two purposes:
// 1. Assign a depth mapping for 3D depth sorting against other paint chunks
// and effects under the same parent.
// 2. Some effects are spatial (namely blur filter and reflection), the
// effect parameters will be specified in the local space.
RefPtr<const TransformPaintPropertyNode> m_localTransformSpace;
// The output of the effect can be optionally clipped when composited onto
// the current backdrop.
RefPtr<const ClipPaintPropertyNode> m_outputClip;
// Optionally a number of effects can be applied to the composited output.
// The chain of effects will be applied in the following order:
// === Begin of effects ===
CompositorFilterOperations m_filter;
float m_opacity;
// === End of effects ===
};
// Redeclared here to avoid ODR issues.
// See platform/testing/PaintPrinters.h.
void PrintTo(const EffectPaintPropertyNode&, std::ostream*);
} // namespace blink
#endif // EffectPaintPropertyNode_h
| [
"ssaroha"
] | ssaroha |
344b598b5934b75cbd48557c565dd299c7d5b522 | 9b608a5c21df00b3168505ffbb86656691343e8e | /project/src/C++/LoadFunction.h | d3b1034cee24bf1bfb884fc4b2d4bc18e211ee04 | [] | no_license | shenwei1234ab/LuaTest | 463a1834448f3c9e9c59d7940ffedf4d006e9c6a | 569a84a0be14b7dbb8bc5e10f3bc3eaaad301319 | refs/heads/master | 2020-07-22T18:56:20.975052 | 2017-09-10T14:58:54 | 2017-09-10T14:58:54 | 73,823,908 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,402 | h | #ifndef _LOAD_FUNCTION_H
#define _LOAD_FUNCTION_H
#include "error.h"
#include <stdlib.h>
#include <iostream>
/* call a function `f' defined in Lua */
//读取config的lua函数
void loadFunction(char *filename, double x, double y)
{
lua_State *L = lua_open();
luaopen_base(L);
luaL_openlibs(L);
luaopen_string(L);
luaopen_math(L);
//读取lua文件
/*if (luaL_loadfile(L, filename))*/
if(luaL_dofile(L, filename))
{
std::cout << "cannot run configuration file" << lua_tostring(L, -1) << std::endl;
lua_pop(L, 1);/* pop error message from the stack */
return;
}
double z;
lua_getglobal(L, "hello"); /* function to be called */
int ret = 0;
if ((ret = lua_pcall(L, 0, 0, 0)) != 0)
{
std::cout << lua_tostring(L, -1) << std::endl;
error(L, "error running function `f': %s", lua_tostring(L, -1));
}
/* push functions and arguments */
lua_getglobal(L, "add"); /* function to be called */
lua_pushnumber(L, x); /* push 1st argument */
lua_pushnumber(L, y); /* push 2nd argument */
/* do the call (2 arguments, 1 result) */
if (lua_pcall(L, 2, 1, 0) != 0)
{
error(L, "error running function `f': %s");
}
lua_tostring(L, -1);
/* retrieve result */
if (!lua_isnumber(L, -1))
error(L, "function `f' must return a number");
z = lua_tonumber(L, -1);
std::cout << "x+y = " << z << std::endl;
lua_pop(L, 1); /* pop returned value */
}
#endif
| [
"1563374346@qq.com"
] | 1563374346@qq.com |
5d231c3b2ca290e4e4b213e92c45ba64d1c797ed | c8863dd531ea2a7b0214cd6099799cecfc87f257 | /lib/Sequencer.cpp | 1e197e0add7800d264383f0f5dfc06ac303fbb5e | [] | no_license | schlenkibus/libseq | bc477fe6fc80aaee6d8323577684df9fe373e52c | 46b75ae7ce5e443ed53e6336ad533e7676324895 | refs/heads/master | 2020-03-26T21:46:45.993498 | 2018-08-20T11:25:25 | 2018-08-20T11:25:25 | 145,408,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64 | cpp | //
// Created by justus on 20.08.18.
//
#include "Sequencer.h"
| [
"justus.scheil@parteimail.de"
] | justus.scheil@parteimail.de |
352c4d29da5ec04c5c7352c901dadbc092bc1593 | bdbdedc6ca870c7b124cf67398141f99c1b3eccc | /Pulkit_Chhabra/Basic_Data_Structures_Jan_2021/L16/bst_to_gst.cpp | 8f7481f3ac5d17901921923b57e0a3d531f56599 | [] | no_license | iDLE1992/plus-course-content | ed4452286cc65e8a82cfb710cd75ffeb26313034 | 39ee72bb7453a9695bb3544a0c23dc45e1d112ea | refs/heads/main | 2023-04-21T12:43:47.823276 | 2021-05-10T17:32:37 | 2021-05-10T17:32:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), left(left), right(right) {}
* };
*/
class Solution {
void bstToGst_aux(TreeNode* cur, int &sum)
{
if(!cur)
return;
bstToGst_aux(cur->right, sum);
sum += cur->val;
cur->val = sum;
bstToGst_aux(cur->left, sum);
}
public:
TreeNode* bstToGst(TreeNode* root) {
int sum = 0;
bstToGst_aux(root,sum);
return root;
}
};
| [
"noreply@github.com"
] | noreply@github.com |
f8cd620e861e7fc33bb2e1bc722ed87d350fafa4 | 73862f8338f2cf0baea7b472cfa91052d8ea8e62 | /08_2020/tree_serialize_deserialize.cpp | 7b558880e1fd060dc009c740f0963806ba34a0bf | [] | no_license | ludovikcoba/coding_problems | b740c5c84d2a773f7a8afb2b454155c538e9d9e4 | 94a998aeb9d860c2c919aa9c9052dff8e17b912c | refs/heads/master | 2023-06-01T22:19:32.607401 | 2021-06-24T21:12:20 | 2021-06-24T21:12:20 | 287,569,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,133 | cpp | /*Given the root to a binary tree, implement serialize(root), which serializes the tree into a string, and deserialize(s), which deserializes the string back into the tree.
For example, given the following Node class
class Node:
def __init__(self, val, left=None, right=None):
self.val = val
self.left = left
self.right = right
The following test should pass:
node = Node('root', Node('left', Node('left.left')), Node('right'))
assert deserialize(serialize(node)).left.left.val == 'left.left'
*/
#include <iostream>
#include <string>
#include <cassert>
#include <vector>
using std::string;
using std::cout;
using std::vector;
class Node{
public:
string val;
Node *left = NULL;
Node *right = NULL;
Node(string val): val(val){};
};
string serialize(Node *root){
if (root == NULL) return "/";
string s = root->val;
s += "++" + serialize(root->left);
s += "++" + serialize(root->right);
return s;
}
Node *deserializer(vector<string>::iterator &it){
if(*it == "/") return NULL;
Node *n = new Node(*it);
it++;
n->left = deserializer(it);
n->right = deserializer(it);
return n;
}
Node *deserialize(string text){
vector<string> values;
string temp = "";
int i = 0;
size_t pos;
while (pos = text.find("++") != string::npos)//<- not working as expected
{
throw "Requires fixing";
cout << pos << " "<< text.substr(i,pos-i)<< std::endl;
values.push_back(text.substr(i,pos));
i=pos+1;
}
for (string a: values){
cout << a << " ";
}
vector<string>::iterator it = values.begin();
Node *root = deserializer(it);
}
void printInOrder(Node *n){
if (n==NULL) return;
printInOrder(n->left);
cout << n->val << " ";
printInOrder(n->right);
}
int main(){
Node *n = new Node("root");
n->left = new Node("left");
n->left->left = new Node("left.left");
n->right = new Node("right");
cout << serialize(n);
cout << std::endl;
printInOrder(deserialize(serialize(n)));
} | [
"ludovancoba@gmail.com"
] | ludovancoba@gmail.com |
65f3eff8dca011523eebbd35afea790f47333727 | 21ec2b51b9bd539f733c27f6d7ef014ff65adbaa | /include/graph.h | 859746944c807171e31a9e265ef256d0a269d063 | [] | no_license | DavidNexuss/Graphs | bd74eb568eb6b0d05ec2f68cb45c0cb231e552fc | e2c2c7dad5a6942fe74109c2ddb3b80c0f2ddd37 | refs/heads/master | 2021-05-24T08:22:27.506344 | 2020-04-10T06:32:09 | 2020-04-10T06:32:09 | 253,468,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662 | h | #pragma once
#include <list>
#include <unordered_map>
#include "adjacency.h"
class Graph
{
std::unordered_map<int,std::list<int> > adjacency_map;
public:
Graph();
Graph(AdjacencyMatrix& adj_mat);
int size();
int add_vertex(int v);
int remove_vertex(int v);
int add_edge(int a,int b);
int remove_edge(int a,int b);
inline int get_vertex_count() { return adjacency_map.size(); }
std::list<int>& get_vertex_list(int i);
std::list<int>& operator[](int i) { return get_vertex_list(i);}
AdjacencyMatrix* create_adjacency_matrix();
void write_graph(bool simplify = false);
void read_graph();
};
| [
"dgtgar01@gmail.com"
] | dgtgar01@gmail.com |
a3331b81ea9fd44c5335450717e33a8bf13e62a2 | 451a67c272e632116fe3923abfb00d72eb264c70 | /src/writer.cpp | f0b7ab3def060ff87191b1861600c2e1ccf76284 | [
"MIT"
] | permissive | corburn/fastp | 2c39356b1848c9b66cf93f64a6d017b076a43032 | a1eaae90c709b4a4582c3163f40834cf436beb43 | refs/heads/master | 2022-09-03T07:14:06.843559 | 2018-06-27T14:48:03 | 2018-06-27T14:48:03 | 139,092,553 | 0 | 0 | MIT | 2022-08-07T00:34:14 | 2018-06-29T02:44:50 | C++ | UTF-8 | C++ | false | false | 2,191 | cpp | #include "writer.h"
#include "util.h"
#include "fastqreader.h"
#include <string.h>
Writer::Writer(string filename, int compression){
mCompression = compression;
mFilename = filename;
mZipFile = NULL;
mZipped = false;
haveToClose = true;
init();
}
Writer::Writer(ofstream* stream) {
mZipFile = NULL;
mZipped = false;
mOutStream = stream;
haveToClose = false;
}
Writer::Writer(gzFile gzfile) {
mOutStream = NULL;
mZipFile = gzfile;
mZipped = true;
haveToClose = false;
}
Writer::~Writer(){
if(haveToClose) {
close();
}
}
string Writer::filename(){
return mFilename;
}
void Writer::init(){
if (ends_with(mFilename, ".gz")){
mZipFile = gzopen(mFilename.c_str(), "w");
gzsetparams(mZipFile, mCompression, Z_DEFAULT_STRATEGY);
mZipped = true;
}
else {
mOutStream = new ofstream();
mOutStream->open(mFilename.c_str(), ifstream::out);
mZipped = false;
}
}
bool Writer::writeLine(string& linestr){
const char* line = linestr.c_str();
int size = linestr.length();
int written;
bool status = true;
if(mZipped){
written = gzwrite(mZipFile, line, size);
gzputc(mZipFile, '\n');
if(size > 0 && written == 0)
status = false;
}
else{
mOutStream->write(line, size);
mOutStream->put('\n');
status = !mOutStream->bad();
}
if(!status) {
error_exit( "Failed to write " + mFilename + ", exiting...");
}
return status;
}
bool Writer::writeString(string& str){
const char* strdata = str.c_str();
int size = str.length();
int written;
bool status = true;
if(mZipped){
written = gzwrite(mZipFile, strdata, size);
if(size > 0 && written == 0)
status = false;
}
else{
mOutStream->write(strdata, size);
status = !mOutStream->bad();
}
if(!status) {
error_exit( "Failed to write " + mFilename + ", exiting...");
}
return status;
}
void Writer::close(){
if (mZipped){
if (mZipFile){
gzflush(mZipFile, Z_FINISH);
gzclose(mZipFile);
mZipFile = NULL;
}
}
else if(mOutStream) {
if (mOutStream->is_open()){
mOutStream->flush();
//TODO: following two lines will cause crash
//mOutStream->close();
//delete mOutStream;
mOutStream = NULL;
}
}
}
bool Writer::isZipped(){
return mZipped;
} | [
"chen@haplox.com"
] | chen@haplox.com |
edce7cb101d016053fc459d46a9f20dce2349b58 | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-9696.cpp | 0048390b9be1dd48610cd4dfadbc0cc2e11e51c7 | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,982 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1
{
bool active1;
c1() : active1(true) {}
virtual ~c1()
{
tester1(this);
active1 = false;
}
virtual void f1(){}
};
void __attribute__ ((noinline)) tester1(c1* p)
{
p->f1();
}
struct c2;
void __attribute__ ((noinline)) tester2(c2* p);
struct c2 : c1
{
bool active2;
c2() : active2(true) {}
virtual ~c2()
{
tester2(this);
c1 *p1_0 = (c1*)(c2*)(this);
tester1(p1_0);
active2 = false;
}
virtual void f2(){}
};
void __attribute__ ((noinline)) tester2(c2* p)
{
p->f2();
if (p->active1)
p->f1();
}
struct c3;
void __attribute__ ((noinline)) tester3(c3* p);
struct c3 : virtual c2, virtual c0
{
bool active3;
c3() : active3(true) {}
virtual ~c3()
{
tester3(this);
c0 *p0_0 = (c0*)(c3*)(this);
tester0(p0_0);
c1 *p1_0 = (c1*)(c2*)(c3*)(this);
tester1(p1_0);
c2 *p2_0 = (c2*)(c3*)(this);
tester2(p2_0);
active3 = false;
}
virtual void f3(){}
};
void __attribute__ ((noinline)) tester3(c3* p)
{
p->f3();
if (p->active1)
p->f1();
if (p->active0)
p->f0();
if (p->active2)
p->f2();
}
struct c4;
void __attribute__ ((noinline)) tester4(c4* p);
struct c4 : virtual c0, virtual c2, c3
{
bool active4;
c4() : active4(true) {}
virtual ~c4()
{
tester4(this);
c0 *p0_0 = (c0*)(c4*)(this);
tester0(p0_0);
c0 *p0_1 = (c0*)(c3*)(c4*)(this);
tester0(p0_1);
c1 *p1_0 = (c1*)(c2*)(c4*)(this);
tester1(p1_0);
c1 *p1_1 = (c1*)(c2*)(c3*)(c4*)(this);
tester1(p1_1);
c2 *p2_0 = (c2*)(c4*)(this);
tester2(p2_0);
c2 *p2_1 = (c2*)(c3*)(c4*)(this);
tester2(p2_1);
c3 *p3_0 = (c3*)(c4*)(this);
tester3(p3_0);
active4 = false;
}
virtual void f4(){}
};
void __attribute__ ((noinline)) tester4(c4* p)
{
p->f4();
if (p->active3)
p->f3();
if (p->active0)
p->f0();
if (p->active2)
p->f2();
}
int __attribute__ ((noinline)) inc(int v) {return ++v;}
int main()
{
c0* ptrs0[25];
ptrs0[0] = (c0*)(new c0());
ptrs0[1] = (c0*)(c3*)(new c3());
ptrs0[2] = (c0*)(c4*)(new c4());
ptrs0[3] = (c0*)(c3*)(c4*)(new c4());
for (int i=0;i<4;i=inc(i))
{
tester0(ptrs0[i]);
delete ptrs0[i];
}
c1* ptrs1[25];
ptrs1[0] = (c1*)(new c1());
ptrs1[1] = (c1*)(c2*)(new c2());
ptrs1[2] = (c1*)(c2*)(c3*)(new c3());
ptrs1[3] = (c1*)(c2*)(c4*)(new c4());
ptrs1[4] = (c1*)(c2*)(c3*)(c4*)(new c4());
for (int i=0;i<5;i=inc(i))
{
tester1(ptrs1[i]);
delete ptrs1[i];
}
c2* ptrs2[25];
ptrs2[0] = (c2*)(new c2());
ptrs2[1] = (c2*)(c3*)(new c3());
ptrs2[2] = (c2*)(c4*)(new c4());
ptrs2[3] = (c2*)(c3*)(c4*)(new c4());
for (int i=0;i<4;i=inc(i))
{
tester2(ptrs2[i]);
delete ptrs2[i];
}
c3* ptrs3[25];
ptrs3[0] = (c3*)(new c3());
ptrs3[1] = (c3*)(c4*)(new c4());
for (int i=0;i<2;i=inc(i))
{
tester3(ptrs3[i]);
delete ptrs3[i];
}
c4* ptrs4[25];
ptrs4[0] = (c4*)(new c4());
for (int i=0;i<1;i=inc(i))
{
tester4(ptrs4[i]);
delete ptrs4[i];
}
return 0;
}
| [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
36a24e01001641608c463a64ac7feba8f0770d4f | 8366d408980003a6838b7ad6714ef49adecf9a23 | /include/elemental.hpp | 08115d91ac1898902210ffceee051b7766437191 | [] | no_license | npezolano/Elemental | c55db9d03b31ccb3595a9a1aa51945794f796625 | bce40b061ee82df2cf6e253c2b3c0f3557cad01d | refs/heads/master | 2021-01-18T11:58:01.231871 | 2013-01-22T19:49:07 | 2013-01-22T19:49:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | hpp | /*
Copyright (c) 2009-2013, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#ifndef ELEMENTAL_H
#define ELEMENTAL_H 1
#include "elemental/config.h"
#ifdef HAVE_F90_INTERFACE
# include "elemental/FCMangle.h"
#endif
#include "elemental/core.hpp"
#include "elemental/special_matrices_decl.hpp"
#include "elemental/special_matrices_incl.hpp"
#include "elemental/blas-like_decl.hpp"
#include "elemental/blas-like_impl.hpp"
#include "elemental/lapack-like_decl.hpp"
#include "elemental/lapack-like_impl.hpp"
#endif // ELEMENTAL_H
| [
"jack.poulson@gmail.com"
] | jack.poulson@gmail.com |
e3133167ae7b74212dc46925efc0171881ab20b8 | fb51f1bc2eaa1b2bd49fdda75cbd888b26f8dc15 | /PA5_etarthur_pmgardias/main.cpp | d5864d540c519a481f846c00fb7405964301eab2 | [] | no_license | pgardias/CS2303 | 32a48869e4a813734a519cfe3c994800f3fdb215 | 12447a77cb083ebe9dc43b5ba68ee5639bc91242 | refs/heads/master | 2021-08-30T07:26:28.134190 | 2017-12-16T18:28:39 | 2017-12-16T18:28:39 | 104,485,769 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,248 | cpp | // main.cpp -- Eric Arthur (etarthur) & Przemek Gardias (pmgardias)
#include "Organism.h"
#include <stdlib.h>
#include <time.h>
#include "main.h"
#include "Doodlebug.h"
#include "Ant.h"
#include <iostream>
using namespace std;
Organism*** grid;
int numD;
int numA;
int totalD;
int totalA;
int gridLen;
/**
* onEdge() checks the cell which whose coordinates
* are passed and returns a boolean indicating whether
* it is on the edge of the grid or not
*
* @return boolean indicating whether the given cell is on the edge
*/
bool onEdge(int x, int y) {
return (x == 0) || (x == gridLen - 1) || (y == 0) || (y == gridLen - 1);
}
/**
* canAttack() returns a boolean indicating whether
* the object in the given cell coordinates is able to attack
*
* @return boolean indicating whether the given cell contains an organism which is able to attack
*/
bool canAttack(int x, int y) {
if (grid[x][y] == NULL) {
return false;
} else {
return grid[x][y]->isPrey;
}
}
/**
* update() loops through the grid, updating canMove
* for all organisms and then updates all organisms on the
* grid, updating all doodlebugs first and all ants
*/
void update() {
for (int i = 0; i < gridLen; i++) {
for (int j = 0; j < gridLen; j++) {
if (grid[i][j] == NULL) {
} else {
grid[i][j]->canMove = true;
}
}
}
// Loops through entire board, updating the state of all doodlebugs before the ants
for (int i = 0; i < gridLen; i++) {
for (int j = 0; j < gridLen; j++) {
if (grid[i][j] != NULL && grid[i][j]->canMove) {
if (grid[i][j]->isPrey == false) {
grid[i][j]->action();
}
}
}
}
// Loops through entire board, updating the state of all ants after the doodlebugs
for (int i = 0; i < gridLen; i++) {
for (int j = 0; j < gridLen; j++) {
if (grid[i][j] != NULL && grid[i][j]->canMove) {
if (grid[i][j]->isPrey == true) {
if (grid[i][j] == NULL) {
} else {
grid[i][j]->action();
}
}
}
}
}
}
/**
* printBoard() loops through the grid, printing out
* the current state of the grid with x's indicating
* a doodlebug and o's indicating an ant
*/
void printBoard() {
std::cout << endl << "|--------------------";
for (int i = 0; i < gridLen; i++) {
std::cout << "|" << endl << "|";
for (int j = 0; j < gridLen; j++) {
if (grid[i][j] == NULL) {
std::cout << " ";
} else {
if (grid[i][j]->isPrey) {
std::cout << "o";
} else {
std::cout << "x";
}
}
}
}
std::cout << "|" << endl << "|--------------------|" << endl;
}
/**
* main() handles running the simulation, passing arguments
* initializing the grid, looping through eat step of the
* simulation, printing out the results, and then deallocating
* memory
*
* @return 0 for a successful program execution
*/
int main(int argc, char **argv) {
gridLen = 20;
int doodlebugs = 5;
int ants = 100;
int steps = 1000;
int seed = 1;
int pause = 0;
switch (argc) {
case 7:
pause = atoi(argv[6]);
case 6:
if (atoi(argv[5]) == 0) {
seed = time(NULL);
} else {
seed = (atoi(argv[5]));
}
case 5:
steps = (atoi(argv[4]));
case 4:
ants = atoi(argv[3]);
case 3:
doodlebugs = atoi(argv[2]);
case 2:
gridLen = atoi(argv[1]);
default:
break;
}
srand(seed);
if (pause != 0) {
std::cout << "The board will be printed every " << pause
<< " turns, enter a character and press enter to continue the program when this occurs."
<< endl;
}
if (ants + doodlebugs > gridLen * gridLen) {
std::cout
<< "There are more Organisms than space on the board, will terminate"
<< endl;
return 1;
}
grid = (Organism***) malloc(sizeof(Organism**) * gridLen);
for (int i = 0; i < gridLen; i++) {
grid[i] = (Organism**) malloc(sizeof(Organism*) * gridLen);
}
for (int i = 0; i < gridLen; i++) {
for (int j = 0; j < gridLen; j++) {
grid[i][j] = NULL;
}
}
for (int i = 0; i < doodlebugs; i++) {
int x = rand() % gridLen;
int y = rand() % gridLen;
if (grid[x][y] == NULL) {
Doodlebug* temp = new Doodlebug(x, y);
grid[x][y] = temp;
} else {
i--;
}
}
for (int i = 0; i < ants; i++) {
int x = rand() % gridLen;
int y = rand() % gridLen;
if (grid[x][y] == NULL) {
Ant* temp = new Ant(x, y);
grid[x][y] = temp;
} else {
i--;
}
}
int time = 0;
char getChar;
while (time < steps) {
if (numD <= 0 || numA <= 0) {
break;
}
update();
if (pause != 0) {
if (time % pause == 0) {
printBoard();
std::cin >> getChar;
}
}
time++;
}
std::cout << "Command line: ";
for (int i = 0; i < argc; i++) {
std::cout << argv[i] << " ";
}
std::cout << endl;
std::cout << "The number of steps simulated was: " << time << endl;
std::cout << "The total number of ants was: " << totalA
<< " and the number of ants remaining was: " << numA << endl;
std::cout << "The total number of Doodlebugs was: " << totalD
<< " and the number of Doodlebugs remaining was: " << numD << endl;
std::cout << "The final board was: " << endl;
printBoard();
for (int i = 0; i < gridLen; i++) {
for (int j = 0; j < gridLen; j++) {
if (grid[i][j] != NULL) {
delete grid[i][j];
}
}
}
for (int i = 0; i < gridLen; i++) {
free(grid[i]);
}
free(grid);
return 0;
}
| [
"przemek.gardias@gmail.com"
] | przemek.gardias@gmail.com |
2bb8ac98e914e0b935c0d7931011c36f8d274482 | 79cd409b4b12f8ab76a31130750753e147c5dd4e | /wiselib.testing/algorithms/protocols/packing_radio/message_packer.h | 5868f4a7f254ed6ef7fee158ed9f45b63c5acd5d | [] | no_license | bjoerke/wiselib | d28eb39e9095c9bfcec6b4c635b773f5fcaf87fa | 183726cbf744be9d65f12dd01bece0f7fd842541 | refs/heads/master | 2020-12-28T20:30:40.829538 | 2014-08-18T14:10:42 | 2014-08-18T14:10:42 | 19,933,324 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,931 | h | /***************************************************************************
** This file is part of the generic algorithm library Wiselib. **
** Copyright (C) 2008,2009 by the Wisebed (www.wisebed.eu) project. **
** **
** The Wiselib is free software: you can redistribute it and/or modify **
** it under the terms of the GNU Lesser General Public License as **
** published by the Free Software Foundation, either version 3 of the **
** License, or (at your option) any later version. **
** **
** The Wiselib is distributed in the hope that it will be useful, **
** but WITHOUT ANY WARRANTY; without even the implied warranty of **
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the **
** GNU Lesser General Public License for more details. **
** **
** You should have received a copy of the GNU Lesser General Public **
** License along with the Wiselib. **
** If not, see <http://www.gnu.org/licenses/>. **
***************************************************************************/
#ifndef MESSAGE_PACKER_H
#define MESSAGE_PACKER_H
#include <util/serialization/serialization.h>
namespace wiselib {
/**
*/
template<
typename OsModel_P,
typename Length_P = ::uint8_t
>
class MessagePacker {
public:
typedef OsModel_P OsModel;
typedef typename OsModel::block_data_t block_data_t;
typedef typename OsModel::size_t size_type;
typedef Length_P length_t;
enum {
SUCCESS = OsModel::SUCCESS,
ERR_UNSPEC = OsModel::ERR_UNSPEC
};
MessagePacker() : buffer_(0), buffer_size_(0), buffer_position_(0) {
}
int init(block_data_t *buffer, size_type buffer_size) {
buffer_ = buffer;
buffer_size_ = buffer_size;
buffer_position_ = 0;
return SUCCESS;
}
/**
* @return true iff the message could be packed without
* violating the maximum buffer size, false else (in that case
* the message was not appended).
*/
bool append(length_t size, block_data_t *data) {
printf("pac ap %d s%d p%d\n", (int)size, (int)buffer_size_, (int)buffer_position_);
if(buffer_position_ + size + sizeof(length_t) > buffer_size_) {
printf("pac ap no\n");
return false;
}
wiselib::write<OsModel, block_data_t, length_t>(buffer_ + buffer_position_, size);
buffer_position_ += sizeof(length_t);
memcpy(buffer_ + buffer_position_, data, size);
buffer_position_ += size;
printf("pac ap1\n");
return true;
}
length_t size() { return buffer_position_; }
bool empty() { return buffer_position_ == 0; }
length_t max_size() { return buffer_size_; }
block_data_t* data() { return buffer_; }
void clear() { buffer_position_ = 0; }
/// Unpacking methods.
void rewind() { buffer_position_ = 0; }
/**
* Return the next packed message via @a size and @a data.
*
* @return true if there is a next message.
*/
bool next(length_t& size, block_data_t*& data) {
printf("pac nxt\n");
if(buffer_position_ >= buffer_size_) {
size = 0;
data = 0;
printf("pac n0\n");
return false;
}
else {
assert(buffer_position_ + sizeof(length_t) <= buffer_size_);
size = wiselib::read<OsModel, block_data_t, length_t>(buffer_ + buffer_position_);
data = buffer_ + buffer_position_ + sizeof(length_t);
buffer_position_ += sizeof(length_t) + size;
printf("pac n1\n");
return true;
}
}
private:
block_data_t *buffer_;
size_type buffer_size_,
buffer_position_;
};
}
#endif // MESSAGE_PACKER_H
| [
"henning@leetless.de"
] | henning@leetless.de |
5e04faf502bac7cda8e41b9fd07602f30986577e | f35b3a28020e38a24f85d33be117cf180f5e9424 | /ras_path_plan/src/path_planner.cpp | d41e1be3897d1ac8cd834f72fd24529a5037bbc9 | [] | no_license | creamiracle/RAS-2016 | c9dbec093485222f7b6f9190e415f9c1b54304e3 | d4d4c455ec88a93ec379f179d241579f0e4b2d1d | refs/heads/master | 2021-01-19T21:13:40.811009 | 2017-04-18T13:47:29 | 2017-04-18T13:47:29 | 88,629,001 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,231 | cpp | #include <ros/ros.h>
#include <std_msgs/String.h>
#include <stdio.h>
#include <cmath>
#include <nav_msgs/OccupancyGrid.h>
#include <nav_msgs/MapMetaData.h>
#include <vector>
#include <visualization_msgs/Marker.h>
#include <geometry_msgs/PointStamped.h>
#include <ras_path_plan/sets.h>
#include <ras_path_plan/path_srv.h>
#include <nav_msgs/Path.h>
int map_width = 0;
//ros::Publisher path_pub;
nav_msgs::Path pos_list;
nav_msgs::OccupancyGrid map;
std::vector<signed char> Occupancy_Grid;
node create_node(int coords[2], double t_f, double t_g, int came_from[2])
{
node n;
n.coords[0]=coords[0];
n.coords[1]=coords[1];
n.t_f=t_f;
n.t_g=t_g;
n.came_from[0]=NO_VAL;
n.came_from[1]=NO_VAL;
return n;
}
//heurestic function for a*
double heur(int coords[2], int goal_coords[2])
{
double t_h=0;
if(goal_coords[0]!=NO_VAL)
{
t_h = std::abs(coords[0]-goal_coords[0])+std::abs(coords[1]-goal_coords[1]);
return 4.0*t_h;
}
else
{ // no goal, no heuristic
return 0.0;
}
}
//cost function for a*
double g_cost(int coords[2], int prev_coords[2], int prev_from_coords[2]){
if(prev_coords[0]-prev_from_coords[0]!=0)
{ // movement along x
if(coords[0]-prev_coords[0]!=0)
{ // keep the same direction of movement
return 1;
}
else
{ // implies rotation
return 500;
}
}
else
{ // movement along y
if(coords[1]-prev_coords[1]!=0){
return 1;
}
else
{
return 500;
}
}
return 1; // just in case
}
std::vector<node> retrieve_path(node goal, search_set * closed)
{
node current = goal;
std::vector<node> return_list(1,goal);
while(current.came_from[0]!=NO_VAL)
{
current=(*closed).pop_requested(current.came_from);
return_list.push_back(current);
}
ROS_INFO("end of finding");
return return_list;
}
std::vector<node> findPath(node start, node goal, std::vector<int8_t> map)
{
int coords[2],from[2],cost = 0;
int lateral_size = map_width;
node current, n;
std::vector<node> return_error;
double t_g = 0, t_f = 0, t_h = 0;
search_set closedset;
search_set openset(current);
search_set came_from;
search_set nodes_set(current);
coords[0]=start.coords[0];
coords[1]=start.coords[1];
from[0]=NO_VAL;
from[1]=NO_VAL;
t_g=0;
t_h=heur(coords,goal.coords);
//ROS_INFO("doing heur function with %d %d ", coords[0], coords[1]);
t_f = t_g + t_h;
current=create_node(coords,t_f,t_g,from);
//ROS_INFO("current coords %d %d",current.coords[0],current.coords[1]);
while(!openset.isempty())
{
//ROS_INFO("CURRENT COORDS %d %d", current.coords[0],current.coords[1]);
//check if find the goal
if(current.coords[0] == goal.coords[0] && current.coords[1] == goal.coords[1])
{
//ROS_INFO("Found solution at %d %d!",current.coords[0],current.coords[1]);
return retrieve_path(current, &closedset);
}
closedset.push_node(current);
//ROS_INFO("start check neighbor");
//check the neighbor
//ROS_INFO("now the coords is %d %d", current.coords[0],current.coords[1]);
if(current.coords[0] - 1 >= 0)
{
//ROS_INFO("enter 1");
coords[0]=current.coords[0]-1;
coords[1]=current.coords[1];
//ROS_INFO("check the point %d %d! ",coords[0],coords[1]);
if( map[map_width * coords[1] + coords[0]] < 70 )
{
//ROS_INFO("obstacle??? %d",map[map_width * coords[1] + coords[0]]);
t_h = heur(coords,goal.coords);
t_g = current.t_g + g_cost(coords,current.coords,current.came_from);
t_f = t_g + t_h;
if(openset.check_if_in_set(coords))
{
n = openset.read_node(coords); // only doing this to get the f value, if present
}
else
{
n = create_node(coords,t_f,t_g,current.coords);
}
if(!closedset.check_if_in_set(n.coords) || t_f < n.t_f )
{
n.t_g=t_g;
n.t_f=t_f;
n.came_from[0]=current.coords[0];
n.came_from[1]=current.coords[1];
if(!openset.check_if_in_set(n.coords))
openset.push_node(n);
else
{ // update the value of the node in openset
openset.pop_requested(n.coords);
openset.push_node(n);
}
}
}
}
if(current.coords[0] + 1 <= lateral_size)
{
//ROS_INFO("enter 2");
coords[0]=current.coords[0]+1;
coords[1]=current.coords[1];
//ROS_INFO("check the point %d %d! ",coords[0],coords[1]);
if( map[map_width * coords[1] + coords[0]] < 70 )
{
//ROS_INFO("obstacle??? %d",map[map_width * coords[1] + coords[0]]);
t_h=heur(coords,goal.coords);
t_g = current.t_g + g_cost(coords,current.coords,current.came_from);
t_f = t_g + t_h;
if(openset.check_if_in_set(coords))
{
n = openset.read_node(coords);
}
else
{
n = create_node(coords,t_f,t_g,current.coords);
}
if(!closedset.check_if_in_set(n.coords) || t_f < n.t_f )
{
n.t_g=t_g;
n.t_f=t_f;
n.came_from[0]=current.coords[0];
n.came_from[1]=current.coords[1];
if(!openset.check_if_in_set(n.coords))
openset.push_node(n);
else
{
openset.pop_requested(n.coords);
openset.push_node(n);
}
}
}
}
if(current.coords[1] - 1 >= 0)
{
//ROS_INFO("enter 3");
coords[0]=current.coords[0];
coords[1]=current.coords[1]-1;
//ROS_INFO("check the point %d %d! ",coords[0],coords[1]);
if( map[map_width * coords[1] + coords[0]] < 70 )
{
//ROS_INFO("obstacle??? %d ",map[map_width * coords[1] + coords[0]]);
t_h=heur(coords,goal.coords);
t_g = current.t_g + g_cost(coords,current.coords,current.came_from);
t_f = t_g + t_h;
if(openset.check_if_in_set(coords))
{
n = openset.read_node(coords);
}
else
{
n = create_node(coords,t_f,t_g,current.coords);
}
if(!closedset.check_if_in_set(n.coords) || t_f < n.t_f )
{
n.t_g=t_g;
n.t_f=t_f;
n.came_from[0]=current.coords[0];
n.came_from[1]=current.coords[1];
if(!openset.check_if_in_set(n.coords))
openset.push_node(n);
else
{
openset.pop_requested(n.coords);
openset.push_node(n);
}
}
}
}
if(current.coords[1] + 1 <= lateral_size)
{
//ROS_INFO("enter 4");
coords[0]=current.coords[0];
coords[1]=current.coords[1]+1;
//ROS_INFO("check the point %d %d! ", coords[0], coords[1]);
if( map[map_width * coords[1] + coords[0]] < 70 )
{
//ROS_INFO("obstacle??? %d",map[map_width * coords[1] + coords[0]]);
t_h=heur(coords,goal.coords);
t_g = current.t_g + g_cost(coords,current.coords,current.came_from);
t_f = t_g + t_h;
if(openset.check_if_in_set(coords))
{
n = openset.read_node(coords);
}
else
{
n = create_node(coords,t_f,t_g,current.coords);
}
if(!closedset.check_if_in_set(n.coords) || t_f < n.t_f )
{
n.t_g=t_g;
n.t_f=t_f;
n.came_from[0]=current.coords[0];
n.came_from[1]=current.coords[1];
if(!openset.check_if_in_set(n.coords))
openset.push_node(n);
else
{
openset.pop_requested(n.coords);
openset.push_node(n);
}
}
}
current=openset.pop_best();
}
if(current.coords[0] - 1 >= 0 && current.coords[1] + 1 <= lateral_size)
{
//ROS_INFO("enter 1");
coords[0]=current.coords[0]-1;
coords[1]=current.coords[1]+1;
//ROS_INFO("check the point %d %d! ",coords[0],coords[1]);
if( map[map_width * coords[1] + coords[0]] < 70 )
{
//ROS_INFO("obstacle??? %d",map[map_width * coords[1] + coords[0]]);
t_h = heur(coords,goal.coords);
t_g = current.t_g + g_cost(coords,current.coords,current.came_from);
t_f = t_g + t_h;
if(openset.check_if_in_set(coords))
{
n = openset.read_node(coords); // only doing this to get the f value, if present
}
else
{
n = create_node(coords,t_f,t_g,current.coords);
}
if(!closedset.check_if_in_set(n.coords) || t_f < n.t_f )
{
n.t_g=t_g;
n.t_f=t_f;
n.came_from[0]=current.coords[0];
n.came_from[1]=current.coords[1];
if(!openset.check_if_in_set(n.coords))
openset.push_node(n);
else
{ // update the value of the node in openset
openset.pop_requested(n.coords);
openset.push_node(n);
}
}
}
}
if(current.coords[0] + 1 <=lateral_size && current.coords[1] + 1 <= lateral_size)
{
//ROS_INFO("enter 1");
coords[0]=current.coords[0]+1;
coords[1]=current.coords[1]+1;
//ROS_INFO("check the point %d %d! ",coords[0],coords[1]);
if( map[map_width * coords[1] + coords[0]] < 70 )
{
//ROS_INFO("obstacle??? %d",map[map_width * coords[1] + coords[0]]);
t_h = heur(coords,goal.coords);
t_g = current.t_g + g_cost(coords,current.coords,current.came_from);
t_f = t_g + t_h;
if(openset.check_if_in_set(coords))
{
n = openset.read_node(coords); // only doing this to get the f value, if present
}
else
{
n = create_node(coords,t_f,t_g,current.coords);
}
if(!closedset.check_if_in_set(n.coords) || t_f < n.t_f )
{
n.t_g=t_g;
n.t_f=t_f;
n.came_from[0]=current.coords[0];
n.came_from[1]=current.coords[1];
if(!openset.check_if_in_set(n.coords))
openset.push_node(n);
else
{ // update the value of the node in openset
openset.pop_requested(n.coords);
openset.push_node(n);
}
}
}
}
if(current.coords[0] - 1 >= 0 && current.coords[1] - 1 >= 0)
{
//ROS_INFO("enter 1");
coords[0]=current.coords[0]-1;
coords[1]=current.coords[1]-1;
//ROS_INFO("check the point %d %d! ",coords[0],coords[1]);
if( map[map_width * coords[1] + coords[0]] < 70 )
{
//ROS_INFO("obstacle??? %d",map[map_width * coords[1] + coords[0]]);
t_h = heur(coords,goal.coords);
t_g = current.t_g + g_cost(coords,current.coords,current.came_from);
t_f = t_g + t_h;
if(openset.check_if_in_set(coords))
{
n = openset.read_node(coords); // only doing this to get the f value, if present
}
else
{
n = create_node(coords,t_f,t_g,current.coords);
}
if(!closedset.check_if_in_set(n.coords) || t_f < n.t_f )
{
n.t_g=t_g;
n.t_f=t_f;
n.came_from[0]=current.coords[0];
n.came_from[1]=current.coords[1];
if(!openset.check_if_in_set(n.coords))
openset.push_node(n);
else
{ // update the value of the node in openset
openset.pop_requested(n.coords);
openset.push_node(n);
}
}
}
}
if(current.coords[0] + 1 <=lateral_size && current.coords[1] - 1 >= 0)
{
//ROS_INFO("enter 1");
coords[0]=current.coords[0]+1;
coords[1]=current.coords[1]-1;
//ROS_INFO("check the point %d %d! ",coords[0],coords[1]);
if( map[map_width * coords[1] + coords[0]] < 70 )
{
//ROS_INFO("obstacle??? %d",map[map_width * coords[1] + coords[0]]);
t_h = heur(coords,goal.coords);
t_g = current.t_g + g_cost(coords,current.coords,current.came_from);
t_f = t_g + t_h;
if(openset.check_if_in_set(coords))
{
n = openset.read_node(coords); // only doing this to get the f value, if present
}
else
{
n = create_node(coords,t_f,t_g,current.coords);
}
if(!closedset.check_if_in_set(n.coords) || t_f < n.t_f )
{
n.t_g=t_g;
n.t_f=t_f;
n.came_from[0]=current.coords[0];
n.came_from[1]=current.coords[1];
if(!openset.check_if_in_set(n.coords))
openset.push_node(n);
else
{ // update the value of the node in openset
openset.pop_requested(n.coords);
openset.push_node(n);
}
}
}
}
}
ROS_INFO("nothing");
return return_error;
}
void pathCallBack(const nav_msgs::OccupancyGridConstPtr &msg)
{
map = *msg;
map_width = map.info.width;
//ROS_INFO("get the map");
}
int compare(int x, int y)
{
if (x > y)
return x;
else
return y;
}
bool collisionCheck(node node1, node node2)
{
if(node1.coords[0] == node2.coords[0])
{
ROS_INFO("a straight line");
return true;
}
double slope = ((double)node2.coords[1] - (double)node1.coords[1]) / ((double)node2.coords[0] - (double)node1.coords[0]);
double b = (double)node1.coords[1] - ((double)node1.coords[0] * slope);
double y = 0.0;
double x = 0.0;
double dx1 = 0.0;
double dx2 = 0.0;
double dy1 = 0.0;
double dy2 = 0.0;
int bigX = 0;
int littleX = 0;
int bigY = 0;
int littleY = 0;
bigX = compare(node1.coords[0],node2.coords[0]);
if(bigX == node1.coords[0]){
littleY = node2.coords[1];
littleX = node2.coords[0];
bigY = node1.coords[1];
}
else{
littleY = node1.coords[1];
littleX = node1.coords[0];
bigY = node2.coords[1];
}
if(slope == 0)
{
ROS_INFO("a flat line");
return true;
}
if(slope < 0 && slope > -1)
{
ROS_INFO("current slope is %.2f",slope);
for (int i = littleX + 1; i < bigX; i++ )
{
y = slope * i + b;
dy1 = std::abs(y - littleY);
dy2 = std::abs(y - (littleY - 1));
if(dy1 < dy2)
{
if(map.data[map_width * littleY + i] > 70)
return false;
}
else
{
if(map.data[map_width * (littleY - 1) + i] > 70)
return false;
//not an obstacle move to next grid
littleY = littleY - 1;
}
}
ROS_INFO("finish finding obstacle");
return true;
}
if(slope < -1)
{
ROS_INFO("current slope is %.2f",slope);
for (int i = littleY; i > bigY; i--)
{
x = (i - 1 - b) / slope;
dx1 = std::abs(x - littleX);
dx2 = std::abs(x - (littleX + 1));
if(dx1 < dx2)
{
if(map.data[map_width * (i - 1) + littleX] > 70)
return false;
}
else
{
if(map.data[map_width * (i - 1) + (littleX + 1)] > 70)
return false;
littleX = littleX + 1;
}
}
ROS_INFO("finish finding obstacle");
return true;
}
if(slope >= 1)
{
ROS_INFO("current slope is %.2f",slope);
for (int i = littleY; i < bigY; ++i)
{
x = (i + 1 - b) / slope;
dx1 = std::abs(x - littleX);
dx2 = std::abs(x - (littleX + 1));
if(dx1 < dx2)
{
if(map.data[map_width * (i + 1) + littleX] > 70)
return false;
}
else
{
if(map.data[map_width * (i + 1) + (littleX + 1)] > 70)
return false;
littleX = littleX + 1;
}
}
ROS_INFO("finish finding obstacle");
return true;
}
if(slope < 1 && slope > 0)
{
ROS_INFO("current slope is %.2f",slope);
for (int i = littleX ; i < bigX; i++ )
{
y = slope * (i + 1) + b;
dy1 = std::abs(y - littleY);
dy2 = std::abs(y - (littleY + 1));
if(dy1 < dy2)
{
if(map.data[map_width * littleY + i + 1] > 70)
return false;
}
else
{
if(map.data[map_width * (littleY + 1) + i + 1] > 70)
return false;
littleY = littleY + 1;
}
}
ROS_INFO("finish finding obstacle");
return true;
}
ROS_INFO("finish all obstacle finding");
return true;
}
std::vector<node> smoothing(std::vector<node> solution)
{
int size = solution.size();
std::vector<node> changeNode;
std::vector<node> newSolution;
changeNode.resize(size);
std::vector<node> changeNodes;
int count = 0;
int finishFlag = 0;
ROS_INFO("start checking obstacle");
newSolution.push_back(solution[size-1]);
//do collision detection
int currentIndex = 0;
int index = solution.size() - 2;
int times = 0;
for (int i = solution.size() - 1; i >= 0; )
{
if(i == 0 )
{
//push back the goal
newSolution.push_back(solution[i]);
break;
}
for (int j = index ; j >=0 ; j--)
{
//ROS_INFO("checking the change node NO %d to %d",i,j);
if (collisionCheck(solution[i],solution[j]) == false)
{
ROS_INFO("cant pass");
//ROS_INFO("current size of newSolution is %d",newSolution.size());
if( i == j + 1)
{
i = j;
break;
}
newSolution.push_back(solution[j+1]);
i = j + 1;
index = j;
break;
}
if(j == 0 )
{
currentIndex = j;
i = 0;
break;
}
}
}
return newSolution;
}
bool findNearestPoint(node &p, int amount) {
int min_x = -1, min_y;
double min_dist = (double)amount * 4;
for (int y = std::max(p.coords[1] - amount, 0); y < std::min(p.coords[1] + amount + 1, map_width); ++y) {
for (int x = std::max(p.coords[0] - amount, 0); x < std::min(p.coords[0] + amount + 1, map_width); ++x) {
if(map.data[y * map_width + x] < 70) {
double d = std::sqrt(std::pow(x - p.coords[0],2) + std::pow(y - p.coords[1],2));
if (d < min_dist){
min_dist = d;
min_x = x;
min_y = y;
}
}
}
}
if (min_x > 0) {
p.coords[0] = min_x;
p.coords[1] = min_y;
return true;
}
else
return false;
}
bool planning_service(ras_path_plan::path_srv::Request &req, ras_path_plan::path_srv::Response &res)
{
if(map.data.size() == 0)
return false;
std::vector<node> solution;
std::vector<node> newSolution;
pos_list.header.frame_id = "/world";
node start, goal;
int amount = round(0.18 / map.info.resolution);
start.coords[0] = (int)(req.startx / map.info.resolution);
start.coords[1] = (int)(req.starty / map.info.resolution);
goal.coords[0] = (int)(req.goalx / map.info.resolution);
goal.coords[1] = (int)(req.goaly / map.info.resolution);
if (start.coords[0] < 0 )
start.coords[0] = 0;
if (start.coords[1] < 0 )
start.coords[1] = 0;
if (start.coords[1] > map.info.width)
start.coords[1] = map.info.width;
if (start.coords[0] > map.info.width)
start.coords[0] = map.info.width;
if (goal.coords[0] < 0 )
goal.coords[0] = 0;
if (goal.coords[1] < 0 )
goal.coords[1] = 0;
if (goal.coords[1] > map.info.width)
goal.coords[1] = map.info.width;
if (goal.coords[0] > map.info.width)
goal.coords[0] = map.info.width;
if(map.data[map_width * start.coords[1] + start.coords[0]] > 0)
if(!findNearestPoint(start,amount))
return false;
if(map.data[map_width * goal.coords[1] + goal.coords[0]] > 0)
if(!findNearestPoint(goal,amount))
return false;
ROS_INFO("GET MAP RESOLUTION %.2f", map.info.resolution);
ROS_INFO("get the start and goal,start is %d %d, goal is %d %d",start.coords[0],start.coords[1],goal.coords[0],goal.coords[1]);
ROS_INFO("START DOING PATH PLAN");
solution = findPath(start, goal, map.data);
if(solution.size()==0)
return false;
//ROS_INFO("length of path is %d",solution.size());
ROS_INFO("FINISH FINDING THE PATH");
newSolution = smoothing(solution);
ROS_INFO("FINISH SMOOTHING THE PATH");
pos_list.poses.resize(newSolution.size());
for (int i = 0; i < newSolution.size(); ++i)
{
//ROS_INFO("enter pos_list");
pos_list.poses[i].pose.position.x = newSolution[i].coords[0] * map.info.resolution;
pos_list.poses[i].pose.position.y = newSolution[i].coords[1] * map.info.resolution;
pos_list.poses[i].pose.position.z = 0;
pos_list.poses[i].header.frame_id = "/world";
ROS_INFO("solution NO %d is %d %d",i,newSolution[i].coords[0],newSolution[i].coords[1]);
}
res.planned_path = pos_list;
return true;
// }
}
int main(int argc, char *argv[])
{
ros::init(argc, argv, "path_planner");
ros::NodeHandle n;
ros::Time init_time=ros::Time::now();
ros::ServiceServer path_service;
//path_pub = n.advertise<nav_msgs::Path>("/path/plan",1);
ros::Subscriber path_sub = n.subscribe("/mapping/map",1,pathCallBack);
path_service = n.advertiseService("/path/plan",planning_service);
ros::Rate loop_rate(10);
while(n.ok()){
loop_rate.sleep();
ros::spinOnce();
//path_pub.publish(pos_list);
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
447e5250870720c21f01cc483c27cee709556db8 | 38e9ba5be27cc96eb6aa6dba97a7a649eb82acc4 | /import-win/mysqlconn-1.1.3/include/mysql_driver.h | b07dbb2e10409f26a8b6dc53d660c233c701e0f6 | [] | no_license | AlgoPeek/cdec | 8f2ad94560118f27193d838f335652be358723f8 | e5ff37f84c5495fecb2b47fa7ac7f8daca12b7c6 | refs/heads/master | 2021-01-01T20:01:30.785406 | 2015-08-22T05:34:10 | 2015-08-22T05:34:10 | 40,390,702 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,828 | h | /*
Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/C++ is licensed under the terms of the GPLv2
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
MySQL Connectors. There are special exceptions to the terms and
conditions of the GPLv2 as it is applied to this software, see the
FLOSS License Exception
<http://www.mysql.com/about/legal/licensing/foss-exception.html>.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
by the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _MYSQL_DRIVER_H_
#define _MYSQL_DRIVER_H_
// #include <boost/scoped_ptr.hpp>
#include "cppconn/driver.h"
extern "C"
{
CPPCONN_PUBLIC_FUNC void * sql_mysql_get_driver_instance();
}
namespace sql
{
namespace mysql
{
namespace NativeAPI
{
class NativeDriverWrapper;
}
//class sql::mysql::NativeAPI::NativeDriverWrapper;
class CPPCONN_PUBLIC_FUNC MySQL_Driver : public sql::Driver
{
boost::scoped_ptr< ::sql::mysql::NativeAPI::NativeDriverWrapper > proxy;
public:
MySQL_Driver();
MySQL_Driver(const ::sql::SQLString & clientLib);
virtual ~MySQL_Driver();
sql::Connection * connect(const sql::SQLString& hostName, const sql::SQLString& userName, const sql::SQLString& password);
sql::Connection * connect(sql::ConnectOptionsMap & options);
int getMajorVersion();
int getMinorVersion();
int getPatchVersion();
const sql::SQLString & getName();
void threadInit();
void threadEnd();
private:
/* Prevent use of these */
MySQL_Driver(const MySQL_Driver &);
void operator=(MySQL_Driver &);
};
/** We do not hide the function if MYSQLCLIENT_STATIC_BINDING(or anything else) not defined
because the counterpart C function is declared in the cppconn and is always visible.
If dynamic loading is not enabled then its result is just like of get_driver_instance()
*/
CPPCONN_PUBLIC_FUNC MySQL_Driver * get_driver_instance_by_name(const char * const clientlib);
CPPCONN_PUBLIC_FUNC MySQL_Driver * get_driver_instance();
static inline MySQL_Driver * get_mysql_driver_instance() { return get_driver_instance(); }
} /* namespace mysql */
} /* namespace sql */
#endif // _MYSQL_DRIVER_H_
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
*/
| [
"ksc_liyong@163.com"
] | ksc_liyong@163.com |
5495a03ac0e2ac2523b3d7c6f13cfbb922075f8b | 4d2afbcd7f01c7fddb675e80d0595e22ad2e596f | /qt_client/connection.cpp | a3174210543bc1119de6feead7406721b79243cb | [] | no_license | borserog/projeto_pirc | dd6de4472e5413d0f83655ff174b6a688df6e559 | a40c833ff8d79f4b98691c0380ec6e4bdab17df4 | refs/heads/master | 2020-06-24T05:43:30.475847 | 2019-07-11T23:57:44 | 2019-07-11T23:57:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 940 | cpp | #include "connection.h"
Connection::Connection(QObject *parent): QObject(parent)
{
tcpSocket = new QTcpSocket(this);
server.setDevice(tcpSocket);
connect(tcpSocket, &QIODevice::readyRead, this, &Connection::dataReceived);
//connect(tcpSocket, QOverload<QAbstractSocket::SocketError>::of(&QAbstractSocket::error),this, &Connection::displayError);
}
void Connection::dataReceived()
{
QString data = tcpSocket->readAll();
qDebug() << data;
tcpSocket->write(std::to_string(MESSAGE::GETDEVICES).c_str());
tcpSocket->waitForBytesWritten();
}
void Connection::conectarServidor(QString server_add, QString port)
{
tcpSocket->abort();
do{
tcpSocket->connectToHost(QHostAddress(server_add),port.toUShort(),QIODevice::ReadWrite);
}while(!tcpSocket->isOpen());
tcpSocket->write(std::to_string(TYPE::USER).c_str());
tcpSocket->waitForBytesWritten();
_connStatus = "Conectado";
}
| [
"lacouth@gmail.com"
] | lacouth@gmail.com |
a51e29166d179c9a72ce0f3e6c5f535a882d6900 | f39b068ff6a767601104b73aed3dcf5cee73f037 | /src/lib/Producer.h | b6a2feebfffae33c1b9d0ad22de886d819c84a7a | [] | no_license | mfkiwl/COStreamPP | 8a95744750230bed9a6bff3aa69992da9deb20c5 | 0187f626d73080746a58e3cb7a159aa2ba6ae5ad | refs/heads/master | 2023-07-29T05:05:07.518671 | 2020-04-23T16:38:31 | 2020-04-23T16:38:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | #ifndef _PRODUCER_H_
#define _PRODUCER_H_
#include "Buffer.h"
template <typename T>
class Producer
{
public:
Producer(Buffer<T> &proBuffer) : proBuffer(proBuffer)
{
tail = 0;
}
T &operator[](int index)
{
return proBuffer[tail + index];
}
void updatetail(int offset)
{
tail += offset;
}
void resetTail()
{
if (tail == proBuffer.bufferSize)
{
tail = proBuffer.copySize + proBuffer.copyStartPos;
}
}
private:
Buffer<T> &proBuffer;
int tail;
};
#endif | [
"372874816@qq.com"
] | 372874816@qq.com |
054773ecdac2afb5c4d24aa5e4e2d48655513f2f | 94d0d0d9b49cdf7b576f26766804e3baf0705550 | /Deployment/Source_DS_CNN_7layers_76f/f87f06292637/Inits/IST3020.cpp | adcad55e388131a4207bdb1c23b5355a58c8b63e | [
"Apache-2.0"
] | permissive | PeterMS123/KWS-DS-CNN-for-embedded | 130514406072631cb366eb6fced5d31d8e6fb746 | dd78e3daa2db067a5583776422db49154ffeb9ae | refs/heads/master | 2021-08-07T12:19:03.466025 | 2020-04-02T18:31:12 | 2020-04-02T18:31:12 | 135,807,639 | 28 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 3,286 | cpp | /* mbed UniGraphic library - Device specific class
* Copyright (c) 2015 Giuliano Dianda
* Released under the MIT License: http://mbed.org/license/mit
*/
#include "Protocols.h"
#include "IST3020.h"
/*this is a quite standard config, similar to ST7565, except bigger screen and diff resistor ratio value*/
//////////////////////////////////////////////////////////////////////////////////
// display settings ///////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////
#define IC_X_SEGS 256 // IST3020 SEG has range 0-255 (255-0 if ADC=1), check your datasheet, important for the orientation
#define IC_Y_COMS 64 // IST3020 COM has range 0-63 (63-0 if SHL=1), check your datasheet, important for the orientation
// put in constructor
//#define LCDSIZE_X 192 // display X pixels, IST3020 is advertised as 224x65 but display size could be smaller
//#define LCDSIZE_Y 64 // display Y pixels, the 65th is for accessing "icons"
IST3020::IST3020(proto_t displayproto, PortName port, PinName CS, PinName reset, PinName DC, PinName WR, PinName RD, const char *name, unsigned int LCDSIZE_X, unsigned int LCDSIZE_Y)
: LCD(displayproto, port, CS, reset, DC, WR, RD, LCDSIZE_X, LCDSIZE_Y, IC_X_SEGS, IC_Y_COMS, name)
{
hw_reset();
BusEnable(true);
init();
cls();
set_orientation(1);
locate(0,0);
}
IST3020::IST3020(proto_t displayproto, int Hz, PinName mosi, PinName miso, PinName sclk, PinName CS, PinName reset, PinName DC, const char *name, unsigned int LCDSIZE_X, unsigned int LCDSIZE_Y)
: LCD(displayproto, Hz, mosi, miso, sclk, CS, reset, DC, LCDSIZE_X, LCDSIZE_Y, IC_X_SEGS, IC_Y_COMS, name)
{
hw_reset();
BusEnable(true);
init();
cls();
set_orientation(1);
locate(0,0);
}
// reset and init the lcd controller
// init sequence is manufacturer specific
void IST3020::init()
{
/* Start Initial Sequence ----------------------------------------------------*/
wr_cmd8(0xE2); // sw reset
wait_ms(10);
wr_cmd8(0xAE); // display off
wr_cmd8(0xAB); // built-in OSC on
wr_cmd8(0xA2); // bias voltage (1/9)
// wr_cmd8(0xA3); // bias voltage (1/7)
wr_cmd8(0xA0); // ADC select seg0-seg223
//wr_cmd8(0xA1); // ADC select seg223-seg0
wr_cmd8(0xC8); // SHL select com63-com0
//wr_cmd8(0xC0); // SHL select com0-com63
wr_cmd8(0x2C); // Internal Voltage Converter ON
wait_ms(10);
wr_cmd8(0x2E); // Internal Voltage Regulator ON
wait_ms(10);
wr_cmd8(0x2F); // Internal Voltage Follower ON
wait_ms(10);
wr_cmd8(0x20); // Regulor_Resistor_Select resistor ratio 20-27 20=4.5(default) 27=8.0, 0.5 steps
set_contrast(46);
//wr_cmd8(0x81); // set contrast (reference voltage register set)
//wr_cmd8(0x20); // contrast 00-3F default 20
wr_cmd8(0xA4); // LCD display ram (EntireDisplayOn disable)
//wr_cmd8(0x70); // External Capacitors Discharge function enable (should be enabled by default)
//wr_cmd8(0x77); // External Capacitors Discharge function disable
wr_cmd8(0x40); // start line = 0
wr_cmd8(0xA6); // display normal (1 = illuminated)
wr_cmd8(0xAF); // display ON
} | [
"s134064@student.dtu.dk"
] | s134064@student.dtu.dk |
d2f32f09407f460b92d90d5eff19de4a2f55556b | a65c77b44164b2c69dfe4bfa2772d18ae8e0cce2 | /tpoj/1006.cpp | b6aee264e494ce27474ae5b36a9c5bc2b0e8141c | [] | no_license | dl8sd11/online-judge | 553422b55080e49e6bd9b38834ccf1076fb95395 | 5ef8e3c5390e54381683f62f88d03629e1355d1d | refs/heads/master | 2021-12-22T15:13:34.279988 | 2021-12-13T06:45:49 | 2021-12-13T06:45:49 | 111,268,306 | 1 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | cpp | #include <bits/stdc++.h>
using namespace std;
#define SZ(i) int(i.size())
typedef long long ll;
typedef pair<ll,ll> pii;
#define X first
#define Y second
pii operator -(const pii &a,const pii &b){
return make_pair(a.X-b.X,a.Y-b.Y);
}
ll operator *(const pii &a,const pii &b){
return a.X*b.Y - a.Y*b.X;
}
vector<pii> p;
ll n,x,y;
vector<pii> cv;
void convex_hull(){
cv.clear();
for(int i=0;i<SZ(p);i++){
while(SZ(cv) >= 2 && (p[i]-cv[SZ(cv)-1])*(cv[SZ(cv)-1]-cv[SZ(cv)-2])<0)cv.pop_back();
cv.push_back(p[i]);
}
int m;
m = SZ(cv);
for(int i=SZ(p)-1;i>=0;i--){
while(SZ(cv)-m >= 2 && (p[i]-cv[SZ(cv)-1])*(cv[SZ(cv)-1]-cv[SZ(cv)-2])<0)cv.pop_back();
cv.push_back(p[i]);
}
}
int main(){
cin>>n;
for(int i=0;i<n;i++)cin>>x>>y,p.push_back({x,y});
sort(p.begin(),p.end());
p.resize(unique(p.begin(),p.end())-p.begin());
convex_hull();
// cout<<SZ(cv)<<endl
sort(cv.begin(),cv.end());
cv.resize(unique(cv.begin(),cv.end())-cv.begin());
for(auto ans:cv){
cout<<ans.first<<" "<<ans.second<<endl;;
}
}
| [
"tmd910607@gmail.com"
] | tmd910607@gmail.com |
b1a33024757fbca0e60a24866d683e5a3b767086 | 814fd0bea5bc063a4e34ebdd0a5597c9ff67532b | /content/renderer/scheduler/renderer_scheduler_impl.cc | a0f683f95888f1a0fa9a8809cbaddfa0800e7017 | [
"BSD-3-Clause"
] | permissive | rzr/chromium-crosswalk | 1b22208ff556d69c009ad292bc17dca3fe15c493 | d391344809adf7b4f39764ac0e15c378169b805f | refs/heads/master | 2021-01-21T09:11:07.316526 | 2015-02-16T11:52:21 | 2015-02-16T11:52:21 | 38,887,985 | 0 | 0 | NOASSERTION | 2019-08-07T21:59:20 | 2015-07-10T15:35:50 | C++ | UTF-8 | C++ | false | false | 11,212 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/scheduler/renderer_scheduler_impl.h"
#include "base/bind.h"
#include "base/debug/trace_event.h"
#include "base/debug/trace_event_argument.h"
#include "base/message_loop/message_loop_proxy.h"
#include "cc/output/begin_frame_args.h"
#include "content/renderer/scheduler/renderer_task_queue_selector.h"
#include "ui/gfx/frame_time.h"
namespace content {
RendererSchedulerImpl::RendererSchedulerImpl(
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner)
: renderer_task_queue_selector_(new RendererTaskQueueSelector()),
task_queue_manager_(
new TaskQueueManager(TASK_QUEUE_COUNT,
main_task_runner,
renderer_task_queue_selector_.get())),
control_task_runner_(
task_queue_manager_->TaskRunnerForQueue(CONTROL_TASK_QUEUE)),
default_task_runner_(
task_queue_manager_->TaskRunnerForQueue(DEFAULT_TASK_QUEUE)),
compositor_task_runner_(
task_queue_manager_->TaskRunnerForQueue(COMPOSITOR_TASK_QUEUE)),
current_policy_(NORMAL_PRIORITY_POLICY),
policy_may_need_update_(&incoming_signals_lock_),
weak_factory_(this) {
weak_renderer_scheduler_ptr_ = weak_factory_.GetWeakPtr();
update_policy_closure_ = base::Bind(&RendererSchedulerImpl::UpdatePolicy,
weak_renderer_scheduler_ptr_);
end_idle_period_closure_ = base::Bind(&RendererSchedulerImpl::EndIdlePeriod,
weak_renderer_scheduler_ptr_);
idle_task_runner_ = make_scoped_refptr(new SingleThreadIdleTaskRunner(
task_queue_manager_->TaskRunnerForQueue(IDLE_TASK_QUEUE),
base::Bind(&RendererSchedulerImpl::CurrentIdleTaskDeadlineCallback,
weak_renderer_scheduler_ptr_)));
renderer_task_queue_selector_->SetQueuePriority(
CONTROL_TASK_QUEUE, RendererTaskQueueSelector::CONTROL_PRIORITY);
renderer_task_queue_selector_->DisableQueue(IDLE_TASK_QUEUE);
task_queue_manager_->SetAutoPump(IDLE_TASK_QUEUE, false);
for (size_t i = 0; i < TASK_QUEUE_COUNT; i++) {
task_queue_manager_->SetQueueName(
i, TaskQueueIdToString(static_cast<QueueId>(i)));
}
TRACE_EVENT_OBJECT_CREATED_WITH_ID(
TRACE_DISABLED_BY_DEFAULT("renderer.scheduler"), "RendererScheduler",
this);
}
RendererSchedulerImpl::~RendererSchedulerImpl() {
TRACE_EVENT_OBJECT_DELETED_WITH_ID(
TRACE_DISABLED_BY_DEFAULT("renderer.scheduler"), "RendererScheduler",
this);
}
void RendererSchedulerImpl::Shutdown() {
main_thread_checker_.CalledOnValidThread();
task_queue_manager_.reset();
}
scoped_refptr<base::SingleThreadTaskRunner>
RendererSchedulerImpl::DefaultTaskRunner() {
main_thread_checker_.CalledOnValidThread();
return default_task_runner_;
}
scoped_refptr<base::SingleThreadTaskRunner>
RendererSchedulerImpl::CompositorTaskRunner() {
main_thread_checker_.CalledOnValidThread();
return compositor_task_runner_;
}
scoped_refptr<SingleThreadIdleTaskRunner>
RendererSchedulerImpl::IdleTaskRunner() {
main_thread_checker_.CalledOnValidThread();
return idle_task_runner_;
}
void RendererSchedulerImpl::WillBeginFrame(const cc::BeginFrameArgs& args) {
TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("renderer.scheduler"),
"RendererSchedulerImpl::WillBeginFrame", "args", args.AsValue());
main_thread_checker_.CalledOnValidThread();
if (!task_queue_manager_)
return;
EndIdlePeriod();
estimated_next_frame_begin_ = args.frame_time + args.interval;
}
void RendererSchedulerImpl::DidCommitFrameToCompositor() {
TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("renderer.scheduler"),
"RendererSchedulerImpl::DidCommitFrameToCompositor");
main_thread_checker_.CalledOnValidThread();
if (!task_queue_manager_)
return;
base::TimeTicks now(Now());
if (now < estimated_next_frame_begin_) {
StartIdlePeriod();
control_task_runner_->PostDelayedTask(FROM_HERE, end_idle_period_closure_,
estimated_next_frame_begin_ - now);
}
}
void RendererSchedulerImpl::DidReceiveInputEventOnCompositorThread(
blink::WebInputEvent::Type type) {
TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("renderer.scheduler"),
"RendererSchedulerImpl::DidReceiveInputEventOnCompositorThread");
// Ignore mouse events because on windows these can very frequent.
// Ignore keyboard events because it doesn't really make sense to enter
// compositor priority for them.
if (blink::WebInputEvent::isMouseEventType(type) ||
blink::WebInputEvent::isKeyboardEventType(type)) {
return;
}
UpdateForInputEvent();
}
void RendererSchedulerImpl::DidAnimateForInputOnCompositorThread() {
UpdateForInputEvent();
}
void RendererSchedulerImpl::UpdateForInputEvent() {
base::AutoLock lock(incoming_signals_lock_);
if (last_input_time_.is_null()) {
// Update scheduler policy if should start a new compositor policy mode.
policy_may_need_update_.SetLocked(true);
PostUpdatePolicyOnControlRunner(base::TimeDelta());
}
last_input_time_ = Now();
}
bool RendererSchedulerImpl::ShouldYieldForHighPriorityWork() {
main_thread_checker_.CalledOnValidThread();
if (!task_queue_manager_)
return false;
MaybeUpdatePolicy();
// We only yield if we are in the compositor priority and there is compositor
// work outstanding. Note: even though the control queue is higher priority
// we don't yield for it since these tasks are not user-provided work and they
// are only intended to run before the next task, not interrupt the tasks.
return SchedulerPolicy() == COMPOSITOR_PRIORITY_POLICY &&
!task_queue_manager_->IsQueueEmpty(COMPOSITOR_TASK_QUEUE);
}
void RendererSchedulerImpl::CurrentIdleTaskDeadlineCallback(
base::TimeTicks* deadline_out) const {
main_thread_checker_.CalledOnValidThread();
*deadline_out = estimated_next_frame_begin_;
}
RendererSchedulerImpl::Policy RendererSchedulerImpl::SchedulerPolicy() const {
main_thread_checker_.CalledOnValidThread();
return current_policy_;
}
void RendererSchedulerImpl::MaybeUpdatePolicy() {
main_thread_checker_.CalledOnValidThread();
if (policy_may_need_update_.IsSet()) {
UpdatePolicy();
}
}
void RendererSchedulerImpl::PostUpdatePolicyOnControlRunner(
base::TimeDelta delay) {
control_task_runner_->PostDelayedTask(FROM_HERE, update_policy_closure_,
delay);
}
void RendererSchedulerImpl::UpdatePolicy() {
main_thread_checker_.CalledOnValidThread();
if (!task_queue_manager_)
return;
base::AutoLock lock(incoming_signals_lock_);
base::TimeTicks now;
policy_may_need_update_.SetLocked(false);
Policy new_policy = NORMAL_PRIORITY_POLICY;
if (!last_input_time_.is_null()) {
base::TimeDelta compositor_priority_duration =
base::TimeDelta::FromMilliseconds(kCompositorPriorityAfterTouchMillis);
base::TimeTicks compositor_priority_end(last_input_time_ +
compositor_priority_duration);
now = Now();
if (compositor_priority_end > now) {
PostUpdatePolicyOnControlRunner(compositor_priority_end - now);
new_policy = COMPOSITOR_PRIORITY_POLICY;
} else {
// Null out last_input_time_ to ensure
// DidReceiveInputEventOnCompositorThread will post an
// UpdatePolicy task when it's next called.
last_input_time_ = base::TimeTicks();
}
}
if (new_policy == current_policy_)
return;
switch (new_policy) {
case COMPOSITOR_PRIORITY_POLICY:
renderer_task_queue_selector_->SetQueuePriority(
COMPOSITOR_TASK_QUEUE, RendererTaskQueueSelector::HIGH_PRIORITY);
break;
case NORMAL_PRIORITY_POLICY:
renderer_task_queue_selector_->SetQueuePriority(
COMPOSITOR_TASK_QUEUE, RendererTaskQueueSelector::NORMAL_PRIORITY);
break;
}
current_policy_ = new_policy;
TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID(
TRACE_DISABLED_BY_DEFAULT("renderer.scheduler"), "RendererScheduler",
this, AsValueLocked(now));
TRACE_COUNTER1(TRACE_DISABLED_BY_DEFAULT("renderer.scheduler"),
"RendererScheduler.policy", current_policy_);
}
void RendererSchedulerImpl::StartIdlePeriod() {
TRACE_EVENT_ASYNC_BEGIN0(TRACE_DISABLED_BY_DEFAULT("renderer.scheduler"),
"RendererSchedulerIdlePeriod", this);
main_thread_checker_.CalledOnValidThread();
renderer_task_queue_selector_->EnableQueue(
IDLE_TASK_QUEUE, RendererTaskQueueSelector::BEST_EFFORT_PRIORITY);
task_queue_manager_->PumpQueue(IDLE_TASK_QUEUE);
}
void RendererSchedulerImpl::EndIdlePeriod() {
TRACE_EVENT_ASYNC_END0(TRACE_DISABLED_BY_DEFAULT("renderer.scheduler"),
"RendererSchedulerIdlePeriod", this);
main_thread_checker_.CalledOnValidThread();
renderer_task_queue_selector_->DisableQueue(IDLE_TASK_QUEUE);
}
base::TimeTicks RendererSchedulerImpl::Now() const {
return gfx::FrameTime::Now();
}
RendererSchedulerImpl::PollableNeedsUpdateFlag::PollableNeedsUpdateFlag(
base::Lock* write_lock_)
: flag_(false), write_lock_(write_lock_) {
}
RendererSchedulerImpl::PollableNeedsUpdateFlag::~PollableNeedsUpdateFlag() {
}
void RendererSchedulerImpl::PollableNeedsUpdateFlag::SetLocked(bool value) {
write_lock_->AssertAcquired();
base::subtle::Release_Store(&flag_, value);
}
bool RendererSchedulerImpl::PollableNeedsUpdateFlag::IsSet() const {
thread_checker_.CalledOnValidThread();
return base::subtle::Acquire_Load(&flag_) != 0;
}
// static
const char* RendererSchedulerImpl::TaskQueueIdToString(QueueId queue_id) {
switch (queue_id) {
case DEFAULT_TASK_QUEUE:
return "default_tq";
case COMPOSITOR_TASK_QUEUE:
return "compositor_tq";
case IDLE_TASK_QUEUE:
return "idle_tq";
case CONTROL_TASK_QUEUE:
return "control_tq";
default:
NOTREACHED();
return nullptr;
}
}
// static
const char* RendererSchedulerImpl::PolicyToString(Policy policy) {
switch (policy) {
case NORMAL_PRIORITY_POLICY:
return "normal";
case COMPOSITOR_PRIORITY_POLICY:
return "compositor";
default:
NOTREACHED();
return nullptr;
}
}
scoped_refptr<base::debug::ConvertableToTraceFormat>
RendererSchedulerImpl::AsValueLocked(base::TimeTicks optional_now) const {
main_thread_checker_.CalledOnValidThread();
incoming_signals_lock_.AssertAcquired();
if (optional_now.is_null())
optional_now = Now();
scoped_refptr<base::debug::TracedValue> state =
new base::debug::TracedValue();
state->SetString("current_policy", PolicyToString(current_policy_));
state->SetDouble("now", (optional_now - base::TimeTicks()).InMillisecondsF());
state->SetDouble("last_input_time",
(last_input_time_ - base::TimeTicks()).InMillisecondsF());
state->SetDouble(
"estimated_next_frame_begin",
(estimated_next_frame_begin_ - base::TimeTicks()).InMillisecondsF());
return state;
}
} // namespace content
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e5bef559efdfb7631336762f3d4075b8c17e844d | 3984137e46959aaed92014357fedf8b2910ba291 | /CommonLibF4/include/RE/Bethesda/Actor.h | a1ea3e4ae710961ba698595d9a2e774295b9694e | [
"MIT"
] | permissive | BenCzaczkes/CommonLibF4 | 39478d5f8ca80588d33e8d04647583a08afcd875 | be124d1c5fd02b8b0eaf0c6f02869f49e1977be7 | refs/heads/master | 2023-03-31T04:01:54.564516 | 2021-03-28T22:06:02 | 2021-03-28T22:06:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 61,984 | h | #pragma once
#include "RE/Bethesda/AITimeStamp.h"
#include "RE/Bethesda/BSFixedString.h"
#include "RE/Bethesda/BSLock.h"
#include "RE/Bethesda/BSPointerHandle.h"
#include "RE/Bethesda/BSSoundHandle.h"
#include "RE/Bethesda/BSTArray.h"
#include "RE/Bethesda/BSTEvent.h"
#include "RE/Bethesda/BSTSingleton.h"
#include "RE/Bethesda/BSTSmartPointer.h"
#include "RE/Bethesda/BSTTuple.h"
#include "RE/Bethesda/IMovementInterface.h"
#include "RE/Bethesda/TESObjectREFRs.h"
#include "RE/NetImmerse/NiFlags.h"
#include "RE/NetImmerse/NiPoint3.h"
#include "RE/NetImmerse/NiSmartPointer.h"
namespace RE
{
enum class ACTOR_CRITICAL_STAGE;
enum class ACTOR_LIFE_STATE;
enum class ACTOR_LOS_LOCATION;
enum class ATTACK_STATE_ENUM;
enum class PACKAGE_OBJECT_TYPE;
enum class POWER_ATTACK_TYPE;
enum class PTYPE;
enum class RESET_3D_FLAGS;
enum class SIT_SLEEP_STATE;
template <class>
class AnimationStanceFireLocationData;
template <class>
class BSPointerHandleSmartPointer;
template <class, class, class, template <class> class>
class BSResponse;
template <class>
class DoNothingUnhandledPolicy;
class ActiveEffect;
class ActorMagicCaster;
class ActorMover;
class ActorPackageLoadFormBuffer;
class AimModel;
class AIProcess;
class BGSSaveFormBuffer;
class bhkCharacterController;
class bhkCharacterMoveFinishEvent;
class bhkCharacterStateChangeEvent;
class bhkNonSupportContactEvent;
class bhkNPCollisionObject;
class bhkRagdollPenetrationUtil;
class BipedAnim;
class BSCloneReserver;
class BSClothExtraData;
class BSFaceGenAnimationData;
class BSLightingShaderProperty;
class BSPathingRequest;
class BSTransformDeltaEvent;
class CombatController;
class CombatGroup;
class EffectItem;
class EquippedItem;
class EquippedItemData;
class HitData;
class IAnimationStanceData;
class IProcedureTreeExecState;
class MovementControllerNPC;
class MovementMessageActorCollision;
class MovementMessageNewPath;
class MovementMessageUpdateRequestImmediate;
class MuzzleFlash;
class PackageLocation;
class PerkEntryVisitor;
class QueuedFile;
class QueuedItem;
struct ActorCPMEvent;
struct ActorInventoryEvent;
struct ActorMotionFeedbackData;
struct ActorMotionFeedbackOutput;
struct AIPerkData;
struct BSAnimationGraphVariableCache;
struct BSMovementDataChangedEvent;
struct BSSubGraphActivationUpdate;
struct CastPowerItem;
struct DeferredHideLimb;
struct HighProcessData;
struct ObjectstoAcquire;
struct Perks;
namespace ActorEquipManagerEvent
{
struct Event;
}
namespace MagicSystem
{
enum class CannotCastReason;
enum class WardState;
}
namespace PerkValueEvents
{
struct PerkValueChangedEvent;
struct PerkEntryUpdatedEvent;
}
enum class INTERACTING_STATE : std::uint32_t
{
kNotInteracting,
kWaitingToInteract,
kInteracting,
kWaitingToStopInteracting
};
struct MiddleLowProcessData
{
public:
// members
std::int32_t hourPackageEvaluated; // 0
};
static_assert(sizeof(MiddleLowProcessData) == 0x4);
class __declspec(novtable) ActorPackageData
{
public:
static constexpr auto RTTI{ RTTI::ActorPackageData };
static constexpr auto VTABLE{ VTABLE::ActorPackageData };
virtual ~ActorPackageData(); // 00
// add
virtual PTYPE GetPackageType() = 0; // 01
virtual IProcedureTreeExecState* GetProcedureExecState() { return nullptr; } // 02
virtual void SetProcedureExecState([[maybe_unused]] IProcedureTreeExecState& a_procedureExecState) { return; } // 03
virtual void ClearProcedureExecState() { return; } // 04
virtual void SaveGame(BGSSaveFormBuffer* a_saveGameBuffer) = 0; // 05
virtual void LoadGame(ActorPackageLoadFormBuffer* a_loadGameBuffer) = 0; // 06
virtual void InitLoadGame([[maybe_unused]] ActorPackageLoadFormBuffer* a_loadGameBuffer) { return; } // 07
virtual void ResetPackData([[maybe_unused]] TESPackage* a_pack) { return; } // 08
};
static_assert(sizeof(ActorPackageData) == 0x8);
class ActorPackage
{
public:
// members
BSSpinLock packageLock; // 00
TESPackage* package; // 08
ActorPackageData* data; // 10
ObjectRefHandle target; // 18
std::int32_t currentProcedureIndex; // 1C
float packageStartTime; // 20
std::uint32_t modifiedPackageFlag; // 24
std::uint16_t modifiedInterruptFlag; // 28
std::int8_t actorPackageFlags; // 2A
std::int8_t preferredSpeed; // 2B
};
static_assert(sizeof(ActorPackage) == 0x30);
struct CommandedActorData
{
public:
// members
ActorHandle commandedActor; // 00
ActiveEffect* activeEffect; // 08
};
static_assert(sizeof(CommandedActorData) == 0x10);
class ActiveEffectList
{
public:
// members
BSTArray<BSTSmartPointer<ActiveEffect>> data; // 00
std::int8_t iterating; // 18
};
static_assert(sizeof(ActiveEffectList) == 0x20);
struct SubGraphIdleRootData
{
public:
// members
SubgraphIdentifier subGraphID; // 00
BSFixedString idleRootName; // 08
std::int8_t count; // 10
std::int8_t activeCount; // 11
bool forFirstPerson; // 12
};
static_assert(sizeof(SubGraphIdleRootData) == 0x18);
class __declspec(novtable) EquippedItemData :
public NiRefObject // 00
{
public:
static constexpr auto RTTI{ RTTI::EquippedItemData };
static constexpr auto VTABLE{ VTABLE::EquippedItemData };
// add
virtual void SaveGame(BGSSaveFormBuffer* a_saveGameBuffer, const EquippedItem& a_equippedItem) const = 0; // 02
virtual void LoadGame(BGSLoadFormBuffer* a_loadGameBuffer, const EquippedItem& a_equippedItem) = 0; // 03
virtual std::uint32_t GetObjectType() const = 0; // 04
};
static_assert(sizeof(EquippedItemData) == 0x10);
class __declspec(novtable) EquippedWeaponData :
public EquippedItemData // 00
{
public:
static constexpr auto RTTI{ RTTI::EquippedWeaponData };
static constexpr auto VTABLE{ VTABLE::EquippedWeaponData };
// members
TESAmmo* ammo; // 10
std::uint32_t ammoCount; // 18
AimModel* aimModel; // 20
MuzzleFlash* muzzleFlash; // 28
NiAVObject* fireNode; // 30
ATTACK_STATE_ENUM attackState; // 38
BSTArray<BSTTuple<std::uint32_t, AnimationStanceFireLocationData<NiPoint3>>> fireLocations; // 40
NiPointer<QueuedFile> weaponPreload; // 58
NiPointer<QueuedFile> projectilePreload; // 60
NiPointer<BSCloneReserver> reserveProjectileClones; // 68
BSSoundHandle idleSound; // 70
BSSoundHandle attackSound; // 78
BSSoundHandle reverbSound; // 80
BSSoundHandle prevAttack; // 88
BSSoundHandle prevReverb; // 90
const BGSSoundKeywordMapping* attackSoundData; // 98
bool reverbSoundIsTail; // A0
};
static_assert(sizeof(EquippedWeaponData) == 0xA8);
class EquippedItem
{
public:
// members
BGSObjectInstance item; // 00
const BGSEquipSlot* equipSlot; // 10
BGSEquipIndex equipIndex; // 18
NiPointer<EquippedItemData> data; // 20
};
static_assert(sizeof(EquippedItem) == 0x28);
struct SubgraphHandle
{
public:
// members
std::uint64_t handle; // 0
};
static_assert(sizeof(SubgraphHandle) == 0x8);
template <class T>
class AnimationStanceNodeLocationData
{
public:
// members
T nodeLocationArray[3]; // 00
};
struct MiddleHighProcessData
{
public:
// members
BSTEventSource<ActorInventoryEvent> inventoryEventSource; // 000
NiPointer<bhkNPCollisionObject> poseBound; // 058
ActorPackage runOncePackage; // 060
BSTArray<ActorHandle> deadDetectList; // 090
BSSimpleList<TESObjectREFR*> refListChairBed; // 0A8
NiPoint3 rotation; // 0B8
NiPoint3 rotationSpeed; // 0C4
NiPoint3 actorMountPosition; // 0D0
NiPoint3 furniturePathPoint; // 0DC
NiPoint3 lastSeenPosition; // 0E8
ActorHandle bleedoutAttacker; // 0F4
stl::enumeration<MagicSystem::WardState, std::int32_t> wardState; // 0F8
BSTSmartPointer<BSResponse<BSFixedString, Actor, BSFixedString, DoNothingUnhandledPolicy>> animResponse; // 100
BSTArray<CommandedActorData> commandedActors; // 108
NiNode* damageRootNode[26]; // 120
NiNode* weaponBone; // 1F0
NiAVObject* headNode; // 1F8
NiAVObject* torsoNode; // 200
NiAVObject* faceTargetSourceNode; // 208
BSFaceGenNiNode* faceNodeSkinned; // 210
NiPointer<BSLightingShaderProperty> lightingProperty; // 218
QueuedItem* listItemstoEquipUnequip; // 220
HitData* lastHitData; // 228
DeferredHideLimb* headDeferredHideLimb; // 230
ActiveEffectList activeEffects; // 238
BSTSmartPointer<BSAnimationGraphManager> animationGraphManager; // 258
BSAnimationGraphVariableCache* animationVariableCache; // 260
BSTArray<SubGraphIdleRootData> subGraphIdleManagerRoots; // 268
BSSpinLock equippedItemsLock; // 280
BSTArray<EquippedItem> equippedItems; // 288
BSTArray<BSClothExtraData*> clothExtraDataCache; // 2A0
BSTArray<BSTSmallArray<SubgraphHandle, 2>> subGraphHandles; // 2B8
BSTSmallArray<SubgraphIdentifier, 2> currentDefaultSubGraphID; // 2D0
BSTSmallArray<SubgraphIdentifier, 2> requestedDefaultSubGraphID; // 2F0
BSTSmallArray<SubgraphIdentifier, 2> currentWeaponSubGraphID; // 310
BSTSmallArray<SubgraphIdentifier, 2> requestedWeaponSubGraphID; // 330
BSTSmartPointer<IAnimationStanceData> stanceData; // 350
BSTArray<BSTTuple<std::uint32_t, AnimationStanceNodeLocationData<NiPoint3>>> nodeLocationArray; // 358
float stanceHeightArray[6][2]; // 370
float headHeightOffset; // 3A0
ObjectRefHandle currentFurniture; // 3A4
ObjectRefHandle occupiedFurniture; // 3A8
TESIdleForm* currentIdle; // 3B0
ActorHandle commandingActor; // 3B8
const TESIdleForm* furnitureIdle; // 3C0
BSFaceGenAnimationData* faceAnimationData; // 3C8
MagicItem* currentPackageSpell; // 3D0
TESObjectWEAP* lastBoundWeapon; // 3D8
NiPointer<bhkCharacterController> charController; // 3E0
BSTSmartPointer<bhkRagdollPenetrationUtil> penetrationDetectUtil; // 3E8
NiPointer<QueuedFile> bodyPartPreload; // 3F0
TESIdleForm* lastIdlePlayed; // 3F8
AIPerkData* perkData; // 400
NiPoint3 lookAtLocation; // 408
float pursueTimer; // 414
float furnitureAngle; // 418
float furnitureEntryFootstepDeltaTarget; // 41C
float packageIdleTimer; // 420
float equippedWeight; // 424
float desiredSpeed; // 428
float animationSpeed; // 42C
float bleedoutTimer; // 430
float bleedoutRate; // 434
float bleedoutMaxHealth; // 438
float maxWardPower; // 43C
float animGraphEventTimeout; // 440
float torchEvalTimer; // 444
float alphaMult; // 448
float scriptRefractPower; // 44C
float sleepingTimer; // 450
float deferredKillTimer; // 454
float killMoveTimer; // 458
float staggerTimer; // 45C
float mountDismountSafetyTimer; // 460
AITimeStamp rangeWaypointIdleTimer; // 464
std::int32_t packageIdleNumber; // 468
std::int32_t reservationSlot; // 46C
SubgraphIdentifier currentFurnitureSubgraphID; // 470
std::uint32_t currentFurnitureMarkerID; // 478
std::uint32_t occupiedFurnitureMarkerID; // 47C
std::uint64_t nextExtraArrow3DUpdate; // 480
std::uint32_t deferredKill; // 488
std::uint32_t flareFlags; // 48C
stl::enumeration<PACKAGE_OBJECT_TYPE, std::int32_t> useItem; // 490
std::int16_t animActionSuccess; // 494
std::uint16_t update3DModel; // 496
std::int8_t weaponCullCounter; // 498
std::int8_t archetypeChangeType; // 499
bool animWeaponCull; // 49A
bool aimingTarget; // 49B
bool doneClothesChange; // 49C
bool pickPackIdle; // 49D
bool doneOnce; // 49E
bool refreshFlareFlags; // 49F
bool pickPocketed; // 4A0
bool summonedCreature; // 4A1
bool forceNextUpdate; // 4A2
bool playedBeginIdles; // 4A3
bool playedEndIdles; // 4A4
bool quickPlacement; // 4A5
bool beenAttacked; // 4A6
bool alwaysHit; // 4A7
bool doNoDamage; // 4A8
bool soulTrapped; // 4A9
bool lookAt; // 4AA
bool eating; // 4AB
bool calcLight; // 4AC
bool preventCombat; // 4AD
bool dyingFromBleedout; // 4AE
bool fleeing; // 4AF
bool instantGetOut; // 4B0
bool hostileGuard; // 4B1
bool stopIdleFailed; // 4B2
bool killQueued; // 4B3
bool ragdollInstant; // 4B4
bool scriptDeferredKill; // 4B5
bool furnitureEntryLeftFootFirst; // 4B6
bool furnitureAnimationPlayed; // 4B7
bool queuedInstantInteractionAnimation; // 4B8
bool queuedModifyInitialAnimationPose; // 4B9
bool avoidPlayer; // 4BA
bool usingPathingFaceTargetWhileTrackingOutOfRange; // 4BB
};
static_assert(sizeof(MiddleHighProcessData) == 0x4C0);
class CachedValueData
{
public:
// members
float value; // 0
bool dirty; // 4
};
static_assert(sizeof(CachedValueData) == 0x8);
class CachedValues
{
public:
// members
float cachedRadius; // 00
float cachedWidth; // 04
float cachedLength; // 08
float cachedForwardLength; // 0C
float cachedDPS; // 10
float cachedEyeLevel; // 14
float cachedWalkSpeed; // 18
float cachedRunSpeed; // 1C
float cachedJogSpeed; // 20
float cachedFastWalkSpeed; // 24
std::uint32_t booleanValues; // 28
std::uint32_t flags; // 2C
BSTArray<CachedValueData> actorValueCache; // 30
BSTArray<CachedValueData> permanentActorValueCache; // 48
};
static_assert(sizeof(CachedValues) == 0x60);
class AITimer
{
public:
float startTime; // 0
float targetTime; // 4
};
static_assert(sizeof(AITimer) == 0x8);
class AIProcess
{
public:
[[nodiscard]] TESAmmo* GetCurrentAmmo(BGSEquipIndex a_equipIndex) const
{
using func_t = decltype(&AIProcess::GetCurrentAmmo);
REL::Relocation<func_t> func{ REL::ID(1154936) };
return func(this, a_equipIndex);
}
void SetCurrentAmmo(BGSEquipIndex a_equipIndex, TESAmmo* a_ammo)
{
using func_t = decltype(&AIProcess::SetCurrentAmmo);
REL::Relocation<func_t> func{ REL::ID(795983) };
return func(this, a_equipIndex, a_ammo);
}
// members
MiddleLowProcessData* middleLow; // 00
MiddleHighProcessData* middleHigh; // 08
HighProcessData* high; // 10
ActorPackage currentPackage; // 18
float hourLastProcessed; // 48
float timeAdjustmentsMade; // 4C
std::uint32_t dateLastProcessed; // 50
CachedValues* cachedValues; // 58
std::int32_t numberItemsActivate; // 60
BSSimpleList<ObjectstoAcquire*> objectList; // 68
BSSimpleList<TESObjectREFR*> genericLocationsList; // 78
ObjectstoAcquire* acquireObject; // 88
ObjectstoAcquire* savedAcquireObject; // 90
float essentialDownTimer; // 98
float deathTime; // 9C
float trackedDamage; // A0
TESBoundObject* itemBeingUsed; // A8
AITimer combatDelayTimer; // B0
ObjectRefHandle followTarget; // B8
ObjectRefHandle target; // BC
ObjectRefHandle genericLocation; // C0
ObjectRefHandle genericSecondLocation; // C4
BGSListForm* targetFormList; // C8
std::uint32_t currentSpeakingTopicID; // D0
ObjectRefHandle patrolLocation; // D4
ObjectRefHandle idleTarget; // D8
std::int16_t formListNumb; // DC
char lowProcessFlags; // DE
char processLevel; // DF
bool skippedTimeStampForPathing; // E0
bool ignoringCombat; // E1
bool endAlarmOnActor; // E2
bool escortingPlayer; // E3
bool updateEditorDeadModel; // E4
bool editorDeadActive; // E5
bool initializingPosition; // E6
};
static_assert(sizeof(AIProcess) == 0xE8);
class __declspec(novtable) MagicTarget
{
public:
static constexpr auto RTTI{ RTTI::MagicTarget };
static constexpr auto VTABLE{ VTABLE::MagicTarget };
struct AddTargetData;
struct SpellDispelData;
// members
virtual ~MagicTarget(); // 00
// add
virtual bool AddTarget(AddTargetData& a_data); // 01
virtual TESObjectREFR* GetTargetStatsObject() { return nullptr; } // 02
virtual bool MagicTargetIsActor() { return false; } // 03
virtual bool IsInvulnerable() const { return false; } // 04
virtual void InvalidateCommandedActorEffect([[maybe_unused]] ActiveEffect* a_effect) { return; } // 05
virtual bool CanAddActiveEffect() const = 0; // 06
virtual ActiveEffectList* GetActiveEffectList() = 0; // 07
virtual float CheckResistance([[maybe_unused]] MagicItem* a_spell, [[maybe_unused]] EffectItem* a_effect, [[maybe_unused]] TESBoundObject* a_source) const { return 1.0F; } // 08
virtual void EffectAdded([[maybe_unused]] ActiveEffect* a_effect) { return; } // 09
virtual void EffectRemoved([[maybe_unused]] ActiveEffect* a_effect) { return; } // 0A
virtual void EffectActiveStatusChanged([[maybe_unused]] ActiveEffect* a_effect) { return; } // 0B
virtual bool CheckAbsorb([[maybe_unused]] Actor* a_caster, [[maybe_unused]] MagicItem* a_spell, [[maybe_unused]] const EffectItem* a_effectItem) { return false; } // 0C
// members
SpellDispelData* postUpdateDispelList; // 08
std::int8_t flags; // 10
};
static_assert(sizeof(MagicTarget) == 0x18);
enum class WEAPON_STATE : std::uint32_t
{
kSheathed,
kWantToDraw,
kDrawing,
kDrawn,
kWantToSheathe,
kSheathing
};
class __declspec(novtable) ActorState :
public IMovementState // 00
{
public:
static constexpr auto RTTI{ RTTI::ActorState };
static constexpr auto VTABLE{ VTABLE::ActorState };
// add
virtual bool SetWeaponMagicDrawn(bool a_drawn); // 21
virtual bool SetWeaponState(WEAPON_STATE a_state); // 22
virtual bool DoSetSitSleepState(SIT_SLEEP_STATE a_state) = 0; // 23
virtual SIT_SLEEP_STATE DoGetSitSleepState() const = 0; // 24
virtual bool SetInIronSightsImpl(bool a_sighted) = 0; // 25
virtual void SetReloadingImpl(bool a_reloading); // 26
[[nodiscard]] bool GetWeaponMagicDrawn() const noexcept { return weaponState >= WEAPON_STATE::kDrawn; }
// members
std::uint32_t moveMode: 14; // 08:00
std::uint32_t flyState: 3; // 08:14
std::uint32_t lifeState: 4; // 08:17
std::uint32_t knockState: 4; // 08:21
std::uint32_t meleeAttackState: 3; // 08:25
std::uint32_t talkingToPlayer: 1; // 08:28
std::uint32_t forceRun: 1; // 08:29
std::uint32_t forceSneak: 1; // 08:30
std::uint32_t headTracking: 1; // 08:31
std::uint32_t reanimating: 1; // 0C:00
WEAPON_STATE weaponState: 3; // 0C:01
std::uint32_t wantBlocking: 1; // 0C:04
std::uint32_t flightBlocked: 1; // 0C:05
std::uint32_t recoil: 2; // 0C:06
std::uint32_t allowFlying: 1; // 0C:08
std::uint32_t staggered: 1; // 0C:09
std::uint32_t inWrongProcessLevel: 1; // 0C:10
std::uint32_t stance: 3; // 0C:11
std::uint32_t gunState: 4; // 0C:14
INTERACTING_STATE interactingState: 2; // 0C:18
std::uint32_t headTrackRotation: 1; // 0C:20
std::uint32_t inSyncAnim: 1; // 0C:21
};
static_assert(sizeof(ActorState) == 0x10);
class __declspec(novtable) IPostAnimationChannelUpdateFunctor
{
public:
static constexpr auto RTTI{ RTTI::IPostAnimationChannelUpdateFunctor };
static constexpr auto VTABLE{ VTABLE::IPostAnimationChannelUpdateFunctor };
virtual ~IPostAnimationChannelUpdateFunctor() = default; // 00
// add
virtual void DoPostAnimationChannelUpdate() = 0; // 01
};
static_assert(sizeof(IPostAnimationChannelUpdateFunctor) == 0x8);
struct Modifiers
{
public:
// members
float modifiers[3]; // 0
};
static_assert(sizeof(Modifiers) == 0xC);
class ActorValueStorage
{
public:
// members
BSTArray<BSTTuple<std::uint32_t, float>> baseValues; // 00
BSTArray<BSTTuple<std::uint32_t, Modifiers>> modifiers; // 18
BSReadWriteLock avLock; // 30
};
static_assert(sizeof(ActorValueStorage) == 0x38);
class __declspec(novtable) Actor :
public TESObjectREFR, // 000
public MagicTarget, // 110
public ActorState, // 128
public BSTEventSink<BSMovementDataChangedEvent>, // 138
public BSTEventSink<BSTransformDeltaEvent>, // 140
public BSTEventSink<BSSubGraphActivationUpdate>, // 148
public BSTEventSink<bhkCharacterMoveFinishEvent>, // 150
public BSTEventSink<bhkNonSupportContactEvent>, // 158
public BSTEventSink<bhkCharacterStateChangeEvent>, // 160
public IPostAnimationChannelUpdateFunctor, // 168
public BSTEventSource<MovementMessageUpdateRequestImmediate>, // 170
public BSTEventSource<PerkValueEvents::PerkValueChangedEvent>, // 1C8
public BSTEventSource<PerkValueEvents::PerkEntryUpdatedEvent>, // 220
public BSTEventSource<ActorCPMEvent> // 278
{
public:
static constexpr auto RTTI{ RTTI::Actor };
static constexpr auto VTABLE{ VTABLE::Actor };
static constexpr auto FORM_ID{ ENUM_FORM_ID::kACHR };
// add
virtual void PlayPickUpSound(TESBoundObject* a_boundObj, bool a_pickUp, bool a_use); // 0C6
virtual float GetHeading() const { return data.angle.z; } // 0C7
virtual void SetAvoidanceDisabled([[maybe_unused]] bool a_tf) { return; } // 0C8
virtual void DrawWeaponMagicHands(bool a_draw); // 0C9
virtual void SetPosition(const NiPoint3& a_pos, bool a_updateCharController); // 0CA
virtual void KillDying(); // 0CB
virtual void Resurrect(bool a_resetInventory, bool a_attach3D); // 0CC
virtual bool PutActorInChairBedQuick(TESObjectREFR* a_furniture, std::uint32_t a_index); // 0CD
virtual bool PutActorOnMountQuick(); // 0CE
virtual void Update(float a_delta); // 0CF
virtual void UpdateNoAI(float); // 0D0
virtual void UpdateMotionDrivenState(); // 0D1
virtual void UpdateCharacterControllerSimulationSettings(bhkCharacterController& a_charController); // 0D2
virtual void PotentiallyFixRagdollState(); // 0D3
virtual void UpdateNonRenderSafe(float); // 0D4
virtual bool ShouldHandleEquipNow() const; // 0D5
virtual void SetCrimeGoldValue(TESFaction* a_faction, bool a_violent, std::uint32_t a_value); // 0D6
virtual std::uint32_t ModCrimeGoldValue(TESFaction* a_faction, bool a_violent, std::int32_t a_value); // 0D7
virtual void RemoveCrimeGoldValue(TESFaction* a_faction, bool a_violent, std::int32_t a_value); // 0D8
virtual std::uint32_t GetCrimeGoldValue(const TESFaction* a_faction) const; // 0D9
virtual void GoToPrison([[maybe_unused]] TESFaction* a_faction, [[maybe_unused]] bool a_removeItems, [[maybe_unused]] bool a_realJail) { return; } // 0DA
virtual void ServePrisonTime() { return; } // 0DB
virtual void PayFine([[maybe_unused]] TESFaction* a_faction, [[maybe_unused]] bool a_movetoMarker, [[maybe_unused]] bool a_removeStolenItems) { return; } // 0DC
virtual float GetCurrentEyeLevel() const; // 0DD
virtual void SetInDialoguewithPlayer(bool a_flag); // 0DE
virtual bool GetCannibal() { return false; } // 0DF
virtual void SetCannibal(bool) { return; } // 0E0
virtual bool GetVampireFeed() { return false; } // 0E1
virtual void SetVampireFeed(bool) { return; } // 0E2
virtual void InitiateVampireFeedPackage(Actor* a_target, TESObjectREFR* a_furniture); // 0E3
virtual void InitiateCannibalPackage(Actor* a_target); // 0E4
virtual float GetEyeHeading() const; // 0E5
virtual void GetEyeAngles(float& a_eyeHeading, float& a_eyeLooking) const; // 0E6
virtual void GetEyeVector(NiPoint3& a_origin, NiPoint3& a_direction, bool a_includeCameraOffset) const; // 0E7
virtual void SetRefraction(bool a_enable, float a_refractionPower); // 0E8
virtual float GetAcrobatics() const { return 1.0F; } // 0E9
virtual bool Get3DUpdateFlag(RESET_3D_FLAGS a_flag) const; // 0EA
virtual ObjectRefHandle DropObject(const BGSObjectInstance& a_object, BSTSmallArray<std::uint32_t, 4>* a_stackData, std::int32_t a_number, const NiPoint3* a_point, const NiPoint3* a_rotate); // 0EB
virtual void PickUpObject(TESObjectREFR* a_objREFR, std::int32_t a_count, bool a_playPickUpSounds); // 0EC
virtual void AttachArrow(const BSTSmartPointer<BipedAnim>& a_biped, BGSEquipIndex a_equipIndex); // 0ED
virtual void DetachArrow(const BSTSmartPointer<BipedAnim>& a_biped, BGSEquipIndex a_equipIndex); // 0EE
virtual bool ReloadWeapon(const BGSObjectInstanceT<TESObjectWEAP>& a_weapon, BGSEquipIndex a_equipIndex); // 0EF
virtual std::uint32_t UseAmmo(const BGSObjectInstanceT<TESObjectWEAP>& a_weapon, BGSEquipIndex a_equipIndex, std::uint32_t a_shotCount); // 0F0
virtual bool CalculateCachedOwnerIsInCombatantFaction() const; // 0F1
virtual CombatGroup* GetCombatGroup() const; // 0F2
virtual void SetCombatGroup(CombatGroup* a_group); // 0F3
virtual bool CheckValidTarget(TESObjectREFR& a_ref) const; // 0F4
virtual bool InitiateDialogue(Actor* a_target, PackageLocation* a_packLoc, PackageLocation* a_packSecondLoc); // 0F5
virtual void EndDialogue(); // 0F6
virtual Actor* SetUpTalkingActivatorActor(Actor* a_target, Actor*& a_talkingactivator); // 0F7
virtual void InitiateFlee(TESObjectREFR* a_fleeRef, bool a_runonce, bool a_knows, bool a_combatMode, TESObjectCELL* a_cell, TESObjectREFR* a_ref, float a_fleeFromDist, float a_fleeToDist); // 0F8
virtual void InitiateGetUpPackage(); // 0F9
virtual void PutCreatedPackage(TESPackage* a_pack, bool a_tempPack, bool a_isACreatedPackage, bool a_allowFromFurniture); // 0FA
virtual void UpdateAlpha(); // 0FB
virtual void SetAlpha(float a_newAlpha); // 0FC
virtual float GetAlpha(); // 0FD
virtual bool IsInCombat() const; // 0FE
virtual void UpdateCombat(); // 0FF
virtual void StopCombat(); // 100
virtual bool GetUsesAttackPercents() { return false; } // 101
virtual std::uint8_t GetPowerAttackPercent(POWER_ATTACK_TYPE) { return 0; } // 102
virtual void WeaponSwingCallBack(BGSEquipIndex a_equipIndex); // 103
virtual void SetActorStartingPosition(); // 104
virtual void SetLifeState(ACTOR_LIFE_STATE a_lifeState); // 105
virtual bool HasBeenAttacked(); // 106
virtual void SetBeenAttacked(bool a_flag); // 107
virtual void UseSkill(ActorValueInfo*, float, TESForm*) { return; } // 108
virtual bool IsAtPoint(const NiPoint3& a_point, float a_radius, bool a_expandRadius, bool a_alwaysTestHeight); // 109
virtual bool IsInFaction(const TESFaction* a_faction) const; // 10A
virtual bool HasPerkEntries(std::uint8_t a_entryPoint) const; // 10B
virtual void ForEachPerkEntry(std::uint8_t a_entryPoint, PerkEntryVisitor& a_visitor) const; // 10C
virtual void ApplyPerksFromBase(); // 10D
virtual void StartPowerAttackCoolDown() { return; } // 10E
virtual bool IsPowerAttackCoolingDown() const { return false; } // 10F
virtual void HandleHealthDamage(Actor* a_attacker, float a_damage); // 110
virtual bool QSpeakingDone() const; // 111
virtual void SetSpeakingDone(bool a_done); // 112
virtual NiPoint3 CalculateLOSLocation(ACTOR_LOS_LOCATION a_location) const; // 113
virtual void CreateMovementController(); // 114
virtual bool ShouldPivotToFaceCamera() const { return false; } // 115
virtual BGSKeyword* GetSpeakingAnimArchType() { return speakingAnimArchType; } // 116
virtual void KillImpl(Actor* a_attacker, float a_damage, bool a_sendEvent, bool a_ragdollInstant); // 117
virtual void DoReparentWeapon(const TESObjectWEAP* a_weapon, BGSEquipIndex a_equipIndex, bool a_weaponDrawn); // 118
virtual bool DrinkPotion(AlchemyItem* a_potion, std::uint32_t a_stackID); // 119
virtual bool CheckCast(MagicItem* a_spell, bool a_dualCast, MagicSystem::CannotCastReason* a_reason); // 11A
virtual void CheckTempModifiers() { return; } // 11B
virtual void SetLastRiddenMount(ActorHandle a_mount) { return; } // 11C
virtual ActorHandle QLastRiddenMount() const; // 11D
virtual bool CalculateCachedOwnerIsUndead() const; // 11E
virtual bool CalculateCachedOwnerIsNPC() const; // 11F
virtual bool SetSneaking(bool a_sneaking); // 120
virtual void ResetHavokPhysics(); // 121
virtual bool ShouldDoCharacterUpdate() const { return true; } // 122
virtual bool GetAnimationCanBeInterpolated() const; // 123
virtual const BSFixedString& GetResponseString() const; // 124
virtual void ModifyMovementData(float a_delta, NiPoint3& a_moveDelta, NiPoint3& a_angleDelta); // 125
virtual void UpdateCombatControllerSettings(); // 126
virtual void UpdateFadeSettings(bhkCharacterController* a_charController); // 127
virtual bool ComputeMotionFeedbackSpeedAndDirection(const ActorMotionFeedbackData& a_data, float a_delta, ActorMotionFeedbackOutput& a_retData); // 128
virtual bool UpdateFeedbackGraphSpeedAndDirection(const ActorMotionFeedbackOutput& a_data); // 129
virtual void UpdateActor3DPosition(); // 12A
virtual void PrecacheData(); // 12B
virtual void WornArmorChanged(const BGSObjectInstance& a_object); // 12C
virtual void ProcessTracking(float a_delta, NiAVObject* a_ob3D); // 12D
virtual void CreateActorMover(); // 12E
virtual void DestroyActorMover(); // 12F
virtual bool ShouldRespondToActorCollision(const MovementMessageActorCollision&, const BSPointerHandleSmartPointer<BSPointerHandleManagerInterface<Actor, HandleManager>>& a_otherActor) const; // 130
virtual float CheckClampDamageModifier(ActorValueInfo& a_info, float a_delta); // 131
virtual void ValidateNewPath([[maybe_unused]] const MovementMessageNewPath& a_newPathMessage) { return; } // 132
[[nodiscard]] TESAmmo* GetCurrentAmmo(BGSEquipIndex a_equipIndex) const
{
return currentProcess ? currentProcess->GetCurrentAmmo(a_equipIndex) : nullptr;
}
[[nodiscard]] bool GetHostileToActor(Actor* a_actor)
{
using func_t = decltype(&Actor::GetHostileToActor);
REL::Relocation<func_t> func{ REL::ID(1148686) };
return func(this, a_actor);
}
[[nodiscard]] TESNPC* GetNPC() const noexcept;
void Reset3D(bool a_reloadAll, std::uint32_t a_additionalFlags, bool a_queueReset, std::uint32_t a_excludeFlags)
{
using func_t = decltype(&Actor::Reset3D);
REL::Relocation<func_t> func{ REL::ID(302888) };
return func(this, a_reloadAll, a_additionalFlags, a_queueReset, a_excludeFlags);
}
void SetCurrentAmmo(BGSEquipIndex a_equipIndex, TESAmmo* a_ammo)
{
if (currentProcess) {
currentProcess->SetCurrentAmmo(a_equipIndex, a_ammo);
}
}
// members
NiTFlags<std::uint32_t, Actor> niFlags; // 2D0
float updateTargetTimer; // 2D4
NiPoint3 editorLocCoord; // 2D8
NiPoint3 editorLocRot; // 2E4
TESForm* editorLocForm; // 2F0
BGSLocation* editorLocation; // 2F8
AIProcess* currentProcess; // 300
ActorMover* actorMover; // 308
BGSKeyword* speakingAnimArchType; // 310
BSTSmartPointer<MovementControllerNPC> movementController; // 318
TESPackage* initialPackage; // 320
CombatController* combatController; // 328
TESFaction* vendorFaction; // 330
ActorValueStorage avStorage; // 338
BGSDialogueBranch* exclusiveBranch; // 370
stl::enumeration<ACTOR_CRITICAL_STAGE, std::int32_t> criticalStage; // 378
ObjectRefHandle dialogueItemTarget; // 37C
ActorHandle currentCombatTarget; // 380
ActorHandle myKiller; // 384
float checkMyDeadBodyTimer; // 388
float voiceTimer; // 38C
float voiceLengthTotal; // 390
float underWaterTimer; // 394
std::int32_t thiefCrimeStamp; // 398
std::int32_t actionValue; // 39C
float timeronAction; // 3A0
AITimeStamp calculateVendorFactionTimer; // 3A4
std::uint32_t intimidateBribeDayStamp; // 3A8
float equippedWeight; // 3AC
BSTSmallArray<SpellItem*> addedSpells; // 3B0
ActorMagicCaster* magicCasters[4]; // 3C8
MagicItem* selectedSpell[4]; // 3E8
CastPowerItem* castPowerItems; // 408
TESForm* selectedPower; // 410
TESRace* race; // 418
Perks* perks; // 420
BSTSmartPointer<BipedAnim> biped; // 428
BSNonReentrantSpinLock addingToOrRemovingFromScene; // 430
BSReadWriteLock perkArrayLock; // 434
std::uint32_t flags; // 43C
std::uint32_t moreFlags; // 440
Modifiers healthModifiers; // 444
Modifiers actionPointsModifiers; // 450
Modifiers staminaModifiers; // 45C
Modifiers radsModifiers; // 468
float lastUpdate; // 474
std::uint32_t lastSeenTime; // 478
float armorRating; // 47C
float armorBaseFactorSum; // 480
std::uint32_t visFlags: 4; // 484:00
std::int8_t raceSwitchPending: 1; // 488:0
std::int8_t soundCallBackSet; // 489
bool trespassing; // 48A
};
static_assert(sizeof(Actor) == 0x490);
class ActorEquipManager :
BSTSingletonSDM<ActorEquipManager>, // 00
BSTEventSource<ActorEquipManagerEvent::Event> // 08
{
public:
[[nodiscard]] static ActorEquipManager* GetSingleton()
{
REL::Relocation<ActorEquipManager**> singleton{ REL::ID(1174340) };
return *singleton;
}
bool EquipObject(
Actor* a_actor,
const BGSObjectInstance& a_object,
std::uint32_t a_stackID,
std::uint32_t a_number,
const BGSEquipSlot* a_slot,
bool a_queueEquip,
bool a_forceEquip,
bool a_playSounds,
bool a_applyNow,
bool a_locked)
{
using func_t = decltype(&ActorEquipManager::EquipObject);
REL::Relocation<func_t> func{ REL::ID(988029) };
return func(this, a_actor, a_object, a_stackID, a_number, a_slot, a_queueEquip, a_forceEquip, a_playSounds, a_applyNow, a_locked);
}
bool UnequipObject(
Actor* a_actor,
const BGSObjectInstance* a_object,
std::uint32_t a_number,
const BGSEquipSlot* a_slot,
std::uint32_t a_stackID,
bool a_queueEquip,
bool a_forceEquip,
bool a_playSounds,
bool a_applyNow,
const BGSEquipSlot* a_slotBeingReplaced)
{
using func_t = decltype(&ActorEquipManager::UnequipObject);
REL::Relocation<func_t> func{ REL::ID(1292493) };
return func(this, a_actor, a_object, a_number, a_slot, a_stackID, a_queueEquip, a_forceEquip, a_playSounds, a_applyNow, a_slotBeingReplaced);
}
};
static_assert(sizeof(ActorEquipManager) == 0x60);
}
| [
"ryan__mckenzie@hotmail.com"
] | ryan__mckenzie@hotmail.com |
1c941fa9d103c432b3f2d1f80e2b577a061a260d | c9c4d467432423ad7e718cfa226ee965cd83075c | /.history/5_1_2_20210513070700.cpp | c187f5fe22e2f65a478305f7f4c149ba597e0baf | [] | no_license | WZH-hub/BUPT_2021_C-_lab | 8cb4fafed13ec3f77044cc5835b5bbdf07e24fe8 | 531334b37adb831fe2a824703e0c90ca21808b7f | refs/heads/master | 2023-04-24T07:57:37.492322 | 2021-05-13T01:47:08 | 2021-05-13T01:47:08 | 358,433,723 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,203 | cpp | /*
5.1 虚函数
针对题目3的“形状”类,编写C++程序完成以下功能:
(1) 将【形状】 中的基类计算面积的方法定义为虚函数,比较与【形状(A)】程
序的差异;
(2) 将【形状】中的基类定义为抽象类,比较与【形状(A)】程序的差异。
*/
#include <iostream>
#define pi 3.14
using namespace std;
class shape
{
public:
float area(); //虚函数,抽象类
shape()
{
cout << "这是shape类的构造函数" << endl;
}
~shape()
{
cout << "这是shape类的析构函数" << endl;
}
};
class rectangle : public shape
{
private:
float length, wide;
public:
rectangle(float a, float b)
{
length = a;
wide = b;
cout << "这是rectangle类的构造函数" << endl;
}
~rectangle()
{
cout << "这是rectangle类的析构函数" << endl;
}
float area()
{
return length * wide;
}
};
class circle : public shape
{
private:
float r;
public:
circle(float a)
{
r = a;
cout << "这是circle类的构造函数" << endl;
}
~circle()
{
cout << "这是circle类的析构函数" << endl;
}
float area()
{
return pi * r * r;
}
};
class square : public rectangle
{
private:
float side;
public:
square(float a) : rectangle(a, a)
{
side = a;
cout << "这是square类的构造函数" << endl;
}
~square()
{
cout << "这是square类的析构函数" << endl;
}
};
int main()
{
cout << "创建矩形的类:" << endl;
float a, b;
cout << "输入矩形的长和宽:" << endl;
cin >> a >> b;
rectangle R(a, b);
cout << "矩形的面积是:" << R.area() << endl;
cout << "创建圆形的类:" << endl;
float r;
cout << "输入圆的半径" << endl;
cin >> r;
circle C(r);
cout << "圆形的面积是:" << C.area() << endl;
cout << "创建正方形的类:" << endl;
float s;
cout << "输入正方形的边长" << endl;
cin >> s;
square S(s);
cout << "正方形的面积是:" << S.area() << endl;
return 0;
} | [
"wangzhenhao137@163.com"
] | wangzhenhao137@163.com |
142bb0c42bcc732b129d1f501f2936dd9322a14d | 87992e69818ff429b9d41817bbc1369169585e04 | /CS425-05-Boids/Agent.h | 12e4cb0c2175566cd082052245515230f9bef2ee | [] | no_license | bshea5/CS425_GameProgramming1 | 25a83f52ab5f5ab2b2095c4e3a7cd50a3d8a1914 | e4fdf4e47266b6a8ac6c8ba4c9e975ae15c4f236 | refs/heads/master | 2016-08-07T18:06:34.424943 | 2014-10-29T14:31:19 | 2014-10-29T14:31:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,231 | h | #include "BaseApplication.h"
#include <deque>
#pragma once
#include "Grid.h"
#include "GameApplication.h"
#define CSEPERATE 1.0
#define CALIGN 1.0
#define CCOHESION 1.0
#define KSEPERATE 0.5
#define KALIGN 0.5
#define KCOHESION 0.01
//forward declarations -----
class GridNode;
class Grid;
class GameApplication;
//--------------------------
class Agent
{
private:
Ogre::SceneManager* mSceneMgr; // pointer to scene graph
Ogre::SceneNode* mBodyNode;
Ogre::Entity* mBodyEntity;
float height; // height the character should be moved up
float scale; // scale of character from original model
// all of the animations our character has, and a null ID
// some of these affect separate body parts and will be blended together
enum AnimID
{
ANIM_IDLE_BASE,
ANIM_IDLE_TOP,
ANIM_RUN_BASE,
ANIM_RUN_TOP,
ANIM_HANDS_CLOSED,
ANIM_HANDS_RELAXED,
ANIM_DRAW_SWORDS,
ANIM_SLICE_VERTICAL,
ANIM_SLICE_HORIZONTAL,
ANIM_DANCE,
ANIM_JUMP_START,
ANIM_JUMP_LOOP,
ANIM_JUMP_END,
ANIM_NONE
};
Ogre::AnimationState* mAnims[13]; // master animation list
AnimID mBaseAnimID; // current base (full- or lower-body) animation
AnimID mTopAnimID; // current top (upper-body) animation
bool mFadingIn[13]; // which animations are fading in
bool mFadingOut[13]; // which animations are fading out
Ogre::Real mTimer; // general timer to see how long animations have been playing
Ogre::Real mVerticalVelocity; // for jumping
void setupAnimations(); // load this character's animations
void fadeAnimations(Ogre::Real deltaTime); // blend from one animation to another
void updateAnimations(Ogre::Real deltaTime); // update the animation frame
// for A*
Grid* mGrid; // pointer to the current grid the agent is in
GridNode* mGridNode; // node the agent currently occupies
GridNode* mNextNode; // destination node
// for flocking
GameApplication* mGame; // a pointer to the gameapplication, will use for agent list
Ogre::Vector3 vFlock(); // calculate the flocking velocity
//Ogre::Vector3 vSeparate(); // calculate the separation velocity
//Ogre::Vector3 vAlign(); // calculate the alignment velocity
//Ogre::Vector3 vCohesion(); // calculate the cohesion velocity
void assimilate(); // bring neighbors into the flock
bool mFlocking; // is the agent flocking with other agents?
// for locomotion
bool mWalking; // is the agent walking presently?
Ogre::Real mDistance; // The distance the agent has left to travel
Ogre::Vector3 mDirection; // The direction the object is moving
Ogre::Vector3 mDestination; // The destination the object is moving towards
std::deque<Ogre::Vector3> mWalkList; // The list of points we are walking to
Ogre::Real mWalkSpeed; // The speed at which the object is moving
bool nextLocation(); // Is there another destination?
void updateLocomote(Ogre::Real deltaTime); // update the character's walking
bool procedural; // Is this character performing a procedural animation
void rotate(Ogre::Vector3 towards); // rotate agent towards goal
public:
Agent(GameApplication* game, Ogre::SceneManager* SceneManager, std::string name, std::string filename, float height, float scale);
~Agent();
void setPosition(float x, float y, float z); //set position by coordinates
void claimNode(GridNode* n); //set pointer to current grid node agent is occupying
void setGrid(Grid* g); //set pointer to grid level agent is in
void update(Ogre::Real deltaTime); // update the agent
void setBaseAnimation(AnimID id, bool reset = false); // choose animation to display
void setTopAnimation(AnimID id, bool reset = false);
void genWalkList(); // generate a random walk list
void walkTo(GridNode* n); // walk character from current location to destination node
void walkTo(Ogre::Vector3 dest);// walk character from current location to destination position
//void addToWalkList(GridNode* n); // add destinations to walk list
void moveTo(GridNode* n); // calculate path to destination
bool isFlocking() { return mFlocking; } //return if agent is flocking
void toggleFlocking() { mFlocking = !mFlocking; } //toggle flocking on/off
}; | [
"shea.goog.25@gmail.com"
] | shea.goog.25@gmail.com |
93c923a91e4bec1a249261c16e2eb8c49e00f7ff | 90ce872322538e61829b2063537b5011bf357aee | /WebcamImageDataPipe/FilterPipe.h | bbf034830dbad67cb3facf9aa326342f8c2aab66 | [] | no_license | steinert-a/WebcamImageDataPipe | a64bbdf7cd711312249b0c5b63e7d276e5bb2b83 | cd4d43eb5c6b7370486f2a03a48273a7d47244a9 | refs/heads/master | 2023-03-17T23:14:07.265076 | 2021-03-09T10:21:19 | 2021-03-09T10:21:19 | 345,963,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,601 | h | #pragma once
namespace xfp
{
//--------------------------------------------------------------+
// OPTION !
//--------------------------------------------------------------+
struct OPTION {
OPTION();
OPTION(const tstring&, const tstring&);
OPTION(const OPTION&);
~OPTION();
OPTION& operator=(const OPTION&);
tstring m_Name;
tstring m_Value;
void clear();
};
//--------------------------------------------------------------+
// CONFIG !
//--------------------------------------------------------------+
struct CONFIG {
CONFIG();
CONFIG(const CONFIG&);
~CONFIG();
CONFIG& operator=(const CONFIG&);
std::list<OPTION> m_Options;
void clear();
};
//--------------------------------------------------------------+
// FILTER !
//--------------------------------------------------------------+
struct FILTER {
FILTER();
FILTER(const tstring&, const tstring&, const uint32_t& = 0);
FILTER(const FILTER&);
~FILTER();
FILTER& operator=(const FILTER&);
tstring m_Type;
tstring m_Id;
uint32_t m_Flag;
std::list<OPTION> m_Options;
void clear();
};
//--------------------------------------------------------------+
// XFILTERPIPE !
//--------------------------------------------------------------+
struct XFILTERPIPE {
XFILTERPIPE();
XFILTERPIPE(const XFILTERPIPE&);
~XFILTERPIPE();
XFILTERPIPE& operator=(const XFILTERPIPE&);
CONFIG m_Config;
std::list<FILTER> m_Filters;
void clear();
};
//--------------------------------------------------------------+
// syncronisation !
//--------------------------------------------------------------+
uint32_t SaveXFilterPipe(const XFILTERPIPE&, FILE*);
uint32_t LoadXFilterPipe(QXmlStreamReader* ,XFILTERPIPE&);
uint32_t SaveXFilterPipe(const XFILTERPIPE&, const tstring&);
uint32_t LoadXFilterPipe(const tstring&, XFILTERPIPE&);
uint32_t FilterToString(const FILTER&, tstring&);
uint32_t FilterFromString(const tstring&, FILTER&);
//--------------------------------------------------------------+
// access !
//--------------------------------------------------------------+
tstring getOption(const std::list<OPTION>&, const tstring&, const tstring = _T(""));
void setOption(std::list<OPTION>&, const tstring&, const tstring&);
}
| [
"ewigestille@web.de"
] | ewigestille@web.de |
b4b66cc6c1fc54f23172beb1472acd3045b89f8f | 5d1c4c867c8d2ee1320b9fe3dee977425b1bfebd | /Terminal/Source/Options.cpp | 2ed1570a708627c2505d2a37351dd1c31b4b5a51 | [
"MIT",
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Andres6936/BearLibTerminal | c41020e0d3b45544ac35f1aca49cc6a492c40efe | 4a1a60a7083920461d522ece954339d0bf000777 | refs/heads/master | 2023-03-14T11:59:30.334460 | 2023-02-24T14:36:13 | 2023-02-24T14:36:13 | 192,278,957 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,165 | cpp | /*
* BearLibTerminal
* Copyright (C) 2013-2016 Cfyz
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
* of the Software, and to permit persons to whom the Software is furnished to do
* so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include "BearLibTerminal/Options.hpp"
#include "BearLibTerminal/Keystroke.hpp"
#include "BearLibTerminal/OpenGL.hpp"
namespace BearLibTerminal
{
Options::Options( ) :
terminal_encoding_affects_put( true ),
window_size( 0, 0 ),
window_cellsize( 0, 0 ),
window_title( L"BearLibTerminal" ),
window_icon( L":default_icon" ),
window_resizeable( false ),
window_minimum_size( 1, 1 ),
window_fullscreen( false ),
output_postformatting( true ),
output_vsync( true ),
output_tab_width( 4 ),
output_texture_filter( GL_LINEAR ),
input_precise_mouse( false ),
input_cursor_symbol( '_' ),
input_cursor_blink_rate( 500 ),
input_mouse_cursor( true ),
input_alt_functions( true ),
log_filename( L"bearlibterminal.log" ), // FIXME: dependency failure
log_level( Log::Level::Error ),
log_mode( Log::Mode::Truncate )
{ }
}
| [
"andres6936@live.com"
] | andres6936@live.com |
a55873b4522d51456f5cc066836672bd85ab9a3a | b66742a77c7609c7ee3c9bda9ea594c5f447e8ab | /Timer.h | 6b3a9748230da23f81826f77018fbb343258d8bc | [] | no_license | yippee-ki-yay/ParadajzApp | f91a3901e53dfeab5001539ff550043121d359e6 | e92c04a350e3117b7c3e1462a88e091c3f6128a4 | refs/heads/master | 2021-01-20T08:44:10.435353 | 2013-09-17T17:20:20 | 2013-09-17T17:20:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | h | #ifndef TIMER_H
#define TIMER_H
#include <iostream> //TESTING REMOVE
#include <QLCDNumber>
#include <QMessageBox>
#include <QPushButton>
#include <QTimer>
#include <QString>
#include <QSettings>
class Timer : public QLCDNumber
{
Q_OBJECT
public:
Timer(QWidget* parent = 0);
enum state{POMODORO, BREAK, NONE};
void setTime(int p, int b);
public slots:
void StartPomodoro();
void StartBreak();
void Pause();
private slots:
void Count();
signals:
void FinishedPomodoro();
void FinishedBreak();
private:
void ButtonBox();
QTimer* timer;
QMessageBox* fourthMessageBox;
QPushButton* longBreakButton;
QPushButton* shortBreakButton;
int minut, second;
int m_p, m_b;
bool running;
state curr_state;
int pomodoro_count;
};
#endif // TIMER_H
| [
"nesa993@gmail.com"
] | nesa993@gmail.com |
e49ac379e3f203922dfefc14072a3d8a21756436 | a9010b46e7d70b958a85cfa2fb01fedc1c7ecb1f | /NG_project/Client/client.h | 5cdb9604b06fa172720df29f5c6abc739303a7eb | [] | no_license | OliynykArtem/NG_2021_Oliynyk-artem | b84f905a3ecdaf8e6cc946a324f2bcd9b4e129fc | d183ae0bb665e2d9644604cf976e54130749c603 | refs/heads/main | 2023-08-23T16:52:49.546612 | 2021-09-25T17:13:46 | 2021-09-25T17:13:46 | 383,277,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | h | #ifndef CLIENT_H
#define CLIENT_H
#include <QMainWindow>
#include <QTcpSocket>
#include <QFile>
#include <QMessageBox>
QT_BEGIN_NAMESPACE
namespace Ui { class Client; }
QT_END_NAMESPACE
class Client : public QMainWindow
{
Q_OBJECT
public:
Client(QWidget *parent = nullptr);
~Client();
private slots:
void connectToServer();
void connected();
void Download_file();
private:
Ui::Client *ui;
QTcpSocket *m_socket;
};
#endif // CLIENT_H
| [
"79795767+OliynykArtem@users.noreply.github.com"
] | 79795767+OliynykArtem@users.noreply.github.com |
1414dfa6d68a8bb2ba886dec88bdd69e84bbfc33 | a0265797de895ac58023eaf7119a12589951bbe6 | /tp/include/No.h | 8dc6a5f109c7560494fb99907223467266f4db99 | [] | no_license | mateushcp/Fila-Encadeada-FIFO | 0b82c77854721dc2ce454924e922e89a8fb797af | 06e8521251ceb3b8d860673c6821b98499eb733a | refs/heads/main | 2023-06-25T03:03:39.343049 | 2021-07-24T04:12:00 | 2021-07-24T04:12:00 | 388,624,043 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | h | #ifndef NO_H
#define NO_H
#include <iostream>
#include <cstddef>
#include <string>
#include "Fila.h"
using namespace std;
class No
{
private:
string v;
No* prox;
public:
No();
No(string v);
~No();
string obtemValor();
No* obtemProx();
No* setProx(No* p);
friend class Fila;
};
#endif | [
"noreply@github.com"
] | noreply@github.com |
d5bc42121097cbb94600203b323dd86fac0548e5 | 230b7714d61bbbc9a75dd9adc487706dffbf301e | /device/bluetooth/bluez/bluetooth_remote_gatt_descriptor_bluez.h | 6b4f4766210fea1cd67431e329634466813334d8 | [
"BSD-3-Clause"
] | permissive | byte4byte/cloudretro | efe4f8275f267e553ba82068c91ed801d02637a7 | 4d6e047d4726c1d3d1d119dfb55c8b0f29f6b39a | refs/heads/master | 2023-02-22T02:59:29.357795 | 2021-01-25T02:32:24 | 2021-01-25T02:32:24 | 197,294,750 | 1 | 2 | BSD-3-Clause | 2019-09-11T19:35:45 | 2019-07-17T01:48:48 | null | UTF-8 | C++ | false | false | 2,826 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_BLUEZ_H_
#define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_BLUEZ_H_
#include <stdint.h>
#include <string>
#include <vector>
#include "base/callback_forward.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "dbus/object_path.h"
#include "device/bluetooth/bluetooth_remote_gatt_characteristic.h"
#include "device/bluetooth/bluetooth_remote_gatt_descriptor.h"
#include "device/bluetooth/bluez/bluetooth_gatt_descriptor_bluez.h"
#include "device/bluetooth/bluez/bluetooth_remote_gatt_characteristic_bluez.h"
#include "device/bluetooth/public/cpp/bluetooth_uuid.h"
namespace bluez {
// The BluetoothGattDescriptorBlueZ class implements
// BluetoothRemoteGattDescriptor for remote GATT characteristic descriptors for
// platforms that use BlueZ.
class BluetoothRemoteGattDescriptorBlueZ
: public BluetoothGattDescriptorBlueZ,
public device::BluetoothRemoteGattDescriptor {
public:
// device::BluetoothRemoteGattDescriptor overrides.
~BluetoothRemoteGattDescriptorBlueZ() override;
device::BluetoothUUID GetUUID() const override;
const std::vector<uint8_t>& GetValue() const override;
device::BluetoothRemoteGattCharacteristic* GetCharacteristic() const override;
device::BluetoothRemoteGattCharacteristic::Permissions GetPermissions()
const override;
void ReadRemoteDescriptor(ValueCallback callback,
ErrorCallback error_callback) override;
void WriteRemoteDescriptor(const std::vector<uint8_t>& new_value,
base::OnceClosure callback,
ErrorCallback error_callback) override;
private:
friend class BluetoothRemoteGattCharacteristicBlueZ;
BluetoothRemoteGattDescriptorBlueZ(
BluetoothRemoteGattCharacteristicBlueZ* characteristic,
const dbus::ObjectPath& object_path);
// Called by dbus:: on unsuccessful completion of a request to read or write
// the descriptor value.
void OnError(ErrorCallback error_callback,
const std::string& error_name,
const std::string& error_message);
// The GATT characteristic this descriptor belongs to.
BluetoothRemoteGattCharacteristicBlueZ* characteristic_;
// Note: This should remain the last member so it'll be destroyed and
// invalidate its weak pointers before any other members are destroyed.
base::WeakPtrFactory<BluetoothRemoteGattDescriptorBlueZ> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattDescriptorBlueZ);
};
} // namespace bluez
#endif // DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_BLUEZ_H_
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
727df04ff2ffd0ac2f40fe131672eee512bc246b | 297497957c531d81ba286bc91253fbbb78b4d8be | /gfx/skia/skia/src/sksl/lex/Main.cpp | 5571a3fa10b12766331454d23a4263e867342316 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | marco-c/gecko-dev-comments-removed | 7a9dd34045b07e6b22f0c636c0a836b9e639f9d3 | 61942784fb157763e65608e5a29b3729b0aa66fa | refs/heads/master | 2023-08-09T18:55:25.895853 | 2023-08-01T00:40:39 | 2023-08-01T00:40:39 | 211,297,481 | 0 | 0 | NOASSERTION | 2019-09-29T01:27:49 | 2019-09-27T10:44:24 | C++ | UTF-8 | C++ | false | false | 6,960 | cpp |
#include "src/sksl/lex/DFA.h"
#include "src/sksl/lex/LexUtil.h"
#include "src/sksl/lex/NFA.h"
#include "src/sksl/lex/NFAtoDFA.h"
#include "src/sksl/lex/RegexNode.h"
#include "src/sksl/lex/RegexParser.h"
#include "src/sksl/lex/TransitionTable.h"
#include <stdio.h>
#include <stdlib.h>
#include <algorithm>
#include <sstream>
#include <string>
#include <vector>
static constexpr const char HEADER[] =
"/*\n"
" * Copyright 2017 Google Inc.\n"
" *\n"
" * Use of this source code is governed by a BSD-style license that can be\n"
" * found in the LICENSE file.\n"
" */\n"
"/*****************************************************************************************\n"
" ******************** This file was generated by sksllex. Do not edit. *******************\n"
" *****************************************************************************************/\n";
static void writeH(const DFA& dfa, const char* lexer, const char* token,
const std::vector<std::string>& tokens, const char* hPath) {
std::ofstream out(hPath);
SkASSERT(out.good());
out << HEADER;
out << "#ifndef SKSL_" << lexer << "\n";
out << "#define SKSL_" << lexer << "\n";
out << "#include <cstdint>\n";
out << "#include <string_view>\n";
out << "namespace SkSL {\n";
out << "\n";
out << "struct " << token << " {\n";
out << " enum class Kind {\n";
for (const std::string& t : tokens) {
out << " TK_" << t << ",\n";
}
out << " TK_NONE,";
out << R"(
};
)" << token << "() {}";
out << token << R"((Kind kind, int32_t offset, int32_t length)
: fKind(kind)
, fOffset(offset)
, fLength(length) {}
Kind fKind = Kind::TK_NONE;
int32_t fOffset = -1;
int32_t fLength = -1;
};
class )" << lexer << R"( {
public:
void start(std::string_view text) {
fText = text;
fOffset = 0;
}
)" << token << R"( next();
struct Checkpoint {
int32_t fOffset;
};
Checkpoint getCheckpoint() const {
return {fOffset};
}
void rewindToCheckpoint(Checkpoint checkpoint) {
fOffset = checkpoint.fOffset;
}
private:
std::string_view fText;
int32_t fOffset;
};
} // namespace
#endif
)";
}
static void writeCPP(const DFA& dfa, const char* lexer, const char* token, const char* include,
const char* cppPath) {
std::ofstream out(cppPath);
SkASSERT(out.good());
out << HEADER;
out << "#include \"" << include << "\"\n";
out << "\n";
out << "namespace SkSL {\n";
out << "\n";
size_t states = 0;
for (const auto& row : dfa.fTransitions) {
states = std::max(states, row.size());
}
out << "using State = " << (states <= 256 ? "uint8_t" : "uint16_t") << ";\n";
size_t startChar = 0;
for (; startChar < dfa.fCharMappings.size(); ++startChar) {
if (dfa.fCharMappings[startChar] != 0) {
break;
}
}
SkASSERT(startChar < 18);
out << "static constexpr uint8_t kInvalidChar = 18;";
out << "static constexpr int8_t kMappings[" << dfa.fCharMappings.size() - startChar << "] = {\n"
" ";
const char* separator = "";
for (size_t index = startChar; index < dfa.fCharMappings.size(); ++index) {
out << separator << std::to_string(dfa.fCharMappings[index]);
separator = ", ";
}
out << "\n};\n";
WriteTransitionTable(out, dfa, states);
out << "static const int8_t kAccepts[" << states << "] = {";
for (size_t i = 0; i < states; ++i) {
if (i < dfa.fAccepts.size()) {
out << " " << dfa.fAccepts[i] << ",";
} else {
out << " " << INVALID << ",";
}
}
out << " };\n";
out << "\n";
out << token << " " << lexer << "::next() {";
out << R"(
// note that we cheat here: normally a lexer needs to worry about the case
// where a token has a prefix which is not itself a valid token - for instance,
// maybe we have a valid token 'while', but 'w', 'wh', etc. are not valid
// tokens. Our grammar doesn't have this property, so we can simplify the logic
// a bit.
int32_t startOffset = fOffset;
State state = 1;
for (;;) {
if (fOffset >= (int32_t)fText.length()) {
if (startOffset == (int32_t)fText.length() || kAccepts[state] == -1) {
return )" << token << "(" << token << R"(::Kind::TK_END_OF_FILE, startOffset, 0);
}
break;
}
uint8_t c = (uint8_t)(fText[fOffset] - )" << startChar << R"();
if (c >= )" << dfa.fCharMappings.size() - startChar << R"() {
c = kInvalidChar;
}
State newState = get_transition(kMappings[c], state);
if (!newState) {
break;
}
state = newState;
++fOffset;
}
Token::Kind kind = ()" << token << R"(::Kind) kAccepts[state];
return )" << token << R"((kind, startOffset, fOffset - startOffset);
}
} // namespace
)";
}
static void process(const char* inPath, const char* lexer, const char* token, const char* hPath,
const char* cppPath) {
NFA nfa;
std::vector<std::string> tokens;
tokens.push_back("END_OF_FILE");
std::string line;
std::ifstream in(inPath);
while (std::getline(in, line)) {
if (line.length() == 0) {
continue;
}
if (line.length() >= 2 && line[0] == '/' && line[1] == '/') {
continue;
}
std::istringstream split(line);
std::string name, delimiter, pattern;
if (split >> name >> delimiter >> pattern) {
SkASSERT(split.eof());
SkASSERT(name != "");
SkASSERT(delimiter == "=");
SkASSERT(pattern != "");
tokens.push_back(name);
if (pattern[0] == '"') {
SkASSERT(pattern.size() > 2 && pattern[pattern.size() - 1] == '"');
RegexNode node = RegexNode(RegexNode::kChar_Kind, pattern[1]);
for (size_t i = 2; i < pattern.size() - 1; ++i) {
node = RegexNode(RegexNode::kConcat_Kind, node,
RegexNode(RegexNode::kChar_Kind, pattern[i]));
}
nfa.addRegex(node);
}
else {
nfa.addRegex(RegexParser().parse(pattern));
}
}
}
NFAtoDFA converter(&nfa);
DFA dfa = converter.convert();
writeH(dfa, lexer, token, tokens, hPath);
writeCPP(dfa, lexer, token, (std::string("src/sksl/SkSL") + lexer + ".h").c_str(), cppPath);
}
int main(int argc, const char** argv) {
if (argc != 6) {
printf("usage: sksllex <input.lex> <lexername> <tokenname> <output.h> <output.cpp>\n");
exit(1);
}
process(argv[1], argv[2], argv[3], argv[4], argv[5]);
return 0;
}
| [
"mcastelluccio@mozilla.com"
] | mcastelluccio@mozilla.com |
4331ae8f0dd46cee9a8e4d671e8cfae45a507bbd | 593164a990e054f3641724ffc49c107f29f73b07 | /tic.token/ticdist.token.cpp | 9fec461bfc35f2feef0150ab98265349d2e7cfb1 | [] | no_license | wangyilin1987/eos_token | 003a7e98b6a80c7c5bbc3679087420f8d4101b60 | 7e484be6d7e81895f6d12e9e9a417cc0d831c353 | refs/heads/master | 2020-05-18T06:25:26.283573 | 2019-04-30T10:24:31 | 2019-04-30T10:24:31 | 184,233,923 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,420 | cpp | /**
* @file 代币控制合约
* @copyright defined in eos/LICENSE.txt
*/
#include "ticdist.token.hpp"
void TicDistToken::issue( account_name issue,
asset quantity,
uint64_t lock_flag,
uint64_t lock_rate,
uint64_t lock_time,
string memo )
{
require_auth( _self );
print("issue test:", quantity.amount,";",lock_flag,";",lock_rate,";",lock_time,";",memo.c_str(),"***");
quantity.print();
print("***");
/*校验锁仓参数*/
eosio_assert( lock_flag == 0 || lock_flag == 1, "invalid lock_flag" );
eosio_assert( lock_rate <= 100, "invalid lock_rate" );
/*控制最高只能锁仓10年*/
eosio_assert( lock_time <= 3659, "invalid lock_time" );
/*校验issue调用次数是否超过限制(issuernum)*/
issuernumst isstable(_self,_self);
auto issiter = isstable.find( quantity.symbol.name());
if( issiter == isstable.end() )
{
eosio_assert( false, "need to call setconfig..." );
}
else
{
print("issiter->iss_count:",issiter->iss_count,"|issiter->max_num:",issiter->max_num);
/*校验issue接口调用次数是否超过限制(issnum.max_num)*/
eosio_assert( (issiter->iss_count+1) <= issiter->max_num, "call issue time over max" );
/*累计issue接口调用次数以及初始发行Token量*/
isstable.modify( issiter, 0, [&]( auto& exa )
{
exa.iss_count += 1;
exa.max_quantity += quantity;
});
print("issiter->iss_count:",issiter->iss_count,"|modify end...","issiter->token_contract:",name{issiter->token_contract});
}
asset issue_quantity = quantity;
if(lock_flag == 1)
{
/*需要锁仓*/
asset lock_quantity = quantity;
eosio_assert( lock_rate > 0, "invalid lock_rate; must greater than zero." );
/* 计算锁仓数=总发行量*锁仓比例/100 */
lock_quantity.amount = quantity.amount * lock_rate /100;
/* 计算实际发行量=总发行量-锁仓数 */
issue_quantity.amount -= lock_quantity.amount;
lock_quantity.print();
issue_quantity.print();
uint64_t time_now = now();
/*计算解锁时间*/
//uint64_t releaseTime = time_now + lock_time*24*60*60;
/*tag:测试专用,调整为以分钟为单位*/
uint64_t releaseTime = time_now + lock_time*60;
print("|time_now:",time_now,"|releaseTime:",releaseTime,"|lock begin...");
/*登记锁仓*/
_locks.token_lock(issiter->token_contract, issue, lock_quantity, releaseTime);
/*累计锁仓代币数*/
isstable.modify( issiter, 0, [&]( auto& exa )
{
exa.lock_quantity += lock_quantity;
});
/*锁仓(把锁仓的代币转发给ticdist.token合约)*/
action(
/*permission_level的功能是对 调用的合约action赋权限
所以permission_level的第一个参数的用户需要映射active权限给本合约的eosio.code
*/
permission_level{_self, N(active)},
issiter->token_contract, N(issue),
std::make_tuple(_self, lock_quantity, memo)
).send();
}
print("|issue_quantity:",issue_quantity.amount, "***");
/*调用代币合约发行代币给issue(未锁仓部份)*/
action(
/*permission_level的功能是对 调用的合约action赋权限
所以permission_level的第一个参数的用户需要映射active权限给本合约的eosio.code
*/
permission_level{_self, N(active)},
issiter->token_contract, N(issue),
std::make_tuple(issue, issue_quantity, memo)
).send();
print("call tic.token->create end...");
}
void TicDistToken::addissue(account_name addissue, asset token, string memo )
{
require_auth( addissue );
issuernumst isstable(_self,_self);
const auto& issinfo = isstable.get( token.symbol.name(), "need to call setconfig..." );
issinfo.max_quantity.print();
issinfo.quantity.print();
time_t t = now();
struct tm *curr_ptr;
curr_ptr = gmtime(&t);
print("t:",t,"year:",curr_ptr->tm_year+1900,"|month:",curr_ptr->tm_mon+1, "|day:",curr_ptr->tm_mday, "|hour:", curr_ptr->tm_hour);
/*控制在0点到6点之间调用*/
/*tag: 测试*/
//eosio_assert( curr_ptr->tm_hour >= 0 && curr_ptr->tm_hour <= 6, "between 0 and 6 call addissue ..." );
//GMT时间转换为本地时间
int local_hour = curr_ptr->tm_hour+8;
eosio_assert( local_hour >= 9 && local_hour <= 18, "between 0 and 6 call addissue ..." );
/*控制一天内只允许调用一次*/
/*tag: 测试*/
//eosio_assert( t > issinfo.add_time + 6*60*60, "one call per day is allowed..." );
eosio_assert( t > issinfo.add_time + 60, "one call per day is allowed..." );
asset quantity = issinfo.max_quantity * issinfo.dividend_rate / issinfo.divisor_rate;
/*累计issue接口调用次数以及初始发行Token量*/
isstable.modify( issinfo, 0, [&]( auto& exa )
{
exa.max_quantity += quantity;
exa.quantity = quantity;
exa.add_count += 1;
exa.add_time = t;
});
print("issinfo.token_contract:", issinfo.token_contract);
action(
permission_level{_self, N(active)},
issinfo.token_contract, N(issue),
std::make_tuple(addissue, quantity, memo)
).send();
}
void TicDistToken::unlock(account_name unlocker, string memo)
{
require_auth( unlocker );
struct lockinfst lockinf;
/*检查是否过了锁仓时间*/
_locks.token_unlock(unlocker, &lockinf);
issuernumst isstable(_self,_self);
const auto& issinfo = isstable.get( lockinf.quantity.symbol.name(), "need to call setconfig..." );
issinfo.lock_quantity.print();
lockinf.quantity.print();
eosio_assert( issinfo.lock_quantity >= lockinf.quantity, "big error..." );
/*累计issue接口调用次数以及初始发行Token量*/
isstable.modify( issinfo, 0, [&]( auto& exa )
{
exa.lock_quantity -= lockinf.quantity;
});
print("token_contract:",lockinf.token_contract,"|***");
/*过了锁仓时间,解锁(ticdist.token合约向unlocker转账锁仓的Token)*/
action(
permission_level{_self, N(active)},
lockinf.token_contract, N(transfer),
std::make_tuple(_self, unlocker, lockinf.quantity, memo)
).send();
print("call unlock end...");
}
void TicDistToken::setconfig(account_name token_contract, asset token, uint64_t issuernum, uint64_t dividend_rate, uint64_t divisor_rate)
{
require_auth( _self );
/*通胀率的除数必须是100的倍数*/
eosio_assert( divisor_rate%100 == 0, "divisor_rate must be a multiple of hundred..." );
/*通胀率不能大于1*/
eosio_assert( dividend_rate <= divisor_rate, "divisor_rate must be greater than dividend_rate..." );
issuernumst isstable(_self,_self);
auto issiter = isstable.find( token.symbol.name());
if( issiter == isstable.end() )
{
/*首次调用,配置issnum.max_num*/
isstable.emplace(_self, [&]( auto& exa )
{
asset zero = token;
zero.amount = 0;
exa.max_quantity = zero;
exa.iss_count = 0;
exa.max_num = issuernum;
exa.dividend_rate = dividend_rate;
exa.divisor_rate = divisor_rate;
exa.quantity = zero;
exa.add_count = 0;
exa.add_time = 0;
exa.destroy_quantity = zero;
exa.lock_quantity = zero;
exa.token_contract = token_contract;
});
print("|emplace end...***");
}
else
{
eosio_assert( false, "setconfig had been call.." );
}
print("call setconfig end...");
}
void TicDistToken::destroy( asset quantity, string memo )
{
require_auth( _self );
eosio_assert( quantity.amount > 0, "quantity must greater than 0..." );
issuernumst isstable(_self,_self);
const auto& issinfo = isstable.get( quantity.symbol.name(), "need to call setconfig..." );
issinfo.destroy_quantity.print();
/*查询_self合约的余额*/
asset fromBalance = eosio::token(issinfo.token_contract).get_balance(_self, quantity.symbol.name());
fromBalance.print();
/*校验_self合约的代币数-锁仓代币数 > 销毁代币数*/
eosio_assert( fromBalance-issinfo.lock_quantity>=quantity, "overdrawn balance" );
/*累计issue接口调用次数以及初始发行Token量*/
isstable.modify( issinfo, 0, [&]( auto& exa )
{
exa.destroy_quantity += quantity;
exa.max_quantity -= quantity;
});
/*销毁代币(把代币transfer到代币合约)*/
action(
permission_level{_self, N(active)},
issinfo.token_contract, N(transfer),
std::make_tuple(_self, issinfo.token_contract, quantity, memo)
).send();
}
EOSIO_ABI( TicDistToken, (issue)(unlock)(addissue)(setconfig)(destroy) )
| [
"wang_yi_lin@163.com"
] | wang_yi_lin@163.com |
8b85b46176505a788513b9546857c12149089fab | 586a0f1ea355b0fdc46f3c7848e01ea600b70710 | /src/measure.cpp | d4ac05527f03e904f7ef83aa99196c9aec4eac60 | [] | no_license | cenllv/music-notation | 7a7e46ced57f03f77a2280b5bea45f64eed9b7ff | 27a88c04f8b12c3447b775f970c900d74cfa6b57 | refs/heads/master | 2022-05-04T21:24:44.939951 | 2014-11-30T21:59:23 | 2014-11-30T21:59:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,077 | cpp | #include "measure.h"
typedef vector<Note>::iterator NoteIterator;
Measure::Measure(const Measure& measure)
{
this->m_index = measure.m_index;
this->m_currentRepeat = measure.m_currentRepeat;
this->m_repeatCount = measure.m_repeatCount;
this->m_repeatMode = measure.m_repeatMode;
this->m_repeatMeasure = measure.m_repeatMeasure;
this->m_notes = measure.m_notes;
this->m_isComplete = measure.m_isComplete;
this->m_timing = measure.m_timing;
}
Measure::Measure(UInt index, Timing timing) :
m_index(index),
m_repeatMode(RepeatNone),
m_isComplete(false),
m_timing(timing)
{
}
Measure::Measure(UInt index, Repeat repeatMode) :
m_index(index),
m_repeatMode(repeatMode),
m_isComplete(false)
{
}
Measure::~Measure()
{
}
bool Measure::makeRepeatOfPrev()
{
// TODO: Implement
return false;
}
bool Measure::addNote(Note note)
{
// TODO: Need to check if you are able to add the note
m_notes.push_back(note);
return true;
}
bool Measure::insertNote(UInt index, Note note)
{
NoteIterator it = m_notes.begin();
advance(it, index);
if (it == m_notes.end())
{
return false;
}
m_notes.insert(it, note);
return true;
}
bool Measure::removeNote(Note note)
{
// TODO: Recalculate
for (NoteIterator it = m_notes.begin(); it < m_notes.end(); it++)
{
if (*it == note)
{
m_notes.erase(it);
return true;
}
}
return false;
}
bool Measure::removeNote(UInt index)
{
// TODO: Recalculate
m_notes.erase(m_notes.begin() + index);
return true;
}
Timing* Measure::getTiming()
{
return &m_timing;
}
UInt Measure::getIndex()
{
return m_index;
}
void Measure::setIndex(UInt index)
{
m_index = index;
}
string Measure::description()
{
// Creates a string that lists every note in the measure
string output = "";
output += "Duration, IsRest, Striking, Octave, Note, Accidental\n";
// Print all notes
for (int i = 0; i < m_notes.size(); i++)
{
output += m_notes.at(i).description() ;
output += "\n";
}
return output;
}
| [
"kyledsherman@gmail.com"
] | kyledsherman@gmail.com |
5e188a20ff3902675dbbffeeff7c0599e0e99104 | 43a2fbc77f5cea2487c05c7679a30e15db9a3a50 | /Cpp/Internal (Offsets Only)/SDK/BP_OOS_Rank10_RankDesc_classes.h | d36543a1c37d06e3bad063423b4ca76b72c0edb5 | [] | no_license | zH4x/SoT-Insider-SDK | 57e2e05ede34ca1fd90fc5904cf7a79f0259085c | 6bff738a1b701c34656546e333b7e59c98c63ad7 | refs/heads/main | 2023-06-09T23:10:32.929216 | 2021-07-07T01:34:27 | 2021-07-07T01:34:27 | 383,638,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | h | #pragma once
// Name: SoT-Insider, Version: 1.102.2382.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass BP_OOS_Rank10_RankDesc.BP_OOS_Rank10_RankDesc_C
// 0x0000 (FullSize[0x00E0] - InheritedSize[0x00E0])
class UBP_OOS_Rank10_RankDesc_C : public URankDesc
{
public:
static UClass* StaticClass()
{
static auto ptr = UObject::FindClass("BlueprintGeneratedClass BP_OOS_Rank10_RankDesc.BP_OOS_Rank10_RankDesc_C");
return ptr;
}
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
b592b5e43fae772c2ff79d0c48a648f5c0020a5d | a12774c1b382640bdb8fc030bcaac7ae588e2b2c | /Hierarchical Compuer File System project/include/FileSystem.h | 095d9ee72542ff52461e226cbc07f04752167383 | [] | no_license | zeyadbal/Hierarchical-Compuer-File-System-project | ef6d241b33c41c02872521a0f89296d1641363f0 | 55621268386c3d3d9009d545d3ac902b991bbfca | refs/heads/master | 2020-04-08T12:54:58.119536 | 2018-11-27T16:40:39 | 2018-11-27T16:40:39 | 159,367,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,385 | h | #ifndef FILESYSTEM_H_
#define FILESYSTEM_H_
#include "Files.h"
#include <iostream>
#include "GlobalVariables.h"
class FileSystem {
private:
Directory* rootDirectory;
Directory* workingDirectory;
vector<Directory*> allDirectories;
vector<string>allFilesPaths;
void copyallDirectories(const FileSystem &other);
void steal(FileSystem& other);
void clean();
public:
FileSystem();
FileSystem(const FileSystem &other);
FileSystem(FileSystem&& other);
FileSystem& operator=(const FileSystem& rhs);
FileSystem& operator=(FileSystem &&rhs);
virtual ~FileSystem();
Directory& getRootDirectory() const; // Return reference to the root directory
Directory& getWorkingDirectory() const; // Return reference to the working directory
void setWorkingDirectory(Directory *newWorkingDirectory); // Change the working directory of the file system
void setRootDirectory(Directory *newWorkingDirectory); // Change the working directory of the file system
vector<Directory*> getallDirectories()const;
vector<Directory*> getallDirectories();
Directory* getWorkingDirectoryAddress();
Directory* getRootDirectoryAddress();
void addDirectoryToAllDirectories(Directory *newWorkingDirectory);
void removeFromAllDirectories(string file_dir_name);
void removeChildFromChildrenVector(int i);
void addFilePathToAllFilesPaths(string path);
vector<string> getAllFilesPaths();
};
#endif
| [
"noreply@github.com"
] | noreply@github.com |
7d3504ec364a8f67addc903cb4971756d5363553 | 95d81d0143275d51577ff6493afd80db392475a3 | /ch6/6.25.cpp | 6cf53b7f6e71c53cdaabe6be8bbe719eef461322 | [
"Apache-2.0"
] | permissive | CSLP/Cpp-Primer-5th-Exercises | aa5bb0bc0c8ff4326bf08f60d97dd0e407dc895a | 29ea2e3f4bd32674eb518f431bb1b10aecfaa216 | refs/heads/master | 2020-04-29T04:26:54.668388 | 2020-01-16T07:19:27 | 2020-01-16T07:19:27 | 175,847,389 | 0 | 0 | Apache-2.0 | 2019-03-15T15:37:29 | 2019-03-15T15:37:28 | null | UTF-8 | C++ | false | false | 430 | cpp | #include <iostream>
#include <string>
int main(int argc, char *argv[]) {
std::cout << "All " << argc << " argument"
<< (argc > 1 ? "s are:" : " is:") << std::endl;
for (int i = 0; i < argc; ++i)
std::cout << i << "\t" << argv[i] << std::endl;
if (argc < 3) // programname argument1 argument2 0
return -1;
std::string args(argv[1]);
args += argv[2];
std::cout << args << std::endl;
return 0;
}
| [
"jaege@163.com"
] | jaege@163.com |
b2f5f5fb28320e1ddfecadd70316f0dd1f6643af | b1b14a3846fb1f35365ad0faea58d70d5fde5d24 | /作业/退圈问题/退圈问题/main.cpp | b2048c63f5c3345db65e224665568c89846c4d7d | [] | no_license | Rebecca3150/C-plus-plus | 6090573156ab71179436b08461bbe7afe0178c07 | 53fc42f5810f44eb837623ad3d73d83f5eb53932 | refs/heads/master | 2020-03-08T18:08:15.901134 | 2018-04-07T07:04:37 | 2018-04-07T07:04:37 | 128,287,689 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 708 | cpp | //退圈问题
//Hui Li,November 26,2015
#include <iostream>
using namespace std;
void main()
{
int n;
cout << "请输入人数(n小于1000,大于1):";
cin >> n;
int flag[1000],i;
for(i = 0; i < n; i++)
flag[i] = 1;
int index = 0;
int tuiquanshu = 0;
int m = 0;
while(1)
{
if(flag[index] == 1)
m++;
if(m == 3)
{
tuiquanshu++;
m = 0;
flag[index] = 0;
}
if(tuiquanshu == n - 1)
break;
index++;
if(index == n)
index = 0;
}
for(i = 0; i < n; i++)
if(flag[i] == 1)
{
cout << "最后剩下第" << i + 1 << "位置上的人!" << endl;
break;
}
} | [
"m15732157372@163.com"
] | m15732157372@163.com |
566115dc7c8f4385b15d2ebce565f55d70237a60 | 035a323b68b6dd47691d04cc999a36f32de57486 | /single-linked-list/SingleList.cpp | a8ff7f8e4c24ae7573026a196d5aac4b4dc77d69 | [] | no_license | IHaoMing/DataStructure | 6973a8bb8dd8db0651cd021276d0ca002b73cca5 | d7d22c8d693932defe045073db79f3580dec8dcf | refs/heads/master | 2020-03-20T03:39:23.010343 | 2018-06-13T07:22:11 | 2018-06-13T07:22:11 | 137,154,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,773 | cpp | // data structure
// single linked list
// SingleList.cpp
#include"SingleList.h"
#include<iostream>
Node* sList::create(int a[], int len)
{
head = tail = nullptr;
if (len <= 0) { return nullptr; }
head = new Node(0);
tail = new Node(a[0]);
head->next = tail;
for (int i = 1; i < len; ++i)
{
Node* p = new Node(a[i]);
tail->next = p;
tail = p;
}
head = head->next;
return head;
}
void sList::print()
{
if (head == nullptr) { return; }
Node* p = head;
while (p != tail->next)
{
std::cout << p->data << '\t';
p = p -> next;
}
std::cout<<std::endl;
}
void sList::insert(int pos_data, int new_data)//在pos_data节点后面插入节点new_data
{
if (head == nullptr) { return; }
Node* p = head;
while (p->data != pos_data)
p = p -> next;
Node* pNew = new Node(new_data);
pNew->next = p->next;
p->next = pNew;
}
void sList::add(int new_data)//链表尾部增加节点new_data
{
if (tail == nullptr) { return; }
Node* pNew = new Node(new_data);
tail->next = pNew;
tail = pNew;
}
void sList::destroy()
{
if (head == nullptr) { return; }
Node* p = nullptr;
while (head)
{
p = head->next;
delete head;
head = p;
}
}
void sList::clear()
{
if (head == nullptr) { return; }
Node* p = head->next;
Node* q = nullptr;
while (p)
{
q = p->next;
delete p;
p = q;
}
}
void sList::deletePos(int pos_data)
{
Node* pAhead = nullptr;
Node* p = head;
//删除的头部节点
if (p->data == pos_data)
{
head = head->next;
return;
}
for (;;)
{
pAhead = head;
if (head->next->data == pos_data)
{
//删除尾部节点
if (tail->data == pos_data)
{
delete tail;
tail = head;
head = p;
return;
}
pAhead->next = head->next;
head = p;
return;
}
head = head->next;
}
} | [
"IHaoMing"
] | IHaoMing |
25e20f08a14e0affe977745a82da5a0bf17b7b6b | 5e13af8bf82ca1271ac7e87c9d32151cc5bedbac | /others/DOMO-Core[PoW] OLD VERSION/src/masternodeman.h | 29d5eecac7b3c987fe78c419a5520675520d643b | [
"MIT"
] | permissive | Utopianer/DOMO-Project | 4c3aecc93806743c5165a6ee56b3a5d4bf750b8e | 98a90801c91ab2455fe41c969d604e785c930777 | refs/heads/master | 2022-06-22T02:50:55.164677 | 2022-06-20T12:03:47 | 2022-06-20T12:03:47 | 145,428,530 | 0 | 3 | null | 2018-11-25T21:06:47 | 2018-08-20T14:27:46 | C++ | UTF-8 | C++ | false | false | 4,660 | h | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MASTERNODEMAN_H
#define MASTERNODEMAN_H
#include "base58.h"
#include "key.h"
#include "main.h"
#include "masternode.h"
#include "net.h"
#include "sync.h"
#include "util.h"
#define MASTERNODES_DUMP_SECONDS (15 * 60)
#define MASTERNODES_DSEG_SECONDS (3 * 60 * 60)
using namespace std;
class CMasternodeMan;
extern CMasternodeMan mnodeman;
void DumpMasternodes();
/** Access to the MN database (mncache.dat)
*/
class CMasternodeDB
{
private:
boost::filesystem::path pathMN;
std::string strMagicMessage;
public:
enum ReadResult {
Ok,
FileError,
HashReadError,
IncorrectHash,
IncorrectMagicMessage,
IncorrectMagicNumber,
IncorrectFormat
};
CMasternodeDB();
bool Write(const CMasternodeMan& mnodemanToSave);
ReadResult Read(CMasternodeMan& mnodemanToLoad, bool fDryRun = false);
};
class CMasternodeMan
{
private:
// critical section to protect the inner data structures
mutable CCriticalSection cs;
// critical section to protect the inner data structures specifically on messaging
mutable CCriticalSection cs_process_message;
// map to hold all MNs
std::vector<CMasternode> vMasternodes;
// who's asked for the Masternode list and the last time
std::map<CNetAddr, int64_t> mAskedUsForMasternodeList;
// who we asked for the Masternode list and the last time
std::map<CNetAddr, int64_t> mWeAskedForMasternodeList;
// which Masternodes we've asked for
std::map<COutPoint, int64_t> mWeAskedForMasternodeListEntry;
public:
// Keep track of all broadcasts I've seen
map<uint256, CMasternodeBroadcast> mapSeenMasternodeBroadcast;
// Keep track of all pings I've seen
map<uint256, CMasternodePing> mapSeenMasternodePing;
// keep track of dsq count to prevent masternodes from gaming obfuscation queue
int64_t nDsqCount;
ADD_SERIALIZE_METHODS;
template <typename Stream, typename Operation>
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion)
{
LOCK(cs);
READWRITE(vMasternodes);
READWRITE(mAskedUsForMasternodeList);
READWRITE(mWeAskedForMasternodeList);
READWRITE(mWeAskedForMasternodeListEntry);
READWRITE(nDsqCount);
READWRITE(mapSeenMasternodeBroadcast);
READWRITE(mapSeenMasternodePing);
}
CMasternodeMan();
CMasternodeMan(CMasternodeMan& other);
/// Add an entry
bool Add(CMasternode& mn);
/// Ask (source) node for mnb
void AskForMN(CNode* pnode, CTxIn& vin);
/// Check all Masternodes
void Check();
/// Check all Masternodes and remove inactive
void CheckAndRemove(bool forceExpiredRemoval = false);
/// Clear Masternode vector
void Clear();
int CountEnabled(int protocolVersion = -1);
void DsegUpdate(CNode* pnode);
/// Find an entry
CMasternode* Find(const CScript& payee);
CMasternode* Find(const CTxIn& vin);
CMasternode* Find(const CPubKey& pubKeyMasternode);
CMasternode* Find(const COutPoint& outpoint);
/// Find an entry in the masternode list that is next to be paid
CMasternode* GetNextMasternodeInQueueForPayment(int nBlockHeight, bool fFilterSigTime, int& nCount);
/// Find a random entry
CMasternode* FindRandomNotInVec(std::vector<CTxIn>& vecToExclude, int protocolVersion = -1);
/// Get the current winner for this block
CMasternode* GetCurrentMasterNode(int mod = 1, int64_t nBlockHeight = 0, int minProtocol = 0);
std::vector<CMasternode> GetFullMasternodeVector()
{
Check();
return vMasternodes;
}
std::vector<pair<int, CMasternode> > GetMasternodeRanks(int64_t nBlockHeight, int minProtocol = 0);
int GetMasternodeRank(const CTxIn& vin, int64_t nBlockHeight, int minProtocol = 0, bool fOnlyActive = true);
CMasternode* GetMasternodeByRank(int nRank, int64_t nBlockHeight, int minProtocol = 0, bool fOnlyActive = true);
void ProcessMasternodeConnections();
void ProcessMessage(CNode* pfrom, std::string& strCommand, CDataStream& vRecv);
/// Return the number of (unique) Masternodes
int size() { return vMasternodes.size(); }
std::string ToString() const;
void Remove(CTxIn vin);
/// Update masternode list and maps using provided CMasternodeBroadcast
void UpdateMasternodeList(CMasternodeBroadcast mnb);
};
#endif
| [
"alonewolf2ksk@gmail.com"
] | alonewolf2ksk@gmail.com |
11ec58e0536819d5d6aece5fbb008da9c939a218 | e08f2f4326114fea18ac28c5e3362b8a83be95e0 | /include/skills.hpp | 9905a61541f106d4253a0747338dabf4d85a5de4 | [] | no_license | Marsgate/cadmus5.0 | 87e5d00332a78a57314b590c7a6ec6ccc82fcaf9 | 8ef4a0fb8fbed529537281046b09e456ea4cd9a4 | refs/heads/master | 2020-04-04T19:47:21.754168 | 2019-04-30T03:20:33 | 2019-04-30T03:20:33 | 156,220,490 | 9 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 36 | hpp | void newSkills();
void oldSkills();
| [
"micahrassi@gmail.com"
] | micahrassi@gmail.com |
2b34a750e0e03940bd5412ee85c7e806ac422cc0 | 57d1d62e1a10282e8d4faa42e937c486102ebf04 | /judges/uva/done/11506_2.cpp | 7b28462703211822495e9ad7a3ee54bbbb7133b7 | [] | no_license | diegoximenes/icpc | 91a32a599824241247a8cc57a2618563f433d6ea | 8c7ee69cc4a1f3514dddc0e7ae37e9fba0be8401 | refs/heads/master | 2022-10-12T11:47:10.706794 | 2022-09-24T04:03:31 | 2022-09-24T04:03:31 | 178,573,955 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,988 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <queue>
#define INF (int) 1e9
#define MAX 200
using namespace std;
typedef long long LL;
struct Edge {
int from, to, cap, flow, index;
Edge(int from, int to, int cap, int flow, int index) :
from(from), to(to), cap(cap), flow(flow), index(index) {}
};
struct PushRelabel {
int N;
vector<vector<Edge> > G;
vector<LL> excess;
vector<int> dist, active, count;
queue<int> Q;
PushRelabel(int N) : N(N), G(N), excess(N), dist(N), active(N), count(2*N) {}
void AddEdge(int from, int to, int cap) {
G[from].push_back(Edge(from, to, cap, 0, G[to].size()));
if (from == to) G[from].back().index++;
G[to].push_back(Edge(to, from, 0, 0, G[from].size() - 1));
}
void Enqueue(int v) {
if (!active[v] && excess[v] > 0) { active[v] = true; Q.push(v); }
}
void Push(Edge &e) {
int amt = int(min(excess[e.from], LL(e.cap - e.flow)));
if (dist[e.from] <= dist[e.to] || amt == 0) return;
e.flow += amt;
G[e.to][e.index].flow -= amt;
excess[e.to] += amt;
excess[e.from] -= amt;
Enqueue(e.to);
}
void Gap(int k) {
for (int v = 0; v < N; v++) {
if (dist[v] < k) continue;
count[dist[v]]--;
dist[v] = max(dist[v], N+1);
count[dist[v]]++;
Enqueue(v);
}
}
void Relabel(int v) {
count[dist[v]]--;
dist[v] = 2*N;
for (int i = 0; i < G[v].size(); i++)
if (G[v][i].cap - G[v][i].flow > 0)
dist[v] = min(dist[v], dist[G[v][i].to] + 1);
count[dist[v]]++;
Enqueue(v);
}
void Discharge(int v) {
for (int i = 0; excess[v] > 0 && i < G[v].size(); i++) Push(G[v][i]);
if (excess[v] > 0) {
if (count[dist[v]] == 1)
Gap(dist[v]);
else
Relabel(v);
}
}
LL GetMaxFlow(int s, int t) {
count[0] = N-1;
count[N] = 1;
dist[s] = N;
active[s] = active[t] = true;
for (int i = 0; i < G[s].size(); i++) {
excess[s] += G[s][i].cap;
Push(G[s][i]);
}
while (!Q.empty()) {
int v = Q.front();
Q.pop();
active[v] = false;
Discharge(v);
}
LL totflow = 0;
for (int i = 0; i < G[s].size(); i++) totflow += G[s][i].flow;
return totflow;
}
};
int main()
{
int m, u, v, w, s, t, taux, n;
while(scanf("%d %d", &n, &m) && n)
{
s = 0; t = 1+2*(n-2); taux = n-1;
PushRelabel g(t+1);
for(int i=0; i<n-2; ++i)
{
scanf("%d %d", &v, &w);
--v;
g.AddEdge(2*v-1, 2*v, w);
}
while(m--)
{
scanf("%d %d %d", &u, &v, &w);
--u; --v;
if((u==s && v==taux) || (u==taux && v==s))
g.AddEdge(s, t, w);
else if(u == s)
g.AddEdge(s, 2*v-1, w);
else if(v == s)
g.AddEdge(s, 2*u-1, w);
else if(u == taux)
g.AddEdge(2*v, t, w);
else if(v == taux)
g.AddEdge(2*u, t, w);
else
{
g.AddEdge(2*v, 2*u-1, w);
g.AddEdge(2*u, 2*v-1, w);
}
}
n = t+1;
printf("%lld\n", g.GetMaxFlow(s, t));
}
return 0;
} | [
"dxmendes1@gmail.com"
] | dxmendes1@gmail.com |
39a19fc4389f1ce7a0c896f59735d5def0168259 | 34a87ac369df08ca4a08fa01f7640e33e1ed3c36 | /Event.hpp | e7505c28133efddb4e766d69aed730987d88dfcc | [] | no_license | zeroplusone/SyncND_simulation | 768eeda0ee53a020fecf303d0f5ce44af3eefb17 | 4393be9e259dd9508ca54d1d65047bee7f38df37 | refs/heads/master | 2021-01-16T18:00:16.189780 | 2017-09-01T13:23:42 | 2017-09-01T13:23:42 | 100,034,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | hpp | #ifndef EVENT_H
#define EVENT_H
#define ACTIVE_START 1
#define ACTIVE_END 2
#define CALIBRATION 0
class Event {
public:
// Event();
Event(int, int, int, double);
int groupId;
int nodeId;
int eventType;
double time;
};
#endif | [
"a711186@gmail.com"
] | a711186@gmail.com |
7c8d9215acb73fc9d6bd67d74716b9cc71576148 | 2318cd247e67403287f5dad10edbee53236debcd | /Bicolouring.cpp | 40a7a869cadb8830e8aa3b0df94d72a1bb910017 | [] | no_license | maksudul24/All_Contest_Code | bcc04173556ce5cc6909d3614caa5a71fecc7c95 | 75eebc126356bb65e841684e6a37cf5b6f275ed6 | refs/heads/master | 2021-02-11T14:16:50.581511 | 2020-03-03T00:32:56 | 2020-03-03T00:32:56 | 244,498,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | cpp | #include <bits/stdc++.h>
#define P(X) cout<<"db "<<X<<endl;
#define P2(X,Y) cout<<"d2 "<<X<<" "<<Y<<endl;
#define ll long long
#define rep(i,n) for(i=1;i<=n;i++)
#define FO freopen("t.txt","w",stdout);
#define MS(XX,YY) memset(XX,YY,sizeof(XX));
#define pii pair<int,int>
using namespace std;
int level[1000];
void path(int n);
int main()
{
int i,j,n,cas=0,ts,x,u,v,length,dis,destination,edge,prev,wrong,y,sw;
freopen("in.txt","r",stdin);
vector<int> node[210];
while(1){
scanf("%d",&n);
if(!n) break;
scanf("%d",&edge);
for(i=0;i<edge;i++){
scanf("%d %d",&x,&y);
node[x].push_back(y);
}
queue<int> q;
for(i=0;i<300;i++) level[i]=-1;
q.push(0); //bfs stariting
level[0]=1;
wrong=0;
while(!q.empty()){
u=q.front();
q.pop();
length=node[u].size();
for(v=0;v<length;v++){
if(level[node[u][v]]==-1){
level[node[u][v]]=level[u]+1;
q.push(node[u][v]);
}
else if(level[node[u][v]]%2==level[u]%2 && level[node[u][v]]!=level[u]){
wrong=1;
// printf("Node:%d = level:%d to Node:%d = level:%d\n",u,level[u],node[u][v],level[node[u][v]]);
break;
}
}
if(wrong) break;
}
if(wrong) printf("NOT BICOLORABLE.\n");
else printf("BICOLORABLE.\n");
for(i=0;i<210;i++) node[i].clear();
}
return 0;
}
| [
"maksudulrabat@gmail.com"
] | maksudulrabat@gmail.com |
f569d3204d27cd30a5a669a6eabdd4a3c69b23a8 | e52d4f3b4abfe4f64bdbe06db10e8b6fd4fa9acf | /actioncomponent.h | f2cffc1525d13b57ed92d79e027cc371904df48f | [] | no_license | PropFault/BlastCompanyAnimationModule | f29a06bf16e2da5e4ca93bc2eeaeace1b1038aa8 | d0e335e5a0dd12783437aa5abff72745dbbcda30 | refs/heads/master | 2022-10-17T18:26:44.724187 | 2020-06-13T14:57:40 | 2020-06-13T14:57:40 | 268,476,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | h | #ifndef ACTION_H
#define ACTION_H
#include "../BlastCompany/component.h"
#include <string>
class ActionComponent : public Component{
private:
float startPoint;
float endPoint;
bool hasBeenStarted;
bool hasBeenEnded;
public:
static const std::string INIT_PARAM_START_POINT;
static const std::string INIT_PARAM_STOP_POINT;
ActionComponent(const std::string &componentName);
float getStartPoint() const;
void setStartPoint(float value);
float getEndPoint() const;
void setEndPoint(float value);
virtual void onActionStart() = 0;
virtual void onActionUpdate(float playheadPosition, float relativePlayheadPosition)=0;
virtual void onActionEnd() = 0;
// Component interface
protected:
void _init(nlohmann::json json);
void _deinit();
public:
virtual Component *clone() = 0;
bool getHasBeenStarted() const;
void setHasBeenStarted(bool value);
bool getHasBeenEnded() const;
void setHasBeenEnded(bool value);
};
#endif // ACTION_H
| [
"propfault@example.com"
] | propfault@example.com |
ceb0721a39dd67276228c89b78ec9deb0f0b129c | 7f2717b794221e49a2cdc3527d3c83936b73966b | /lab3/Unit1.h | d8793df97bafa68a7b1376b3d8916d009a11ae7e | [] | no_license | dzmitryyermalovich/oaip | 333980ede886783757ce72b004eea75e690e745c | f2da6de0168732d4a7e089e576d308eca53cb752 | refs/heads/master | 2023-05-05T13:23:45.284714 | 2021-05-27T15:22:48 | 2021-05-27T15:22:48 | 340,933,920 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,786 | h | //---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.Dialogs.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TMemo *Memo1;
TComboBox *ComboBox1;
TComboBox *ComboBox2;
TComboBox *ComboBox3;
TComboBox *ComboBox4;
TComboBox *ComboBox5;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label4;
TLabel *Label5;
TButton *Button1;
TButton *Button2;
TButton *Button3;
TEdit *Edit1;
TComboBox *ComboBox6;
TComboBox *ComboBox7;
TLabel *Label6;
TLabel *Label7;
TRadioGroup *RadioGroup1;
TButton *Button4;
TButton *Button5;
TFileOpenDialog *FileOpenDialog1;
TButton *Button6;
TButton *Clear;
void __fastcall ComboBox1Change(TObject *Sender);
void __fastcall Button1Click(TObject *Sender);
void __fastcall Button2Click(TObject *Sender);
void __fastcall Button3Click(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall Button4Click(TObject *Sender);
void __fastcall Button5Click(TObject *Sender);
void __fastcall Button6Click(TObject *Sender);
void __fastcall ClearClick(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
| [
"ermolovichdima22@gmail.com"
] | ermolovichdima22@gmail.com |
3071b580fe147ce3b95693731c65c27567d17d88 | fc90b813404e3c939c5c56ffadcc9ca3137449e8 | /sources/DataParameters.cc | 09bae2ba3be8af873076a5ca6859e89e3284391e | [] | no_license | EliottDelannay/libMFM | d9bb818ac7c1854c3846080411925e5a66b8fb24 | 8d9fede5fbb780f47a0fdf011387486fd9c4b31e | refs/heads/master | 2020-12-21T17:27:20.020431 | 2019-12-09T18:42:30 | 2019-12-09T18:42:30 | 236,503,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,407 | cc | // Author: $Author: patois $ modified by Legeard
/***************************************************************************
// DataParameters.cpp - Parameters name handling
//////////////////////////////////////////////////////////////////////////
//
//
// DataParameters
//
// Handle parameters data names and related offsets in the event buffer.
// Parameter on GANIL Tapes have three specification :
// - Name of parameter ( char)
// - Label : (int) it is the number witch is notified in electronique
// - Nbit : (int) number of bits of parameter
// - Index : (int) it is the order number inside array.
// Note , often, we can find that index and labels are equal
// This class handle conversion between those two representation.
//
/////////////////////////////////////////////////////////////////////////
//
// ---------------------------------------------------------------------------
// ***************************************************************************
// * *
// * This program is free software; you can redistribute it and/or modify *
// * it under the terms of the GNU General Public License as published by *
// * the Free Software Foundation; either version 2 of the License, or *
// * (at your option) any later version. *
// * *
// ***************************************************************************/
#include "DataParameters.h"
#include "stdio.h"
#include "stdlib.h"
#include <sys/stat.h>
#include <vector>
#include <list>
//______________________________________________________________________________
DataParameters::DataParameters(void) {
//Default constructor. Don't create anything yet.
fNb_Parameters = 0;
DefaultDataPar.SetNbits(16);
DefaultDataPar.SetDepth(1);
DefaultDataPar.SetLabel(0);
}
//______________________________________________________________________________
DataParameters::~DataParameters(void) {
fList.clear();
}
//_____________________________________________________________________________
int DataParameters::Fill(const char *buffParam) {
// Data from the parameter buffer (buffParam) have been read from disk
//and parsed by this method to create the list of labels.
//We work on a copy of buffParam because strtok_r modify his parameters
char workString[strlen(buffParam)];
strcpy(workString, buffParam);
char nomParam[20];
int numPar, nbBits, depth;
char *param, *paramElem;
char *savepointer1, *savepointer2;
param = strtok_r(workString, " \x0d", &savepointer1);
while (param != NULL) {
depth = 1; //Default value
if (!(strncmp(param, " ", 4)) or !(strncmp(param, "!", 1))) {
break;
}
paramElem = strtok_r(param, " ,", &savepointer2);
strcpy(nomParam, paramElem);
paramElem = strtok_r(NULL, " ,", &savepointer2);
//We convert a string to a int, ex : "25" to 25
numPar = atoi(paramElem);
paramElem = strtok_r(NULL, " ,", &savepointer2);
nbBits = atoi(paramElem);
paramElem = strtok_r(NULL, " ,", &savepointer2);
if (paramElem != NULL) {
depth = atoi(paramElem);
}
param = strtok_r(NULL, " \x0d", &savepointer1);
DataPar *par = new DataPar(nomParam, numPar, nbBits, depth);
fList.push_back(*par);
}
fNb_Parameters = fList.size();
creatLabelToIndexVectors();
return (fNb_Parameters);
}
//______________________________________________________________________________
void DataParameters::FillLabelToExist() {
DataPar *par;
int index = 0;
int current_label;
for (index = 0; index < fNb_Parameters; index++) {
par = (DataPar*) &(fList[(int) index]);
current_label = par->Label();
fLabelToExist[current_label] = 1;
}
}
//______________________________________________________________________________
void DataParameters::FillLabelToIndexVectors() {
uint32_t index = 0;
DataPar *par;
int current_label;
for (index = 0; (int) index < fNb_Parameters; index++) {
par = (DataPar*) &(fList[(int) index]);
current_label = par->Label();
fLabelToIndex[current_label] = (uint32_t) index;
}
}
//______________________________________________________________________________
int DataParameters::FillFromActionFile(const char *actionfile) {
// Data from the parameter buffet (buffParam) have been read from disk and is
// parsed by this routine who create the list of labels and corresponding
// label number
string test;
FILE *fp = fopen(actionfile, "r");
if (fp == NULL) {
fError.TreatError(2, -1, "Action File not Open", actionfile);
return 0;
}
char line[MAX_CAR];
char parametre[MAX_CAR];
int label, nbbits, depth;
int lengthstring = 0;
int increment = 0;
while (fgets(line, (MAX_CAR - 1), fp)) {
test = line;
increment++;
lengthstring = test.length();
if (lengthstring < 5)
break;
depth = 1; //Default value
char *token;
token = strtok(&line[0], " ");
strcpy(parametre, token);
token = strtok(NULL, " ");
label = atoi(token);
token = strtok(NULL, " ");
nbbits = atoi(token);
token = strtok(NULL, " ");
if (token != NULL) {
depth = atoi(token);
}
if (depth <= 0)
depth = 1;
DataPar par(parametre, label, nbbits, depth);
fList.push_back(par);
}
fclose(fp);
if (increment == 0) {
fError.TreatError(2, -1, "Action File empty", actionfile);
return 0;
}
fNb_Parameters = fList.size();
creatLabelToIndexVectors();
return (fNb_Parameters);
}
//______________________________________________________________________________
DataPar* DataParameters::FindParameterObject(const string parName) {
DataPar *par = NULL;
for (unsigned int i = 0; i < fList.size(); i++) {
par = (&fList[i]);
int comp = ((par->Name()).compare(parName));
if (comp == 0) {
break;
} else {
par = NULL;
}
}
return par;
}
//______________________________________________________________________________
int DataParameters::GetLabel(const string parName) {
// Return the label number corresponding to a text label.
DataPar *par = FindParameterObject(parName);
string message;
if (par == NULL) {
message = "Parameter ";
message += parName;
message += " not found! (DataParameters::GetLabel)\n";
fError.TreatError(2, -1, &message);
return (-1);
}
return (par->Label());
}
//______________________________________________________________________________
int DataParameters::GetLabel(const int index) {
// Return the Label number corresponding to a text label.
DataPar *par = NULL;
par = (DataPar*) (&fList[(unsigned int) index]);
string message;
int retour = 0;
if (!par) {
message = "Parameter ";
message += index;
message += " not found! (DataParameters::GetLabel(const int index))";
fError.TreatError(2, -1, &message);
return (-1);
}
retour = par->Label();
return (retour);
}
//______________________________________________________________________________
int DataParameters::GetNbits(const string parName) {
// Return number of bit corresponding to a text label.
DataPar *par = FindParameterObject(parName);
string message;
if (!par) {
message = "Parameter ";
message += parName;
message += " not found! (DataParameters::GetNbits)";
fError.TreatError(2, -1, &message);
return (-1);
}
return (par->Nbits());
}
//______________________________________________________________________________
int DataParameters::GetNbitsFromIndex(const int index) {
// Return number of bit corresponding to index.
DataPar *par = (DataPar*) (&fList[index]);
string message;
int retour = 0;
if (!par) {
message = "Parameter ";
message += index;
message += " not found! (DataParameters::GetNbits(const int index))";
fError.TreatError(2, -1, &message);
return (-1);
}
retour = par->Nbits();
return (retour);
}
//______________________________________________________________________________
int DataParameters::GetDepth(const string parName) {
// Return number of bit corresponding to a text label.
DataPar *par = FindParameterObject(parName);
string message;
if (!par) {
message = "Parameter ";
message += parName;
message += " not found! (DataParameters::GetDepth)";
fError.TreatError(2, -1, &message);
return (-1);
}
return (par->Depth());
}
//______________________________________________________________________________
int DataParameters::GetDepthFromIndex(const int index) {
// Return number of bit corresponding to index.
int retour = 0;
if (index < 0)
return (retour);
DataPar *par = (DataPar*) &(fList[index]);
string message;
if (!par) {
message = "Parameter ";
message += index;
message
+= " not found! (DataParameters::GetDepthFromIndex(const int index))";
fError.TreatError(2, -1, &message);
return (-1);
}
retour = par->Depth();
return (retour);
}
//______________________________________________________________________________
int DataParameters::GetDepthFromLabel(const int label) {
// Return number of bit corresponding to label.
return (GetDepthFromIndex(GetIndex(label)));
}
//______________________________________________________________________________
const char* DataParameters::GetParNameFromIndex(const int index) {
// Return the text label name corresponding to an index.
if (index < 0)
return ("");
DataPar *par = (DataPar*) &(fList[index]);
string message;
if (!par) {
message = "Parameter order index ";
message += index;
message += " not found! (DataParameters::GetParName) ";
fError.TreatError(2, -1, &message);
return ("");
}
return ((par->Name()).data());
}
//______________________________________________________________________________
const char* DataParameters::GetParNameFromLabel(const int label) {
// Return the text label name corresponding to an index.
return (GetParNameFromIndex(GetIndex(label)));
}
//______________________________________________________________________________
int DataParameters::GetIndex(const int label) {
// Return the order index number
return (fLabelToIndex[label]);
}
//______________________________________________________________________________
int DataParameters::GetMaxLabel() {
// Return the order index number
int i, current_label, indexmax = fList.size();
DataPar *par;
int max_label = 0;
for (i = 0; i < indexmax; i++) {
par = (DataPar*) &(fList[i]);
if (!par) {
break;
}
current_label = (int) par->Label();
if (max_label < current_label)
max_label = current_label;
}
return (max_label);
}
//______________________________________________________________________________
void DataParameters::DumpListOfNames(){
// Dump Parameter names and infos.
int presentation = 0;
cout << "--------- DUMPING PARAMETERS NAMES--------------------"
<< endl;
for (int i = 0; i < (int) (fList.size()); i++) { // WARNING : index start at one, the first value is boggus
cout << "Index order :" << i << " "
<< ((DataPar*) (&fList[i]))->DumpDataPar() << endl;
if (presentation++ == 0) {
cout << "\n";
presentation = 0;
}
}
if (presentation != 0)
cout << "\n";
cout << "--------- END ----------------------------" << endl;
}
//______________________________________________________________________________
void DataParameters::DumpListPara() {
// Dump parameters
//DataPar *par;
for (int i = 0; i < fNb_Parameters; i++) {
cout << GetParNameFromIndex((int) i) << " Index = " << (int) i
<< " Label :" << (int) GetLabel((int) i) << " Bits:"
<< (int) GetNbitsFromIndex((int) i) << " Depth:"
<< (int) GetDepthFromIndex((int) i) << " " << "\n";
}
}
//______________________________________________________________________________
bool DataParameters::IsAActionFile(const char *actionfile) {
FILE *fp = fopen(actionfile, "r");
char line[MAX_CAR];
char* tmp = fgets(line, (MAX_CAR - 1), fp);
if (!tmp)
fError.TreatError(2, -1, "IsAActionFile");
char* token;
token = strtok(&line[0], " ");
if (token == NULL)
return false;
token = strtok(NULL, " ");
if (token == NULL or atoi(token) == 0)
return false;
token = strtok(NULL, " ");
if (token == NULL or atoi(token) == 0)
return false;
token = strtok(NULL, " ");
if (token != NULL and atoi(token) == 0)
return false;
token = strtok(NULL, " ");
if (token != NULL)
return false;
fclose(fp);
return true;
}
//______________________________________________________________________________
int DataParameters::GetIndex(const string parName) {
// Return the order index number
return (GetIndex(GetLabel(parName)));
}
//______________________________________________________________________________
void DataParameters::TestList(){
char* name = NULL;
int label, nbb, depth;
cout << " Test Parameter List" << endl;
for (int i = 0; i < fNb_Parameters; i++) {
name = (char*) GetParNameFromIndex(i);
label = GetLabel(i);
nbb = GetNbitsFromIndex(i);
depth = GetDepthFromIndex(i);
cout
<< "-----------------tit-------------------------------------------------\n";
cout << "From Index : " << i << " GetParNameFromIndex(index)=" << name
<< " GetLabel(index)=" << label << " GetNbitsFromIndex(index)="
<< nbb << " GetDepthFromIndex(index)=" << depth << "\n";
cout << "From Name : " << name << " GetLabel(Name)=" << GetLabel(name)
<< " GetIndex(name)=" << GetIndex(name) << " GetNbits(name)"
<< GetNbits(name) << " GetDepth(Name)=" << GetDepth(name)
<< "\n";
cout << "From Label : " << label << " GetParNameFromLabel()="
<< GetParNameFromLabel(label) << " GetIndex(label)="
<< GetIndex(name) << " GetNbitsFromLabel(label)"
<< GetNbitsFromLabel(label) << " GetDepthFomLabel(Name)="
<< GetDepthFromLabel(label) << "\n";
}
}
//______________________________________________________________________________
int DataParameters::GetNbitsFromLabel(const int label) {
// Return number of bit corresponding to index.
return (GetNbitsFromIndex((label)));
}
#ifndef NO_MFMXML
//_______________________________________________________________________________
void DataParameters::CreatXML() {
string tempo;
stringstream sstempo("");
fTiXmlDocument = new TiXmlDocument();
TiXmlDeclaration * decl = new TiXmlDeclaration("1.0", "", "");
fTiXmlDocument->LinkEndChild(decl);
TiXmlElement * rootElement = new TiXmlElement(XMLTAG_PARAMETER_DESCRIPTION);
fTiXmlDocument->LinkEndChild(rootElement);
TiXmlElement * dataElement = new TiXmlElement(XMLTAG_data_description);
rootElement->LinkEndChild(dataElement);
TiXmlElement * channelsElement = new TiXmlElement(XMLTAG_channels);
dataElement->LinkEndChild(channelsElement);
DefaultDataPar.CreatXMLdefault((TiXmlNode *) channelsElement);
for (int i = 0; i < (int) (fList.size()); i++) {
((DataPar*) (&fList[i]))-> CreatXML((TiXmlNode *) channelsElement,
&DefaultDataPar);
}
}
//_______________________________________________________________________________
void DataParameters::ReadXMLspecific(TiXmlNode* pParent, unsigned int indent) {
TiXmlNode* pChild;
TiXmlText* pText;
int t = pParent->Type();
printf("%s", getIndent(indent));
string element;
element = pParent->Value();
printf("Element [%s]", element.data());
if (element.compare(XMLTAG_PARAMETER_DESCRIPTION) == 0)
printf("---parameter_description ok\n");
if (element.compare("channels") == 0) {
DefaultDataPar.ReadXML(pParent, indent + 1);
printf("---channels ok\n");
}
if (element.compare("channel") == 0) {
DataPar *currentpar = new DataPar(DefaultDataPar);
currentpar->ReadXML(pParent, indent + 1);
fList.push_back(currentpar);
printf("---channel ok\n");
}
for (pChild = pParent->FirstChild(); pChild != 0; pChild
= pChild->NextSibling()) {
ReadXMLspecific(pChild, indent + 1);
}
}
#endif
/*
//_______________________________________________________________________________
int DataParameters::ReadXML(TiXmlNode* pParent, unsigned int indent) {
if (!pParent)
return 0;
TiXmlNode* pChild;
TiXmlText* pText;
int t = pParent->Type();
printf("%s", getIndent(indent));
string element;
switch (t) {
case TiXmlNode::TINYXML_DOCUMENT:
printf("Document");
break;
case TiXmlNode::TINYXML_DECLARATION:
printf("Declaration");
break;
case TiXmlNode::TINYXML_ELEMENT:
element = pParent->Value();
printf("Element [%s]", element.data());
if (element.compare(XMLTAG_PARAMETER_DESCRIPTION) == 0)
printf("---parameter_description ok\n");
if (element.compare("channels") == 0) {
DefaultDataPar.ReadXML(pParent, indent + 1);
printf("---channels ok\n");
}
if (element.compare("channel") == 0) {
DataPar *currentpar = new DataPar(DefaultDataPar);
currentpar->ReadXML(pParent, indent + 1);
fList.push_back(currentpar);
printf("---channel ok\n");
}
break;
case TiXmlNode::TINYXML_TEXT:
pText = pParent->ToText();
printf("Text: [%s]", pText->Value());
break;
case TiXmlNode::TINYXML_COMMENT:
if (fVerbose)
printf("Comment: [%s]", pParent->Value());
break;
case TiXmlNode::TINYXML_UNKNOWN:
fError.TreatError(1, 0, "TiXmlNode Unknown");
printf("Unknown");
break;
default:
break;
}
printf("\n");
for (pChild = pParent->FirstChild(); pChild != 0; pChild
= pChild->NextSibling()) {
ReadXML(pChild, indent + 1);
}
fNb_Parameters = fList.size();
if(fNb_Parameters>0) creatLabelToIndexVectors();
return (fNb_Parameters);
}
*/
//_______________________________________________________________________________
| [
"luc.legeard@ganil.fr"
] | luc.legeard@ganil.fr |
935d890744e8f5232c43d3bf95daafb45e96c5b4 | ebe46584b6e3e7c3ff7927076334c0a93907c6cd | /Teacher/viewteacherdialog.cpp | a0d9e993f77c3d6c525a4361a87f2624c7e11035 | [] | no_license | MrRisoni/Gauss | 119a6d276b6874a1da57a965239f648424faa392 | 9d08ef1b78e2dbc7cdb527dd3fcb8d895d780e26 | refs/heads/master | 2021-01-21T14:02:05.522691 | 2016-05-03T10:42:32 | 2016-05-03T10:42:32 | 34,989,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,875 | cpp | #include "viewteacherdialog.h"
#include "ui_viewteacherdialog.h"
#include "../orm.h"
ViewTeacherDialog::ViewTeacherDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::ViewTeacherDialog)
{
ui->setupUi(this);
//combo paytype
for (Departments D : ORM::getDeps()) {
ui->comboDeps->addItem(D.getDepName());
}
for (PayType p : ORM::getPayTypes()) {
ui->comboPayType->addItem(p.getComment());
ui->comboSelectPayType->addItem(p.getComment());
}
}
ViewTeacherDialog::~ViewTeacherDialog()
{
delete ui;
}
void ViewTeacherDialog::on_pushButton_clicked()
{
Teacher L = ORM::searchteacherByname(ui->lineName->text());
ui->labName->setText(L.getName());
ui->labAddress->setText(L.getAddress());
ui->labADT->setText(L.getADT());
ui->labelAFM->setText(L.getAFM());
ui->labEndMember->setText(L.getEndOfContract().toString());
ui->labMobile->setText(L.getMobile());
ui->labPhone->setText(L.getPhone());
ui->labMemberSince->setText(L.getRegDate().toString());
//get groupis
ui->comboPayForGroup->clear();
for (QString gid : ORM::getGroupIDs(ui->lineName->text())) {
ui->comboPayForGroup->addItem(gid);
}
}
void ViewTeacherDialog::on_pushAddAmount_clicked()
{
Payments pay=Payments();
pay.setDat(QDate::currentDate());
pay.setMoney(ui->linePoso->text().toFloat());
pay.setTeacherName(ui->labName->text());
pay.setPayType(ui->comboSelectPayType->currentText());
pay.setGroupID(ui->comboPayForGroup->currentText().toInt());
ORM::save(pay);
}
void ViewTeacherDialog::on_comboDeps_currentIndexChanged(const QString &arg1)
{
ui->comboAllCourses->clear();
for (Courses c : ORM::getUniCourses(arg1)) {
ui->comboAllCourses->addItem(c.getName());
}
}
void ViewTeacherDialog::on_pushAddCourse_clicked()
{
}
| [
"vanguelisk@gmail.com"
] | vanguelisk@gmail.com |
b0620b15e407e8c96502935829b45ca17c7428e8 | aab0ce1a1bb06ae1b3fb2643359bd3acff7613d4 | /setbitcount.cpp | 5a0ab69b7ab2408973b7378d21540afc8c015455 | [] | no_license | AKHILAAMUDALA/Bit_Magic | ff52739cb0f309e490cd497ff911bccbf3ebe3ca | da357f64d0f04acbf146c8f195eb74e1ebfc0a64 | refs/heads/main | 2023-04-27T05:08:31.914875 | 2021-05-18T04:22:02 | 2021-05-18T04:22:02 | 368,398,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | cpp | #include<iostream>
#include<bits/stdc++.h>
using namespace std;
int main()
{
int num;
cin>>num;
int count=0;
while(num!=0)
{
if(num&1==1)
{
count++;
}
num=num>>1;
}
cout<<count;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
b2bb1877c73d282d14b9a3295082e030ed4ad83b | 1c674b5cc06f379731aac53b7b04447c29454230 | /misc/MfcTest/MfcTest/MfcTest.cpp | 331ef254912316b07ad9ce441dbd0f67caa17fb4 | [
"OpenSSL",
"Zlib"
] | permissive | Shingayi-Bamhare/objeck-lang | 58275121735260d95f6ecfd996267f65526e781c | 2ab3751133b0a8c05cccf03f4a6c880fb012fa72 | refs/heads/master | 2020-06-16T12:35:41.467450 | 2019-07-06T03:56:29 | 2019-07-06T03:56:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,544 | cpp | // MfcTest.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "MfcTest.h"
#include "MainFrm.h"
#include "MfcTestDoc.h"
#include "MfcTestView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMfcTestApp
BEGIN_MESSAGE_MAP(CMfcTestApp, CWinApp)
ON_COMMAND(ID_APP_ABOUT, &CMfcTestApp::OnAppAbout)
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW, &CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN, &CWinApp::OnFileOpen)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP, &CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
// CMfcTestApp construction
CMfcTestApp::CMfcTestApp()
{
// TODO: add construction code here,
// Place all significant initialization in InitInstance
}
// The one and only CMfcTestApp object
CMfcTestApp theApp;
// CMfcTestApp initialization
BOOL CMfcTestApp::InitInstance()
{
// InitCommonControlsEx() is required on Windows XP if an application
// manifest specifies use of ComCtl32.dll version 6 or later to enable
// visual styles. Otherwise, any window creation will fail.
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
// Set this to include all the common control classes you want to use
// in your application.
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::InitInstance();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable, you should remove from the following
// the specific initialization routines you do not need
// Change the registry key under which our settings are stored
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization
SetRegistryKey(_T("Local AppWizard-Generated Applications"));
LoadStdProfileSettings(4); // Load standard INI file options (including MRU)
// Register the application's document templates. Document templates
// serve as the connection between documents, frame windows and views
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINFRAME,
RUNTIME_CLASS(CMfcTestDoc),
RUNTIME_CLASS(CMainFrame), // main SDI frame window
RUNTIME_CLASS(CMfcTestView));
if (!pDocTemplate)
return FALSE;
AddDocTemplate(pDocTemplate);
// Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line. Will return FALSE if
// app was launched with /RegServer, /Register, /Unregserver or /Unregister.
if (!ProcessShellCommand(cmdInfo))
return FALSE;
// The one and only window has been initialized, so show and update it
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
// call DragAcceptFiles only if there's a suffix
// In an SDI app, this should occur after ProcessShellCommand
return TRUE;
}
// CAboutDlg dialog used for App About
class CAboutDlg : public CDialog
{
public:
CAboutDlg();
// Dialog Data
enum { IDD = IDD_ABOUTBOX };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
DECLARE_MESSAGE_MAP()
};
CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
{
}
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
END_MESSAGE_MAP()
// App command to run the dialog
void CMfcTestApp::OnAppAbout()
{
CAboutDlg aboutDlg;
aboutDlg.DoModal();
}
// CMfcTestApp message handlers
| [
"objeck@objeck.org"
] | objeck@objeck.org |
702c8c0773a3c1120381803988be22aeb274022b | b955ab4d264001ac744831e98819fc1799d5c976 | /about_pointers/Pass-by-address.cpp | ff893d17974531d04fe04b5d928196dda6232c32 | [] | no_license | kdzmcqn/coding_studies | 4d9a84b9b94c87f45e84885c5dddcdbd5eee7f85 | 69a18909e7e532b0f89ac7d4f1551b099146eedf | refs/heads/master | 2022-12-27T09:01:45.867336 | 2020-10-08T06:33:20 | 2020-10-08T06:33:20 | 299,523,494 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 981 | cpp | #include <iostream>
#include <vector>
using namespace std;
int i = 0, j = 0;
class stuff
{
public:
int vary(int *x) //points to the value inside the address of a
{
cin >> *x;
return 0;
}
int fillvec(vector<vector<int>> *vec, int *b)
{
return 0;
}
private:
int num = 1;
vector<vector<int>> nani;
};
int main()
{
int a, b;
cout << "enter value of a and b: ";
cin >> a >> b;
cout << "initial value of a: " << a << endl;
stuff key;
key.vary(&a); //gets the address of a
cout << "new value of a: ";
cout << a << endl
<< endl;
vector<vector<int>> vec;
for (::i = 0; ::i < b; ::i++)
{
vector<int> invec;
for (::j = 0; ::j < b; ::j++)
{
invec.push_back(0);
}
vec.push_back(invec);
}
cout << "intial value of vec: " << endl;
for (::i = 0; ::i < b; ::i++)
{
vector<int> invec;
for (::j = 0; ::j < b; ::j++)
{
cout << vec[i][j] << " ";
}
cout << endl;
}
cout << endl;
key.fillvec(&vec, &b);
system("pause");
return 0;
}
| [
"lapenaleandro@gmail.com"
] | lapenaleandro@gmail.com |
76b875b79bf83058497ad0ea5b746cef1c5a3179 | 2064042c54043bce86ab61640b7e0906ae1fc8a6 | /internals/mcs/testing/test.cpp | 8bd0cf38713ba759d540f7b16396a93d215e2020 | [
"MIT"
] | permissive | polytypic/reagents.cpp | efd32b6de4efcf2c1bf4bc2cd4042aef890ff70a | 2ab03cfbc47bcd714c96d1f2414d5ed126f85781 | refs/heads/master | 2020-04-24T22:52:57.881519 | 2019-02-24T10:49:24 | 2019-04-06T16:27:09 | 172,325,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 731 | cpp | // Copyright (C) by Vesa Karvonen
#include "mcs/casn.hpp"
#include "testing_v1/test.hpp"
using namespace testing_v1;
auto test_lock = test([]() {
using namespace mcs;
Lock::lock_t lock;
verify(Lock::holding(lock, []() { return true; }));
});
auto test_casn = test([]() {
using namespace mcs;
auto i = CASN::atom(101);
auto b = CASN::atom(false);
CASN::store(b, true);
verify(CASN::load(i) == 101);
verify(CASN::load(b) == true);
verify(!CASN::casn(CASN::op(i, 101, 69), CASN::op(b, false, true)));
verify(CASN::load(i) == 101);
verify(CASN::load(b) == true);
verify(CASN::casn(CASN::op(i, 101, 69), CASN::op(b, true, false)));
verify(CASN::load(i) == 69);
verify(CASN::load(b) == false);
});
| [
"vesa.a.j.k@gmail.com"
] | vesa.a.j.k@gmail.com |
f75e64650008466482f7fe8e21432393981a8dec | 25be07cee5be26b63fabbe0300db63cf34130041 | /controller_node/mavros/ros/kinetic/include/actionlib/TestRequestActionFeedback.h | 9b43df68854d3800411e36daaf7043e91981f07f | [] | no_license | davidrpere/UAVSPS | f959a6d9d475dd0ec0d40dad322b171a444c5d5e | 969299f7498546761ef58d909ac62d81fab4649a | refs/heads/master | 2021-09-13T14:48:12.982804 | 2018-04-29T16:14:02 | 2018-04-29T16:14:02 | 120,344,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,669 | h | // Generated by gencpp from file actionlib/TestRequestActionFeedback.msg
// DO NOT EDIT!
#ifndef ACTIONLIB_MESSAGE_TESTREQUESTACTIONFEEDBACK_H
#define ACTIONLIB_MESSAGE_TESTREQUESTACTIONFEEDBACK_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/Header.h>
#include <actionlib_msgs/GoalStatus.h>
#include <actionlib/TestRequestFeedback.h>
namespace actionlib
{
template <class ContainerAllocator>
struct TestRequestActionFeedback_
{
typedef TestRequestActionFeedback_<ContainerAllocator> Type;
TestRequestActionFeedback_()
: header()
, status()
, feedback() {
}
TestRequestActionFeedback_(const ContainerAllocator& _alloc)
: header(_alloc)
, status(_alloc)
, feedback(_alloc) {
(void)_alloc;
}
typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
_header_type header;
typedef ::actionlib_msgs::GoalStatus_<ContainerAllocator> _status_type;
_status_type status;
typedef ::actionlib::TestRequestFeedback_<ContainerAllocator> _feedback_type;
_feedback_type feedback;
typedef boost::shared_ptr< ::actionlib::TestRequestActionFeedback_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::actionlib::TestRequestActionFeedback_<ContainerAllocator> const> ConstPtr;
}; // struct TestRequestActionFeedback_
typedef ::actionlib::TestRequestActionFeedback_<std::allocator<void> > TestRequestActionFeedback;
typedef boost::shared_ptr< ::actionlib::TestRequestActionFeedback > TestRequestActionFeedbackPtr;
typedef boost::shared_ptr< ::actionlib::TestRequestActionFeedback const> TestRequestActionFeedbackConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::actionlib::TestRequestActionFeedback_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::actionlib::TestRequestActionFeedback_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace actionlib
namespace ros
{
namespace message_traits
{
// BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': True}
// {'actionlib': ['/tmp/binarydeb/ros-kinetic-actionlib-1.11.9/obj-arm-linux-gnueabihf/devel/share/actionlib/msg'], 'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'actionlib_msgs': ['/opt/ros/kinetic/share/actionlib_msgs/cmake/../msg']}
// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
template <class ContainerAllocator>
struct IsFixedSize< ::actionlib::TestRequestActionFeedback_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::actionlib::TestRequestActionFeedback_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct IsMessage< ::actionlib::TestRequestActionFeedback_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::actionlib::TestRequestActionFeedback_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::actionlib::TestRequestActionFeedback_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::actionlib::TestRequestActionFeedback_<ContainerAllocator> const>
: TrueType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::actionlib::TestRequestActionFeedback_<ContainerAllocator> >
{
static const char* value()
{
return "aae20e09065c3809e8a8e87c4c8953fd";
}
static const char* value(const ::actionlib::TestRequestActionFeedback_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xaae20e09065c3809ULL;
static const uint64_t static_value2 = 0xe8a8e87c4c8953fdULL;
};
template<class ContainerAllocator>
struct DataType< ::actionlib::TestRequestActionFeedback_<ContainerAllocator> >
{
static const char* value()
{
return "actionlib/TestRequestActionFeedback";
}
static const char* value(const ::actionlib::TestRequestActionFeedback_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::actionlib::TestRequestActionFeedback_<ContainerAllocator> >
{
static const char* value()
{
return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
\n\
Header header\n\
actionlib_msgs/GoalStatus status\n\
TestRequestFeedback feedback\n\
\n\
================================================================================\n\
MSG: std_msgs/Header\n\
# Standard metadata for higher-level stamped data types.\n\
# This is generally used to communicate timestamped data \n\
# in a particular coordinate frame.\n\
# \n\
# sequence ID: consecutively increasing ID \n\
uint32 seq\n\
#Two-integer timestamp that is expressed as:\n\
# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
# time-handling sugar is provided by the client library\n\
time stamp\n\
#Frame this data is associated with\n\
# 0: no frame\n\
# 1: global frame\n\
string frame_id\n\
\n\
================================================================================\n\
MSG: actionlib_msgs/GoalStatus\n\
GoalID goal_id\n\
uint8 status\n\
uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
# and has since completed its execution (Terminal State)\n\
uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
# to some failure (Terminal State)\n\
uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
# because the goal was unattainable or invalid (Terminal State)\n\
uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
# and has not yet completed execution\n\
uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
# but the action server has not yet confirmed that the goal is canceled\n\
uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
# and was successfully cancelled (Terminal State)\n\
uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
# sent over the wire by an action server\n\
\n\
#Allow for the user to associate a string with GoalStatus for debugging\n\
string text\n\
\n\
\n\
================================================================================\n\
MSG: actionlib_msgs/GoalID\n\
# The stamp should store the time at which this goal was requested.\n\
# It is used by an action server when it tries to preempt all\n\
# goals that were requested before a certain time\n\
time stamp\n\
\n\
# The id provides a way to associate feedback and\n\
# result message with specific goal requests. The id\n\
# specified must be unique.\n\
string id\n\
\n\
\n\
================================================================================\n\
MSG: actionlib/TestRequestFeedback\n\
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
\n\
";
}
static const char* value(const ::actionlib::TestRequestActionFeedback_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::actionlib::TestRequestActionFeedback_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.header);
stream.next(m.status);
stream.next(m.feedback);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct TestRequestActionFeedback_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::actionlib::TestRequestActionFeedback_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::actionlib::TestRequestActionFeedback_<ContainerAllocator>& v)
{
s << indent << "header: ";
s << std::endl;
Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
s << indent << "status: ";
s << std::endl;
Printer< ::actionlib_msgs::GoalStatus_<ContainerAllocator> >::stream(s, indent + " ", v.status);
s << indent << "feedback: ";
s << std::endl;
Printer< ::actionlib::TestRequestFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.feedback);
}
};
} // namespace message_operations
} // namespace ros
#endif // ACTIONLIB_MESSAGE_TESTREQUESTACTIONFEEDBACK_H
| [
"mxmax95@gmail.com"
] | mxmax95@gmail.com |
aa3db1a81bf0ef873ed0498f6cbdc38b35b2c50d | ce317aece3163700d38b94ba0910fe9865a7b1ad | /src/main.cc | 4e60d9ad9c1e83407ace4c4f86eb5a9730944f3d | [] | no_license | fmsyWsniEu/node-int64-native | 213c7014f55fe54c9f40597efa15972cfccb5942 | 10fe607ba5aa7c9ebc34cb67e518f4cbdbf30ecc | refs/heads/master | 2020-07-10T17:01:13.320065 | 2015-10-16T10:28:03 | 2016-04-25T17:13:51 | 57,027,525 | 1 | 0 | null | 2016-04-25T09:05:52 | 2016-04-25T09:05:51 | null | UTF-8 | C++ | false | false | 264 | cc | #ifndef BUILDING_NODE_EXTENSION
#define BUILDING_NODE_EXTENSION
#endif
#include <node.h>
#include <v8.h>
#include "Int64.h"
using namespace node;
using namespace v8;
void InitAll(Handle<Object> exports) {
Int64::Init(exports);
}
NODE_MODULE(Int64, InitAll)
| [
"savage.evan@gmail.com"
] | savage.evan@gmail.com |
762c5cf60465ac986cdd77c8980decba67d1c113 | 05a7b41ba30c647b69ed414386355e5cee407834 | /jpmorgan/backT.cpp | 789790d2ecfc805e1ec718b589ddb36365fbfbbd | [] | no_license | shivanshu1333/competitive | eb9983d76ba1405c29ca3df449fccbf37b0dd62f | b762257a0c68b6a17ac88011bf659179cad4263e | refs/heads/master | 2022-03-25T15:12:21.976952 | 2022-02-27T01:36:56 | 2022-02-27T01:36:56 | 200,849,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef vector<int> vi;
#define f(i,s,e) for(int i=s;i<e;i++)
#define pb push_back
int ans=0;
vi ga;
void ways(vi &v, int l, int r, int x, int i, int s, int mn, int mx, int cnt){
if(i==v.size()){
if(cnt>=2 && (mx-mn)<x && s>=l && s<=r){
ans++;
}
return;
}
if(s>r) return;
ways(v, l, r, x, i+1, s, mn, mx, cnt);
ways(v, l, r, x, i+1, s+v[i], min(mn, v[i]), max(mx, v[i]), cnt+1);
}
int main(){
int n;
ga.clear();
cin>>n;
vi v(n);
f(i,0,n) cin>>v[i];
int l,r,x;
cin>>l>>r>>x;
vi an;
f(i,0,n) if(v[i]<=r) an.pb(v[i]);
ways(an, l ,r, x, 0, 0, INT_MAX, INT_MIN, 0);
cout<<ans;
} | [
"shivanshu1333@gmail.com"
] | shivanshu1333@gmail.com |
b56e6f9479c498783f64c5c29d5b855de9ad4c6f | cb56f8fe6b0fb074c4b52b834bb67866e1f9d280 | /sources/Externals/Soundfont/HYDRA.CPP | 97380d326ab870c27159fe38dfc4301d3f44cb92 | [
"BSD-3-Clause"
] | permissive | djdiskmachine/LittleGPTracker | 64f45a650e8211aa78fd77bc891d4316ce9a41e9 | ec13c06cd07ac9dd93f7390d6464fc02010b100b | refs/heads/master | 2023-07-25T22:31:15.699304 | 2023-02-16T21:23:18 | 2023-02-16T21:23:18 | 520,839,751 | 17 | 5 | BSD-3-Clause | 2023-09-12T13:59:00 | 2022-08-03T10:43:10 | C++ | UTF-8 | C++ | false | false | 6,744 | cpp | /*********************************************************************
hydra.cpp
Copyright (c) Creative Technology Ltd. 1994-1995. All Rights Reserved.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
PURPOSE.
*********************************************************************/
//*****************************************************************************
//
// Copyright (c) 1994
// E-mu Systems Proprietary All rights Reserved.
//
//*****************************************************************************
/////////////////////////////
// Includes //
/////////////////////////////
#include "HYDRA.H"
#include "WIN_MEM.H"
#include <string.h>
using namespace::soundfont ;
//*****************************************************************************
// @(#)hydra.cpp 1.2 09:40:33 3/21/95 09:40:33
// Description:
// This file defines the datatype HydraFont. The datatype HydraFont
// is the base level in memory datatype used to describe a single
// SoundFont bank.
//
//*****************************************************************************
//////////////////////////
// The Constructor
//////////////////////////
HydraClass::HydraClass(void)
{
ConstructHydra();
} // end constructor
//////////////////////////
// The Destructor
//////////////////////////
HydraClass::~HydraClass(void)
{
DestructHydra();
}
////////////////////////////
// The callable Constructor
////////////////////////////
void HydraClass::ConstructHydra(void)
{
pPHdr = NULL;
achBankName = NULL;
HydraVersion.wMajor = HydraVersion.wMinor = 0;
ZapHydra();
ResetDefault();
}
////////////////////////////
// The callable Destructor
////////////////////////////
void HydraClass::DestructHydra(void)
{
ZapHydra();
}
EMUSTAT HydraClass::SetBankName(CHAR *theNewBankName)
{
if (achBankName != NULL)
{
delete [] achBankName;
achBankName = NULL;
}
if ((achBankName = new CHAR[strlen(theNewBankName)+1]) == NULL)
return SF_MEMORYERROR;
memset(achBankName, 0, strlen(theNewBankName));
strcpy(achBankName, theNewBankName);
return SUCCESS;
}
///////////////////////////////////////////
// Set all of the default SoundFont values
///////////////////////////////////////////
void HydraClass::ResetDefault(void)
{
// Sample
sfDefault.dwStart = 0;
sfDefault.dwEnd = 0;
sfDefault.dwStartloop = 0;
sfDefault.dwEndloop = 0;
sfDefault.dwSampleRate = 0;
sfDefault.shOrigKeyAndCorr = 0x3C00;
sfDefault.shSampleModes = 0;
// Pitch
sfDefault.shScaleTuning = 100; // 100 semitones/keynum
sfDefault.shCoarseTune = 0;
sfDefault.shFineTune = 0;
sfDefault.shModLfoToPitch = 0;
sfDefault.shVibLfoToPitch = 0;
sfDefault.shModEnvToPitch = 0;
// Filter
sfDefault.shInitialFilterFc = 13500; // > 20 kHz
sfDefault.shInitialFilterQ = 0;
sfDefault.shModLfoToFilterFc = 0;
sfDefault.shModEnvToFilterFc = 0;
// Amplifier...
sfDefault.shInstVol = 0; // no attenuation
sfDefault.shModLfoToVolume = 0;
// Effects...
sfDefault.shChorusEffectsSend = 0;
sfDefault.shReverbEffectsSend = 0;
sfDefault.shPanEffectsSend = 0;
// Modulation Low Frequency Oscillator
sfDefault.shDelayModLfo = -12000; // < 1 ms
sfDefault.shFreqModLfo = 0;
// Vibrato (Pitch only) Low Frequency Oscillator
sfDefault.shDelayVibLfo = -12000; // < 1 ms
sfDefault.shFreqVibLfo = 0;
// Modulation Envelope
sfDefault.shDelayModEnv = -12000; // < 1 ms
sfDefault.shAttackModEnv = -12000; // < 1 ms
sfDefault.shHoldModEnv = -12000; // < 1 ms
sfDefault.shDecayModEnv = -12000; // < 1 ms
sfDefault.shSustainModEnv = 0;
sfDefault.shReleaseModEnv = -12000; // < 1 ms
sfDefault.shAutoHoldModEnv = 0;
sfDefault.shAutoDecayModEnv = 0;
// Attenuation (Volume only) Envelope
sfDefault.shDelayVolEnv = -12000; // < 1 ms
sfDefault.shAttackVolEnv = -12000; // < 1 ms
sfDefault.shHoldVolEnv = -12000; // < 1 ms
sfDefault.shDecayVolEnv = -12000; // < 1 ms
sfDefault.shSustainVolEnv = 0;
sfDefault.shReleaseVolEnv = -12000; // < 1 ms
sfDefault.shAutoHoldVolEnv = 0;
sfDefault.shAutoDecayVolEnv = 0;
// Miscellaneous
sfDefault.shKeyExclusiveClass = 0;
// Preserved for informational purposes
sfDefault.shKeynum = 0;
sfDefault.shVelocity = 0;
sfDefault.shStartAddrsCoarseOffset = 0;
sfDefault.shEndAddrsCoarseOffset = 0;
sfDefault.shStartloopAddrsCoarseOffset = 0;
sfDefault.shEndloopAddrsCoarseOffset = 0;
sfDefault.shOverridingRootKey = -1;
// Place holders, not used
sfDefault.shNOP = 0;
sfDefault.shEndOper = 0;
}
///////////////////////////////////////
// Deallocate the Hydra's pointers
///////////////////////////////////////
void HydraClass::ZapHydra(void)
{
WORD wNdx;
if (achBankName != NULL)
{
delete [] achBankName;
achBankName = NULL;
}
HydraVersion.wMajor = HydraVersion.wMinor = 0;
if (pPHdr != NULL)
{
if (pPHdr != NULL) Dealloc((VOIDPTR)pPHdr);
if (pPBag != NULL) Dealloc((VOIDPTR)pPBag);
if (pPGen != NULL) Dealloc((VOIDPTR)pPGen);
if (pPMod != NULL) Dealloc((VOIDPTR)pPMod);
if (pInst != NULL) Dealloc((VOIDPTR)pInst);
if (pIBag != NULL) Dealloc((VOIDPTR)pIBag);
if (pIGen != NULL) Dealloc((VOIDPTR)pIGen);
if (pIMod != NULL) Dealloc((VOIDPTR)pIMod);
if (pSHdr != NULL) Dealloc((VOIDPTR)pSHdr);
}
pPHdr = NULL;
pPBag = NULL;
pPGen = NULL;
pPMod = NULL;
pInst = NULL;
pIBag = NULL;
pIGen = NULL;
pIMod = NULL;
pSHdr = NULL;
for (wNdx = 0; wNdx < SF_DATASTRUCTS; wNdx++)
{
awStructSize[wNdx] = 0;
}
}
///////////////////////// End of HYDRA.CPP //////////////////////////
| [
"marc.nostromo@gmail.com"
] | marc.nostromo@gmail.com |
685ddfac1ffc63801fbd889164dfba2c861bc327 | 41199ec67d6ac1c6e2efe77834e847643d3b303f | /main.cpp | 09d773522f0ac457a5d93a9c91d629d849369277 | [] | no_license | EvgenyKrivoshein/Simple | c6cbad63c383b557fceaa999e2a8e1da7736fc62 | 7b0ba8e9c072b8bcab7be68a07fe5b6b7ef8c10c | refs/heads/master | 2016-09-02T02:13:44.662388 | 2015-03-11T09:51:05 | 2015-03-11T09:51:05 | 32,010,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53 | cpp | #include <stdio.h>
main(void)
{
printf("Hello\n");
} | [
"EvgenyKriovhsein@users.noreply.github.com"
] | EvgenyKriovhsein@users.noreply.github.com |
42ff98d9cf118f0630dc544f3734c6744c54ace8 | 8137da3bbd71c44c6f006311479c1bcb3ecf188e | /test/test_thread/TestSingleThreadPool.cpp | 7294f6a4dfef44730c73c22679c3debc0f5df777 | [] | no_license | ngzHappy/bd3 | 1d03e5389974ca47a78b3443a4898c3bf9ddb802 | 0930b8f588478bc55a456dda794e1c08af01bb5a | refs/heads/master | 2021-06-10T19:39:26.785234 | 2017-01-17T14:24:06 | 2017-01-17T14:24:06 | 73,167,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,662 | cpp | #include <cassert>
#include <QtCore>
#include <QtBasicLibrary.hpp>
#include "TestSingleThreadPool.hpp"
TestSingleThreadPool::TestSingleThreadPool(){
{
auto aThreadPool = QSingleThreadPool::currentQSingleThreadPool().lock();
auto bThreadPool = QSingleThreadPool::qAppQSingleThreadPool();
assert( aThreadPool != nullptr );
assert( aThreadPool == bThreadPool );
aThreadPool->run([](){
qDebug()<<QThread::currentThread()<<"qapp thread pool test";
});
}
}
TestSingleThreadPool::~TestSingleThreadPool(){
}
void TestSingleThreadPool::test1() {
QSingleThreadPool aThreadPool;
aThreadPool.runLambda([lock=aThreadPool.lock()]() {
if(lock)
qDebug()<<QThread::currentThread()<<0<<" test 1";
});
aThreadPool.runLambda([lock=aThreadPool.lock()]() {
if(lock)
qDebug()<<QThread::currentThread()<<1<<" test 1";
});
aThreadPool.runLambda([lock=aThreadPool.lock()]() {
if(lock)
qDebug()<<QThread::currentThread()<<2<<" test 1";
});
aThreadPool.runLambda([lock=aThreadPool.lock()]() {
if(lock)
qDebug()<<QThread::currentThread()<<3<<" test 1";
});
}
void TestSingleThreadPool::test2() {
QSingleThreadPool bThreadPool;
auto callBackPool = QSingleThreadPool::currentQSingleThreadPool();
assert( callBackPool.lock() );
bThreadPool.runLambda([callBackPool,lock=bThreadPool.lock()]() {
auto && callBack=QSingleThreadPool::lockWithQApp(callBackPool);
if (callBack) {
callBack->run([]() {qDebug()<<"call back"; });
}
});
}
| [
"819869472@qq.com"
] | 819869472@qq.com |
a64f4f685342be37d81f9ffb800b6d003eae05c9 | 99a49cd30401055df72de876f684c13c7515a368 | /itd_hmi_vm_msg_transformer/include/msg.pb.h | 344a1ea81aa3de41158c2bcfbb1050f75a104e87 | [] | no_license | FengD/itd_hmi_vehicle_management_msg_transformer | fd4270b1604a3b60d2e6f2837c1a4ef191168e8f | 6c4f434bf9f432da886b6184843eec584416525e | refs/heads/master | 2021-01-07T20:27:40.505222 | 2020-02-20T08:02:32 | 2020-02-20T08:02:32 | 241,812,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 44,546 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: msg.proto
#ifndef PROTOBUF_msg_2eproto__INCLUDED
#define PROTOBUF_msg_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3005000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
namespace protobuf_msg_2eproto {
// Internal implementation detail -- do not use these members.
struct TableStruct {
static const ::google::protobuf::internal::ParseTableField entries[];
static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
static const ::google::protobuf::internal::ParseTable schema[3];
static const ::google::protobuf::internal::FieldMetadata field_metadata[];
static const ::google::protobuf::internal::SerializationTable serialization_table[];
static const ::google::protobuf::uint32 offsets[];
};
void AddDescriptors();
void InitDefaultsFromAduMessageImpl();
void InitDefaultsFromAduMessage();
void InitDefaultsToAduMessageImpl();
void InitDefaultsToAduMessage();
void InitDefaultsMessageImpl();
void InitDefaultsMessage();
inline void InitDefaults() {
InitDefaultsFromAduMessage();
InitDefaultsToAduMessage();
InitDefaultsMessage();
}
} // namespace protobuf_msg_2eproto
namespace hirain {
namespace itd {
namespace hmi {
namespace demo {
namespace api {
class FromAduMessage;
class FromAduMessageDefaultTypeInternal;
extern FromAduMessageDefaultTypeInternal _FromAduMessage_default_instance_;
class Message;
class MessageDefaultTypeInternal;
extern MessageDefaultTypeInternal _Message_default_instance_;
class ToAduMessage;
class ToAduMessageDefaultTypeInternal;
extern ToAduMessageDefaultTypeInternal _ToAduMessage_default_instance_;
} // namespace api
} // namespace demo
} // namespace hmi
} // namespace itd
} // namespace hirain
namespace hirain {
namespace itd {
namespace hmi {
namespace demo {
namespace api {
enum ToAduMessage_ActionType {
ToAduMessage_ActionType_AdvStart = 0,
ToAduMessage_ActionType_SoftStop = 1,
ToAduMessage_ActionType_EmergencyStop = 2,
ToAduMessage_ActionType_ToAduMessage_ActionType_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
ToAduMessage_ActionType_ToAduMessage_ActionType_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
};
bool ToAduMessage_ActionType_IsValid(int value);
const ToAduMessage_ActionType ToAduMessage_ActionType_ActionType_MIN = ToAduMessage_ActionType_AdvStart;
const ToAduMessage_ActionType ToAduMessage_ActionType_ActionType_MAX = ToAduMessage_ActionType_EmergencyStop;
const int ToAduMessage_ActionType_ActionType_ARRAYSIZE = ToAduMessage_ActionType_ActionType_MAX + 1;
const ::google::protobuf::EnumDescriptor* ToAduMessage_ActionType_descriptor();
inline const ::std::string& ToAduMessage_ActionType_Name(ToAduMessage_ActionType value) {
return ::google::protobuf::internal::NameOfEnum(
ToAduMessage_ActionType_descriptor(), value);
}
inline bool ToAduMessage_ActionType_Parse(
const ::std::string& name, ToAduMessage_ActionType* value) {
return ::google::protobuf::internal::ParseNamedEnum<ToAduMessage_ActionType>(
ToAduMessage_ActionType_descriptor(), name, value);
}
enum Message_MessageType {
Message_MessageType_FromAduMessage = 0,
Message_MessageType_ToAduMessage = 1,
Message_MessageType_Message_MessageType_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
Message_MessageType_Message_MessageType_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
};
bool Message_MessageType_IsValid(int value);
const Message_MessageType Message_MessageType_MessageType_MIN = Message_MessageType_FromAduMessage;
const Message_MessageType Message_MessageType_MessageType_MAX = Message_MessageType_ToAduMessage;
const int Message_MessageType_MessageType_ARRAYSIZE = Message_MessageType_MessageType_MAX + 1;
const ::google::protobuf::EnumDescriptor* Message_MessageType_descriptor();
inline const ::std::string& Message_MessageType_Name(Message_MessageType value) {
return ::google::protobuf::internal::NameOfEnum(
Message_MessageType_descriptor(), value);
}
inline bool Message_MessageType_Parse(
const ::std::string& name, Message_MessageType* value) {
return ::google::protobuf::internal::ParseNamedEnum<Message_MessageType>(
Message_MessageType_descriptor(), name, value);
}
// ===================================================================
class FromAduMessage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hirain.itd.hmi.demo.api.FromAduMessage) */ {
public:
FromAduMessage();
virtual ~FromAduMessage();
FromAduMessage(const FromAduMessage& from);
inline FromAduMessage& operator=(const FromAduMessage& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
FromAduMessage(FromAduMessage&& from) noexcept
: FromAduMessage() {
*this = ::std::move(from);
}
inline FromAduMessage& operator=(FromAduMessage&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {
return GetArenaNoVirtual();
}
inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {
return MaybeArenaPtr();
}
static const ::google::protobuf::Descriptor* descriptor();
static const FromAduMessage& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const FromAduMessage* internal_default_instance() {
return reinterpret_cast<const FromAduMessage*>(
&_FromAduMessage_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
0;
void UnsafeArenaSwap(FromAduMessage* other);
void Swap(FromAduMessage* other);
friend void swap(FromAduMessage& a, FromAduMessage& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline FromAduMessage* New() const PROTOBUF_FINAL { return New(NULL); }
FromAduMessage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void CopyFrom(const FromAduMessage& from);
void MergeFrom(const FromAduMessage& from);
void Clear() PROTOBUF_FINAL;
bool IsInitialized() const PROTOBUF_FINAL;
size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const PROTOBUF_FINAL;
void InternalSwap(FromAduMessage* other);
protected:
explicit FromAduMessage(::google::protobuf::Arena* arena);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return _internal_metadata_.arena();
}
inline void* MaybeArenaPtr() const {
return _internal_metadata_.raw_arena_ptr();
}
public:
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// string CarName = 1;
void clear_carname();
static const int kCarNameFieldNumber = 1;
const ::std::string& carname() const;
void set_carname(const ::std::string& value);
#if LANG_CXX11
void set_carname(::std::string&& value);
#endif
void set_carname(const char* value);
void set_carname(const char* value, size_t size);
::std::string* mutable_carname();
::std::string* release_carname();
void set_allocated_carname(::std::string* carname);
PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
" string fields are deprecated and will be removed in a"
" future release.")
::std::string* unsafe_arena_release_carname();
PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
" string fields are deprecated and will be removed in a"
" future release.")
void unsafe_arena_set_allocated_carname(
::std::string* carname);
// double XFusion = 3;
void clear_xfusion();
static const int kXFusionFieldNumber = 3;
double xfusion() const;
void set_xfusion(double value);
// double YFusion = 4;
void clear_yfusion();
static const int kYFusionFieldNumber = 4;
double yfusion() const;
void set_yfusion(double value);
// int32 PathNum = 2;
void clear_pathnum();
static const int kPathNumFieldNumber = 2;
::google::protobuf::int32 pathnum() const;
void set_pathnum(::google::protobuf::int32 value);
// float VehicleSpeed = 6;
void clear_vehiclespeed();
static const int kVehicleSpeedFieldNumber = 6;
float vehiclespeed() const;
void set_vehiclespeed(float value);
// double YawFusion = 5;
void clear_yawfusion();
static const int kYawFusionFieldNumber = 5;
double yawfusion() const;
void set_yawfusion(double value);
// int32 ADVStatus = 7;
void clear_advstatus();
static const int kADVStatusFieldNumber = 7;
::google::protobuf::int32 advstatus() const;
void set_advstatus(::google::protobuf::int32 value);
// int32 ADVSwitchReturn = 8;
void clear_advswitchreturn();
static const int kADVSwitchReturnFieldNumber = 8;
::google::protobuf::int32 advswitchreturn() const;
void set_advswitchreturn(::google::protobuf::int32 value);
// int32 SoftReturn = 9;
void clear_softreturn();
static const int kSoftReturnFieldNumber = 9;
::google::protobuf::int32 softreturn() const;
void set_softreturn(::google::protobuf::int32 value);
// int32 EmergencyReturn = 10;
void clear_emergencyreturn();
static const int kEmergencyReturnFieldNumber = 10;
::google::protobuf::int32 emergencyreturn() const;
void set_emergencyreturn(::google::protobuf::int32 value);
// int32 LocFlag = 11;
void clear_locflag();
static const int kLocFlagFieldNumber = 11;
::google::protobuf::int32 locflag() const;
void set_locflag(::google::protobuf::int32 value);
// int32 GPSFlagPos = 12;
void clear_gpsflagpos();
static const int kGPSFlagPosFieldNumber = 12;
::google::protobuf::int32 gpsflagpos() const;
void set_gpsflagpos(::google::protobuf::int32 value);
// int32 ActuatorError = 13;
void clear_actuatorerror();
static const int kActuatorErrorFieldNumber = 13;
::google::protobuf::int32 actuatorerror() const;
void set_actuatorerror(::google::protobuf::int32 value);
// int32 SensorError = 14;
void clear_sensorerror();
static const int kSensorErrorFieldNumber = 14;
::google::protobuf::int32 sensorerror() const;
void set_sensorerror(::google::protobuf::int32 value);
// float EvAim = 15;
void clear_evaim();
static const int kEvAimFieldNumber = 15;
float evaim() const;
void set_evaim(float value);
// int32 NaviNum = 16;
void clear_navinum();
static const int kNaviNumFieldNumber = 16;
::google::protobuf::int32 navinum() const;
void set_navinum(::google::protobuf::int32 value);
// float CIPO = 17;
void clear_cipo();
static const int kCIPOFieldNumber = 17;
float cipo() const;
void set_cipo(float value);
// @@protoc_insertion_point(class_scope:hirain.itd.hmi.demo.api.FromAduMessage)
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::google::protobuf::internal::ArenaStringPtr carname_;
double xfusion_;
double yfusion_;
::google::protobuf::int32 pathnum_;
float vehiclespeed_;
double yawfusion_;
::google::protobuf::int32 advstatus_;
::google::protobuf::int32 advswitchreturn_;
::google::protobuf::int32 softreturn_;
::google::protobuf::int32 emergencyreturn_;
::google::protobuf::int32 locflag_;
::google::protobuf::int32 gpsflagpos_;
::google::protobuf::int32 actuatorerror_;
::google::protobuf::int32 sensorerror_;
float evaim_;
::google::protobuf::int32 navinum_;
float cipo_;
mutable int _cached_size_;
friend struct ::protobuf_msg_2eproto::TableStruct;
friend void ::protobuf_msg_2eproto::InitDefaultsFromAduMessageImpl();
};
// -------------------------------------------------------------------
class ToAduMessage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hirain.itd.hmi.demo.api.ToAduMessage) */ {
public:
ToAduMessage();
virtual ~ToAduMessage();
ToAduMessage(const ToAduMessage& from);
inline ToAduMessage& operator=(const ToAduMessage& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
ToAduMessage(ToAduMessage&& from) noexcept
: ToAduMessage() {
*this = ::std::move(from);
}
inline ToAduMessage& operator=(ToAduMessage&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {
return GetArenaNoVirtual();
}
inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {
return MaybeArenaPtr();
}
static const ::google::protobuf::Descriptor* descriptor();
static const ToAduMessage& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const ToAduMessage* internal_default_instance() {
return reinterpret_cast<const ToAduMessage*>(
&_ToAduMessage_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1;
void UnsafeArenaSwap(ToAduMessage* other);
void Swap(ToAduMessage* other);
friend void swap(ToAduMessage& a, ToAduMessage& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline ToAduMessage* New() const PROTOBUF_FINAL { return New(NULL); }
ToAduMessage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void CopyFrom(const ToAduMessage& from);
void MergeFrom(const ToAduMessage& from);
void Clear() PROTOBUF_FINAL;
bool IsInitialized() const PROTOBUF_FINAL;
size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const PROTOBUF_FINAL;
void InternalSwap(ToAduMessage* other);
protected:
explicit ToAduMessage(::google::protobuf::Arena* arena);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return _internal_metadata_.arena();
}
inline void* MaybeArenaPtr() const {
return _internal_metadata_.raw_arena_ptr();
}
public:
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
typedef ToAduMessage_ActionType ActionType;
static const ActionType AdvStart =
ToAduMessage_ActionType_AdvStart;
static const ActionType SoftStop =
ToAduMessage_ActionType_SoftStop;
static const ActionType EmergencyStop =
ToAduMessage_ActionType_EmergencyStop;
static inline bool ActionType_IsValid(int value) {
return ToAduMessage_ActionType_IsValid(value);
}
static const ActionType ActionType_MIN =
ToAduMessage_ActionType_ActionType_MIN;
static const ActionType ActionType_MAX =
ToAduMessage_ActionType_ActionType_MAX;
static const int ActionType_ARRAYSIZE =
ToAduMessage_ActionType_ActionType_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor*
ActionType_descriptor() {
return ToAduMessage_ActionType_descriptor();
}
static inline const ::std::string& ActionType_Name(ActionType value) {
return ToAduMessage_ActionType_Name(value);
}
static inline bool ActionType_Parse(const ::std::string& name,
ActionType* value) {
return ToAduMessage_ActionType_Parse(name, value);
}
// accessors -------------------------------------------------------
// int32 PathNumOri = 1;
void clear_pathnumori();
static const int kPathNumOriFieldNumber = 1;
::google::protobuf::int32 pathnumori() const;
void set_pathnumori(::google::protobuf::int32 value);
// .hirain.itd.hmi.demo.api.ToAduMessage.ActionType ADVSwitch = 2;
void clear_advswitch();
static const int kADVSwitchFieldNumber = 2;
::hirain::itd::hmi::demo::api::ToAduMessage_ActionType advswitch() const;
void set_advswitch(::hirain::itd::hmi::demo::api::ToAduMessage_ActionType value);
// @@protoc_insertion_point(class_scope:hirain.itd.hmi.demo.api.ToAduMessage)
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::google::protobuf::int32 pathnumori_;
int advswitch_;
mutable int _cached_size_;
friend struct ::protobuf_msg_2eproto::TableStruct;
friend void ::protobuf_msg_2eproto::InitDefaultsToAduMessageImpl();
};
// -------------------------------------------------------------------
class Message : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hirain.itd.hmi.demo.api.Message) */ {
public:
Message();
virtual ~Message();
Message(const Message& from);
inline Message& operator=(const Message& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
Message(Message&& from) noexcept
: Message() {
*this = ::std::move(from);
}
inline Message& operator=(Message&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {
return GetArenaNoVirtual();
}
inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {
return MaybeArenaPtr();
}
static const ::google::protobuf::Descriptor* descriptor();
static const Message& default_instance();
enum AduMessageCase {
kFrom = 2,
kTo = 3,
ADUMESSAGE_NOT_SET = 0,
};
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const Message* internal_default_instance() {
return reinterpret_cast<const Message*>(
&_Message_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2;
void UnsafeArenaSwap(Message* other);
void Swap(Message* other);
friend void swap(Message& a, Message& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline Message* New() const PROTOBUF_FINAL { return New(NULL); }
Message* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void CopyFrom(const Message& from);
void MergeFrom(const Message& from);
void Clear() PROTOBUF_FINAL;
bool IsInitialized() const PROTOBUF_FINAL;
size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const PROTOBUF_FINAL;
void InternalSwap(Message* other);
protected:
explicit Message(::google::protobuf::Arena* arena);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return _internal_metadata_.arena();
}
inline void* MaybeArenaPtr() const {
return _internal_metadata_.raw_arena_ptr();
}
public:
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
typedef Message_MessageType MessageType;
static const MessageType FromAduMessage =
Message_MessageType_FromAduMessage;
static const MessageType ToAduMessage =
Message_MessageType_ToAduMessage;
static inline bool MessageType_IsValid(int value) {
return Message_MessageType_IsValid(value);
}
static const MessageType MessageType_MIN =
Message_MessageType_MessageType_MIN;
static const MessageType MessageType_MAX =
Message_MessageType_MessageType_MAX;
static const int MessageType_ARRAYSIZE =
Message_MessageType_MessageType_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor*
MessageType_descriptor() {
return Message_MessageType_descriptor();
}
static inline const ::std::string& MessageType_Name(MessageType value) {
return Message_MessageType_Name(value);
}
static inline bool MessageType_Parse(const ::std::string& name,
MessageType* value) {
return Message_MessageType_Parse(name, value);
}
// accessors -------------------------------------------------------
// .hirain.itd.hmi.demo.api.Message.MessageType type = 1;
void clear_type();
static const int kTypeFieldNumber = 1;
::hirain::itd::hmi::demo::api::Message_MessageType type() const;
void set_type(::hirain::itd::hmi::demo::api::Message_MessageType value);
// .hirain.itd.hmi.demo.api.FromAduMessage from = 2;
bool has_from() const;
void clear_from();
static const int kFromFieldNumber = 2;
private:
void _slow_mutable_from();
public:
const ::hirain::itd::hmi::demo::api::FromAduMessage& from() const;
::hirain::itd::hmi::demo::api::FromAduMessage* release_from();
::hirain::itd::hmi::demo::api::FromAduMessage* mutable_from();
void set_allocated_from(::hirain::itd::hmi::demo::api::FromAduMessage* from);
void unsafe_arena_set_allocated_from(
::hirain::itd::hmi::demo::api::FromAduMessage* from);
::hirain::itd::hmi::demo::api::FromAduMessage* unsafe_arena_release_from();
// .hirain.itd.hmi.demo.api.ToAduMessage to = 3;
bool has_to() const;
void clear_to();
static const int kToFieldNumber = 3;
private:
void _slow_mutable_to();
public:
const ::hirain::itd::hmi::demo::api::ToAduMessage& to() const;
::hirain::itd::hmi::demo::api::ToAduMessage* release_to();
::hirain::itd::hmi::demo::api::ToAduMessage* mutable_to();
void set_allocated_to(::hirain::itd::hmi::demo::api::ToAduMessage* to);
void unsafe_arena_set_allocated_to(
::hirain::itd::hmi::demo::api::ToAduMessage* to);
::hirain::itd::hmi::demo::api::ToAduMessage* unsafe_arena_release_to();
AduMessageCase aduMessage_case() const;
// @@protoc_insertion_point(class_scope:hirain.itd.hmi.demo.api.Message)
private:
void set_has_from();
void set_has_to();
inline bool has_aduMessage() const;
void clear_aduMessage();
inline void clear_has_aduMessage();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
int type_;
union AduMessageUnion {
AduMessageUnion() {}
::hirain::itd::hmi::demo::api::FromAduMessage* from_;
::hirain::itd::hmi::demo::api::ToAduMessage* to_;
} aduMessage_;
mutable int _cached_size_;
::google::protobuf::uint32 _oneof_case_[1];
friend struct ::protobuf_msg_2eproto::TableStruct;
friend void ::protobuf_msg_2eproto::InitDefaultsMessageImpl();
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// FromAduMessage
// string CarName = 1;
inline void FromAduMessage::clear_carname() {
carname_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
}
inline const ::std::string& FromAduMessage::carname() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.CarName)
return carname_.Get();
}
inline void FromAduMessage::set_carname(const ::std::string& value) {
carname_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.CarName)
}
#if LANG_CXX11
inline void FromAduMessage::set_carname(::std::string&& value) {
carname_.Set(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
// @@protoc_insertion_point(field_set_rvalue:hirain.itd.hmi.demo.api.FromAduMessage.CarName)
}
#endif
inline void FromAduMessage::set_carname(const char* value) {
GOOGLE_DCHECK(value != NULL);
carname_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
GetArenaNoVirtual());
// @@protoc_insertion_point(field_set_char:hirain.itd.hmi.demo.api.FromAduMessage.CarName)
}
inline void FromAduMessage::set_carname(const char* value,
size_t size) {
carname_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
// @@protoc_insertion_point(field_set_pointer:hirain.itd.hmi.demo.api.FromAduMessage.CarName)
}
inline ::std::string* FromAduMessage::mutable_carname() {
// @@protoc_insertion_point(field_mutable:hirain.itd.hmi.demo.api.FromAduMessage.CarName)
return carname_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
}
inline ::std::string* FromAduMessage::release_carname() {
// @@protoc_insertion_point(field_release:hirain.itd.hmi.demo.api.FromAduMessage.CarName)
return carname_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
}
inline void FromAduMessage::set_allocated_carname(::std::string* carname) {
if (carname != NULL) {
} else {
}
carname_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), carname,
GetArenaNoVirtual());
// @@protoc_insertion_point(field_set_allocated:hirain.itd.hmi.demo.api.FromAduMessage.CarName)
}
inline ::std::string* FromAduMessage::unsafe_arena_release_carname() {
// @@protoc_insertion_point(field_unsafe_arena_release:hirain.itd.hmi.demo.api.FromAduMessage.CarName)
GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
return carname_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
GetArenaNoVirtual());
}
inline void FromAduMessage::unsafe_arena_set_allocated_carname(
::std::string* carname) {
GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
if (carname != NULL) {
} else {
}
carname_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
carname, GetArenaNoVirtual());
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:hirain.itd.hmi.demo.api.FromAduMessage.CarName)
}
// int32 PathNum = 2;
inline void FromAduMessage::clear_pathnum() {
pathnum_ = 0;
}
inline ::google::protobuf::int32 FromAduMessage::pathnum() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.PathNum)
return pathnum_;
}
inline void FromAduMessage::set_pathnum(::google::protobuf::int32 value) {
pathnum_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.PathNum)
}
// double XFusion = 3;
inline void FromAduMessage::clear_xfusion() {
xfusion_ = 0;
}
inline double FromAduMessage::xfusion() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.XFusion)
return xfusion_;
}
inline void FromAduMessage::set_xfusion(double value) {
xfusion_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.XFusion)
}
// double YFusion = 4;
inline void FromAduMessage::clear_yfusion() {
yfusion_ = 0;
}
inline double FromAduMessage::yfusion() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.YFusion)
return yfusion_;
}
inline void FromAduMessage::set_yfusion(double value) {
yfusion_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.YFusion)
}
// double YawFusion = 5;
inline void FromAduMessage::clear_yawfusion() {
yawfusion_ = 0;
}
inline double FromAduMessage::yawfusion() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.YawFusion)
return yawfusion_;
}
inline void FromAduMessage::set_yawfusion(double value) {
yawfusion_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.YawFusion)
}
// float VehicleSpeed = 6;
inline void FromAduMessage::clear_vehiclespeed() {
vehiclespeed_ = 0;
}
inline float FromAduMessage::vehiclespeed() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.VehicleSpeed)
return vehiclespeed_;
}
inline void FromAduMessage::set_vehiclespeed(float value) {
vehiclespeed_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.VehicleSpeed)
}
// int32 ADVStatus = 7;
inline void FromAduMessage::clear_advstatus() {
advstatus_ = 0;
}
inline ::google::protobuf::int32 FromAduMessage::advstatus() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.ADVStatus)
return advstatus_;
}
inline void FromAduMessage::set_advstatus(::google::protobuf::int32 value) {
advstatus_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.ADVStatus)
}
// int32 ADVSwitchReturn = 8;
inline void FromAduMessage::clear_advswitchreturn() {
advswitchreturn_ = 0;
}
inline ::google::protobuf::int32 FromAduMessage::advswitchreturn() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.ADVSwitchReturn)
return advswitchreturn_;
}
inline void FromAduMessage::set_advswitchreturn(::google::protobuf::int32 value) {
advswitchreturn_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.ADVSwitchReturn)
}
// int32 SoftReturn = 9;
inline void FromAduMessage::clear_softreturn() {
softreturn_ = 0;
}
inline ::google::protobuf::int32 FromAduMessage::softreturn() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.SoftReturn)
return softreturn_;
}
inline void FromAduMessage::set_softreturn(::google::protobuf::int32 value) {
softreturn_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.SoftReturn)
}
// int32 EmergencyReturn = 10;
inline void FromAduMessage::clear_emergencyreturn() {
emergencyreturn_ = 0;
}
inline ::google::protobuf::int32 FromAduMessage::emergencyreturn() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.EmergencyReturn)
return emergencyreturn_;
}
inline void FromAduMessage::set_emergencyreturn(::google::protobuf::int32 value) {
emergencyreturn_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.EmergencyReturn)
}
// int32 LocFlag = 11;
inline void FromAduMessage::clear_locflag() {
locflag_ = 0;
}
inline ::google::protobuf::int32 FromAduMessage::locflag() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.LocFlag)
return locflag_;
}
inline void FromAduMessage::set_locflag(::google::protobuf::int32 value) {
locflag_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.LocFlag)
}
// int32 GPSFlagPos = 12;
inline void FromAduMessage::clear_gpsflagpos() {
gpsflagpos_ = 0;
}
inline ::google::protobuf::int32 FromAduMessage::gpsflagpos() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.GPSFlagPos)
return gpsflagpos_;
}
inline void FromAduMessage::set_gpsflagpos(::google::protobuf::int32 value) {
gpsflagpos_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.GPSFlagPos)
}
// int32 ActuatorError = 13;
inline void FromAduMessage::clear_actuatorerror() {
actuatorerror_ = 0;
}
inline ::google::protobuf::int32 FromAduMessage::actuatorerror() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.ActuatorError)
return actuatorerror_;
}
inline void FromAduMessage::set_actuatorerror(::google::protobuf::int32 value) {
actuatorerror_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.ActuatorError)
}
// int32 SensorError = 14;
inline void FromAduMessage::clear_sensorerror() {
sensorerror_ = 0;
}
inline ::google::protobuf::int32 FromAduMessage::sensorerror() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.SensorError)
return sensorerror_;
}
inline void FromAduMessage::set_sensorerror(::google::protobuf::int32 value) {
sensorerror_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.SensorError)
}
// float EvAim = 15;
inline void FromAduMessage::clear_evaim() {
evaim_ = 0;
}
inline float FromAduMessage::evaim() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.EvAim)
return evaim_;
}
inline void FromAduMessage::set_evaim(float value) {
evaim_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.EvAim)
}
// int32 NaviNum = 16;
inline void FromAduMessage::clear_navinum() {
navinum_ = 0;
}
inline ::google::protobuf::int32 FromAduMessage::navinum() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.NaviNum)
return navinum_;
}
inline void FromAduMessage::set_navinum(::google::protobuf::int32 value) {
navinum_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.NaviNum)
}
// float CIPO = 17;
inline void FromAduMessage::clear_cipo() {
cipo_ = 0;
}
inline float FromAduMessage::cipo() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.FromAduMessage.CIPO)
return cipo_;
}
inline void FromAduMessage::set_cipo(float value) {
cipo_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.FromAduMessage.CIPO)
}
// -------------------------------------------------------------------
// ToAduMessage
// int32 PathNumOri = 1;
inline void ToAduMessage::clear_pathnumori() {
pathnumori_ = 0;
}
inline ::google::protobuf::int32 ToAduMessage::pathnumori() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.ToAduMessage.PathNumOri)
return pathnumori_;
}
inline void ToAduMessage::set_pathnumori(::google::protobuf::int32 value) {
pathnumori_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.ToAduMessage.PathNumOri)
}
// .hirain.itd.hmi.demo.api.ToAduMessage.ActionType ADVSwitch = 2;
inline void ToAduMessage::clear_advswitch() {
advswitch_ = 0;
}
inline ::hirain::itd::hmi::demo::api::ToAduMessage_ActionType ToAduMessage::advswitch() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.ToAduMessage.ADVSwitch)
return static_cast< ::hirain::itd::hmi::demo::api::ToAduMessage_ActionType >(advswitch_);
}
inline void ToAduMessage::set_advswitch(::hirain::itd::hmi::demo::api::ToAduMessage_ActionType value) {
advswitch_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.ToAduMessage.ADVSwitch)
}
// -------------------------------------------------------------------
// Message
// .hirain.itd.hmi.demo.api.Message.MessageType type = 1;
inline void Message::clear_type() {
type_ = 0;
}
inline ::hirain::itd::hmi::demo::api::Message_MessageType Message::type() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.Message.type)
return static_cast< ::hirain::itd::hmi::demo::api::Message_MessageType >(type_);
}
inline void Message::set_type(::hirain::itd::hmi::demo::api::Message_MessageType value) {
type_ = value;
// @@protoc_insertion_point(field_set:hirain.itd.hmi.demo.api.Message.type)
}
// .hirain.itd.hmi.demo.api.FromAduMessage from = 2;
inline bool Message::has_from() const {
return aduMessage_case() == kFrom;
}
inline void Message::set_has_from() {
_oneof_case_[0] = kFrom;
}
inline void Message::clear_from() {
if (has_from()) {
if (GetArenaNoVirtual() == NULL) {
delete aduMessage_.from_;
}
clear_has_aduMessage();
}
}
inline ::hirain::itd::hmi::demo::api::FromAduMessage* Message::release_from() {
// @@protoc_insertion_point(field_release:hirain.itd.hmi.demo.api.Message.from)
if (has_from()) {
clear_has_aduMessage();
::hirain::itd::hmi::demo::api::FromAduMessage* temp = aduMessage_.from_;
if (GetArenaNoVirtual() != NULL) {
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp, NULL);
}
aduMessage_.from_ = NULL;
return temp;
} else {
return NULL;
}
}
inline const ::hirain::itd::hmi::demo::api::FromAduMessage& Message::from() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.Message.from)
return has_from()
? *aduMessage_.from_
: *reinterpret_cast< ::hirain::itd::hmi::demo::api::FromAduMessage*>(&::hirain::itd::hmi::demo::api::_FromAduMessage_default_instance_);
}
inline ::hirain::itd::hmi::demo::api::FromAduMessage* Message::unsafe_arena_release_from() {
// @@protoc_insertion_point(field_unsafe_arena_release:hirain.itd.hmi.demo.api.Message.from)
if (has_from()) {
clear_has_aduMessage();
::hirain::itd::hmi::demo::api::FromAduMessage* temp = aduMessage_.from_;
aduMessage_.from_ = NULL;
return temp;
} else {
return NULL;
}
}
inline void Message::unsafe_arena_set_allocated_from(::hirain::itd::hmi::demo::api::FromAduMessage* from) {
clear_aduMessage();
if (from) {
set_has_from();
aduMessage_.from_ = from;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:hirain.itd.hmi.demo.api.Message.from)
}
inline ::hirain::itd::hmi::demo::api::FromAduMessage* Message::mutable_from() {
if (!has_from()) {
clear_aduMessage();
set_has_from();
aduMessage_.from_ =
::google::protobuf::Arena::CreateMessage< ::hirain::itd::hmi::demo::api::FromAduMessage >(
GetArenaNoVirtual());
}
// @@protoc_insertion_point(field_mutable:hirain.itd.hmi.demo.api.Message.from)
return aduMessage_.from_;
}
// .hirain.itd.hmi.demo.api.ToAduMessage to = 3;
inline bool Message::has_to() const {
return aduMessage_case() == kTo;
}
inline void Message::set_has_to() {
_oneof_case_[0] = kTo;
}
inline void Message::clear_to() {
if (has_to()) {
if (GetArenaNoVirtual() == NULL) {
delete aduMessage_.to_;
}
clear_has_aduMessage();
}
}
inline ::hirain::itd::hmi::demo::api::ToAduMessage* Message::release_to() {
// @@protoc_insertion_point(field_release:hirain.itd.hmi.demo.api.Message.to)
if (has_to()) {
clear_has_aduMessage();
::hirain::itd::hmi::demo::api::ToAduMessage* temp = aduMessage_.to_;
if (GetArenaNoVirtual() != NULL) {
temp = ::google::protobuf::internal::DuplicateIfNonNull(temp, NULL);
}
aduMessage_.to_ = NULL;
return temp;
} else {
return NULL;
}
}
inline const ::hirain::itd::hmi::demo::api::ToAduMessage& Message::to() const {
// @@protoc_insertion_point(field_get:hirain.itd.hmi.demo.api.Message.to)
return has_to()
? *aduMessage_.to_
: *reinterpret_cast< ::hirain::itd::hmi::demo::api::ToAduMessage*>(&::hirain::itd::hmi::demo::api::_ToAduMessage_default_instance_);
}
inline ::hirain::itd::hmi::demo::api::ToAduMessage* Message::unsafe_arena_release_to() {
// @@protoc_insertion_point(field_unsafe_arena_release:hirain.itd.hmi.demo.api.Message.to)
if (has_to()) {
clear_has_aduMessage();
::hirain::itd::hmi::demo::api::ToAduMessage* temp = aduMessage_.to_;
aduMessage_.to_ = NULL;
return temp;
} else {
return NULL;
}
}
inline void Message::unsafe_arena_set_allocated_to(::hirain::itd::hmi::demo::api::ToAduMessage* to) {
clear_aduMessage();
if (to) {
set_has_to();
aduMessage_.to_ = to;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:hirain.itd.hmi.demo.api.Message.to)
}
inline ::hirain::itd::hmi::demo::api::ToAduMessage* Message::mutable_to() {
if (!has_to()) {
clear_aduMessage();
set_has_to();
aduMessage_.to_ =
::google::protobuf::Arena::CreateMessage< ::hirain::itd::hmi::demo::api::ToAduMessage >(
GetArenaNoVirtual());
}
// @@protoc_insertion_point(field_mutable:hirain.itd.hmi.demo.api.Message.to)
return aduMessage_.to_;
}
inline bool Message::has_aduMessage() const {
return aduMessage_case() != ADUMESSAGE_NOT_SET;
}
inline void Message::clear_has_aduMessage() {
_oneof_case_[0] = ADUMESSAGE_NOT_SET;
}
inline Message::AduMessageCase Message::aduMessage_case() const {
return Message::AduMessageCase(_oneof_case_[0]);
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
} // namespace api
} // namespace demo
} // namespace hmi
} // namespace itd
} // namespace hirain
namespace google {
namespace protobuf {
template <> struct is_proto_enum< ::hirain::itd::hmi::demo::api::ToAduMessage_ActionType> : ::google::protobuf::internal::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::hirain::itd::hmi::demo::api::ToAduMessage_ActionType>() {
return ::hirain::itd::hmi::demo::api::ToAduMessage_ActionType_descriptor();
}
template <> struct is_proto_enum< ::hirain::itd::hmi::demo::api::Message_MessageType> : ::google::protobuf::internal::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::hirain::itd::hmi::demo::api::Message_MessageType>() {
return ::hirain::itd::hmi::demo::api::Message_MessageType_descriptor();
}
} // namespace protobuf
} // namespace google
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_msg_2eproto__INCLUDED
| [
"dingbobby@hotmail.com"
] | dingbobby@hotmail.com |
d993f01a3200ead0cf3976460fe7c0615cff53ac | 4d04b7b0a8e9418f729ddee54bda43484657d52f | /Мої/збереження графічної моделі у файл/нове/нове/Create3D.h | 4b9220d1a3e166423f3ff67f96901e9bd0f0305c | [] | no_license | BREAK350/myCProgram-old | 359c021d7bcfa9e44fa831498a417294703a0c1e | 10bbfdd3cadd8c8d91b078591d6d646da20b48cb | refs/heads/master | 2021-01-10T20:04:20.229647 | 2015-01-28T06:51:00 | 2015-01-28T06:51:00 | 29,954,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 866 | h | //---------------------------------------------------------------------------
#ifndef Create3DH
#define Create3DH
#include "Draw3D.h"
//---------------------------------------------------------------------------
class CreateModel:public TModel
{
public:
CreateModel();
vector3 Point[256];
Line line[10000];
TColor clline[10000],
cltriagle[10000];
void SaveToFile(char*);
void AddNewPoint(vector3);
void AddNewLine(int,int,TColor);
};
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#endif
| [
"break350@gmail.com"
] | break350@gmail.com |
afdcf7e243fa79536dc08709fb9076b8d16a7282 | 464cd8249cd3b4e6b5901eabc23e2b87ba9e7fab | /After Life/build/Android/Preview/app/src/main/include/Fuse.Motion.Simulatio-8063728b.h | ccf5d8babdfc61fb68fdd4c108cf5788e882af59 | [] | no_license | martin-morales/After-Life | 25f95dd5e5b6069355358ff7c9bd5b1bc022ee7c | 932ff16a632048678343f887f4c2fc44a072b9eb | refs/heads/master | 2021-09-23T00:11:32.160761 | 2017-05-26T03:13:26 | 2017-05-26T03:13:26 | 91,754,404 | 0 | 0 | null | 2018-09-18T22:04:13 | 2017-05-19T01:53:31 | C++ | UTF-8 | C++ | false | false | 2,082 | h | // This file was generated based on '../../../Library/Application Support/Fusetools/Packages/Fuse.Motion/1.0.2/simulation/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Motion.Simulatio-a4ba96c1.h>
#include <Uno.Object.h>
namespace g{
namespace Fuse{
namespace Motion{
namespace Simulation{
// internal abstract interface MotionSimulation<T> :1318
// {
uInterfaceType* MotionSimulation_typeof();
struct MotionSimulation
{
void(*fp_get_Position)(uObject*, uTRef);
void(*fp_set_Position)(uObject*, void*);
void(*fp_get_Velocity)(uObject*, uTRef);
void(*fp_set_Velocity)(uObject*, void*);
template<class T>
static T Position(const uInterface& __this) { T __retval; return __this.VTable<MotionSimulation>()->fp_get_Position(__this, &__retval), __retval; }
static void get_Position_ex(const uInterface& __this, uTRef __retval) { __this.VTable<MotionSimulation>()->fp_get_Position(__this, __retval); }
template<class T>
static void Position(const uInterface& __this, T value) { __this.VTable<MotionSimulation>()->fp_set_Position(__this, uConstrain(__this->__type->GetBase(MotionSimulation_typeof())->T(0), value)); }
static void set_Position_ex(const uInterface& __this, void* value) { __this.VTable<MotionSimulation>()->fp_set_Position(__this, value); }
template<class T>
static T Velocity(const uInterface& __this) { T __retval; return __this.VTable<MotionSimulation>()->fp_get_Velocity(__this, &__retval), __retval; }
static void get_Velocity_ex(const uInterface& __this, uTRef __retval) { __this.VTable<MotionSimulation>()->fp_get_Velocity(__this, __retval); }
template<class T>
static void Velocity(const uInterface& __this, T value) { __this.VTable<MotionSimulation>()->fp_set_Velocity(__this, uConstrain(__this->__type->GetBase(MotionSimulation_typeof())->T(0), value)); }
static void set_Velocity_ex(const uInterface& __this, void* value) { __this.VTable<MotionSimulation>()->fp_set_Velocity(__this, value); }
};
// }
}}}} // ::g::Fuse::Motion::Simulation
| [
"27martinmorales@gmail.com"
] | 27martinmorales@gmail.com |
ef29b3876deda12436e511da44ef20e8bed2d9a2 | 393320d4dc9463ae7047390e4afe6f3e25fd70b9 | /tek3/C++/cpp_rtype/server/include/libloader/DLLoaderManager.hpp | f1557313f1804b67ec4674cedb68a03809fb2c19 | [] | no_license | Lime5005/epitech-1 | d1c4f3739716173c8083ea4e6a04260d6dc92775 | cb25df1fa5d540624b9e7fd58de6e458cd5cc250 | refs/heads/master | 2023-02-09T07:38:57.850357 | 2019-10-14T15:03:44 | 2019-10-14T15:03:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,109 | hpp | /*
** DLLoaderManager.hpp for cpp_arcade in /home/anthony/repository/cpp_arcade/DLLoaderManager.hpp
**
** Made by Anthony LECLERC
** Login <anthony.leclerc@epitech.eu>
**
** Started on sam. mars 11 12:52:53 2017 Anthony LECLERC
// Last update Fri Mar 17 21:34:49 2017 Sylvain Chaugny
*/
#ifndef CPP_ARCADE_DLLOADERMANAGER_HPP
# define CPP_ARCADE_DLLOADERMANAGER_HPP
# include <algorithm>
#include <string>
#include <vector>
#include <iostream>
#include <server/include/spawner/SpawnerManager.hpp>
#include "DLInstanceLoader.hpp"
#include "DLLoaderFactory.hpp"
#include "FileSystem.hpp"
#include "shared/ECS/include/ISpawner.hpp"
#ifdef UNIX
# include <dirent.h>
#endif
namespace rtype {
namespace module {
template <typename TInterface>
class DLLoaderManager {
public:
using loader_type = DLInstanceLoader<TInterface>;
typedef typename std::vector<std::unique_ptr<loader_type> > Loaders;
typedef typename Loaders::iterator iterator;
typedef typename Loaders::const_iterator const_iterator;
private:
std::string _folder;
Loaders _libs;
public:
DLLoaderManager() :
_folder(), _libs()
{}
DLLoaderManager(char const *path) :
_folder(), _libs()
{
loadLibraries(path);
}
~DLLoaderManager() = default;
/*
* \brief iterator for Libraries -> from std::vector
*/
iterator
begin()
{ return _libs.begin(); }
const_iterator
begin() const
{ return _libs.begin(); }
iterator
end()
{ return _libs.end(); }
const_iterator
end() const
{ return _libs.end(); }
bool
loadLibrary(std::string const& file)
{
std::cout << "Lib path: " << file << std::endl;
if (std::none_of(_libs.begin(), _libs.end(),
[&file](auto&& it) {
return (it->path() == file);
}))
{
auto loader = module::make::newFunctionLoader<TInterface>(file.c_str());
if (!loader->isLoaded()) {
return false;
}
_libs.push_back(std::move(loader));
return true;
}
return false;
}
/// @brief Load all possible libraries in a folder,
/// given a relative or alsolute path
/// @param path
/// @return Number of loaded libraries.
std::size_t
loadLibraries(char const *path)
{
fs::FolderDescriptor directory_view(path);
if (!directory_view) {
return 0;
}
std::size_t count { 0 };
while (directory_view.hasNext()) {
auto file = directory_view.next();
if (file.isFile()) {
std::string filepath(path);
// Add folder path to the file name
filepath.append(file.name());
if (loadLibrary(filepath))
++count;
}
}
return count;
}
/*
* \brief Unload the library pointed by the iterator and remove it from _libs
* \param library iterator to the library to be removed
*/
void
removeLibrary(iterator& library)
{
_libs.erase(library);
}
void
removeLibraries()
{
_libs.erase(_libs.begin(), _libs.end());
}
void
removeLibraries(iterator begin, iterator end)
{
_libs.erase(begin, end);
}
/*
* if size == 0, then no library have been loaded
*/
size_t
size() const
{
return _libs.size();
}
/// @brief Getter
/// @param void
/// @return vector of libraries
std::vector<ecs::ISpawner *>
getSpawners() {
std::vector<ecs::ISpawner *> spawners;
for (auto &library : _libs) {
auto f = library->template loadFunction<ecs::ISpawner *(*)()>("getSpawner");
if (f != nullptr)
spawners.emplace_back(f());
}
return (spawners);
}
/// @brief Fill the SpawnerManager of Spawners
/// @param SpawnerManager &
/// @return void
void fillSpawnerManager(rtypeserver::SpawnerManager &manager) {
for (auto &library : _libs) {
auto f = library->template loadFunction<ecs::ISpawner *(*)()>("getSpawner");
if (f != nullptr)
manager.addSpawner(f());
else
std::clog << "[ERROR] Failed to load function \"getSpawner\"." << std::endl;
}
}
};
}
}
#endif /* !CPP_ARCADE_DLLOADERMANAGER_HPP */
| [
"gauthier.cler@epitech.eu"
] | gauthier.cler@epitech.eu |
83eaa48c21c4dc075b2785f74b205b59d47113db | e8db50e2227f66b7fbe223467c8509d34cc25b70 | /array.h | 8309deca9bc26c107539f91a6cb981781c843055 | [] | no_license | pycpp/stl | b281993f2d9cc9b73c5b12e32291053038187dba | baa0daac8e8e7ac56a46b3e05df2f46e54b155c5 | refs/heads/master | 2021-05-10T11:01:26.392237 | 2018-01-29T00:16:25 | 2018-01-29T00:16:25 | 118,400,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | h | // :copyright: (c) 2017-2018 Alex Huszagh.
// :license: MIT, see licenses/mit.md for more details.
/**
* \addtogroup PySTD
* \brief <array> aliases.
*/
#pragma once
#include <pycpp/stl/initializer_list.h>
#include <pycpp/stl/iterator.h>
#include <array>
PYCPP_BEGIN_NAMESPACE
// FORWARD
// -------
template <typename T>
struct tuple_size;
template <size_t I, typename T>
struct tuple_element;
// ALIAS
// -----
using std::get;
using std::swap;
using std::array;
PYCPP_END_NAMESPACE
| [
"ahuszagh@ahuszagh.localdomain"
] | ahuszagh@ahuszagh.localdomain |
924bf153b934adc393a3f45e7ed8f77bc2ca9f3a | 49b0562ff027a6cbe11dd04f36caf9f82d8fdf8f | /trance/algorithm/ncopy.hpp | d3b823874edf46572a206ffdd8a204c52e55fe7e | [
"MIT"
] | permissive | Flast/trance | 05dc3895479d5fd55bbdc160d72fe334bd22a35e | 516721fd58d6c9f9c626c5fc72ab9e7b391a3db6 | refs/heads/master | 2020-12-25T19:03:27.760443 | 2011-12-20T04:55:15 | 2011-12-20T04:55:15 | 1,558,360 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,062 | hpp | // trance ncopy.hpp - Extended copy algorithm.
//
// Copyright (c) 2011 - 2011 Kohei Takahashi (Flast)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
#ifndef IG_TRANCE_ALGORITHM_NCOPY_HPP_ONCE_
#define IG_TRANCE_ALGORITHM_NCOPY_HPP_ONCE_
#include <boost/concept_check.hpp>
#include <boost/iterator/iterator_concepts.hpp>
namespace trance
{
template < typename InputIterator, typename Size, typename OutputIterator >
inline OutputIterator
ncopy( InputIterator _itr, InputIterator _end, Size _n, OutputIterator _result )
{
using namespace boost_concepts;
BOOST_CONCEPT_ASSERT(( SinglePassIteratorConcept< InputIterator > ));
// Can std::back_insert_iterator<std::string> satisfy writable iterator condet?
//BOOST_CONCEPT_ASSERT(( WriteableIteratorConcept< OutputIterator > ));
BOOST_CONCEPT_ASSERT(( IncrementableIterator< OutputIterator > ));
for ( ; _itr != _end && _n > 0; --_n )
{ *_result++ = *_itr++; }
return _result;
}
} // namespace trance
#endif // IG_TRANCE_ALGORITHM_NCOPY_HPP_ONCE_
| [
"flast@flast.jp"
] | flast@flast.jp |
75de43320ad8fcce1111b82abb7343a2057a808f | acffad4dcd9b15476489a9298d7cebc3b1f54b54 | /2048Learning/Classes/Native/mscorlib_System_Collections_ObjectModel_ReadOnlyCo1544689945.h | e2cfe141a5515d29e204d226ddeb22a5951b1246 | [] | no_license | pochyn/MyOwnUnityGame | a4654397c36dc78ce0a2a37234bd45faf4715c49 | e84520cb5aaada3eb7a1f3a0acc029d16c2a6671 | refs/heads/master | 2022-01-22T20:51:49.135316 | 2019-08-03T18:16:27 | 2019-08-03T18:16:27 | 115,950,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,142 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object2689449295.h"
// System.Collections.Generic.IList`1<Tile[]>
struct IList_1_t1899844854;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.ObjectModel.ReadOnlyCollection`1<Tile[]>
struct ReadOnlyCollection_1_t1544689945 : public Il2CppObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
Il2CppObject* ___list_0;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t1544689945, ___list_0)); }
inline Il2CppObject* get_list_0() const { return ___list_0; }
inline Il2CppObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(Il2CppObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier(&___list_0, value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"staspochyn@gmail.com"
] | staspochyn@gmail.com |
3b059255019c4c75baf524f029623df2d34be881 | 6e69eaf63109c10d434e5c8dcd4ffa16df26e2eb | /.old/game/World.h | 7827d30d350abf893b84fbedbeb9e188b448242e | [] | no_license | UIKit0/dont-stop-running | 5e390473f6130724a0a9989d90c8376e00ef1fbd | 89635714375234dc3365b468ad27a9f76295d7fb | refs/heads/master | 2021-01-15T21:29:18.999842 | 2015-01-31T13:35:38 | 2015-01-31T13:35:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,188 | h | #pragma once
#include <algorithm>
#include <sstream>
#include <vector>
#include <StateInput.h>
#include "Renderable.h"
#include "Updateable.h"
#include "Runner.h"
#include "RunnerTrail.h"
#include "Sound.h"
#include "Stats.h"
#include "TileEngine.h"
#include "Vec2.h"
#include "BackgroundRenderer.h"
static const int TILE_SIZE = 32;
static const double TOP_MIN = 300.0;
class World : public engine::Updateable, public engine::Renderable {
public:
World(engine::Engine *engine, engine::TileEnginePtr tileEngine);
~World();
void update(double timeDelta) override;
void render(engine::Renderer *renderer) override;
void createBlock(int left, int right, int top);
double obstacleDistance(engine::Vec2 position);
double floorPosition(engine::Vec2 position);
Runner *getRunner();
engine::Engine *getEngine();
engine::Vec2 getCameraPosition();
Stats &getStats();
void displayConstants();
private:
void drawBlocks();
void drawBlock(const engine::Rect2 &block);
void drawRunner();
void drawStats(engine::Vec2 const &position);
void addBlock(const engine::Rect2 &block);
bool shouldGenerateNewBlock();
void generateNewBlock();
private:
std::unique_ptr<Runner> runner;
engine::Vec2 position;
engine::Engine *engine;
engine::TileEnginePtr tileEngine;
std::unique_ptr<engine::Texture> sawTexture;
std::unique_ptr<engine::Texture> background;
std::unique_ptr<engine::Texture> backgroundFar;
std::unique_ptr<engine::Texture> backgroundMid;
std::unique_ptr<engine::Texture> backgroundNear;
std::vector<engine::Rect2> blocks;
std::vector<double> blockOriginalY;
std::vector<double> blockTimeOffset;
std::vector<double> blockVelocity;
std::vector<engine::SoundSamplePtr> stepSoundSamples;
int currentStepSample = 0;
double stepPlayTime = 0.0;
double stepPeriod = 0.6;
Stats stats;
static const int PIXELS_PER_METER = 25;
std::unique_ptr<RunnerTrail> runnerTrail;
std::unique_ptr<engine::Entity> runnerEntity;
std::unique_ptr<engine::StateInput> input;
BackgroundRenderer backgroundPainter;
};
| [
"astronothing@gmail.com"
] | astronothing@gmail.com |
d54523d360f85940b3f37d06b1e11cde42b6a00d | 71ae6fc9b3b5ccd94f51b992f0fbf5a7e59ec3b6 | /take-one/ch-1/hello-world.cpp | 2ff7b59c5648d6d2c8916f2e32208897f6682eb0 | [] | no_license | aaronArinder/cpp-crash-course | 867ad03ea368d1b82125a76fdef9faf937f7ed3a | 015eda9b705d3ae9d921c0464bb2f3001ee156b5 | refs/heads/master | 2023-07-10T09:44:57.056708 | 2021-08-14T21:20:25 | 2021-08-14T21:20:25 | 267,589,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76 | cpp | #include <cstdio>
int main(){
printf("Hello, world!");
return 0;
}
| [
"aaronarinder@gmail.com"
] | aaronarinder@gmail.com |
922ca28eb92cd32a0fad7fb5cfa40d00fae6c564 | f8830a27d65e98207294b1733799b7f6e6f13642 | /Classes/BaseGuideLayer.h | d867a6ca602c30857d338347df6f45d406e6279d | [] | no_license | quinsmpang/game-LostStar | c56b346739b16869d1e8ca5ca5f33021c54e84a1 | 2e88e1f55445933d2f69ed1a5b67f4f32cf0a723 | refs/heads/master | 2021-01-17T06:23:24.506825 | 2015-08-29T03:21:45 | 2015-08-29T03:21:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,128 | h | #ifndef __BaseGuideLayer_H__
#define __BaseGuideLayer_H__
#include "LFLayer.h"
#include <string>
#include "ResManager.h"
#include "BaseContentLayer.h"
#include "SpriteHelper.h"
#include "font.h"
#include "LFStrings.h"
using namespace std;
class BaseScense;
#define Finger_Pos_Offset_X 48.5f
#define Finger_Pos_Offset_Y (-49.0f - 12.0f)
#define Tag_Shadow 1211
#define Finger_Armature_DianJi "dianji"
#define Finger_Armature_ChuiQi "chuiqi"
#define Finger_Armature_Finger "finger"
class BaseGuideLayer : public LFLayer
{
protected:
int mSeasonId;
int mSectionId;
cocos2d::extension::CCArmature* mFinger;
ResManager* resMgr;
BaseScense* mBaseScene;
CCSize mWinSize;
BaseContentLayer* mBaseContentLayer;
bool mBaseContentLayerTouchEff;
void setBaseContentLayerCurrentTouchEffectve(bool eff){mBaseContentLayerTouchEff = eff;};
void pauseBaseContentLayer();
void resumeBaseContentLayer();
string getTxtImageFile(std::string file);
string getImageFile(std::string file);
public:
BaseGuideLayer(int seasonId,int sectionId);
void setBaseScene(BaseScense* scene);
void setBaseContentLayer(BaseContentLayer* layer);
// baseContentLayer中的事件的回调,如果不需要他baseContentLayer处理,那么就返回false
// 就可以屏蔽了 begin的操作
virtual bool baseContentLayerTouchsBegin(CCSet *pTouches, CCEvent *pEvent){return mBaseContentLayerTouchEff;};
virtual bool baseContentLayerTouchsMoved(CCSet *pTouches, CCEvent *pEvent){return mBaseContentLayerTouchEff;};
virtual bool baseContentLayerTouchsEnd(CCSet *pTouches, CCEvent *pEvent){return mBaseContentLayerTouchEff;};
// 有效点击之后 会回调,NULL 代表是绳子
virtual void baseContentLayerEffctiveClicked(CCNode* node){};
virtual void startGuide(){};
virtual void stopGuide();
void hideAll();
virtual void pause();
virtual void resume();
virtual void labelRunAction(CCLabelTTF* pTraget, CCAction* pAction);
static CCLabelTTF* createShadowLabel(const char *string, const char *fontName = fontStr_KlavikaBold, float fontSize = 26);
static CCSprite* createShadowArrow(const char *string);
};
#endif | [
"songcf_faith@foxmail.com"
] | songcf_faith@foxmail.com |
e3a436077e04a5543e768e72838c50fd14dfe698 | 246f124a061fa5a60ad812ae13dc5a018aab531d | /saisyuu.cpp | 54aeb48130a85fab1ff88602468f0a55ae8f8867 | [] | no_license | hayashi-keiichi-mse/prog2_saisyukadai | 4e461c957065db1d74589e37048cf8b62202add3 | 0f08f29a57d422dc5b7e2d93f5101f1eb83ef1ff | refs/heads/master | 2022-11-27T22:20:28.611247 | 2020-08-12T03:59:35 | 2020-08-12T03:59:35 | 286,409,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,444 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <conio.h>
#include <time.h>
#include <math.h>
using namespace std;
/*マス目の構造体を定義*/
struct Grid {
//bool型で色を決定,trueなら有色,falseなら無色
bool yourColor = false; //現在のマス目の色
bool collectColor = false; //答えの色
void changeYourColor(); //マス目の色を変更
bool checkYourAns(); // そのマス目について正解か確認
};
void Grid::changeYourColor() {
yourColor = !yourColor; //そのマス目の色を変更
}
bool Grid::checkYourAns() {
/*プレイヤの色と答えが合っているか確認*/
if (yourColor == collectColor) return true;
return false;
}
/*問題を生成*/
vector<vector<Grid>> makeAns(int hight, int width) {
vector<vector<Grid>> ans(hight, vector<Grid>(width)); //Grid型のvectorを定義
int random; //乱数を生成
/*乱数で各マス目の色(答え)を決定*/
for (int y = 0; y < hight; y++) {
static clock_t timPre, timCur = clock();
srand((unsigned int)timCur); /*時間で初期化*/
for (auto y = ans.begin(); y != ans.end(); y++) {
for (auto x = (*y).begin(); x != (*y).end(); x++) {
random = rand() % 2; //0または1の乱数を生成
if (random == 1) {
(*x).collectColor = true; //0なら無色に設定
}else {
(*x).collectColor = false; //1なら有色(黒)に設定
}
}
}
/*同じパターンの乱数を生成を防ぐ_処理間隔を開ける*/
timPre = timCur;
while ((unsigned int)timPre == (unsigned int)timCur) {
timCur = clock();
}
}
return ans;
}
/*行ヒント情報の取得*/
vector<vector<int>> getHintLine(vector<vector<Grid>> ans, int hight, int width){
vector<vector<int>> hintLine(hight, vector<int>()); //行のヒントを格納するためのvectorを生成
for (int i = 0; i < hight; i++) {
static int count = 0;
for (int j = 0; j < width; j++) {
if (ans.at(i).at(j).collectColor) {
count++;
}
if (!ans.at(i).at(j).collectColor && count != 0) {
hintLine[i].push_back(count); //黒いマス目が連続する回数を代入
count = 0;
}
}
if (count != 0) {
hintLine[i].push_back(count);
}
if (hintLine.at(i).empty()) {
hintLine[i].push_back(0); //その列に黒いマス目が1つもない場合は0を代入
}
count = 0;
}
return hintLine;
}
/*列ヒント列情報の取得*/
vector<vector<int>> getHintRaw(vector<vector<Grid>> ans, int hight, int width){
vector<vector<int>> hintRaw(width, vector<int>());
for (int x = 0; x < width; x++) {
static int count = 0;
for (int y = 0; y < hight; y++) {
if (ans.at(y).at(x).collectColor) {
count++;
}
if (!ans.at(y).at(x).collectColor && count != 0) {
hintRaw[x].push_back(count); //黒いマス目の連続回数を代入
count = 0;
}
}
if (count != 0) {
hintRaw[x].push_back(count);
}
if (hintRaw.at(x).empty()) { //その列に黒いマス目が1つもない場合は0を代入
hintRaw[x].push_back(0);
}
count = 0;
}
return hintRaw;
}
/*問題と別問題の解が同じになるか確認*/
bool isSameAns(vector<vector<Grid>> anoSol, vector<vector<int>>hintLOrg, vector<vector<int>>hintROrg) {
int hight, width;
hight = end(anoSol) - begin(anoSol);
width = end(anoSol.at(0)) - begin(anoSol.at(0));
vector<vector<int>> hintL, hintR;
hintL = getHintLine(anoSol, hight, width); //別解候補の行ヒント情報を調査
hintR = getHintRaw(anoSol, hight, width); //別解の列ヒント情報を調査
if (hintL == hintLOrg && hintR == hintROrg) {
return true;
}
return false;
}
/*組み合わせ計算*/
void combination(const vector<int>& color, vector<int>& result, vector<int>& box, unsigned n) {
if (result.size() == n) { //指定選択数まで探索したか判断
for (auto& i : result) {
box.push_back(i); //組み合わせ情報を記録
}
}
else {
vector<int>::const_iterator i;
if (result.empty()) {
i = color.cbegin();
}
else {
i = find(color.cbegin(), color.cend(), result.back()) + 1;
}
while (i != color.end()) {
result.push_back(*i);
combination(color, result, box, n);
result.pop_back();
i++;
}
}
}
/*全要素がfalseから成る2次元vectorの生成*/
vector<vector<Grid>> resetV(int hight, int width) {
vector<vector<Grid>> v(hight, vector<Grid>(width));
for (auto i = v.begin(); i != v.end(); i++) {
for (auto j = (*i).begin(); j != (*i).end(); j++) {
(*j).collectColor = false;
}
}
return v;
}
/*作成した問題の一意性を確認*/
bool checkAnoSol(int hight, int width, vector<vector<int>>hintLOrg, vector<vector<int>>hintROrg) {
vector<vector<Grid>> anoSol; //別解探索用
vector<int> choice, result, comb; //マス目の数分の数値格納用,組み合わせの一時保持用,組み合わせ全記録用
int solutions = 0, numcolor = 0, combElements = 0, numElements; //解の個数,黒いマス目の合計,組み合わせ格納用,マス目の合計数
numElements = hight * width; //マス目の合計数を計算
/*模範解答の黒いマス目の合計数を調査*/
for (auto i = hintLOrg.begin(); i != hintLOrg.end(); i++) {
for (auto j = (*i).begin(); j != (*i).end(); j++) {
numcolor += *j;
}
}
/*マス目の合計数と同じだけのvectorを生成*/
for (int i = 0; i < numElements; i++) {
choice.push_back(i);
}
combination(choice, result, comb, numcolor); //色を塗るマス目の組合せを調査
for (auto i = comb.begin(); i != comb.end(); i++) {
combElements++;
}
/*別解探索*/
for (int i = 0; i < combElements / numcolor; i++) {
anoSol = resetV(hight, width);
for (int j = 0; j < numcolor; j++) { //numcolorは有色マスの個数
anoSol.at(comb[i * numcolor + j] / width).at(comb[i * numcolor + j] % width).collectColor = true; //指定した行,列の色を黒へ
}
if (isSameAns(anoSol, hintLOrg, hintROrg)) solutions++; //解が同じになるか確認
if(1 < solutions) return false; //複数解が出たらアウト
}
if (solutions == 1) return true; //解が1つならOK
else return false;
}
/*1行分のヒント情報表示*/
void printHintL(int y, vector<vector<int>> hintLine) {
int sizeVecL;
cout << (" ");
if (!hintLine.at(y).empty()) {
sizeVecL = end(hintLine.at(y)) - begin(hintLine.at(y));
for (int i = 0; i < sizeVecL; i++) {
char num[3] = ("0"); //全角文字表示用
num[1] = num[1] + hintLine.at(y).at(i); //全角に変換
cout << num;
}
}
}
/*全部列分のヒントを表示*/
void printHintR(vector<vector<int>> hintRaw) {
int sizeVecL, maxSizeVecL = 0, sizeVecR; //列ヒントvecの行数,最大行数,列数
sizeVecR = end(hintRaw) - begin(hintRaw);
/*列ヒントvecctorの最大行数を調査*/
for (int i = 0; i < sizeVecR; i++) {
sizeVecL = end(hintRaw.at(i)) - begin(hintRaw.at(i));
if (maxSizeVecL < sizeVecL) {
maxSizeVecL = sizeVecL;
}
}
/*列ヒントを全て表示*/
for (int i = 0; i < maxSizeVecL; i++) {
cout << (" ");
for (int j = 0; j < sizeVecR; j++) {
sizeVecL = end(hintRaw.at(j)) - begin(hintRaw.at(j));
if (i < sizeVecL) {
char num[3] = ("0"); //全角変換用
num[1] = num[1] + hintRaw.at(j).at(i); //全角文字として出力
cout << num;
} else {
cout << (" ");
}
}
cout << endl;
}
}
/*プレイヤーの解答と模範解答が一致するか確認*/
bool checkYourAns(vector<vector<Grid>> grids) {
for (auto y = grids.begin(); y != grids.end(); y++) {
for (auto x = (*y).begin(); x != (*y).end(); x++) {
if (!(*x).checkYourAns()) return false;
}
}
return true;
}
/*描画時のマーカーの選択*/
void selectPatern(int y, int posY, int x, int posX, bool yourColor) {
if ((x == posX) && (y == posY)) {// カーソルの位置を表示
if (yourColor) {
cout << "★";
} else {
cout << "☆";
}
}else { //マス目描画
if (yourColor) {
cout << "■"; //黒いマス目を表示
} else {
cout << "□"; //白いマス目を表示
}
}
}
/*描画処理*/
void drawPic(vector<vector<Grid>>& grids, int posY, int posX, vector<vector<int>> hintLine, vector<vector<int>> hintRaw) {
cout << endl;
for (size_t y = 0; y < grids.size(); y++) {
cout << (" ");
for (size_t x = 0; x < grids.at(y).size(); x++) {
selectPatern(y, posY, x, posX, grids.at(y).at(x).yourColor); //マス目の模様を表示
}
printHintL(int(y), hintLine); //行ヒントの表示
cout << endl;
}
printHintR(hintRaw); //最後に列ヒントの表示
}
/*入力処理*/
void input(vector<vector<Grid>>& grids, int &posY, int &posX, int hight, int width) {
switch (_getch()) { //キーボード入力の受付
case 'p': //pが入力されたらそのマス目の色を変える
grids.at(posY).at(posX).changeYourColor();
break;
case 'u': //uが入力されたらカーソルを上に移動
posY--;
if (posY < 0) posY = 0; //移動制限
break;
case 'd': //dが入力されたらカーソルを下に移動
posY++;
if (hight <= posY) posY --; //移動制限
break;
case 'r':
posX++; //rが入力されたらカーソルを右に移動
if (width <= posX) posX --; //移動制限
break;
case 'l':
posX--; //lが入力されたらカーソルを左に移動
if (posX < 0) posX = 0; //移動制限
break;
default :
break;
}
}
int main() {
const int hight = 4, width = 4; //マス目のサイズ_表示の都合上必ず1桁に設定
vector<vector<Grid>> grids(hight, vector<Grid>(width)); //プレイヤーの解答情報を格納
vector<vector<int>> hintLine; //行ヒント情報
vector<vector<int>> hintRaw; //列ヒント情報
/*問題生成処理*/
cout << ("問題作成中");
do {
grids.clear(); //再度問題生成時にvectorの中身を消去
hintLine.clear(); //再度問題生成時にvectorの中身を消去
hintRaw.clear(); //再度問題生成時にvectorの中身を消去
grids = makeAns(hight, width); //問題生成
hintLine = getHintLine(grids, hight, width);
hintRaw = getHintRaw(grids, hight, width);
} while(!checkAnoSol(hight, width, hintLine, hintRaw)); //作問が適当か確認
system("cls");
/*描画処理*/
while (!checkYourAns(grids)) {
static int posX = 0, posY = 0; //カーソルの座標定義
drawPic(grids, posY, posX, hintLine, hintRaw); //描画処理
cout << endl << endl;
input(grids, posY, posX, hight, width); //入力処理
system("cls"); //画面消去
}
drawPic(grids, -1, -1, hintLine, hintRaw);
cout << "正解!クリア!" << endl;
}
| [
"noreply@github.com"
] | noreply@github.com |
801b3812b55cf6c50c8f3d54878ca7e158faaecd | 2d8567e2b2b71c1ec6273d5859503fb375becef7 | /src/random.cpp | 4c7f3cc549b696033b51151289d748923e3b18db | [
"MIT"
] | permissive | lkskstlr/mc-mpi | 5c176a8b17bb38decda0d61ef412359265f109b9 | fc197f4bdf8f3dc3692fc24019bfd7f3c12d6442 | refs/heads/master | 2020-03-29T05:35:30.650436 | 2019-03-08T14:33:00 | 2019-03-08T14:33:00 | 149,589,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 787 | cpp | /**
* INF560 - MC
*/
#include "random.hpp"
/* REAL RNG */
static const seed_t RNG_G = (seed_t)(6364136223846793005ull);
static const seed_t RNG_C = (seed_t)(1442695040888963407ull);
static const seed_t RNG_P = (seed_t)(1) << 63;
real_t rnd_real(seed_t *seed) {
real_t inv_RNG_P = (real_t)(1) / (real_t)(RNG_P);
*seed = (RNG_G * *seed + RNG_C) % RNG_P;
return (real_t)(*seed) * inv_RNG_P;
}
/* SEED RNG */
static const seed_t RNGS_G = (seed_t)(5177284530976225183ull);
static const seed_t RNGS_C = (seed_t)(2096348467109453893ull);
static const seed_t RNGS_P = (seed_t)(1) << 63;
seed_t rnd_seed(seed_t *seed) {
// unused
// real_t inv_RNGS_P = (real_t)(1) / (real_t)(RNGS_P);
*seed = (RNGS_G * *seed + RNGS_C) % RNGS_P;
return *seed;
}
| [
"lkskstlr@gmail.com"
] | lkskstlr@gmail.com |
6eb505a504fe2e58ec0564439794e09c78d1f207 | 198806ccd0b5a7d476c701be5943e9a7afacb7d0 | /TriDAS/emu/emuDCS/DCFEBCheck/include/emu/pc/SmallUnpack.h | d8e437e31cda8d1cb8240325584c640bb5a026f8 | [] | no_license | marcomuzio/EMULib_CLCT_Timing | df5999b5f1187725d7f5b6196ba566045ba60f55 | 04e930d46cadaa0c73b94a0c22e4478f55fac844 | refs/heads/master | 2021-01-16T13:47:26.141865 | 2014-08-14T12:04:33 | 2014-08-14T12:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | h | #ifndef _SmallUnpack_h_
#define _SmallUnpack_h_
#include <stdio.h>
#include "emu/pc/DMBHead.h"
#include "emu/pc/CFEBData.h"
#include "emu/pc/TMBData.h"
namespace emu{
namespace pc{
class DMBHead;
class CFEBData;
class TMBData;
class SmallUnpack
{
public:
SmallUnpack();
~SmallUnpack();
void getEvent(int tlength,short int *data,int nsample);
int length;
short int *rawdata;
int NSAMPLE;
TMBData *tmb;
DMBHead *dmbh;
CFEBData *cfeb[5];
int CFEBOffset[5];
int tmbdatapresent(){int i=1;if(TMBHead==-99)i=0;return i;}
private:
int DMB1Head;
int DMB2Head;
int DMB1Tail;
int DMB2Tail;
int TMBHead;
int TMBTail;
int ALCTHead;
int ALCTTail;
};
}
}
#endif
| [
"hogenshpogen@gmail.com"
] | hogenshpogen@gmail.com |
47e36173644bf4e8fbc3e8f68dda1f70fd498d74 | 7f041147e9a40340a446832b134172a871d90e34 | /ZF/ZFUIWidget/zfsrc/ZFUIWidget/ZFUIAutoLayoutMaker.cpp | 78ef1cecbc6353e56535479787c47223a997f475 | [
"MIT"
] | permissive | ZFFramework/ZFFramework | cf5eaff500b30469e9a7f975a23812b05147442f | f7b6daed830232e3d883e1520d097f8422c38800 | refs/heads/master | 2023-08-31T21:38:34.437769 | 2023-08-30T10:31:08 | 2023-08-30T10:31:08 | 43,946,097 | 60 | 22 | null | null | null | null | UTF-8 | C++ | false | false | 7,386 | cpp | #include "ZFUIAutoLayout.h"
ZF_NAMESPACE_GLOBAL_BEGIN
static void _ZFP_ZFUIAutoLayout_posAttach(
ZF_IN ZFUIAutoLayoutParam *lp
, ZF_IN ZFUIAutoLayoutPosEnum pos
) {
zfCoreAssertWithMessageTrim(lp->ownerChild() != zfnull, "[ZFUIAutoLayout] must add to parent before changing pos rule");
ZFUIAutoLayoutParam::_ZFP_Data &d = lp->_ZFP_AL_d;
if(d.posReset) {
d.posReset = zffalse;
zfmemset(d.posAttached, 0, sizeof(d.posAttached));
}
d.posAttached[pos] = zftrue;
}
static void _ZFP_ZFUIAutoLayout_targetAttach(
ZF_IN ZFUIAutoLayoutParam *lp
, ZF_IN ZFUIView *target
, ZF_IN ZFUIAutoLayoutPosEnum targetPos
) {
zfCoreAssertWithMessageTrim(lp->ownerChild() != zfnull, "[ZFUIAutoLayout] must add to parent before changing target rule");
ZFUIAutoLayoutParam::_ZFP_Data &d = lp->_ZFP_AL_d;
ZFUIAutoLayout *parent = lp->ownerParent();
if(target == zfnull) {
target = parent;
}
zfbool posAttached = zffalse;
for(zfindex i = ZFUIAutoLayoutPos::e_None + 1; i < ZFUIAutoLayoutPos::ZFEnumCount; ++i) {
if(d.posAttached[i]) {
posAttached = zftrue;
ZFUIAutoLayoutRule &rule = d.ruleList[i];
rule.pos((ZFUIAutoLayoutPosEnum)i);
rule.target(target);
rule.targetPos(targetPos == ZFUIAutoLayoutPos::e_None ? (ZFUIAutoLayoutPosEnum)i : targetPos);
}
}
zfCoreAssertWithMessageTrim(posAttached, "[ZFUIAutoLayout] pos rule (width/left/...) not set");
d.posReset = zftrue;
parent->layoutRequest();
}
// ============================================================
ZFMETHOD_DEFINE_1(ZFUIAutoLayoutParam, const ZFUIAutoLayoutRule &, rule
, ZFMP_IN(ZFUIAutoLayoutPosEnum, pos)
) {
return _ZFP_AL_d.ruleList[pos];
}
ZFMETHOD_DEFINE_1(ZFUIAutoLayoutParam, void, ruleRemove
, ZFMP_IN(ZFUIAutoLayoutPosEnum, pos)
) {
ZFUIAutoLayout *parent = this->ownerParent();
ZFUIAutoLayoutRule &rule = _ZFP_AL_d.ruleList[pos];
if(rule.pos() != ZFUIAutoLayoutPos::e_None) {
if(parent != zfnull) {
parent->layoutRequest();
}
rule.removeAll();
}
}
ZFMETHOD_DEFINE_0(ZFUIAutoLayoutParam, void, ruleRemoveAll) {
ZFUIAutoLayout *parent = this->ownerParent();
for(zfindex i = ZFUIAutoLayoutPos::e_None + 1; i < ZFUIAutoLayoutPos::ZFEnumCount; ++i) {
ZFUIAutoLayoutRule &rule = _ZFP_AL_d.ruleList[i];
if(rule.pos() != ZFUIAutoLayoutPos::e_None) {
if(parent != zfnull) {
parent->layoutRequest();
}
rule.removeAll();
}
}
}
// ============================================================
ZFMETHOD_DEFINE_0(ZFUIAutoLayoutParam, void, width) {
_ZFP_ZFUIAutoLayout_posAttach(this, ZFUIAutoLayoutPos::e_Width);
}
ZFMETHOD_DEFINE_0(ZFUIAutoLayoutParam, void, height) {
_ZFP_ZFUIAutoLayout_posAttach(this, ZFUIAutoLayoutPos::e_Height);
}
ZFMETHOD_DEFINE_0(ZFUIAutoLayoutParam, void, left) {
_ZFP_ZFUIAutoLayout_posAttach(this, ZFUIAutoLayoutPos::e_Left);
}
ZFMETHOD_DEFINE_0(ZFUIAutoLayoutParam, void, top) {
_ZFP_ZFUIAutoLayout_posAttach(this, ZFUIAutoLayoutPos::e_Top);
}
ZFMETHOD_DEFINE_0(ZFUIAutoLayoutParam, void, right) {
_ZFP_ZFUIAutoLayout_posAttach(this, ZFUIAutoLayoutPos::e_Right);
}
ZFMETHOD_DEFINE_0(ZFUIAutoLayoutParam, void, bottom) {
_ZFP_ZFUIAutoLayout_posAttach(this, ZFUIAutoLayoutPos::e_Bottom);
}
ZFMETHOD_DEFINE_1(ZFUIAutoLayoutParam, void, toWidth
, ZFMP_IN(ZFUIView *, target)
) {
_ZFP_ZFUIAutoLayout_targetAttach(this, target, ZFUIAutoLayoutPos::e_Width);
}
ZFMETHOD_DEFINE_1(ZFUIAutoLayoutParam, void, toHeight
, ZFMP_IN(ZFUIView *, target)
) {
_ZFP_ZFUIAutoLayout_targetAttach(this, target, ZFUIAutoLayoutPos::e_Height);
}
ZFMETHOD_DEFINE_1(ZFUIAutoLayoutParam, void, toLeft
, ZFMP_IN(ZFUIView *, target)
) {
_ZFP_ZFUIAutoLayout_targetAttach(this, target, ZFUIAutoLayoutPos::e_Left);
}
ZFMETHOD_DEFINE_1(ZFUIAutoLayoutParam, void, toTop
, ZFMP_IN(ZFUIView *, target)
) {
_ZFP_ZFUIAutoLayout_targetAttach(this, target, ZFUIAutoLayoutPos::e_Top);
}
ZFMETHOD_DEFINE_1(ZFUIAutoLayoutParam, void, toRight
, ZFMP_IN(ZFUIView *, target)
) {
_ZFP_ZFUIAutoLayout_targetAttach(this, target, ZFUIAutoLayoutPos::e_Right);
}
ZFMETHOD_DEFINE_1(ZFUIAutoLayoutParam, void, toBottom
, ZFMP_IN(ZFUIView *, target)
) {
_ZFP_ZFUIAutoLayout_targetAttach(this, target, ZFUIAutoLayoutPos::e_Bottom);
}
ZFMETHOD_DEFINE_0(ZFUIAutoLayoutParam, void, toParentWidth) {
_ZFP_ZFUIAutoLayout_targetAttach(this, zfnull, ZFUIAutoLayoutPos::e_Width);
}
ZFMETHOD_DEFINE_0(ZFUIAutoLayoutParam, void, toParentHeight) {
_ZFP_ZFUIAutoLayout_targetAttach(this, zfnull, ZFUIAutoLayoutPos::e_Height);
}
ZFMETHOD_DEFINE_0(ZFUIAutoLayoutParam, void, toParentLeft) {
_ZFP_ZFUIAutoLayout_targetAttach(this, zfnull, ZFUIAutoLayoutPos::e_Left);
}
ZFMETHOD_DEFINE_0(ZFUIAutoLayoutParam, void, toParentTop) {
_ZFP_ZFUIAutoLayout_targetAttach(this, zfnull, ZFUIAutoLayoutPos::e_Top);
}
ZFMETHOD_DEFINE_0(ZFUIAutoLayoutParam, void, toParentRight) {
_ZFP_ZFUIAutoLayout_targetAttach(this, zfnull, ZFUIAutoLayoutPos::e_Right);
}
ZFMETHOD_DEFINE_0(ZFUIAutoLayoutParam, void, toParentBottom) {
_ZFP_ZFUIAutoLayout_targetAttach(this, zfnull, ZFUIAutoLayoutPos::e_Bottom);
}
ZFMETHOD_DEFINE_1(ZFUIAutoLayoutParam, void, to
, ZFMP_IN(ZFUIView *, target)
) {
_ZFP_ZFUIAutoLayout_targetAttach(this, target, ZFUIAutoLayoutPos::e_None);
}
ZFMETHOD_DEFINE_0(ZFUIAutoLayoutParam, void, toParent) {
_ZFP_ZFUIAutoLayout_targetAttach(this, zfnull, ZFUIAutoLayoutPos::e_None);
}
ZFMETHOD_DEFINE_1(ZFUIAutoLayoutParam, void, weight
, ZFMP_IN(zffloat, weight)
) {
zfCoreAssertWithMessageTrim(this->ownerChild() != zfnull, "[ZFUIAutoLayout] must add to parent before changing weight rule");
ZFUIAutoLayoutParam::_ZFP_Data &d = _ZFP_AL_d;
zfbool posAttached = zffalse;
for(zfindex i = ZFUIAutoLayoutPos::e_None + 1; i < ZFUIAutoLayoutPos::ZFEnumCount; ++i) {
if(d.posAttached[i]) {
posAttached = zftrue;
ZFUIAutoLayoutRule &rule = d.ruleList[i];
rule.pos((ZFUIAutoLayoutPosEnum)i);
rule.weight(weight);
}
}
zfCoreAssertWithMessageTrim(posAttached, "[ZFUIAutoLayout] pos rule (width/left/...) not set");
d.posReset = zftrue;
this->ownerParent()->layoutRequest();
}
ZFMETHOD_DEFINE_1(ZFUIAutoLayoutParam, void, offset
, ZFMP_IN(zffloat, offset)
) {
zfCoreAssertWithMessageTrim(this->ownerChild() != zfnull, "[ZFUIAutoLayout] must add to parent before changing offset rule");
ZFUIAutoLayoutParam::_ZFP_Data &d = _ZFP_AL_d;
zfbool posAttached = zffalse;
for(zfindex i = ZFUIAutoLayoutPos::e_None + 1; i < ZFUIAutoLayoutPos::ZFEnumCount; ++i) {
if(d.posAttached[i]) {
posAttached = zftrue;
ZFUIAutoLayoutRule &rule = d.ruleList[i];
rule.pos((ZFUIAutoLayoutPosEnum)i);
rule.offset(offset);
}
}
zfCoreAssertWithMessageTrim(posAttached, "[ZFUIAutoLayout] pos rule (width/left/...) not set");
d.posReset = zftrue;
this->ownerParent()->layoutRequest();
}
ZF_NAMESPACE_GLOBAL_END
| [
"z@zsaber.com"
] | z@zsaber.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.