repo_name stringlengths 6 101 | path stringlengths 4 300 | text stringlengths 7 1.31M |
|---|---|---|
define16/Class | 4-2/Machine Learning/class_/Lab4/ex3.py | <filename>4-2/Machine Learning/class_/Lab4/ex3.py
import numpy as np
import pandas as pd
# import openpyxl as xl
np.random.seed(20180917)
t_idx = pd.date_range('9/17/2018', periods=1000)
df = pd.DataFrame(np.random.randn(1000,4), index=t_idx, columns=['A','B','C','D'])
print(df)
# xl.to_csv('csc_test.csv')
df.to_excel('excel_test.xlsx', sheet_name='DataFrame', engine='xlsxwriter') |
laurensiusadi/elearning-pweb | public/plagiarism_plugin/input/24/26/24 26 5114100075--Source.cpp | /*
PROJECT 1 - TAMAGOTCHI (+class+object)
[TUGAS2_C_5114100075]
Nama : <NAME>
NRP : 5114100075
Kelas : PBO - C
*/
#include <iostream>
#include <string>
using namespace std;
// deklarasi Class
class Digimon {
public:
// atribut
string name;
int energy = 65; // energi dari sumber makanan digimon
int health = 70; // kesehatan dari digimon
int clean = 60; // kebersihan dari digimon
int happy = 65; // mood dari digimon
// behavior
void DoEnergy()
{
energy += 7;
health += 1;
happy += 1;
clean -= 3;
cout << "" << name << " is eating some food......." << endl;
}
void DoGames()
{
energy -= 4;
health -= 1;
happy += 8;
clean -= 2;
cout << "" << name << " is playing a games......." << endl;
}
void DoClean()
{
energy -= 1;
health += 1;
clean += 10;
cout << "" << name << " is taking a bath......." << endl;
}
void DoExercises()
{
energy -= 3;
health += 7;
clean -= 4;
cout << "" << name << " is doing an exercises......." << endl;
}
void Stat()
{
cout << "********************************" << endl;
cout << "Your " << name << "'s status are:" << endl;
cout << "Energy\t\t: " << energy << endl;
cout << "Health\t\t: " << health << endl;
cout << "Happiness\t: " << happy << endl;
cout << "Cleanliess\t: " << clean << endl;
cout << "********************************" << endl;
}
};
int main()
{
int sign;
cout << "Welcome to DIGIMON WORLD XXI" << endl << endl;
cout << "Enter your digimon's name: ";
// instansiasi Class menjadi Object
Digimon digi;
cin >> digi.name;
digi.Stat();
do {
cout << "\nHy " << digi.name << ". What will you do now? ^^" << endl;
cout << "1. Take a breakfast\n2. Play a games\n3. Take a bath\n4. Do exercises\n5. Check Status\n0. Exit program" << endl;
cout << "Input: ";
cin >> sign;
switch (sign) {
case 0: break;
case 1: {
digi.DoEnergy();
break;
}
case 2: {
digi.DoGames();
break;
}
case 3: {
digi.DoClean();
break;
}
case 4: {
digi.DoExercises();
break;
}
case 5: {
digi.Stat();
break;
}
default: cout << "Wrong Input!" << endl;
}
} while (sign != 0);
return 0;
} |
auv-avalon/tools-roby | lib/roby/queries/any.rb | <gh_stars>0
module Roby
module Queries
# Implementation of a singleton object that match any other object
module Any
# @return [Boolean] match operator, always returns true
def self.===(other)
true
end
class DRoby
def proxy(peer)
Queries.any
end
end
def self.droby_dump(peer)
DRoby.new
end
end
# @return [Any] an object that matches anything
def self.any
Any
end
end
end
|
campagnola/acq4 | acq4/util/ptime.py | # -*- coding: utf-8 -*-
from __future__ import print_function
from pyqtgraph.ptime import time |
cjmont/ec.espol.edu.ec | app/controllers/articulos_controller.rb | <filename>app/controllers/articulos_controller.rb
class ArticulosController < InheritedResources::Base
private
def articulo_params
params.require(:articulo).permit(:titulo, :escritor, :contenido, :imagen, :noticia)
end
end |
andraantariksa/PlasmaEngine | Source/Core/Common/SharedVectorFunctions.hpp | // MIT Licensed (see LICENSE.md).
#pragma once
namespace Math
{
// Projects the input vector onto the given vector (must be normalized)
template <typename VectorType>
PlasmaSharedTemplate VectorType GenericProjectOnVector(const VectorType& input, const VectorType& normalizedVector)
{
return normalizedVector * Math::Dot(input, normalizedVector);
}
// Projects the input vector onto a plane (the normal must be normalized)
template <typename VectorType>
PlasmaSharedTemplate VectorType GenericProjectOnPlane(const VectorType& input, const VectorType& planeNormal)
{
return input - GenericProjectOnVector(input, planeNormal);
}
/// Calculates the reflection vector across a given plane.
template <typename VectorType>
PlasmaSharedTemplate VectorType GenericReflectAcrossPlane(const VectorType& input, const VectorType& planeNormal)
{
return input - 2 * GenericProjectOnVector(input, planeNormal);
}
/// Calculates the reflection vector across a given vector.
template <typename VectorType>
PlasmaSharedTemplate VectorType GenericReflectAcrossVector(const VectorType& input, const VectorType& planeNormal)
{
return 2 * GenericProjectOnVector(input, planeNormal) - input;
}
/// Calculates the refraction vector through a plane given a certain index of
/// refraction.
template <typename VectorType>
PlasmaSharedTemplate VectorType GenericRefract(const VectorType& incidentVector,
const VectorType& planeNormal,
real refractionIndex)
{
real iDotN = Math::Dot(incidentVector, planeNormal);
real r = real(1.0) - refractionIndex * refractionIndex * (real(1.0) - iDotN * iDotN);
if (r < 0)
return VectorType::cZero;
return refractionIndex * incidentVector - planeNormal * (refractionIndex * iDotN + Math::Sqrt(r));
}
// Equal to Cos(ToRadius(1))
const float cSlerpParallelEpsilon = 0.999849f;
// Geometric Slerp between two vectors. This version assumes the user has
// pre-validated the data so the inputs are not plasma, are normalized, and that
// there isn't a degenerate solution (e.g. the vectors are parallel). Used when
// the data-set has been pre-emptively cleaned up so that multiple validation
// checks are done 'offline' and all calls can be fast.
template <typename VectorType>
VectorType FastGeometricSlerp(const VectorType& start, const VectorType& end, real t)
{
real cosTheta = Math::Dot(start, end);
// Clamp for float errors (ACos can't handle values outside [-1, 1]
cosTheta = Math::Clamp(cosTheta, -1.0f, 1.0f);
// Handle the vectors being parallel by a small angle approximation
if (Math::Abs(cosTheta) > cSlerpParallelEpsilon)
return Math::Lerp(start, end, t);
real theta = Math::ArcCos(cosTheta);
real u = Math::Cos(theta * t);
real v = Math::Sin(theta * t);
// Compute an orthonormal bases to use for interpolation by projecting start
// out of end.
VectorType perpendicularVector = end - start * cosTheta;
perpendicularVector.Normalize();
VectorType result = u * start + v * perpendicularVector;
return result;
}
// Geometric Slerp between two vectors. This version will check for any possible
// degeneracy cases and normalize the input vectors.
template <typename VectorType>
VectorType SafeGeometricSlerp(const VectorType& startUnNormalized, const VectorType& endUnNormalized, real t)
{
VectorType start = Math::AttemptNormalized(startUnNormalized);
VectorType end = Math::AttemptNormalized(endUnNormalized);
real cosTheta = Math::Dot(start, end);
// Clamp for float errors (ACos can't handle values outside [-1, 1]
cosTheta = Math::Clamp(cosTheta, -1.0f, 1.0f);
real theta = Math::ArcCos(cosTheta);
real u = Math::Cos(theta * t);
real v = Math::Sin(theta * t);
VectorType perpendicularVector;
// If the inputs are not parallel
if (Math::Abs(cosTheta) < cSlerpParallelEpsilon)
{
// Compute an orthonormal bases to use for interpolation by projecting start
// out of end.
perpendicularVector = end - start * cosTheta;
perpendicularVector.AttemptNormalize();
}
// Otherwise the vectors are almost parallel so we need to special case the
// perpendicular vector
else
{
// The vectors are parallel. Fall back to a small angle approximation and
// just lerp.
if (cosTheta > 0)
{
perpendicularVector = end;
u = (1 - t);
v = t;
}
// The vectors are anti-parallel. There are multiple solutions so pick any
// perpendicular vector.
else
{
perpendicularVector = GeneratePerpendicularVector(start);
perpendicularVector.AttemptNormalize();
}
}
VectorType result = u * start + v * perpendicularVector;
return result;
}
// Geometric Slerp between two vectors. This is the 'pure' mathematical
// Slerp function. This effectively traces along an ellipse defined by the two
// input vectors.
template <typename VectorType>
VectorType SafeGeometricSlerpUnnormalized(const VectorType& start, const VectorType& end, real t)
{
real startLength = Math::Length(start);
real endLength = Math::Length(end);
if (startLength == 0 || endLength == 0)
return start;
real cosTheta = Math::Dot(start, end);
// Compute the actual angle since (the inputs are not assumed to be
// normalized)
cosTheta /= (startLength * endLength);
// Clamp for float errors (ACos can't handle values outside [-1, 1]
cosTheta = Math::Clamp(cosTheta, -1.0f, 1.0f);
real theta = Math::ArcCos(cosTheta);
real u = Math::Cos(theta * t);
real v = Math::Sin(theta * t);
VectorType perpendicularVector;
// If the inputs are not parallel
if (Math::Abs(cosTheta) < cSlerpParallelEpsilon)
{
// Compute an orthonormal bases to use for interpolation by projecting start
// out of end.
perpendicularVector = end - start * cosTheta;
// Instead of normalizing this vector, we need to apply the normalization
// factor from the generic Slerp formula (see Wikipedia).
perpendicularVector /= Math::Sin(theta);
}
// Otherwise the vectors are almost parallel so we need to special case the
// perpendicular vector
else
{
// The vectors are parallel. Fall back to a small angle approximation and
// just lerp.
if (cosTheta > 0)
{
perpendicularVector = end;
u = (1 - t);
v = t;
}
// The vectors are anti-parallel. There are multiple solutions so pick any
// perpendicular vector.
else
{
perpendicularVector = GeneratePerpendicularVector(start);
perpendicularVector.AttemptNormalize();
}
}
VectorType result = u * start + v * perpendicularVector;
return result;
}
/// Rotates one vector towards another with a max angle
template <typename type>
type GenericTowards(const type& a, const type& b, real maxAngle)
{
const real cAngleEpsilon = real(0.0000001);
real angle = AngleBetween(a, b);
if (angle > Math::cPi)
{
angle -= Math::cTwoPi;
}
angle = Math::Abs(angle);
if (angle > cAngleEpsilon)
{
real t = maxAngle / angle;
if (t > real(1.0))
{
t = real(1.0);
}
return FastGeometricSlerp(a, b, t);
}
else
{
return b;
}
}
/// Same as GenericTowards but SafeSlerp is used
template <typename type>
type SafeGenericTowards(const type& a, const type& b, real maxAngle)
{
const real cAngleEpsilon = real(0.0000001);
real angle = AngleBetween(a, b);
if (angle > Math::cPi)
{
angle -= Math::cTwoPi;
}
angle = Math::Abs(angle);
if (angle > cAngleEpsilon)
{
real t = maxAngle / angle;
if (t > real(1.0))
{
t = real(1.0);
}
return SafeGeometricSlerp(a, b, t);
}
else
{
return b;
}
}
} // namespace Math
|
dashevo/dashpay-wallet-OLD | __tests__/state/settings/actions.test.js | import { CHANGE_SETTINGS } from 'state/settings/constants';
import { changeSettings } from 'state/settings/actions';
describe('settings actions', () => {
it('should create an action to set the new settings', () => {
const settings = { balanceVisible: true };
const expectedAction = {
settings,
type: CHANGE_SETTINGS,
};
expect(changeSettings(settings)).toEqual(expectedAction);
});
});
|
jeffday/vcr4j | vcr4j-examples/src/main/java/org/mbari/vcr4j/examples/sharktopoda/SeekElapsedTimeTest.java | package org.mbari.vcr4j.examples.sharktopoda;
import org.docopt.Docopt;
import org.mbari.vcr4j.VideoIO;
import org.mbari.vcr4j.commands.SeekElapsedTimeCmd;
import org.mbari.vcr4j.commands.VideoCommands;
import org.mbari.vcr4j.sharktopoda.SharktopodaError;
import org.mbari.vcr4j.sharktopoda.SharktopodaState;
import org.mbari.vcr4j.sharktopoda.SharktopodaVideoIO;
import org.mbari.vcr4j.sharktopoda.commands.OpenCmd;
import org.mbari.vcr4j.sharktopoda.commands.SharkCommands;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.net.URL;
import java.time.Duration;
import java.util.Map;
import java.util.UUID;
/**
* @author <NAME>
* @since 2016-08-30T10:09:00
*/
public class SeekElapsedTimeTest {
public static void main(String[] args) throws Exception {
String prog = SeekElapsedTimeTest.class.getName();
String doc = "Usage: " + prog + " <port> <url>\n" +
"Options:\n" +
" -h, --help";
Map<String, Object> opts = new Docopt(doc).parse(args);
Integer port = Integer.parseInt((String) opts.get("<port>"));
URL url = new URL((String) opts.get("<url>"));
Logger log = LoggerFactory.getLogger(SeekElapsedTimeTest.class);
VideoIO<SharktopodaState, SharktopodaError> io = new SharktopodaVideoIO(UUID.randomUUID(), "localhost", port);
io.send(new OpenCmd(url));
io.send(new SeekElapsedTimeCmd(Duration.ofSeconds(10)));
io.send(VideoCommands.PLAY);
Thread.sleep(2000);
io.send(new SeekElapsedTimeCmd(Duration.ofSeconds(1)));
Thread.sleep(1000);
io.send(new SeekElapsedTimeCmd(Duration.ofSeconds(25)));
Thread.sleep(1000);
io.send(new SeekElapsedTimeCmd(Duration.ofSeconds(5)));
io.send(VideoCommands.STOP);
io.send(SharkCommands.CLOSE);
}
}
|
HuWenhai/bus | bus-cache/src/main/java/org/aoju/bus/cache/reader/SingleCacheReader.java | /*
* The MIT License
*
* Copyright (c) 2017 aoju.org All rights reserved.
*
* 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.
*/
package org.aoju.bus.cache.reader;
import org.aoju.bus.cache.Context;
import org.aoju.bus.cache.Manage;
import org.aoju.bus.cache.Provider;
import org.aoju.bus.cache.entity.CacheHolder;
import org.aoju.bus.cache.entity.CacheMethod;
import org.aoju.bus.cache.proxy.ProxyChain;
import org.aoju.bus.cache.support.KeyGenerator;
import org.aoju.bus.cache.support.PatternGenerator;
import org.aoju.bus.cache.support.PreventObjects;
import org.aoju.bus.core.annotation.Inject;
import org.aoju.bus.core.annotation.Singleton;
import org.aoju.bus.logger.Logger;
/**
* @author <NAME>
* @version 5.2.5
* @since JDK 1.8+
*/
@Singleton
public class SingleCacheReader extends AbstractReader {
@Inject
private Manage cacheManager;
@Inject
private Context config;
@Inject(optional = true)
private Provider baseProvider;
@Override
public Object read(CacheHolder cacheHolder, CacheMethod cacheMethod, ProxyChain baseInvoker, boolean needWrite) throws Throwable {
String key = KeyGenerator.generateSingleKey(cacheHolder, baseInvoker.getArgs());
Object readResult = cacheManager.readSingle(cacheHolder.getCache(), key);
doRecord(readResult, key, cacheHolder);
// 命中
if (readResult != null) {
// 是放击穿对象
if (PreventObjects.isPrevent(readResult)) {
return null;
}
return readResult;
}
// not hit
// invoke method
Object invokeResult = doLogInvoke(baseInvoker::proceed);
if (invokeResult != null && cacheMethod.getInnerReturnType() == null) {
cacheMethod.setInnerReturnType(invokeResult.getClass());
}
if (!needWrite) {
return invokeResult;
}
if (invokeResult != null) {
cacheManager.writeSingle(cacheHolder.getCache(), key, invokeResult, cacheHolder.getExpire());
return invokeResult;
}
// invokeResult is null
if (config.isPreventOn()) {
cacheManager.writeSingle(cacheHolder.getCache(), key, PreventObjects.getPreventObject(), cacheHolder.getExpire());
}
return null;
}
private void doRecord(Object result, String key, CacheHolder cacheHolder) {
Logger.info("single cache hit rate: {}/1, key: {}", result == null ? 0 : 1, key);
if (this.baseProvider != null) {
String pattern = PatternGenerator.generatePattern(cacheHolder);
if (result != null) {
this.baseProvider.hitIncr(pattern, 1);
}
this.baseProvider.reqIncr(pattern, 1);
}
}
}
|
cs130-w21/13 | client/CS130_Team13/Docs/html/class_socket_1_1_quobject_1_1_socket_io_client_dot_net_1_1_client_1_1_manager_1_1_open_callback_imp.js | var class_socket_1_1_quobject_1_1_socket_io_client_dot_net_1_1_client_1_1_manager_1_1_open_callback_imp =
[
[ "OpenCallbackImp", "class_socket_1_1_quobject_1_1_socket_io_client_dot_net_1_1_client_1_1_manager_1_1_open_callback_imp.html#a4ac0a659529173330fa1dfd163869c2b", null ],
[ "Call", "class_socket_1_1_quobject_1_1_socket_io_client_dot_net_1_1_client_1_1_manager_1_1_open_callback_imp.html#a1ba6c8ba8e9f4a80109c309b281985ea", null ]
]; |
kedingagnumerikunimarburg/Marburg_Software_Library | WaveletTL/interval/boundary_gramian.h | // -*- c++ -*-
// +--------------------------------------------------------------------+
// | This file is part of WaveletTL - the Wavelet Template Library |
// | |
// | Copyright (c) 2002-2009 |
// | <NAME>, <NAME> |
// +--------------------------------------------------------------------+
#ifndef _WAVELETTL_BOUNDARY_GRAMIAN_H
#define _WAVELETTL_BOUNDARY_GRAMIAN_H
#include <algebra/matrix.h>
#include <Rd/cdf_utils.h>
#include <Rd/cdf_basis.h>
using MathTL::Matrix;
namespace WaveletTL
{
/*!
Assume that phi, phiT are refinable functions on R,
with masks MASK1/MASK2 and with compact supports [l1,l2]\subset [l1T,l2T].
Moreover, in this routine, phi and phiT are assumed to be biorthogonal.
The following routine computes the n-times-n gramian matrix
Gamma_L = <phi^L_{0,k},phiT^L_{0,l}>_{k,l=-l1T-m-n,...,-l1T-m-1}
between n boundary functions that satisfy a refinement relation of the form
(phi^L_{0,k})_{k=-l1T-m-n,...,-l1T-m-1}
= M_L^T *
(phi^L_{0,-l1T-m-n}(2.)
.
.
phi^L_{0,-l1T-m-1}(2.)
phi_{0,-l1T-m}(2.)
.
.
phi_{0,l2T-2*l1T+2*m-2}(2.))
We assume that MLT is larger than ML, but has the same number of columns.
*/
template <class MASK1, class MASK2>
void
compute_biorthogonal_boundary_gramian(const Matrix<double>& ML,
const Matrix<double>& MLT,
Matrix<double>& GammaL);
}
#include <interval/boundary_gramian.cpp>
#endif
|
haboy52581/alcor | lib/src/main/java/com/futurewei/alcor/common/db/ignite/IgniteICache.java | <filename>lib/src/main/java/com/futurewei/alcor/common/db/ignite/IgniteICache.java
/*
*
* Copyright 2019 The Alcor Authors.
*
* 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.
* /
*/
package com.futurewei.alcor.common.db.ignite;
import com.futurewei.alcor.common.db.CacheException;
import com.futurewei.alcor.common.db.ICache;
import org.apache.ignite.lang.IgniteBiPredicate;
import java.util.Map;
public interface IgniteICache<K, V> extends ICache<K, V> {
/**
* Get Cache value from cache db by a {@link IgniteBiPredicate}
*
* @param igniteBiPredicate a implement of {@link IgniteBiPredicate}
* @return cache value
* @throws CacheException if any exception
*/
<E1, E2> V get(IgniteBiPredicate<E1, E2> igniteBiPredicate) throws CacheException;
/**
* Get Cache values from cache db by a {@link IgniteBiPredicate}
*
* @param igniteBiPredicate a implement of {@link IgniteBiPredicate}
* @return cache value
* @throws CacheException if any exception
*/
<E1, E2> Map<K, V> getAll(IgniteBiPredicate<E1, E2> igniteBiPredicate) throws CacheException;
}
|
lalyos/rio | modules/service/controllers/globalrbac/handler.go | package globalrbac
import (
"context"
"github.com/rancher/rio/modules/service/controllers/service/populate/rbac"
riov1 "github.com/rancher/rio/pkg/apis/rio.cattle.io/v1"
riov1controller "github.com/rancher/rio/pkg/generated/controllers/rio.cattle.io/v1"
"github.com/rancher/rio/types"
rbacv1controller "github.com/rancher/wrangler-api/pkg/generated/controllers/rbac/v1"
"github.com/rancher/wrangler/pkg/generic"
"github.com/rancher/wrangler/pkg/objectset"
rbacv1 "k8s.io/api/rbac/v1"
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/runtime"
)
var (
handlerName = "service-cluster-rbac"
)
func Register(ctx context.Context, rContext *types.Context) error {
h := &handler{
serviceCache: rContext.Rio.Rio().V1().Service().Cache(),
crbClient: rContext.RBAC.Rbac().V1().ClusterRoleBinding(),
crClient: rContext.RBAC.Rbac().V1().ClusterRole(),
}
riov1controller.RegisterServiceGeneratingHandler(ctx,
rContext.Rio.Rio().V1().Service(),
rContext.Apply.
WithStrictCaching().
WithCacheTypes(rContext.RBAC.Rbac().V1().ClusterRole(),
rContext.RBAC.Rbac().V1().ClusterRoleBinding()).
WithSetID(handlerName),
"ServiceClusterRBAC",
handlerName,
h.generate,
&generic.GeneratingHandlerOptions{
AllowClusterScoped: true,
})
rContext.RBAC.Rbac().V1().ClusterRoleBinding().OnChange(ctx, handlerName, h.onClusterRoleBinding)
rContext.RBAC.Rbac().V1().ClusterRole().OnChange(ctx, handlerName, h.onClusterRole)
return nil
}
type handler struct {
serviceCache riov1controller.ServiceCache
crbClient rbacv1controller.ClusterRoleBindingClient
crClient rbacv1controller.ClusterRoleClient
}
func (h *handler) onClusterRoleBinding(key string, crb *rbacv1.ClusterRoleBinding) (*rbacv1.ClusterRoleBinding, error) {
if crb == nil || crb.DeletionTimestamp != nil {
return nil, nil
}
svcName := crb.Labels["rio.cattle.io/service"]
ns := crb.Labels["rio.cattle.io/namespace"]
if svcName == "" || ns == "" {
return crb, nil
}
_, err := h.serviceCache.Get(ns, svcName)
if errors.IsNotFound(err) {
return crb, h.crbClient.Delete(crb.Name, nil)
}
return crb, nil
}
func (h *handler) onClusterRole(key string, cr *rbacv1.ClusterRole) (*rbacv1.ClusterRole, error) {
if cr == nil || cr.DeletionTimestamp != nil {
return nil, nil
}
svcName := cr.Labels["rio.cattle.io/service"]
ns := cr.Labels["rio.cattle.io/namespace"]
if svcName == "" || ns == "" {
return cr, nil
}
_, err := h.serviceCache.Get(ns, svcName)
if errors.IsNotFound(err) {
return cr, h.crClient.Delete(cr.Name, nil)
}
return cr, nil
}
func (h *handler) generate(obj *riov1.Service, status riov1.ServiceStatus) ([]runtime.Object, riov1.ServiceStatus, error) {
os := objectset.NewObjectSet()
if err := rbac.PopulateCluster(obj, os); err != nil {
return nil, status, err
}
return os.All(), status, nil
}
|
syntialai/TA-admin | src/config/menus.js | <filename>src/config/menus.js
import * as RouteNames from '@/router/names';
// eslint-disable-next-line import/prefer-default-export
export const getMainMenus = () => [
{
icon: 'mdi-account',
title: RouteNames.STUDENTS,
},
{
icon: 'mdi-account',
title: RouteNames.TEACHERS,
},
{
icon: 'mdi-message-bulleted',
title: RouteNames.FEEDBACKS,
},
{
icon: 'mdi-lock',
title: RouteNames.TEACHER_CREDENTIALS,
},
];
|
jhaapako/tcf | tests/test_tunnels_released.py | <reponame>jhaapako/tcf<filename>tests/test_tunnels_released.py
#! /usr/bin/python3
#
# Copyright (c) 2017 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
# pylint: disable = missing-docstring
import os
import socket
import commonl.testing
import tcfl
import tcfl.tc
srcdir = os.path.dirname(__file__)
ttbd = commonl.testing.test_ttbd(config_files = [
# strip to remove the compiled/optimized version -> get source
os.path.join(srcdir, "conf_%s" % os.path.basename(__file__.rstrip('cd')))
])
@tcfl.tc.target(ttbd.url_spec)
class release_hooks(tcfl.tc.tc_c):
"""
We allocate a target, create tunnels and then we release it; when
released, the tunnels are destroyed.
"""
def eval(self, target):
target.tunnel.add(22, "127.0.0.1", 'tcp')
self.report_pass("release hooks were called on target release")
def teardown_90_scb(self):
ttbd.check_log_for_issues(self)
|
jonasgsouza/orange-talents-02-template-proposta | src/main/java/br/com/zup/proposta/cartoes/model/Biometria.java | <filename>src/main/java/br/com/zup/proposta/cartoes/model/Biometria.java
package br.com.zup.proposta.cartoes.model;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.util.UUID;
@Entity
@Table(name = "biometrias")
public class Biometria {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@NotNull
@Column(nullable = false)
private UUID uuid = UUID.randomUUID();
@ManyToOne
private Cartao cartao;
@Lob
private String fingerprint;
@Deprecated
public Biometria() {
}
public Biometria(Cartao cartao, String fingerprint) {
this.cartao = cartao;
this.fingerprint = fingerprint;
}
public Long getId() {
return id;
}
public String getFingerprint() {
return fingerprint;
}
public UUID getUuid() {
return uuid;
}
}
|
janx/jruby | src/org/jruby/compiler/ir/instructions/jruby/CheckArityInstr.java | package org.jruby.compiler.ir.instructions.jruby;
import org.jruby.compiler.ir.Operation;
import org.jruby.compiler.ir.instructions.CallInstr;
import org.jruby.compiler.ir.instructions.Instr;
import org.jruby.compiler.ir.instructions.JRubyImplCallInstr;
import org.jruby.compiler.ir.instructions.JRubyImplCallInstr.JRubyImplementationMethod;
import org.jruby.compiler.ir.operands.Fixnum;
import org.jruby.compiler.ir.operands.Label;
import org.jruby.compiler.ir.operands.Operand;
import org.jruby.compiler.ir.operands.Variable;
import org.jruby.compiler.ir.representations.InlinerInfo;
import org.jruby.interpreter.InterpreterContext;
import org.jruby.runtime.Arity;
import org.jruby.runtime.ThreadContext;
import org.jruby.runtime.builtin.IRubyObject;
public class CheckArityInstr extends CallInstr {
public CheckArityInstr(Variable result, Operand receiver, Operand[] args) {
super(Operation.CHECK_ARITY, result, JRubyImplementationMethod.CHECK_ARITY.getMethAddr(), receiver, args, null);
}
/**
* This will either end up removing this instruction since we know arity
* at a callsite or we will add a ArgumentError since we know arity is wrong.
*/
@Override
public Instr cloneForInlining(InlinerInfo ii) {
Operand[] args = getCallArgs();
int required = ((Fixnum) args[0]).value.intValue();
int opt = ((Fixnum) args[1]).value.intValue();
int rest = ((Fixnum) args[2]).value.intValue();
int numArgs = ii.getArgsCount();
if ((numArgs < required) || ((rest == -1) && (numArgs > (required + opt)))) {
// Argument error! Throw it at runtime
return new JRubyImplCallInstr(null, JRubyImplementationMethod.RAISE_ARGUMENT_ERROR, null,
new Operand[]{args[0], args[1], args[2], new Fixnum((long) numArgs)});
}
return null;
}
@Override
public Label interpret(InterpreterContext interp, ThreadContext context, IRubyObject self) {
Operand[] args = getCallArgs();
int required = ((Fixnum) args[0]).value.intValue();
int opt = ((Fixnum) args[1]).value.intValue();
int rest = ((Fixnum) args[2]).value.intValue();
int numArgs = interp.getParameterCount();
if ((numArgs < required) || ((rest == -1) && (numArgs > (required + opt)))) {
Arity.raiseArgumentError(context.getRuntime(), numArgs, required,
required + opt);
}
return null;
}
}
|
mistlog/rollup | test/form/samples/interop-false/_expected/system.js | <reponame>mistlog/rollup<filename>test/form/samples/interop-false/_expected/system.js
System.register('foo', ['core/view'], function (exports) {
'use strict';
var View;
return {
setters: [function (module) {
View = module.default;
}],
execute: function () {
var main = exports('default', View.extend({}));
}
};
});
|
mattbucci/collector-http | src/test/java/com/norconex/collector/http/delay/impl/ReferenceDelayResolverTest.java | /* Copyright 2016-2020 Norconex Inc.
*
* 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.
*/
package com.norconex.collector.http.delay.impl;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.norconex.collector.http.TestUtil;
import com.norconex.collector.http.delay.impl.ReferenceDelayResolver.DelayReferencePattern;
import com.norconex.commons.lang.xml.XML;
public class ReferenceDelayResolverTest {
private static final Logger LOG =
LoggerFactory.getLogger(ReferenceDelayResolverTest.class);
@Test
public void testWriteRead() {
ReferenceDelayResolver r = new ReferenceDelayResolver();
r.setDefaultDelay(10000);
r.setIgnoreRobotsCrawlDelay(true);
r.setScope("thread");
List<DelayReferencePattern> delayPatterns = new ArrayList<>();
delayPatterns.add(new DelayReferencePattern(
"http://example\\.com/.*", 1000));
r.setDelayReferencePatterns(delayPatterns);
LOG.debug("Writing/Reading this: {}", r);
XML.assertWriteRead(r, "delay");
}
@Test
public void testValidation() throws IOException {
TestUtil.testValidation(getClass());
}
}
|
yuxiang-zhou/menpo | menpo/transform/test/base_transformchain_test.py | <filename>menpo/transform/test/base_transformchain_test.py<gh_stars>1-10
from mock import Mock
from menpo.transform import TransformChain, Transform
def transformchain_apply_test():
mocked_transform = Mock()
mocked_transform._apply.return_value = 3
mocked_transform2 = Mock()
mocked_transform2._apply.return_value = 4
transforms = [mocked_transform, mocked_transform2]
tr = TransformChain(transforms)
result = tr.apply(1)
assert (result == 4)
def transformchain_composes_inplace_with_test():
tr = TransformChain([])
assert (tr.composes_inplace_with == Transform)
def transformchain_compose_before_composes_with_test():
tr = TransformChain([])
new_tr = tr.compose_before(Mock(spec=Transform))
assert (new_tr is not tr)
assert (len(new_tr.transforms) is 1)
def transformchain_compose_before_inplace_order_test():
m1 = Mock(spec=Transform)
m2 = Mock(spec=Transform)
tr = TransformChain([m1])
tr.compose_before_inplace(m2)
assert (tr.transforms[1] is m2)
def transformchain_compose_after_inplace_order_test():
m1 = Mock(spec=Transform)
m2 = Mock(spec=Transform)
tr = TransformChain([m1])
tr.compose_after_inplace(m2)
assert (tr.transforms[0] is m2)
def transformchain_compose_before_inplace_composes_with_test():
tr = TransformChain([])
ref = tr
no_return = tr.compose_after_inplace(Mock(spec=Transform))
assert (no_return is None)
assert (ref is tr)
assert (len(tr.transforms) is 1)
def transformchain_compose_after_composes_with_test():
tr = TransformChain([])
new_tr = tr.compose_after(Mock(spec=Transform))
assert (new_tr is not tr)
assert (len(new_tr.transforms) is 1)
def transformchain_compose_after_inplace_composes_with_test():
tr = TransformChain([])
ref = tr
no_return = tr.compose_after_inplace(Mock(spec=Transform))
assert (no_return is None)
assert (ref is tr)
assert (len(tr.transforms) is 1)
|
mflingelli/oval-reports | src/main/java/de/flingelli/security/oval/reports/SystemDefinition.java | <filename>src/main/java/de/flingelli/security/oval/reports/SystemDefinition.java
package de.flingelli.security.oval.reports;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import java.util.Objects;
@XmlAccessorType(XmlAccessType.FIELD)
public class SystemDefinition {
@XmlAttribute(name = "definition_id")
private String definitionId;
@XmlAttribute
private boolean result;
@XmlAttribute
private int version;
@XmlElement
private Criteria criteria;
public String getDefinitionId() {
return definitionId;
}
public boolean isResult() {
return result;
}
public int getVersion() {
return version;
}
public Criteria getCriteria() {
return criteria;
}
public boolean hasTestRef(String testRef) {
return criteria.hasTestRef(testRef);
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
SystemDefinition that = (SystemDefinition) o;
return Objects.equals(definitionId, that.definitionId);
}
@Override
public int hashCode() {
return Objects.hash(definitionId);
}
}
|
Brent-rb/University | bachelor/imperative-programming-2/ZSO10/differentWords.c | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
int isDouble(char**, int, char*);
char** makeNoDouble(char[][32], char**, int*);
#define arraySize 5
int main(int argc, char const *argv[])
{
char array[arraySize][32] = {"dit", "kaka", "stom", "stome", "dite"};
char** dynamic = NULL;
int i, temp;
temp = 0;
int* amountOfWords;
amountOfWords = &temp;
dynamic = makeNoDouble(array, dynamic, amountOfWords);
for(i = 0; i < *amountOfWords; i++) {
printf("%s\n", dynamic[i]);
free(dynamic[i]);
}
free(dynamic);
return 0;
}
char** makeNoDouble(char array[][32], char** dynamic, int* amount) {
int i = 0;
char** temp;
for(i = 0; i < arraySize; i++) {
if(dynamic == NULL) {
dynamic = (char**) malloc(sizeof(char*));
dynamic[*amount] = (char*) malloc(strlen(array[i]) + 1);
strcpy(dynamic[*amount], array[i]);
*amount += 1;
}
else {
if(isDouble(dynamic, *amount, array[i]) == 0) {
temp = (char**) realloc(dynamic, (sizeof(char*) * (*amount + 1)));
if(temp == NULL) {
printf("Geen geheugen beschikbaar.\n");
break;
}
else {
dynamic = temp;
dynamic[*amount] = (char*) malloc(strlen(array[i]) + 1);
strcpy(dynamic[*amount], array[i]);
*amount += 1;
}
}
}
}
return dynamic;
}
int isDouble(char** dynamic, int length, char* search) {
int i;
int found = 0;
for(i = 0; i < length & found == 0; i++) {
if(strcmp(dynamic[i], search) == 0)
found = 1;
}
return found;
} |
NCIEVS/nci-meme5 | model/src/main/java/com/wci/umls/server/helpers/HasAlternateTerminologyIds.java | <filename>model/src/main/java/com/wci/umls/server/helpers/HasAlternateTerminologyIds.java
/*
* Copyright 2015 West Coast Informatics, LLC
*/
package com.wci.umls.server.helpers;
import java.util.Map;
/**
* Represents a thing that has alternate ids.
*/
public interface HasAlternateTerminologyIds {
/**
* Returns the alternate terminology ids. The return value is a map of
* "terminology" to "terminologyId" for terminologies other than the
* components native terminology. For example, the UMLS AUI applied to an
* atom.
*
* @return the alternate terminology ids
*/
public Map<String, String> getAlternateTerminologyIds();
/**
* Sets the alternate terminology ids.
*
* @param alternateTerminologyIds the alternate terminology ids
*/
public void setAlternateTerminologyIds(
Map<String, String> alternateTerminologyIds);
}
|
bpaquet/argos | apps/database/migrations/20170304184220_add_constraints.js | /* eslint-disable quotes */
exports.up = knex =>
knex.schema
.raw(
`CREATE TYPE job_status AS ENUM ('pending', 'progress', 'complete', 'error')`,
)
.raw(`CREATE TYPE service_type AS ENUM ('github')`)
.alterTable('builds', table => {
table.specificType('jobStatus', 'job_status').alter()
})
.alterTable('screenshot_diffs', table => {
table.specificType('jobStatus', 'job_status').alter()
})
.raw(`ALTER TABLE screenshot_diffs ALTER COLUMN "score" SET NOT NULL`)
.alterTable('synchronizations', table => {
table.specificType('jobStatus', 'job_status').alter()
table.specificType('type', 'service_type').alter()
})
.table('repositories', table => {
table.foreign('organizationId').references('organizations.id')
})
exports.down = knex =>
knex.schema
.alterTable('builds', table => {
table.string('jobStatus').alter()
})
.alterTable('screenshot_diffs', table => {
table.string('jobStatus').alter()
})
.alterTable('synchronizations', table => {
table.string('jobStatus').alter()
table.string('type').alter()
})
.raw(`ALTER TABLE screenshot_diffs ALTER COLUMN "score" DROP NOT NULL`)
.raw(`DROP TYPE job_status`)
.raw(`DROP TYPE service_type`)
.table('repositories', table => {
table.dropForeign('organizationId')
})
|
jbelyeu/graphite_rotation_project | core/alignment/BamAlignmentReader.cpp | #include "BamAlignmentReader.h"
#include "BamAlignment.h"
#include "AlignmentList.h"
#include "SampleManager.hpp"
#include <unordered_set>
namespace graphite
{
BamAlignmentReader::BamAlignmentReader(const std::string& bamPath) :
m_bam_path(bamPath),
m_is_open(false)
{
}
BamAlignmentReader::~BamAlignmentReader()
{
}
void BamAlignmentReader::open()
{
std::lock_guard< std::mutex > l(m_lock);
if (m_is_open) { return; }
m_is_open = true;
if (!this->m_bam_reader.Open(this->m_bam_path))
{
throw "Unable to open bam file";
}
this->m_bam_reader.LocateIndex();
}
void BamAlignmentReader::close()
{
std::lock_guard< std::mutex > l(m_lock);
if (!m_is_open) { return; }
m_is_open = false;
this->m_bam_reader.Close();
}
std::vector< IAlignment::SharedPtr > BamAlignmentReader::loadAlignmentsInRegion(Region::SharedPtr regionPtr, bool excludeDuplicateReads)
{
std::lock_guard< std::mutex > l(m_lock);
if (!m_is_open)
{
std::cout << "Bam file not opened" << std::endl;
exit(0);
}
std::vector< IAlignment::SharedPtr > alignmentPtrs;
int refID = this->m_bam_reader.GetReferenceID(regionPtr->getReferenceID());
// add 1 to the start and end positions because this is 0 based
this->m_bam_reader.SetRegion(refID, regionPtr->getStartPosition(), refID, regionPtr->getEndPosition());
// lock.lock();
/*
{
std::lock_guard< std::mutex > l(lock);
std::cout << "bam region: " << regionPtr->getRegionString() << std::endl;
}
*/
// auto bamAlignmentPtr = std::make_shared< BamTools::BamAlignment >();
size_t counter = 0;
uint32_t count = 0;
BamTools::BamAlignment bamAlignment;
// while(this->m_bam_reader.GetNextAlignment(*bamAlignmentPtr))
while(this->m_bam_reader.GetNextAlignment(bamAlignment))
{
if (bamAlignment.IsDuplicate() && excludeDuplicateReads) { continue; }
// if (bamAlignment.RefID != refID) { break; }
std::string sample;
bamAlignment.GetTag("RG", sample);
Sample::SharedPtr samplePtr = SampleManager::Instance()->getSamplePtr(sample);
if (samplePtr == nullptr)
{
throw "There was an error in the sample name for: " + sample;
}
alignmentPtrs.push_back(std::make_shared< BamAlignment >(bamAlignment, samplePtr));
}
// lock.lock();
// std::cout << " alignments: " << alignmentPtrs.size() << std::endl;
// lock.unlock();
return alignmentPtrs;
}
std::vector< Sample::SharedPtr > BamAlignmentReader::GetBamReaderSamples(const std::string& bamPath)
{
std::vector< Sample::SharedPtr > samplePtrs;
BamTools::BamReader bamReader;
if (!bamReader.Open(bamPath))
{
throw "Unable to open bam file";
}
auto readGroups = bamReader.GetHeader().ReadGroups;
auto iter = readGroups.Begin();
for (; iter != readGroups.End(); ++iter)
{
auto samplePtr = std::make_shared< Sample >((*iter).Sample, (*iter).ID, bamPath);
samplePtrs.emplace_back(samplePtr);
}
bamReader.Close();
return samplePtrs;
}
position BamAlignmentReader::GetLastPositionInBam(const std::string& bamPath, Region::SharedPtr regionPtr)
{
BamTools::BamReader bamReader;
if (!bamReader.Open(bamPath))
{
throw "Unable to open bam file";
}
bamReader.LocateIndex();
int refID = bamReader.GetReferenceID(regionPtr->getReferenceID());
auto referenceData = bamReader.GetReferenceData();
bamReader.Close();
return referenceData[refID].RefLength;
}
}
|
rulan87/devclab.bc | bc/1/ariProg.c | <filename>bc/1/ariProg.c
// Считать с клавиатуры три целых числа - первый член, шаг и количество членов арифметической прогрессии.
// Вывести в строку через пробел члены заданной прогрессии.
// Задаваемое количество больше нуля.
#include <stdio.h>
int main() {
int counter, step, amount;
scanf("%d %d %d", &counter, &step, &amount);
for ( int i = 1; i < amount; i++ ) {
printf("%d ", counter);
counter += step;
}
printf("%d\n", counter);
return 0;
}
|
Minecodecraft/LeetCode-Minecode | String/227. Basic Calculator II/main.cpp | <reponame>Minecodecraft/LeetCode-Minecode
//
// main.cpp
// 227. Basic Calculator II
//
// Created by 边俊林 on 2019/8/6.
// Copyright © 2019 Minecode.Link. All rights reserved.
//
/* ------------------------------------------------------ *\
https://leetcode.com/problems/basic-calculator-ii/
\* ------------------------------------------------------ */
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <string>
#include <vector>
#include <cstdio>
#include <sstream>
#include <cstdlib>
#include <iostream>
#include <algorithm>
#include <unordered_map>
#include <unordered_set>
using namespace std;
/// Solution:
//
class Solution {
public:
int calculate(string s) {
stringstream ss("+" + s);
char op;
int num, last, ans;
num = last = ans = 0;
while (ss >> op >> num) {
if (op == '+' || op == '-') {
num = op == '+' ? num : -num;
ans += num;
} else {
num = op == '*' ? last * num : last / num;
ans = ans - last + num;
}
last = num;
}
return ans;
}
};
int main() {
Solution sol = Solution();
// string s = "3+2*2";
// string s = " 3/2 ";
// string s = "3+5 / 2";
// string s = "3+5 / 2 * 2";
string s = "0-2147483647";
// string s = "1-1+1";
int res = sol.calculate(s);
cout << res << endl;
return 0;
}
|
GolosChain/golos.io | src/store/middlewares/cyberway-api/index.js | <reponame>GolosChain/golos.io
export { default as apiMiddleware, CYBERWAY_API } from './api';
export { default as rpcMiddleware, CYBERWAY_RPC } from './rpc';
|
007sair/Poster | build/webpack.prod.config.js | /**
* production
*/
require('./script/del-dist.js');
const path = require('path');
const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const HtmlWebpackIncludeAssetsPlugin = require('html-webpack-include-assets-plugin');
// const CommonsChunkPlugin = require("webpack/lib/optimize/CommonsChunkPlugin");
var dirVars = require('./config/dir-vars.config.js');
var _getEntry = require('./config/entry.config.js');
var _resolve = require('./config/resolve.config.js');
var postcssConfig = require('./config/postcss.config.js');
var config = {
entry: _getEntry(),
output: {
path: path.resolve(dirVars.outputDir),
filename: "js/[name].min.js?v=[chunkhash:10]",
// publicPath: "/",
chunkFilename: "js/[name].min.js?v=[chunkhash:10]",
},
module: {
rules: [
{ test: /\.js$/, exclude: /node_modules/, loader: "babel-loader" },
{
test: /\.(css|scss)$/,
use: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: [
{
loader: 'css-loader',
options: {
sourceMap: true,
}
},
{
loader: 'postcss-loader',
options: {
plugins: postcssConfig,
sourceMap: true
}
},
{
loader: 'sass-loader',
options: {
sourceMap: true
}
}
]
})
},
{
test: /\.(png|jpg|gif|jpeg)$/,
use: [
{
loader: 'url-loader',
options: {
limit: 2,
name: 'images/[path][name].[ext]?v=[hash:10]',
context: path.resolve(dirVars.rootDir, 'src/assets/img/'),
},
}
]
},
{
test: /\.html$/,
use: ['html-loader']
},
]
},
resolve: _resolve,
plugins: [
new webpack.DefinePlugin({ //环境判断 用于js文件中
'process.env': {
NODE_ENV: JSON.stringify('production')
},
__DEV__: JSON.stringify(JSON.parse(process.env.DEBUG || 'false'))
}),
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false,
},
}),
new webpack.NoEmitOnErrorsPlugin(), // 配合CLI的--bail,一出error就终止webpack的编译进程
new ExtractTextPlugin('css/style.css?v=[contenthash:10]'),
]
};
//set pages
config.plugins = config.plugins.concat(
require('./config/page.config.js'),
);
module.exports = config; |
StrikeW/sona | angelml/src/main/scala/org/apache/spark/angel/graph/params/HasDebugMode.scala | package org.apache.spark.angel.graph.params
import org.apache.spark.angel.ml.param.{BooleanParam, Params}
trait HasDebugMode extends Params {
final val debugMode = new BooleanParam(this, "debugMode", "debugMode")
final def setDebugMode(mode: Boolean): this.type = set(debugMode, mode)
final def getDebugMode: Boolean = $(debugMode)
}
|
cooker/gt-core-base | gt-core-base-leetcode/src/main/java/com/github/cooker/Solution0811.java | package com.github.cooker;
/**
* grant
* 23/4/2020 10:08 上午
* 描述:
*/
public class Solution0811 {
// static int[] cors = new int[]{1, 5, 10, 25};
//
// public int waysToChange(int n) {
// int num = 0;
// int sum = 0;
// int xx = 0;
//
// for (int i = 0;i < cors.length; i++){
// xx = n % cors[i];
// if (xx == 0){
// sum ++;
// }else {
// sum += addSum(xx, i);
// }
// }
// return sum;
// }
//
// public int addSum(int n, int index){
// if (i < 0) return 0;
// if (i == 0) return 1;
//
// }
//
// public static void main(String[] args) {
// Solution0811 solution0811 = new Solution0811();
//
//
//
// System.out.println(solution0811.waysToChange(5));
// System.out.println(solution0811.waysToChange(6));
// System.out.println(solution0811.waysToChange(10));
// }
}
|
Guigui14460/project-automation | project_automation/files/batch_file.py | import os
import stat
from typing import NoReturn
from project_automation.files import CustomFileExtension
class BatchFile(CustomFileExtension):
"""
Represents a `.bat` file (format for Windows).
Attributes
----------
filename : str
represents the path of the file and his name (with the extension)
"""
CONFIG = {
"extension": "bat"
}
def __init__(self, path: str, filename: str) -> NoReturn:
"""
Constructor and initializer.
Parameters
----------
path : str
path of the file (not add the filename)
filename : str
name of the file without extension
"""
super().__init__(path, filename)
def init(self) -> NoReturn:
"""
Initialize the content of the file.
"""
content = "echo \"Hello World\""
self.write(content)
def write(self, string: str) -> NoReturn:
"""
Write into the file.
Parameters
----------
string : str
string to write into the file
"""
super().write(string)
os.chmod(self.filename, stat.S_IRWXU)
|
gianluca-m/SeeingTemperature | HoloLens/MyBuild/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs41.cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
#include "vm/CachedCCWBase.h"
#include "utils/New.h"
// System.Collections.Generic.Dictionary`2<System.Action`3<UnityEngine.GameObject,UnityEngine.Material,UnityEngine.Material>,System.Collections.Generic.LinkedListNode`1<System.Action`3<UnityEngine.GameObject,UnityEngine.Material,UnityEngine.Material>>>
struct Dictionary_2_t4E870B686DD849612FE4EC9C8170EA18B500D353;
// System.Collections.Generic.Dictionary`2<System.Tuple`2<UnityEngine.Collider,UnityEngine.Camera>,System.Boolean>
struct Dictionary_2_t98787E41AC6299167C788E23E552FA2A203C30FE;
// System.Collections.Generic.Dictionary`2<System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding/KeyType,System.Int32>,System.Int32>
struct Dictionary_2_t63411E5AA62CCCB955A8EAD56643D65589CC47E5;
// System.Collections.Generic.Dictionary`2<System.Action,System.Collections.Generic.LinkedListNode`1<System.Action>>
struct Dictionary_2_t050A987FF3F83046609B91544CA99C3F44CA394E;
// System.Collections.Generic.Dictionary`2<Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect/AudioLoFiFilterSettings>
struct Dictionary_2_tF60163258587C36EBE3A9943304A6D902E5CD4F5;
// System.Collections.Generic.Dictionary`2<UnityEngine.Camera,Microsoft.MixedReality.Toolkit.Extensions.SceneTransitions.CameraFaderQuad/Quad>
struct Dictionary_2_tF4CF1919C0D42836CDD5AECF9AB9C534DA755BCC;
// System.Collections.Generic.Dictionary`2<UnityEngine.Canvas,UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.Graphic>>
struct Dictionary_2_t79A0FFC8A9EA909E2397C10AFBD9F64EC0154963;
// System.Collections.Generic.Dictionary`2<UnityEngine.Font,System.Collections.Generic.HashSet`1<UnityEngine.UI.Text>>
struct Dictionary_2_t4F42AAD6C75C36A4A9D4B0CD537DAF5D5F503079;
// System.Collections.Generic.Dictionary`2<UnityEngine.GameObject,System.Int32>
struct Dictionary_2_t4C2FB1CAF9188DADBB3D9EC66581072D16870B9B;
// System.Collections.Generic.Dictionary`2<UnityEngine.UI.Graphic,System.Int32>
struct Dictionary_2_t51811C4D09EBB297C0DFE9FA972CEB160E185E11;
// System.Collections.Generic.Dictionary`2<System.Guid,Mono.Security.Interface.MonoTlsProvider>
struct Dictionary_2_t94DF7D57A0FF045929FE85E29881A95D7B508301;
// System.Collections.Generic.Dictionary`2<Microsoft.MixedReality.Toolkit.Utilities.Handedness,Microsoft.MixedReality.Toolkit.Input.BaseController>
struct Dictionary_2_tB0FDB6638B504885D2096C66102D64B113F10156;
// System.Collections.Generic.Dictionary`2<Microsoft.MixedReality.Toolkit.Utilities.Handedness,UnityEngine.Bounds>
struct Dictionary_2_t4EBE405C8963831B102B6D03D22F09948DC9A024;
// System.Collections.Generic.Dictionary`2<Microsoft.MixedReality.Toolkit.Utilities.Handedness,UnityEngine.Matrix4x4>
struct Dictionary_2_t3041C9B36BE465A11F7C0591E3CB2717964A2148;
// System.Collections.Generic.Dictionary`2<System.Threading.IAsyncLocal,System.Object>
struct Dictionary_2_tED8EC0DF62452D89154D9584AC19F62C79BF3938;
// System.Collections.Generic.Dictionary`2<UnityEngine.UI.ICanvasElement,System.Int32>
struct Dictionary_2_t059F96DADCC8B901973F95056D8107AB675AEE96;
// System.Collections.Generic.Dictionary`2<UnityEngine.UI.IClipper,System.Int32>
struct Dictionary_2_tE0026BDD5CB0F84F7271F011A4C20757945DE83F;
// System.Collections.Generic.Dictionary`2<System.Xml.IDtdEntityInfo,System.Xml.IDtdEntityInfo>
struct Dictionary_2_t7E4F75E23B8A710084DDD8B7D9D901F39C24B184;
// System.Collections.Generic.Dictionary`2<Microsoft.MixedReality.Toolkit.Input.IMixedRealityController,UnityEngine.Vector3>
struct Dictionary_2_tFB19AD637A1859A4B53CC7833DFF3EBCA3EDB5C3;
// System.Collections.Generic.Dictionary`2<Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource,System.Collections.Generic.HashSet`1<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer>>
struct Dictionary_2_t4DE8F3B2E63DD9146D26CA1EDDD498450E155F9C;
// System.Collections.Generic.Dictionary`2<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer,System.UInt32>
struct Dictionary_2_tE4AA04B31C201432D691DD81E64F3624906B15D4;
// System.Collections.Generic.Dictionary`2<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer,Microsoft.MixedReality.Toolkit.Input.DefaultPrimaryPointerSelector/PointerInfo>
struct Dictionary_2_t3B899A4E44AAC2BABAB6DE844F85CD8EEB6E7812;
// System.Collections.Generic.Dictionary`2<Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar,System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.IMixedRealityService>>
struct Dictionary_2_t5B61BD519916DA62BF0C6E111B6735A50C9AF36E;
// System.Collections.Generic.Dictionary`2<Microsoft.MixedReality.Toolkit.UI.BoundsControl.IProximityEffectObjectProvider,System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.UI.BoundsControl.ProximityEffect/ObjectProximityInfo>>
struct Dictionary_2_tC17C3E1C329D497F7BB1859B02C36552EC1758FD;
// System.Collections.Generic.Dictionary`2<UnityEngine.XR.InputDevice,Microsoft.MixedReality.Toolkit.XRSDK.Input.GenericXRSDKController>
struct Dictionary_2_tBDD5926BC1EE372C9A9E1DB2F7D5D2A1CF1BAE97;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding/KeyType,System.Int32>>
struct Dictionary_2_tBEB1E9AF3E721B2F2C0D7A9097B3BAB08B88AC4A;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Boolean>
struct Dictionary_2_t446D8FCE66ED404E00855B46A520AB382A69EFF1;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Char>
struct Dictionary_2_tB8FA8FEFBC38630BF40B59A6B474816F30D29B23;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Globalization.CultureInfo>
struct Dictionary_2_t5B8303F2C9869A39ED3E03C0FBB09F817E479402;
// System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.InputSystem.InputDevice>
struct Dictionary_2_t3D9A2E4B61740D2FF9C269DA70E17270A366C986;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>
struct Dictionary_2_t49CB072CAA9184D326107FA696BB354C43EB5E08;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Int64>
struct Dictionary_2_t9AE0BA863BA88FABCBFC4CA835E0A6E00D948984;
// System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.Material>
struct Dictionary_2_tE3F17FC57643708975DF2782661AFB9CB1687991;
// System.Collections.Generic.ICollection`1<System.Action`2<System.Object,TMPro.Compute_DT_EventArgs>>
struct ICollection_1_t3A391876F4CC26D2424839939A05225F726D60F2;
// System.Collections.Generic.ICollection`1<System.Action`3<UnityEngine.GameObject,UnityEngine.Material,UnityEngine.Material>>
struct ICollection_1_t6012B74A3E447E1829F4E652DDA2440997059CBB;
// System.Collections.Generic.ICollection`1<System.Tuple`2<UnityEngine.Collider,UnityEngine.Camera>>
struct ICollection_1_tBB7682B58E05A1EE5675389740845148E75D8E36;
// System.Collections.Generic.ICollection`1<System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding/KeyType,System.Int32>>
struct ICollection_1_tEA564F4BF2DB5AAB4ABC3CA349F692294C16F78A;
// System.Collections.Generic.ICollection`1<System.Action>
struct ICollection_1_t9265101ED1853D97D9CA44DF3CDA72EEF709E021;
// System.Collections.Generic.ICollection`1<Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality>
struct ICollection_1_t3878F3C579D4BBF15A3DFB72FD55E86628A63F7B;
// System.Collections.Generic.ICollection`1<UnityEngine.Camera>
struct ICollection_1_t1EDE437BB88F1E6EA50F9F6A28D39BE9CE198002;
// System.Collections.Generic.ICollection`1<UnityEngine.Canvas>
struct ICollection_1_t82D8CE6CB2E068698AB5DCF263645D7E4749BF92;
// System.Collections.Generic.ICollection`1<UnityEngine.Font>
struct ICollection_1_t1BABE1786D9C3B4ECDE2445CCBADC28A596F0D82;
// System.Collections.Generic.ICollection`1<UnityEngine.GameObject>
struct ICollection_1_tE19DF962738977670C6F3FE0F98F2568575977DA;
// System.Collections.Generic.ICollection`1<UnityEngine.UI.Graphic>
struct ICollection_1_t72B84F96FA1E6C3D1516398EFF55C902D7EC38B5;
// System.Collections.Generic.ICollection`1<System.Guid>
struct ICollection_1_t640A927B1E8C4AF0868E9B4763E93FF04AAA948E;
// System.Collections.Generic.ICollection`1<Microsoft.MixedReality.Toolkit.Utilities.Handedness>
struct ICollection_1_tA4E2F791A5847DADDDF1CDF2A95ACFB367C1B03F;
// System.Collections.Generic.ICollection`1<System.Threading.IAsyncLocal>
struct ICollection_1_t1CFD641B4393B689B1B49E21A3A05744FC7E7AA7;
// System.Collections.Generic.ICollection`1<UnityEngine.UI.ICanvasElement>
struct ICollection_1_tE54F85FAE742B35D306BA1BC1E91D354F726304C;
// System.Collections.Generic.ICollection`1<UnityEngine.UI.IClipper>
struct ICollection_1_t7F9120982A4DF87D4F3D97E7514B140D7CFB6693;
// System.Collections.Generic.ICollection`1<System.Xml.IDtdEntityInfo>
struct ICollection_1_t658BABDD4525BBD1A53AEA63CF4ADCDB9677C363;
// System.Collections.Generic.ICollection`1<Microsoft.MixedReality.Toolkit.Input.IMixedRealityController>
struct ICollection_1_t9420B760F55BE68A22535B910D37DF783872570A;
// System.Collections.Generic.ICollection`1<Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource>
struct ICollection_1_t5828367CFB8CCB401B7CC45C54F7C4D205B0F826;
// System.Collections.Generic.ICollection`1<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer>
struct ICollection_1_t2F25CB57146B22C7B622E0F113306661DD5DF407;
// System.Collections.Generic.ICollection`1<Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar>
struct ICollection_1_tA31ADBB25438D7451AC246F75D8491826FE3B64E;
// System.Collections.Generic.ICollection`1<Microsoft.MixedReality.Toolkit.UI.BoundsControl.IProximityEffectObjectProvider>
struct ICollection_1_t449C549B04716C4F356F9F8914877C052958308C;
// System.Collections.Generic.ICollection`1<UnityEngine.XR.InputDevice>
struct ICollection_1_tC8E4BFBBF03EB0CD60BA05F664A6B391B5BFE943;
// System.Collections.Generic.ICollection`1<System.Int32>
struct ICollection_1_t1C0C51B19916511E9D525272F055515334C93525;
struct IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB;
struct IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C;
struct IIterator_1_tC19119ADD011F982A331387F5836BECAEAB51CFB;
struct IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C;
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
// Windows.Foundation.Collections.IIterable`1<System.Guid>
struct NOVTABLE IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m4622F69251412B15E5B466C5937E477D00D17933(IIterator_1_tC19119ADD011F982A331387F5836BECAEAB51CFB** comReturnValue) = 0;
};
// Windows.Foundation.Collections.IIterable`1<System.Int32>
struct NOVTABLE IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) = 0;
};
// Windows.Foundation.Collections.IIterable`1<System.Object>
struct NOVTABLE IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) = 0;
};
// Windows.UI.Xaml.Interop.IBindableIterable
struct NOVTABLE IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8 : Il2CppIInspectable
{
static const Il2CppGuid IID;
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) = 0;
};
// System.Object
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Action`2<System.Object,TMPro.Compute_DT_EventArgs>,System.Collections.Generic.LinkedListNode`1<System.Action`2<System.Object,TMPro.Compute_DT_EventArgs>>>
struct KeyCollection_tFF50F830D4FBDD58D3DBF492DDD7E8B16D49D744 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_tFF50F830D4FBDD58D3DBF492DDD7E8B16D49D744, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_tFF50F830D4FBDD58D3DBF492DDD7E8B16D49D744, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Action`3<UnityEngine.GameObject,UnityEngine.Material,UnityEngine.Material>,System.Collections.Generic.LinkedListNode`1<System.Action`3<UnityEngine.GameObject,UnityEngine.Material,UnityEngine.Material>>>
struct KeyCollection_tD4D0575A09099C80AFFCD36D7D3845271FFEBBBC : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t4E870B686DD849612FE4EC9C8170EA18B500D353 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_tD4D0575A09099C80AFFCD36D7D3845271FFEBBBC, ___dictionary_0)); }
inline Dictionary_2_t4E870B686DD849612FE4EC9C8170EA18B500D353 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t4E870B686DD849612FE4EC9C8170EA18B500D353 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t4E870B686DD849612FE4EC9C8170EA18B500D353 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Action`3<UnityEngine.GameObject,UnityEngine.Material,UnityEngine.Material>,System.Collections.Generic.LinkedListNode`1<System.Action`3<UnityEngine.GameObject,UnityEngine.Material,UnityEngine.Material>>>
struct KeyCollection_t0AEC172DF3C52C12A2FDBBF57D9EB1F2038D7360 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t0AEC172DF3C52C12A2FDBBF57D9EB1F2038D7360, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t0AEC172DF3C52C12A2FDBBF57D9EB1F2038D7360, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Tuple`2<UnityEngine.Collider,UnityEngine.Camera>,System.Boolean>
struct KeyCollection_t6B6E15CC29A7419FFFCC6AB3EED2B5045C1F1228 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t98787E41AC6299167C788E23E552FA2A203C30FE * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t6B6E15CC29A7419FFFCC6AB3EED2B5045C1F1228, ___dictionary_0)); }
inline Dictionary_2_t98787E41AC6299167C788E23E552FA2A203C30FE * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t98787E41AC6299167C788E23E552FA2A203C30FE ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t98787E41AC6299167C788E23E552FA2A203C30FE * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Tuple`2<UnityEngine.Collider,UnityEngine.Camera>,System.Boolean>
struct KeyCollection_t873673B8E6D016BE50BEBC3FF742DC853197995D : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t873673B8E6D016BE50BEBC3FF742DC853197995D, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t873673B8E6D016BE50BEBC3FF742DC853197995D, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding/KeyType,System.Int32>,System.Int32>
struct KeyCollection_t82EF432C0B34DF9299BAF295F7D56C727B66B1E7 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t63411E5AA62CCCB955A8EAD56643D65589CC47E5 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t82EF432C0B34DF9299BAF295F7D56C727B66B1E7, ___dictionary_0)); }
inline Dictionary_2_t63411E5AA62CCCB955A8EAD56643D65589CC47E5 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t63411E5AA62CCCB955A8EAD56643D65589CC47E5 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t63411E5AA62CCCB955A8EAD56643D65589CC47E5 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding/KeyType,System.Int32>,System.Int32>
struct KeyCollection_t6B3CF7404207DF677AFF527D7AF9CB2C461EF07D : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t6B3CF7404207DF677AFF527D7AF9CB2C461EF07D, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t6B3CF7404207DF677AFF527D7AF9CB2C461EF07D, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Action,System.Collections.Generic.LinkedListNode`1<System.Action>>
struct KeyCollection_tE1D101AB3E8A12DC5F8E00B21C56DDB591665BD9 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t050A987FF3F83046609B91544CA99C3F44CA394E * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_tE1D101AB3E8A12DC5F8E00B21C56DDB591665BD9, ___dictionary_0)); }
inline Dictionary_2_t050A987FF3F83046609B91544CA99C3F44CA394E * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t050A987FF3F83046609B91544CA99C3F44CA394E ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t050A987FF3F83046609B91544CA99C3F44CA394E * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Action,System.Collections.Generic.LinkedListNode`1<System.Action>>
struct KeyCollection_t3F733406A0903B5EA515D2BC96629504C71213B9 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t3F733406A0903B5EA515D2BC96629504C71213B9, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t3F733406A0903B5EA515D2BC96629504C71213B9, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect/AudioLoFiFilterSettings>
struct KeyCollection_tAA4FA72CB5A75CDB102CD3F8C37F60C23B3B7C6E : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_tF60163258587C36EBE3A9943304A6D902E5CD4F5 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_tAA4FA72CB5A75CDB102CD3F8C37F60C23B3B7C6E, ___dictionary_0)); }
inline Dictionary_2_tF60163258587C36EBE3A9943304A6D902E5CD4F5 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tF60163258587C36EBE3A9943304A6D902E5CD4F5 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tF60163258587C36EBE3A9943304A6D902E5CD4F5 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect/AudioLoFiFilterSettings>
struct KeyCollection_tD80904B1B4410FE66EBC4C3C63047870EA772705 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_tD80904B1B4410FE66EBC4C3C63047870EA772705, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_tD80904B1B4410FE66EBC4C3C63047870EA772705, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.Camera,Microsoft.MixedReality.Toolkit.Extensions.SceneTransitions.CameraFaderQuad/Quad>
struct KeyCollection_t23B231EEDC18B42A11BDE4E3C10CD0F9AA7EE85A : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_tF4CF1919C0D42836CDD5AECF9AB9C534DA755BCC * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t23B231EEDC18B42A11BDE4E3C10CD0F9AA7EE85A, ___dictionary_0)); }
inline Dictionary_2_tF4CF1919C0D42836CDD5AECF9AB9C534DA755BCC * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tF4CF1919C0D42836CDD5AECF9AB9C534DA755BCC ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tF4CF1919C0D42836CDD5AECF9AB9C534DA755BCC * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.Camera,Microsoft.MixedReality.Toolkit.Extensions.SceneTransitions.CameraFaderQuad/Quad>
struct KeyCollection_t33E96978A3CC1730ECCD8DF946134C18870FDCDE : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t33E96978A3CC1730ECCD8DF946134C18870FDCDE, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t33E96978A3CC1730ECCD8DF946134C18870FDCDE, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.Canvas,UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.Graphic>>
struct KeyCollection_t5C0B9520E42780C7BE5E6CBC8E4D51B1CC976373 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t79A0FFC8A9EA909E2397C10AFBD9F64EC0154963 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t5C0B9520E42780C7BE5E6CBC8E4D51B1CC976373, ___dictionary_0)); }
inline Dictionary_2_t79A0FFC8A9EA909E2397C10AFBD9F64EC0154963 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t79A0FFC8A9EA909E2397C10AFBD9F64EC0154963 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t79A0FFC8A9EA909E2397C10AFBD9F64EC0154963 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.Canvas,UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.Graphic>>
struct KeyCollection_tFA4F46CA2BCA9867A66AEA7A54C21D4122E33F60 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_tFA4F46CA2BCA9867A66AEA7A54C21D4122E33F60, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_tFA4F46CA2BCA9867A66AEA7A54C21D4122E33F60, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.Font,System.Collections.Generic.HashSet`1<UnityEngine.UI.Text>>
struct KeyCollection_t1350CE31F7FE197C2379A5E0561DED62BAA99F21 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t4F42AAD6C75C36A4A9D4B0CD537DAF5D5F503079 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t1350CE31F7FE197C2379A5E0561DED62BAA99F21, ___dictionary_0)); }
inline Dictionary_2_t4F42AAD6C75C36A4A9D4B0CD537DAF5D5F503079 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t4F42AAD6C75C36A4A9D4B0CD537DAF5D5F503079 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t4F42AAD6C75C36A4A9D4B0CD537DAF5D5F503079 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.Font,System.Collections.Generic.HashSet`1<UnityEngine.UI.Text>>
struct KeyCollection_tADBAB64F4BA9896CF076E84BEEA0AB3EDFCA75A6 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_tADBAB64F4BA9896CF076E84BEEA0AB3EDFCA75A6, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_tADBAB64F4BA9896CF076E84BEEA0AB3EDFCA75A6, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.GameObject,System.Int32>
struct KeyCollection_tC72333F32967E732692C6B5D0CD4A6F058D48E6E : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t4C2FB1CAF9188DADBB3D9EC66581072D16870B9B * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_tC72333F32967E732692C6B5D0CD4A6F058D48E6E, ___dictionary_0)); }
inline Dictionary_2_t4C2FB1CAF9188DADBB3D9EC66581072D16870B9B * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t4C2FB1CAF9188DADBB3D9EC66581072D16870B9B ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t4C2FB1CAF9188DADBB3D9EC66581072D16870B9B * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.GameObject,System.Int32>
struct KeyCollection_tC3B873933277D43A918DBB4A4D74BABF45235917 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_tC3B873933277D43A918DBB4A4D74BABF45235917, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_tC3B873933277D43A918DBB4A4D74BABF45235917, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.UI.Graphic,System.Int32>
struct KeyCollection_t6273D9E93FAF014B40ACAF97F355F5E826E0CA7E : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t51811C4D09EBB297C0DFE9FA972CEB160E185E11 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t6273D9E93FAF014B40ACAF97F355F5E826E0CA7E, ___dictionary_0)); }
inline Dictionary_2_t51811C4D09EBB297C0DFE9FA972CEB160E185E11 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t51811C4D09EBB297C0DFE9FA972CEB160E185E11 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t51811C4D09EBB297C0DFE9FA972CEB160E185E11 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.UI.Graphic,System.Int32>
struct KeyCollection_t0A2060F350137EC79AA6202BC9F9B46054C5F413 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t0A2060F350137EC79AA6202BC9F9B46054C5F413, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t0A2060F350137EC79AA6202BC9F9B46054C5F413, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Guid,System.Tuple`2<System.Guid,System.Int32>>
struct KeyCollection_t100B1159B7C4D5DF1C2C275F15E37E8AB8BD728B : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t100B1159B7C4D5DF1C2C275F15E37E8AB8BD728B, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t100B1159B7C4D5DF1C2C275F15E37E8AB8BD728B, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Guid,System.Int32>
struct KeyCollection_t21B7557DDE03CCE9A21FCC99E16D10C7C3BEA4D0 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t21B7557DDE03CCE9A21FCC99E16D10C7C3BEA4D0, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t21B7557DDE03CCE9A21FCC99E16D10C7C3BEA4D0, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Guid,Mono.Security.Interface.MonoTlsProvider>
struct KeyCollection_t162C5F0ABB678C4AAAB67EFA2867C8A04794BCA5 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t94DF7D57A0FF045929FE85E29881A95D7B508301 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t162C5F0ABB678C4AAAB67EFA2867C8A04794BCA5, ___dictionary_0)); }
inline Dictionary_2_t94DF7D57A0FF045929FE85E29881A95D7B508301 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t94DF7D57A0FF045929FE85E29881A95D7B508301 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t94DF7D57A0FF045929FE85E29881A95D7B508301 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Guid,Mono.Security.Interface.MonoTlsProvider>
struct KeyCollection_t28F362CC1DCEFD49A1DA77F89E49EBCBC62F316B : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t28F362CC1DCEFD49A1DA77F89E49EBCBC62F316B, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t28F362CC1DCEFD49A1DA77F89E49EBCBC62F316B, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Utilities.Handedness,Microsoft.MixedReality.Toolkit.Input.BaseController>
struct KeyCollection_t805661E3A42D97346D449B1460D1FFE395E6CE2A : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_tB0FDB6638B504885D2096C66102D64B113F10156 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t805661E3A42D97346D449B1460D1FFE395E6CE2A, ___dictionary_0)); }
inline Dictionary_2_tB0FDB6638B504885D2096C66102D64B113F10156 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tB0FDB6638B504885D2096C66102D64B113F10156 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tB0FDB6638B504885D2096C66102D64B113F10156 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Utilities.Handedness,Microsoft.MixedReality.Toolkit.Input.BaseController>
struct KeyCollection_tFC4E18C3750046822032BABC49A404D251FDC80C : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_tFC4E18C3750046822032BABC49A404D251FDC80C, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_tFC4E18C3750046822032BABC49A404D251FDC80C, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Utilities.Handedness,UnityEngine.Bounds>
struct KeyCollection_tE617DF94540054AD8A9D292721044A608C4BF946 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t4EBE405C8963831B102B6D03D22F09948DC9A024 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_tE617DF94540054AD8A9D292721044A608C4BF946, ___dictionary_0)); }
inline Dictionary_2_t4EBE405C8963831B102B6D03D22F09948DC9A024 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t4EBE405C8963831B102B6D03D22F09948DC9A024 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t4EBE405C8963831B102B6D03D22F09948DC9A024 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Utilities.Handedness,UnityEngine.Bounds>
struct KeyCollection_t7C821D3E4201FB958593E2B935F550AFC00F537F : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t7C821D3E4201FB958593E2B935F550AFC00F537F, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t7C821D3E4201FB958593E2B935F550AFC00F537F, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Utilities.Handedness,UnityEngine.Matrix4x4>
struct KeyCollection_t8D2BE9CE90B2E25659E83EB24A81B769EE649D3C : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t3041C9B36BE465A11F7C0591E3CB2717964A2148 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t8D2BE9CE90B2E25659E83EB24A81B769EE649D3C, ___dictionary_0)); }
inline Dictionary_2_t3041C9B36BE465A11F7C0591E3CB2717964A2148 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t3041C9B36BE465A11F7C0591E3CB2717964A2148 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t3041C9B36BE465A11F7C0591E3CB2717964A2148 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Utilities.Handedness,UnityEngine.Matrix4x4>
struct KeyCollection_t11B93F7CCF4FEB65CB9715FDCD634570C2374B60 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t11B93F7CCF4FEB65CB9715FDCD634570C2374B60, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t11B93F7CCF4FEB65CB9715FDCD634570C2374B60, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Threading.IAsyncLocal,System.Object>
struct KeyCollection_t68A2467D7819D38E91C95832C25D3E1A4472D9F4 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_tED8EC0DF62452D89154D9584AC19F62C79BF3938 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t68A2467D7819D38E91C95832C25D3E1A4472D9F4, ___dictionary_0)); }
inline Dictionary_2_tED8EC0DF62452D89154D9584AC19F62C79BF3938 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tED8EC0DF62452D89154D9584AC19F62C79BF3938 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tED8EC0DF62452D89154D9584AC19F62C79BF3938 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Threading.IAsyncLocal,System.Object>
struct KeyCollection_t71AB40EE74360EFE07FB14B096FF8E90A076C2A2 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t71AB40EE74360EFE07FB14B096FF8E90A076C2A2, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t71AB40EE74360EFE07FB14B096FF8E90A076C2A2, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.UI.ICanvasElement,System.Int32>
struct KeyCollection_t04BFABF4708DB3F046CEABBBDCEE6FE2255A8BDB : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t059F96DADCC8B901973F95056D8107AB675AEE96 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t04BFABF4708DB3F046CEABBBDCEE6FE2255A8BDB, ___dictionary_0)); }
inline Dictionary_2_t059F96DADCC8B901973F95056D8107AB675AEE96 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t059F96DADCC8B901973F95056D8107AB675AEE96 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t059F96DADCC8B901973F95056D8107AB675AEE96 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.UI.ICanvasElement,System.Int32>
struct KeyCollection_tD6341EBDD23DD00939DFE208E567F42BA7E9AEA3 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_tD6341EBDD23DD00939DFE208E567F42BA7E9AEA3, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_tD6341EBDD23DD00939DFE208E567F42BA7E9AEA3, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.UI.IClipper,System.Int32>
struct KeyCollection_t10CBFEECE658A33F32F26F747EA83ABFB8E172E2 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_tE0026BDD5CB0F84F7271F011A4C20757945DE83F * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t10CBFEECE658A33F32F26F747EA83ABFB8E172E2, ___dictionary_0)); }
inline Dictionary_2_tE0026BDD5CB0F84F7271F011A4C20757945DE83F * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tE0026BDD5CB0F84F7271F011A4C20757945DE83F ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tE0026BDD5CB0F84F7271F011A4C20757945DE83F * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.UI.IClipper,System.Int32>
struct KeyCollection_t59831B456A0A136751FDDA7712D94C87D2A51470 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t59831B456A0A136751FDDA7712D94C87D2A51470, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t59831B456A0A136751FDDA7712D94C87D2A51470, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Xml.IDtdEntityInfo,System.Xml.IDtdEntityInfo>
struct KeyCollection_t8CC149C3284302B1A86AB9522AF8DB78230B968F : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t7E4F75E23B8A710084DDD8B7D9D901F39C24B184 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t8CC149C3284302B1A86AB9522AF8DB78230B968F, ___dictionary_0)); }
inline Dictionary_2_t7E4F75E23B8A710084DDD8B7D9D901F39C24B184 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t7E4F75E23B8A710084DDD8B7D9D901F39C24B184 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t7E4F75E23B8A710084DDD8B7D9D901F39C24B184 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Xml.IDtdEntityInfo,System.Xml.IDtdEntityInfo>
struct KeyCollection_t5E4697B0035C237AC7E4A5A5ED6B2A88B1B24236 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t5E4697B0035C237AC7E4A5A5ED6B2A88B1B24236, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t5E4697B0035C237AC7E4A5A5ED6B2A88B1B24236, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityController,UnityEngine.Vector3>
struct KeyCollection_t7B882A0C51B5BB5C389A898375DC1D69F43A99E4 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_tFB19AD637A1859A4B53CC7833DFF3EBCA3EDB5C3 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t7B882A0C51B5BB5C389A898375DC1D69F43A99E4, ___dictionary_0)); }
inline Dictionary_2_tFB19AD637A1859A4B53CC7833DFF3EBCA3EDB5C3 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tFB19AD637A1859A4B53CC7833DFF3EBCA3EDB5C3 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tFB19AD637A1859A4B53CC7833DFF3EBCA3EDB5C3 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityController,UnityEngine.Vector3>
struct KeyCollection_t92E69F47F56FF52A03BE563F1E779EB0FC97F326 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t92E69F47F56FF52A03BE563F1E779EB0FC97F326, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t92E69F47F56FF52A03BE563F1E779EB0FC97F326, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource,System.Collections.Generic.HashSet`1<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer>>
struct KeyCollection_t982C96C45B0A85CA039BF1DBA996E5D8C77C05FD : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t4DE8F3B2E63DD9146D26CA1EDDD498450E155F9C * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t982C96C45B0A85CA039BF1DBA996E5D8C77C05FD, ___dictionary_0)); }
inline Dictionary_2_t4DE8F3B2E63DD9146D26CA1EDDD498450E155F9C * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t4DE8F3B2E63DD9146D26CA1EDDD498450E155F9C ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t4DE8F3B2E63DD9146D26CA1EDDD498450E155F9C * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource,System.Collections.Generic.HashSet`1<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer>>
struct KeyCollection_tA17E0E45962239C0990C24494F01F7BEAE1F4E52 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_tA17E0E45962239C0990C24494F01F7BEAE1F4E52, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_tA17E0E45962239C0990C24494F01F7BEAE1F4E52, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer,System.UInt32>
struct KeyCollection_t08FB15848C72158E7EFAE7FDBFA24151D81ED65A : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_tE4AA04B31C201432D691DD81E64F3624906B15D4 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t08FB15848C72158E7EFAE7FDBFA24151D81ED65A, ___dictionary_0)); }
inline Dictionary_2_tE4AA04B31C201432D691DD81E64F3624906B15D4 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tE4AA04B31C201432D691DD81E64F3624906B15D4 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tE4AA04B31C201432D691DD81E64F3624906B15D4 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer,System.UInt32>
struct KeyCollection_t5519C359B6CD7B4481AF42DA676164CE316B0069 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t5519C359B6CD7B4481AF42DA676164CE316B0069, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t5519C359B6CD7B4481AF42DA676164CE316B0069, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer,Microsoft.MixedReality.Toolkit.Input.DefaultPrimaryPointerSelector/PointerInfo>
struct KeyCollection_tA8EFB0CCC0233DB1258543EDAD415CD45EA204BF : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t3B899A4E44AAC2BABAB6DE844F85CD8EEB6E7812 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_tA8EFB0CCC0233DB1258543EDAD415CD45EA204BF, ___dictionary_0)); }
inline Dictionary_2_t3B899A4E44AAC2BABAB6DE844F85CD8EEB6E7812 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t3B899A4E44AAC2BABAB6DE844F85CD8EEB6E7812 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t3B899A4E44AAC2BABAB6DE844F85CD8EEB6E7812 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer,Microsoft.MixedReality.Toolkit.Input.DefaultPrimaryPointerSelector/PointerInfo>
struct KeyCollection_t67E4A7563980161353FDEB985F9C0A3E59D2FDAE : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t67E4A7563980161353FDEB985F9C0A3E59D2FDAE, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t67E4A7563980161353FDEB985F9C0A3E59D2FDAE, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar,System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.IMixedRealityService>>
struct KeyCollection_tD2C2B76D510C8C369521DADDA1DC6DD3091FAAE1 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t5B61BD519916DA62BF0C6E111B6735A50C9AF36E * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_tD2C2B76D510C8C369521DADDA1DC6DD3091FAAE1, ___dictionary_0)); }
inline Dictionary_2_t5B61BD519916DA62BF0C6E111B6735A50C9AF36E * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t5B61BD519916DA62BF0C6E111B6735A50C9AF36E ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t5B61BD519916DA62BF0C6E111B6735A50C9AF36E * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar,System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.IMixedRealityService>>
struct KeyCollection_tDA9CF50F21FA6E9F1FAB6C15263EE7DCCEAAB9AD : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_tDA9CF50F21FA6E9F1FAB6C15263EE7DCCEAAB9AD, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_tDA9CF50F21FA6E9F1FAB6C15263EE7DCCEAAB9AD, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.UI.BoundsControl.IProximityEffectObjectProvider,System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.UI.BoundsControl.ProximityEffect/ObjectProximityInfo>>
struct KeyCollection_tA98DA0EED<KEY>0D0916BDB5858288D : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_tC17C3E1C329D497F7BB1859B02C36552EC1758FD * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_tA98DA0EED72BF3C97C33FCD0D0916BDB5858288D, ___dictionary_0)); }
inline Dictionary_2_tC17C3E1C329D497F7BB1859B02C36552EC1758FD * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tC17C3E1C329D497F7BB1859B02C36552EC1758FD ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tC17C3E1C329D497F7BB1859B02C36552EC1758FD * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.UI.BoundsControl.IProximityEffectObjectProvider,System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.UI.BoundsControl.ProximityEffect/ObjectProximityInfo>>
struct KeyCollection_tB5BFF145846563795FBB87740201E0D45A7E8890 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_tB5BFF145846563795FBB87740201E0D45A7E8890, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_tB5BFF145846563795FBB87740201E0D45A7E8890, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.XR.InputDevice,Microsoft.MixedReality.Toolkit.XRSDK.Input.GenericXRSDKController>
struct KeyCollection_tA878E0C7F1FAF030CD94D532B83181F352AD648F : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_tBDD5926BC1EE372C9A9E1DB2F7D5D2A1CF1BAE97 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_tA878E0C7F1FAF030CD94D532B83181F352AD648F, ___dictionary_0)); }
inline Dictionary_2_tBDD5926BC1EE372C9A9E1DB2F7D5D2A1CF1BAE97 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tBDD5926BC1EE372C9A9E1DB2F7D5D2A1CF1BAE97 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tBDD5926BC1EE372C9A9E1DB2F7D5D2A1CF1BAE97 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.XR.InputDevice,Microsoft.MixedReality.Toolkit.XRSDK.Input.GenericXRSDKController>
struct KeyCollection_t007B704979513B860A0DF17BF31192D8E611A18B : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t007B704979513B860A0DF17BF31192D8E611A18B, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t007B704979513B860A0DF17BF31192D8E611A18B, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding/KeyType,System.Int32>>
struct KeyCollection_tFB3B983744FE3A5FD539DE747C39618143C717AC : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_tBEB1E9AF3E721B2F2C0D7A9097B3BAB08B88AC4A * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_tFB3B983744FE3A5FD539DE747C39618143C717AC, ___dictionary_0)); }
inline Dictionary_2_tBEB1E9AF3E721B2F2C0D7A9097B3BAB08B88AC4A * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tBEB1E9AF3E721B2F2C0D7A9097B3BAB08B88AC4A ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tBEB1E9AF3E721B2F2C0D7A9097B3BAB08B88AC4A * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding/KeyType,System.Int32>>
struct KeyCollection_t626A2A3A21768CDA49675520CA587E446FE2E982 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t626A2A3A21768CDA49675520CA587E446FE2E982, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t626A2A3A21768CDA49675520CA587E446FE2E982, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Boolean>
struct KeyCollection_t1A4234C2733AA679CBD9BA87755956535D81647E : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t446D8FCE66ED404E00855B46A520AB382A69EFF1 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t1A4234C2733AA679CBD9BA87755956535D81647E, ___dictionary_0)); }
inline Dictionary_2_t446D8FCE66ED404E00855B46A520AB382A69EFF1 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t446D8FCE66ED404E00855B46A520AB382A69EFF1 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t446D8FCE66ED404E00855B46A520AB382A69EFF1 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,System.Boolean>
struct KeyCollection_tC152F08EF8CC08ADE84F34B3E1A3B65E6334851E : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_tC152F08EF8CC08ADE84F34B3E1A3B65E6334851E, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_tC152F08EF8CC08ADE84F34B3E1A3B65E6334851E, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Char>
struct KeyCollection_tB6DA7BD3F3255AFC2FAD2CA9A291FBA43E5CD4B1 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_tB8FA8FEFBC38630BF40B59A6B474816F30D29B23 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_tB6DA7BD3F3255AFC2FAD2CA9A291FBA43E5CD4B1, ___dictionary_0)); }
inline Dictionary_2_tB8FA8FEFBC38630BF40B59A6B474816F30D29B23 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tB8FA8FEFBC38630BF40B59A6B474816F30D29B23 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tB8FA8FEFBC38630BF40B59A6B474816F30D29B23 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,System.Char>
struct KeyCollection_t0ECA6CB1949FA275ECDB3D8F05460076C20C785A : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t0ECA6CB1949FA275ECDB3D8F05460076C20C785A, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t0ECA6CB1949FA275ECDB3D8F05460076C20C785A, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Globalization.CultureInfo>
struct KeyCollection_tCF581C6F9BA00F467A3E8CB21DE2D310B5FD3CA9 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t5B8303F2C9869A39ED3E03C0FBB09F817E479402 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_tCF581C6F9BA00F467A3E8CB21DE2D310B5FD3CA9, ___dictionary_0)); }
inline Dictionary_2_t5B8303F2C9869A39ED3E03C0FBB09F817E479402 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t5B8303F2C9869A39ED3E03C0FBB09F817E479402 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t5B8303F2C9869A39ED3E03C0FBB09F817E479402 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,System.Globalization.CultureInfo>
struct KeyCollection_t1120F859B0671105D509AC98AAB21F7CFC2049D4 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t1120F859B0671105D509AC98AAB21F7CFC2049D4, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t1120F859B0671105D509AC98AAB21F7CFC2049D4, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,UnityEngine.InputSystem.InputDevice>
struct KeyCollection_t5BE70A16AB71FB272DCD7E1DA7B387098D2B0120 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t3D9A2E4B61740D2FF9C269DA70E17270A366C986 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t5BE70A16AB71FB272DCD7E1DA7B387098D2B0120, ___dictionary_0)); }
inline Dictionary_2_t3D9A2E4B61740D2FF9C269DA70E17270A366C986 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t3D9A2E4B61740D2FF9C269DA70E17270A366C986 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t3D9A2E4B61740D2FF9C269DA70E17270A366C986 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,UnityEngine.InputSystem.InputDevice>
struct KeyCollection_tF90CC73519167E400F056395F3C56187B4FFBD05 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_tF90CC73519167E400F056395F3C56187B4FFBD05, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_tF90CC73519167E400F056395F3C56187B4FFBD05, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Int32>
struct KeyCollection_tDB6919EBDF36E83E708A483A6C4CF8065F62D1E0 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t49CB072CAA9184D326107FA696BB354C43EB5E08 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_tDB6919EBDF36E83E708A483A6C4CF8065F62D1E0, ___dictionary_0)); }
inline Dictionary_2_t49CB072CAA9184D326107FA696BB354C43EB5E08 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t49CB072CAA9184D326107FA696BB354C43EB5E08 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t49CB072CAA9184D326107FA696BB354C43EB5E08 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,System.Int32>
struct KeyCollection_tEB01E49AAD44CFB3D07C82E1566073576FAB2A80 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_tEB01E49AAD44CFB3D07C82E1566073576FAB2A80, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_tEB01E49AAD44CFB3D07C82E1566073576FAB2A80, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Int64>
struct KeyCollection_t6C75FA39C169AFB913CD046927B28E95AA96C54A : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_t9AE0BA863BA88FABCBFC4CA835E0A6E00D948984 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t6C75FA39C169AFB913CD046927B28E95AA96C54A, ___dictionary_0)); }
inline Dictionary_2_t9AE0BA863BA88FABCBFC4CA835E0A6E00D948984 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t9AE0BA863BA88FABCBFC4CA835E0A6E00D948984 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t9AE0BA863BA88FABCBFC4CA835E0A6E00D948984 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,System.Int64>
struct KeyCollection_t1EE17E2E96FCA88DA7F88AD27E77B687940AC6F0 : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t1EE17E2E96FCA88DA7F88AD27E77B687940AC6F0, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t1EE17E2E96FCA88DA7F88AD27E77B687940AC6F0, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,UnityEngine.Material>
struct KeyCollection_t193AE2D2720028E6C67183D0B8776FC0C389765D : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_tE3F17FC57643708975DF2782661AFB9CB1687991 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t193AE2D2720028E6C67183D0B8776FC0C389765D, ___dictionary_0)); }
inline Dictionary_2_tE3F17FC57643708975DF2782661AFB9CB1687991 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tE3F17FC57643708975DF2782661AFB9CB1687991 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tE3F17FC57643708975DF2782661AFB9CB1687991 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,UnityEngine.Material>
struct KeyCollection_t3CE094E958DC2A4E1855D6EAC1A8BACE08E4FE5D : public RuntimeObject
{
public:
// System.Collections.Generic.ICollection`1<TKey> System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_collection
RuntimeObject* ___m_collection_0;
// System.Object System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection::m_syncRoot
RuntimeObject * ___m_syncRoot_1;
public:
inline static int32_t get_offset_of_m_collection_0() { return static_cast<int32_t>(offsetof(KeyCollection_t3CE094E958DC2A4E1855D6EAC1A8BACE08E4FE5D, ___m_collection_0)); }
inline RuntimeObject* get_m_collection_0() const { return ___m_collection_0; }
inline RuntimeObject** get_address_of_m_collection_0() { return &___m_collection_0; }
inline void set_m_collection_0(RuntimeObject* value)
{
___m_collection_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_collection_0), (void*)value);
}
inline static int32_t get_offset_of_m_syncRoot_1() { return static_cast<int32_t>(offsetof(KeyCollection_t3CE094E958DC2A4E1855D6EAC1A8BACE08E4FE5D, ___m_syncRoot_1)); }
inline RuntimeObject * get_m_syncRoot_1() const { return ___m_syncRoot_1; }
inline RuntimeObject ** get_address_of_m_syncRoot_1() { return &___m_syncRoot_1; }
inline void set_m_syncRoot_1(RuntimeObject * value)
{
___m_syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncRoot_1), (void*)value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
il2cpp_hresult_t IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue);
il2cpp_hresult_t IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue);
il2cpp_hresult_t IIterable_1_First_m4622F69251412B15E5B466C5937E477D00D17933_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_tC19119ADD011F982A331387F5836BECAEAB51CFB** comReturnValue);
il2cpp_hresult_t IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(RuntimeObject* __this, IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue);
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Action`2<System.Object,TMPro.Compute_DT_EventArgs>,System.Collections.Generic.LinkedListNode`1<System.Action`2<System.Object,TMPro.Compute_DT_EventArgs>>>
struct KeyCollection_tFF50F830D4FBDD58D3DBF492DDD7E8B16D49D744_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tFF50F830D4FBDD58D3DBF492DDD7E8B16D49D744_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tFF50F830D4FBDD58D3DBF492DDD7E8B16D49D744_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tFF50F830D4FBDD58D3DBF492DDD7E8B16D49D744_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tFF50F830D4FBDD58D3DBF492DDD7E8B16D49D744(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tFF50F830D4FBDD58D3DBF492DDD7E8B16D49D744_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tFF50F830D4FBDD58D3DBF492DDD7E8B16D49D744_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Action`3<UnityEngine.GameObject,UnityEngine.Material,UnityEngine.Material>,System.Collections.Generic.LinkedListNode`1<System.Action`3<UnityEngine.GameObject,UnityEngine.Material,UnityEngine.Material>>>
struct KeyCollection_tD4D0575A09099C80AFFCD36D7D3845271FFEBBBC_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tD4D0575A09099C80AFFCD36D7D3845271FFEBBBC_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tD4D0575A09099C80AFFCD36D7D3845271FFEBBBC_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tD4D0575A09099C80AFFCD36D7D3845271FFEBBBC_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tD4D0575A09099C80AFFCD36D7D3845271FFEBBBC(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tD4D0575A09099C80AFFCD36D7D3845271FFEBBBC_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tD4D0575A09099C80AFFCD36D7D3845271FFEBBBC_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Action`3<UnityEngine.GameObject,UnityEngine.Material,UnityEngine.Material>,System.Collections.Generic.LinkedListNode`1<System.Action`3<UnityEngine.GameObject,UnityEngine.Material,UnityEngine.Material>>>
struct KeyCollection_t0AEC172DF3C52C12A2FDBBF57D9EB1F2038D7360_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t0AEC172DF3C52C12A2FDBBF57D9EB1F2038D7360_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t0AEC172DF3C52C12A2FDBBF57D9EB1F2038D7360_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t0AEC172DF3C52C12A2FDBBF57D9EB1F2038D7360_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t0AEC172DF3C52C12A2FDBBF57D9EB1F2038D7360(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t0AEC172DF3C52C12A2FDBBF57D9EB1F2038D7360_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t0AEC172DF3C52C12A2FDBBF57D9EB1F2038D7360_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Tuple`2<UnityEngine.Collider,UnityEngine.Camera>,System.Boolean>
struct KeyCollection_t6B6E15CC29A7419FFFCC6AB3EED2B5045C1F1228_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t6B6E15CC29A7419FFFCC6AB3EED2B5045C1F1228_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t6B6E15CC29A7419FFFCC6AB3EED2B5045C1F1228_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t6B6E15CC29A7419FFFCC6AB3EED2B5045C1F1228_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t6B6E15CC29A7419FFFCC6AB3EED2B5045C1F1228(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t6B6E15CC29A7419FFFCC6AB3EED2B5045C1F1228_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t6B6E15CC29A7419FFFCC6AB3EED2B5045C1F1228_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Tuple`2<UnityEngine.Collider,UnityEngine.Camera>,System.Boolean>
struct KeyCollection_t873673B8E6D016BE50BEBC3FF742DC853197995D_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t873673B8E6D016BE50BEBC3FF742DC853197995D_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t873673B8E6D016BE50BEBC3FF742DC853197995D_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t873673B8E6D016BE50BEBC3FF742DC853197995D_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t873673B8E6D016BE50BEBC3FF742DC853197995D(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t873673B8E6D016BE50BEBC3FF742DC853197995D_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t873673B8E6D016BE50BEBC3FF742DC853197995D_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding/KeyType,System.Int32>,System.Int32>
struct KeyCollection_t82EF432C0B34DF9299BAF295F7D56C727B66B1E7_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t82EF432C0B34DF9299BAF295F7D56C727B66B1E7_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t82EF432C0B34DF9299BAF295F7D56C727B66B1E7_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t82EF432C0B34DF9299BAF295F7D56C727B66B1E7_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t82EF432C0B34DF9299BAF295F7D56C727B66B1E7(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t82EF432C0B34DF9299BAF295F7D56C727B66B1E7_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t82EF432C0B34DF9299BAF295F7D56C727B66B1E7_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding/KeyType,System.Int32>,System.Int32>
struct KeyCollection_t6B3CF7404207DF677AFF527D7AF9CB2C461EF07D_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t6B3CF7404207DF677AFF527D7AF9CB2C461EF07D_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t6B3CF7404207DF677AFF527D7AF9CB2C461EF07D_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t6B3CF7404207DF677AFF527D7AF9CB2C461EF07D_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t6B3CF7404207DF677AFF527D7AF9CB2C461EF07D(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t6B3CF7404207DF677AFF527D7AF9CB2C461EF07D_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t6B3CF7404207DF677AFF527D7AF9CB2C461EF07D_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Action,System.Collections.Generic.LinkedListNode`1<System.Action>>
struct KeyCollection_tE<KEY>_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tE<KEY>_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tE<KEY>_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tE1D101AB3E8A12DC5F8E00B21C56DDB591665BD9_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tE1D101AB3E8A12DC5F8E00B21C56DDB591665BD9(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tE1D101AB3E8A12DC5F8E00B21C56DDB591665BD9_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tE1D101AB3E8A12DC5F8E00B21C56DDB591665BD9_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Action,System.Collections.Generic.LinkedListNode`1<System.Action>>
struct KeyCollection_t3F733406A0903B5EA515D2BC96629504C71213B9_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t3F733406A0903B5EA515D2BC96629504C71213B9_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t3F733406A0903B5EA515D2BC96629504C71213B9_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t3F733406A0903B5EA515D2BC96629504C71213B9_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t3F733406A0903B5EA515D2BC96629504C71213B9(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t3F733406A0903B5EA515D2BC96629504C71213B9_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t3F733406A0903B5EA515D2BC96629504C71213B9_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect/AudioLoFiFilterSettings>
struct KeyCollection_tAA4FA72CB5A75CDB102CD3F8C37F60C23B3B7C6E_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tAA4FA72CB5A75CDB102CD3F8C37F60C23B3B7C6E_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tAA4FA72CB5A75CDB102CD3F8C37F60C23B3B7C6E_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tAA4FA72CB5A75CDB102CD3F8C37F60C23B3B7C6E_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tAA4FA72CB5A75CDB102CD3F8C37F60C23B3B7C6E(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tAA<KEY>_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tAA4FA72CB5A75CDB102CD3F8C37F60C23B3B7C6E_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Audio.AudioLoFiSourceQuality,Microsoft.MixedReality.Toolkit.Audio.AudioLoFiEffect/AudioLoFiFilterSettings>
struct KeyCollection_tD80904B1B4410FE66EBC4C3C63047870EA772705_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tD80904B1B4410FE66EBC4C3C63047870EA772705_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tD80904B1B4410FE66EBC4C3C63047870EA772705_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tD80904B1B4410FE66EBC4C3C63047870EA772705_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tD80904B1B4410FE66EBC4C3C63047870EA772705(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tD80904B1B4410FE66EBC4C3C63047870EA772705_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tD80904B1B4410FE66EBC4C3C63047870EA772705_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.Camera,Microsoft.MixedReality.Toolkit.Extensions.SceneTransitions.CameraFaderQuad/Quad>
struct KeyCollection_t23B231EEDC18B42A11BDE4E3C10CD0F9AA7EE85A_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t23B231EEDC18B42A11BDE4E3C10CD0F9AA7EE85A_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t23B231EEDC18B42A11BDE4E3C10CD0F9AA7EE85A_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t23B231EEDC18B42A11BDE4E3C10CD0F9AA7EE85A_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t23B231EEDC18B42A11BDE4E3C10CD0F9AA7EE85A(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t23B231EEDC18B42A11BDE4E3C10CD0F9AA7EE85A_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t23B231EEDC18B42A11BDE4E3C10CD0F9AA7EE85A_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.Camera,Microsoft.MixedReality.Toolkit.Extensions.SceneTransitions.CameraFaderQuad/Quad>
struct KeyCollection_t33E96978A3CC1730ECCD8DF946134C18870FDCDE_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t33E96978A3CC1730ECCD8DF946134C18870FDCDE_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t33E96978A3CC1730ECCD8DF946134C18870FDCDE_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t33E96978A3CC1730ECCD8DF946134C18870FDCDE_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t33E96978A3CC1730ECCD8DF946134C18870FDCDE(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t33E96978A3CC1730ECCD8DF946134C18870FDCDE_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t33E96978A3CC1730ECCD8DF946134C18870FDCDE_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.Canvas,UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.Graphic>>
struct KeyCollection_t5C0B9520E42780C7BE5E6CBC8E4D51B1CC976373_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t5C0B9520E42780C7BE5E6CBC8E4D51B1CC976373_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t5C0B9520E42780C7BE5E6CBC8E4D51B1CC976373_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t5C0B9520E42780C7BE5E6CBC8E4D51B1CC976373_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t5C0B9520E42780C7BE5E6CBC8E4D51B1CC976373(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t5C0B9520E42780C7BE5E6CBC8E4D51B1CC976373_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t5C0B9520E42780C7BE5E6CBC8E4D51B1CC976373_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.Canvas,UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.Graphic>>
struct KeyCollection_tFA4F46CA2BCA9867A66AEA7A54C21D4122E33F60_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tFA4F46CA2BCA9867A66AEA7A54C21D4122E33F60_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tFA4F46CA2BCA9867A66AEA7A54C21D4122E33F60_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tFA4F46CA2BCA9867A66AEA7A54C21D4122E33F60_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tFA4F46CA2BCA9867A66AEA7A54C21D4122E33F60(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tFA4F46CA2BCA9867A66AEA7A54C21D4122E33F60_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tFA4F46CA2BCA9867A66AEA7A54C21D4122E33F60_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.Font,System.Collections.Generic.HashSet`1<UnityEngine.UI.Text>>
struct KeyCollection_t1350CE31F7FE197C2379A5E0561DED62BAA99F21_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t1350CE31F7FE197C2379A5E0561DED62BAA99F21_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t1350CE31F7FE197C2379A5E0561DED62BAA99F21_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t1350CE31F7FE197C2379A5E0561DED62BAA99F21_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t1350CE31F7FE197C2379A5E0561DED62BAA99F21(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t1350CE31F7FE197C2379A5E0561DED62BAA99F21_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t1350CE31F7FE197C2379A5E0561DED62BAA99F21_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.Font,System.Collections.Generic.HashSet`1<UnityEngine.UI.Text>>
struct KeyCollection_tADBAB64F4BA9896CF076E84BEEA0AB3EDFCA75A6_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tADBAB64F4BA9896CF076E84BEEA0AB3EDFCA75A6_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tADBAB64F4BA9896CF076E84BEEA0AB3EDFCA75A6_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tADBAB64F4BA9896CF076E84BEEA0AB3EDFCA75A6_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tADBAB64F4BA9896CF076E84BEEA0AB3EDFCA75A6(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tADBAB64F4BA9896CF076E84BEEA0AB3EDFCA75A6_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tADBAB64F4BA9896CF076E84BEEA0AB3EDFCA75A6_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.GameObject,System.Int32>
struct KeyCollection_tC72333F32967E732692C6B5D0CD4A6F058D48E6E_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tC72333F32967E732692C6B5D0CD4A6F058D48E6E_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tC72333F32967E732692C6B5D0CD4A6F058D48E6E_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tC72333F32967E732692C6B5D0CD4A6F058D48E6E_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tC72333F32967E732692C6B5D0CD4A6F058D48E6E(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tC72333F32967E732692C6B5D0CD4A6F058D48E6E_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tC72333F32967E732692C6B5D0CD4A6F058D48E6E_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.GameObject,System.Int32>
struct KeyCollection_tC3B873933277D43A918DBB4A4D74BABF45235917_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tC3B873933277D43A918DBB4A4D74BABF45235917_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tC3B873933277D43A918DBB4A4D74BABF45235917_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tC3B873933277D43A918DBB4A4D74BABF45235917_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tC3B873933277D43A918DBB4A4D74BABF45235917(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tC3B873933277D43A918DBB4A4D74BABF45235917_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tC3B873933277D43A918DBB4A4D74BABF45235917_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.UI.Graphic,System.Int32>
struct KeyCollection_t6273D9E93FAF014B40ACAF97F355F5E826E0CA7E_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t6273D9E93FAF014B40ACAF97F355F5E826E0CA7E_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t6273D9E93FAF014B40ACAF97F355F5E826E0CA7E_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t6273D9E93FAF014B40ACAF97F355F5E826E0CA7E_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t6273D9E93FAF014B40ACAF97F355F5E826E0CA7E(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t6273D9E93FAF014B40ACAF97F355F5E826E0CA7E_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t6273D9E93FAF014B40ACAF97F355F5E826E0CA7E_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.UI.Graphic,System.Int32>
struct KeyCollection_t0A2060F350137EC79AA6202BC9F9B46054C5F413_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t0A2060F350137EC79AA6202BC9F9B46054C5F413_ComCallableWrapper>, IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t0A2060F350137EC79AA6202BC9F9B46054C5F413_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t0A2060F350137EC79AA6202BC9F9B46054C5F413_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t64693143CE4E5082C6101BC54B0427C21F3C01C4::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619(IIterator_1_tB1AB5AB497E87D6A397AA084D3D3D6B8D211022C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m54AC7E778E98ED35C6B7AD98C35C325B8A3DF619_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t0A2060F350137EC79AA6202BC9F9B46054C5F413(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t0A2060F350137EC79AA6202BC9F9B46054C5F413_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t0A2060F350137EC79AA6202BC9F9B46054C5F413_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Guid,System.Tuple`2<System.Guid,System.Int32>>
struct KeyCollection_t100B1159B7C4D5DF1C2C275F15E37E8AB8BD728B_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t100B1159B7C4D5DF1C2C275F15E37E8AB8BD728B_ComCallableWrapper>, IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t100B1159B7C4D5DF1C2C275F15E37E8AB8BD728B_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t100B1159B7C4D5DF1C2C275F15E37E8AB8BD728B_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m4622F69251412B15E5B466C5937E477D00D17933(IIterator_1_tC19119ADD011F982A331387F5836BECAEAB51CFB** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m4622F69251412B15E5B466C5937E477D00D17933_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t100B1159B7C4D5DF1C2C275F15E37E8AB8BD728B(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t100B1159B7C4D5DF1C2C275F15E37E8AB8BD728B_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t100B1159B7C4D5DF1C2C275F15E37E8AB8BD728B_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Guid,System.Int32>
struct KeyCollection_t21B7557DDE03CCE9A21FCC99E16D10C7C3BEA4D0_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t21B7557DDE03CCE9A21FCC99E16D10C7C3BEA4D0_ComCallableWrapper>, IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t21B7557DDE03CCE9A21FCC99E16D10C7C3BEA4D0_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t21B7557DDE03CCE9A21FCC99E16D10C7C3BEA4D0_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m4622F69251412B15E5B466C5937E477D00D17933(IIterator_1_tC19119ADD011F982A331387F5836BECAEAB51CFB** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m4622F69251412B15E5B466C5937E477D00D17933_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t21B7557DDE03CCE9A21FCC99E16D10C7C3BEA4D0(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t21B7557DDE03CCE9A21FCC99E16D10C7C3BEA4D0_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t21B7557DDE03CCE9A21FCC99E16D10C7C3BEA4D0_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Guid,Mono.Security.Interface.MonoTlsProvider>
struct KeyCollection_t162C5F0ABB678C4AAAB67EFA2867C8A04794BCA5_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t162C5F0ABB678C4AAAB67EFA2867C8A04794BCA5_ComCallableWrapper>, IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t162C5F0ABB678C4AAAB67EFA2867C8A04794BCA5_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t162C5F0ABB678C4AAAB67EFA2867C8A04794BCA5_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m4622F69251412B15E5B466C5937E477D00D17933(IIterator_1_tC19119ADD011F982A331387F5836BECAEAB51CFB** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m4622F69251412B15E5B466C5937E477D00D17933_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t162C5F0ABB678C4AAAB67EFA2867C8A04794BCA5(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t162C5F0ABB678C4AAAB67EFA2867C8A04794BCA5_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t162C5F0ABB678C4AAAB67EFA2867C8A04794BCA5_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Guid,Mono.Security.Interface.MonoTlsProvider>
struct KeyCollection_t28F362CC1DCEFD49A1DA77F89E49EBCBC62F316B_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t28F362CC1DCEFD49A1DA77F89E49EBCBC62F316B_ComCallableWrapper>, IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t28F362CC1DCEFD49A1DA77F89E49EBCBC62F316B_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t28F362CC1DCEFD49A1DA77F89E49EBCBC62F316B_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_tA3AEF3064EC92AB71DF6EF80B2EC297B7F801561::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_m4622F69251412B15E5B466C5937E477D00D17933(IIterator_1_tC19119ADD011F982A331387F5836BECAEAB51CFB** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_m4622F69251412B15E5B466C5937E477D00D17933_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t28F362CC1DCEFD49A1DA77F89E49EBCBC62F316B(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t28F362CC1DCEFD49A1DA77F89E49EBCBC62F316B_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t28F362CC1DCEFD49A1DA77F89E49EBCBC62F316B_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Utilities.Handedness,Microsoft.MixedReality.Toolkit.Input.BaseController>
struct KeyCollection_t805661E3A42D97346D449B1460D1FFE395E6CE2A_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t805661E3A42D97346D449B1460D1FFE395E6CE2A_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t805661E3A42D97346D449B1460D1FFE395E6CE2A_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t805661E3A42D97346D449B1460D1FFE395E6CE2A_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t805661E3A42D97346D449B1460D1FFE395E6CE2A(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t805661E3A42D97346D449B1460D1FFE395E6CE2A_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t805661E3A42D97346D449B1460D1FFE395E6CE2A_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Utilities.Handedness,Microsoft.MixedReality.Toolkit.Input.BaseController>
struct KeyCollection_tFC4E18C3750046822032BABC49A404D251FDC80C_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tFC4E18C3750046822032BABC49A404D251FDC80C_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tFC4E18C3750046822032BABC49A404D251FDC80C_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tFC4E18C3750046822032BABC49A404D251FDC80C_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tFC<KEY>C(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tFC4E18C3750046822032BABC49A404D251FDC80C_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tFC4E18C<KEY>9A404D251FDC80C_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Utilities.Handedness,UnityEngine.Bounds>
struct KeyCollection_tE617DF94540054AD8A9D292721044A608C4BF946_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tE617DF94540054AD8A9D292721044A608C4BF946_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tE617DF94540054AD8A9D292721044A608C4BF946_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tE617DF94540054AD8A9D292721044A608C4BF946_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tE617DF94540054AD8A9D292721044A608C4BF946(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tE617DF94540054AD8A9D292721044A608C4BF946_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tE617DF94540054AD8A9D292721044A608C4BF946_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Utilities.Handedness,UnityEngine.Bounds>
struct KeyCollection_t7C821D3E4201FB958593E2B935F550AFC00F537F_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t7C821D3E4201FB958593E2B935F550AFC00F537F_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t7C821D3E4201FB958593E2B935F550AFC00F537F_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t7C821D3E4201FB958593E2B935F550AFC00F537F_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t7C821D3E4201FB958593E2B935F550AFC00F537F(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t7C821D3E4201FB958593E2B935F550AFC00F537F_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t7C821D3E4201FB958593E2B935F550AFC00F537F_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Utilities.Handedness,UnityEngine.Matrix4x4>
struct KeyCollection_t8D2BE9CE90B2E25659E83EB24A81B769EE649D3C_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t8D2BE9CE90B2E25659E83EB24A81B769EE649D3C_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t8D2BE9CE90B2E25659E83EB24A81B769EE649D3C_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t8D2BE9CE90B2E25659E83EB24A81B769EE649D3C_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t8D2BE9CE90B2E25659E83EB24A81B769EE649D3C(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t8D2BE9CE90B2E25659E83EB24A81B769EE649D3C_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t8D2BE9CE90B2E25659E83EB24A81B769EE649D3C_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Utilities.Handedness,UnityEngine.Matrix4x4>
struct KeyCollection_t11B93F7CCF4FEB65CB9715FDCD634570C2374B60_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t11B93F7CCF4FEB65CB9715FDCD634570C2374B60_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t11B93F7CCF4FEB65CB9715FDCD634570C2374B60_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t11B93F7CCF4FEB65CB9715FDCD634570C2374B60_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t11B93F7CCF4FEB65CB9715FDCD634570C2374B60(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t11B93F7CCF4FEB65CB9715FDCD634570C2374B60_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t11B93F7CCF4FEB65CB9715FDCD634570C2374B60_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Threading.IAsyncLocal,System.Object>
struct KeyCollection_t68A2467D7819D38E91C95832C25D3E1A4472D9F4_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t68A2467D7819D38E91C95832C25D3E1A4472D9F4_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t68A2467D7819D38E91C95832C25D3E1A4472D9F4_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t68A2467D7819D38E91C95832C25D3E1A4472D9F4_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t68A2467D7819D38E91C95832C25D3E1A4472D9F4(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t68A2467D7819D38E91C95832C25D3E1A4472D9F4_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t68A2467D7819D38E91C95832C25D3E1A4472D9F4_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Threading.IAsyncLocal,System.Object>
struct KeyCollection_t71AB40EE74360EFE07FB14B096FF8E90A076C2A2_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t71AB40EE74360EFE07FB14B096FF8E90A076C2A2_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t71AB40EE74360EFE07FB14B096FF8E90A076C2A2_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t71AB40EE74360EFE07FB14B096FF8E90A076C2A2_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t71AB40EE74360EFE07FB14B096FF8E90A076C2A2(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t71AB40EE74360EFE07FB14B096FF8E90A076C2A2_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t71AB40EE74360EFE07FB14B096FF8E90A076C2A2_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.UI.ICanvasElement,System.Int32>
struct KeyCollection_t04BFABF4708DB3F046CEABBBDCEE6FE2255A8BDB_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t04BFABF4708DB3F046CEABBBDCEE6FE2255A8BDB_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t04BFABF4708DB3F046CEABBBDCEE6FE2255A8BDB_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t04BFABF4708DB3F046CEABBBDCEE6FE2255A8BDB_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t04BFABF4708DB3F046CEABBBDCEE6FE2255A8BDB(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t04BFABF4708DB3F046CEABBBDCEE6FE2255A8BDB_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t04BFABF4708DB3F046CEABBBDCEE6FE2255A8BDB_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.UI.ICanvasElement,System.Int32>
struct KeyCollection_tD6341EBDD23DD00939DFE208E567F42BA7E9AEA3_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tD6341EBDD23DD00939DFE208E567F42BA7E9AEA3_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tD6341EBDD23DD00939DFE208E567F42BA7E9AEA3_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tD6341EBDD23DD00939DFE208E567F42BA7E9AEA3_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tD6341EBDD23DD00939DFE208E567F42BA7E9AEA3(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tD6341EBDD23DD00939DFE208E567F42BA7E9AEA3_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tD6341EBDD23DD00939DFE208E567F42BA7E9AEA3_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.UI.IClipper,System.Int32>
struct KeyCollection_t10CBFEECE658A33F32F26F747EA83ABFB8E172E2_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t10CBFEECE658A33F32F26F747EA83ABFB8E172E2_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t10CBFEECE658A33F32F26F747EA83ABFB8E172E2_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t10CBFEECE658A33F32F26F747EA83ABFB8E172E2_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t10CBFEECE658A33F32F26F747EA83ABFB8E172E2(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t10CBFEECE658A33F32F26F747EA83ABFB8E172E2_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t10CBFEECE658A33F32F26F747EA83ABFB8E172E2_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.UI.IClipper,System.Int32>
struct KeyCollection_t59831B456A0A136751FDDA7712D94C87D2A51470_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t59831B456A0A136751FDDA7712D94C87D2A51470_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t59831B456A0A136751FDDA7712D94C87D2A51470_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t59831B456A0A136751FDDA7712D94C87D2A51470_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t59831B456A0A136751FDDA7712D94C87D2A51470(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t59831B456A0A136751FDDA7712D94C87D2A51470_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t59831B456A0A136751FDDA7712D94C87D2A51470_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Xml.IDtdEntityInfo,System.Xml.IDtdEntityInfo>
struct KeyCollection_t8CC149C3284302B1A86AB9522AF8DB78230B968F_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t8CC149C3284302B1A86AB9522AF8DB78230B968F_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t8CC149C3284302B1A86AB9522AF8DB78230B968F_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t8CC149C3284302B1A86AB9522AF8DB78230B968F_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t8CC149C3284302B1A86AB9522AF8DB78230B968F(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t8CC149C3284302B1A86AB9522AF8DB78230B968F_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t8CC149C3284302B1A86AB9522AF8DB78230B968F_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Xml.IDtdEntityInfo,System.Xml.IDtdEntityInfo>
struct KeyCollection_t5E4697B0035C237AC7E4A5A5ED6B2A88B1B24236_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t5E4697B0035C237AC7E4A5A5ED6B2A88B1B24236_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t5E4697B0035C237AC7E4A5A5ED6B2A88B1B24236_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t5E4697B0035C237AC7E4A5A5ED6B2A88B1B24236_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t5E4697B0035C237AC7E4A5A5ED6B2A88B1B24236(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t5E4697B0035C237AC7E4A5A5ED6B2A88B1B24236_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t5E4697B0035C237AC7E4A5A5ED6B2A88B1B24236_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityController,UnityEngine.Vector3>
struct KeyCollection_t7B882A0C51B5BB5C389A898375DC1D69F43A99E4_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t7B882A0C51B5BB5C389A898375DC1D69F43A99E4_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t7B882A0C51B5BB5C389A898375DC1D69F43A99E4_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t7B882A0C51B5BB5C389A898375DC1D69F43A99E4_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t7B882A0C51B5BB5C389A898375DC1D69F43A99E4(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t7B882A0C51B5BB5C389A898375DC1D69F43A99E4_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t7B882A0C51B5BB5C389A898375DC1D69F43A99E4_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityController,UnityEngine.Vector3>
struct KeyCollection_t92E69F47F56FF52A03BE563F1E779EB0FC97F326_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t92E69F47F56FF52A03BE563F1E779EB0FC97F326_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t92E69F47F56FF52A03BE563F1E779EB0FC97F326_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t92E69F47F56FF52A03BE563F1E779EB0FC97F326_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t92E69F47F56FF52A03BE563F1E779EB0FC97F326(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t92E69F47F56FF52A03BE563F1E779EB0FC97F326_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t92E69F47F56FF52A03BE563F1E779EB0FC97F326_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource,System.Collections.Generic.HashSet`1<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer>>
struct KeyCollection_t982C96C45B0A85CA039BF1DBA996E5D8C77C05FD_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t982C96C45B0A85CA039BF1DBA996E5D8C77C05FD_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t982C96C45B0A85CA039BF1DBA996E5D8C77C05FD_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t982C96C45B0A85CA039BF1DBA996E5D8C77C05FD_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t982C96C45B0A85CA039BF1DBA996E5D8C77C05FD(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t982C96C45B0A85CA039BF1DBA996E5D8C77C05FD_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t982C96C45B0A85CA039BF1DBA996E5D8C77C05FD_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource,System.Collections.Generic.HashSet`1<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer>>
struct KeyCollection_tA17E0E45962239C0990C24494F01F7BEAE1F4E52_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tA17E0E45962239C0990C24494F01F7BEAE1F4E52_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tA17E0E45962239C0990C24494F01F7BEAE1F4E52_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tA17E0E45962239C0990C24494F01F7BEAE1F4E52_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tA17E0E45962239C0990C24494F01F7BEAE1F4E52(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tA17E0E45962239C0990C24494F01F7BEAE1F4E52_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tA17E0E45962239C0990C24494F01F7BEAE1F4E52_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer,System.UInt32>
struct KeyCollection_t08FB15848C72158E7EFAE7FDBFA24151D81ED65A_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t08FB15848C72158E7EFAE7FDBFA24151D81ED65A_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t08FB15848C72158E7EFAE7FDBFA24151D81ED65A_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t08FB15848C72158E7EFAE7FDBFA24151D81ED65A_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t08FB15848C72158E7EFAE7FDBFA24151D81ED65A(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t08FB15848C72158E7EFAE7FDBFA24151D81ED65A_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t08FB15848C72158E7EFAE7FDBFA24151D81ED65A_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer,System.UInt32>
struct KeyCollection_t5519C359B6CD7B4481AF42DA676164CE316B0069_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t5519C359B6CD7B4481AF42DA676164CE316B0069_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t5519C359B6CD7B4481AF42DA676164CE316B0069_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t5519C359B6CD7B4481AF42DA676164CE316B0069_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t5519C359B6CD7B4481AF42DA676164CE316B0069(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t5519C359B6CD7B4481AF42DA676164CE316B0069_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t5519C359B6CD7B4481AF42DA676164CE316B0069_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer,Microsoft.MixedReality.Toolkit.Input.DefaultPrimaryPointerSelector/PointerInfo>
struct KeyCollection_tA8EFB0CCC0233DB1258543EDAD415CD45EA204BF_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tA8EFB0CCC0233DB1258543EDAD415CD45EA204BF_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tA8EFB0CCC0233DB1258543EDAD415CD45EA204BF_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tA8EFB0CCC0233DB1258543EDAD415CD45EA204BF_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tA8EFB0CCC0233DB1258543EDAD415CD45EA204BF(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tA8EFB0CCC0233DB1258543EDAD415CD45EA204BF_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tA8EFB0CCC0233DB1258543EDAD415CD45EA204BF_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer,Microsoft.MixedReality.Toolkit.Input.DefaultPrimaryPointerSelector/PointerInfo>
struct KeyCollection_t67E4A7563980161353FDEB985F9C0A3E59D2FDAE_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t67E4A7563980161353FDEB985F9C0A3E59D2FDAE_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t67E4A7563980161353FDEB985F9C0A3E59D2FDAE_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t67E4A7563980161353FDEB985F9C0A3E59D2FDAE_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t67E4A7563980161353FDEB985F9C0A3E59D2FDAE(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t67E4A7563980161353FDEB985F9C0A3E59D2FDAE_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t67E4A7563980161353FDEB985F9C0A3E59D2FDAE_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar,System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.IMixedRealityService>>
struct KeyCollection_tD2C2B76D510C8C369521DADDA1DC6DD3091FAAE1_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tD2C2B76D510C8C369521DADDA1DC6DD3091FAAE1_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tD2C2B76D510C8C369521DADDA1DC6DD3091FAAE1_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tD2C2B76D510C8C369521DADDA1DC6DD3091FAAE1_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tD2C2B76D510C8C369521DADDA1DC6DD3091FAAE1(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tD2C2B76D510C8C369521DADDA1DC6DD3091FAAE1_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tD2C2B76D510C8C369521DADDA1DC6DD3091FAAE1_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar,System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.IMixedRealityService>>
struct KeyCollection_tDA9CF50F21FA6E9F1FAB6C15263EE7DCCEAAB9AD_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tDA9CF50F21FA6E9F1FAB6C15263EE7DCCEAAB9AD_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tDA9CF50F21FA6E9F1FAB6C15263EE7DCCEAAB9AD_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tDA9CF50F21FA6E9F1FAB6C15263EE7DCCEAAB9AD_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tDA9CF50F21FA6E9F1FAB6C15263EE7DCCEAAB9AD(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tDA9CF50F21FA6E9F1FAB6C15263EE7DCCEAAB9AD_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tDA9CF50F21FA6E9F1FAB6C15263EE7DCCEAAB9AD_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.UI.BoundsControl.IProximityEffectObjectProvider,System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.UI.BoundsControl.ProximityEffect/ObjectProximityInfo>>
struct KeyCollection_tA98DA0EED72BF3C97C33FCD0D0916BDB5858288D_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tA98DA0EED72BF3C97C33FCD0D0916BDB5858288D_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tA98DA0EED72BF3C97C33FCD0D0916BDB5858288D_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tA98DA0EED72BF3C97C33FCD0D0916BDB5858288D_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tA98DA0EED72BF3C97C33FCD0D0916BDB5858288D(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tA98DA0EED72BF3C97C33FCD0D0916BDB5858288D_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tA98DA0EED72BF3C97C33FCD0D0916BDB5858288D_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<Microsoft.MixedReality.Toolkit.UI.BoundsControl.IProximityEffectObjectProvider,System.Collections.Generic.List`1<Microsoft.MixedReality.Toolkit.UI.BoundsControl.ProximityEffect/ObjectProximityInfo>>
struct KeyCollection_tB5BFF145846563795FBB87740201E0D45A7E8890_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tB5BFF145846563795FBB87740201E0D45A7E8890_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tB5BFF145846563795FBB87740201E0D45A7E8890_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tB5BFF145846563795FBB87740201E0D45A7E8890_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tB5BFF145846563795FBB87740201E0D45A7E8890(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tB5BFF145846563795FBB87740201E0D45A7E8890_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tB5BFF145846563795FBB87740201E0D45A7E8890_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.XR.InputDevice,Microsoft.MixedReality.Toolkit.XRSDK.Input.GenericXRSDKController>
struct KeyCollection_tA878E0C7F1FAF030CD94D532B83181F352AD648F_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tA<KEY>_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tA878E0C7F1FAF030CD94D532B83181F352AD648F_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tA878E0C7F1FAF030CD94D532B83181F352AD648F_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tA878E0C7F1FAF030CD94D532B83181F352AD648F(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tA878E0C7F1FAF030CD94D532B83181F352AD648F_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tA878E0C7F1FAF030CD94D532B83181F352AD648F_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<UnityEngine.XR.InputDevice,Microsoft.MixedReality.Toolkit.XRSDK.Input.GenericXRSDKController>
struct KeyCollection_t007B704979513B860A0DF17BF31192D8E611A18B_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t007B704979513B860A0DF17BF31192D8E611A18B_ComCallableWrapper>, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t007B704979513B860A0DF17BF31192D8E611A18B_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t007B704979513B860A0DF17BF31192D8E611A18B_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(1);
interfaceIds[0] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 1;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t007B704979513B860A0DF17BF31192D8E611A18B(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t007B704979513B860A0DF17BF31192D8E611A18B_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t007B704979513B860A0DF17BF31192D8E611A18B_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding/KeyType,System.Int32>>
struct KeyCollection_tFB3B983744FE3A5FD539DE747C39618143C717AC_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tFB3B983744FE3A5FD539DE747C39618143C717AC_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tFB3B983744FE3A5FD539DE747C39618143C717AC_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tFB3B983744FE3A5FD539DE747C39618143C717AC_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tFB3B983744FE3A5FD539DE747C39618143C717AC(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tFB3B983744FE3A5FD539DE747C39618143C717AC_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tFB3B983744FE3A5FD539DE747C39618143C717AC_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,System.Tuple`2<Microsoft.MixedReality.Toolkit.Input.KeyBinding/KeyType,System.Int32>>
struct KeyCollection_t626A2A3A21768CDA49675520CA587E446FE2E982_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t626A2A3A21768CDA49675520CA587E446FE2E982_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t626A2A3A21768CDA49675520CA587E446FE2E982_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t626A2A3A21768CDA49675520CA587E446FE2E982_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t626A2A3A21768CDA49675520CA587E446FE2E982(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t626A2A3A21768CDA49675520CA587E446FE2E982_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t626A2A3A21768CDA49675520CA587E446FE2E982_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Boolean>
struct KeyCollection_t1A4234C2733AA679CBD9BA87755956535D81647E_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t1A4234C2733AA679CBD9BA87755956535D81647E_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t1A4234C2733AA679CBD9BA87755956535D81647E_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t1A4234C2733AA679CBD9BA87755956535D81647E_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t1A4234C2733AA679CBD9BA87755956535D81647E(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t1A4234C2733AA679CBD9BA87755956535D81647E_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t1A4234C2733AA679CBD9BA87755956535D81647E_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,System.Boolean>
struct KeyCollection_tC152F08EF8CC08ADE84F34B3E1A3B65E6334851E_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tC152F08EF8CC08ADE84F34B3E1A3B65E6334851E_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tC152F08EF8CC08ADE84F34B3E1A3B65E6334851E_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tC152F08EF8CC08ADE84F34B3E1A3B65E6334851E_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tC152F08EF8CC08ADE84F34B3E1A3B65E6334851E(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tC152F08EF8CC08ADE84F34B3E1A3B65E6334851E_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tC152F08EF8CC08ADE84F34B3E1A3B65E6334851E_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Char>
struct KeyCollection_tB6DA7BD3F3255AFC2FAD2CA9A291FBA43E5CD4B1_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tB6DA7BD3F3255AFC2FAD2CA9A291FBA43E5CD4B1_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tB6DA7BD3F3255AFC2FAD2CA9A291FBA43E5CD4B1_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tB6DA7BD3F3255AFC2FAD2CA9A291FBA43E5CD4B1_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tB6DA7BD3F3255AFC2FAD2CA9A291FBA43E5CD4B1(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tB6DA7BD3F3255AFC2FAD2CA9A291FBA43E5CD4B1_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tB6DA7BD3F3255AFC2FAD2CA9A291FBA43E5CD4B1_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,System.Char>
struct KeyCollection_t0ECA6CB1949FA275ECDB3D8F05460076C20C785A_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t0ECA6CB1949FA275ECDB3D8F05460076C20C785A_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t0ECA6CB1949FA275ECDB3D8F05460076C20C785A_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t0ECA6CB1949FA275ECDB3D8F05460076C20C785A_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t0ECA6CB1949FA275ECDB3D8F05460076C20C785A(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t0ECA6CB1949FA275ECDB3D8F05460076C20C785A_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t0ECA6CB1949FA275ECDB3D8F05460076C20C785A_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Globalization.CultureInfo>
struct KeyCollection_tCF581C6F9BA00F467A3E8CB21DE2D310B5FD3CA9_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tCF581C6F9BA00F467A3E8CB21DE2D310B5FD3CA9_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tCF581C6F9BA00F467A3E8CB21DE2D310B5FD3CA9_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tCF581C6F9BA00F467A3E8CB21DE2D310B5FD3CA9_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tCF581C6F9BA00F467A3E8CB21DE2D310B5FD3CA9(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tCF581C6F9BA00F467A3E8CB21DE2D310B5FD3CA9_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tCF581C6F9BA00F467A3E8CB21DE2D310B5FD3CA9_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,System.Globalization.CultureInfo>
struct KeyCollection_t1120F859B0671105D509AC98AAB21F7CFC2049D4_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t1120F859B0671105D509AC98AAB21F7CFC2049D4_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t1120F859B0671105D509AC98AAB21F7CFC2049D4_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t1120F859B0671105D509AC98AAB21F7CFC2049D4_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t1120F859B0671105D509AC98AAB21F7CFC2049D4(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t1120F859B0671105D509AC98AAB21F7CFC2049D4_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t1120F859B0671105D509AC98AAB21F7CFC2049D4_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,UnityEngine.InputSystem.InputDevice>
struct KeyCollection_t5BE70A16AB71FB272DCD7E1DA7B387098D2B0120_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t5BE70A16AB71FB272DCD7E1DA7B387098D2B0120_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t5BE70A16AB71FB272DCD7E1DA7B387098D2B0120_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t5BE70A16AB71FB272DCD7E1DA7B387098D2B0120_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t5BE70A16AB71FB272DCD7E1DA7B387098D2B0120(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t5BE70A16AB71FB272DCD7E1DA7B387098D2B0120_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t5BE70A16AB71FB272DCD7E1DA7B387098D2B0120_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,UnityEngine.InputSystem.InputDevice>
struct KeyCollection_tF90CC73519167E400F056395F3C56187B4FFBD05_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tF90CC73519167E400F056395F3C56187B4FFBD05_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tF90CC73519167E400F056395F3C56187B4FFBD05_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tF90CC73519167E400F056395F3C56187B4FFBD05_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tF90CC73519167E400F056395F3C56187B4FFBD05(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tF90CC73519167E400F056395F3C56187B4FFBD05_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tF90CC73519167E400F056395F3C56187B4FFBD05_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Int32>
struct KeyCollection_tDB6919EBDF36E83E708A483A6C4CF8065F62D1E0_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tDB6919EBDF36E83E708A483A6C4CF8065F62D1E0_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tDB6919EBDF36E83E708A483A6C4CF8065F62D1E0_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tDB6919EBDF36E83E708A483A6C4CF8065F62D1E0_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tDB6919EBDF36E83E708A483A6C4CF8065F62D1E0(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tDB6919EBDF36E83E708A483A6C4CF8065F62D1E0_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tDB6919EBDF36E83E708A483A6C4CF8065F62D1E0_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,System.Int32>
struct KeyCollection_tEB01E49AAD44CFB3D07C82E1566073576FAB2A80_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_tEB01E49AAD44CFB3D07C82E1566073576FAB2A80_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_tEB01E49AAD44CFB3D07C82E1566073576FAB2A80_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_tEB01E49AAD44CFB3D07C82E1566073576FAB2A80_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_tEB01E49AAD44CFB3D07C82E1566073576FAB2A80(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_tEB01E49AAD44CFB3D07C82E1566073576FAB2A80_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_tEB01E49AAD44CFB3D07C82E1566073576FAB2A80_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Int64>
struct KeyCollection_t6C75FA39C169AFB913CD046927B28E95AA96C54A_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t6C75FA39C169AFB913CD046927B28E95AA96C54A_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t6C75FA39C169AFB913CD046927B28E95AA96C54A_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t6C75FA39C169AFB913CD046927B28E95AA96C54A_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t6C75FA39C169AFB913CD046927B28E95AA96C54A(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t6C75FA39C169AFB913CD046927B28E95AA96C54A_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t6C75FA39C169AFB913CD046927B28E95AA96C54A_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,System.Int64>
struct KeyCollection_t1EE17E2E96FCA88DA7F88AD27E77B687940AC6F0_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t1EE17E2E96FCA88DA7F88AD27E77B687940AC6F0_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t1EE17E2E96FCA88DA7F88AD27E77B687940AC6F0_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t1EE17E2E96FCA88DA7F88AD27E77B687940AC6F0_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t1EE17E2E96FCA88DA7F88AD27E77B687940AC6F0(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t1EE17E2E96FCA88DA7F88AD27E77B687940AC6F0_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t1EE17E2E96FCA88DA7F88AD27E77B687940AC6F0_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,UnityEngine.Material>
struct KeyCollection_t193AE2D2720028E6C67183D0B8776FC0C389765D_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t193AE2D2720028E6C67183D0B8776FC0C389765D_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t193AE2D2720028E6C67183D0B8776FC0C389765D_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t193AE2D2720028E6C67183D0B8776FC0C389765D_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t193AE2D2720028E6C67183D0B8776FC0C389765D(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t193AE2D2720028E6C67183D0B8776FC0C389765D_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t193AE2D2720028E6C67183D0B8776FC0C389765D_ComCallableWrapper(obj));
}
// COM Callable Wrapper for System.Collections.ObjectModel.ReadOnlyDictionary`2/KeyCollection<System.Int32,UnityEngine.Material>
struct KeyCollection_t3CE094E958DC2A4E1855D6EAC1A8BACE08E4FE5D_ComCallableWrapper IL2CPP_FINAL : il2cpp::vm::CachedCCWBase<KeyCollection_t3CE094E958DC2A4E1855D6EAC1A8BACE08E4FE5D_ComCallableWrapper>, IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050, IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8
{
inline KeyCollection_t3CE094E958DC2A4E1855D6EAC1A8BACE08E4FE5D_ComCallableWrapper(RuntimeObject* obj) : il2cpp::vm::CachedCCWBase<KeyCollection_t3CE094E958DC2A4E1855D6EAC1A8BACE08E4FE5D_ComCallableWrapper>(obj) {}
virtual il2cpp_hresult_t STDCALL QueryInterface(const Il2CppGuid& iid, void** object) IL2CPP_OVERRIDE
{
if (::memcmp(&iid, &Il2CppIUnknown::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIInspectable::IID, sizeof(Il2CppGuid)) == 0
|| ::memcmp(&iid, &Il2CppIAgileObject::IID, sizeof(Il2CppGuid)) == 0)
{
*object = GetIdentity();
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIManagedObjectHolder::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIManagedObjectHolder*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIMarshal::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIMarshal*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
if (::memcmp(&iid, &Il2CppIWeakReferenceSource::IID, sizeof(Il2CppGuid)) == 0)
{
*object = static_cast<Il2CppIWeakReferenceSource*>(this);
AddRefImpl();
return IL2CPP_S_OK;
}
*object = NULL;
return IL2CPP_E_NOINTERFACE;
}
virtual uint32_t STDCALL AddRef() IL2CPP_OVERRIDE
{
return AddRefImpl();
}
virtual uint32_t STDCALL Release() IL2CPP_OVERRIDE
{
return ReleaseImpl();
}
virtual il2cpp_hresult_t STDCALL GetIids(uint32_t* iidCount, Il2CppGuid** iids) IL2CPP_OVERRIDE
{
Il2CppGuid* interfaceIds = il2cpp_codegen_marshal_allocate_array<Il2CppGuid>(2);
interfaceIds[0] = IIterable_1_t3FD1FB01310262788B2A8868AA7395E023511050::IID;
interfaceIds[1] = IBindableIterable_tF6BD0C070562CD9C91E3C1B1A5F4667E9C3C74A8::IID;
*iidCount = 2;
*iids = interfaceIds;
return IL2CPP_S_OK;
}
virtual il2cpp_hresult_t STDCALL GetRuntimeClassName(Il2CppHString* className) IL2CPP_OVERRIDE
{
return GetRuntimeClassNameImpl(className);
}
virtual il2cpp_hresult_t STDCALL GetTrustLevel(int32_t* trustLevel) IL2CPP_OVERRIDE
{
return ComObjectBase::GetTrustLevel(trustLevel);
}
virtual il2cpp_hresult_t STDCALL IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5(IIterator_1_tFF647CAD19D34FD0606CDD3425C431F82B94589C** comReturnValue) IL2CPP_OVERRIDE
{
return IIterable_1_First_mC1E90957AD904E68CE3F84D1EF22D5EFACE8C2D5_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
virtual il2cpp_hresult_t STDCALL IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7(IBindableIterator_tD7550F1144CFBE58090050457A2BE92B1CAEABBB** comReturnValue) IL2CPP_OVERRIDE
{
return IBindableIterable_First_m91EC6ED0173145266318FDB7F9074798CD766BD7_ComCallableWrapperProjectedMethod(GetManagedObjectInline(), comReturnValue);
}
};
IL2CPP_EXTERN_C Il2CppIUnknown* CreateComCallableWrapperFor_KeyCollection_t3CE094E958DC2A4E1855D6EAC1A8BACE08E4FE5D(RuntimeObject* obj)
{
void* memory = il2cpp::utils::Memory::Malloc(sizeof(KeyCollection_t3CE094E958DC2A4E1855D6EAC1A8BACE08E4FE5D_ComCallableWrapper));
if (memory == NULL)
{
il2cpp_codegen_raise_out_of_memory_exception();
}
return static_cast<Il2CppIManagedObjectHolder*>(new(memory) KeyCollection_t3CE094E958DC2A4E1855D6EAC1A8BACE08E4FE5D_ComCallableWrapper(obj));
}
|
sxweetlollipop2912/MaCode | .LHP/.Lop12/.HSG/.T.Van/DT1/SOTRON/sotron.cpp | <gh_stars>0
#include <iostream>
#include <algorithm>
#include <cstdio>
#include <string>
typedef long long maxa;
maxa x;
std::string res;
void Prepare() {
std::cin >> x;
}
void Process() {
--x;
if (x == 0) res = "0";
for(; x != 0; x >>= 1) {
if (x & 1) res += "5";
else res += "0";
}
for(maxa i = res.size() - 1; i >= 0; i--) std::cout << res[i];
}
int main() {
freopen("sotron.inp", "r", stdin);
freopen("sotron.out", "w", stdout);
std::ios_base::sync_with_stdio(0);
std::cin.tie(0);
Prepare();
Process();
}
|
politbuero-kampagnen/onegov-cloud | src/onegov/org/elements.py | """ Contains small helper classes used as abstraction for various templating
macros.
"""
from random import choice
from lxml.html import builder, tostring
from onegov.core.elements import Element
from onegov.org import _
from purl import URL
class AccessMixin(object):
@property
def access(self):
""" Wraps access to the model's access property, ensuring it always
works, even if the model does not use it.
"""
if hasattr(self, 'model'):
return getattr(self.model, 'access', 'public')
return 'public'
class Link(AccessMixin):
""" Represents a link rendered in a template. """
__slots__ = [
'active',
'attributes',
'classes',
'model',
'request_method',
'subtitle',
'text',
'url',
]
def __init__(self, text, url, classes=None, request_method='GET',
attributes={}, active=False, model=None, subtitle=None):
#: The text of the link
self.text = text
#: The fully qualified url of the link
self.url = url
#: Classes included in the link
self.classes = classes
#: The link method, defaults to 'GET'. Also supported is 'DELETE',
#: which will lead to the use of XHR
self.request_method = request_method
#: HTML attributes (may override other attributes set by this class).
#: Attributes which are translatable, are transalted before rendering.
self.attributes = attributes
#: Indicate if this link is active or not (not used for rendering)
self.active = active
#: The model that underlies this link (to check if the link is visible)
self.model = model
#: Shown as a subtitle below certain links (not automatically rendered)
self.subtitle = subtitle
def __eq__(self, other):
for attr in self.__slots__:
if getattr(self, attr) != getattr(other, attr):
return False
return True
def __call__(self, request, extra_classes=None):
""" Renders the element. """
# compatibility shim for new elements
if hasattr(request, 'request'):
request = request.request
a = builder.A(request.translate(self.text))
if self.request_method == 'GET':
a.attrib['href'] = self.url
if self.request_method == 'POST':
a.attrib['ic-post-to'] = self.url
if self.request_method == 'DELETE':
url = URL(self.url).query_param(
'csrf-token', request.new_csrf_token())
a.attrib['ic-delete-from'] = url.as_string()
if self.classes or extra_classes:
classes = self.classes + (extra_classes or tuple())
a.attrib['class'] = ' '.join(classes)
# add the access hint if needed
if self.access == 'private':
# This snippet is duplicated in the access-hint macro!
hint = builder.I()
hint.attrib['class'] = 'private-hint'
hint.attrib['title'] = request.translate(_("This site is private"))
a.append(builder.I(' '))
a.append(hint)
elif self.access == 'secret':
# This snippet is duplicated in the access-hint macro!
hint = builder.I()
hint.attrib['class'] = 'secret-hint'
hint.attrib['title'] = request.translate(_("This site is secret"))
a.append(builder.I(' '))
a.append(hint)
for key, value in self.attributes.items():
a.attrib[key] = request.translate(value)
return tostring(a)
class QrCodeLink(Element, AccessMixin):
""" Implements a the qr code link that shows a modal with the QrCode.
Thu url is sent to the qr endpoint url which generates the image
and sends it back.
"""
id = 'qr_code_link'
__slots__ = [
'active',
'attributes',
'classes',
'text',
'url',
'title'
]
def __init__(self, text, url, title=None, attrs=None, traits=(), **props):
attrs = attrs or {}
attrs['href'] = '#'
attrs['data-payload'] = url
attrs['data-reveal-id'] = ''.join(
choice('abcdefghi') for i in range(8))
# Foundation 6 Compatibility
attrs['data-open'] = attrs['data-reveal-id']
attrs['data-image-parent'] = f"qr-{attrs['data-reveal-id']}"
super().__init__(text, attrs, traits, **props)
self.title = title
class DeleteLink(Link):
def __init__(self, text, url, confirm,
yes_button_text=None,
no_button_text=None,
extra_information=None,
redirect_after=None,
request_method='DELETE',
classes=('confirm', 'delete-link'),
target=None):
attr = {
'data-confirm': confirm
}
if extra_information:
attr['data-confirm-extra'] = extra_information
if yes_button_text:
attr['data-confirm-yes'] = yes_button_text
if no_button_text:
attr['data-confirm-no'] = no_button_text
else:
attr['data-confirm-no'] = _("Cancel")
if redirect_after:
attr['redirect-after'] = redirect_after
if target:
attr['ic-target'] = target
if request_method == 'GET':
attr['ic-get-from'] = url
url = '#'
elif request_method == 'POST':
attr['ic-post-to'] = url
url = '#'
elif request_method == 'DELETE':
pass
else:
raise NotImplementedError
super().__init__(
text=text,
url=url,
classes=classes,
request_method=request_method,
attributes=attr
)
class ConfirmLink(DeleteLink):
# XXX this is some wonky class hierarchy with tons of paramters.
# We can do better!
def __init__(self, text, url, confirm,
yes_button_text=None,
no_button_text=None,
extra_information=None,
redirect_after=None,
request_method='POST',
classes=('confirm', )):
super().__init__(
text, url, confirm, yes_button_text, no_button_text,
extra_information, redirect_after, request_method, classes)
class LinkGroup(AccessMixin):
""" Represents a list of links. """
__slots__ = [
'title',
'links',
'model',
'right_side',
'classes',
'attributes'
]
def __init__(self, title, links,
model=None, right_side=True, classes=None, attributes=None):
self.title = title
self.links = links
self.model = model
self.right_side = right_side
self.classes = classes
self.attributes = attributes
|
abueide/mage | Mage.Sets/src/mage/cards/c/Cromat.java | <filename>Mage.Sets/src/mage/cards/c/Cromat.java
package mage.cards.c;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DestroyTargetEffect;
import mage.abilities.effects.common.PutOnLibrarySourceEffect;
import mage.abilities.effects.common.RegenerateSourceEffect;
import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.filter.FilterPermanent;
import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.permanent.BlockingOrBlockedBySourcePredicate;
import mage.target.TargetPermanent;
import java.util.UUID;
/**
* @author LevelX2
*/
public final class Cromat extends CardImpl {
private static final FilterPermanent filter
= new FilterCreaturePermanent("creature blocking or blocked by {this}");
static {
filter.add(BlockingOrBlockedBySourcePredicate.EITHER);
}
public Cromat(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{W}{U}{B}{R}{G}");
addSuperType(SuperType.LEGENDARY);
this.subtype.add(SubType.ILLUSION);
this.power = new MageInt(5);
this.toughness = new MageInt(5);
// {W}{B}: Destroy target creature blocking or blocked by Cromat.
Ability ability = new SimpleActivatedAbility(
new DestroyTargetEffect(), new ManaCostsImpl<>("{W}{B}")
);
ability.addTarget(new TargetPermanent(filter));
this.addAbility(ability);
// {U}{R}: Cromat gains flying until end of turn.
this.addAbility(new SimpleActivatedAbility(new GainAbilitySourceEffect(
FlyingAbility.getInstance(), Duration.EndOfTurn
), new ManaCostsImpl<>("{U}{R}")));
// {B}{G}: Regenerate Cromat.
this.addAbility(new SimpleActivatedAbility(
new RegenerateSourceEffect(), new ManaCostsImpl<>("{B}{G}")
));
// {R}{W}: Cromat gets +1/+1 until end of turn.
this.addAbility(new SimpleActivatedAbility(new BoostSourceEffect(
1, 1, Duration.EndOfTurn
), new ManaCostsImpl<>("{R}{W}")));
// {G}{U}: Put Cromat on top of its owner's library.
this.addAbility(new SimpleActivatedAbility(
new PutOnLibrarySourceEffect(true), new ManaCostsImpl<>("{G}{U}")
));
}
private Cromat(final Cromat card) {
super(card);
}
@Override
public Cromat copy() {
return new Cromat(this);
}
}
|
madmax-inc/intellij-dlanguage | gen/io/github/intellij/dlanguage/psi/DLanguageFinalSwitchStatement.java | <filename>gen/io/github/intellij/dlanguage/psi/DLanguageFinalSwitchStatement.java
package io.github.intellij.dlanguage.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.Nullable;
public interface DLanguageFinalSwitchStatement extends PsiElement {
@Nullable
public PsiElement getKW_FINAL();
@Nullable
public DLanguageSwitchStatement getSwitchStatement();
}
|
limfriend/aliyun-openapi-java-sdk | aliyun-java-sdk-foas/src/main/java/com/aliyuncs/foas/model/v20181111/CreatePackageRequest.java | /*
* 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.
*/
package com.aliyuncs.foas.model.v20181111;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.foas.Endpoint;
/**
* @author auto create
* @version
*/
public class CreatePackageRequest extends RoaAcsRequest<CreatePackageResponse> {
public CreatePackageRequest() {
super("foas", "2018-11-11", "CreatePackage");
setProtocol(ProtocolType.HTTPS);
setUriPattern("/api/v2/projects/[projectName]/packages");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
private String projectName;
private String ossBucket;
private String ossOwner;
private String packageName;
private String ossEndpoint;
private String description;
private String tag;
private String originName;
private String type;
private String ossPath;
private String md5;
public String getProjectName() {
return this.projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
if(projectName != null){
putPathParameter("projectName", projectName);
}
}
public String getOssBucket() {
return this.ossBucket;
}
public void setOssBucket(String ossBucket) {
this.ossBucket = ossBucket;
if(ossBucket != null){
putBodyParameter("ossBucket", ossBucket);
}
}
public String getOssOwner() {
return this.ossOwner;
}
public void setOssOwner(String ossOwner) {
this.ossOwner = ossOwner;
if(ossOwner != null){
putBodyParameter("ossOwner", ossOwner);
}
}
public String getPackageName() {
return this.packageName;
}
public void setPackageName(String packageName) {
this.packageName = packageName;
if(packageName != null){
putBodyParameter("packageName", packageName);
}
}
public String getOssEndpoint() {
return this.ossEndpoint;
}
public void setOssEndpoint(String ossEndpoint) {
this.ossEndpoint = ossEndpoint;
if(ossEndpoint != null){
putBodyParameter("ossEndpoint", ossEndpoint);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putBodyParameter("description", description);
}
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
if(tag != null){
putBodyParameter("tag", tag);
}
}
public String getOriginName() {
return this.originName;
}
public void setOriginName(String originName) {
this.originName = originName;
if(originName != null){
putBodyParameter("originName", originName);
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putBodyParameter("type", type);
}
}
public String getOssPath() {
return this.ossPath;
}
public void setOssPath(String ossPath) {
this.ossPath = ossPath;
if(ossPath != null){
putBodyParameter("ossPath", ossPath);
}
}
public String getMd5() {
return this.md5;
}
public void setMd5(String md5) {
this.md5 = md5;
if(md5 != null){
putBodyParameter("md5", md5);
}
}
@Override
public Class<CreatePackageResponse> getResponseClass() {
return CreatePackageResponse.class;
}
}
|
seraekim/srkim-lang-scala | src/main/java/chapter24/c24_i05.scala | package chapter24
/**
* 24.5 시퀀스 트레이트: Seq, IndexedSeq, LinearSeq
*
* Seq 트레이트는 시퀀스를 표현한다. 시퀀스는 길이가 정해져 있고, 각 원소의 위치를 0부터 시작하는
* 정해진 인덱스로 지정할 수 있는 일종의 Iterable이다.
*
* - 인덱스와 길이 연산: apply, isDefinedAt, length, indices, lengthCompare.
* Seq의 경우 apply는 인덱스로 원소를 찾는 것을 의미한다. Seq[T] 타입 시퀀스는 Int를 받아서
* T 타입의 원소를 돌려주는 부분 함수다. 즉, Seq[T]는 PartialFunction[Int, T]를 확장한다.
* 시퀀스에 있는, length 메소드는 일반적인 컬렉션에 있는 size 메소드에 대한 별칭이다. lengthCompare
* 메소드를 사용하면 어느 한쪽의 길이가 무한하더라도 두 시퀀스의 길이를 비교할 수 있다.
*
* - 인덱스 찾기 연산: indexOf, lastIndexOf, indexOfSlice, lastIndexOfSlice,
* indexWhere, lastIndexWhere, segmentLength, prefixLength. 주어진 값과 같거나
* 어떤 술어(조건 함수)를 만족하는 원소의 인덱스를 반환한다.
*
* - 추가 연산: +:, :+, padTo. 시퀀스의 맨 앞이나 뒤에 원소를 추가한 새 시퀀스를 반환 한다.
* - 변경 연산: updated, patch. 원래의 시퀀스 일부 원소를 바꿔서 나오는 새로운 시퀀스를 반환
* - 정렬 연산: sorted, sortWith, sortBy는 시퀀스 원소들을 여러 기준에 따라 정렬한다.
* - 반전 연산: reverse, reverseIterator, reverseMap. 시퀀스의 원소를 역순, 즉 마지막에서
* 맨 앞쪽으로 처리하거나 역순으로 토해낸다.
* - 비교 연산: startsWith, endsWith, contains, corresponds, containsSlice.
* 두 시퀀스 간의 관계를 판단하거나, 시퀀스에서 원소를 찾는다.
* - 중복 집합 연산: intersect, diff, union, distinct. 두 시퀀스에 대해 집합과 비슷한 연산을
* 수행하거나, 중복을 제거한다.
*
* 어떤 시퀀스가 변경 가능하다면, 추가로 부수 효과를 통해 시퀀스의 원소를 변경할 수 있는 update 메소드를 제공한다.
* 3장에서 이미 말했듯 seq(idx) = elem 은 seq.update(idx, elem)을 짧게 쓴 것일 뿐이다.
* update와 updated를 구분해야 한다. update는 그 자리에서 변경하고, 변경 가능한 시퀀스에서만 쓰인다.
* updated는 모든 시퀀스에서 사용 가능하며, 원래의 시퀀스를 변경하지 않고, 새로운 시퀀스를 반환한다.
*
* 각 Seq 트레이트에는 두 가지 하위 트레이트 LinearSeq와 IndexedSeq가 있다. 이들은 새로운 연산을
* 추가하지는 않지만,성능 특성이 다르다. 선형 시퀀스는 더 효율적인 head, tail 연산을 제공하지만
* 인덱스 시퀀스는 효율적인 apply, length, (변경가능인 경우) update 연산을 제공한다. List나
* Stream은 가장 많이 쓰이는 선형 시퀀스다. 많이 쓰이는 인덱스 시컨스는 Array와 ArrayBuffer이다.
* Vector 클래스는 선형 접근과 인덱스 접근 사이에 흥미로운 절충점을 제공한다. 따라서, 인덱스와 선형 접근을
* 모두 사용해야 하는 혼합 접근 패턴의 경우 벡터가 좋은 기반 클래스가 될 수 있다.
*
* 1. 버퍼
*
* 변경 가능한 시퀀스의 중요한 하위 범주로 버퍼가 있다.
* 맨 뒤에 추가 : +=, ++=
* 맨 앞에 추가 : +=:, ++=:, insert, insertAll
* 원소제거 : -=, remove
*
* 가장 많이 사용하는 버퍼구현은 ListBuffer, ArrayBuffer가 있다.
*/
object c24_i05 {
} |
stefanrer/commonbsecret | annotators/CoBotQA/server.py | <gh_stars>0
#!/usr/bin/env python
import logging
import os
import re
import string
from time import time
import en_core_web_sm
import inflect
import numpy as np
from nltk.tokenize import sent_tokenize, word_tokenize
from nltk.stem import WordNetLemmatizer
from concurrent.futures import ThreadPoolExecutor
from flask import Flask, request, jsonify
from os import getenv
import sentry_sdk
from cobotqa_service import send_cobotqa, TRAVEL_FACTS, FOOD_FACTS, ANIMALS_FACTS
from common.travel import TOO_SIMPLE_TRAVEL_FACTS
from common.utils import get_entities, COBOTQA_EXTRA_WORDS
sentry_sdk.init(getenv("SENTRY_DSN"))
logging.basicConfig(format="%(asctime)s - %(name)s - %(levelname)s - %(message)s", level=logging.INFO)
logger = logging.getLogger(__name__)
app = Flask(__name__)
nlp = en_core_web_sm.load()
inflect_engine = inflect.engine()
N_FACTS_TO_CHOSE = 1
ASK_QUESTION_PROB = 0.5
ASYNC_SIZE = int(os.environ.get("ASYNC_SIZE", 6))
COBOT_API_KEY = os.environ.get("COBOT_API_KEY")
COBOT_QA_SERVICE_URL = os.environ.get("COBOT_QA_SERVICE_URL")
if COBOT_API_KEY is None:
raise RuntimeError("COBOT_API_KEY environment variable is not set")
if COBOT_QA_SERVICE_URL is None:
raise RuntimeError("COBOT_QA_SERVICE_URL environment variable is not set")
headers = {"Content-Type": "application/json;charset=utf-8", "x-api-key": f"{COBOT_API_KEY}"}
with open("./google-english-no-swears.txt", "r") as f:
UNIGRAMS = set(f.read().splitlines())
with open("./common_user_phrases.txt", "r") as f:
COMMON_USER_PHRASES = set(f.read().splitlines())
def remove_punct_and_articles(s, lowecase=True):
articles = ["a", "an", "the"]
if lowecase:
s = s.lower()
no_punct = "".join([c for c in s if c not in string.punctuation])
no_articles = " ".join([w for w in word_tokenize(no_punct) if w.lower() not in articles])
return no_articles
lemmatizer = WordNetLemmatizer()
def get_common_words(a: str, b: str, lemmatize: bool = True) -> set:
"""Returns set of common words (lemmatized) in strings a and b
Args:
a (str): string a
b (str): string b
lemmatize (bool, optional): Lemmatize each word. Defaults to True.
Returns:
set: common words in strings a and b
"""
tokens_a = set(word_tokenize(remove_punct_and_articles(a).lower()))
tokens_b = set(word_tokenize(remove_punct_and_articles(b).lower()))
if lemmatize:
tokens_a = {lemmatizer.lemmatize(t) for t in tokens_a}
tokens_b = {lemmatizer.lemmatize(t) for t in tokens_b}
return tokens_a & tokens_b
def lemmatize_substr(text):
lemm_text = ""
if text:
pr_text = nlp(text)
processed_tokens = []
for token in pr_text:
if token.tag_ in ["NNS", "NNP"] and inflect_engine.singular_noun(token.text):
processed_tokens.append(inflect_engine.singular_noun(token.text))
else:
processed_tokens.append(token.text)
lemm_text = " ".join(processed_tokens)
return lemm_text
bad_answers = [
"You can now put your wizarding world knowledge to the test with the official Harry Potter "
'quiz. Just say: "Play the H<NAME> Quiz."',
"I can provide information, music, news, weather, and more.",
'For the latest in politics and other news, try asking "Alexa, play my Flash Briefing."',
"I don't have an opinion on that.",
"[GetMusicDetailsIntent:Music]",
"Thank you!",
"Thanks!",
"That's really nice, thanks.",
"That's nice of you to say.",
"<NAME>, <NAME>, <NAME>, <NAME>, <NAME>" " and others.",
"I didn't catch that. Please say that again.",
"Okay.",
]
bad_subanswers = [
"let's talk about",
"i have lots of",
"world of warcraft",
" wow ",
" ok is",
"coolness is ",
"about nice",
'"let\'s talk" is a 2002 drama',
"visit amazon.com/",
"alexa, play my flash briefing.",
"amazon alexa",
"past tense",
"plural form",
"singular form",
"present tense",
"future tense",
"bob cut",
"movie theater",
"alexa app",
"more news",
"be here when you need me",
"the weeknd",
"faktas",
"fact about amazing",
"also called movie or motion picture",
"known as eugen warming",
"select a chat program that fits your needs",
"is usually defined as a humorous anecdote or remark intended to provoke laughter",
"joke is a display of humour in which words are used within a specific",
"didn't catch that",
"say that again",
"try again",
"really nice to meet you too",
"like to learn about how I can help",
"sorry",
"i don't under",
"ask me whatever you like",
"i don’t know that",
"initialism for laughing out loud",
"gamelistintent",
"listintent",
"try asking",
"missed part",
"try saying",
" hey is a ",
"didn't hear that",
"try that again",
]
@app.route("/respond", methods=["POST"])
def respond():
st_time = time()
dialogs = request.json["dialogs"]
responses = []
questions = []
dialog_ids = []
subjects = []
for i, dialog in enumerate(dialogs):
curr_uttr = dialog["human_utterances"][-1]
curr_uttr_rewritten = curr_uttr["annotations"]["sentrewrite"]["modified_sents"][-1]
curr_uttr_clean = remove_punct_and_articles(curr_uttr_rewritten)
if curr_uttr_clean in COMMON_USER_PHRASES:
# do not add any fact about ... and
# replace human utterance by special string
# cobotqa will respond with ''
questions.append(f"[common_phrase_replaced: {curr_uttr_clean}]")
dialog_ids += [i]
subjects.append(None)
continue
# fix to question what is fact, cobotqa gives random fact on such question
what_is_fact = "what is fact"
if remove_punct_and_articles(curr_uttr_rewritten)[-len(what_is_fact) :] == what_is_fact:
curr_uttr_rewritten = "definition of fact"
questions.append(curr_uttr_rewritten)
dialog_ids += [i]
subjects.append(None) # to separate facts about entities from normal responses by Cobotqa
facts_questions = []
facts_dialog_ids = []
fact_entities = []
entities = []
for _ in range(N_FACTS_TO_CHOSE):
for ent in get_entities(curr_uttr, only_named=True, with_labels=True):
if ent["text"].lower() not in UNIGRAMS and not (
ent["text"].lower() == "alexa" and curr_uttr["text"].lower()[:5] == "alexa"
):
entities.append(ent["text"].lower())
facts_questions.append("Fact about {}".format(ent["text"]))
facts_dialog_ids += [i]
fact_entities.append(ent["text"])
if len(entities) == 0:
for ent in get_entities(curr_uttr, only_named=False, with_labels=False):
if ent.lower() not in UNIGRAMS:
if ent in entities + ["I", "i"]:
pass
else:
facts_questions.append("Fact about {}".format(ent))
facts_dialog_ids += [i]
fact_entities.append(ent)
if len(facts_questions) > 6:
ids = np.random.choice(np.arange(len(facts_questions)), size=6)
facts_questions = np.array(facts_questions)[ids].tolist()
facts_dialog_ids = np.array(facts_dialog_ids)[ids].tolist()
fact_entities = np.array(fact_entities)[ids].tolist()
questions.extend(facts_questions)
dialog_ids.extend(facts_dialog_ids)
subjects.extend(fact_entities)
executor = ThreadPoolExecutor(max_workers=ASYNC_SIZE)
responses_for_this_dialog = []
curr_dialog_id = dialog_ids[0]
for i, response in enumerate(executor.map(send_cobotqa, questions)):
if curr_dialog_id != dialog_ids[i]:
curr_dialog_id = dialog_ids[i]
responses_for_this_dialog = []
if response in responses_for_this_dialog:
response = ""
else:
responses_for_this_dialog.append(response)
logger.info("Question: {}".format(questions[i]))
logger.info("Response: {}".format(response))
# fix for cases when fact is about fun, but fun is not in entities
fun_fact_q = "Fun fact about"
if (
fun_fact_q in questions[i]
and " fun" not in questions[i][len(fun_fact_q) :].lower()
and "Fun is defined by the Oxford English Dictionary as" in response
):
response = ""
if len(response) > 0 and "skill://amzn1" not in response:
sentences = sent_tokenize(response.replace(".,", "."))
full_resp = response
response = " ".join(sentences)
if full_resp in bad_answers or any(
[bad_substr.lower() in full_resp.lower() for bad_substr in bad_subanswers]
):
response = ""
else:
response = ""
responses += [response]
dialog_ids = np.array(dialog_ids)
responses = np.array(responses)
questions = np.array(questions)
subjects = np.array(subjects)
final_responses = []
for i, dialog in enumerate(dialogs):
resp_cands = list(responses[dialog_ids == i])
resp_questions = list(questions[dialog_ids == i])
resp_subjects = list(subjects[dialog_ids == i])
curr_resp = {"facts": []}
for resp_cand, resp_subj, question in zip(resp_cands, resp_subjects, resp_questions):
if resp_subj is None:
# resp_cand can be ""
curr_resp["response"] = re.sub(COBOTQA_EXTRA_WORDS, "", resp_cand).strip()
elif resp_cand:
curr_resp["facts"].append({"entity": resp_subj, "fact": resp_cand})
if resp_subj and resp_subj.lower() in TRAVEL_FACTS:
for fact in TRAVEL_FACTS[resp_subj.lower()]:
fact.replace("%", " percent")
fact.replace("ºC", " Celsius")
fact.replace("ºF", " Fahrenheit")
fact.replace("°C", " Celsius")
fact.replace("°F", " Fahrenheit")
is_not_too_simple = not TOO_SIMPLE_TRAVEL_FACTS.search(fact)
if {"entity": resp_subj, "fact": fact} not in curr_resp["facts"] and is_not_too_simple:
curr_resp["facts"].append({"entity": resp_subj, "fact": fact})
if resp_subj and resp_subj.lower() in FOOD_FACTS:
for fact in FOOD_FACTS[resp_subj.lower()]:
if {"entity": resp_subj, "fact": fact} not in curr_resp["facts"]:
curr_resp["facts"].append({"entity": resp_subj, "fact": fact})
if resp_subj:
if resp_subj.lower() in ANIMALS_FACTS:
for fact in ANIMALS_FACTS[resp_subj.lower()]:
if {"entity": resp_subj, "fact": fact} not in curr_resp["facts"]:
curr_resp["facts"].append({"entity": resp_subj, "fact": fact})
lemm_resp_subj = lemmatize_substr(resp_subj.lower())
logger.info(f"cobot_qa, lemm_resp_subj {lemm_resp_subj}")
if lemm_resp_subj in ANIMALS_FACTS:
for fact in ANIMALS_FACTS[lemm_resp_subj]:
if {"entity": lemm_resp_subj, "fact": fact} not in curr_resp["facts"]:
curr_resp["facts"].append({"entity": lemm_resp_subj, "fact": fact})
# store only 5 facts maximum
curr_resp["facts"] = (
list(np.random.choice(curr_resp["facts"], size=5)) if len(curr_resp["facts"]) > 5 else curr_resp["facts"]
)
for curr_resp_item in curr_resp["facts"]:
curr_resp_item["fact"] = re.sub(COBOTQA_EXTRA_WORDS, "", curr_resp_item["fact"]).strip()
final_responses.append(curr_resp)
total_time = time() - st_time
logger.info(f"cobotqa-annotator exec time: {total_time:.3f}s")
return jsonify(final_responses)
if __name__ == "__main__":
app.run(debug=False, host="0.0.0.0", port=3000)
|
HenriqueDerosa/fastfeet-mobile | src/utils/colors.js | <filename>src/utils/colors.js
const colors = {
white: '#FFFFFF',
royalBlue: '#7D40E7',
selago: '#F4EFFC',
whiteLilac: '#F8F9FD',
gallery: '#eee',
lima: '#82BF18',
quickSilver: '#999999',
alto: '#DDDDDD',
tundora: '#444444',
graniteGray: '#666666',
cinnabar: '#E74040',
tulipTree: '#E7BA40',
}
export default colors
|
cleviojr/akane | src/main/java/akane/command/commands/etc/PingCommand.java | <filename>src/main/java/akane/command/commands/etc/PingCommand.java
package akane.command.commands.etc;
import akane.command.core.CommandInterface;
import net.dv8tion.jda.core.EmbedBuilder;
import net.dv8tion.jda.core.events.message.MessageReceivedEvent;
import java.awt.*;
import java.util.concurrent.TimeUnit;
public class PingCommand implements CommandInterface {
@Override
public boolean isSafe(String[] args, MessageReceivedEvent event) {
return true;
}
@Override
public void main(String[] args, MessageReceivedEvent event) {
EmbedBuilder embedBuilder = new EmbedBuilder();
embedBuilder.setColor(Color.magenta).build();
embedBuilder.setTitle("Pong").build();
event.getChannel().sendMessage(embedBuilder.build()).queue();
}
}
|
ro-msg-spring-training/online-shop-ptruta | shop/src/main/java/ro/msg/learning/shop/repository/OrderDetailRepository.java | package ro.msg.learning.shop.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import ro.msg.learning.shop.domain.OrderDetail;
import ro.msg.learning.shop.domain.OrderDetailKey;
public interface OrderDetailRepository extends JpaRepository<OrderDetail, OrderDetailKey> {
}
|
koellingh/empirical-p53-simulator | third-party/Empirical/tests/debug/alert.cpp | #define CATCH_CONFIG_MAIN
#include "third-party/Catch/single_include/catch2/catch.hpp"
#include "emp/debug/alert.hpp"
#include <sstream>
#include <iostream>
TEST_CASE("Test Alert", "[debug]")
{
// basic Alert
emp::Alert("Whoops! Try again.");
// AlertObj
emp::AlertObj an_alert("ALERT!",true,true);
an_alert.SetMessage("ALERT x2!");
an_alert.Trigger();
an_alert.SetMessage("DESTROYED");
an_alert.~AlertObj();
// CappedAlert
emp::CappedAlert(2,"Hello!");
emp::CappedAlert(2,"Hello!");
emp::CappedAlert(2,"Hello!");
emp::CappedAlert(2,"Hello!");
emp::CappedAlert(2,"Hello!");
// Templated Alert
emp::Alert(5," is a good number, but ",7," is even better.");
}
|
htalebiyan/Dec2py | Archive/STAR_model/Archive/run_parallel.py | <reponame>htalebiyan/Dec2py<filename>Archive/STAR_model/Archive/run_parallel.py
"""Runs models in parallel"""
import predict_restoration
def run_parallel(sample):
"""Runs models in parallel"""
mags = range(0, 1)
t_suf = ''
model_dir = 'C:/Users/ht20/Documents/Files/STAR_models/Shelby_final_all_Rc'
fail_sce_param = {"type":"random", "sample":None, "mag":None, 'filtered_List':None,
'Base_dir':"../data/Extended_Shelby_County/",
'Damage_dir':"../data/random_disruption_shelby/"}
pred_dict = {'num_pred':5, 'model_dir':model_dir+'/traces'+t_suf,
'param_folder':model_dir+'/parameters'+t_suf,
'output_dir':'./results'}
params = {"NUM_ITERATIONS":10, "V":5, "ALGORITHM":"INDP", 'L':[1, 2, 3, 4]}
for mag in mags:
fail_sce_param['sample'] = sample
fail_sce_param['mag'] = mag
predict_restoration.predict_resotration(pred_dict, fail_sce_param, params)
|
easyopsapis/easyops-api-python | staff_manage_sdk/model/container/container_port_pb2.py | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: container_port.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.FileDescriptor(
name='container_port.proto',
package='container',
syntax='proto3',
serialized_options=_b('ZCgo.easyops.local/contracts/protorepo-models/easyops/model/container'),
serialized_pb=_b('\n\x14\x63ontainer_port.proto\x12\tcontainer\"X\n\rContainerPort\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08hostPort\x18\x02 \x01(\x05\x12\x15\n\rcontainerPort\x18\x03 \x01(\x05\x12\x10\n\x08protocol\x18\x04 \x01(\tBEZCgo.easyops.local/contracts/protorepo-models/easyops/model/containerb\x06proto3')
)
_CONTAINERPORT = _descriptor.Descriptor(
name='ContainerPort',
full_name='container.ContainerPort',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='name', full_name='container.ContainerPort.name', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='hostPort', full_name='container.ContainerPort.hostPort', index=1,
number=2, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='containerPort', full_name='container.ContainerPort.containerPort', index=2,
number=3, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='protocol', full_name='container.ContainerPort.protocol', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=35,
serialized_end=123,
)
DESCRIPTOR.message_types_by_name['ContainerPort'] = _CONTAINERPORT
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
ContainerPort = _reflection.GeneratedProtocolMessageType('ContainerPort', (_message.Message,), {
'DESCRIPTOR' : _CONTAINERPORT,
'__module__' : 'container_port_pb2'
# @@protoc_insertion_point(class_scope:container.ContainerPort)
})
_sym_db.RegisterMessage(ContainerPort)
DESCRIPTOR._options = None
# @@protoc_insertion_point(module_scope)
|
sajas-nm/medapp-test | node_modules/react-color/lib/components/google/GooglePointer.js | <reponame>sajas-nm/medapp-test<gh_stars>1-10
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.GooglePointer = undefined;
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _reactcss = require('reactcss');
var _reactcss2 = _interopRequireDefault(_reactcss);
var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var GooglePointer = exports.GooglePointer = function GooglePointer(props) {
var styles = (0, _reactcss2.default)({
'default': {
picker: {
width: '20px',
height: '20px',
borderRadius: '22px',
transform: 'translate(-10px, -7px)',
background: 'hsl(' + Math.round(props.hsl.h) + ', 100%, 50%)',
border: '2px white solid'
}
}
});
return _react2.default.createElement('div', { style: styles.picker });
};
GooglePointer.propTypes = {
hsl: _propTypes2.default.shape({
h: _propTypes2.default.number,
s: _propTypes2.default.number,
l: _propTypes2.default.number,
a: _propTypes2.default.number
})
};
GooglePointer.defaultProps = {
hsl: { a: 1, h: 249.94, l: 0.2, s: 0.50 }
};
exports.default = GooglePointer; |
LittleNed/toontown-stride | toontown/settings/ToontownSettings.py | <reponame>LittleNed/toontown-stride
DefaultSettings = {
'fullscreen': False,
'music': True,
'sfx': True,
'musicVol': 1.0,
'sfxVol': 1.0,
'loadDisplay': 'pandagl',
'toonChatSounds': True,
'newGui': False,
'show-disclaimer': True,
'fieldofview': 52,
'show-cog-levels': True,
'health-meter-mode': 2,
'experienceBarMode': True,
'smoothanimations': True,
'tpmsgs': True,
'friendstatusmsgs': True,
'doorkey': False,
'interactkey': False,
'experimental-touch': False,
'anisotropic-filtering': 0,
'anti-aliasing': False,
'vertical-sync': False,
'language': 'English',
'aspect-ratio': 0,
'streamerMode': False,
'lastNametag': {},
'lastEffect': {},
'lastRod': {},
'keymap': {},
'acceptingNewFriends': {},
'acceptingNonFriendWhispers': {},
'want-Custom-Controls': False
}
AnistrophicOptions = [0, 2, 4, 8, 16]
# Taken from toontown.options.GraphicsOptions
AspectRatios = [
0, # Adaptive
(1.33333), # 4:3
(1.25), # 5:4
(1.77777), # 16:9
(2.33333) ] # 21:9
AspectRatioLabels = [
"Adaptive",
"4:3",
"5:3",
"16:9",
"21:9"]
resolution_table = [
(800, 600),
(1024, 768),
(1280, 1024),
(1600, 1200),
(1280, 720),
(1920, 1080)] |
IvanTodorovBG/SoftUni | Python Advanced/Advanced/Functions Advanced/Exercise/Task06.py | <filename>Python Advanced/Advanced/Functions Advanced/Exercise/Task06.py
def sum_numbers(num1, num2):
return num1 + num2
def multiply_numbers(num1, num2):
return num1 * num2
def func_executor(*args):
answer = []
for func, func_args in args:
result = func(*func_args)
answer.append(result)
return answer
print(func_executor((sum_numbers, (1, 2)), (multiply_numbers, (2, 4)))) |
sjhanson/hackerrank-interview-prep-kit-node | test/warmup/jumping-on-clouds.spec.js | const testCase = require('mocha').describe;
const assertions = require('mocha').it;
const assert = require('chai').assert;
const joc = require('../../src/warmup/jumping-on-clouds');
testCase('Jumping On Clouds', function() {
testCase('All Double Jumps', function() {
assertions('should return 3 when there are 3 double jumps needed', function() {
const c = [0,1,0,1,0,1,0];
let result = joc.jumpingOnClouds(c);
assert.equal(result, 3);
});
});
testCase('Combination Jumps', function() {
assertions('should return 7 when there are 7 combined jumps needed', function() {
const c = [0,1,0,0,1,0,1,0,0,1,0,0];
let result = joc.jumpingOnClouds(c);
assert.equal(result, 7);
});
});
}); |
Apl0m3/CLKJ-MINJIAOBAO-JAVA | src/main/java/com/lingkj/project/transaction/dto/ReviewManuscriptReqDto.java | package com.lingkj.project.transaction.dto;
import lombok.Data;
/**
* ReviewManuscriptReqDto
*
* @author <NAME>
* @className ReviewManuscriptReqDto
* @date 2019/10/18 16:45
*/
@Data
public class ReviewManuscriptReqDto {
private Long transactionCommodityId;
private Integer status;
private String reason;
}
|
danielgutknecht/orange-talents-01-template-ecommerce | ecommerce/src/main/java/br/com/zup/ecommerce/repository/FeatureRepository.java | <filename>ecommerce/src/main/java/br/com/zup/ecommerce/repository/FeatureRepository.java
package br.com.zup.ecommerce.repository;
import br.com.zup.ecommerce.entities.Feature;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface FeatureRepository extends JpaRepository<Feature, Long> {
}
|
uxDaniel/homebrew-fonts | Casks/font-mononoki.rb | <filename>Casks/font-mononoki.rb
cask 'font-mononoki' do
version :latest
sha256 :no_check
url 'https://github.com/madmalik/mononoki/raw/master/export/mononoki.zip'
name 'Mononoki'
homepage 'https://madmalik.github.io/mononoki/'
license :ofl
font 'mononoki-Bold.ttf'
font 'mononoki-BoldItalic.ttf'
font 'mononoki-Italic.ttf'
font 'mononoki-Regular.ttf'
end
|
moodstrikerdd/Test_Android | mvpdemo/src/main/java/com/moo/mvpdemo/adapter/ViewHolder.java | <filename>mvpdemo/src/main/java/com/moo/mvpdemo/adapter/ViewHolder.java
package com.moo.mvpdemo.adapter;
import android.content.Context;
import android.support.v4.util.SparseArrayCompat;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
/**
* name:ViewHolder
* author:moo.
* date:2016/7/15.
* instruction:通用ViewHolder
*/
public class ViewHolder {
private SparseArrayCompat<View> mViews;
private int mPosition;
private View mConvertView;
private Context mContext;
private int mLayoutId;
private ViewHolder holder;
public ViewHolder(Context context, View itemView, ViewGroup parent, int position) {
mContext = context;
mConvertView = itemView;
mPosition = position;
mViews = new SparseArrayCompat<>();
mConvertView.setTag(this);
}
public static ViewHolder get(Context context, int position, View convertView,
ViewGroup parent, int layoutId) {
ViewHolder holder;
if (convertView == null) {
View itemView = LayoutInflater.from(context).inflate(layoutId, parent, false);
holder = new ViewHolder(context, itemView, parent, position);
} else {
holder = (ViewHolder) convertView.getTag();
}
holder.mPosition = position;
holder.mLayoutId = layoutId;
return holder;
}
public <T extends View> T getView(int id) {
View view = mViews.get(id);
if (view == null) {
view = mConvertView.findViewById(id);
mViews.put(id, view);
}
return (T) view;
}
public View getConvertView() {
return mConvertView;
}
public void setText(int id, String msg) {
View view = getView(id);
if (view instanceof TextView) {
((TextView) view).setText(msg);
}
}
public void setText(int id, int resId) {
View view = getView(id);
if (view instanceof TextView) {
((TextView) view).setText(resId);
}
}
public void setImageResource(int id, int resId) {
View view = getView(id);
if (view instanceof ImageView) {
((ImageView) view).setImageResource(resId);
}
}
}
|
DVSR1966/par4all | packages/PIPS/validation/Scilab/COLD-1.0.5.sub/stubs/include/scilab_rt_yearfrac.h | /*---------------------------------------------------- -*- C -*-
*
* (c) HPC Project - 2010-2011
*
*/
extern double scilab_rt_yearfrac_d0d0_(double in0, double in1);
extern void scilab_rt_yearfrac_d0d0_d0(double in0, double in1, double* out0);
extern void scilab_rt_yearfrac_i2i2_d2(int sin00, int sin01, int in0[sin00][sin01],
int sin10, int sin11, int in1[sin10][sin11],
int sout00, int sout01, double out0[sout00][sout01]);
extern void scilab_rt_yearfrac_i2d2_d2(int sin00, int sin01, int in0[sin00][sin01],
int sin10, int sin11, double in1[sin10][sin11],
int sout00, int sout01, double out0[sout00][sout01]);
extern void scilab_rt_yearfrac_d2i2_d2(int sin00, int sin01, double in0[sin00][sin01],
int sin10, int sin11, int in1[sin10][sin11],
int sout00, int sout01, double out0[sout00][sout01]);
extern void scilab_rt_yearfrac_d2d2_d2(int sin00, int sin01, double in0[sin00][sin01],
int sin10, int sin11, double in1[sin10][sin11],
int sout00, int sout01, double out0[sout00][sout01]);
|
nianxiongdi/mpx | packages/api-proxy/__tests__/web/device-network.spec.js | import { getNetworkType } from '../../src/web/api/device/network'
describe('test getNetworkType', () => {
test('should be enums value', () => {
getNetworkType(function ({ networkType }) {
expect(['wifi', '2g', '3g', '4g', '5g', 'unknown', 'none'].includes(networkType)).toBe(true)
})
})
})
// todo complete unit tests
|
ixray-team/ixray-2.0 | src/xray/render/base/sources/debug_renderer.cpp | <reponame>ixray-team/ixray-2.0
////////////////////////////////////////////////////////////////////////////
// Created : 13.11.2008
// Author : <NAME>
// Copyright (C) GSC Game World - 2009
////////////////////////////////////////////////////////////////////////////
#include "pch.h"
#include "debug_renderer.h"
#include <xray/render/base/debug_renderer.h>
#include <xray/render/base/platform.h>
#include "command_processor.h"
#include "debug_draw_lines_command.h"
#include "debug_draw_triangles_command.h"
#include <xray/render/base/world.h>
#include <xray/geometry_primitives.h>
using xray::render::vertex_colored;
using xray::render::debug::debug_renderer;
using xray::render::platform;
using xray::render::command_processor;
using xray::float3;
using xray::float4x4;
using namespace xray::geometry_utils;
static const u32 s_max_vertex_count = 32*1024;
debug_renderer::debug_renderer ( command_processor& processor, xray::memory::base_allocator& allocator, platform& platform ) :
m_platform ( platform ),
m_processor ( processor ),
m_allocator ( allocator )
{
}
inline vertex_colored create_vertex ( xray::float3 const& position, u32 const color )
{
vertex_colored const result = { position, color };
return ( result );
}
void debug_renderer::draw_line ( float3 const& start_point, float3 const& end_point, u32 const color )
{
vertex_colored const vertices[2] = { { start_point, color }, { end_point, color } };
u16 const indices[2] = { 0, 1 };
m_processor.push_command ( XRAY_NEW_IMPL( m_allocator, debug::draw_lines_command ) ( *this, vertices, indices ) );
}
void debug_renderer::draw_line ( float3 const& start_point, float3 const& end_point, color const color )
{
draw_line ( start_point, end_point, color.get_d3dcolor() );
}
void debug_renderer::draw_triangle ( float3 const& point_0, float3 const& point_1, float3 const& point_2, u32 const color )
{
vertex_colored const vertices [ 3 ] =
{
{ point_0, color },
{ point_1, color },
{ point_2, color }
};
draw_triangle ( vertices );
}
void debug_renderer::draw_triangle ( float3 const& point_0, float3 const& point_1, float3 const& point_2, color const color )
{
draw_triangle ( point_0, point_1, point_2, color.get_d3dcolor() );
}
void debug_renderer::draw_triangle ( vertex_colored const& vertex_0, vertex_colored const& vertex_1, vertex_colored const& vertex_2 )
{
vertex_colored const vertices [ 3 ] =
{
vertex_0,
vertex_1,
vertex_2
};
draw_triangle ( vertices );
}
void debug_renderer::draw_triangle ( vertex_colored const ( &vertices )[ 3 ] )
{
u16 const indices[3] = { 0, 1, 2 };
m_processor.push_command ( XRAY_NEW_IMPL( m_allocator, debug::draw_triangles_command ) ( *this, vertices, indices ) );
}
void debug_renderer::draw_obb ( float4x4 const& matrix, float3 const& size, color const color )
{
draw_lines (
matrix,
size,
(float*)obb::vertices,
obb::vertex_count,
(u16*)obb::pairs,
obb::pair_count,
color.get_d3dcolor()
);
}
void debug_renderer::draw_rectangle ( float4x4 const& matrix, float3 const& size, color const color )
{
draw_lines (
matrix,
size,
( float* )rectangle::vertices,
rectangle::vertex_count,
( u16* )rectangle::pairs,
rectangle::pair_count,
color.get_d3dcolor()
);
}
void debug_renderer::draw_aabb ( float3 const& center, float3 const& size, color const color )
{
draw_obb (
math::create_translation(
center
),
size,
color.get_d3dcolor()
);
}
void debug_renderer::draw_ellipse ( float4x4 const& matrix, color const color )
{
draw_lines (
matrix,
( float* )ellipse::vertices,
ellipse::vertex_count,
( u16* )ellipse::pairs,
ellipse::pair_count,
color.get_d3dcolor()
);
}
void debug_renderer::draw_ellipsoid ( float4x4 const& matrix, color const color )
{
draw_lines (
matrix,
( float* )ellipsoid::vertices,
ellipsoid::vertex_count,
( u16* )ellipsoid::pairs,
ellipsoid::pair_count,
color.get_d3dcolor()
);
}
void debug_renderer::draw_ellipsoid ( float4x4 const& matrix, float3 const& size, color const color )
{
draw_lines (
matrix,
size,
(float*)ellipsoid::vertices,
ellipsoid::vertex_count,
(u16*)ellipsoid::pairs,
ellipsoid::pair_count,
color.get_d3dcolor()
);
}
void debug_renderer::draw_sphere ( float3 const& center, const float &radius, color const color )
{
draw_ellipsoid (
math::create_translation( center ),
float3( radius, radius, radius ),
color.get_d3dcolor()
);
}
void debug_renderer::draw_cone ( float4x4 const& matrix, float3 const& size, color const color )
{
draw_lines (
matrix,
size,
( float* )cone::vertices,
cone::vertex_count,
( u16* )cone::pairs,
cone::pair_count,
color.get_d3dcolor()
);
}
void debug_renderer::draw_cone_solid ( float4x4 const& matrix, float3 const& size, color const color )
{
draw_primitive_solid (
// this is temporary, coordinates of the primitive need to be updated.
math::create_scale( float3(0.5, 1, 0.5))*matrix,
size,
(float*) cone_solid::vertices,
cone_solid::vertex_count,
(u16*) cone_solid::faces,
cone_solid::index_count,
color
);
}
void debug_renderer::draw_rectangle_solid ( float4x4 const& matrix, float3 const& size, color const color )
{
draw_primitive_solid (
matrix,
size,
(float*)rectangle_solid::vertices,
rectangle_solid::vertex_count,
(u16*) rectangle_solid::faces,
rectangle_solid::index_count,
color
);
}
void debug_renderer::draw_cube_solid ( float4x4 const& matrix, float3 const& size, color const color )
{
draw_primitive_solid (
matrix,
size,
(float*) cube_solid::vertices,
cube_solid::vertex_count,
(u16*) cube_solid::faces,
cube_solid::index_count,
color
);
}
void debug_renderer::draw_cylinder_solid ( float4x4 const& matrix, float3 const& size, color const color )
{
draw_primitive_solid (
// this is temporary, coordinates of the primitive need to be updated.
math::create_scale( float3(0.5, 1, 0.5))*matrix,
size,
(float*) cylinder_solid::vertices,
cylinder_solid::vertex_count,
(u16*) cylinder_solid::faces,
cylinder_solid::index_count,
color
);
}
void debug_renderer::draw_ellipsoid_solid ( float4x4 const& matrix, float3 const& size, color const color )
{
draw_primitive_solid (
matrix,
size,
(float*) ellipsoid_solid::vertices,
ellipsoid_solid::vertex_count,
(u16*) ellipsoid_solid::faces,
ellipsoid_solid::index_count,
color
);
}
void debug_renderer::draw_primitive_solid ( float4x4 const& matrix, float3 const& size, float *vertices, u32 vertex_count, u16* faces, u32 index_count, color const color )
{
float4x4 trnsform = create_scale(size)*matrix;
debug_vertices_type temp_vertices(m_allocator);
temp_vertices.resize ( vertex_count);
vertex_colored temp_vertex;
temp_vertex.color = color.get_d3dcolor();
for( u32 i = 0, j = 0; i< vertex_count; ++i, j+=3)
{
temp_vertex.position.x = vertices[j];
temp_vertex.position.y = vertices[j+1];
temp_vertex.position.z = vertices[j+2];
temp_vertex.position = trnsform.transform_position( temp_vertex.position );
temp_vertices[i] = temp_vertex;
}
debug_indices_type temp_indices(m_allocator);
temp_indices.resize ( index_count);
for( u32 i = 0; i< index_count; ++i)
temp_indices[i] = faces[i];
draw_triangles ( temp_vertices, temp_indices);
}
void debug_renderer::draw_arrow ( float3 const& start_point, float3 const& end_point, color line_color, color cone_color )
{
float3 direction = end_point - start_point;
if ( math::is_zero( direction.square_magnitude( ), math::epsilon_3 ) )
return;
draw_line ( start_point, end_point, line_color );
float distance = ( start_point - end_point ).magnitude( );
float size = distance/20.f;
float3 sizes = float3( .5f*size, size, .5f*size );
direction.normalize ( );
float3 const up_vector ( 0.f, 1.f, 0.f );
float4x4 matrix;
if ( !math::is_zero( magnitude( up_vector ^ direction ) ) )
matrix = math::create_rotation_x( math::pi_d2 ) * math::create_rotation ( direction, float3( 0.f, 1.f, 0.f ) );
else {
if ( (up_vector | direction) > 0.f )
matrix = math::create_rotation_x( math::pi_d2 );
else
matrix = math::create_rotation_x( -math::pi_d2 );
}
matrix.c.xyz() = start_point + direction * ( distance - size );
draw_cone ( matrix, sizes, cone_color );
}
void debug_renderer::draw_arrow ( float3 const& start_point, float3 const& end_point, color const color )
{
draw_arrow (
start_point,
end_point,
color,
color
);
}
void debug_renderer::draw_lines ( xray::vectora< vertex_colored > const& vertices, xray::vectora< u16 > const& indices )
{
m_processor.push_command ( XRAY_NEW_IMPL( m_allocator, debug::draw_lines_command ) ( *this, vertices, indices ) );
}
void debug_renderer::draw_lines (
float4x4 const& matrix,
float* const vertices,
u32 const vertex_count,
u16* const pairs,
u32 const pair_count,
color const color
)
{
typedef xray::buffer_vector< u16 > TempIndices;
TempIndices temp_indices ( ALLOCA( 2 * pair_count * sizeof( u16 ) ), 2 * pair_count, pairs, pairs + 2*pair_count );
typedef xray::buffer_vector< vertex_colored > TempVertices;
TempVertices temp_vertices ( ALLOCA( vertex_count * sizeof( vertex_colored ) ), vertex_count );
temp_vertices.resize ( vertex_count );
u32 const d3d_color = color.get_d3dcolor( );
TempVertices::iterator i = temp_vertices.begin( );
TempVertices::iterator e = temp_vertices.end( );
for ( u32 j = 0; i != e; ++i, j += 3 ) {
( *i ) =
create_vertex(
float3(
vertices[ j ],
vertices[ j + 1 ],
vertices[ j + 2 ]
) * matrix,
d3d_color
);
}
m_processor.push_command ( XRAY_NEW_IMPL( m_allocator, debug::draw_lines_command ) ( *this, temp_vertices, temp_indices ) );
}
void debug_renderer::draw_triangles ( debug_vertices_type const &vertices )
{
typedef xray::buffer_vector< vertex_colored > TempVertices;
TempVertices temp_vertices ( ALLOCA( vertices.size( ) * sizeof( vertex_colored ) ), vertices.size( ), vertices.begin( ), vertices.end( ) );
typedef xray::buffer_vector< u16 > TempIndices;
TempIndices temp_indices ( ALLOCA( vertices.size( ) * sizeof( u16 ) ), vertices.size( ) );
temp_indices.resize ( vertices.size( ) );
TempIndices::iterator i = temp_indices.begin( );
TempIndices::iterator e = temp_indices.end( );
for ( u16 j = 0; i != e; ++i, ++j )
*i = j;
m_processor.push_command ( XRAY_NEW_IMPL( m_allocator, debug::draw_triangles_command ) ( *this, temp_vertices, temp_indices ) );
}
void debug_renderer::draw_triangles ( debug_vertices_type const &vertices, debug_indices_type const& indices )
{
m_processor.push_command ( XRAY_NEW_IMPL( m_allocator, debug::draw_triangles_command ) ( *this, vertices, indices ) );
}
void debug_renderer::update_lines ( u32 add_count )
{
if ( m_line_indices.size( ) + add_count >= s_max_vertex_count )
render_lines ( );
ASSERT ( m_line_indices.size() + add_count < s_max_vertex_count );
}
void debug_renderer::render_lines ( )
{
if ( m_line_vertices.empty( ) ) {
ASSERT ( m_line_indices.empty( ), "lines are empty, but not the pairs" );
return;
}
ASSERT ( !m_line_indices.empty( ), "lines aren't empty, but not the pairs" );
m_platform.draw_debug_lines ( m_line_vertices, m_line_indices );
m_line_vertices.resize ( 0 );
m_line_indices.resize ( 0 );
}
void debug_renderer::update_triangles ( u32 const add_count )
{
if ( m_triangle_vertices.size( ) + add_count >= s_max_vertex_count )
render_triangles ( );
ASSERT ( m_triangle_vertices.size( ) + add_count < s_max_vertex_count );
}
void debug_renderer::render_triangles ( )
{
if ( m_triangle_vertices.empty( ) )
return;
ASSERT ( ( m_triangle_indices.size( ) % 3 ) == 0, "triangle indices count isn't divisible by 3" );
m_platform.draw_debug_triangles ( m_triangle_vertices, m_triangle_indices );
m_triangle_vertices.resize ( 0 );
m_triangle_indices.resize ( 0 );
}
void debug_renderer::draw_lines (
float4x4 const& matrix,
float3 const& size,
float* const vertices,
u32 const vertex_count,
u16* const pairs,
u32 const pair_count,
color const color
)
{
draw_lines (
math::create_scale( size ) * matrix,
vertices,
vertex_count,
pairs,
pair_count,
color.get_d3dcolor()
);
}
void debug_renderer::tick ( )
{
render_lines ( );
render_triangles ( );
}
void debug_renderer::draw_lines_impl ( debug_vertices_type const &vertices, debug_indices_type const& indices )
{
ASSERT ( indices.size( ) % 2 == 0 );
update_lines ( indices.size( ) / 2 );
u16 const n = ( u16 ) m_line_vertices.size( );
m_line_vertices.insert ( m_line_vertices.end(), vertices.begin( ), vertices.end( ) );
debug_indices_type::const_iterator i = indices.begin( );
debug_indices_type::const_iterator e = indices.end( );
for ( ; i != e; ++i )
m_line_indices.push_back ( n + *i );
}
void debug_renderer::draw_triangles_impl ( debug_vertices_type const &vertices, debug_indices_type const& indices )
{
update_triangles ( indices.size( ) );
u16 const n = ( u16 ) m_triangle_vertices.size( );
m_triangle_vertices.insert ( m_triangle_vertices.end(), vertices.begin( ), vertices.end( ) );
debug_indices_type::const_iterator i = indices.begin( );
debug_indices_type::const_iterator e = indices.end( );
for ( ; i != e; ++i )
m_triangle_indices.push_back ( n + *i );
ASSERT ( ( m_triangle_indices.size( ) % 3 ) == 0, "triangle indices count isn't divisible by 3" );
} |
npocmaka/Windows-Server-2003 | base/ntsetup/win95upg/migdlls/setup/office.c | <reponame>npocmaka/Windows-Server-2003
/*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
office.c
Abstract:
This source file implements the operations needed to properly migrate
Office settings from Windows 9x to Windows NT. This is part of the
Setup Migration DLL.
Author:
<NAME> (jimschm) 07-Apr-1999
Revision History:
--*/
#include "pch.h"
#include "setupmigp.h"
#define S_WINWORD6_INI "WINWORD6.INI"
#define S_WORD6_INI "WORD6.INI"
#define S_EXCEL5_INI "EXCEL5.INI"
#define S_WINWORD6_SECTION "Microsoft Word"
#define S_EXCEL5_SECTION "Microsoft Excel"
#define S_WINWORD6_KEY "CBT-PATH"
#define S_EXCEL5_KEY "CBTLOCATION"
#define S_NO_CBT "<<NOCBT>>"
BOOL
Office_Attach (
IN HINSTANCE DllInstance
)
{
return TRUE;
}
BOOL
Office_Detach (
IN HINSTANCE DllInstance
)
{
return TRUE;
}
LONG
Office_QueryVersion (
IN PCSTR *ExeNamesBuf
)
{
CHAR Path[MAX_PATH];
PSTR p;
if (GetWindowsDirectoryA (Path, MAX_PATH)) {
p = AppendWackA (Path);
StringCopyA (p, S_WINWORD6_INI);
if (DoesFileExistA (Path)) {
return ERROR_SUCCESS;
}
StringCopyA (p, S_WORD6_INI);
if (DoesFileExistA (Path)) {
return ERROR_SUCCESS;
}
StringCopyA (p, S_EXCEL5_INI);
if (DoesFileExistA (Path)) {
return ERROR_SUCCESS;
}
}
return ERROR_NOT_INSTALLED;
}
LONG
Office_Initialize9x (
IN PCSTR WorkingDirectory,
IN PCSTR SourceDirectories
)
{
return ERROR_SUCCESS;
}
LONG
Office_MigrateUser9x (
IN HWND ParentWnd,
IN PCSTR UnattendFile,
IN HKEY UserRegKey,
IN PCSTR UserName
)
{
return ERROR_SUCCESS;
}
LONG
Office_MigrateSystem9x (
IN HWND ParentWnd,
IN PCSTR UnattendFile
)
{
PCSTR Msg;
PCSTR Group;
CHAR Path[MAX_PATH];
PSTR p;
//
// Write a message to the report
//
Group = GetStringResource (MSG_PROGRAM_NOTES);
Msg = GetStringResource (MSG_OFFICE_MESSAGE);
WritePrivateProfileStringA (
S_INCOMPATIBLE_MSGS,
Group,
Msg,
g_MigrateInfPath
);
if (!GetWindowsDirectoryA (Path, MAX_PATH)) {
return GetLastError ();
}
p = AppendWackA (Path);
StringCopyA (p, S_WINWORD6_INI);
if (DoesFileExistA (Path)) {
WritePrivateProfileStringA (
Group,
Path,
"FILE",
g_MigrateInfPath
);
}
StringCopyA (p, S_WORD6_INI);
if (DoesFileExistA (Path)) {
WritePrivateProfileStringA (
Group,
Path,
"FILE",
g_MigrateInfPath
);
}
StringCopyA (p, S_EXCEL5_INI);
if (DoesFileExistA (Path)) {
WritePrivateProfileStringA (
Group,
Path,
"FILE",
g_MigrateInfPath
);
}
FreeStringResource (Msg);
FreeStringResource (Group);
return ERROR_SUCCESS;
}
LONG
Office_InitializeNT (
IN PCWSTR WorkingDirectory,
IN PCWSTR SourceDirectories
)
{
return ERROR_SUCCESS;
}
LONG
Office_MigrateUserNT (
IN HINF UnattendFile,
IN HKEY UserRegKey,
IN PCWSTR UserName
)
{
return ERROR_SUCCESS;
}
LONG
Office_MigrateSystemNT (
IN HINF UnattendFile
)
{
CHAR Path[MAX_PATH];
PSTR p;
if (!GetWindowsDirectoryA (Path, MAX_PATH)) {
return GetLastError ();
}
p = AppendWackA (Path);
StringCopyA (p, S_WORD6_INI);
if (DoesFileExistA (Path)) {
WritePrivateProfileStringA (S_WINWORD6_SECTION, S_WINWORD6_KEY, S_NO_CBT, Path);
}
StringCopyA (p, S_WINWORD6_INI);
if (DoesFileExistA (Path)) {
WritePrivateProfileStringA (S_WINWORD6_SECTION, S_WINWORD6_KEY, S_NO_CBT, Path);
}
StringCopyA (p, S_EXCEL5_INI);
if (DoesFileExistA (Path)) {
WritePrivateProfileStringA (S_EXCEL5_SECTION, S_EXCEL5_KEY, S_NO_CBT, Path);
}
return ERROR_SUCCESS;
}
|
sgholamian/log-aware-clone-detection | NLPCCd/Camel/1228_1.java | //,temp,sample_4323.java,2,11,temp,sample_259.java,2,13
//,3
public class xxx {
protected void doGetPod(Exchange exchange, String operation) throws Exception {
Pod pod = null;
String podName = exchange.getIn().getHeader( KubernetesConstants.KUBERNETES_POD_NAME, String.class);
String namespaceName = exchange.getIn().getHeader( KubernetesConstants.KUBERNETES_NAMESPACE_NAME, String.class);
if (ObjectHelper.isEmpty(podName)) {
log.info("get a specific pod require specify a pod name");
}
}
}; |
mythoss/midpoint | gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/dto/AuditEventRecordItemValueDto.java | <filename>gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/dto/AuditEventRecordItemValueDto.java<gh_stars>0
/*
* Copyright (c) 2010-2017 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.web.page.admin.reports.dto;
/**
* Temporary implementation. In the future, we might distinguish between property and reference values.
*/
public class AuditEventRecordItemValueDto {
private final String name;
private final String value;
public static final String F_NAME = "name";
public static final String F_VALUE = "value";
public AuditEventRecordItemValueDto(String name, String value) {
this.name = name;
this.value = value;
}
public String getName() {
return name;
}
public String getValue() {
return value;
}
}
|
nodumo/scala_template_platform_backend | infrastructure/src/main/scala/org/mastermold/platform/infrastructure/repositiories/doobie/instances/libraries/package.scala | package org.mastermold.platform.infrastructure.repositiories.doobie.instances
package object libraries {}
|
mainyordle/reddit2telegram | reddit2telegram/channels/r_progresspics/app.py | #encoding:utf-8
subreddit = 'progresspics'
t_channel = '@r_progresspics'
def send_post(submission, r2t):
return r2t.send_simple(submission)
|
wangardgit/mgi | resources/js/components/Front/Pages/tournamentDeatil/Stats/Stats.js | <gh_stars>0
import React, { Component } from 'react'
class Stats extends Component {
render() {
return (
<div>
<div className="col-md-12 col-sm-12 matches-over">
<h3>No Stats Available</h3>
</div>
</div>
)
}
}
export default Stats;
|
dheles/Vireo | test/org/tdl/vireo/model/jpa/JpaEmailWorkflowRuleConditionImplTest.java | <reponame>dheles/Vireo
/**
*
*/
package org.tdl.vireo.model.jpa;
import java.util.List;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.tdl.vireo.model.AbstractWorkflowRuleCondition;
import org.tdl.vireo.model.ConditionType;
import org.tdl.vireo.model.MockPerson;
import org.tdl.vireo.model.SettingsRepository;
import org.tdl.vireo.security.SecurityContext;
import play.db.jpa.JPA;
import play.modules.spring.Spring;
import play.test.UnitTest;
/**
* @author <a href="mailto:<EMAIL>"><NAME></a>
*
*/
public class JpaEmailWorkflowRuleConditionImplTest extends UnitTest {
// Repositories
public static SecurityContext context = Spring.getBeanOfType(SecurityContext.class);
public static SettingsRepository settingRepo = Spring.getBeanOfType(JpaSettingsRepositoryImpl.class);
public static ConditionType condition = ConditionType.Always;
public static ConditionType condition1 = ConditionType.College;
public static ConditionType condition2 = ConditionType.Department;
public static ConditionType condition3 = ConditionType.Program;
public static ConditionType testCondition = ConditionType.College;
@Before
public void setup() {
context.login(MockPerson.getAdministrator());
}
@After
public void cleanup() {
JPA.em().clear();
context.logout();
JPA.em().getTransaction().rollback();
JPA.em().getTransaction().begin();
}
/**
* Test creating an email workflow rule
*/
@Test
public void testCreate() {
AbstractWorkflowRuleCondition emwflRuleCondition = settingRepo.createEmailWorkflowRuleCondition(condition);
assertNotNull(emwflRuleCondition);
assertEquals(condition,emwflRuleCondition.getConditionType());
emwflRuleCondition.delete();
}
/**
* Test creating the email workflow rule without required parameters
*/
@Test
public void testBadCreate() {
try {
settingRepo.createEmailWorkflowRuleCondition(ConditionType.valueOf(""));
fail("Able to create blank email workflow rule");
} catch (IllegalArgumentException iae) {
/* yay */
}
}
/**
* Test the id.
*/
@Test
public void testId() {
AbstractWorkflowRuleCondition emwflRuleCondition = settingRepo.createEmailWorkflowRuleCondition(condition).save();
assertNotNull(emwflRuleCondition.getId());
emwflRuleCondition.delete();
}
/**
* Test retrieval by id.
*/
@Test
public void testFindById() {
AbstractWorkflowRuleCondition emwflRuleCondition = settingRepo.createEmailWorkflowRuleCondition(condition).save();
AbstractWorkflowRuleCondition retrieved = settingRepo.findEmailWorkflowRuleCondition(emwflRuleCondition.getId());
assertEquals(emwflRuleCondition.getConditionType(), retrieved.getConditionType());
retrieved.delete();
}
/**
* Test retrieving all email workflow rule
*/
@Test
public void testfindAllEmailWorkflowRuleConditions() {
int initialSize = settingRepo.findAllEmailWorkflowRuleConditions().size();
AbstractWorkflowRuleCondition emwflRuleCondition1 = settingRepo.createEmailWorkflowRuleCondition(condition1).save();
AbstractWorkflowRuleCondition emwflRuleCondition2 = settingRepo.createEmailWorkflowRuleCondition(condition2).save();
int postSize = settingRepo.findAllEmailWorkflowRuleConditions().size();
assertEquals(initialSize +2, postSize);
emwflRuleCondition1.delete();
emwflRuleCondition2.delete();
}
/**
* Test the validation when modifying the condition
*/
@Test
public void testConditionValidation() {
AbstractWorkflowRuleCondition emwflRuleCondition = settingRepo.createEmailWorkflowRuleCondition(condition).save();
AbstractWorkflowRuleCondition test = settingRepo.createEmailWorkflowRuleCondition(testCondition).save();
try {
test.setConditionType(ConditionType.valueOf(""));
fail("Able to change condition to blank");
} catch (IllegalArgumentException iae) {
/* yay */
}
// Recover the transaction after a failure.
JPA.em().getTransaction().rollback();
JPA.em().getTransaction().begin();
}
/**
* Test the display order attribute.
*/
@Test
public void testOrder() {
AbstractWorkflowRuleCondition emwflRuleCondition3 = settingRepo.createEmailWorkflowRuleCondition(condition3).save();
AbstractWorkflowRuleCondition emwflRuleCondition1 = settingRepo.createEmailWorkflowRuleCondition(condition1).save();
AbstractWorkflowRuleCondition emwflRuleCondition2 = settingRepo.createEmailWorkflowRuleCondition(condition2).save();
emwflRuleCondition1.setDisplayOrder(0);
emwflRuleCondition2.setDisplayOrder(1);
emwflRuleCondition3.setDisplayOrder(3);
emwflRuleCondition1.save();
emwflRuleCondition2.save();
emwflRuleCondition3.save();
List<AbstractWorkflowRuleCondition> emwflRuleConditions = settingRepo.findAllEmailWorkflowRuleConditions();
int index1 = emwflRuleConditions.indexOf(emwflRuleCondition1);
int index2 = emwflRuleConditions.indexOf(emwflRuleCondition2);
int index3 = emwflRuleConditions.indexOf(emwflRuleCondition3);
assertTrue(index3 > index2);
assertTrue(index2 > index1);
emwflRuleCondition1.delete();
emwflRuleCondition2.delete();
emwflRuleCondition3.delete();
}
/**
* Test that the email workflow rule is persistence
*/
@Test
public void testPersistance() {
// Commit and reopen a new transaction because some of the other tests
// may have caused exceptions which set the transaction to be rolled
// back.
if (JPA.em().getTransaction().getRollbackOnly())
JPA.em().getTransaction().rollback();
else
JPA.em().getTransaction().commit();
JPA.em().clear();
JPA.em().getTransaction().begin();
AbstractWorkflowRuleCondition emwflRuleCondition = settingRepo.createEmailWorkflowRuleCondition(condition).save();
// Commit and reopen a new transaction.
JPA.em().getTransaction().commit();
JPA.em().clear();
JPA.em().getTransaction().begin();
AbstractWorkflowRuleCondition retrieved = settingRepo.findEmailWorkflowRuleCondition(emwflRuleCondition.getId());
assertEquals(emwflRuleCondition.getId(),retrieved.getId());
assertEquals(emwflRuleCondition.getConditionType(),retrieved.getConditionType());
retrieved.delete();
// Commit and reopen a new transaction.
JPA.em().getTransaction().commit();
JPA.em().clear();
JPA.em().getTransaction().begin();
}
/**
* Test that managers have access and other don't.
*/
@Test
public void testAccess() {
context.login(MockPerson.getManager());
settingRepo.createEmailWorkflowRuleCondition(condition).save().delete();
try {
context.login(MockPerson.getReviewer());
settingRepo.createEmailWorkflowRuleCondition(condition).save();
fail("A reviewer was able to create a new object.");
} catch (SecurityException se) {
/* yay */
}
context.logout();
}
} |
tkoyama010/pyvista-doc-translations | locale/pot/api/examples/_autosummary/pyvista-examples-downloads-download_gpr_data_array-1.py | <gh_stars>1-10
from pyvista import examples
dataset = examples.download_gpr_data_array() # doctest:+SKIP
|
rweyrauch/pathtracer | ONB.h | /*
* Pathtracer based on <NAME>'s 'Ray Tracing in One Weekend' e-book
* series.
*
* Copyright (C) 2017 by <NAME> - <EMAIL>
*
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
*/
#ifndef PATHTRACER_ONB_H
#define PATHTRACER_ONB_H
#include "Vector3.h"
class ONB
{
public:
ONB() = default;
Vector3 operator[](int i) const { return axis[i]; }
const Vector3& u() const { return axis[0]; }
const Vector3& v() const { return axis[1]; }
const Vector3& w() const { return axis[2]; }
Vector3 local(double a, double b, double c) const { return a * u() + b * v() + c * w(); }
Vector3 local(const Vector3& a) const { return a.x() * u() + a.y() * v() + a.z() * w(); }
void buildFromW(const Vector3& n);
private:
Vector3 axis[3];
};
#endif //PATHTRACER_ONB_H
|
fritzo/kazoo | src/tracker.cpp |
#include "tracker.h"
#include "images.h"
#include "splines.h"
#include <vector>
#include <utility>
#include <algorithm>
#define LOG1(message)
#define LOG_EVENT LOG1
#define ASSERT2_EQ(x,y)
#define ASSERT2_LT(x,y)
#define DEFAULT_MEASUREMENT_NOISE_XY (sqr(1.0f))
#define DEFAULT_MEASUREMENT_NOISE_Z (sqr(0.2f))
#define DEFAULT_PROCESS_NOISE_XY (sqr(1e1f))
#define DEFAULT_PROCESS_NOISE_Z (sqr(1.0f))
#define DEFAULT_VEL_VARIANCE_XY (sqr(1e1f))
#define DEFAULT_VEL_VARIANCE_Z (sqr(1e1f))
#define DEFAULT_TRACK_TIMESCALE (4.0f)
#define DEFAULT_INTENSITY_SCALE (0.15f)
#define DEFAULT_MAX_ASSOC_RADIUS_XY (6.0f)
#define DEFAULT_MAX_ASSOC_RADIUS_Z (1.0f)
#define DEFAULT_MAX_ASSOC_COST (10.0f)
#define DEFAULT_MIN_TRACK_UPDATES (1)
#define DEFAULT_MATCHING_ITERATIONS (20)
#define TOL (1e-4f)
namespace Tracking
{
//----( models )--------------------------------------------------------------
Model::Model (const char * config_filename)
: m_config(config_filename),
measurement_noise(
m_config("measurement_noise_xy", DEFAULT_MEASUREMENT_NOISE_XY),
m_config("measurement_noise_xy", DEFAULT_MEASUREMENT_NOISE_XY),
m_config("measurement_noise_z", DEFAULT_MEASUREMENT_NOISE_Z)),
process_noise(
m_config("process_noise_xy", DEFAULT_PROCESS_NOISE_XY),
m_config("process_noise_xy", DEFAULT_PROCESS_NOISE_XY),
m_config("process_noise_z", DEFAULT_PROCESS_NOISE_Z)),
initial_vel_variance(
m_config("initial_vel_variance_xy", DEFAULT_VEL_VARIANCE_XY),
m_config("initial_vel_variance_xy", DEFAULT_VEL_VARIANCE_XY),
m_config("initial_vel_variance_z", DEFAULT_VEL_VARIANCE_Z)),
track_timescale(m_config("track_timescale", DEFAULT_TRACK_TIMESCALE)),
intensity_scale(m_config("intensity_scale", DEFAULT_INTENSITY_SCALE)),
max_assoc_radius_xy(
m_config("max_assoc_radius_xy", DEFAULT_MAX_ASSOC_RADIUS_XY)),
max_assoc_radius_z(
m_config("max_assoc_radius_z", DEFAULT_MAX_ASSOC_RADIUS_Z)),
max_assoc_radius_inverse(
1 / max_assoc_radius_xy,
1 / max_assoc_radius_xy,
1 / max_assoc_radius_z),
max_assoc_cost(m_config("max_assoc_cost", DEFAULT_MAX_ASSOC_COST)),
min_track_updates(
m_config("min_track_updates", DEFAULT_MIN_TRACK_UPDATES)),
matching_iterations(
m_config("matching_iterations", DEFAULT_MATCHING_ITERATIONS)),
m_chi2(0,0,0),
m_dof(0)
{
ASSERT_LT(0, track_timescale);
ASSERT_LT(0, intensity_scale);
ASSERT_LE(TOL, max_assoc_radius_xy);
ASSERT_LE(TOL, max_assoc_radius_z);
ASSERT_LT(0, matching_iterations);
ASSERTW_LE(matching_iterations, 100);
}
Model::~Model ()
{
if (m_dof) {
PRINT(process_noise);
PRINT(chi2_dof());
}
}
//----( tracks )--------------------------------------------------------------
size_t Track::s_new_id = 0;
uint64_t Track::s_sum_updates = 0;
uint64_t Track::s_sum_sqr_updates = 0;
double Track::s_sum_ages = 0;
Track::~Track ()
{
s_sum_updates += 1 + m_num_updates;
s_sum_sqr_updates += m_num_updates * (1 + m_num_updates);
s_sum_ages += m_age;
}
//----( tracker )-------------------------------------------------------------
Tracker::Tracker (
size_t detection_capacity,
const char * config_filename)
: m_model(config_filename),
m_time(Seconds::now()),
m_detections(detection_capacity),
m_num_frames(0),
m_num_detections(0),
m_var_track_intensity(0),
m_var_det_intensity(0),
m_cov_track_det_intensity(0)
{
}
Tracker::~Tracker ()
{
float dets_per_frame = 1.0f * m_num_detections / m_num_frames;
LOG("Tracker averaged " << dets_per_frame
<< " = " << m_num_detections << " detections"
<< " / " << m_num_frames << " frames");
PRINT(Track::mean_num_updates());
PRINT(Track::mean_age());
float cov_scale = sqrt(m_var_track_intensity * m_var_det_intensity);
if (cov_scale > 0) {
float track_det_intensity_correlation = m_cov_track_det_intensity
/ cov_scale;
PRINT(track_det_intensity_correlation);
}
PRINT(m_timestep);
PRINT(m_num_arcs);
clear();
}
//----( high-level operations )----
void Tracker::set_time (Seconds time)
{
m_mutex.lock(); //----( begin lock )----------------------------------------
m_time = time;
m_mutex.unlock(); //----( end lock )----------------------------------------
}
void Tracker::get_best_tracks (size_t capacity)
{
// this assumes m_mutex is locked
m_best_tracks.clear();
typedef Tracks::iterator Auto;
for (Auto t = m_tracks.begin(); t != m_tracks.end(); ++t) {
const Track & track = *(t->second);
if (track.num_updates() < m_model.min_track_updates) continue;
Id id = t->first;
m_best_tracks.push_back(std::make_pair(-intensity(track), id));
}
if (m_best_tracks.size() > capacity) {
std::nth_element(
m_best_tracks.begin(),
m_best_tracks.begin() + capacity,
m_best_tracks.end());
m_best_tracks.resize(capacity);
}
}
void Tracker::pull (Seconds time, BoundedMap<Id, Position> & positions)
{
positions.clear();
m_mutex.lock(); //----( begin lock )----------------------------------------
float dt = time - m_time;
ASSERTW_LE(0, dt);
get_best_tracks(positions.capacity);
size_t num_tracks = m_best_tracks.size();
positions.resize(num_tracks);
for (size_t i = 0; i < num_tracks; ++i) {
Id id = m_best_tracks[i].second;
positions.keys[i] = id;
positions.values[i] = m_tracks[id]->predict(dt);
}
m_mutex.unlock(); //----( end lock )----------------------------------------
}
void Tracker::pull (Seconds time, BoundedMap<Id, Finger> & fingers)
{
fingers.clear();
m_mutex.lock(); //----( begin lock )----------------------------------------
float dt = time - m_time;
ASSERTW_LE(0, dt);
get_best_tracks(fingers.capacity);
size_t num_tracks = m_best_tracks.size();
fingers.resize(num_tracks);
for (size_t i = 0; i < num_tracks; ++i) {
Id id = m_best_tracks[i].second;
fingers.keys[i] = id;
m_tracks[id]->predict(dt, fingers.values[i]);
}
m_mutex.unlock(); //----( end lock )----------------------------------------
m_best_tracks.clear();
}
void Tracker::push (Seconds time, const Image::Peaks & peaks)
{
ASSERTW_LE(peaks.size(), m_detections.size);
const size_t num_detections = min(m_detections.size, peaks.size());
m_num_detections += num_detections;
++m_num_frames;
for (size_t j = 0, J = num_detections; j < J; ++j) {
m_model.detect(peaks[j], m_detections[j]);
}
m_mutex.lock(); //----( begin lock )----------------------------------------
LOG1("advancing by " << dt << "s");
float dt = time - m_time;
ASSERT_LT(0, dt);
m_time = time;
m_timestep.add(dt);
typedef Tracks::iterator Auto;
for (Auto t = m_tracks.begin(); t != m_tracks.end(); ++t) {
Track & track = *(t->second);
track.advance(dt, m_model.process_noise);
m_var_track_intensity += sqr(intensity(track));
}
for (size_t j = 0, J = num_detections; j < J; ++j) {
m_var_det_intensity += sqr(intensity(m_detections[j]));
}
m_mutex.unlock(); //----( end lock )----------------------------------------
LOG1("probabilistically associate observations to tracks");
for (size_t j = 0, J = num_detections; j < J; ++j) {
m_matching.add2(track_begin_cost(m_detections[j], dt));
}
typedef Tracks::iterator Auto;
for (Auto t = m_tracks.begin(); t != m_tracks.end(); ++t) {
size_t i = m_ids.size();
m_ids.push_back(t->first);
const Track & track = *(t->second);
m_matching.add1(track_end_cost(track, dt));
for (size_t j = 0; j < num_detections; ++j) {
const Detection & detection = m_detections[j];
if (not nearby(track, detection)) continue;
float cost = track_continue_cost(track, detection);
if (not (cost < m_model.max_assoc_cost)) continue;
m_matching.add12(i, j, cost);
}
}
m_num_arcs.add(m_matching.size_arc());
//m_matching.print_prior(); // DEBUG
//m_matching.validate_problem(); // DEBUG
m_matching.solve(m_model.matching_iterations);
//m_matching.print_post(); // DEBUG
//m_matching.validate_solution(); // DEBUG
m_mutex.lock(); //----( begin lock )----------------------------------------
LOG1("end tracks with no associated observations")
for (size_t i = 0, I = m_matching.size_1(); i < I; ++i) {
if (m_matching.post_1_non(i)) {
Id id = m_ids[i];
LOG_EVENT("ending track " << id);
end_track(id);
}
}
LOG1("update continuing tracks");
for (size_t ij = 0, IJ = m_matching.size_arc(); ij < IJ; ++ij) {
if (m_matching.post_ass(ij)) {
Matching::Arc arc = m_matching.arc(ij);
Id id = m_ids[arc.i];
LOG_EVENT("continuing track " << id << " with detection " << arc.j);
Track & track = *(m_tracks.find(id)->second);
const Detection & detection = m_detections[arc.j];
m_cov_track_det_intensity += intensity(track) * intensity(detection);
Position chi = track.update(detection);
m_model.sample(sqr(chi), dt);
}
}
LOG1("begin tracks for new unassociated observations");
for (size_t j = 0, J = m_matching.size_2(); j < J; ++j) {
if (m_matching.post_2_non(j)) {
Track & track __attribute__ ((unused)) = begin_track(m_detections[j]);
LOG_EVENT("begining track " << track.id << " with detection " << j);
}
}
m_mutex.unlock(); //----( end lock )----------------------------------------
m_ids.clear();
m_matching.clear();
}
void Tracker::clear ()
{
typedef Tracks::iterator Auto;
for (Auto t = m_tracks.begin(); t != m_tracks.end(); ++t) {
delete t->second;
}
m_tracks.clear();
m_num_frames = 0;
m_num_detections = 0;
}
//----( track operations )----
inline Track & Tracker::begin_track (const Detection & detection)
{
Track * track = new Track(detection, m_model.initial_vel_variance);
m_tracks.insert(std::make_pair(track->id, track));
return * track;
}
inline void Tracker::end_track (Id id)
{
typedef Tracks::iterator Auto;
Auto t = m_tracks.find(id);
ASSERT(t != m_tracks.end(), "track not found when ending");
delete t->second;
m_tracks.erase(t);
}
} // namespace Tracking
//----( visualization )-------------------------------------------------------
namespace Streaming
{
TrackVisualizer::TrackVisualizer (
Rectangle shape,
size_t track_capacity)
: Rectangle(shape),
m_track_decay(expf(-1.0f / DEFAULT_SCREEN_FRAMERATE)),
m_peaks(),
m_tracks(track_capacity),
image_in(shape.size()),
detections_in(Image::Peaks()),
tracks_in("TrackVisualizer.tracks_in", track_capacity)
{
ASSERT_LT(0, track_capacity)
}
void TrackVisualizer::pull (Seconds time, RgbImage & image)
{
const size_t X = width();
const size_t Y = height();
// image in blue
MonoImage blue(image.blue);
image_in.pull(time, blue);
// detections in green
image.green.zero();
detections_in.pull(time, m_peaks);
for (size_t i = 0; i < m_peaks.size(); ++i) {
Image::Peak & peak = m_peaks[i];
BilinearInterpolate(peak.x, X, peak.y, Y).imax(image.green, 1);
}
// tracks in red
image.red *= m_track_decay;
tracks_in.pull(time, m_tracks);
for (size_t i = 0; i < m_tracks.size; ++i) {
Tracking::Position & position = m_tracks.values[i];
BilinearInterpolate(position[0], X, position[1], Y).imax(image.red, 1);
}
}
TrackAgeVisualizer::TrackAgeVisualizer (
Rectangle shape,
size_t track_capacity,
float age_scale)
: Rectangle(shape),
m_track_decay(expf(-1.0f / DEFAULT_SCREEN_FRAMERATE)),
m_age_scale(age_scale),
m_tracks(track_capacity),
tracks_in("TrackAgeVisualizer.tracks_in", track_capacity)
{
ASSERT_LT(0, track_capacity)
ASSERT_LE(1, age_scale)
}
void TrackAgeVisualizer::pull (Seconds time, RgbImage & image)
{
ASSERT_SIZE(image.red, size());
tracks_in.pull(time, m_tracks);
// update ages
std::swap(m_ages, m_ended);
for (size_t i = 0; i < m_tracks.size; ++i) {
Id id = m_tracks.keys[i];
if (m_ended.find(id) == m_ended.end()) {
m_ages[id] = 0;
} else {
m_ages[id] = 1 + m_ended[id];
}
}
m_ended.clear();
// draw tracks
const size_t X = width();
const size_t Y = height();
image *= m_track_decay;
for (size_t i = 0; i < m_tracks.size; ++i) {
Id id = m_tracks.keys[i];
float age = m_ages[id] / m_age_scale;
float r = expf(-age);
float g = age * expf(1 - age);
float b = 1 - (r + g) / 2;
Tracking::Position & position = m_tracks.values[i];
BilinearInterpolate lin(position[0], X, position[1], Y);
lin.imax(image.red, r);
lin.imax(image.green, g);
lin.imax(image.blue, b);
}
}
} // namespace Streaming
|
ghdawn/apollo | modules/perception/camera/test/camera_lib_calibrator_laneline_app_util.h | <reponame>ghdawn/apollo
/******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* 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.
*****************************************************************************/
#pragma once
#include <boost/filesystem.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/program_options.hpp>
#include <opencv2/opencv.hpp>
#include <assert.h>
#include <algorithm>
#include <cstdlib>
#include <map>
#include <string>
#include <vector>
#include "modules/perception/common/i_lib/core/i_blas.h"
#include "modules/perception/common/i_lib/core/i_rand.h"
#include "modules/perception/common/i_lib/geometry/i_util.h"
namespace adu {
namespace perception {
namespace obstacle {
// void change_suffix(std::string file_path, std::string suffix,
// std::string *file_path_changed);
bool load_filename(std::string path, std::string suffix,
std::vector<std::string> *name_list);
// bool load_ref_camera_p_mat(const std::string &filename, float p_mat[12]);
bool load_ref_camera_k_mat(const std::string &filename, float k_mat[9], int *w,
int *h);
// void draw_2d_bbox(cv::Mat *image, float left, float top, float right,
// float bottom, const cv::Scalar &color);
// void draw_2d_face(cv::Mat *image, const float corners_2d[16],
// const int idx_points[4], const cv::Scalar &color);
void write_text_on_image(cv::Mat *image, float left, float top,
const char *text, const CvFont &font,
const cv::Scalar &color);
// void add_noise_to_vector_radius(float *x, int n, float radius,
// bool set_seed = false);
// void add_noise_to_vector_ratio(float *x, int n, float ratio,
// bool set_seed = false);
} // namespace obstacle
} // namespace perception
} // namespace adu
|
city81/betfair-service-ng | src/main/scala/com/betfair/domain/MarketCatalogue.scala | package com.betfair.domain
import org.joda.time.DateTime
import org.joda.time.format.DateTimeFormat
import play.api.libs.json.{Json, Reads}
case class MarketCatalogue(marketId: String,
marketName: String,
marketStartTime: Option[DateTime],
description: Option[MarketDescription] = None,
totalMatched: Double,
runners: Option[List[RunnerCatalog]],
eventType: Option[EventType],
competition: Option[Competition] = None,
event: Event)
object MarketCatalogue {
val dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
implicit val jodaDateReads = Reads[DateTime](js =>
js.validate[String].map[DateTime](dtString =>
DateTime.parse(dtString, DateTimeFormat.forPattern(dateFormat))
)
)
implicit val readsMarketCatalogue = Json.reads[MarketCatalogue]
} |
qiu1993/Pica | Pica/Setting/Request/PCPasswordSetRequest.h | //
// PCPasswordSetRequest.h
// Pica
//
// Created by YueCheng on 2021/5/28.
// Copyright © 2021 fancy. All rights reserved.
//
#import "PCRequest.h"
NS_ASSUME_NONNULL_BEGIN
@interface PCPasswordSetRequest : PCRequest
@property (nonatomic, copy) NSString *passwordOld;
@property (nonatomic, copy) NSString *passwordNew;
@end
NS_ASSUME_NONNULL_END
|
ryangillard/artificial_intelligence | machine_learning/gan/vanilla_gan/tf2_vanilla_gan/vanilla_gan_class_ctl_module/trainer/generators.py | <reponame>ryangillard/artificial_intelligence
import tensorflow as tf
class Generator(object):
"""Generator that takes latent vector input and outputs image.
Fields:
name: str, name of `Generator`.
params: dict, user passed parameters.
model: instance of generator `Model`.
"""
def __init__(
self,
input_shape,
kernel_regularizer,
bias_regularizer,
name,
params):
"""Instantiates and builds generator network.
Args:
input_shape: tuple, shape of latent vector input of shape
[batch_size, latent_size].
kernel_regularizer: `l1_l2_regularizer` object, regularizar for
kernel variables.
bias_regularizer: `l1_l2_regularizer` object, regularizar for bias
variables.
name: str, name of generator.
params: dict, user passed parameters.
"""
# Set name of generator.
self.name = name
self.params = params
# Instantiate generator `Model`.
self.model = self._define_generator(
input_shape, kernel_regularizer, bias_regularizer
)
def _define_generator(
self, input_shape, kernel_regularizer, bias_regularizer):
"""Defines generator network.
Args:
input_shape: tuple, shape of latent vector input of shape
[batch_size, latent_size].
kernel_regularizer: `l1_l2_regularizer` object, regularizar for
kernel variables.
bias_regularizer: `l1_l2_regularizer` object, regularizar for bias
variables.
Returns:
Instance of `Model` object.
"""
# Create the input layer to our DNN.
# shape = (batch_size, latent_size)
inputs = tf.keras.Input(
shape=input_shape, name="{}_inputs".format(self.name)
)
network = inputs
# Dictionary containing possible final activations.
final_activation_set = {"sigmoid", "relu", "tanh"}
# Add hidden layers with given number of units/neurons per layer.
for i, units in enumerate(self.params["generator_hidden_units"]):
# shape = (batch_size, generator_hidden_units[i])
network = tf.keras.layers.Dense(
units=units,
activation=None,
kernel_regularizer=kernel_regularizer,
bias_regularizer=bias_regularizer,
name="{}_layers_dense_{}".format(self.name, i)
)(inputs=network)
network = tf.keras.layers.LeakyReLU(
alpha=self.params["generator_leaky_relu_alpha"],
name="{}_leaky_relu_{}".format(self.name, i)
)(inputs=network)
# Final linear layer for outputs.
# shape = (batch_size, height * width * depth)
generated_outputs = tf.keras.layers.Dense(
units=self.params["height"] * self.params["width"] * self.params["depth"],
activation=(
self.params["generator_final_activation"].lower()
if self.params["generator_final_activation"].lower()
in final_activation_set
else None
),
kernel_regularizer=kernel_regularizer,
bias_regularizer=bias_regularizer,
name="{}_layers_dense_generated_outputs".format(self.name)
)(inputs=network)
# Define model.
model = tf.keras.Model(
inputs=inputs, outputs=generated_outputs, name=self.name
)
return model
def get_model(self):
"""Returns generator's `Model` object.
Returns:
Generator's `Model` object.
"""
return self.model
def get_generator_loss(
self,
global_batch_size,
fake_logits,
global_step,
summary_file_writer
):
"""Gets generator loss.
Args:
global_batch_size: int, global batch size for distribution.
fake_logits: tensor, shape of
[batch_size, 1].
global_step: int, current global step for training.
summary_file_writer: summary file writer.
Returns:
Tensor of generator's total loss of shape [].
"""
if self.params["distribution_strategy"]:
# Calculate base generator loss.
generator_loss = tf.nn.compute_average_loss(
per_example_loss=tf.keras.losses.BinaryCrossentropy(
from_logits=True,
reduction=tf.keras.losses.Reduction.NONE
)(
y_true=tf.ones_like(input=fake_logits), y_pred=fake_logits
),
global_batch_size=global_batch_size
)
# Get regularization losses.
generator_reg_loss = tf.nn.scale_regularization_loss(
regularization_loss=sum(self.model.losses)
)
else:
# Calculate base generator loss.
generator_loss = tf.keras.losses.BinaryCrossentropy(
from_logits=True
)(
y_true=tf.ones_like(input=fake_logits), y_pred=fake_logits
)
# Get regularization losses.
generator_reg_loss = sum(self.model.losses)
# Combine losses for total losses.
generator_total_loss = tf.math.add(
x=generator_loss,
y=generator_reg_loss,
name="generator_total_loss"
)
if self.params["write_summaries"]:
# Add summaries for TensorBoard.
with summary_file_writer.as_default():
with tf.summary.record_if(
condition=tf.equal(
x=tf.math.floormod(
x=global_step,
y=self.params["save_summary_steps"]
), y=0
)
):
tf.summary.scalar(
name="losses/generator_loss",
data=generator_loss,
step=global_step
)
tf.summary.scalar(
name="losses/generator_reg_loss",
data=generator_reg_loss,
step=global_step
)
tf.summary.scalar(
name="optimized_losses/generator_total_loss",
data=generator_total_loss,
step=global_step
)
summary_file_writer.flush()
return generator_total_loss
|
arraycto/SpringBoot-Compilations | SpringBoot-iot/src/main/java/com/wjwcloud/iot/voicecontrol/aligenie/test/controller/TokenController.java | package com.wjwcloud.iot.voicecontrol.aligenie.test.controller;
import com.wjwcloud.iot.voicecontrol.aligenie.utils.AligenieUtil;
import org.apache.oltu.oauth2.as.issuer.MD5Generator;
import org.apache.oltu.oauth2.as.issuer.OAuthIssuer;
import org.apache.oltu.oauth2.as.issuer.OAuthIssuerImpl;
import org.apache.oltu.oauth2.common.exception.OAuthSystemException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.Cache;
import org.springframework.cache.CacheManager;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;
import java.io.PrintWriter;
/**
* Created by zhoulei on 2019/4/25.
* 登录授权成功后回调服务
*/
//@RestController
//@RequestMapping("/aligenie/oauth2")
public class TokenController {
private static Logger logger = LoggerFactory.getLogger(TokenController.class);
private Cache cache ;
@Autowired
public TokenController(CacheManager cacheManager) {
this.cache = cacheManager.getCache("oauth2-cache");
}
/**
* 认证服务器申请令牌(AccessToken) [验证client_id、client_secret、auth code的正确性或更新令牌 refresh_token]
* @param request
* @param response
* @return
* @url http://wechat.tunnel.geer2.com:8047/oauth2/accessToken?client_id={AppKey}&client_secret={AppSecret}&grant_type=authorization_code&redirect_uri={YourSiteUrl}&code={code}
*/
@RequestMapping(value = "/accessToken",method = RequestMethod.POST)
public void accessToken(HttpServletRequest request, HttpServletResponse response)
throws IOException, OAuthSystemException {
logger.info("第三步,成功回调");
AligenieUtil.getAllRequestParam(request);
AligenieUtil.getAllHeadParam(request);
String requestURI = request.getRequestURL().toString();
PrintWriter out = null;
OAuthIssuer oauthIssuerImpl = new OAuthIssuerImpl(new MD5Generator());
try {
out = response.getWriter();
HttpSession session = request.getSession();
String client_id = (String) session.getAttribute("client_id");
String resultData = AligenieUtil.getJsonData(AligenieUtil.requestGetParams(request , "code"));
response.setContentType("application/json");
out.write(resultData);
out.flush();
out.close();
return;
}catch (Exception e){
e.printStackTrace();
}
}
/**
* 刷新令牌
* @param request
* @param response
* @throws IOException
* @throws OAuthSystemException
* @url http://wechat.tunnel.geer2.com:8047/oauth2/refresh_token?client_id={AppKey}&grant_type=refresh_token&refresh_token={refresh_token}
*/
@RequestMapping(value = "/refresh_token",method = RequestMethod.POST)
public void refresh_token(HttpServletRequest request, HttpServletResponse response)
throws IOException, OAuthSystemException {
PrintWriter out = null;
// OAuthIssuer oauthIssuerImpl = new OAuthIssuerImpl(new MD5Generator());
// try {
// out = response.getWriter();
// //构建oauth2请求
// OAuthTokenRequest oauthRequest = new OAuthTokenRequest(request);
// //验证appkey是否正确
// if (!validateOAuth2AppKey(oauthRequest)){
// OAuthResponse oauthResponse = OAuthASResponse
// .errorResponse(HttpServletResponse.SC_UNAUTHORIZED)
// .setError(OAuthError.CodeResponse.ACCESS_DENIED)
// .setErrorDescription(OAuthError.CodeResponse.UNAUTHORIZED_CLIENT)
// .buildJSONMessage();
// out.write(oauthResponse.getBody());
// out.flush();
// out.close();
// return;
// }
// //验证是否是refresh_token
// if (GrantType.REFRESH_TOKEN.name().equalsIgnoreCase(oauthRequest.getParam(OAuth.OAUTH_GRANT_TYPE))) {
// OAuthResponse oauthResponse = OAuthASResponse
// .errorResponse(HttpServletResponse.SC_UNAUTHORIZED)
// .setError(OAuthError.TokenResponse.INVALID_GRANT)
//// .setErrorDescription(AligenieConstantKey.INVALID_CLIENT_GRANT)
// .buildJSONMessage();
// out.write(oauthResponse.getBody());
// out.flush();
// out.close();
// return;
// }
// /*
// * 刷新access_token有效期
// access_token是调用授权关系接口的调用凭证,由于access_token有效期(目前为2个小时)较短,当access_token超时后,可以使用refresh_token进行刷新,access_token刷新结果有两种:
// 1. 若access_token已超时,那么进行refresh_token会获取一个新的access_token,新的超时时间;
// 2. 若access_token未超时,那么进行refresh_token不会改变access_token,但超时时间会刷新,相当于续期access_token。
// refresh_token拥有较长的有效期(30天),当refresh_token失效的后,需要用户重新授权。
// * */
// Object cache_refreshToken=cache.get(oauthRequest.getRefreshToken());
// //access_token已超时
// if (cache_refreshToken == null) {
// //生成token
// final String access_Token = oauthIssuerImpl.accessToken();
// String refresh_Token = oauthIssuerImpl.refreshToken();
// cache.put(refresh_Token,access_Token);
// logger.info("access_Token : "+access_Token +" refresh_Token: "+refresh_Token);
// //构建oauth2授权返回信息
// OAuthResponse oauthResponse = OAuthASResponse
// .tokenResponse(HttpServletResponse.SC_OK)
// .setAccessToken(access_Token)
// .setExpiresIn("3600")
// .setRefreshToken(refresh_Token)
// .buildJSONMessage();
// response.setStatus(oauthResponse.getResponseStatus());
// out.print(oauthResponse.getBody());
// out.flush();
// out.close();
// return;
// }
// //access_token未超时
// cache.put(oauthRequest.getRefreshToken(),cache_refreshToken.toString());
// //构建oauth2授权返回信息
// OAuthResponse oauthResponse = OAuthASResponse
// .tokenResponse(HttpServletResponse.SC_OK)
// .setAccessToken(cache_refreshToken.toString())
// .setExpiresIn("3600")
// .setRefreshToken(oauthRequest.getRefreshToken())
// .buildJSONMessage();
// response.setStatus(oauthResponse.getResponseStatus());
// out.print(oauthResponse.getBody());
// out.flush();
// out.close();
// } catch(OAuthProblemException ex) {
// OAuthResponse oauthResponse = OAuthResponse
// .errorResponse(HttpServletResponse.SC_UNAUTHORIZED)
// .error(ex)
// .buildJSONMessage();
// response.setStatus(oauthResponse.getResponseStatus());
// out.print(oauthResponse.getBody());
// out.flush();
// out.close();
// response.sendError(HttpServletResponse.SC_UNAUTHORIZED);
// }
// finally
// {
// if (null != out){ out.close();}
// }
}
} |
276726581/wx-miniapp | wxapp/pages/goods/test.js | <reponame>276726581/wx-miniapp<filename>wxapp/pages/goods/test.js
const json = [{
"id": 1,
"thumb": "/images/icon.png",
"title": "广州xxxxxxxx",
"price": 16000,
"unit": "吨",
"province": "广东",
"city": "广州",
"createTime": "2018年12月3日"
},
{
"id": 2,
"thumb": "/images/icon.png",
"title": "四川xxxxxxxx",
"price": 19000,
"unit": "吨",
"province": "四川",
"city": "成都",
"createTime": "2013年12月3日"
},
{
"id": 3,
"thumb": "/images/icon.png",
"title": "杭州xxxxxxxx",
"price": 32000,
"unit": "吨",
"province": "浙江",
"city": "杭州",
"createTime": "2011年4月23日"
},
{
"id": 4,
"thumb": "/images/icon.png",
"title": "南京xxxxxxxx",
"price": 22000,
"unit": "吨",
"province": "江苏",
"city": "南京",
"createTime": "2014年5月31日"
},
{
"id": 5,
"thumb": "/images/icon.png",
"title": "上海xxxxxxxx",
"price": 72000,
"unit": "吨",
"province": "上海",
"city": "上海",
"createTime": "2015年2月13日"
}
]
module.exports = {
json
} |
bigdaz/proguard-core | src/proguard/classfile/io/ProgramClassReader.java | /*
* ProGuardCORE -- library to process Java bytecode.
*
* Copyright (c) 2002-2020 Guardsquare NV
*
* 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.
*/
package proguard.classfile.io;
import proguard.classfile.*;
import proguard.classfile.attribute.*;
import proguard.classfile.attribute.annotation.*;
import proguard.classfile.attribute.annotation.target.*;
import proguard.classfile.attribute.annotation.target.visitor.*;
import proguard.classfile.attribute.annotation.visitor.*;
import proguard.classfile.attribute.module.*;
import proguard.classfile.attribute.module.visitor.*;
import proguard.classfile.attribute.preverification.*;
import proguard.classfile.attribute.preverification.visitor.*;
import proguard.classfile.attribute.visitor.*;
import proguard.classfile.constant.*;
import proguard.classfile.constant.visitor.ConstantVisitor;
import proguard.classfile.util.*;
import proguard.classfile.visitor.*;
import proguard.io.RuntimeDataInput;
import java.io.DataInput;
/**
* This {@link ClassVisitor} fills out the {@link ProgramClass} instances that it visits with data
* from the given {@link DataInput} object.
*
* @author <NAME>
*/
public class ProgramClassReader
implements ClassVisitor,
MemberVisitor,
ConstantVisitor,
AttributeVisitor,
BootstrapMethodInfoVisitor,
RecordComponentInfoVisitor,
InnerClassesInfoVisitor,
ExceptionInfoVisitor,
StackMapFrameVisitor,
VerificationTypeVisitor,
LineNumberInfoVisitor,
ParameterInfoVisitor,
LocalVariableInfoVisitor,
LocalVariableTypeInfoVisitor,
RequiresInfoVisitor,
ExportsInfoVisitor,
OpensInfoVisitor,
ProvidesInfoVisitor,
AnnotationVisitor,
TypeAnnotationVisitor,
TargetInfoVisitor,
TypePathInfoVisitor,
LocalVariableTargetElementVisitor,
ElementValueVisitor
{
private final RuntimeDataInput dataInput;
private final boolean ignoreStackMapAttributes;
/**
* Creates a new ProgramClassReader for reading from the given DataInput.
*/
public ProgramClassReader(DataInput dataInput)
{
this(dataInput, false);
}
/**
* Creates a new ProgramClassReader for reading from the given DataInput,
* optionally treating stack map attributes as unknown attributes.
*/
public ProgramClassReader(DataInput dataInput,
boolean ignoreStackMapAttributes)
{
this.dataInput = new RuntimeDataInput(dataInput);
this.ignoreStackMapAttributes = ignoreStackMapAttributes;
}
// Implementations for ClassVisitor.
@Override
public void visitAnyClass(Clazz clazz) { }
@Override
public void visitProgramClass(ProgramClass programClass)
{
// Read and check the magic number.
int u4magic = dataInput.readInt();
ClassUtil.checkMagicNumber(u4magic);
// Read and check the version numbers.
int u2minorVersion = dataInput.readUnsignedShort();
int u2majorVersion = dataInput.readUnsignedShort();
programClass.u4version = ClassUtil.internalClassVersion(u2majorVersion,
u2minorVersion);
ClassUtil.checkVersionNumbers(programClass.u4version);
// Read the constant pool. Note that the first entry is not used.
programClass.u2constantPoolCount = dataInput.readUnsignedShort();
programClass.constantPool = new Constant[programClass.u2constantPoolCount];
for (int index = 1; index < programClass.u2constantPoolCount; index++)
{
Constant constant = createConstant();
constant.accept(programClass, this);
programClass.constantPool[index] = constant;
// Long constants and double constants take up two entries in the
// constant pool.
int tag = constant.getTag();
if (tag == Constant.LONG ||
tag == Constant.DOUBLE)
{
programClass.constantPool[++index] = null;
}
}
// Read the general class information.
programClass.u2accessFlags = dataInput.readUnsignedShort();
programClass.u2thisClass = dataInput.readUnsignedShort();
programClass.u2superClass = dataInput.readUnsignedShort();
// Read the interfaces.
programClass.u2interfacesCount = dataInput.readUnsignedShort();
programClass.u2interfaces = readUnsignedShorts(programClass.u2interfacesCount);
// Read the fields.
programClass.u2fieldsCount = dataInput.readUnsignedShort();
programClass.fields = new ProgramField[programClass.u2fieldsCount];
for (int index = 0; index < programClass.u2fieldsCount; index++)
{
ProgramField programField = new ProgramField();
this.visitProgramField(programClass, programField);
programClass.fields[index] = programField;
}
// Read the methods.
programClass.u2methodsCount = dataInput.readUnsignedShort();
programClass.methods = new ProgramMethod[programClass.u2methodsCount];
for (int index = 0; index < programClass.u2methodsCount; index++)
{
ProgramMethod programMethod = new ProgramMethod();
this.visitProgramMethod(programClass, programMethod);
programClass.methods[index] = programMethod;
}
// Read the class attributes.
programClass.u2attributesCount = dataInput.readUnsignedShort();
programClass.attributes = new Attribute[programClass.u2attributesCount];
for (int index = 0; index < programClass.u2attributesCount; index++)
{
Attribute attribute = createAttribute(programClass);
attribute.accept(programClass, this);
programClass.attributes[index] = attribute;
}
}
// Implementations for MemberVisitor.
public void visitProgramField(ProgramClass programClass, ProgramField programField)
{
// Read the general field information.
programField.u2accessFlags = dataInput.readUnsignedShort();
programField.u2nameIndex = dataInput.readUnsignedShort();
programField.u2descriptorIndex = dataInput.readUnsignedShort();
// Read the field attributes.
programField.u2attributesCount = dataInput.readUnsignedShort();
programField.attributes = new Attribute[programField.u2attributesCount];
for (int index = 0; index < programField.u2attributesCount; index++)
{
Attribute attribute = createAttribute(programClass);
attribute.accept(programClass, programField, this);
programField.attributes[index] = attribute;
}
}
public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod)
{
// Read the general method information.
programMethod.u2accessFlags = dataInput.readUnsignedShort();
programMethod.u2nameIndex = dataInput.readUnsignedShort();
programMethod.u2descriptorIndex = dataInput.readUnsignedShort();
// Read the method attributes.
programMethod.u2attributesCount = dataInput.readUnsignedShort();
programMethod.attributes = new Attribute[programMethod.u2attributesCount];
for (int index = 0; index < programMethod.u2attributesCount; index++)
{
Attribute attribute = createAttribute(programClass);
attribute.accept(programClass, programMethod, this);
programMethod.attributes[index] = attribute;
}
}
public void visitLibraryMember(LibraryClass libraryClass, LibraryMember libraryMember)
{
}
// Implementations for ConstantVisitor.
public void visitIntegerConstant(Clazz clazz, IntegerConstant integerConstant)
{
integerConstant.u4value = dataInput.readInt();
}
public void visitLongConstant(Clazz clazz, LongConstant longConstant)
{
longConstant.u8value = dataInput.readLong();
}
public void visitFloatConstant(Clazz clazz, FloatConstant floatConstant)
{
floatConstant.f4value = dataInput.readFloat();
}
public void visitDoubleConstant(Clazz clazz, DoubleConstant doubleConstant)
{
doubleConstant.f8value = dataInput.readDouble();
}
public void visitPrimitiveArrayConstant(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant)
{
char u2primitiveType = dataInput.readChar();
int u4length = dataInput.readInt();
switch (u2primitiveType)
{
case TypeConstants.BOOLEAN:
{
boolean[] values = new boolean[u4length];
for (int index = 0; index < u4length; index++)
{
values[index] = dataInput.readBoolean();
}
primitiveArrayConstant.values = values;
break;
}
case TypeConstants.BYTE:
{
byte[] values = new byte[u4length];
dataInput.readFully(values);
primitiveArrayConstant.values = values;
break;
}
case TypeConstants.CHAR:
{
char[] values = new char[u4length];
for (int index = 0; index < u4length; index++)
{
values[index] = dataInput.readChar();
}
primitiveArrayConstant.values = values;
break;
}
case TypeConstants.SHORT:
{
short[] values = new short[u4length];
for (int index = 0; index < u4length; index++)
{
values[index] = dataInput.readShort();
}
primitiveArrayConstant.values = values;
break;
}
case TypeConstants.INT:
{
int[] values = new int[u4length];
for (int index = 0; index < u4length; index++)
{
values[index] = dataInput.readInt();
}
primitiveArrayConstant.values = values;
break;
}
case TypeConstants.FLOAT:
{
float[] values = new float[u4length];
for (int index = 0; index < u4length; index++)
{
values[index] = dataInput.readFloat();
}
primitiveArrayConstant.values = values;
break;
}
case TypeConstants.LONG:
{
long[] values = new long[u4length];
for (int index = 0; index < u4length; index++)
{
values[index] = dataInput.readLong();
}
primitiveArrayConstant.values = values;
break;
}
case TypeConstants.DOUBLE:
{
double[] values = new double[u4length];
for (int index = 0; index < u4length; index++)
{
values[index] = dataInput.readDouble();
}
primitiveArrayConstant.values = values;
break;
}
}
}
public void visitStringConstant(Clazz clazz, StringConstant stringConstant)
{
stringConstant.u2stringIndex = dataInput.readUnsignedShort();
}
public void visitUtf8Constant(Clazz clazz, Utf8Constant utf8Constant)
{
int u2length = dataInput.readUnsignedShort();
// Read the UTF-8 bytes.
byte[] bytes = new byte[u2length];
dataInput.readFully(bytes);
utf8Constant.setBytes(bytes);
}
public void visitDynamicConstant(Clazz clazz, DynamicConstant dynamicConstant)
{
dynamicConstant.u2bootstrapMethodAttributeIndex = dataInput.readUnsignedShort();
dynamicConstant.u2nameAndTypeIndex = dataInput.readUnsignedShort();
}
public void visitInvokeDynamicConstant(Clazz clazz, InvokeDynamicConstant invokeDynamicConstant)
{
invokeDynamicConstant.u2bootstrapMethodAttributeIndex = dataInput.readUnsignedShort();
invokeDynamicConstant.u2nameAndTypeIndex = dataInput.readUnsignedShort();
}
public void visitMethodHandleConstant(Clazz clazz, MethodHandleConstant methodHandleConstant)
{
methodHandleConstant.u1referenceKind = dataInput.readUnsignedByte();
methodHandleConstant.u2referenceIndex = dataInput.readUnsignedShort();
}
public void visitModuleConstant(Clazz clazz, ModuleConstant moduleConstant)
{
moduleConstant.u2nameIndex = dataInput.readUnsignedShort();
}
public void visitPackageConstant(Clazz clazz, PackageConstant packageConstant)
{
packageConstant.u2nameIndex = dataInput.readUnsignedShort();
}
public void visitAnyRefConstant(Clazz clazz, RefConstant refConstant)
{
refConstant.u2classIndex = dataInput.readUnsignedShort();
refConstant.u2nameAndTypeIndex = dataInput.readUnsignedShort();
}
public void visitClassConstant(Clazz clazz, ClassConstant classConstant)
{
classConstant.u2nameIndex = dataInput.readUnsignedShort();
}
public void visitMethodTypeConstant(Clazz clazz, MethodTypeConstant methodTypeConstant)
{
methodTypeConstant.u2descriptorIndex = dataInput.readUnsignedShort();
}
public void visitNameAndTypeConstant(Clazz clazz, NameAndTypeConstant nameAndTypeConstant)
{
nameAndTypeConstant.u2nameIndex = dataInput.readUnsignedShort();
nameAndTypeConstant.u2descriptorIndex = dataInput.readUnsignedShort();
}
// Implementations for AttributeVisitor.
public void visitUnknownAttribute(Clazz clazz, UnknownAttribute unknownAttribute)
{
// Read the unknown information.
byte[] info = new byte[unknownAttribute.u4attributeLength];
dataInput.readFully(info);
unknownAttribute.info = info;
}
public void visitBootstrapMethodsAttribute(Clazz clazz, BootstrapMethodsAttribute bootstrapMethodsAttribute)
{
// Read the bootstrap methods.
bootstrapMethodsAttribute.u2bootstrapMethodsCount = dataInput.readUnsignedShort();
bootstrapMethodsAttribute.bootstrapMethods = new BootstrapMethodInfo[bootstrapMethodsAttribute.u2bootstrapMethodsCount];
for (int index = 0; index < bootstrapMethodsAttribute.u2bootstrapMethodsCount; index++)
{
BootstrapMethodInfo bootstrapMethodInfo = new BootstrapMethodInfo();
visitBootstrapMethodInfo(clazz, bootstrapMethodInfo);
bootstrapMethodsAttribute.bootstrapMethods[index] = bootstrapMethodInfo;
}
}
public void visitSourceFileAttribute(Clazz clazz, SourceFileAttribute sourceFileAttribute)
{
sourceFileAttribute.u2sourceFileIndex = dataInput.readUnsignedShort();
}
public void visitSourceDirAttribute(Clazz clazz, SourceDirAttribute sourceDirAttribute)
{
sourceDirAttribute.u2sourceDirIndex = dataInput.readUnsignedShort();
}
public void visitSourceDebugExtensionAttribute(Clazz clazz, SourceDebugExtensionAttribute sourceDebugExtensionAttribute)
{
// Read the source debug extension information.
byte[] info = new byte[sourceDebugExtensionAttribute.u4attributeLength];
dataInput.readFully(info);
sourceDebugExtensionAttribute.info = info;
}
public void visitRecordAttribute(Clazz clazz, RecordAttribute recordAttribute)
{
// Read the components.
recordAttribute.u2componentsCount = dataInput.readUnsignedShort();
recordAttribute.components = new RecordComponentInfo[recordAttribute.u2componentsCount];
for (int index = 0; index < recordAttribute.u2componentsCount; index++)
{
RecordComponentInfo recordComponentInfo = new RecordComponentInfo();
visitRecordComponentInfo(clazz, recordComponentInfo);
recordAttribute.components[index] = recordComponentInfo;
}
}
public void visitInnerClassesAttribute(Clazz clazz, InnerClassesAttribute innerClassesAttribute)
{
// Read the inner classes.
innerClassesAttribute.u2classesCount = dataInput.readUnsignedShort();
innerClassesAttribute.classes = new InnerClassesInfo[innerClassesAttribute.u2classesCount];
for (int index = 0; index < innerClassesAttribute.u2classesCount; index++)
{
InnerClassesInfo innerClassesInfo = new InnerClassesInfo();
visitInnerClassesInfo(clazz, innerClassesInfo);
innerClassesAttribute.classes[index] = innerClassesInfo;
}
}
public void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute)
{
enclosingMethodAttribute.u2classIndex = dataInput.readUnsignedShort();
enclosingMethodAttribute.u2nameAndTypeIndex = dataInput.readUnsignedShort();
}
public void visitNestHostAttribute(Clazz clazz, NestHostAttribute nestHostAttribute)
{
nestHostAttribute.u2hostClassIndex = dataInput.readUnsignedShort();
}
public void visitNestMembersAttribute(Clazz clazz, NestMembersAttribute nestMembersAttribute)
{
// Read the nest host classes.
nestMembersAttribute.u2classesCount = dataInput.readUnsignedShort();
nestMembersAttribute.u2classes = readUnsignedShorts(nestMembersAttribute.u2classesCount);
}
public void visitPermittedSubclassesAttribute(Clazz clazz, PermittedSubclassesAttribute permittedSubclassesAttribute)
{
// Read the nest host classes.
permittedSubclassesAttribute.u2classesCount = dataInput.readUnsignedShort();
permittedSubclassesAttribute.u2classes = readUnsignedShorts(permittedSubclassesAttribute.u2classesCount);
}
public void visitModuleAttribute(Clazz clazz, ModuleAttribute moduleAttribute)
{
moduleAttribute.u2moduleNameIndex = dataInput.readUnsignedShort();
moduleAttribute.u2moduleFlags = dataInput.readUnsignedShort();
moduleAttribute.u2moduleVersionIndex = dataInput.readUnsignedShort();
// Read the requires.
moduleAttribute.u2requiresCount = dataInput.readUnsignedShort();
moduleAttribute.requires = new RequiresInfo[moduleAttribute.u2requiresCount];
for (int index = 0; index < moduleAttribute.u2requiresCount; index++)
{
RequiresInfo requiresInfo = new RequiresInfo();
visitRequiresInfo(clazz, requiresInfo);
moduleAttribute.requires[index] = requiresInfo;
}
// Read the exports.
moduleAttribute.u2exportsCount = dataInput.readUnsignedShort();
moduleAttribute.exports = new ExportsInfo[moduleAttribute.u2exportsCount];
for (int index = 0; index < moduleAttribute.u2exportsCount; index++)
{
ExportsInfo exportsInfo = new ExportsInfo();
visitExportsInfo(clazz, exportsInfo);
moduleAttribute.exports[index] = exportsInfo;
}
// Read the opens.
moduleAttribute.u2opensCount = dataInput.readUnsignedShort();
moduleAttribute.opens = new OpensInfo[moduleAttribute.u2opensCount];
for (int index = 0; index < moduleAttribute.u2opensCount; index++)
{
OpensInfo opensInfo = new OpensInfo();
visitOpensInfo(clazz, opensInfo);
moduleAttribute.opens[index] = opensInfo;
}
// Read the uses.
moduleAttribute.u2usesCount = dataInput.readUnsignedShort();
moduleAttribute.u2uses = readUnsignedShorts(moduleAttribute.u2usesCount);
// Read the provides.
moduleAttribute.u2providesCount = dataInput.readUnsignedShort();
moduleAttribute.provides = new ProvidesInfo[moduleAttribute.u2providesCount];
for (int index = 0; index < moduleAttribute.u2providesCount; index++)
{
ProvidesInfo providesInfo = new ProvidesInfo();
visitProvidesInfo(clazz, providesInfo);
moduleAttribute.provides[index] = providesInfo;
}
}
public void visitModuleMainClassAttribute(Clazz clazz, ModuleMainClassAttribute moduleMainClassAttribute)
{
moduleMainClassAttribute.u2mainClass = dataInput.readUnsignedShort();
}
public void visitModulePackagesAttribute(Clazz clazz, ModulePackagesAttribute modulePackagesAttribute)
{
// Read the packages.
modulePackagesAttribute.u2packagesCount = dataInput.readUnsignedShort();
modulePackagesAttribute.u2packages = readUnsignedShorts(modulePackagesAttribute.u2packagesCount);
}
public void visitDeprecatedAttribute(Clazz clazz, DeprecatedAttribute deprecatedAttribute)
{
// This attribute does not contain any additional information.
}
public void visitSyntheticAttribute(Clazz clazz, SyntheticAttribute syntheticAttribute)
{
// This attribute does not contain any additional information.
}
public void visitSignatureAttribute(Clazz clazz, SignatureAttribute signatureAttribute)
{
signatureAttribute.u2signatureIndex = dataInput.readUnsignedShort();
}
public void visitConstantValueAttribute(Clazz clazz, Field field, ConstantValueAttribute constantValueAttribute)
{
constantValueAttribute.u2constantValueIndex = dataInput.readUnsignedShort();
}
public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute)
{
// Read the parameter information.
methodParametersAttribute.u1parametersCount = dataInput.readUnsignedByte();
methodParametersAttribute.parameters = new ParameterInfo[methodParametersAttribute.u1parametersCount];
for (int index = 0; index < methodParametersAttribute.u1parametersCount; index++)
{
ParameterInfo parameterInfo = new ParameterInfo();
visitParameterInfo(clazz, method, index, parameterInfo);
methodParametersAttribute.parameters[index] = parameterInfo;
}
}
public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute)
{
// Read the exceptions.
exceptionsAttribute.u2exceptionIndexTableLength = dataInput.readUnsignedShort();
exceptionsAttribute.u2exceptionIndexTable = readUnsignedShorts(exceptionsAttribute.u2exceptionIndexTableLength);
}
public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
{
// Read the stack size and local variable frame size.
codeAttribute.u2maxStack = dataInput.readUnsignedShort();
codeAttribute.u2maxLocals = dataInput.readUnsignedShort();
// Read the byte code.
codeAttribute.u4codeLength = dataInput.readInt();
byte[] code = new byte[codeAttribute.u4codeLength];
dataInput.readFully(code);
codeAttribute.code = code;
// Read the exceptions.
codeAttribute.u2exceptionTableLength = dataInput.readUnsignedShort();
codeAttribute.exceptionTable = new ExceptionInfo[codeAttribute.u2exceptionTableLength];
for (int index = 0; index < codeAttribute.u2exceptionTableLength; index++)
{
ExceptionInfo exceptionInfo = new ExceptionInfo();
visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo);
codeAttribute.exceptionTable[index] = exceptionInfo;
}
// Read the code attributes.
codeAttribute.u2attributesCount = dataInput.readUnsignedShort();
codeAttribute.attributes = new Attribute[codeAttribute.u2attributesCount];
for (int index = 0; index < codeAttribute.u2attributesCount; index++)
{
Attribute attribute = createAttribute(clazz);
attribute.accept(clazz, method, codeAttribute, this);
codeAttribute.attributes[index] = attribute;
}
}
public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute)
{
// Read the stack map frames (only full frames, without tag).
stackMapAttribute.u2stackMapFramesCount = dataInput.readUnsignedShort();
stackMapAttribute.stackMapFrames = new FullFrame[stackMapAttribute.u2stackMapFramesCount];
for (int index = 0; index < stackMapAttribute.u2stackMapFramesCount; index++)
{
FullFrame stackMapFrame = new FullFrame();
visitFullFrame(clazz, method, codeAttribute, index, stackMapFrame);
stackMapAttribute.stackMapFrames[index] = stackMapFrame;
}
}
public void visitStackMapTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapTableAttribute stackMapTableAttribute)
{
// Read the stack map frames.
stackMapTableAttribute.u2stackMapFramesCount = dataInput.readUnsignedShort();
stackMapTableAttribute.stackMapFrames = new StackMapFrame[stackMapTableAttribute.u2stackMapFramesCount];
for (int index = 0; index < stackMapTableAttribute.u2stackMapFramesCount; index++)
{
StackMapFrame stackMapFrame = createStackMapFrame();
stackMapFrame.accept(clazz, method, codeAttribute, 0, this);
stackMapTableAttribute.stackMapFrames[index] = stackMapFrame;
}
}
public void visitLineNumberTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LineNumberTableAttribute lineNumberTableAttribute)
{
// Read the line numbers.
lineNumberTableAttribute.u2lineNumberTableLength = dataInput.readUnsignedShort();
lineNumberTableAttribute.lineNumberTable = new LineNumberInfo[lineNumberTableAttribute.u2lineNumberTableLength];
for (int index = 0; index < lineNumberTableAttribute.u2lineNumberTableLength; index++)
{
LineNumberInfo lineNumberInfo = new LineNumberInfo();
visitLineNumberInfo(clazz, method, codeAttribute, lineNumberInfo);
lineNumberTableAttribute.lineNumberTable[index] = lineNumberInfo;
}
}
public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute)
{
// Read the local variables.
localVariableTableAttribute.u2localVariableTableLength = dataInput.readUnsignedShort();
localVariableTableAttribute.localVariableTable = new LocalVariableInfo[localVariableTableAttribute.u2localVariableTableLength];
for (int index = 0; index < localVariableTableAttribute.u2localVariableTableLength; index++)
{
LocalVariableInfo localVariableInfo = new LocalVariableInfo();
visitLocalVariableInfo(clazz, method, codeAttribute, localVariableInfo);
localVariableTableAttribute.localVariableTable[index] = localVariableInfo;
}
}
public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute)
{
// Read the local variable types.
localVariableTypeTableAttribute.u2localVariableTypeTableLength = dataInput.readUnsignedShort();
localVariableTypeTableAttribute.localVariableTypeTable = new LocalVariableTypeInfo[localVariableTypeTableAttribute.u2localVariableTypeTableLength];
for (int index = 0; index < localVariableTypeTableAttribute.u2localVariableTypeTableLength; index++)
{
LocalVariableTypeInfo localVariableTypeInfo = new LocalVariableTypeInfo();
visitLocalVariableTypeInfo(clazz, method, codeAttribute, localVariableTypeInfo);
localVariableTypeTableAttribute.localVariableTypeTable[index] = localVariableTypeInfo;
}
}
public void visitAnyAnnotationsAttribute(Clazz clazz, AnnotationsAttribute annotationsAttribute)
{
// Read the annotations.
annotationsAttribute.u2annotationsCount = dataInput.readUnsignedShort();
annotationsAttribute.annotations = new Annotation[annotationsAttribute.u2annotationsCount];
for (int index = 0; index < annotationsAttribute.u2annotationsCount; index++)
{
Annotation annotation = new Annotation();
visitAnnotation(clazz, annotation);
annotationsAttribute.annotations[index] = annotation;
}
}
public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute)
{
// Read the parameter annotations.
parameterAnnotationsAttribute.u1parametersCount = dataInput.readUnsignedByte();
parameterAnnotationsAttribute.u2parameterAnnotationsCount = new int[parameterAnnotationsAttribute.u1parametersCount];
parameterAnnotationsAttribute.parameterAnnotations = new Annotation[parameterAnnotationsAttribute.u1parametersCount][];
for (int parameterIndex = 0; parameterIndex < parameterAnnotationsAttribute.u1parametersCount; parameterIndex++)
{
// Read the parameter annotations of the given parameter.
int u2annotationsCount = dataInput.readUnsignedShort();
Annotation[] annotations = new Annotation[u2annotationsCount];
for (int index = 0; index < u2annotationsCount; index++)
{
Annotation annotation = new Annotation();
visitAnnotation(clazz, annotation);
annotations[index] = annotation;
}
parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex] = u2annotationsCount;
parameterAnnotationsAttribute.parameterAnnotations[parameterIndex] = annotations;
}
}
public void visitAnyTypeAnnotationsAttribute(Clazz clazz, TypeAnnotationsAttribute typeAnnotationsAttribute)
{
// Read the type annotations.
typeAnnotationsAttribute.u2annotationsCount = dataInput.readUnsignedShort();
typeAnnotationsAttribute.annotations = new TypeAnnotation[typeAnnotationsAttribute.u2annotationsCount];
for (int index = 0; index < typeAnnotationsAttribute.u2annotationsCount; index++)
{
TypeAnnotation typeAnnotation = new TypeAnnotation();
visitTypeAnnotation(clazz, typeAnnotation);
typeAnnotationsAttribute.annotations[index] = typeAnnotation;
}
}
public void visitAnnotationDefaultAttribute(Clazz clazz, Method method, AnnotationDefaultAttribute annotationDefaultAttribute)
{
// Read the default element value.
ElementValue elementValue = createElementValue();
elementValue.accept(clazz, null, this);
annotationDefaultAttribute.defaultValue = elementValue;
}
// Implementations for BootstrapMethodInfoVisitor.
public void visitBootstrapMethodInfo(Clazz clazz, BootstrapMethodInfo bootstrapMethodInfo)
{
bootstrapMethodInfo.u2methodHandleIndex = dataInput.readUnsignedShort();
// Read the bootstrap method arguments.
bootstrapMethodInfo.u2methodArgumentCount = dataInput.readUnsignedShort();
bootstrapMethodInfo.u2methodArguments = readUnsignedShorts(bootstrapMethodInfo.u2methodArgumentCount);
}
// Implementations for RecordComponentInfoVisitor.
public void visitRecordComponentInfo(Clazz clazz, RecordComponentInfo recordComponentInfo)
{
recordComponentInfo.u2nameIndex = dataInput.readUnsignedShort();
recordComponentInfo.u2descriptorIndex = dataInput.readUnsignedShort();
// Read the component attributes.
recordComponentInfo.u2attributesCount = dataInput.readUnsignedShort();
recordComponentInfo.attributes = new Attribute[recordComponentInfo.u2attributesCount];
for (int index = 0; index < recordComponentInfo.u2attributesCount; index++)
{
Attribute attribute = createAttribute(clazz);
attribute.accept(clazz, this);
recordComponentInfo.attributes[index] = attribute;
}
}
// Implementations for InnerClassesInfoVisitor.
public void visitInnerClassesInfo(Clazz clazz, InnerClassesInfo innerClassesInfo)
{
innerClassesInfo.u2innerClassIndex = dataInput.readUnsignedShort();
innerClassesInfo.u2outerClassIndex = dataInput.readUnsignedShort();
innerClassesInfo.u2innerNameIndex = dataInput.readUnsignedShort();
innerClassesInfo.u2innerClassAccessFlags = dataInput.readUnsignedShort();
}
// Implementations for ExceptionInfoVisitor.
public void visitExceptionInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, ExceptionInfo exceptionInfo)
{
exceptionInfo.u2startPC = dataInput.readUnsignedShort();
exceptionInfo.u2endPC = dataInput.readUnsignedShort();
exceptionInfo.u2handlerPC = dataInput.readUnsignedShort();
exceptionInfo.u2catchType = dataInput.readUnsignedShort();
}
// Implementations for StackMapFrameVisitor.
public void visitSameZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameZeroFrame sameZeroFrame)
{
if (sameZeroFrame.getTag() == StackMapFrame.SAME_ZERO_FRAME_EXTENDED)
{
sameZeroFrame.u2offsetDelta = dataInput.readUnsignedShort();
}
}
public void visitSameOneFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameOneFrame sameOneFrame)
{
if (sameOneFrame.getTag() == StackMapFrame.SAME_ONE_FRAME_EXTENDED)
{
sameOneFrame.u2offsetDelta = dataInput.readUnsignedShort();
}
// Read the verification type of the stack entry.
VerificationType verificationType = createVerificationType();
verificationType.accept(clazz, method, codeAttribute, offset, this);
sameOneFrame.stackItem = verificationType;
}
public void visitLessZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LessZeroFrame lessZeroFrame)
{
lessZeroFrame.u2offsetDelta = dataInput.readUnsignedShort();
}
public void visitMoreZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, MoreZeroFrame moreZeroFrame)
{
moreZeroFrame.u2offsetDelta = dataInput.readUnsignedShort();
// Read the verification types of the additional local variables.
moreZeroFrame.additionalVariables = new VerificationType[moreZeroFrame.additionalVariablesCount];
for (int index = 0; index < moreZeroFrame.additionalVariablesCount; index++)
{
VerificationType verificationType = createVerificationType();
verificationType.accept(clazz, method, codeAttribute, offset, this);
moreZeroFrame.additionalVariables[index] = verificationType;
}
}
public void visitFullFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FullFrame fullFrame)
{
fullFrame.u2offsetDelta = dataInput.readUnsignedShort();
// Read the verification types of the local variables.
fullFrame.variablesCount = dataInput.readUnsignedShort();
fullFrame.variables = new VerificationType[fullFrame.variablesCount];
for (int index = 0; index < fullFrame.variablesCount; index++)
{
VerificationType verificationType = createVerificationType();
verificationType.variablesAccept(clazz, method, codeAttribute, offset, index, this);
fullFrame.variables[index] = verificationType;
}
// Read the verification types of the stack entries.
fullFrame.stackCount = dataInput.readUnsignedShort();
fullFrame.stack = new VerificationType[fullFrame.stackCount];
for (int index = 0; index < fullFrame.stackCount; index++)
{
VerificationType verificationType = createVerificationType();
verificationType.stackAccept(clazz, method, codeAttribute, offset, index, this);
fullFrame.stack[index] = verificationType;
}
}
// Implementations for VerificationTypeVisitor.
public void visitAnyVerificationType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationType verificationType)
{
// Most verification types don't contain any additional information.
}
public void visitObjectType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ObjectType objectType)
{
objectType.u2classIndex = dataInput.readUnsignedShort();
}
public void visitUninitializedType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, UninitializedType uninitializedType)
{
uninitializedType.u2newInstructionOffset = dataInput.readUnsignedShort();
}
// Implementations for LineNumberInfoVisitor.
public void visitLineNumberInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LineNumberInfo lineNumberInfo)
{
lineNumberInfo.u2startPC = dataInput.readUnsignedShort();
lineNumberInfo.u2lineNumber = dataInput.readUnsignedShort();
}
// Implementations for ParameterInfoVisitor.
public void visitParameterInfo(Clazz clazz, Method method, int parameterIndex, ParameterInfo parameterInfo)
{
parameterInfo.u2nameIndex = dataInput.readUnsignedShort();
parameterInfo.u2accessFlags = dataInput.readUnsignedShort();
}
// Implementations for LocalVariableInfoVisitor.
public void visitLocalVariableInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo)
{
localVariableInfo.u2startPC = dataInput.readUnsignedShort();
localVariableInfo.u2length = dataInput.readUnsignedShort();
localVariableInfo.u2nameIndex = dataInput.readUnsignedShort();
localVariableInfo.u2descriptorIndex = dataInput.readUnsignedShort();
localVariableInfo.u2index = dataInput.readUnsignedShort();
}
// Implementations for LocalVariableTypeInfoVisitor.
public void visitLocalVariableTypeInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeInfo localVariableTypeInfo)
{
localVariableTypeInfo.u2startPC = dataInput.readUnsignedShort();
localVariableTypeInfo.u2length = dataInput.readUnsignedShort();
localVariableTypeInfo.u2nameIndex = dataInput.readUnsignedShort();
localVariableTypeInfo.u2signatureIndex = dataInput.readUnsignedShort();
localVariableTypeInfo.u2index = dataInput.readUnsignedShort();
}
// Implementations for RequiresInfoVisitor.
public void visitRequiresInfo(Clazz clazz, RequiresInfo requiresInfo)
{
requiresInfo.u2requiresIndex = dataInput.readUnsignedShort();
requiresInfo.u2requiresFlags = dataInput.readUnsignedShort();
requiresInfo.u2requiresVersionIndex = dataInput.readUnsignedShort();
}
// Implementations for ExportsInfoVisitor.
public void visitExportsInfo(Clazz clazz, ExportsInfo exportsInfo)
{
exportsInfo.u2exportsIndex = dataInput.readUnsignedShort();
exportsInfo.u2exportsFlags = dataInput.readUnsignedShort();
// Read the targets.
exportsInfo.u2exportsToCount = dataInput.readUnsignedShort();
exportsInfo.u2exportsToIndex = readUnsignedShorts(exportsInfo.u2exportsToCount);
}
// Implementations for OpensInfoVisitor.
public void visitOpensInfo(Clazz clazz, OpensInfo opensInfo)
{
opensInfo.u2opensIndex = dataInput.readUnsignedShort();
opensInfo.u2opensFlags = dataInput.readUnsignedShort();
// Read the targets.
opensInfo.u2opensToCount = dataInput.readUnsignedShort();
opensInfo.u2opensToIndex = readUnsignedShorts(opensInfo.u2opensToCount);
}
// Implementations for ProvidesInfoVisitor.
public void visitProvidesInfo(Clazz clazz, ProvidesInfo providesInfo)
{
providesInfo.u2providesIndex = dataInput.readUnsignedShort();
// Read the provides withs.
providesInfo.u2providesWithCount = dataInput.readUnsignedShort();
providesInfo.u2providesWithIndex = readUnsignedShorts(providesInfo.u2providesWithCount);
}
// Implementations for AnnotationVisitor.
public void visitAnnotation(Clazz clazz, Annotation annotation)
{
// Read the annotation type.
annotation.u2typeIndex = dataInput.readUnsignedShort();
// Read the element value pairs.
annotation.u2elementValuesCount = dataInput.readUnsignedShort();
annotation.elementValues = new ElementValue[annotation.u2elementValuesCount];
for (int index = 0; index < annotation.u2elementValuesCount; index++)
{
int u2elementNameIndex = dataInput.readUnsignedShort();
ElementValue elementValue = createElementValue();
elementValue.u2elementNameIndex = u2elementNameIndex;
elementValue.accept(clazz, annotation, this);
annotation.elementValues[index] = elementValue;
}
}
// Implementations for TypeAnnotationVisitor.
public void visitTypeAnnotation(Clazz clazz, TypeAnnotation typeAnnotation)
{
// Read the target info.
TargetInfo targetInfo = createTargetInfo();
targetInfo.accept(clazz, typeAnnotation, this);
typeAnnotation.targetInfo = targetInfo;
// Read the type path.
int u1pathLength = dataInput.readUnsignedByte();
typeAnnotation.typePath = new TypePathInfo[u1pathLength];
for (int index = 0; index < u1pathLength; index++)
{
TypePathInfo typePathInfo = new TypePathInfo();
visitTypePathInfo(clazz, typeAnnotation, typePathInfo);
typeAnnotation.typePath[index] = typePathInfo;
}
// Read the actual annotation.
visitAnnotation(clazz, typeAnnotation);
}
// Implementations for TargetInfoVisitor.
public void visitTypeParameterTargetInfo(Clazz clazz, TypeAnnotation typeAnnotation, TypeParameterTargetInfo typeParameterTargetInfo)
{
typeParameterTargetInfo.u1typeParameterIndex = dataInput.readUnsignedByte();
}
public void visitSuperTypeTargetInfo(Clazz clazz, TypeAnnotation typeAnnotation, SuperTypeTargetInfo superTypeTargetInfo)
{
superTypeTargetInfo.u2superTypeIndex = dataInput.readUnsignedShort();
}
public void visitTypeParameterBoundTargetInfo(Clazz clazz, TypeAnnotation typeAnnotation, TypeParameterBoundTargetInfo typeParameterBoundTargetInfo)
{
typeParameterBoundTargetInfo.u1typeParameterIndex = dataInput.readUnsignedByte();
typeParameterBoundTargetInfo.u1boundIndex = dataInput.readUnsignedByte();
}
public void visitEmptyTargetInfo(Clazz clazz, Member member, TypeAnnotation typeAnnotation, EmptyTargetInfo emptyTargetInfo)
{
}
public void visitFormalParameterTargetInfo(Clazz clazz, Method method, TypeAnnotation typeAnnotation, FormalParameterTargetInfo formalParameterTargetInfo)
{
formalParameterTargetInfo.u1formalParameterIndex = dataInput.readUnsignedByte();
}
public void visitThrowsTargetInfo(Clazz clazz, Method method, TypeAnnotation typeAnnotation, ThrowsTargetInfo throwsTargetInfo)
{
throwsTargetInfo.u2throwsTypeIndex = dataInput.readUnsignedShort();
}
public void visitLocalVariableTargetInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, LocalVariableTargetInfo localVariableTargetInfo)
{
// Read the local variable target elements.
localVariableTargetInfo.u2tableLength = dataInput.readUnsignedShort();
localVariableTargetInfo.table = new LocalVariableTargetElement[localVariableTargetInfo.u2tableLength];
for (int index = 0; index < localVariableTargetInfo.u2tableLength; index++)
{
LocalVariableTargetElement element = new LocalVariableTargetElement();
visitLocalVariableTargetElement(clazz, method, codeAttribute, typeAnnotation, localVariableTargetInfo, element);
localVariableTargetInfo.table[index] = element;
}
}
public void visitCatchTargetInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, CatchTargetInfo catchTargetInfo)
{
catchTargetInfo.u2exceptionTableIndex = dataInput.readUnsignedShort();
}
public void visitOffsetTargetInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, OffsetTargetInfo offsetTargetInfo)
{
offsetTargetInfo.u2offset = dataInput.readUnsignedShort();
}
public void visitTypeArgumentTargetInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, TypeArgumentTargetInfo typeArgumentTargetInfo)
{
typeArgumentTargetInfo.u2offset = dataInput.readUnsignedShort();
typeArgumentTargetInfo.u1typeArgumentIndex = dataInput.readUnsignedByte();
}
// Implementations for TypePathInfoVisitor.
public void visitTypePathInfo(Clazz clazz, TypeAnnotation typeAnnotation, TypePathInfo typePathInfo)
{
typePathInfo.u1typePathKind = dataInput.readUnsignedByte();
typePathInfo.u1typeArgumentIndex = dataInput.readUnsignedByte();
}
// Implementations for LocalVariableTargetElementVisitor.
public void visitLocalVariableTargetElement(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, LocalVariableTargetInfo localVariableTargetInfo, LocalVariableTargetElement localVariableTargetElement)
{
localVariableTargetElement.u2startPC = dataInput.readShort();
localVariableTargetElement.u2length = dataInput.readShort();
localVariableTargetElement.u2index = dataInput.readShort();
}
// Implementations for ElementValueVisitor.
public void visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue constantElementValue)
{
constantElementValue.u2constantValueIndex = dataInput.readUnsignedShort();
}
public void visitEnumConstantElementValue(Clazz clazz, Annotation annotation, EnumConstantElementValue enumConstantElementValue)
{
enumConstantElementValue.u2typeNameIndex = dataInput.readUnsignedShort();
enumConstantElementValue.u2constantNameIndex = dataInput.readUnsignedShort();
}
public void visitClassElementValue(Clazz clazz, Annotation annotation, ClassElementValue classElementValue)
{
classElementValue.u2classInfoIndex = dataInput.readUnsignedShort();
}
public void visitAnnotationElementValue(Clazz clazz, Annotation annotation, AnnotationElementValue annotationElementValue)
{
// Read the annotation.
Annotation annotationValue = new Annotation();
visitAnnotation(clazz, annotationValue);
annotationElementValue.annotationValue = annotationValue;
}
public void visitArrayElementValue(Clazz clazz, Annotation annotation, ArrayElementValue arrayElementValue)
{
// Read the element values.
arrayElementValue.u2elementValuesCount = dataInput.readUnsignedShort();
arrayElementValue.elementValues = new ElementValue[arrayElementValue.u2elementValuesCount];
for (int index = 0; index < arrayElementValue.u2elementValuesCount; index++)
{
ElementValue elementValue = createElementValue();
elementValue.accept(clazz, annotation, this);
arrayElementValue.elementValues[index] = elementValue;
}
}
// Small utility methods.
private Constant createConstant()
{
int u1tag = dataInput.readUnsignedByte();
switch (u1tag)
{
case Constant.INTEGER: return new IntegerConstant();
case Constant.FLOAT: return new FloatConstant();
case Constant.LONG: return new LongConstant();
case Constant.DOUBLE: return new DoubleConstant();
case Constant.PRIMITIVE_ARRAY: return new PrimitiveArrayConstant();
case Constant.STRING: return new StringConstant();
case Constant.UTF8: return new Utf8Constant();
case Constant.DYNAMIC: return new DynamicConstant();
case Constant.INVOKE_DYNAMIC: return new InvokeDynamicConstant();
case Constant.METHOD_HANDLE: return new MethodHandleConstant();
case Constant.FIELDREF: return new FieldrefConstant();
case Constant.METHODREF: return new MethodrefConstant();
case Constant.INTERFACE_METHODREF: return new InterfaceMethodrefConstant();
case Constant.CLASS: return new ClassConstant();
case Constant.METHOD_TYPE: return new MethodTypeConstant();
case Constant.NAME_AND_TYPE: return new NameAndTypeConstant();
case Constant.MODULE: return new ModuleConstant();
case Constant.PACKAGE: return new PackageConstant();
default: throw new RuntimeException("Unknown constant type ["+u1tag+"] in constant pool");
}
}
private Attribute createAttribute(Clazz clazz)
{
int u2attributeNameIndex = dataInput.readUnsignedShort();
int u4attributeLength = dataInput.readInt();
String attributeName = clazz.getString(u2attributeNameIndex);
Attribute attribute =
attributeName.equals(Attribute.BOOTSTRAP_METHODS) ? new BootstrapMethodsAttribute() :
attributeName.equals(Attribute.SOURCE_FILE) ? new SourceFileAttribute() :
attributeName.equals(Attribute.SOURCE_DIR) ? new SourceDirAttribute() :
attributeName.equals(Attribute.SOURCE_DEBUG_EXTENSION) ? new SourceDebugExtensionAttribute(0, u4attributeLength, null) :
attributeName.equals(Attribute.RECORD) ? new RecordAttribute() :
attributeName.equals(Attribute.INNER_CLASSES) ? new InnerClassesAttribute() :
attributeName.equals(Attribute.ENCLOSING_METHOD) ? new EnclosingMethodAttribute() :
attributeName.equals(Attribute.NEST_HOST) ? new NestHostAttribute() :
attributeName.equals(Attribute.NEST_MEMBERS) ? new NestMembersAttribute() :
attributeName.equals(Attribute.PERMITTED_SUBCLASSES) ? new PermittedSubclassesAttribute() :
attributeName.equals(Attribute.DEPRECATED) ? new DeprecatedAttribute() :
attributeName.equals(Attribute.SYNTHETIC) ? new SyntheticAttribute() :
attributeName.equals(Attribute.SIGNATURE) ? new SignatureAttribute() :
attributeName.equals(Attribute.CONSTANT_VALUE) ? new ConstantValueAttribute() :
attributeName.equals(Attribute.METHOD_PARAMETERS) ? new MethodParametersAttribute() :
attributeName.equals(Attribute.EXCEPTIONS) ? new ExceptionsAttribute() :
attributeName.equals(Attribute.CODE) ? new CodeAttribute() :
attributeName.equals(Attribute.STACK_MAP) && !ignoreStackMapAttributes ? new StackMapAttribute() :
attributeName.equals(Attribute.STACK_MAP_TABLE) && !ignoreStackMapAttributes ? new StackMapTableAttribute() :
attributeName.equals(Attribute.LINE_NUMBER_TABLE) ? new LineNumberTableAttribute() :
attributeName.equals(Attribute.LOCAL_VARIABLE_TABLE) ? new LocalVariableTableAttribute() :
attributeName.equals(Attribute.LOCAL_VARIABLE_TYPE_TABLE) ? new LocalVariableTypeTableAttribute() :
attributeName.equals(Attribute.RUNTIME_VISIBLE_ANNOTATIONS) ? new RuntimeVisibleAnnotationsAttribute() :
attributeName.equals(Attribute.RUNTIME_INVISIBLE_ANNOTATIONS) ? new RuntimeInvisibleAnnotationsAttribute() :
attributeName.equals(Attribute.RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS) ? new RuntimeVisibleParameterAnnotationsAttribute() :
attributeName.equals(Attribute.RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS) ? new RuntimeInvisibleParameterAnnotationsAttribute() :
attributeName.equals(Attribute.RUNTIME_VISIBLE_TYPE_ANNOTATIONS) ? new RuntimeVisibleTypeAnnotationsAttribute() :
attributeName.equals(Attribute.RUNTIME_INVISIBLE_TYPE_ANNOTATIONS) ? new RuntimeInvisibleTypeAnnotationsAttribute() :
attributeName.equals(Attribute.ANNOTATION_DEFAULT) ? new AnnotationDefaultAttribute() :
attributeName.equals(Attribute.MODULE) ? new ModuleAttribute() :
attributeName.equals(Attribute.MODULE_MAIN_CLASS) ? new ModuleMainClassAttribute() :
attributeName.equals(Attribute.MODULE_PACKAGES) ? new ModulePackagesAttribute() :
new UnknownAttribute(u2attributeNameIndex, u4attributeLength);
attribute.u2attributeNameIndex = u2attributeNameIndex;
return attribute;
}
private StackMapFrame createStackMapFrame()
{
int u1tag = dataInput.readUnsignedByte();
return
u1tag < StackMapFrame.SAME_ONE_FRAME ? new SameZeroFrame(u1tag) :
u1tag < StackMapFrame.SAME_ONE_FRAME_EXTENDED ? new SameOneFrame(u1tag) :
u1tag < StackMapFrame.LESS_ZERO_FRAME ? new SameOneFrame(u1tag) :
u1tag < StackMapFrame.SAME_ZERO_FRAME_EXTENDED ? new LessZeroFrame(u1tag) :
u1tag < StackMapFrame.MORE_ZERO_FRAME ? new SameZeroFrame(u1tag) :
u1tag < StackMapFrame.FULL_FRAME ? new MoreZeroFrame(u1tag) :
new FullFrame();
}
private VerificationType createVerificationType()
{
int u1tag = dataInput.readUnsignedByte();
switch (u1tag)
{
case VerificationType.INTEGER_TYPE: return new IntegerType();
case VerificationType.FLOAT_TYPE: return new FloatType();
case VerificationType.LONG_TYPE: return new LongType();
case VerificationType.DOUBLE_TYPE: return new DoubleType();
case VerificationType.TOP_TYPE: return new TopType();
case VerificationType.OBJECT_TYPE: return new ObjectType();
case VerificationType.NULL_TYPE: return new NullType();
case VerificationType.UNINITIALIZED_TYPE: return new UninitializedType();
case VerificationType.UNINITIALIZED_THIS_TYPE: return new UninitializedThisType();
default: throw new RuntimeException("Unknown verification type ["+u1tag+"] in stack map frame");
}
}
private TargetInfo createTargetInfo()
{
byte u1targetType = dataInput.readByte();
switch (u1targetType)
{
case TargetInfo.TARGET_TYPE_PARAMETER_GENERIC_CLASS:
case TargetInfo.TARGET_TYPE_PARAMETER_GENERIC_METHOD: return new TypeParameterTargetInfo(u1targetType);
case TargetInfo.TARGET_TYPE_EXTENDS: return new SuperTypeTargetInfo(u1targetType);
case TargetInfo.TARGET_TYPE_BOUND_GENERIC_CLASS:
case TargetInfo.TARGET_TYPE_BOUND_GENERIC_METHOD: return new TypeParameterBoundTargetInfo(u1targetType);
case TargetInfo.TARGET_TYPE_FIELD:
case TargetInfo.TARGET_TYPE_RETURN:
case TargetInfo.TARGET_TYPE_RECEIVER: return new EmptyTargetInfo(u1targetType);
case TargetInfo.TARGET_TYPE_PARAMETER: return new FormalParameterTargetInfo(u1targetType);
case TargetInfo.TARGET_TYPE_THROWS: return new ThrowsTargetInfo(u1targetType);
case TargetInfo.TARGET_TYPE_LOCAL_VARIABLE:
case TargetInfo.TARGET_TYPE_RESOURCE_VARIABLE: return new LocalVariableTargetInfo(u1targetType);
case TargetInfo.TARGET_TYPE_CATCH: return new CatchTargetInfo(u1targetType);
case TargetInfo.TARGET_TYPE_INSTANCE_OF:
case TargetInfo.TARGET_TYPE_NEW:
case TargetInfo.TARGET_TYPE_METHOD_REFERENCE_NEW:
case TargetInfo.TARGET_TYPE_METHOD_REFERENCE: return new OffsetTargetInfo(u1targetType);
case TargetInfo.TARGET_TYPE_CAST:
case TargetInfo.TARGET_TYPE_ARGUMENT_GENERIC_METHODNew:
case TargetInfo.TARGET_TYPE_ARGUMENT_GENERIC_METHOD:
case TargetInfo.TARGET_TYPE_ARGUMENT_GENERIC_METHODReferenceNew:
case TargetInfo.TARGET_TYPE_ARGUMENT_GENERIC_METHODReference: return new TypeArgumentTargetInfo(u1targetType);
default: throw new RuntimeException("Unknown annotation target type ["+u1targetType+"]");
}
}
private ElementValue createElementValue()
{
int u1tag = dataInput.readUnsignedByte();
switch (u1tag)
{
case TypeConstants.BOOLEAN:
case TypeConstants.BYTE:
case TypeConstants.CHAR:
case TypeConstants.SHORT:
case TypeConstants.INT:
case TypeConstants.FLOAT:
case TypeConstants.LONG:
case TypeConstants.DOUBLE:
case ElementValue.TAG_STRING_CONSTANT: return new ConstantElementValue((char)u1tag);
case ElementValue.TAG_ENUM_CONSTANT: return new EnumConstantElementValue();
case ElementValue.TAG_CLASS: return new ClassElementValue();
case ElementValue.TAG_ANNOTATION: return new AnnotationElementValue();
case ElementValue.TAG_ARRAY: return new ArrayElementValue();
default: throw new IllegalArgumentException("Unknown element value tag ["+u1tag+"]");
}
}
/**
* Reads a list of unsigned shorts of the given size.
*/
private int[] readUnsignedShorts(int size)
{
int[] values = new int[size];
for (int index = 0; index < size; index++)
{
values[index] = dataInput.readUnsignedShort();
}
return values;
}
}
|
BitYog/emmet | test/actions/expandAbbreviation.js | var assert = require('assert');
var editor = require('../stubs/editor');
var action = require('../../lib/action/expandAbbreviation');
function run(content) {
if (typeof content !== 'undefined') {
editor.replaceContent(content);
}
action.expandAbbreviationAction(editor);
};
describe('Expand Abbreviation action', function() {
it('should expand basic abbreviations', function() {
run('a>b${0} test');
assert.equal(editor.getContent(), '<a href=""><b></b></a> test');
});
}); |
chenxygx/PythonSimple | ReinfocementLearning/gym_demo.py | import gym
env = gym.make("CartPole-v0")
observation = env.reset()
env.render()
done = False
for _ in range(50000):
env.render()
action = env.action_space.sample()
print(env.action_space)
observation, reward, done, info = env.step(action)
if done:
observation = env.reset()
env.close()
|
rage/concepts | frontend/src/components/NavBar.js | import React, { useRef, useState } from 'react'
import { useQuery } from '@apollo/react-hooks'
import { Link as RouterLink } from 'react-router-dom'
import { makeStyles } from '@material-ui/core/styles'
import {
AppBar,
Toolbar,
Typography,
Breadcrumbs,
Link as MaterialLink,
CircularProgress,
LinearProgress,
IconButton
} from '@material-ui/core'
import { AccountCircle, NavigateNext as NavigateNextIcon } from '@material-ui/icons'
import { savingIndicator } from '../apollo/apolloClient'
import { Role } from '../lib/permissions'
import { PROJECT_BY_ID, WORKSPACE_BY_ID, COURSE_BY_ID } from '../graphql/Query'
import { useLoginStateValue } from '../lib/store'
import useRouter from '../lib/useRouter'
import { useLoadingBar } from './LoadingBar'
const Link = props => <MaterialLink {...props} component={RouterLink} />
const useStyles = makeStyles(() => ({
root: {
gridArea: 'navbar',
zIndex: 10
},
breadcrumbs: {
flexGrow: 1,
color: 'inherit'
},
savingIndicator: {
fontSize: '.6em',
color: 'rgba(255, 255, 255, 0.6)',
'&:not($loggedIn)': {
display: 'none'
}
},
loggedIn: {}
}))
const parseWorkspacePath = (workspaceId, path, prefix) => {
switch (path?.[0]) {
case 'mapper':
return [{
name: 'Mapper',
link: `${prefix}/mapper`
}, {
type: 'course',
name: 'Course',
courseId: path[1],
link: `${prefix}/mapper/${path[1]}`
}]
case 'conceptmapper':
return [{
name: 'Concept Mapper',
link: `${prefix}/conceptmapper`
}, {
type: 'course',
name: 'Course',
courseId: path[1],
link: `${prefix}/conceptmapper/${path[1]}`
}]
case 'manager':
return [{
name: 'Manager',
link: `${prefix}/manager`
}].concat(path[1] ? [path[1] !== 'common' ? {
type: 'course',
name: 'Course',
courseId: path?.[1],
link: `${prefix}/manager/${path[1]}`
} : {
name: 'Common concepts',
link: `${prefix}/manager/common`
}] : [])
case 'goals':
return [{
name: 'Goals',
link: `${prefix}/goals`
}]
case 'members':
return [{
name: 'Members',
link: `${prefix}/members`
}]
case 'heatmap':
return [{
name: 'Heatmap',
link: `${prefix}/heatmap`
}]
case 'graph':
return [{
name: 'Graph',
link: `${prefix}/graph`
}]
default:
return []
}
}
const parseProjectPath = (projectId, path, prefix) => {
switch (path?.[0]) {
case 'overview':
return [{
name: 'Overview',
link: `${prefix}/overview`
}]
case 'points':
return [{
name: 'Point Groups',
link: `${prefix}/points`
}]
case 'members':
return [{
name: 'Members',
link: `${prefix}/members`
}]
case 'clone':
return [{
name: 'Clone',
link: `${prefix}/clone`
}]
case 'statistics':
return [{
name: 'Statistics',
link: `${prefix}/statistics`
}]
case 'workspaces': {
const link = `${prefix}/workspaces/${path[1]}`
return [{
type: 'workspace',
name: 'User Workspace',
workspaceId: path[1],
link
}, ...parseWorkspacePath(path[1], path.slice(2), link)]
} case 'templates': {
const link = `${prefix}/templates/${path[1]}`
return [{
type: 'workspace',
name: 'Template',
workspaceId: path[1],
link
}, ...parseWorkspacePath(path[1], path.slice(2), link)]
} case 'merges': {
const link = `${prefix}/merges/${path[1]}`
return [{
type: 'workspace',
name: 'Merge',
workspaceId: path[1],
link
}, ...parseWorkspacePath(path[1], path.slice(2), link)]
} default:
return []
}
}
const parsePath = (path) => {
switch (path?.[0]) {
case '':
return parsePath(path.slice(1))
case 'login':
return [{ name: 'Log in' }]
case 'user':
return [{ name: 'User' }]
case 'projects': {
const link = `/projects/${path[1]}`
return [{
type: 'project',
name: 'Project',
projectId: path[1],
link
}, ...parseProjectPath(path[1], path.slice(2), link)]
} case 'workspaces': {
const link = `/workspaces/${path[1]}`
return [{
type: 'workspace',
name: 'Workspace',
workspaceId: path[1],
link
}, ...parseWorkspacePath(path[1], path.slice(2), link)]
} case 'join': {
const token = path[1]
return [{
name: `Join ${token[0] === 'w' ? 'workspace' : 'project'}`,
token,
link: `/join/${token}`
}]
}
default:
return []
}
}
const parseLocation = location => [
{ name: 'Home', link: '/' },
...parsePath(location.pathname.split('/'))
]
const pathItemId = item => item.link || item.name
const NavBar = ({ location }) => {
const [{ loggedIn, user }] = useLoginStateValue()
const [loading, setLoading] = useState(null)
const { history } = useRouter()
const loadingCache = useRef(new Set())
const prevLocation = useRef(location.pathname)
const prevPath = useRef([])
const undo = useRef([])
const { setProvider } = useLoadingBar()
setProvider({
startLoading: id => {
if (!loading && !loadingCache.current.has(id)) {
setLoading(true)
}
loadingCache.current.add(id)
},
stopLoading: id => {
if (loadingCache.current.delete(id) && loadingCache.current.size === 0) {
setLoading(false)
}
}
})
const updateHistory = newPath => {
const newUndo = [...prevPath.current, ...undo.current]
if (newPath.length >= newUndo.length) {
undo.current = []
return
}
for (let i = 0; i < newPath.length; i++) {
if (pathItemId(newUndo[0]) !== pathItemId(newPath[i])) {
undo.current = []
return
}
newUndo.shift()
}
undo.current = newUndo
undo.current.forEach(node => node.historical = true)
}
const path = parseLocation(location)
if (prevLocation.current !== location.pathname) {
updateHistory(path)
}
prevLocation.current = location.pathname
prevPath.current = path
const { workspaceId, projectId, courseId } = Object.assign({}, ...path)
const skipProjectQuery = !loggedIn || user.role < Role.STAFF || !projectId
const skipWorkspaceQuery = !loggedIn || !workspaceId
const skipCourseQuery = !loggedIn || !courseId
const projectQuery = useQuery(PROJECT_BY_ID, {
skip: skipProjectQuery,
variables: {
id: projectId
}
})
const workspaceQuery = useQuery(WORKSPACE_BY_ID, {
skip: skipWorkspaceQuery,
variables: {
id: workspaceId
}
})
const courseQuery = useQuery(COURSE_BY_ID, {
skip: skipCourseQuery,
variables: {
id: courseId
}
})
const breadcrumbLoadingSpinner = <div style={{ display: 'flex' }}>
<CircularProgress color='inherit' size={24} />
</div>
const getBreadcrumb = type => path.find(p => p.type === type)
if (!skipProjectQuery) {
getBreadcrumb('project').name = projectQuery.error
? 'Project not found'
: projectQuery.loading
? breadcrumbLoadingSpinner
: `Project: ${projectQuery.data.projectById.name}`
}
if (!skipWorkspaceQuery) {
const ws = getBreadcrumb('workspace')
ws.name = workspaceQuery.error
? `${ws.name} not found`
: workspaceQuery.loading
? breadcrumbLoadingSpinner
: `${ws.name}: ${workspaceQuery.data.workspaceById.name}`
}
if (!skipCourseQuery) {
getBreadcrumb('course').name = courseQuery.error
? 'Course not found'
: courseQuery.loading
? breadcrumbLoadingSpinner
: `Course: ${courseQuery.data.courseById.name}`
}
const classes = useStyles()
return (
<nav className={classes.root}>
<AppBar elevation={0} position='static'>
<Toolbar variant='dense'>
<style>{`
.navbar-breadcrumb-separator {
color: inherit
}
.navbar-breadcrumbs
> ol
> .MuiBreadcrumbs-separator:nth-of-type(n+${path.length * 2}):nth-of-type(even) {
color: rgba(255, 255, 255, .25)
}`
}</style>
<Breadcrumbs
separator={<NavigateNextIcon className='navbar-breadcrumb-separator' />}
className={`${classes.breadcrumbs} navbar-breadcrumbs`}
>
{[...path, ...undo.current].map(item => {
let content = item.name
if (item.link) {
content = (
<Link style={{ textDecoration: 'none' }} to={item.link} color='inherit'>
{content}
</Link>
)
}
return (
<Typography
key={item.name} variant='h6' style={{
textOverflow: 'ellipsis',
maxWidth: '20vw',
whiteSpace: 'nowrap',
overflow: 'hidden',
color: item.historical ? 'rgba(255, 255, 255, .25)' : 'inherit'
}}
>
{content}
</Typography>
)
})}
</Breadcrumbs>
<div
ref={savingIndicator}
className={`${classes.savingIndicator} ${loggedIn ? classes.loggedIn : ''}`} />
{loggedIn && <IconButton
aria-label='Account of current user'
aria-haspopup='true'
onClick={() => history.push('/user')}
color='inherit'
>
<AccountCircle />
</IconButton>}
</Toolbar>
</AppBar>
{loading && <LinearProgress color='secondary' />}
</nav>
)
}
export default NavBar
|
GantzLorran/Python | ex0098.py | <gh_stars>1-10
'''Faça um programa que tenha uma função chamada contador()
qeu receba tres parametro: inicio, fim, passo e realize a contagem
seu programa tem que realizar tres contagens atraves da função
criada:
A) de 1 a 10 de 1 em 1
B) de 10 a 0, de 2 em 2
C) um contagem personalizada'''
from time import sleep
def contador(i,f,p):
cont = i
if p < 0:
p*=-1
if p == 0:
p = 1
print(f'Contagem: de {i} até {f} de {p} em {p}')
while cont <= f:#Faz uma contagem normal
print(f'{cont}',end=' ', flush=True)
cont+=p
sleep(0.5)
while cont >= f:#Faz uma contagem de tras para frente
print(f'{cont}', end=' ', flush=True)
cont-=p
sleep(0.5)
return i,f,p
contador(1,10,1)
contador(10, 1, 2)
print('~'*10)
print('AGORA É SUA VEZ!!!')
print('~'*10)
ini = int(input('Número para início: '))
fim = int(input('Número para fim: '))
pas = int(input('Número para passo: '))
sleep(0.5)
contador(ini,fim,pas)
print('FIM!',end=' ')
|
seatsio/seatsio-js | src/Accounts/Accounts.js | const Account = require('./Account.js')
const baseUrl = '/accounts/me'
class Accounts {
constructor (client) {
this.client = client
}
/**
* @returns {Promise<Account>}
*/
retrieveMyAccount () {
return this.client.get(baseUrl).then((res) => new Account(res.data))
}
/**
* @returns {Promise<string>}
*/
regenerateSecretKey () {
return this.client.post(baseUrl + '/secret-key/actions/regenerate').then((res) => res.data.secretKey)
}
/**
* @returns {Promise<string>}
*/
regenerateDesignerKey () {
return this.client.post(baseUrl + '/designer-key/actions/regenerate').then((res) => res.data.designerKey)
}
/**
* @returns {Promise}
*/
enableDraftChartDrawings () {
return this.client.post(baseUrl + '/draft-chart-drawings/actions/enable')
}
/**
* @returns {Promise} Promise
*/
disableDraftChartDrawings () {
return this.client.post(baseUrl + '/draft-chart-drawings/actions/disable')
}
/**
* @param {string} password
* @returns {Promise} Promise
*/
changePassword (password) {
return this.client.post(baseUrl + '/actions/change-password', { password })
}
/**
* @param {number} holdPeriodInMinutes
* @returns {Promise} Promise
*/
changeHoldPeriod (holdPeriodInMinutes) {
return this.client.post(baseUrl + '/actions/change-hold-period', { holdPeriodInMinutes })
}
/**
* @param {string} key
* @param {string} value
* @returns {Promise} Promise
*/
updateSetting (key, value) {
return this.client.post(baseUrl + '/settings', { key, value })
}
}
module.exports = Accounts
|
rook2pawn/password-manager-baseweb | icons/car_check_front_filled/index.js | <reponame>rook2pawn/password-manager-baseweb
export { default as CarCheckFrontFilled } from './CarCheckFrontFilled' |
alexander-sidorov/qap-05 | hw/alexander_sidorov/lesson06/task01.py | from typing import Union
from hw.alexander_sidorov.common import Errors
from hw.alexander_sidorov.common import api
from hw.alexander_sidorov.common import typecheck
@api
@typecheck
def task_01(arg: str) -> Union[bool, Errors]:
"""
Tells if the arg is a palindrome.
"""
return arg == arg[::-1]
|
kuroudo119/RPGMZ_Plugin | KRD_MZ_Multilingual.js | /*:
* @target MZ
* @plugindesc 多言語プラグイン
* @url https://twitter.com/kuroudo119/
* @url https://github.com/kuroudo119/RPGMZ-Plugin
* @author kuroudo119 (くろうど)
*
* @param basicSection
* @text 基本設定
*
* @param argLanguage
* @text 言語一覧
* @desc 切り替え可能な言語の一覧を指定します。
* デフォルト言語を最初に設定してください。
* @default ["日本語"]
* @type string[]
* @parent basicSection
*
* @param argOptionText
* @text オプション表示名
* @desc オプション画面に表示する項目名を指定します。
* デフォルト言語を最初に設定してください。
* @default ["言語"]
* @type string[]
* @parent basicSection
*
* @param dataSection
* @text 用語系データ
*
* @param argGameTitle
* @text ゲームタイトル
* @desc 言語一覧で設定した順に設定してください。
* デフォルト言語は設定しないでください。
* @type struct<gameTitle>[]
* @parent dataSection
*
* @param argCurrencyUnit
* @text 通貨単位
* @desc 言語一覧で設定した順に設定してください。
* デフォルト言語は設定しないでください。
* @type struct<currencyUnit>[]
* @parent dataSection
*
* @param argElements
* @text 属性
* @desc 言語一覧で設定した順に設定してください。
* 対応したプラグインを使用する場合に設定してください。
* @type struct<elements>[]
* @parent dataSection
*
* @param argSkillTypes
* @text スキルタイプ
* @desc 言語一覧で設定した順に設定してください。
* デフォルト言語は設定しないでください。
* @type struct<skillTypes>[]
* @parent dataSection
*
* @param argEquipTypes
* @text 装備タイプ
* @desc 言語一覧で設定した順に設定してください。
* デフォルト言語は設定しないでください。
* @type struct<equipTypes>[]
* @parent dataSection
*
* @param argBasic
* @text 基本ステータス
* @desc 言語一覧で設定した順に設定してください。
* デフォルト言語は設定しないでください。
* @type struct<basic>[]
* @parent dataSection
*
* @param argParams
* @text 能力値
* @desc 言語一覧で設定した順に設定してください。
* デフォルト言語は設定しないでください。
* @type struct<params>[]
* @parent dataSection
*
* @param argCommands
* @text コマンド
* @desc 言語一覧で設定した順に設定してください。
* デフォルト言語は設定しないでください。
* @type struct<commands>[]
* @parent dataSection
*
* @param argMessages
* @text メッセージ
* @desc 言語一覧で設定した順に設定してください。
* デフォルト言語は設定しないでください。
* @type struct<messages>[]
* @parent dataSection
*
* @param fileSection
* @text 外部ファイル読込設定
* @desc UniqueDataLoaderプラグインを使用してjsonファイルを用意してください。制御文字は \LANGF[msg_言語番号] です。
*
* @param globalName
* @text グローバル変数名
* @desc UniqueDataLoaderプラグインで指定したグローバル変数名です。
* @default $dataUniques
* @type string
* @parent fileSection
*
* @param useExternal
* @text 外部DB取得機能
* @desc jsonファイルから文字列を取得する。DBの名前と説明のみ有効。
* @default true
* @type boolean
* @parent fileSection
*
* @command setLanguage
* @text 言語切替コマンド
* @desc 指定された番号の言語に切り替えます。
*
* @arg varLanguage
* @text 言語番号変数
* @desc この変数の値の言語番号に変更します。
* 言語番号の値は 0 始まりです。
* @default 0
* @type variable
*
* @command getLanguage
* @text 現在言語取得コマンド
* @desc 現在の言語番号を変数に入れます。
*
* @arg varLanguage
* @text 言語番号変数
* @desc この変数に言語番号を入れます。
* 言語番号の値は 0 始まりです。
* @default 0
* @type variable
*
* @help
# KRD_MZ_Multilingual.js
多言語プラグイン
## 権利表記
(c) 2021 kuroudo119 (くろうど)
## 利用規約
このプラグインはMITライセンスです。
https://github.com/kuroudo119/RPGMZ-Plugin/blob/master/LICENSE
## 使い方
### プラグインコマンド
- setLanguage 言語切替コマンド 言語を変更します。
- getLanguage 現在言語取得コマンド 言語番号を変数に取得します。
### データベース項目(メモ欄に記述)
<name_1:名前>
<nickname_1:二つ名>
<profile_1:プロフィール>
<desc_1:説明>
<message1_1:スキルのメッセージ1行目、ステートのメッセージ(アクター)>
<message2_1:スキルのメッセージ2行目、ステートのメッセージ(敵キャラ)>
<message3_1:ステートのメッセージ(継続)>
<message4_1:ステートのメッセージ(解除)>
「_1」の部分は言語番号の連番です。
### 用語
プラグインパラメータに記述します。
### イベント
プラグインコマンドで言語番号を取得し、条件分岐で切り替えます。
### 制御文字
#### LANG
制御文字 \LANG[0] が使えます。0 の部分は言語番号です。
デフォルト値として \LANG[0] を使用します。
\LANGEND までを 言語番号 0 の文字列として使用します。
以下のように設定します。
\LANG[0]はい\LANGEND\LANG[1]Yes\LANGEND\LANG[2]ええで\LANGEND
#### LANGF
制御文字 \LANGF[データ名] が使えます。
公式プラグイン UniqueDataLoader を併用し、
文章を外部jsonファイルに記述します。
## 更新履歴
- ver.0 (2021/01/26) 初版(希望者に期間限定配布)
- ver.0.0.1 (2021/03/17) 非公開版完成
- ver.1.0.0 (2021/06/02) 公開開始
- ver.1.1.0 (2021/06/04) 外部ファイル読込機能を追加
- ver.2.0.0 (2021/06/04) プロパティをゲッターに差し替え
- ver.2.0.1 (2021/06/18) コメント部分修正
- ver.2.1.0 (2021/08/25) 内部データ修正、useId 追加
- ver.2.1.1 (2021/09/28) KRD_MULTILINGUAL の宣言を即時関数外に移動
- ver.2.1.2 (2021/12/05) 使い方に追記。
- ver.2.1.3 (2021/12/07) 使い方に追記。
- ver.2.1.4 (2022/02/09) テストプレイ用の処理を追加。
- ver.2.2.0 (2022/03/06) getUseLanguage を languageText に変更。
- ver.2.2.1 (2022/03/07) LANG[0]をデフォルト値になるようにした。
- ver.3.0.0 (2022/03/11) useId を廃止して useExternal 処理を追加。
- ver.3.1.0 (2022/03/12) 全ての getData の外部データ対応した。
*
*
*/
/*~struct~gameTitle:
*
* @param gameTitle
* @text ゲームタイトル
* @desc 「ゲームタイトル」の翻訳データを設定します。
* @type string
*
*/
/*~struct~currencyUnit:
*
* @param currencyUnit
* @text 通貨単位
* @desc 「通貨単位」の翻訳データを設定します。
* @default G
* @type string
*
*/
/*~struct~elements:
*
* @param elements
* @text 属性
* @desc 「属性」の翻訳データを設定します。
* データベースと同じ個数を設定してください。
* @default ["物理","炎","氷","雷","水","土","風","光","闇"]
* @type string[]
*
*/
/*~struct~skillTypes:
*
* @param skillTypes
* @text スキルタイプ
* @desc 「スキルタイプ」の翻訳データを設定します。
* データベースと同じ個数を設定してください。
* @default ["魔法","必殺技"]
* @type string[]
*
*/
/*~struct~equipTypes:
*
* @param equipTypes
* @text 装備タイプ
* @desc 「装備タイプ」の翻訳データを設定します。
* データベースと同じ個数を設定してください。
* @default ["武器","盾","頭","身体","装飾品"]
* @type string[]
*
*/
/*~struct~basic:
*
* @param basic
* @text 基本ステータス
* @desc 「基本ステータス」の翻訳データを設定します。
* @default ["レベル","Lv","HP","HP","MP","MP","TP","TP","経験値","EXP"]
* @type string[]
*
*/
/*~struct~params:
*
* @param params
* @text 能力値
* @desc 「能力値」の翻訳データを設定します。
* @default ["最大HP","最大MP","攻撃力","防御力","魔法力","魔法防御","敏捷性","運","命中率","回避率"]
* @type string[]
*
*/
/*~struct~commands:
*
* @param commands
* @text コマンド
* @desc 「コマンド」の翻訳データを設定します。
* 「null」はそのままにしてください。
* @default ["戦う","逃げる","攻撃","防御","アイテム","スキル","装備","ステータス","並び替え","セーブ","ゲーム終了","オプション","武器","防具","大事なもの","装備","最強装備","全て外す","ニューゲーム","コンティニュー",null,"タイトルへ","やめる",null,"購入する","売却する"]
* @type string[]
*
*/
/*~struct~messages:
*
* @param alwaysDash
* @text 常時ダッシュ
* @desc 「常時ダッシュ」の翻訳データを設定します。
* @default 常時ダッシュ
* @type string
*
* @param commandRemember
* @text コマンド記憶
* @desc 「コマンド記憶」の翻訳データを設定します。
* @default コマンド記憶
* @type string
*
* @param touchUI
* @text タッチUI
* @desc タッチUI
* @default タッチUI
* @type string
*
* @param bgmVolume
* @text BGM 音量
* @desc 「BGM 音量」の翻訳データを設定します。
* @default BGM 音量
* @type string
*
* @param bgsVolume
* @text BGS 音量
* @desc 「BGS 音量」の翻訳データを設定します。
* @default BGS 音量
* @type string
*
* @param meVolume
* @text ME 音量
* @desc 「ME 音量」の翻訳データを設定します。
* @default ME 音量
* @type string
*
* @param seVolume
* @text SE 音量
* @desc 「SE 音量」の翻訳データを設定します。
* @default SE 音量
* @type string
*
* @param possession
* @text 持っている数
* @desc 「持っている数」の翻訳データを設定します。
* @default 持っている数
* @type string
*
* @param expTotal
* @text 現在の経験値
* @desc 「現在の経験値」の翻訳データを設定します。
* 「%1」は「経験値」に変換されます。
* @default 現在の%1
* @type string
*
* @param expNext
* @text 次のレベルまで
* @desc 「次のレベルまで」の翻訳データを設定します。
* 「%1」は「レベル」に変換されます。
* @default 次の%1まで
* @type string
*
* @param saveMessage
* @text セーブメッセージ
* @desc 「セーブメッセージ」の翻訳データを設定します。
* @default どのファイルにセーブしますか?
* @type string
*
* @param loadMessage
* @text ロードメッセージ
* @desc 「ロードメッセージ」の翻訳データを設定します。
* @default どのファイルをロードしますか?
* @type string
*
* @param file
* @text ファイル
* @desc 「ファイル」の翻訳データを設定します。
* @default ファイル
* @type string
*
* @param autosave
* @text オートセーブ
* @desc 「オートセーブ」の翻訳データを設定します。
* @default オートセーブ
* @type string
*
* @param partyName
* @text パーティ名
* @desc 「パーティ名」の翻訳データを設定します。
* 「%1」は先頭のアクター名に変換されます。
* @default %1たち
* @type string
*
* @param emerge
* @text 出現
* @desc 「出現」の翻訳データを設定します。
* 「%1」は敵キャラ名に変換されます。
* @default %1が出現!
* @type string
*
* @param preemptive
* @text 先制攻撃
* @desc 「先制攻撃」の翻訳データを設定します。
* 「%1」はパーティ名または先頭アクター名に変換されます。
* @default %1は先手を取った!
* @type string
*
* @param surprise
* @text 不意打ち
* @desc 「不意打ち」の翻訳データを設定します。
* 「%1」はパーティ名または先頭アクター名に変換されます。
* @default %1は不意をつかれた!
* @type string
*
* @param escapeStart
* @text 逃走開始
* @desc 「逃走開始」の翻訳データを設定します。
* 「%1」はパーティ名または先頭アクター名に変換されます。
* @default %1は逃げ出した!
* @type string
*
* @param escapeFailure
* @text 逃走失敗
* @desc 「逃走失敗」の翻訳データを設定します。
* @default しかし逃げることはできなかった!
* @type string
*
* @param victory
* @text 勝利
* @desc 「勝利」の翻訳データを設定します。
* 「%1」はパーティ名または先頭アクター名に変換されます。
* @default %1の勝利!
* @type string
*
* @param defeat
* @text 敗北
* @desc 「敗北」の翻訳データを設定します。
* 「%1」はパーティ名または先頭アクター名に変換されます。
* @default %1は戦いに敗れた。
* @type string
*
* @param obtainExp
* @text 経験値獲得
* @desc 「%1」は経験値の値に変換されます。
* 「%2」は経験値の名称に変換されます。
* @default %1 の%2を獲得!
* @type string
*
* @param obtainGold
* @text お金獲得
* @desc 「%1」は入手金額に変換されます。
* 「\\G」は通貨単位に変換されます。
* @default お金を %1\\G 手に入れた!
* @type string
*
* @param obtainItem
* @text アイテム獲得
* @desc 「アイテム獲得」の翻訳データを設定します。
* 「%1」はアイテム名に変換されます。
* @default %1を手に入れた!
* @type string
*
* @param levelUp
* @text レベルアップ
* @desc 「%1」はアクター名、「%2」はレベルの名称、
* 「%3」はレベル値に変換されます。
* @default %1は%2 %3 に上がった!
* @type string
*
* @param obtainSkill
* @text スキル習得
* @desc 「スキル習得」の翻訳データを設定します。
* 「%1」はスキル名に変換されます。
* @default %1を覚えた!
* @type string
*
* @param useItem
* @text アイテム使用
* @desc 「%1」はアクター名に変換されます。
* 「%2」はアイテム名に変換されます。
* @default %1は%2を使った!
* @type string
*
* @param criticalToEnemy
* @text 敵に会心
* @desc 「敵に会心」の翻訳データを設定します。
* @default 会心の一撃!!
* @type string
*
* @param criticalToActor
* @text 味方に会心
* @desc 「味方に会心」の翻訳データを設定します。
* @default 痛恨の一撃!!
* @type string
*
* @param actorDamage
* @text 味方ダメージ
* @desc 「%1」はアクター名に変換されます。
* 「%2」はダメージ量に変換されます。
* @default %1は %2 のダメージを受けた!
* @type string
*
* @param actorRecovery
* @text 味方回復
* @desc 「%1」はアクター名、「%2」はポイント名、
* 「%3」は回復量に変換されます。
* @default %1の%2が %3 回復した!
* @type string
*
* @param actorGain
* @text 味方ポイント増加
* @desc 「%1」はアクター名、「%2」はポイント名、
* 「%3」は増加量に変換されます。
* @default %1の%2が %3 増えた!
* @type string
*
* @param actorLoss
* @text 味方ポイント減少
* @desc 「%1」はアクター名、「%2」はポイント名、
* 「%3」は減少量に変換されます。
* @default %1の%2が %3 減った!
* @type string
*
* @param actorDrain
* @text 味方ポイント吸収
* @desc 「%1」はアクター名、「%2」はポイント名、
* 「%3」は吸収された量に変換されます。
* @default %1は%2を %3 奪われた!
* @type string
*
* @param actorNoDamage
* @text 味方ノーダメージ
* @desc 「味方ノーダメージ」の翻訳データを設定します。
* 「%1」はアクター名に変換されます。
* @default %1はダメージを受けていない!
* @type string
*
* @param actorNoHit
* @text 味方に命中せず
* @desc 「味方に命中せず」の翻訳データを設定します。
* 「%1」は対象名に変換されます。
* @default ミス! %1はダメージを受けていない!
* @type string
*
* @param enemyDamage
* @text 敵ダメージ
* @desc 「%1」は敵キャラ名に変換されます。
* 「%2」はダメージ量に変換されます。
* @default %1に %2 のダメージを与えた!
* @type string
*
* @param enemyRecovery
* @text 敵回復
* @desc 「%1」は敵キャラ名、「%2」はポイント名、
* 「%3」は回復量に変換されます。
* @default %1の%2が %3 回復した!
* @type string
*
* @param enemyGain
* @text 敵ポイント増加
* @desc 「%1」は敵キャラ名、「%2」はポイント名、
* 「%3」は増加量に変換されます。
* @default %1の%2が %3 増えた!
* @type string
*
* @param enemyLoss
* @text 敵ポイント減少
* @desc 「%1」は敵キャラ名、「%2」はポイント名、
* 「%3」は減少量に変換されます。
* @default %1の%2が %3 減った!
* @type string
*
* @param enemyDrain
* @text 敵ポイント吸収
* @desc 「%1」は敵キャラ名、「%2」はポイント名、
* 「%3」は吸収された量に変換されます。
* @default %1の%2を %3 奪った!
* @type string
*
* @param enemyNoDamage
* @text 敵ノーダメージ
* @desc 「敵ノーダメージ」の翻訳データを設定します。
* 「%1」は敵キャラ名に変換されます。
* @default %1にダメージを与えられない!
* @type string
*
* @param enemyNoHit
* @text 敵に命中せず
* @desc 「敵に命中せず」の翻訳データを設定します。
* 「%1」は対象名に変換されます。
* @default ミス! %1にダメージを与えられない!
* @type string
*
* @param evasion
* @text 回避
* @desc 「回避」の翻訳データを設定します。
* 「%1」は対象名に変換されます。
* @default %1は攻撃をかわした!
* @type string
*
* @param magicEvasion
* @text 魔法回避
* @desc 「魔法回避」の翻訳データを設定します。
* 「%1」は対象名に変換されます。
* @default %1は魔法を打ち消した!
* @type string
*
* @param magicReflection
* @text 魔法反射
* @desc 「魔法反射」の翻訳データを設定します。
* 「%1」は対象名に変換されます。
* @default %1は魔法を跳ね返した!
* @type string
*
* @param counterAttack
* @text 反撃
* @desc 「反撃」の翻訳データを設定します。
* 「%1」は対象名に変換されます。
* @default %1の反撃!
* @type string
*
* @param substitute
* @text 身代わり
* @desc 「%1」はかばったキャラ名、
* 「%2」は守られたキャラ名に変換されます。
* @default %1が%2をかばった!
* @type string
*
* @param buffAdd
* @text 強化
* @desc 「%1」はキャラ名、
* 「%2」は能力値名に変換されます。
* @default %1の%2が上がった!
* @type string
*
* @param debuffAdd
* @text 弱体
* @desc 「%1」はキャラ名、
* 「%2」は能力値名に変換されます。
* @default %1の%2が下がった!
* @type string
*
* @param buffRemove
* @text 強化・弱体の解除
* @desc 「%1」はキャラ名、
* 「%2」は能力値名に変換されます。
* @default %1の%2が元に戻った!
* @type string
*
* @param actionFailure
* @text 行動失敗
* @desc 「行動失敗」の翻訳データを設定します。
* 「%1」は対象名に変換されます。
* @default %1には効かなかった!
* @type string
*
*/
const KRD_MULTILINGUAL = {};
(() => {
"use strict";
const PLUGIN_NAME = document.currentScript.src.match(/^.*\/(.*).js$/)[1];
const PARAM = PluginManager.parameters(PLUGIN_NAME);
const LANGUAGE = JSON.parse(PARAM["argLanguage"] || null);
let OPTION_TEXT = null;
if (PARAM["argOptionText"]) {
OPTION_TEXT = JSON.parse(PARAM["argOptionText"] || null);
}
const GAME_TITLE = JSON.parse(PARAM["argGameTitle"] || null);
const CURRENCY_UNIT = JSON.parse(PARAM["argCurrencyUnit"] || null);
const ELEMENTS = JSON.parse(PARAM["argElements"] || null);
const SKILL_TYPES = JSON.parse(PARAM["argSkillTypes"] || null);
const EQUIP_TYPES = JSON.parse(PARAM["argEquipTypes"] || null);
const BASIC = JSON.parse(PARAM["argBasic"] || null);
const PARAMS = JSON.parse(PARAM["argParams"] || null);
const COMMANDS = JSON.parse(PARAM["argCommands"] || null);
const MESSAGES = JSON.parse(PARAM["argMessages"] || null);
const GLOBAL_NAME = PARAM["globalName"] || "$dataUniques";
const MSG_NAME = "msg_";
const USE_EXTERNAL = PARAM["useExternal"] === "true";
const EXTERNAL_NAME = "db_";
const OPTION_DEFAULT = 0
ConfigManager.multilingual = OPTION_DEFAULT;
//--------------------------------------
// Plugin Command for MZ
PluginManager.registerCommand(PLUGIN_NAME, "setLanguage", args => {
const varLanguage = Number(args.varLanguage);
if (isNaN(varLanguage)) {
return;
}
const value = $gameVariables.value(varLanguage);
if (value < 0 || value >= LANGUAGE.length) {
return;
}
ConfigManager.multilingual = value;
ConfigManager.save();
});
PluginManager.registerCommand(PLUGIN_NAME, "getLanguage", args => {
const varLanguage = Number(args.varLanguage);
if (isNaN(varLanguage)) {
return;
}
const value = ConfigManager.multilingual;
$gameVariables.setValue(varLanguage, value);
});
//--------------------------------------
// オプション画面
const KRD_Scene_Options_maxCommands = Scene_Options.prototype.maxCommands;
Scene_Options.prototype.maxCommands = function() {
if (OPTION_TEXT) {
return KRD_Scene_Options_maxCommands.apply(this, arguments) + 1;
} else {
return KRD_Scene_Options_maxCommands.apply(this, arguments);
}
};
const KRD_Window_Options_addGeneralOptions = Window_Options.prototype.addGeneralOptions;
Window_Options.prototype.addGeneralOptions = function() {
KRD_Window_Options_addGeneralOptions.apply(this, arguments);
if (OPTION_TEXT) {
this.addCommand(OPTION_TEXT[ConfigManager.multilingual], "multilingual");
}
};
const KRD_ConfigManager_makeData = ConfigManager.makeData;
ConfigManager.makeData = function() {
const config = KRD_ConfigManager_makeData.apply(this, arguments);
config.multilingual = this.multilingual;
return config;
};
const KRD_ConfigManager_applyData = ConfigManager.applyData;
ConfigManager.applyData = function(config) {
KRD_ConfigManager_applyData.apply(this, arguments);
this.multilingual = this.readIndex(config, "multilingual");
};
ConfigManager.readIndex = function(config, name) {
if (name in config) {
return Number(config[name]).clamp(0, LANGUAGE.length - 1);
} else {
return OPTION_DEFAULT;
}
};
const KRD_Window_Options_statusText = Window_Options.prototype.statusText;
Window_Options.prototype.statusText = function(index) {
const symbol = this.commandSymbol(index);
if (symbol !== "multilingual") {
return KRD_Window_Options_statusText.apply(this, arguments);
}
const value = this.getConfigValue(symbol);
return LANGUAGE[value];
};
const KRD_Window_Options_processOk = Window_Options.prototype.processOk;
Window_Options.prototype.processOk = function() {
const index = this.index();
const symbol = this.commandSymbol(index);
if (symbol !== "multilingual") {
KRD_Window_Options_processOk.apply(this, arguments);
return;
}
this.changeIndex(symbol, this.getConfigValue(symbol) + 1);
};
const KRD_Window_Options_cursorRight = Window_Options.prototype.cursorRight;
Window_Options.prototype.cursorRight = function() {
const index = this.index();
const symbol = this.commandSymbol(index);
if (symbol !== "multilingual") {
KRD_Window_Options_cursorRight.apply(this, arguments);
return;
}
const value = Math.min(this.getConfigValue(symbol) + 1, LANGUAGE.length - 1);
this.changeIndex(symbol, value);
};
const KRD_Window_Options_cursorLeft = Window_Options.prototype.cursorLeft;
Window_Options.prototype.cursorLeft = function() {
const index = this.index();
const symbol = this.commandSymbol(index);
if (symbol !== "multilingual") {
KRD_Window_Options_cursorLeft.apply(this, arguments);
return;
}
const value = Math.max(this.getConfigValue(symbol) - 1, 0);
this.changeIndex(symbol, value);
};
Window_Options.prototype.changeIndex = function(symbol, value) {
if (value >= LANGUAGE.length) {
value = 0;
} else if (value < 0) {
value = LANGUAGE.length - 1;
}
const lastValue = this.getConfigValue(symbol);
if (lastValue !== value) {
this.setConfigValue(symbol, value);
this.redrawItem(this.findSymbol(symbol));
this.playCursorSound();
}
};
//--------------------------------------
// 取得:アクター情報
const KRD_Game_Actor_setup = Game_Actor.prototype.setup;
Game_Actor.prototype.setup = function(actorId) {
KRD_Game_Actor_setup.apply(this, arguments);
this._initName = this._name;
this._initNickname = this._nickname;
this._initProfile = this._profile;
};
const KRD_Game_Actor_name = Game_Actor.prototype.name;
Game_Actor.prototype.name = function() {
if (this._name !== this._initName) {
// イベントで変更した場合は変更を優先する。
return KRD_Game_Actor_name.apply(this, arguments);
}
return KRD_MULTILINGUAL.getData($dataActors[this.actorId()]).name;
};
const KRD_Game_Actor_nickname = Game_Actor.prototype.nickname;
Game_Actor.prototype.nickname = function() {
if (this._nickname !== this._initNickname) {
// イベントで変更した場合は変更を優先する。
return KRD_Game_Actor_nickname.apply(this, arguments);
}
return KRD_MULTILINGUAL.getData($dataActors[this.actorId()]).nickname;
};
const KRD_Game_Actor_profile = Game_Actor.prototype.profile;
Game_Actor.prototype.profile = function() {
if (this._profile !== this._initProfile) {
// イベントで変更した場合は変更を優先する。
return KRD_Game_Actor_profile.apply(this, arguments);
}
return KRD_MULTILINGUAL.getData($dataActors[this.actorId()]).profile;
};
//--------------------------------------
// 取得:用語
const KRD_TextManager_basic = TextManager.basic;
TextManager.basic = function(id) {
const language = ConfigManager.multilingual;
if (language <= 0) {
return KRD_TextManager_basic.apply(this, arguments);
}
if (BASIC) {
const preData = JSON.parse(BASIC[language - 1]);
if (preData && preData.basic) {
const data = JSON.parse(preData.basic);
return data[id] || KRD_TextManager_basic.apply(this, arguments);
} else {
return KRD_TextManager_basic.apply(this, arguments);
}
} else {
return KRD_TextManager_basic.apply(this, arguments);
}
};
const KRD_TextManager_param = TextManager.param;
TextManager.param = function(id) {
const language = ConfigManager.multilingual;
if (language <= 0) {
return KRD_TextManager_param.apply(this, arguments);
}
if (PARAMS) {
const preData = JSON.parse(PARAMS[language - 1]);
if (preData && preData.params) {
const data = JSON.parse(preData.params);
return data[id] || KRD_TextManager_param.apply(this, arguments);
} else {
return KRD_TextManager_param.apply(this, arguments);
}
} else {
return KRD_TextManager_param.apply(this, arguments);
}
};
const KRD_TextManager_command = TextManager.command;
TextManager.command = function(id) {
const language = ConfigManager.multilingual;
if (language <= 0) {
return KRD_TextManager_command.apply(this, arguments);
}
if (COMMANDS) {
const preData = JSON.parse(COMMANDS[language - 1]);
if (preData && preData.commands) {
const data = JSON.parse(preData.commands);
return data[id] || KRD_TextManager_command.apply(this, arguments);
} else {
return KRD_TextManager_command.apply(this, arguments);
}
} else {
return KRD_TextManager_command.apply(this, arguments);
}
};
const KRD_TextManager_message = TextManager.message;
TextManager.message = function(id) {
const language = ConfigManager.multilingual;
if (language <= 0) {
return KRD_TextManager_message.apply(this, arguments);
}
if (MESSAGES) {
const data = JSON.parse(MESSAGES[language - 1]);
return data[id] || KRD_TextManager_message.apply(this, arguments);
} else {
return KRD_TextManager_message.apply(this, arguments);
}
};
Object.defineProperty(TextManager, "currencyUnit", {
get: function() {
const language = ConfigManager.multilingual;
if (language <= 0) {
return $dataSystem.currencyUnit;
}
if (CURRENCY_UNIT) {
const data = JSON.parse(CURRENCY_UNIT[language - 1]);
return data && data.currencyUnit ? data.currencyUnit : $dataSystem.currencyUnit;
} else {
return $dataSystem.currencyUnit;
}
},
configurable: true
});
//--------------------------------------
// 取得:用語(追加関数)
TextManager.skillType = function(id) {
const language = ConfigManager.multilingual;
if (language <= 0) {
return $dataSystem.skillTypes[id];
}
if (SKILL_TYPES) {
const preData = JSON.parse(SKILL_TYPES[language - 1]);
if (preData && preData.skillTypes) {
const data = JSON.parse(preData.skillTypes);
return data[id - 1] || $dataSystem.skillTypes[id];
} else {
return $dataSystem.skillTypes[id];
}
} else {
return $dataSystem.skillTypes[id];
}
};
Window_SkillType.prototype.makeCommandList = function() {
if (this._actor) {
const skillTypes = this._actor.skillTypes();
for (const stypeId of skillTypes) {
const name = TextManager.skillType(stypeId);
this.addCommand(name, "skill", true, stypeId);
}
}
};
Window_ActorCommand.prototype.addSkillCommands = function() {
const skillTypes = this._actor.skillTypes();
for (const stypeId of skillTypes) {
const name = TextManager.skillType(stypeId);
this.addCommand(name, "skill", true, stypeId);
}
};
TextManager.equipType = function(id) {
const language = ConfigManager.multilingual;
if (language <= 0) {
return $dataSystem.equipTypes[id];
}
if (EQUIP_TYPES) {
const preData = JSON.parse(EQUIP_TYPES[language - 1]);
if (preData && preData.equipTypes) {
const data = JSON.parse(preData.equipTypes);
return data[id - 1] || $dataSystem.equipTypes[id];
} else {
return $dataSystem.equipTypes[id];
}
} else {
return $dataSystem.equipTypes[id];
}
};
Window_StatusBase.prototype.actorSlotName = function(actor, index) {
const slots = actor.equipSlots();
return TextManager.equipType(slots[index]);
};
TextManager.element = function(id) {
const language = ConfigManager.multilingual;
if (language <= 0) {
return $dataSystem.elements[id];
}
if (ELEMENTS) {
const preData = JSON.parse(ELEMENTS[language - 1]);
if (preData && preData.elements) {
const data = JSON.parse(preData.elements);
return data[id - 1] || $dataSystem.elements[id];
} else {
return $dataSystem.elements[id];
}
} else {
return $dataSystem.elements[id];
}
};
//--------------------------------------
// ゲームタイトル
const KRD_Scene_Title_drawGameTitle = Scene_Title.prototype.drawGameTitle;
Scene_Title.prototype.drawGameTitle = function() {
const language = ConfigManager.multilingual;
if (language <= 0) {
KRD_Scene_Title_drawGameTitle.apply(this, arguments);
} else {
if (GAME_TITLE) {
const x = 20;
const y = Graphics.height / 4;
const maxWidth = Graphics.width - x * 2;
const data = JSON.parse(GAME_TITLE[language - 1]);
const text = data && data.gameTitle ? data.gameTitle : $dataSystem.gameTitle;
const bitmap = this._gameTitleSprite.bitmap;
bitmap.fontFace = $gameSystem.mainFontFace();
bitmap.outlineColor = "black";
bitmap.outlineWidth = 8;
bitmap.fontSize = 72;
bitmap.drawText(text, x, y, maxWidth, 48, "center");
} else {
KRD_Scene_Title_drawGameTitle.apply(this, arguments);
}
}
};
//--------------------------------------
// 制御文字追加
const KRD_Window_Base_processEscapeCharacter = Window_Base.prototype.processEscapeCharacter;
Window_Base.prototype.processEscapeCharacter = function(code, textState) {
switch (code) {
case "LANG":
this.processLanguage(textState);
break;
default:
KRD_Window_Base_processEscapeCharacter.apply(this, arguments);
}
};
Window_Base.prototype.languageText = function(text) {
return KRD_MULTILINGUAL.languageText(text);
};
Window_Base.prototype.processLanguage = function(textState) {
textState.text = this.languageText(textState.text);
textState.index = 0;
};
//--------------------------------------
// 外部ファイル読込:制御文字追加
const KRD_2_Window_Base_processEscapeCharacter = Window_Base.prototype.processEscapeCharacter;
Window_Base.prototype.processEscapeCharacter = function(code, textState) {
switch (code) {
case "LANGF":
this.changeText(code, textState);
break;
default:
KRD_2_Window_Base_processEscapeCharacter.apply(this, arguments);
}
};
Window_Base.prototype.changeText = function(code, textState) {
const language = ConfigManager.multilingual;
const start = textState.text.indexOf(`${code}[`);
const end = textState.text.indexOf("]", start);
const plus = `${code}[`.length;
const name = textState.text.slice(start + plus, end);
if (window[GLOBAL_NAME] &&
window[GLOBAL_NAME][MSG_NAME + language] &&
window[GLOBAL_NAME][MSG_NAME + language][name]) {
textState.text = window[GLOBAL_NAME][MSG_NAME + language][name];
textState.text = this.convertEscapeCharacters(textState.text);
textState.text = textState.text.replace(/\x1bn/g, "\n");
textState.index = 0;
} else {
if (textState.text.match(`[${name}]`)) {
textState.text = textState.text.slice(`[${name}]`.length);
}
}
};
//--------------------------------------
// プロパティをゲッターに差し替え
const KRD_Scene_Title_create = Scene_Title.prototype.create;
Scene_Title.prototype.create = function() {
KRD_Scene_Title_create.apply(this, arguments);
$gameSystem.resetAllData();
};
Game_System.prototype.resetAllData = function() {
$gameSystem.resetDataActors();
$gameSystem.resetDataName($dataClasses);
$gameSystem.resetDataName($dataEnemies);
$gameSystem.resetDataSkills();
$gameSystem.resetDatabase($dataItems);
$gameSystem.resetDatabase($dataWeapons);
$gameSystem.resetDatabase($dataArmors);
$gameSystem.resetDataStates();
};
Game_System.prototype.resetDataActors = function() {
$dataActors.forEach(data => {
if (data) {
data.name_0 = data.name_0 ? data.name_0 : data.name;
data.nickname_0 = data.nickname_0 ? data.nickname_0 : data.nickname;
data.profile_0 = data.profile_0 ? data.profile_0 : data.profile;
Object.defineProperties(data, {
name: {
get: function() {
return KRD_MULTILINGUAL.getData(data).name;
},
configurable: true
},
nickname: {
get: function() {
return KRD_MULTILINGUAL.getData(data).nickname;
},
configurable: true
},
profile: {
get: function() {
return KRD_MULTILINGUAL.getData(data).profile;
},
configurable: true
}
});
}
});
};
Game_System.prototype.resetDataName = function(database) {
database.forEach(data => {
if (data) {
data.name_0 = data.name_0 ? data.name_0 : data.name;
Object.defineProperties(data, {
name: {
get: function() {
return KRD_MULTILINGUAL.getData(data).name;
},
configurable: true
}
});
}
});
};
Game_System.prototype.resetDataSkills = function() {
$dataSkills.forEach(data => {
if (data) {
data.name_0 = data.name_0 ? data.name_0 : data.name;
data.desc_0 = data.desc_0 ? data.desc_0 : data.description;
data.message1_0 = data.message1_0 ? data.message1_0 : data.message1;
data.message2_0 = data.message2_0 ? data.message2_0 : data.message2;
Object.defineProperties(data, {
name: {
get: function() {
return KRD_MULTILINGUAL.getData(data).name;
},
configurable: true
},
description: {
get: function() {
return KRD_MULTILINGUAL.getData(data).description;
},
configurable: true
},
message1: {
get: function() {
return KRD_MULTILINGUAL.getData(data).message1;
},
configurable: true
},
message2: {
get: function() {
return KRD_MULTILINGUAL.getData(data).message2;
},
configurable: true
}
});
}
});
};
Game_System.prototype.resetDatabase = function(database) {
database.forEach(data => {
if (data) {
data.name_0 = data.name_0 ? data.name_0 : data.name;
data.desc_0 = data.desc_0 ? data.desc_0 : data.description;
Object.defineProperties(data, {
name: {
get: function() {
return KRD_MULTILINGUAL.getData(data).name;
},
configurable: true
},
description: {
get: function() {
return KRD_MULTILINGUAL.getData(data).description;
},
configurable: true
}
});
}
});
};
Game_System.prototype.resetDataStates = function() {
$dataStates.forEach(data => {
if (data) {
data.name_0 = data.name_0 ? data.name_0 : data.name;
data.message1_0 = data.message1_0 ? data.message1_0 : data.message1;
data.message2_0 = data.message2_0 ? data.message2_0 : data.message2;
data.message3_0 = data.message3_0 ? data.message3_0 : data.message3;
data.message4_0 = data.message4_0 ? data.message4_0 : data.message4;
Object.defineProperties(data, {
name: {
get: function() {
return KRD_MULTILINGUAL.getData(data).name;
},
configurable: true
},
message1: {
get: function() {
return KRD_MULTILINGUAL.getData(data).message1;
},
configurable: true
},
message2: {
get: function() {
return KRD_MULTILINGUAL.getData(data).message2;
},
configurable: true
},
message3: {
get: function() {
return KRD_MULTILINGUAL.getData(data).message3;
},
configurable: true
},
message4: {
get: function() {
return KRD_MULTILINGUAL.getData(data).message4;
},
configurable: true
}
});
}
});
};
//--------------------------------------
// テストプレイ用の処理
const KRD_Scene_Boot_start = Scene_Boot.prototype.start;
Scene_Boot.prototype.start = function() {
KRD_Scene_Boot_start.apply(this, arguments);
if (DataManager.isBattleTest() || DataManager.isEventTest()) {
$gameSystem.resetDataActors();
}
};
//--------------------------------------
// 共通関数 : 他のプラグインから使用可能
KRD_MULTILINGUAL.getData = function(data) {
return {
get name() {
return KRD_MULTILINGUAL.getReturnData(data, "name_", "name");
},
get nickname() {
return KRD_MULTILINGUAL.getReturnData(data, "nickname_", "nickname");
},
get profile() {
return KRD_MULTILINGUAL.getReturnData(data, "profile_", "profile_1st", "profile_2nd");
},
get description() {
return KRD_MULTILINGUAL.getReturnData(data, "desc_", "desc_1st", "desc_2nd");
},
get message1() {
return KRD_MULTILINGUAL.getReturnData(data, "message1_", "message1");
},
get message2() {
return KRD_MULTILINGUAL.getReturnData(data, "message2_", "message2");
},
get message3() {
return KRD_MULTILINGUAL.getReturnData(data, "message3_", "message3");
},
get message4() {
return KRD_MULTILINGUAL.getReturnData(data, "message4_", "message4");
},
get iconIndex() {
return data.iconIndex;
},
get id() {
return data.id;
}
};
};
KRD_MULTILINGUAL.getReturnData = function(data, key, exKey1, exKey2) {
if (USE_EXTERNAL && ConfigManager.multilingual > 0 && exKey1) {
const find = KRD_MULTILINGUAL.getExternalData(data, exKey1, exKey2);
if (find) {
return find;
}
}
return data.meta[key + ConfigManager.multilingual] || data[key + "0"] || "";
};
KRD_MULTILINGUAL.getExternalData = function(data, key, key2) {
const type = KRD_MULTILINGUAL.getType(data);
if (!type) {
return null;
}
const find = window[GLOBAL_NAME][EXTERNAL_NAME + ConfigManager.multilingual].find(ex => ex.type === type && ex.id === data.id);
if (find) {
if (key2) {
const text1 = find[key] || "";
const text2 = find[key2] || "";
return text1 + "\n" + text2;
} else {
const text1 = find[key] || "";
return text1;
}
}
return null;
};
KRD_MULTILINGUAL.getType = function(data) {
if (data) {
if (data.itypeId !== undefined) {
return "item";
} else if (data.wtypeId !== undefined) {
return "weapon";
} else if (data.atypeId !== undefined) {
return "armor";
} else if (data.stypeId !== undefined) {
return "skill";
} else if (data.initialLevel !== undefined) {
return "actor";
} else if (data.expParams !== undefined) {
return "class"
} else if (data.exp !== undefined) {
return "enemy";
} else if (data.stepsToRemove !== undefined) {
return "state";
}
}
return null;
};
KRD_MULTILINGUAL.languageText = function(text) {
if (!KRD_MULTILINGUAL.isLanguageText(text)) {
return text;
}
const language = ConfigManager.multilingual;
const regex1 = /\\LANG\[(?<language>\d+?)\](?<text>.*?)\\LANGEND/;
const regex2 = /\x1bLANG\[(?<language>\d+?)\](?<text>.*?)\x1bLANGEND/;
const regexList = [regex1, regex2];
let tmpText = text.toString();
let match = null;
let result = "";
for (const regex of regexList) {
while ((match = regex.exec(tmpText)) !== null) {
tmpText = tmpText.replace(regex, "");
if (Number(match.groups.language) === language) {
result = match.groups.text;
break;
}
if (Number(match.groups.language) === 0) {
result = match.groups.text;
}
}
}
return result;
};
KRD_MULTILINGUAL.isLanguageText = function(text) {
const regex1 = /\\LANG\[/;
const regex2 = /\x1bLANG\[/;
return !!(text.toString().match(regex1) || text.toString().match(regex2));
};
//--------------------------------------
})();
|
npocmaka/Windows-Server-2003 | net/wins/server/inc/rpl.h | #ifndef _RPL_
#define _RPL_
/*++
Copyright (c) 1989 Microsoft Corporation
Module Name:
Abstract:
Functions:
Portability:
This header is portable.
Author:
<NAME> (PradeepB) Jan-1993
Revision History:
Modification Date Person Description of Modification
------------------ ------- ---------------------------
--*/
/*
includes
*/
#include "wins.h"
#include "comm.h"
#include "nmsdb.h"
#include "winsque.h"
/*
defines
*/
/*
RPL_OPCODE_SIZE -- size of opcode in message sent between two replicators.
This define is used by rplmsgf
*/
#define RPL_OPCODE_SIZE 4 //sizeof the Opcode in an RPL message
/*
The maximum numbers of RQ WINS on a network.
*/
#define RPL_MAX_OWNERS_INITIALLY NMSDB_MAX_OWNERS_INITIALLY
/*
RPL_MAX_GRP_MEMBERS --
Maximum members allowed in a group
*/
#define RPL_MAX_GRP_MEMBERS 25
//
// We don't send more than 5000 records at a time. Note: This value is
// used to define MAX_BYTES_IN_MSG in comm.c
//
// By not having a very bug number we have a better chance for being serviced
// within our timeout period for a request. This is because of queuing that
// results when there are a lot of replication requests
//
//
#define RPL_MAX_LIMIT_FOR_RPL 5000
/*
This define is used by ReadPartnerInfo and by RplPull functions. The size
is made a multiple of 8. I could have used sizeof(LARGE_INTEGER) instead of
8 but I am not sure whether that will remain a multiple of 8 in the future.
The size is made a multiple of 8 to avoid alignment exceptions on MIPS (
check out ReadPartnerInfo in winscnf.c or GetReplicas in rplpull.c for
more details)
*/
#define RPL_CONFIG_REC_SIZE (sizeof(RPL_CONFIG_REC_T) + \
(8 - sizeof(RPL_CONFIG_REC_T)%8))
//
// check out GetDataRecs in nmsdb.c
//
#define RPL_REC_ENTRY_SIZE (sizeof(RPL_REC_ENTRY_T) + \
(8 - sizeof(RPL_REC_ENTRY_T)%8))
//
// check out GetDataRecs in nmsdb.c
//
#define RPL_REC_ENTRY2_SIZE (sizeof(RPL_REC_ENTRY2_T) + \
(8 - sizeof(RPL_REC_ENTRY2_T)%8))
//
// The following define is used to initialize the TimeInterval/UpdateCount
// field of a RPL_REC_ENTRY_T structure to indicate that it is invalid
//
#define RPL_INVALID_METRIC -1
//
// defines to indicate whether the trigger needs to be propagated to all WINS
// in the PUSH chain
//
#define RPL_PUSH_PROP TRUE //must remain TRUE since in
//NmsNmhNamRegInd, at one place
//we use fAddDiff value in place of
//this symbol. fAddDiff when TRUE
//indicates that the address has
//changed, thus initiating propagation
#define RPL_PUSH_NO_PROP FALSE
/*
macros
*/
//
// Macro called in an NBT thread after it increments the version number
// counter. This macro is supposed to be called from within the
// NmsNmhNamRegCrtSec.
//
#define RPL_PUSH_NTF_M(fAddDiff, pCtx, pNoPushWins1, pNoPushWins2) { \
if ((WinsCnf.PushInfo.NoPushRecsWValUpdCnt \
!= 0) || \
fAddDiff) \
{ \
ERplPushProc(fAddDiff, pCtx, pNoPushWins1, \
pNoPushWins2); \
} \
}
/*
FIND_ADD_BY_OWNER_ID_M - This macro is called by the PUSH thread
when sending data records to its Pull Partner. It calls this function
to determine the Address of the WINS owning the database record
The caller of this macro, if not executing in the PULL thread, must
synchronize using NmsDbOwnAddTblCrtSec (Only PULL thread updates
the NmsDbOwnAddTbl array during steady state).
I am not putting the critical section entry and exit inside this
macro for performance reasons (refer StoreGrpMems in nmsdb.c where
this macro may be called many times -once for each member of a
special group). Also refer RplMsgfFrmAddVersMapRsp() and
WinsRecordAction (in winsintf.c)
*/
#define RPL_FIND_ADD_BY_OWNER_ID_M(OwnerId, pWinsAdd, pWinsState_e, pStartVersNo) \
{ \
PNMSDB_ADD_STATE_T pWinsRec; \
if (OwnerId < NmsDbTotNoOfSlots) \
{ \
pWinsRec = pNmsDbOwnAddTbl+OwnerId; \
(pWinsAdd) = &(pWinsRec->WinsAdd); \
(pWinsState_e) = &pWinsRec->WinsState_e; \
(pStartVersNo) = &pWinsRec->StartVersNo; \
} \
else \
{ \
(pWinsAdd) = NULL; \
(pWinsState_e) = NULL; \
(pStartVersNo) = NULL; \
} \
}
//
// Names of event variables signaled when Pull and/or Push configuration
// changes
//
#define RPL_PULL_CNF_EVT_NM TEXT("RplPullCnfEvt")
#define RPL_PUSH_CNF_EVT_NM TEXT("RplPushCnfEvt")
/*
externs
*/
/*
Handle of heap used for allocating/deallocating work items for the RPL
queues
*/
extern HANDLE RplWrkItmHeapHdl;
#if 0
extern HANDLE RplRecHeapHdl;
#endif
/*
OwnerIdAddressTbl
This table stores the Addresses corresponding to different WINS servers.
In the local database, the local WINS's owner id is always 0. The owner ids
of other WINS servers are 1, 2, 3 .... The owner ids form a sequential list,
without any gap. This is because, the first time the database is created
at a WINS, it assigns sequential numbers to the other WINS.
Note: The table is static for now. We might change it to be a dynamic one
later.
*/
/*
PushPnrVersNoTbl
This table stores the Max. version number pertaining to each WINS server
owning entries in the database of Push Partners
Note: The table is static for now. We might change it to be a dynamic one
later.
*/
#if 0
extern VERS_NO_T pPushPnrVersNoTbl;
#endif
/*
OwnerVersNo -- this array stores the maximum version number for each
owner in the local database
This is used by HandleAddVersMapReq() in RplPush.c
*/
extern VERS_NO_T pRplOwnerVersNo;
extern HANDLE RplSyncWTcpThdEvtHdl; //Sync up with the TCP thread
//
// critical section to guard the RplPullOwnerVersNo array
//
extern CRITICAL_SECTION RplVersNoStoreCrtSec;
/*
typedef definitions
*/
/*
The different types of records that can be read from the registry
*/
typedef enum _RPL_RR_TYPE_E {
RPL_E_PULL = 0, // pull record
RPL_E_PUSH, //push record
RPL_E_QUERY //query record
} RPL_RR_TYPE_E, *PRPL_RR_TYPE_E;
typedef struct _RPL_VERS_NOS_T {
VERS_NO_T VersNo;
VERS_NO_T StartVersNo;
} RPL_VERS_NOS_T, *PRPL_VERS_NOS_T;
/*
RPL_CONFIG_REC_T -- Configuration record for the WINS replicator. It
specifies the Pull/Push/Query partner and associated
parameters
NOTE NOTE NOTE: Keep the datatype of UpdateCount and TimeInterval the same
(see LnkWSameMetricRecs)
*/
typedef struct _RPL_CONFIG_REC_T {
DWORD MagicNo; //Same as that in WinsCnf
COMM_ADD_T WinsAdd; /*address of partner */
LPVOID pWinsCnf; //back pointer to the old WINS struct
LONG TimeInterval; /*time interval in secs for pulling or
* pushing */
BOOL fSpTime; //indicates whether pull/push
//replication should be done at
// a specific time
LONG SpTimeIntvl; //Number of secs to specific time
LONG UpdateCount; /*Count of updates after which
*notification will be sent (applies
*only to Push RR types*/
DWORD RetryCount; //No of retries done
DWORD RetryAfterThisManyRpl; //Retry after this many rpl
//time intervals have elapsed
//from the time we stopped
//replicating due to RetryCount
//hitting the limit
time_t LastCommFailTime; //time of last comm. failure
time_t LastRplTime; //time of last replication
#if PRSCONN
time_t LastCommTime; //time of last comm.
#endif
DWORD PushNtfTries; //No of tries for establishing
//comm. in the past few minutes
//
// The two counters below have to 32 bit aligned otherwise
// the Interlock instructions will fail on x86 MP machines
//
DWORD NoOfRpls; //no of times replication
//happened with this partner
DWORD NoOfCommFails; //no of times replication
//failed due to comm failure
DWORD MemberPrec; //precedence of members of special grp
//relative to other WINS servers
struct _RPL_CONFIG_REC_T *pNext; //ptr to next rec. with same
//time interval (in case of
//of PULL record) or update
//count (in case of PUSH record)
VERS_NO_T LastVersNo; //Only valid for Push records.
//Indicates what the value of the
//local version number counter at the
//time a push notification is sent
DWORD RplType; //type of replication with this guy
BOOL fTemp; //Indicates whether it is a temp
//record that should be deallocated
//after use.
BOOL fLinked; //indicates whether the record is
//is linked to a record before it in
//the buffer of records of the same type //as this record
BOOL fOnlyDynRecs; //indicates whether only dynamic
//records should be pulled/pushed
RPL_RR_TYPE_E RRTyp_e; /*Type of record PULL/PUSH/QUERY*/
#if MCAST > 0
BOOL fSelfFnd; //indicates whether this record was self found
#endif
#if PRSCONN
BOOL fPrsConn;
COMM_HDL_T PrsDlgHdl;
#endif
} RPL_CONFIG_REC_T, *PRPL_CONFIG_REC_T;
/*
RPL_ADD_VERS_NO_T - stores the highest version No. pertaining to an owner
in the directory.
Used by GetVersNo and RplMsgUfrmAddVersMapRsp
*/
typedef struct _RPL_ADD_VERS_NO_T {
COMM_ADD_T OwnerWinsAdd;
VERS_NO_T VersNo;
VERS_NO_T StartVersNo;
} RPL_ADD_VERS_NO_T, *PRPL_ADD_VERS_NO_T;
/*
RPL_PUSHPNR_VERS_NO_T -- stores the Push Pnr Id, the id. of the owner whose
records should be pulled, and the max version
number of these records
This structure is initializes at replication time. The PULL thread
looks at this structure and sends requests to its Push partners to
pull records.
This structure is used by functions in the rplpull.c and rplmsgf.c
modules.
*/
typedef struct _RPL_PUSHPNR_VERS_NO_T {
DWORD PushPnrId;
DWORD OwnerId;
VERS_NO_T MaxVersNo;
} RPL_PUSHPNR_VERS_NO_T, *PRPL_PUSHPNR_VERS_NO_T;
FUTURES("Use NmsDbRowInfo struture")
/*
RPL_REC_ENTRY_T -- structure that holds a record in the range
Min version no - Max version no for an owner WINS
Used by RplPushHandleSndEntriesReq
Size of this structure is 68 bytes
*/
typedef struct _RPL_REC_ENTRY_T {
DWORD NameLen;
DWORD NoOfAdds;
union {
PCOMM_ADD_T pNodeAdd;
COMM_ADD_T NodeAdd[2];
};
VERS_NO_T VersNo;
DWORD TimeStamp; //used only when doing scavenging
DWORD NewTimeStamp; //used only when doing scavenging
BOOL fScv; //used only when doing scavenging
BOOL fGrp;
LPBYTE pName;
DWORD Flag;
} RPL_REC_ENTRY_T, *PRPL_REC_ENTRY_T;
// this struct is same as above plus has the ownerid.
// winsgetdatarecsbyname routine needs to know the ownerid of each
// record and so this new structure is created.
typedef struct _RPL_REC_ENTRY2_T {
DWORD NameLen;
DWORD NoOfAdds;
union {
PCOMM_ADD_T pNodeAdd;
COMM_ADD_T NodeAdd[2];
};
VERS_NO_T VersNo;
DWORD TimeStamp; //used only when doing scavenging
DWORD NewTimeStamp; //used only when doing scavenging
BOOL fScv; //used only when doing scavenging
BOOL fGrp;
LPBYTE pName;
DWORD Flag;
DWORD OwnerId;
} RPL_REC_ENTRY2_T, *PRPL_REC_ENTRY2_T;
//
// Argument to GetReplicas, EstablishComm (both in rplpull.c), and
// WinsCnfGetNextCnfRec to indicate to it how it should traverse
// the buffer of Configuration records
//
typedef enum _RPL_REC_TRAVERSAL_E {
RPL_E_VIA_LINK = 0,
RPL_E_IN_SEQ,
RPL_E_NO_TRAVERSAL
} RPL_REC_TRAVERSAL_E, *PRPL_REC_TRAVERSAL_E;
/*
function declarations
*/
extern
STATUS
ERplInit(
VOID
);
extern
STATUS
ERplInsertQue(
WINS_CLIENT_E Client_e,
QUE_CMD_TYP_E CmdTyp_e,
PCOMM_HDL_T pDlgHdl,
MSG_T pMsg,
MSG_LEN_T MsgLen,
LPVOID pClientCtx,
DWORD MagicNo
);
extern
STATUS
RplFindOwnerId (
IN PCOMM_ADD_T pWinsAdd,
IN OUT LPBOOL pfAllocNew,
OUT DWORD UNALIGNED *pOwnerId,
IN DWORD InitpAction_e,
IN DWORD MemberPrec
);
extern
VOID
ERplPushProc(
BOOL fAddDiff,
LPVOID pCtx,
PCOMM_ADD_T pNoPushWins1,
PCOMM_ADD_T pNoPushWins2
);
extern
PRPL_CONFIG_REC_T
RplGetConfigRec(
RPL_RR_TYPE_E TypeOfRec_e,
PCOMM_HDL_T pDlgHdl,
PCOMM_ADD_T pAdd
);
#if 0
extern
VOID
ERplPushCompl(
PCOMM_ADD_T pNoPushWins
);
#endif
#endif //_RPL_
|
Aerijo/latex-language-server | src/handlers/hover/HoverHandler.h | #ifndef LATEX_LANGUAGE_SERVER_HOVER_H
#define LATEX_LANGUAGE_SERVER_HOVER_H
#include <lsp-tools/Handler.h>
class HoverHandler : public RequestHandler {
public:
HoverHandler () : RequestHandler ("textDocument/hover") {};
void registerCapabilities (Init::ServerCapabilities &capabilities) override;
void run (Id &id, optional<Value> ¶ms) override;
};
#endif //LATEX_LANGUAGE_SERVER_HOVER_H
|
phatblat/macOSPrivateFrameworks | PrivateFrameworks/EmailDaemon/EDMessageQueryParser.h | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.
//
#import "NSObject.h"
@class EDMessageQueryTransformer, EDSearchableIndex, EFSQLObjectPropertyMapper, EFSearchableIndexObjectPropertyMapper;
@interface EDMessageQueryParser : NSObject
{
EDSearchableIndex *_searchableIndex;
EFSQLObjectPropertyMapper *_sqlPropertyMapper;
EFSearchableIndexObjectPropertyMapper *_searchableIndexMapper;
EDMessageQueryTransformer *_transformer;
}
+ (id)performSearchableIndexQueryPredicate:(id)arg1 propertyMapper:(id)arg2 searchableIndex:(id)arg3;
@property(readonly, nonatomic) EDMessageQueryTransformer *transformer; // @synthesize transformer=_transformer;
@property(readonly, nonatomic) EFSearchableIndexObjectPropertyMapper *searchableIndexMapper; // @synthesize searchableIndexMapper=_searchableIndexMapper;
@property(readonly, nonatomic) EFSQLObjectPropertyMapper *sqlPropertyMapper; // @synthesize sqlPropertyMapper=_sqlPropertyMapper;
@property(readonly, nonatomic) EDSearchableIndex *searchableIndex; // @synthesize searchableIndex=_searchableIndex;
- (void).cxx_destruct;
- (id)sqlQueryForQuery:(id)arg1 predicate:(id)arg2;
- (id)sqlQueryForQuery:(id)arg1;
- (id)initWithSchema:(id)arg1 protectedSchema:(id)arg2 searchableIndex:(id)arg3 accountsProvider:(id)arg4 vipManager:(id)arg5 messagePersistence:(id)arg6 mailboxPersistence:(id)arg7;
@end
|
aimbrain/aimbrain-ios-sdk | Source/Voice/AMBNCircularProgressView.h | <filename>Source/Voice/AMBNCircularProgressView.h<gh_stars>0
#import <UIKit/UIKit.h>
@interface AMBNCircularProgressView : UIView
@property(nonatomic, strong) UIColor *trackTintColor;
@property(nonatomic, assign) CGFloat trackStrokeWidth;
@property(nonatomic, strong) UIColor *progressTintColor;
@property(nonatomic, assign) CGFloat progressStrokeWidth;
- (void)setProgress:(CGFloat)progress;
- (void)setProgress:(CGFloat)progress animated:(BOOL)animated;
- (void)setProgress:(CGFloat)progress animated:(BOOL)animated withDuration:(CFTimeInterval)duration;
- (CGFloat)progress;
@end
|
hariharanragothaman/pymaster | 101/misc/complete_template.py | import os
import sys
from io import BytesIO, IOBase
_str = str
str = lambda x=b"": x if type(x) is bytes else _str(x).encode()
BUFSIZE = 8192
from collections import deque, Counter, OrderedDict
from heapq import nsmallest, nlargest, heapify, heappop, heappush, heapreplace
from math import ceil, floor, log, log2, sqrt, gcd, factorial, pow, pi
from bisect import bisect_left, bisect_right
class FastIO(IOBase):
newlines = 0
def __init__(self, file):
self._fd = file.fileno()
self.buffer = BytesIO()
self.writable = "x" in file.mode or "r" not in file.mode
self.write = self.buffer.write if self.writable else None
def read(self):
while True:
b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
if not b:
break
ptr = self.buffer.tell()
self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
self.newlines = 0
return self.buffer.read()
def readline(self):
while self.newlines == 0:
b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
self.newlines = b.count(b"\n") + (not b)
ptr = self.buffer.tell()
self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
self.newlines -= 1
return self.buffer.readline()
def flush(self):
if self.writable:
os.write(self._fd, self.buffer.getvalue())
self.buffer.truncate(0), self.buffer.seek(0)
class IOWrapper(IOBase):
def __init__(self, file):
self.buffer = FastIO(file)
self.flush = self.buffer.flush
self.writable = self.buffer.writable
self.write = lambda s: self.buffer.write(s.encode("ascii"))
self.read = lambda: self.buffer.read().decode("ascii")
self.readline = lambda: self.buffer.readline().decode("ascii")
if "PyPy" in sys.version:
from _continuation import continulet
else:
import threading
def binNumber(n, size=4):
return bin(n)[2:].zfill(size)
def iar():
return list(map(int, input().split()))
def ini():
return int(input())
def isp():
return map(int, input().split())
def sti():
return str(input())
def par(a):
print(" ".join(list(map(str, a))))
def tdl(outerListSize, innerListSize, defaultValue=0):
return [[defaultValue] * innerListSize for i in range(outerListSize)]
def sts(s):
s = list(s)
s.sort()
return "".join(s)
def bis(a, x):
i = bisect_left(a, x)
if i != len(a) and a[i] == x:
return [i, True]
else:
return [-1, False]
class pair:
def __init__(self, f, s):
self.fi = f
self.se = s
def __lt__(self, other):
return (self.fi, self.se) < (other.fi, other.se)
# ACTUAL CODE after getting Input is here
def main():
input = lambda: sys.stdin.readline().rstrip("\r\n")
values = input().split()
print(*values)
if __name__ == "__main__":
if "PyPy" in sys.version:
def bootstrap(cont):
call, arg = cont.switch()
while True:
call, arg = cont.switch(
to=continulet(lambda _, f, args: f(*args), call, arg)
)
cont = continulet(bootstrap)
cont.switch()
main()
else:
sys.setrecursionlimit(1 << 30)
threading.stack_size(1 << 27)
main_thread = threading.Thread(target=main)
main_thread.start()
main_thread.join()
|
Dennis-Koch/ambeth | jambeth/jambeth-ioc-test/src/test/java/com/koch/ambeth/AllIocTests.java | package com.koch.ambeth;
/*-
* #%L
* jambeth-ioc-test
* %%
* Copyright (C) 2017 Koch Softwaredevelopment
* %%
* 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.
* #L%
*/
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
import com.koch.ambeth.ioc.link.LinkContainerTest;
import com.koch.ambeth.ioc.performance.IocPerformanceTest;
import com.koch.ambeth.testutil.AmbethIocRunnerTest;
import com.koch.ambeth.typeinfo.PropertyInfoProviderTest;
import com.koch.ambeth.typeinfo.PropertyInfoTest;
import com.koch.ambeth.util.ClassTupleExtendableContainerPerformanceTest;
import com.koch.ambeth.util.DelegatingConversionHelperTest;
@RunWith(Suite.class)
@SuiteClasses({com.koch.ambeth.ioc.AllTests.class, AmbethIocRunnerTest.class,
ClassTupleExtendableContainerPerformanceTest.class, LinkContainerTest.class,
IocPerformanceTest.class, DelegatingConversionHelperTest.class, PropertyInfoProviderTest.class,
PropertyInfoTest.class})
public class AllIocTests {
}
|
VUEngine/VUEngine-Plugins | states/splash/SplashScreen/source/SplashScreenState/SplashScreenState.h | <reponame>VUEngine/VUEngine-Plugins
/**
* VUEngine Plugins Library
*
* (c) <NAME> and <NAME>
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
#ifndef SPLASH_SCREEN_STATE_H_
#define SPLASH_SCREEN_STATE_H_
//---------------------------------------------------------------------------------------------------------
// INCLUDES
//---------------------------------------------------------------------------------------------------------
#include <GameState.h>
#include "../config.h"
//---------------------------------------------------------------------------------------------------------
// CLASS'S ENUMS
//---------------------------------------------------------------------------------------------------------
enum SplashScreenMessageTypes
{
kMessageAllowUserInput = kMessageLastEngine + 1
};
//---------------------------------------------------------------------------------------------------------
// CLASS'S DECLARATION
//---------------------------------------------------------------------------------------------------------
abstract class SplashScreenState : GameState
{
// state to enter after this one
GameState nextState;
// spec of screen's stage
StageSpec* stageSpec;
void constructor();
void loadNextState();
void setNextState(GameState nextState);
virtual void initNextState();
virtual void print();
override bool processMessage(void* owner, Telegram telegram);
override void enter(void* owner);
override void exit(void* owner);
override void suspend(void* owner);
override void resume(void* owner);
override void processUserInput(UserInput userInput);
}
#endif
|
jenkinsci/analysis-runner | src/main/java/edu/hm/hafner/NeedBraces3Superclass.java | <filename>src/main/java/edu/hm/hafner/NeedBraces3Superclass.java
package edu.hm.hafner;
/**
* Document type NeedBraces3Superclass.
*
* @author <NAME>uml;stl
*/
public class NeedBraces3Superclass {
} |
czen/open-ops | source/Transforms/DataDistribution/BlockAffineDataDistributionParameters.cpp | <filename>source/Transforms/DataDistribution/BlockAffineDataDistributionParameters.cpp
#include "Transforms/DataDistribution/BlockAffineDataDistributionParameters.h"
#include "Reprise/Reprise.h"
#include <sstream>
namespace OPS
{
namespace Transforms
{
namespace DataDistribution
{
bool BADDParameters::isValid()
{
if(P <= 0)
return false;
if(d.size() != dims.size() || d.size() + 1 != s.size())
return false;
for(ParametersContainer::size_type i = 0; i < dims.size(); ++i)
{
if(dims[i] <= 0 || d[i] <= 0)
return false;
}
return true;
}
bool BADDParameters::isNormalized()
{
if(!isValid())
return false;
for(ParametersContainer::size_type i = 0; i < dims.size(); ++i)
{
if(s[i] <= 0 || s[i] > P)
return false;
if(d[i] > dims[i])
return false;
if(!(d[i] == dims[i] && s[i] == P || d[i] != dims[i] && s[i] != P))
return false;
}
return true;
}
void BADDParameters::normalize()
{
OPS_ASSERT(isValid());
for(ParametersContainer::size_type i = 0; i < dims.size(); ++i)
{
if(d[i] >= dims[i])
{
d[i] = dims[i];
s[i] = P;
}
if(s[i] <= 0)
{
s[i] = (-s[i])%P == 0 ? P : s[i] + ((int)(-s[i]/P))*P + P;
}
OPS_ASSERT(s[i] > 0);
if(s[i] > P)
{
s[i] = s[i]%P == 0 ? P : s[i] - ((int)(s[i]/P))*P;
}
OPS_ASSERT(s[i] > 0 && s[i] <= P)
if(s[i] == P)
{
d[i] = dims[i];
}
}
}
BADDParameters::ParameterValue BADDParameters::getProcessNumberByBlockIndex(const BADDParameters::MultyIndex& multyIndex)
{
OPS_ASSERT(isNormalized());
OPS_ASSERT(dims.size() == multyIndex.size());
ParameterValue result = 0;
for(MultyIndex::size_type i = 0; i < multyIndex.size(); ++i)
{
result = result + multyIndex[i] * s[i];
}
return result % P;
}
BADDParameters::MultyIndexList BADDParameters::getBlocksMultyIndecesInCell()
{
OPS_ASSERT(isNormalized());
MultyIndexList result;
ParameterValue blocksInCell = getBlocksCountInCell();
for(ParameterValue i = 0; i < blocksInCell; ++i)
{
MultyIndex blockIndexInCell(dims.size());
ParameterValue j = i;
for(BADDParameters::ParametersContainer::size_type k = 0; k < dims.size(); ++k)
{
ParameterValue cellWidthInBlocks = getCellWidthInBlocks(dims.size() - k - 1);
blockIndexInCell[dims.size() - k - 1] = j % cellWidthInBlocks;
j = j / cellWidthInBlocks;
}
result.push_back(blockIndexInCell);
}
return result;
}
BADDParameters::MultyIndexList BADDParameters::getBlocksMultyIndecesOfProcessInCell(const BADDParameters::MultyIndexList& allMultyIndeces, BADDParameters::ParameterValue processNumber)
{
OPS_ASSERT(isNormalized());
MultyIndexList result;
for(MultyIndexList::const_iterator it = allMultyIndeces.begin(); it != allMultyIndeces.end(); ++it)
{
if(getProcessNumberByBlockIndex(*it) == processNumber)
{
result.push_back(*it);
}
}
return result;
}
BADDParameters::ParameterValue BADDParameters::getElementsInBlockCount()
{
OPS_ASSERT(isNormalized());
ParameterValue result = 1;
for(BADDParameters::ParametersContainer::size_type i = 0; i < dims.size(); ++i)
{
result = result * d[i];
}
return result;
}
BADDParameters::ParameterValue BADDParameters::getWidthInCells(int dimention)
{
OPS_ASSERT(isNormalized());
OPS_ASSERT((BADDParameters::ParametersContainer::size_type)dimention >= 0 && (BADDParameters::ParametersContainer::size_type)dimention < dims.size());
return dims[dimention] / (d[dimention] * getCellWidthInBlocks(dimention));
}
BADDParameters::ParameterValue BADDParameters::getCellWidthInBlocks(int dimention)
{
OPS_ASSERT(isNormalized());
OPS_ASSERT((BADDParameters::ParametersContainer::size_type)dimention >= 0 && (BADDParameters::ParametersContainer::size_type)dimention < dims.size());
return P / getGreatestCommonDivisor(P, s[dimention]);
}
BADDParameters::ParameterValue BADDParameters::getCellsCount()
{
OPS_ASSERT(isNormalized());
ParameterValue result = 1;
for(BADDParameters::ParametersContainer::size_type i = 0; i < dims.size(); ++i)
{
result = result * getWidthInCells(i);
}
return result;
}
BADDParameters::ParameterValue BADDParameters::getElementsInEachProcessorCount(int leadingDimention)
{
OPS_ASSERT(isNormalized());
OPS_ASSERT((BADDParameters::ParametersContainer::size_type)leadingDimention >= 0 && (BADDParameters::ParametersContainer::size_type)leadingDimention < dims.size());
return getBlocksInEachProcessorCount(leadingDimention) * getElementsInBlockCount();
}
BADDParameters::ParameterValue BADDParameters::getBlocksCountInCell()
{
OPS_ASSERT(isNormalized());
ParameterValue result = 1;
for(BADDParameters::ParametersContainer::size_type i = 0; i < dims.size(); ++i)
{
result = result * getCellWidthInBlocks(i);
}
return result;
}
BADDParameters::ParameterValue BADDParameters::getGreatestCommonDivisor(BADDParameters::ParameterValue m, BADDParameters::ParameterValue n)
{
while(m != 0 && n != 0)
{
if(m >= n) m = m%n;
else n = n%m;
}
return n + m; // Одно - ноль
}
bool BADDParameters::Parse( std::string str, BADDParameters& outputParameters )
{
if(str.length() == 0)
return false;
std::string tmpStr = str + ',';
int semiIndex = tmpStr.find(',');
if(semiIndex == -1)
return false;
int P = atoi(tmpStr.substr(0, semiIndex).c_str());
tmpStr = tmpStr.substr(semiIndex + 1);
outputParameters.P = P;
semiIndex = tmpStr.find(',');
if(semiIndex == -1)
return false;
int dimentionsCount = atoi(tmpStr.substr(0, semiIndex).c_str());
tmpStr = tmpStr.substr(semiIndex + 1);
outputParameters.a.resize(dimentionsCount);
outputParameters.d.resize(dimentionsCount);
outputParameters.dims.resize(dimentionsCount);
outputParameters.s.resize(dimentionsCount + 1);
// dims
for (int i = 0; i < dimentionsCount; ++i)
{
semiIndex = tmpStr.find(',');
if(semiIndex == -1)
return false;
outputParameters.dims[i] = atoi(tmpStr.substr(0, semiIndex).c_str());
tmpStr = tmpStr.substr(semiIndex + 1);
}
// d
for (int i = 0; i < dimentionsCount; ++i)
{
semiIndex = tmpStr.find(',');
if(semiIndex == -1)
return false;
outputParameters.d[i] = atoi(tmpStr.substr(0, semiIndex).c_str());
tmpStr = tmpStr.substr(semiIndex + 1);
}
// s
for (int i = 0; i < dimentionsCount + 1; ++i)
{
semiIndex = tmpStr.find(',');
if(semiIndex == -1)
return false;
outputParameters.s[i] = atoi(tmpStr.substr(0, semiIndex).c_str());
tmpStr = tmpStr.substr(semiIndex + 1);
}
// a
for (int i = 0; i < dimentionsCount; ++i)
{
semiIndex = tmpStr.find(',');
if(semiIndex == -1)
return false;
outputParameters.a[i] = atoi(tmpStr.substr(0, semiIndex).c_str());
tmpStr = tmpStr.substr(semiIndex + 1);
}
return true;
}
BADDParameters::ParametersContainer::size_type BADDParameters::getLeadingDimentionWithLessMemoryDemand()
{
OPS_ASSERT(isNormalized());
ParametersContainer::size_type result = 0;
ParameterValue minElementsInEachProcessorCount = getElementsInEachProcessorCount(0);
for(ParametersContainer::size_type i = 1; i < dims.size(); ++i)
{
ParameterValue currentElementsInEachProcessorCount = getElementsInEachProcessorCount(i);
if (currentElementsInEachProcessorCount < minElementsInEachProcessorCount)
{
result = i;
minElementsInEachProcessorCount = currentElementsInEachProcessorCount;
}
}
return result;
}
BADDParameters::ParameterValue BADDParameters::getBlocksInEachProcessorCount( int leadingDimention )
{
OPS_ASSERT(isNormalized());
OPS_ASSERT((BADDParameters::ParametersContainer::size_type)leadingDimention >= 0 && (BADDParameters::ParametersContainer::size_type)leadingDimention < dims.size());
if (dims.size() == 1)
{
return getCellsCount();
}
return getCellsCount() * getCellWidthInBlocks(leadingDimention);
}
bool BADDParametersFamily::areBelongToOneFamily( BADDParameters& parameter1, BADDParameters& parameter2 )
{
OPS_ASSERT(parameter1.isNormalized());
OPS_ASSERT(parameter2.isNormalized());
if(parameter1.P != parameter2.P)
return false;
if(parameter1.dims.size() != parameter2.dims.size())
return false;
for(BADDParametersContainer::size_type i = 0; i < parameter1.dims.size(); ++i)
{
if(!(parameter1.d[i] == parameter2.d[i] && parameter1.s[i] == parameter2.s[i] && parameter1.dims[i] == parameter2.dims[i]))
return false;
}
if(parameter1.s[parameter1.dims.size()] != parameter2.s[parameter2.dims.size()])
return false;
return true;
}
bool BADDParametersFamily::areBelongToOneFamily( BADDParametersContainer& parameters )
{
OPS_ASSERT(parameters.size() > 0);
OPS_ASSERT(parameters[0].isNormalized());
for(BADDParametersContainer::size_type i = 0; i < parameters.size(); ++i)
{
OPS_ASSERT(parameters[i].isNormalized());
if(!areBelongToOneFamily(parameters[0], parameters[i]))
return false;
}
return true;
}
void BADDParametersFamily::makeShiftContribution( ParametersContainer& shiftParameters )
{
OPS_ASSERT(shiftParameters.size() == dims.size());
OPS_ASSERT(leftOverlapping.size() == dims.size());
OPS_ASSERT(rightOverlapping.size() == dims.size());
for (BADDParametersContainer::size_type i = 0; i < dims.size(); ++i)
{
if(shiftParameters[i] > 0 && rightOverlapping[i] < shiftParameters[i])
{
rightOverlapping[i] = shiftParameters[i];
}
else if(shiftParameters[i] < 0 && leftOverlapping[i] < -shiftParameters[i])
{
leftOverlapping[i] = -shiftParameters[i];
}
}
}
BADDParametersFamily::BADDParametersFamily( BADDParametersContainer& parameters )
{
OPS_ASSERT(parameters.size() > 0);
OPS_ASSERT(parameters[0].isNormalized());
P = parameters[0].P;
dims = parameters[0].dims;
for(BADDParametersContainer::size_type i = 1; i < parameters.size(); ++i)
{
OPS_ASSERT(parameters[i].isNormalized());
OPS_ASSERT(BADDParametersFamily::areBelongToOneFamily(parameters[0], parameters[i]));
}
d = parameters[0].d;
s = parameters[0].s;
leftOverlapping.resize(dims.size(), 0);
rightOverlapping.resize(dims.size(), 0);
makeShiftContribution(parameters[0].a);
for(BADDParametersContainer::size_type i = 1; i < parameters.size(); ++i)
{
OPS_ASSERT(parameters[i].isNormalized());
OPS_ASSERT(BADDParametersFamily::areBelongToOneFamily(parameters[0], parameters[i]));
makeShiftContribution(parameters[i].a);
}
}
BADDParametersFamily::ParameterValue BADDParametersFamily::getProcessNumberByBlockIndex(const BADDParametersFamily::MultyIndex& multyIndex)
{
OPS_ASSERT(dims.size() == multyIndex.size());
ParameterValue result = 0;
for(MultyIndex::size_type i = 0; i < multyIndex.size(); ++i)
{
result = result + multyIndex[i] * s[i];
}
return result % P;
}
BADDParametersFamily::MultyIndexList BADDParametersFamily::getBlocksMultyIndecesInCell()
{
MultyIndexList result;
ParameterValue blocksInCell = getBlocksCountInCell();
for(ParameterValue i = 0; i < blocksInCell; ++i)
{
MultyIndex blockIndexInCell(dims.size());
ParameterValue j = i;
for(ParametersContainer::size_type k = 0; k < dims.size(); ++k)
{
ParameterValue cellWidthInBlocks = getCellWidthInBlocks(dims.size() - k - 1);
blockIndexInCell[dims.size() - k - 1] = j % cellWidthInBlocks;
j = j / cellWidthInBlocks;
}
result.push_back(blockIndexInCell);
}
return result;
}
BADDParametersFamily::MultyIndexList BADDParametersFamily::getBlocksMultyIndecesOfProcessInCell(const BADDParametersFamily::MultyIndexList& allMultyIndeces, ParameterValue processNumber)
{
MultyIndexList result;
for(MultyIndexList::const_iterator it = allMultyIndeces.begin(); it != allMultyIndeces.end(); ++it)
{
if(getProcessNumberByBlockIndex(*it) == processNumber)
{
result.push_back(*it);
}
}
return result;
}
BADDParametersFamily::ParameterValue BADDParametersFamily::getElementsInBlockCount()
{
ParameterValue result = 1;
for(BADDParametersFamily::ParametersContainer::size_type i = 0; i < dims.size(); ++i)
{
result = result * (d[i] + leftOverlapping[i] + rightOverlapping[i]);
}
return result;
}
BADDParametersFamily::ParameterValue BADDParametersFamily::getWidthInCells(int dimention)
{
OPS_ASSERT((BADDParametersFamily::ParametersContainer::size_type)dimention >= 0 && (BADDParametersFamily::ParametersContainer::size_type)dimention < dims.size());
return dims[dimention] / (d[dimention] * getCellWidthInBlocks(dimention));
}
BADDParametersFamily::ParameterValue BADDParametersFamily::getCellWidthInBlocks(int dimention)
{
OPS_ASSERT((BADDParametersFamily::ParametersContainer::size_type)dimention >= 0 && (BADDParametersFamily::ParametersContainer::size_type)dimention < dims.size());
return P / getGreatestCommonDivisor(P, s[dimention]);
}
BADDParametersFamily::ParameterValue BADDParametersFamily::getCellsCount()
{
ParameterValue result = 1;
for(BADDParametersFamily::ParametersContainer::size_type i = 0; i < dims.size(); ++i)
{
result = result * getWidthInCells(i);
}
return result;
}
BADDParametersFamily::ParameterValue BADDParametersFamily::getElementsInEachProcessorCount(int leadingDimention)
{
OPS_ASSERT((BADDParametersFamily::ParametersContainer::size_type)leadingDimention >= 0 && (BADDParametersFamily::ParametersContainer::size_type)leadingDimention < dims.size());
return getBlocksInEachProcessorCount(leadingDimention) * getElementsInBlockCount();
}
BADDParametersFamily::ParameterValue BADDParametersFamily::getBlocksCountInCell()
{
ParameterValue result = 1;
for(BADDParametersFamily::ParametersContainer::size_type i = 0; i < dims.size(); ++i)
{
result = result * getCellWidthInBlocks(i);
}
return result;
}
BADDParametersFamily::ParameterValue BADDParametersFamily::getGreatestCommonDivisor(ParameterValue m, ParameterValue n)
{
while(m != 0 && n != 0)
{
if(m >= n) m = m%n;
else n = n%m;
}
return n + m; // Одно - ноль
}
BADDParametersFamily::ParameterValue BADDParametersFamily::getBlocksInEachProcessorCount( int leadingDimention )
{
OPS_ASSERT((BADDParametersFamily::ParametersContainer::size_type)leadingDimention >= 0 && (BADDParametersFamily::ParametersContainer::size_type)leadingDimention < dims.size());
if (dims.size() == 1)
{
return getCellsCount();
}
return getCellsCount() * getCellWidthInBlocks(leadingDimention);
}
std::string BADDParametersFamily::toString()
{
std::stringstream ss;
ss<<P<<','<<dims.size()<<',';
for(size_t i = 0; i < dims.size(); ++i)
{
ss<<dims[i]<<",";
}
for(size_t i = 0; i < d.size(); ++i)
{
ss<<d[i]<<",";
}
for(size_t i = 0; i < s.size(); ++i)
{
ss<<s[i]<<",";
}
for(size_t i = 0; i < leftOverlapping.size(); ++i)
{
ss<<leftOverlapping[i]<<",";
}
for(size_t i = 0; i < rightOverlapping.size() - 1; ++i)
{
ss<<rightOverlapping[i]<<",";
}
ss<<rightOverlapping[rightOverlapping.size() - 1];
return ss.str();
}
bool BADDParametersFamily::Parse(std::string str, BADDParametersFamily& outputParameters)
{
if(str.length() == 0)
return false;
std::string tmpStr = str + ',';
int semiIndex = tmpStr.find(',');
if(semiIndex == -1)
return false;
int P = atoi(tmpStr.substr(0, semiIndex).c_str());
tmpStr = tmpStr.substr(semiIndex + 1);
outputParameters.P = P;
semiIndex = tmpStr.find(',');
if(semiIndex == -1)
return false;
int dimentionsCount = atoi(tmpStr.substr(0, semiIndex).c_str());
tmpStr = tmpStr.substr(semiIndex + 1);
outputParameters.leftOverlapping.resize(dimentionsCount);
outputParameters.rightOverlapping.resize(dimentionsCount);
outputParameters.d.resize(dimentionsCount);
outputParameters.dims.resize(dimentionsCount);
outputParameters.s.resize(dimentionsCount + 1);
// dims
for (int i = 0; i < dimentionsCount; ++i)
{
semiIndex = tmpStr.find(',');
if(semiIndex == -1)
return false;
outputParameters.dims[i] = atoi(tmpStr.substr(0, semiIndex).c_str());
tmpStr = tmpStr.substr(semiIndex + 1);
}
// d
for (int i = 0; i < dimentionsCount; ++i)
{
semiIndex = tmpStr.find(',');
if(semiIndex == -1)
return false;
outputParameters.d[i] = atoi(tmpStr.substr(0, semiIndex).c_str());
tmpStr = tmpStr.substr(semiIndex + 1);
}
// s
for (int i = 0; i < dimentionsCount + 1; ++i)
{
semiIndex = tmpStr.find(',');
if(semiIndex == -1)
return false;
outputParameters.s[i] = atoi(tmpStr.substr(0, semiIndex).c_str());
tmpStr = tmpStr.substr(semiIndex + 1);
}
// left
for (int i = 0; i < dimentionsCount; ++i)
{
semiIndex = tmpStr.find(',');
if(semiIndex == -1)
return false;
outputParameters.leftOverlapping[i] = atoi(tmpStr.substr(0, semiIndex).c_str());
tmpStr = tmpStr.substr(semiIndex + 1);
}
// right
for (int i = 0; i < dimentionsCount; ++i)
{
semiIndex = tmpStr.find(',');
if(semiIndex == -1)
return false;
outputParameters.leftOverlapping[i] = atoi(tmpStr.substr(0, semiIndex).c_str());
tmpStr = tmpStr.substr(semiIndex + 1);
}
return true;
}
}
}
}
|
ScalablyTyped/SlinkyTyped | a/amap-js-api-arrival-range/src/main/scala/typingsSlinky/amapJsApiArrivalRange/amapJsApiArrivalRangeStrings.scala | <filename>a/amap-js-api-arrival-range/src/main/scala/typingsSlinky/amapJsApiArrivalRange/amapJsApiArrivalRangeStrings.scala
package typingsSlinky.amapJsApiArrivalRange
import typingsSlinky.amapJsApiArrivalRange.AMap.ArrivalRange.SearchStatus
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
object amapJsApiArrivalRangeStrings {
@js.native
sealed trait complete extends SearchStatus
@scala.inline
def complete: complete = "complete".asInstanceOf[complete]
@js.native
sealed trait coverage extends StObject
@scala.inline
def coverage: coverage = "coverage".asInstanceOf[coverage]
@js.native
sealed trait error extends SearchStatus
@scala.inline
def error: error = "error".asInstanceOf[error]
@js.native
sealed trait no_data extends SearchStatus
@scala.inline
def no_data: no_data = "no_data".asInstanceOf[no_data]
@js.native
sealed trait polygon extends StObject
@scala.inline
def polygon: polygon = "polygon".asInstanceOf[polygon]
}
|
alipay/antchain-openapi-prod-sdk | blockchain/java/src/main/java/com/antgroup/antchain/openapi/blockchain/models/AddVC.java | <reponame>alipay/antchain-openapi-prod-sdk
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.blockchain.models;
import com.aliyun.tea.*;
public class AddVC extends TeaModel {
// vc原文hash
@NameInMap("content_hash")
@Validation(required = true)
public String contentHash;
// issuer后缀的hash值
@NameInMap("issuer_hash")
@Validation(required = true)
public String issuerHash;
// valid or invalid
@NameInMap("status")
@Validation(required = true)
public String status;
// 接收者后缀hash值
@NameInMap("subject_hash")
@Validation(required = true)
public String subjectHash;
// 可验证声明id
@NameInMap("vc_id")
@Validation(required = true)
public String vcId;
public static AddVC build(java.util.Map<String, ?> map) throws Exception {
AddVC self = new AddVC();
return TeaModel.build(map, self);
}
public AddVC setContentHash(String contentHash) {
this.contentHash = contentHash;
return this;
}
public String getContentHash() {
return this.contentHash;
}
public AddVC setIssuerHash(String issuerHash) {
this.issuerHash = issuerHash;
return this;
}
public String getIssuerHash() {
return this.issuerHash;
}
public AddVC setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public AddVC setSubjectHash(String subjectHash) {
this.subjectHash = subjectHash;
return this;
}
public String getSubjectHash() {
return this.subjectHash;
}
public AddVC setVcId(String vcId) {
this.vcId = vcId;
return this;
}
public String getVcId() {
return this.vcId;
}
}
|
JonZhang3/QueryFlow | src/main/java/com/queryflow/log/log4j2/Log4j2Impl.java | package com.queryflow.log.log4j2;
import com.queryflow.log.Log;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.spi.AbstractLogger;
public class Log4j2Impl implements Log {
private Log log;
public Log4j2Impl(String clazz) {
Logger logger = LogManager.getLogger(clazz);
if (logger instanceof AbstractLogger) {
log = new Log4j2AbstractLoggerImpl((AbstractLogger) logger);
} else {
log = new Log4j2LoggerImpl(logger);
}
}
@Override
public boolean isDebugEnabled() {
return log.isDebugEnabled();
}
@Override
public boolean isTraceEnabled() {
return log.isTraceEnabled();
}
@Override
public void error(String s, Throwable e) {
log.error(s, e);
}
@Override
public void error(String s) {
log.error(s);
}
@Override
public void error(Throwable e) {
log.error(e);
}
@Override
public void debug(String s) {
if (isDebugEnabled()) {
log.debug(s);
}
}
@Override
public void debug(String s, Throwable e) {
if (isDebugEnabled()) {
log.debug(s, e);
}
}
@Override
public void trace(String s) {
log.trace(s);
}
@Override
public void warn(String s) {
log.warn(s);
}
@Override
public void info(String msg) {
log.info(msg);
}
}
|
alexis-rodriguez/vectorbt | tests/test_labels.py | <filename>tests/test_labels.py
import numpy as np
import pandas as pd
from datetime import datetime
import vectorbt as vbt
close_ts = pd.DataFrame({
'a': [1, 2, 1, 2, 3, 2],
'b': [3, 2, 3, 2, 1, 2]
}, index=pd.Index([
datetime(2020, 1, 1),
datetime(2020, 1, 2),
datetime(2020, 1, 3),
datetime(2020, 1, 4),
datetime(2020, 1, 5),
datetime(2020, 1, 6)
]))
pos_ths = [np.array([1, 1 / 2]), np.array([2, 1 / 2]), np.array([3, 1 / 2])]
neg_ths = [np.array([1 / 2, 1 / 3]), np.array([1 / 2, 2 / 3]), np.array([1 / 2, 3 / 4])]
# ############# Global ############# #
def setup_module():
vbt.settings.numba['check_func_suffix'] = True
vbt.settings.caching.enabled = False
vbt.settings.caching.whitelist = []
vbt.settings.caching.blacklist = []
def teardown_module():
vbt.settings.reset()
# ############# generators.py ############# #
class TestGenerators:
def test_FMEAN(self):
pd.testing.assert_frame_equal(
vbt.FMEAN.run(close_ts, window=(2, 3), ewm=False).fmean,
pd.DataFrame(
np.array([
[1.5, 2.5, 1.6666666666666667, 2.3333333333333335],
[1.5, 2.5, 2.0, 2.0],
[2.5, 1.5, 2.3333333333333335, 1.6666666666666667],
[2.5, 1.5, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
(2, False, 'a'),
(2, False, 'b'),
(3, False, 'a'),
(3, False, 'b'),
], names=['fmean_window', 'fmean_ewm', None])
)
)
pd.testing.assert_frame_equal(
vbt.FMEAN.run(close_ts, window=(2, 3), ewm=True).fmean,
pd.DataFrame(
np.array([
[1.8024691358024691, 2.197530864197531, 1.8125, 2.1875],
[1.4074074074074074, 2.5925925925925926, 1.625, 2.375],
[2.2222222222222223, 1.7777777777777777, 2.25, 1.75],
[2.666666666666667, 1.3333333333333335, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
(2, True, 'a'),
(2, True, 'b'),
(3, True, 'a'),
(3, True, 'b'),
], names=['fmean_window', 'fmean_ewm', None])
)
)
def test_FSTD(self):
pd.testing.assert_frame_equal(
vbt.FSTD.run(close_ts, window=(2, 3), ewm=False).fstd,
pd.DataFrame(
np.array([
[0.5, 0.5, 0.4714045207910384, 0.4714045207910183],
[0.5, 0.5, 0.816496580927726, 0.816496580927726],
[0.5, 0.5, 0.4714045207910183, 0.4714045207910384],
[0.5, 0.5, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
(2, False, 'a'),
(2, False, 'b'),
(3, False, 'a'),
(3, False, 'b'),
], names=['fstd_window', 'fstd_ewm', None])
)
)
pd.testing.assert_frame_equal(
vbt.FSTD.run(close_ts, window=(2, 3), ewm=True).fstd,
pd.DataFrame(
np.array([
[0.64486716348143, 0.6448671634814303, 0.6462561866810479, 0.6462561866810479],
[0.8833005039168617, 0.8833005039168604, 0.8591246929842246, 0.8591246929842246],
[0.5916079783099623, 0.5916079783099623, 0.5477225575051662, 0.5477225575051662],
[0.7071067811865476, 0.7071067811865476, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
(2, True, 'a'),
(2, True, 'b'),
(3, True, 'a'),
(3, True, 'b'),
], names=['fstd_window', 'fstd_ewm', None])
)
)
def test_FMIN(self):
pd.testing.assert_frame_equal(
vbt.FMIN.run(close_ts, window=(2, 3)).fmin,
pd.DataFrame(
np.array([
[1.0, 2.0, 1.0, 2.0],
[1.0, 2.0, 1.0, 1.0],
[2.0, 1.0, 2.0, 1.0],
[2.0, 1.0, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
(2, 'a'),
(2, 'b'),
(3, 'a'),
(3, 'b'),
], names=['fmin_window', None])
)
)
def test_FMAX(self):
pd.testing.assert_frame_equal(
vbt.FMAX.run(close_ts, window=(2, 3)).fmax,
pd.DataFrame(
np.array([
[2.0, 3.0, 2.0, 3.0],
[2.0, 3.0, 3.0, 3.0],
[3.0, 2.0, 3.0, 2.0],
[3.0, 2.0, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
(2, 'a'),
(2, 'b'),
(3, 'a'),
(3, 'b'),
], names=['fmax_window', None])
)
)
def test_FIXLB(self):
pd.testing.assert_frame_equal(
vbt.FIXLB.run(close_ts, n=(2, 3)).labels,
pd.DataFrame(
np.array([
[0.0, 0.0, 1.0, -0.3333333333333333],
[0.0, 0.0, 0.5, -0.5],
[2.0, -0.6666666666666666, 1.0, -0.3333333333333333],
[0.0, 0.0, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
(2, 'a'),
(2, 'b'),
(3, 'a'),
(3, 'b'),
], names=['fixlb_n', None])
)
)
def test_MEANLB(self):
pd.testing.assert_frame_equal(
vbt.MEANLB.run(close_ts, window=(2, 3), ewm=False).labels,
pd.DataFrame(
np.array([
[0.5, -0.16666666666666666, 0.6666666666666667, -0.22222222222222218],
[-0.25, 0.25, 0.0, 0.0],
[1.5, -0.5, 1.3333333333333335, -0.4444444444444444],
[0.25, -0.25, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
(2, False, 'a'),
(2, False, 'b'),
(3, False, 'a'),
(3, False, 'b'),
], names=['meanlb_window', 'meanlb_ewm', None])
)
)
pd.testing.assert_frame_equal(
vbt.MEANLB.run(close_ts, window=(2, 3), ewm=True).labels,
pd.DataFrame(
np.array([
[0.8024691358024691, -0.2674897119341564, 0.8125, -0.2708333333333333],
[-0.2962962962962963, 0.2962962962962963, -0.1875, 0.1875],
[1.2222222222222223, -0.40740740740740744, 1.25, -0.4166666666666667],
[0.3333333333333335, -0.33333333333333326, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
(2, True, 'a'),
(2, True, 'b'),
(3, True, 'a'),
(3, True, 'b'),
], names=['meanlb_window', 'meanlb_ewm', None])
)
)
def test_LEXLB(self):
pd.testing.assert_frame_equal(
vbt.LEXLB.run(close_ts, pos_th=pos_ths, neg_th=neg_ths).labels,
pd.DataFrame(
np.array([
[-1, 1, -1, 1, 0, 0],
[1, -1, 0, 0, 0, 0],
[-1, 1, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[1, -1, 1, -1, 0, 0],
[0, 1, 0, 1, 0, 0]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
('array_0', 'array_0', 'a'),
('array_0', 'array_0', 'b'),
('array_1', 'array_1', 'a'),
('array_1', 'array_1', 'b'),
('array_2', 'array_2', 'a'),
('array_2', 'array_2', 'b')
], names=['lexlb_pos_th', 'lexlb_neg_th', None])
)
)
def test_TRENDLB(self):
pd.testing.assert_frame_equal(
vbt.TRENDLB.run(close_ts, pos_th=pos_ths, neg_th=neg_ths, mode='Binary').labels,
pd.DataFrame(
np.array([
[1.0, 0.0, 1.0, 0.0, np.nan, np.nan],
[0.0, 1.0, 1.0, 0.0, np.nan, np.nan],
[1.0, 0.0, 1.0, 0.0, np.nan, np.nan],
[1.0, 0.0, 1.0, 0.0, np.nan, np.nan],
[np.nan, 1.0, np.nan, 1.0, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan, np.nan, np.nan]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
('array_0', 'array_0', 0, 'a'),
('array_0', 'array_0', 0, 'b'),
('array_1', 'array_1', 0, 'a'),
('array_1', 'array_1', 0, 'b'),
('array_2', 'array_2', 0, 'a'),
('array_2', 'array_2', 0, 'b')
], names=['trendlb_pos_th', 'trendlb_neg_th', 'trendlb_mode', None])
)
)
pd.testing.assert_frame_equal(
vbt.TRENDLB.run(close_ts, pos_th=pos_ths, neg_th=neg_ths, mode='BinaryCont').labels,
pd.DataFrame(
np.array([
[1.0, 0.0, 1.0, 0.0, np.nan, np.nan],
[0.0, 1.0, 0.5, 0.5, np.nan, np.nan],
[1.0, 0.0, 1.0, 0.0, np.nan, np.nan],
[0.5, 0.5, 0.5, 0.5, np.nan, np.nan],
[np.nan, 1.0, np.nan, 1.0, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan, np.nan, np.nan]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
('array_0', 'array_0', 1, 'a'),
('array_0', 'array_0', 1, 'b'),
('array_1', 'array_1', 1, 'a'),
('array_1', 'array_1', 1, 'b'),
('array_2', 'array_2', 1, 'a'),
('array_2', 'array_2', 1, 'b')
], names=['trendlb_pos_th', 'trendlb_neg_th', 'trendlb_mode', None])
)
)
pd.testing.assert_frame_equal(
vbt.TRENDLB.run(close_ts, pos_th=pos_ths, neg_th=neg_ths, mode='BinaryContSat').labels,
pd.DataFrame(
np.array([
[1.0, 0.0, 1.0, 0.0, np.nan, np.nan],
[0.0, 1.0, 0.5, 0.4999999999999999, np.nan, np.nan],
[1.0, 0.0, 1.0, 0.0, np.nan, np.nan],
[0.6666666666666667, 0.0, 0.5, 0.4999999999999999, np.nan, np.nan],
[np.nan, 1.0, np.nan, 1.0, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan, np.nan, np.nan]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
('array_0', 'array_0', 2, 'a'),
('array_0', 'array_0', 2, 'b'),
('array_1', 'array_1', 2, 'a'),
('array_1', 'array_1', 2, 'b'),
('array_2', 'array_2', 2, 'a'),
('array_2', 'array_2', 2, 'b')
], names=['trendlb_pos_th', 'trendlb_neg_th', 'trendlb_mode', None])
)
)
pd.testing.assert_frame_equal(
vbt.TRENDLB.run(close_ts, pos_th=pos_ths, neg_th=neg_ths, mode='PctChange').labels,
pd.DataFrame(
np.array([
[1.0, -0.3333333333333333, 2.0, -0.6666666666666666, np.nan, np.nan],
[-0.5, 0.5, 0.5, -0.5, np.nan, np.nan],
[2.0, -0.6666666666666666, 2.0, -0.6666666666666666, np.nan, np.nan],
[0.5, -0.5, 0.5, -0.5, np.nan, np.nan],
[np.nan, 1.0, np.nan, 1.0, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan, np.nan, np.nan]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
('array_0', 'array_0', 3, 'a'),
('array_0', 'array_0', 3, 'b'),
('array_1', 'array_1', 3, 'a'),
('array_1', 'array_1', 3, 'b'),
('array_2', 'array_2', 3, 'a'),
('array_2', 'array_2', 3, 'b')
], names=['trendlb_pos_th', 'trendlb_neg_th', 'trendlb_mode', None])
)
)
pd.testing.assert_frame_equal(
vbt.TRENDLB.run(close_ts, pos_th=pos_ths, neg_th=neg_ths, mode='PctChangeNorm').labels,
pd.DataFrame(
np.array([
[0.5, -0.3333333333333333, 0.6666666666666666, -0.6666666666666666, np.nan, np.nan],
[-0.5, 0.3333333333333333, 0.3333333333333333, -0.5, np.nan, np.nan],
[0.6666666666666666, -0.6666666666666666, 0.6666666666666666,
-0.6666666666666666, np.nan, np.nan],
[0.3333333333333333, -0.5, 0.3333333333333333, -0.5, np.nan, np.nan],
[np.nan, 0.5, np.nan, 0.5, np.nan, np.nan],
[np.nan, np.nan, np.nan, np.nan, np.nan, np.nan]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
('array_0', 'array_0', 4, 'a'),
('array_0', 'array_0', 4, 'b'),
('array_1', 'array_1', 4, 'a'),
('array_1', 'array_1', 4, 'b'),
('array_2', 'array_2', 4, 'a'),
('array_2', 'array_2', 4, 'b')
], names=['trendlb_pos_th', 'trendlb_neg_th', 'trendlb_mode', None])
)
)
def test_BOLB(self):
pd.testing.assert_frame_equal(
vbt.BOLB.run(close_ts, window=1, pos_th=pos_ths, neg_th=neg_ths).labels,
pd.DataFrame(
np.array([
[1.0, -1.0, 0.0, 0.0, 0.0, 0.0],
[-1.0, 1.0, -1.0, 1.0, -1.0, 1.0],
[1.0, -1.0, 0.0, 0.0, 0.0, 0.0],
[0.0, -1.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 1.0, 0.0, 1.0, 0.0, 1.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
(1, 'array_0', 'array_0', 'a'),
(1, 'array_0', 'array_0', 'b'),
(1, 'array_1', 'array_1', 'a'),
(1, 'array_1', 'array_1', 'b'),
(1, 'array_2', 'array_2', 'a'),
(1, 'array_2', 'array_2', 'b')
], names=['bolb_window', 'bolb_pos_th', 'bolb_neg_th', None])
)
)
pd.testing.assert_frame_equal(
vbt.BOLB.run(close_ts, window=2, pos_th=pos_ths, neg_th=neg_ths).labels,
pd.DataFrame(
np.array([
[1.0, -1.0, 0.0, 0.0, 0.0, 0.0],
[-1.0, 1.0, -1.0, 1.0, -1.0, 1.0],
[1.0, -1.0, 1.0, -1.0, 0.0, 0.0],
[0.0, -1.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 1.0, 0.0, 1.0, 0.0, 1.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
]),
index=close_ts.index,
columns=pd.MultiIndex.from_tuples([
(2, 'array_0', 'array_0', 'a'),
(2, 'array_0', 'array_0', 'b'),
(2, 'array_1', 'array_1', 'a'),
(2, 'array_1', 'array_1', 'b'),
(2, 'array_2', 'array_2', 'a'),
(2, 'array_2', 'array_2', 'b')
], names=['bolb_window', 'bolb_pos_th', 'bolb_neg_th', None])
)
)
|
EchoThreeLLC/echothree | src/java/com/echothree/control/user/inventory/server/command/BasePartyInventoryLevelCommand.java | // --------------------------------------------------------------------------------
// Copyright 2002-2022 Echo Three, LLC
//
// 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.
// --------------------------------------------------------------------------------
package com.echothree.control.user.inventory.server.command;
import com.echothree.control.user.inventory.common.spec.PartyInventoryLevelSpec;
import com.echothree.model.control.party.common.PartyTypes;
import com.echothree.model.control.party.server.control.PartyControl;
import com.echothree.model.control.warehouse.server.control.WarehouseControl;
import com.echothree.model.data.party.server.entity.Party;
import com.echothree.model.data.party.server.entity.PartyCompany;
import com.echothree.model.data.user.common.pk.UserVisitPK;
import com.echothree.model.data.warehouse.server.entity.Warehouse;
import com.echothree.util.common.message.ExecutionErrors;
import com.echothree.util.common.validation.FieldDefinition;
import com.echothree.util.server.control.BaseSimpleCommand;
import com.echothree.util.server.persistence.Session;
import java.util.List;
public abstract class BasePartyInventoryLevelCommand<F
extends PartyInventoryLevelSpec> extends BaseSimpleCommand<F> {
protected BasePartyInventoryLevelCommand(UserVisitPK userVisitPK, F form, List<FieldDefinition> FORM_FIELD_DEFINITIONS) {
super(userVisitPK, form, null, FORM_FIELD_DEFINITIONS, false);
}
protected String getPartyTypeName(final Party party) {
return party.getLastDetail().getPartyType().getPartyTypeName();
}
protected Party getParty(final String partyName, final String companyName, final String warehouseName) {
Party party = null;
if(partyName != null || companyName != null) {
var partyControl = Session.getModelController(PartyControl.class);
if(partyName != null) {
party = partyControl.getPartyByName(partyName);
if(party != null) {
String partyTypeName = getPartyTypeName(party);
if(!partyTypeName.equals(PartyTypes.COMPANY.name())
&& !partyTypeName.equals(PartyTypes.WAREHOUSE.name())) {
party = null;
addExecutionError(ExecutionErrors.InvalidPartyType.name());
}
} else {
addExecutionError(ExecutionErrors.UnknownPartyName.name(), partyName);
}
} else if(companyName != null) {
PartyCompany partyCompany = partyControl.getPartyCompanyByName(companyName);
if(partyCompany != null) {
party = partyCompany.getParty();
} else {
addExecutionError(ExecutionErrors.UnknownCompanyName.name(), companyName);
}
}
} else if(warehouseName != null) {
var warehouseControl = Session.getModelController(WarehouseControl.class);
Warehouse warehouse = warehouseControl.getWarehouseByName(warehouseName);
if(warehouse != null) {
party = warehouse.getParty();
} else {
addExecutionError(ExecutionErrors.UnknownWarehouseName.name(), warehouseName);
}
}
return party;
}
protected Party getParty(PartyInventoryLevelSpec spec) {
String partyName = spec.getPartyName();
String companyName = spec.getCompanyName();
String warehouseName = spec.getWarehouseName();
var parameterCount = (partyName == null ? 0 : 1) + (companyName == null ? 0 : 1) + (warehouseName == null ? 0 : 1);
Party party = null;
if(parameterCount == 1) {
party = getParty(partyName, companyName, warehouseName);
} else {
addExecutionError(ExecutionErrors.InvalidParameterCount.name());
}
return party;
}
}
|
richardlalancette/AfterEffectsExperimentations | Examples/AEGP/Panelator/Mac/IconsFontAwesome5.h | <filename>Examples/AEGP/Panelator/Mac/IconsFontAwesome5.h
// Generated by https://github.com/juliettef/IconFontCppHeaders script GenerateIconFontCppHeaders.py for language C++11
// from https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/metadata/icons.yml
// for use with https://github.com/FortAwesome/Font-Awesome/blob/master/webfonts/fa-solid-900.ttf, https://github.com/FortAwesome/Font-Awesome/blob/master/webfonts/fa-regular-400.ttf,
#pragma once
#define FONT_ICON_FILE_NAME_FAR "fa-regular-400.ttf"
#define FONT_ICON_FILE_NAME_FAS "fa-solid-900.ttf"
#define ICON_MIN_FA 0xf000
#define ICON_MAX_FA 0xf941
#define ICON_FA_AD "\uf641"
#define ICON_FA_ADDRESS_BOOK "\uf2b9"
#define ICON_FA_ADDRESS_CARD "\uf2bb"
#define ICON_FA_ADJUST "\uf042"
#define ICON_FA_AIR_FRESHENER "\uf5d0"
#define ICON_FA_ALIGN_CENTER "\uf037"
#define ICON_FA_ALIGN_JUSTIFY "\uf039"
#define ICON_FA_ALIGN_LEFT "\uf036"
#define ICON_FA_ALIGN_RIGHT "\uf038"
#define ICON_FA_ALLERGIES "\uf461"
#define ICON_FA_AMBULANCE "\uf0f9"
#define ICON_FA_AMERICAN_SIGN_LANGUAGE_INTERPRETING "\uf2a3"
#define ICON_FA_ANCHOR "\uf13d"
#define ICON_FA_ANGLE_DOUBLE_DOWN "\uf103"
#define ICON_FA_ANGLE_DOUBLE_LEFT "\uf100"
#define ICON_FA_ANGLE_DOUBLE_RIGHT "\uf101"
#define ICON_FA_ANGLE_DOUBLE_UP "\uf102"
#define ICON_FA_ANGLE_DOWN "\uf107"
#define ICON_FA_ANGLE_LEFT "\uf104"
#define ICON_FA_ANGLE_RIGHT "\uf105"
#define ICON_FA_ANGLE_UP "\uf106"
#define ICON_FA_ANGRY "\uf556"
#define ICON_FA_ANKH "\uf644"
#define ICON_FA_APPLE_ALT "\uf5d1"
#define ICON_FA_ARCHIVE "\uf187"
#define ICON_FA_ARCHWAY "\uf557"
#define ICON_FA_ARROW_ALT_CIRCLE_DOWN "\uf358"
#define ICON_FA_ARROW_ALT_CIRCLE_LEFT "\uf359"
#define ICON_FA_ARROW_ALT_CIRCLE_RIGHT "\uf35a"
#define ICON_FA_ARROW_ALT_CIRCLE_UP "\uf35b"
#define ICON_FA_ARROW_CIRCLE_DOWN "\uf0ab"
#define ICON_FA_ARROW_CIRCLE_LEFT "\uf0a8"
#define ICON_FA_ARROW_CIRCLE_RIGHT "\uf0a9"
#define ICON_FA_ARROW_CIRCLE_UP "\uf0aa"
#define ICON_FA_ARROW_DOWN "\uf063"
#define ICON_FA_ARROW_LEFT "\uf060"
#define ICON_FA_ARROW_RIGHT "\uf061"
#define ICON_FA_ARROW_UP "\uf062"
#define ICON_FA_ARROWS_ALT "\uf0b2"
#define ICON_FA_ARROWS_ALT_H "\uf337"
#define ICON_FA_ARROWS_ALT_V "\uf338"
#define ICON_FA_ASSISTIVE_LISTENING_SYSTEMS "\uf2a2"
#define ICON_FA_ASTERISK "\uf069"
#define ICON_FA_AT "\uf1fa"
#define ICON_FA_ATLAS "\uf558"
#define ICON_FA_ATOM "\uf5d2"
#define ICON_FA_AUDIO_DESCRIPTION "\uf29e"
#define ICON_FA_AWARD "\uf559"
#define ICON_FA_BABY "\uf77c"
#define ICON_FA_BABY_CARRIAGE "\uf77d"
#define ICON_FA_BACKSPACE "\uf55a"
#define ICON_FA_BACKWARD "\uf04a"
#define ICON_FA_BACON "\uf7e5"
#define ICON_FA_BAHAI "\uf666"
#define ICON_FA_BALANCE_SCALE "\uf24e"
#define ICON_FA_BALANCE_SCALE_LEFT "\uf515"
#define ICON_FA_BALANCE_SCALE_RIGHT "\uf516"
#define ICON_FA_BAN "\uf05e"
#define ICON_FA_BAND_AID "\uf462"
#define ICON_FA_BARCODE "\uf02a"
#define ICON_FA_BARS "\uf0c9"
#define ICON_FA_BASEBALL_BALL "\uf433"
#define ICON_FA_BASKETBALL_BALL "\uf434"
#define ICON_FA_BATH "\uf2cd"
#define ICON_FA_BATTERY_EMPTY "\uf244"
#define ICON_FA_BATTERY_FULL "\uf240"
#define ICON_FA_BATTERY_HALF "\uf242"
#define ICON_FA_BATTERY_QUARTER "\uf243"
#define ICON_FA_BATTERY_THREE_QUARTERS "\uf241"
#define ICON_FA_BED "\uf236"
#define ICON_FA_BEER "\uf0fc"
#define ICON_FA_BELL "\uf0f3"
#define ICON_FA_BELL_SLASH "\uf1f6"
#define ICON_FA_BEZIER_CURVE "\uf55b"
#define ICON_FA_BIBLE "\uf647"
#define ICON_FA_BICYCLE "\uf206"
#define ICON_FA_BIKING "\uf84a"
#define ICON_FA_BINOCULARS "\uf1e5"
#define ICON_FA_BIOHAZARD "\uf780"
#define ICON_FA_BIRTHDAY_CAKE "\uf1fd"
#define ICON_FA_BLENDER "\uf517"
#define ICON_FA_BLENDER_PHONE "\uf6b6"
#define ICON_FA_BLIND "\uf29d"
#define ICON_FA_BLOG "\uf781"
#define ICON_FA_BOLD "\uf032"
#define ICON_FA_BOLT "\uf0e7"
#define ICON_FA_BOMB "\uf1e2"
#define ICON_FA_BONE "\uf5d7"
#define ICON_FA_BONG "\uf55c"
#define ICON_FA_BOOK "\uf02d"
#define ICON_FA_BOOK_DEAD "\uf6b7"
#define ICON_FA_BOOK_MEDICAL "\uf7e6"
#define ICON_FA_BOOK_OPEN "\uf518"
#define ICON_FA_BOOK_READER "\uf5da"
#define ICON_FA_BOOKMARK "\uf02e"
#define ICON_FA_BORDER_ALL "\uf84c"
#define ICON_FA_BORDER_NONE "\uf850"
#define ICON_FA_BORDER_STYLE "\uf853"
#define ICON_FA_BOWLING_BALL "\uf436"
#define ICON_FA_BOX "\uf466"
#define ICON_FA_BOX_OPEN "\uf49e"
#define ICON_FA_BOXES "\uf468"
#define ICON_FA_BRAILLE "\uf2a1"
#define ICON_FA_BRAIN "\uf5dc"
#define ICON_FA_BREAD_SLICE "\uf7ec"
#define ICON_FA_BRIEFCASE "\uf0b1"
#define ICON_FA_BRIEFCASE_MEDICAL "\uf469"
#define ICON_FA_BROADCAST_TOWER "\uf519"
#define ICON_FA_BROOM "\uf51a"
#define ICON_FA_BRUSH "\uf55d"
#define ICON_FA_BUG "\uf188"
#define ICON_FA_BUILDING "\uf1ad"
#define ICON_FA_BULLHORN "\uf0a1"
#define ICON_FA_BULLSEYE "\uf140"
#define ICON_FA_BURN "\uf46a"
#define ICON_FA_BUS "\uf207"
#define ICON_FA_BUS_ALT "\uf55e"
#define ICON_FA_BUSINESS_TIME "\uf64a"
#define ICON_FA_CALCULATOR "\uf1ec"
#define ICON_FA_CALENDAR "\uf133"
#define ICON_FA_CALENDAR_ALT "\uf073"
#define ICON_FA_CALENDAR_CHECK "\uf274"
#define ICON_FA_CALENDAR_DAY "\uf783"
#define ICON_FA_CALENDAR_MINUS "\uf272"
#define ICON_FA_CALENDAR_PLUS "\uf271"
#define ICON_FA_CALENDAR_TIMES "\uf273"
#define ICON_FA_CALENDAR_WEEK "\uf784"
#define ICON_FA_CAMERA "\uf030"
#define ICON_FA_CAMERA_RETRO "\uf083"
#define ICON_FA_CAMPGROUND "\uf6bb"
#define ICON_FA_CANDY_CANE "\uf786"
#define ICON_FA_CANNABIS "\uf55f"
#define ICON_FA_CAPSULES "\uf46b"
#define ICON_FA_CAR "\uf1b9"
#define ICON_FA_CAR_ALT "\uf5de"
#define ICON_FA_CAR_BATTERY "\uf5df"
#define ICON_FA_CAR_CRASH "\uf5e1"
#define ICON_FA_CAR_SIDE "\uf5e4"
#define ICON_FA_CARAVAN "\uf8ff"
#define ICON_FA_CARET_DOWN "\uf0d7"
#define ICON_FA_CARET_LEFT "\uf0d9"
#define ICON_FA_CARET_RIGHT "\uf0da"
#define ICON_FA_CARET_SQUARE_DOWN "\uf150"
#define ICON_FA_CARET_SQUARE_LEFT "\uf191"
#define ICON_FA_CARET_SQUARE_RIGHT "\uf152"
#define ICON_FA_CARET_SQUARE_UP "\uf151"
#define ICON_FA_CARET_UP "\uf0d8"
#define ICON_FA_CARROT "\uf787"
#define ICON_FA_CART_ARROW_DOWN "\uf218"
#define ICON_FA_CART_PLUS "\uf217"
#define ICON_FA_CASH_REGISTER "\uf788"
#define ICON_FA_CAT "\uf6be"
#define ICON_FA_CERTIFICATE "\uf0a3"
#define ICON_FA_CHAIR "\uf6c0"
#define ICON_FA_CHALKBOARD "\uf51b"
#define ICON_FA_CHALKBOARD_TEACHER "\uf51c"
#define ICON_FA_CHARGING_STATION "\uf5e7"
#define ICON_FA_CHART_AREA "\uf1fe"
#define ICON_FA_CHART_BAR "\uf080"
#define ICON_FA_CHART_LINE "\uf201"
#define ICON_FA_CHART_PIE "\uf200"
#define ICON_FA_CHECK "\uf00c"
#define ICON_FA_CHECK_CIRCLE "\uf058"
#define ICON_FA_CHECK_DOUBLE "\uf560"
#define ICON_FA_CHECK_SQUARE "\uf14a"
#define ICON_FA_CHEESE "\uf7ef"
#define ICON_FA_CHESS "\uf439"
#define ICON_FA_CHESS_BISHOP "\uf43a"
#define ICON_FA_CHESS_BOARD "\uf43c"
#define ICON_FA_CHESS_KING "\uf43f"
#define ICON_FA_CHESS_KNIGHT "\uf441"
#define ICON_FA_CHESS_PAWN "\uf443"
#define ICON_FA_CHESS_QUEEN "\uf445"
#define ICON_FA_CHESS_ROOK "\uf447"
#define ICON_FA_CHEVRON_CIRCLE_DOWN "\uf13a"
#define ICON_FA_CHEVRON_CIRCLE_LEFT "\uf137"
#define ICON_FA_CHEVRON_CIRCLE_RIGHT "\uf138"
#define ICON_FA_CHEVRON_CIRCLE_UP "\uf139"
#define ICON_FA_CHEVRON_DOWN "\uf078"
#define ICON_FA_CHEVRON_LEFT "\uf053"
#define ICON_FA_CHEVRON_RIGHT "\uf054"
#define ICON_FA_CHEVRON_UP "\uf077"
#define ICON_FA_CHILD "\uf1ae"
#define ICON_FA_CHURCH "\uf51d"
#define ICON_FA_CIRCLE "\uf111"
#define ICON_FA_CIRCLE_NOTCH "\uf1ce"
#define ICON_FA_CITY "\uf64f"
#define ICON_FA_CLINIC_MEDICAL "\uf7f2"
#define ICON_FA_CLIPBOARD "\uf328"
#define ICON_FA_CLIPBOARD_CHECK "\uf46c"
#define ICON_FA_CLIPBOARD_LIST "\uf46d"
#define ICON_FA_CLOCK "\uf017"
#define ICON_FA_CLONE "\uf24d"
#define ICON_FA_CLOSED_CAPTIONING "\uf20a"
#define ICON_FA_CLOUD "\uf0c2"
#define ICON_FA_CLOUD_DOWNLOAD_ALT "\uf381"
#define ICON_FA_CLOUD_MEATBALL "\uf73b"
#define ICON_FA_CLOUD_MOON "\uf6c3"
#define ICON_FA_CLOUD_MOON_RAIN "\uf73c"
#define ICON_FA_CLOUD_RAIN "\uf73d"
#define ICON_FA_CLOUD_SHOWERS_HEAVY "\uf740"
#define ICON_FA_CLOUD_SUN "\uf6c4"
#define ICON_FA_CLOUD_SUN_RAIN "\uf743"
#define ICON_FA_CLOUD_UPLOAD_ALT "\uf382"
#define ICON_FA_COCKTAIL "\uf561"
#define ICON_FA_CODE "\uf121"
#define ICON_FA_CODE_BRANCH "\uf126"
#define ICON_FA_COFFEE "\uf0f4"
#define ICON_FA_COG "\uf013"
#define ICON_FA_COGS "\uf085"
#define ICON_FA_COINS "\uf51e"
#define ICON_FA_COLUMNS "\uf0db"
#define ICON_FA_COMMENT "\uf075"
#define ICON_FA_COMMENT_ALT "\uf27a"
#define ICON_FA_COMMENT_DOLLAR "\uf651"
#define ICON_FA_COMMENT_DOTS "\uf4ad"
#define ICON_FA_COMMENT_MEDICAL "\uf7f5"
#define ICON_FA_COMMENT_SLASH "\uf4b3"
#define ICON_FA_COMMENTS "\uf086"
#define ICON_FA_COMMENTS_DOLLAR "\uf653"
#define ICON_FA_COMPACT_DISC "\uf51f"
#define ICON_FA_COMPASS "\uf14e"
#define ICON_FA_COMPRESS "\uf066"
#define ICON_FA_COMPRESS_ALT "\uf422"
#define ICON_FA_COMPRESS_ARROWS_ALT "\uf78c"
#define ICON_FA_CONCIERGE_BELL "\uf562"
#define ICON_FA_COOKIE "\uf563"
#define ICON_FA_COOKIE_BITE "\uf564"
#define ICON_FA_COPY "\uf0c5"
#define ICON_FA_COPYRIGHT "\uf1f9"
#define ICON_FA_COUCH "\uf4b8"
#define ICON_FA_CREDIT_CARD "\uf09d"
#define ICON_FA_CROP "\uf125"
#define ICON_FA_CROP_ALT "\uf565"
#define ICON_FA_CROSS "\uf654"
#define ICON_FA_CROSSHAIRS "\uf05b"
#define ICON_FA_CROW "\uf520"
#define ICON_FA_CROWN "\uf521"
#define ICON_FA_CRUTCH "\uf7f7"
#define ICON_FA_CUBE "\uf1b2"
#define ICON_FA_CUBES "\uf1b3"
#define ICON_FA_CUT "\uf0c4"
#define ICON_FA_DATABASE "\uf1c0"
#define ICON_FA_DEAF "\uf2a4"
#define ICON_FA_DEMOCRAT "\uf747"
#define ICON_FA_DESKTOP "\uf108"
#define ICON_FA_DHARMACHAKRA "\uf655"
#define ICON_FA_DIAGNOSES "\uf470"
#define ICON_FA_DICE "\uf522"
#define ICON_FA_DICE_D20 "\uf6cf"
#define ICON_FA_DICE_D6 "\uf6d1"
#define ICON_FA_DICE_FIVE "\uf523"
#define ICON_FA_DICE_FOUR "\uf524"
#define ICON_FA_DICE_ONE "\uf525"
#define ICON_FA_DICE_SIX "\uf526"
#define ICON_FA_DICE_THREE "\uf527"
#define ICON_FA_DICE_TWO "\uf528"
#define ICON_FA_DIGITAL_TACHOGRAPH "\uf566"
#define ICON_FA_DIRECTIONS "\uf5eb"
#define ICON_FA_DIVIDE "\uf529"
#define ICON_FA_DIZZY "\uf567"
#define ICON_FA_DNA "\uf471"
#define ICON_FA_DOG "\uf6d3"
#define ICON_FA_DOLLAR_SIGN "\uf155"
#define ICON_FA_DOLLY "\uf472"
#define ICON_FA_DOLLY_FLATBED "\uf474"
#define ICON_FA_DONATE "\uf4b9"
#define ICON_FA_DOOR_CLOSED "\uf52a"
#define ICON_FA_DOOR_OPEN "\uf52b"
#define ICON_FA_DOT_CIRCLE "\uf192"
#define ICON_FA_DOVE "\uf4ba"
#define ICON_FA_DOWNLOAD "\uf019"
#define ICON_FA_DRAFTING_COMPASS "\uf568"
#define ICON_FA_DRAGON "\uf6d5"
#define ICON_FA_DRAW_POLYGON "\uf5ee"
#define ICON_FA_DRUM "\uf569"
#define ICON_FA_DRUM_STEELPAN "\uf56a"
#define ICON_FA_DRUMSTICK_BITE "\uf6d7"
#define ICON_FA_DUMBBELL "\uf44b"
#define ICON_FA_DUMPSTER "\uf793"
#define ICON_FA_DUMPSTER_FIRE "\uf794"
#define ICON_FA_DUNGEON "\uf6d9"
#define ICON_FA_EDIT "\uf044"
#define ICON_FA_EGG "\uf7fb"
#define ICON_FA_EJECT "\uf052"
#define ICON_FA_ELLIPSIS_H "\uf141"
#define ICON_FA_ELLIPSIS_V "\uf142"
#define ICON_FA_ENVELOPE "\uf0e0"
#define ICON_FA_ENVELOPE_OPEN "\uf2b6"
#define ICON_FA_ENVELOPE_OPEN_TEXT "\uf658"
#define ICON_FA_ENVELOPE_SQUARE "\uf199"
#define ICON_FA_EQUALS "\uf52c"
#define ICON_FA_ERASER "\uf12d"
#define ICON_FA_ETHERNET "\uf796"
#define ICON_FA_EURO_SIGN "\uf153"
#define ICON_FA_EXCHANGE_ALT "\uf362"
#define ICON_FA_EXCLAMATION "\uf12a"
#define ICON_FA_EXCLAMATION_CIRCLE "\uf06a"
#define ICON_FA_EXCLAMATION_TRIANGLE "\uf071"
#define ICON_FA_EXPAND "\uf065"
#define ICON_FA_EXPAND_ALT "\uf424"
#define ICON_FA_EXPAND_ARROWS_ALT "\uf31e"
#define ICON_FA_EXTERNAL_LINK_ALT "\uf35d"
#define ICON_FA_EXTERNAL_LINK_SQUARE_ALT "\uf360"
#define ICON_FA_EYE "\uf06e"
#define ICON_FA_EYE_DROPPER "\uf1fb"
#define ICON_FA_EYE_SLASH "\uf070"
#define ICON_FA_FAN "\uf863"
#define ICON_FA_FAST_BACKWARD "\uf049"
#define ICON_FA_FAST_FORWARD "\uf050"
#define ICON_FA_FAX "\uf1ac"
#define ICON_FA_FEATHER "\uf52d"
#define ICON_FA_FEATHER_ALT "\uf56b"
#define ICON_FA_FEMALE "\uf182"
#define ICON_FA_FIGHTER_JET "\uf0fb"
#define ICON_FA_FILE "\uf15b"
#define ICON_FA_FILE_ALT "\uf15c"
#define ICON_FA_FILE_ARCHIVE "\uf1c6"
#define ICON_FA_FILE_AUDIO "\uf1c7"
#define ICON_FA_FILE_CODE "\uf1c9"
#define ICON_FA_FILE_CONTRACT "\uf56c"
#define ICON_FA_FILE_CSV "\uf6dd"
#define ICON_FA_FILE_DOWNLOAD "\uf56d"
#define ICON_FA_FILE_EXCEL "\uf1c3"
#define ICON_FA_FILE_EXPORT "\uf56e"
#define ICON_FA_FILE_IMAGE "\uf1c5"
#define ICON_FA_FILE_IMPORT "\uf56f"
#define ICON_FA_FILE_INVOICE "\uf570"
#define ICON_FA_FILE_INVOICE_DOLLAR "\uf571"
#define ICON_FA_FILE_MEDICAL "\uf477"
#define ICON_FA_FILE_MEDICAL_ALT "\uf478"
#define ICON_FA_FILE_PDF "\uf1c1"
#define ICON_FA_FILE_POWERPOINT "\uf1c4"
#define ICON_FA_FILE_PRESCRIPTION "\uf572"
#define ICON_FA_FILE_SIGNATURE "\uf573"
#define ICON_FA_FILE_UPLOAD "\uf574"
#define ICON_FA_FILE_VIDEO "\uf1c8"
#define ICON_FA_FILE_WORD "\uf1c2"
#define ICON_FA_FILL "\uf575"
#define ICON_FA_FILL_DRIP "\uf576"
#define ICON_FA_FILM "\uf008"
#define ICON_FA_FILTER "\uf0b0"
#define ICON_FA_FINGERPRINT "\uf577"
#define ICON_FA_FIRE "\uf06d"
#define ICON_FA_FIRE_ALT "\uf7e4"
#define ICON_FA_FIRE_EXTINGUISHER "\uf134"
#define ICON_FA_FIRST_AID "\uf479"
#define ICON_FA_FISH "\uf578"
#define ICON_FA_FIST_RAISED "\uf6de"
#define ICON_FA_FLAG "\uf024"
#define ICON_FA_FLAG_CHECKERED "\uf11e"
#define ICON_FA_FLAG_USA "\uf74d"
#define ICON_FA_FLASK "\uf0c3"
#define ICON_FA_FLUSHED "\uf579"
#define ICON_FA_FOLDER "\uf07b"
#define ICON_FA_FOLDER_MINUS "\uf65d"
#define ICON_FA_FOLDER_OPEN "\uf07c"
#define ICON_FA_FOLDER_PLUS "\uf65e"
#define ICON_FA_FONT "\uf031"
#define ICON_FA_FONT_AWESOME_LOGO_FULL "\uf4e6"
#define ICON_FA_FOOTBALL_BALL "\uf44e"
#define ICON_FA_FORWARD "\uf04e"
#define ICON_FA_FROG "\uf52e"
#define ICON_FA_FROWN "\uf119"
#define ICON_FA_FROWN_OPEN "\uf57a"
#define ICON_FA_FUNNEL_DOLLAR "\uf662"
#define ICON_FA_FUTBOL "\uf1e3"
#define ICON_FA_GAMEPAD "\uf11b"
#define ICON_FA_GAS_PUMP "\uf52f"
#define ICON_FA_GAVEL "\uf0e3"
#define ICON_FA_GEM "\uf3a5"
#define ICON_FA_GENDERLESS "\uf22d"
#define ICON_FA_GHOST "\uf6e2"
#define ICON_FA_GIFT "\uf06b"
#define ICON_FA_GIFTS "\uf79c"
#define ICON_FA_GLASS_CHEERS "\uf79f"
#define ICON_FA_GLASS_MARTINI "\uf000"
#define ICON_FA_GLASS_MARTINI_ALT "\uf57b"
#define ICON_FA_GLASS_WHISKEY "\uf7a0"
#define ICON_FA_GLASSES "\uf530"
#define ICON_FA_GLOBE "\uf0ac"
#define ICON_FA_GLOBE_AFRICA "\uf57c"
#define ICON_FA_GLOBE_AMERICAS "\uf57d"
#define ICON_FA_GLOBE_ASIA "\uf57e"
#define ICON_FA_GLOBE_EUROPE "\uf7a2"
#define ICON_FA_GOLF_BALL "\uf450"
#define ICON_FA_GOPURAM "\uf664"
#define ICON_FA_GRADUATION_CAP "\uf19d"
#define ICON_FA_GREATER_THAN "\uf531"
#define ICON_FA_GREATER_THAN_EQUAL "\uf532"
#define ICON_FA_GRIMACE "\uf57f"
#define ICON_FA_GRIN "\uf580"
#define ICON_FA_GRIN_ALT "\uf581"
#define ICON_FA_GRIN_BEAM "\uf582"
#define ICON_FA_GRIN_BEAM_SWEAT "\uf583"
#define ICON_FA_GRIN_HEARTS "\uf584"
#define ICON_FA_GRIN_SQUINT "\uf585"
#define ICON_FA_GRIN_SQUINT_TEARS "\uf586"
#define ICON_FA_GRIN_STARS "\uf587"
#define ICON_FA_GRIN_TEARS "\uf588"
#define ICON_FA_GRIN_TONGUE "\uf589"
#define ICON_FA_GRIN_TONGUE_SQUINT "\uf58a"
#define ICON_FA_GRIN_TONGUE_WINK "\uf58b"
#define ICON_FA_GRIN_WINK "\uf58c"
#define ICON_FA_GRIP_HORIZONTAL "\uf58d"
#define ICON_FA_GRIP_LINES "\uf7a4"
#define ICON_FA_GRIP_LINES_VERTICAL "\uf7a5"
#define ICON_FA_GRIP_VERTICAL "\uf58e"
#define ICON_FA_GUITAR "\uf7a6"
#define ICON_FA_H_SQUARE "\uf0fd"
#define ICON_FA_HAMBURGER "\uf805"
#define ICON_FA_HAMMER "\uf6e3"
#define ICON_FA_HAMSA "\uf665"
#define ICON_FA_HAND_HOLDING "\uf4bd"
#define ICON_FA_HAND_HOLDING_HEART "\uf4be"
#define ICON_FA_HAND_HOLDING_USD "\uf4c0"
#define ICON_FA_HAND_LIZARD "\uf258"
#define ICON_FA_HAND_MIDDLE_FINGER "\uf806"
#define ICON_FA_HAND_PAPER "\uf256"
#define ICON_FA_HAND_PEACE "\uf25b"
#define ICON_FA_HAND_POINT_DOWN "\uf0a7"
#define ICON_FA_HAND_POINT_LEFT "\uf0a5"
#define ICON_FA_HAND_POINT_RIGHT "\uf0a4"
#define ICON_FA_HAND_POINT_UP "\uf0a6"
#define ICON_FA_HAND_POINTER "\uf25a"
#define ICON_FA_HAND_ROCK "\uf255"
#define ICON_FA_HAND_SCISSORS "\uf257"
#define ICON_FA_HAND_SPOCK "\uf259"
#define ICON_FA_HANDS "\uf4c2"
#define ICON_FA_HANDS_HELPING "\uf4c4"
#define ICON_FA_HANDSHAKE "\uf2b5"
#define ICON_FA_HANUKIAH "\uf6e6"
#define ICON_FA_HARD_HAT "\uf807"
#define ICON_FA_HASHTAG "\uf292"
#define ICON_FA_HAT_COWBOY "\uf8c0"
#define ICON_FA_HAT_COWBOY_SIDE "\uf8c1"
#define ICON_FA_HAT_WIZARD "\uf6e8"
#define ICON_FA_HDD "\uf0a0"
#define ICON_FA_HEADING "\uf1dc"
#define ICON_FA_HEADPHONES "\uf025"
#define ICON_FA_HEADPHONES_ALT "\uf58f"
#define ICON_FA_HEADSET "\uf590"
#define ICON_FA_HEART "\uf004"
#define ICON_FA_HEART_BROKEN "\uf7a9"
#define ICON_FA_HEARTBEAT "\uf21e"
#define ICON_FA_HELICOPTER "\uf533"
#define ICON_FA_HIGHLIGHTER "\uf591"
#define ICON_FA_HIKING "\uf6ec"
#define ICON_FA_HIPPO "\uf6ed"
#define ICON_FA_HISTORY "\uf1da"
#define ICON_FA_HOCKEY_PUCK "\uf453"
#define ICON_FA_HOLLY_BERRY "\uf7aa"
#define ICON_FA_HOME "\uf015"
#define ICON_FA_HORSE "\uf6f0"
#define ICON_FA_HORSE_HEAD "\uf7ab"
#define ICON_FA_HOSPITAL "\uf0f8"
#define ICON_FA_HOSPITAL_ALT "\uf47d"
#define ICON_FA_HOSPITAL_SYMBOL "\uf47e"
#define ICON_FA_HOT_TUB "\uf593"
#define ICON_FA_HOTDOG "\uf80f"
#define ICON_FA_HOTEL "\uf594"
#define ICON_FA_HOURGLASS "\uf254"
#define ICON_FA_HOURGLASS_END "\uf253"
#define ICON_FA_HOURGLASS_HALF "\uf252"
#define ICON_FA_HOURGLASS_START "\uf251"
#define ICON_FA_HOUSE_DAMAGE "\uf6f1"
#define ICON_FA_HRYVNIA "\uf6f2"
#define ICON_FA_I_CURSOR "\uf246"
#define ICON_FA_ICE_CREAM "\uf810"
#define ICON_FA_ICICLES "\uf7ad"
#define ICON_FA_ICONS "\uf86d"
#define ICON_FA_ID_BADGE "\uf2c1"
#define ICON_FA_ID_CARD "\uf2c2"
#define ICON_FA_ID_CARD_ALT "\uf47f"
#define ICON_FA_IGLOO "\uf7ae"
#define ICON_FA_IMAGE "\uf03e"
#define ICON_FA_IMAGES "\uf302"
#define ICON_FA_INBOX "\uf01c"
#define ICON_FA_INDENT "\uf03c"
#define ICON_FA_INDUSTRY "\uf275"
#define ICON_FA_INFINITY "\uf534"
#define ICON_FA_INFO "\uf129"
#define ICON_FA_INFO_CIRCLE "\uf05a"
#define ICON_FA_ITALIC "\uf033"
#define ICON_FA_JEDI "\uf669"
#define ICON_FA_JOINT "\uf595"
#define ICON_FA_JOURNAL_WHILLS "\uf66a"
#define ICON_FA_KAABA "\uf66b"
#define ICON_FA_KEY "\uf084"
#define ICON_FA_KEYBOARD "\uf11c"
#define ICON_FA_KHANDA "\uf66d"
#define ICON_FA_KISS "\uf596"
#define ICON_FA_KISS_BEAM "\uf597"
#define ICON_FA_KISS_WINK_HEART "\uf598"
#define ICON_FA_KIWI_BIRD "\uf535"
#define ICON_FA_LANDMARK "\uf66f"
#define ICON_FA_LANGUAGE "\uf1ab"
#define ICON_FA_LAPTOP "\uf109"
#define ICON_FA_LAPTOP_CODE "\uf5fc"
#define ICON_FA_LAPTOP_MEDICAL "\uf812"
#define ICON_FA_LAUGH "\uf599"
#define ICON_FA_LAUGH_BEAM "\uf59a"
#define ICON_FA_LAUGH_SQUINT "\uf59b"
#define ICON_FA_LAUGH_WINK "\uf59c"
#define ICON_FA_LAYER_GROUP "\uf5fd"
#define ICON_FA_LEAF "\uf06c"
#define ICON_FA_LEMON "\uf094"
#define ICON_FA_LESS_THAN "\uf536"
#define ICON_FA_LESS_THAN_EQUAL "\uf537"
#define ICON_FA_LEVEL_DOWN_ALT "\uf3be"
#define ICON_FA_LEVEL_UP_ALT "\uf3bf"
#define ICON_FA_LIFE_RING "\uf1cd"
#define ICON_FA_LIGHTBULB "\uf0eb"
#define ICON_FA_LINK "\uf0c1"
#define ICON_FA_LIRA_SIGN "\uf195"
#define ICON_FA_LIST "\uf03a"
#define ICON_FA_LIST_ALT "\uf022"
#define ICON_FA_LIST_OL "\uf0cb"
#define ICON_FA_LIST_UL "\uf0ca"
#define ICON_FA_LOCATION_ARROW "\uf124"
#define ICON_FA_LOCK "\uf023"
#define ICON_FA_LOCK_OPEN "\uf3c1"
#define ICON_FA_LONG_ARROW_ALT_DOWN "\uf309"
#define ICON_FA_LONG_ARROW_ALT_LEFT "\uf30a"
#define ICON_FA_LONG_ARROW_ALT_RIGHT "\uf30b"
#define ICON_FA_LONG_ARROW_ALT_UP "\uf30c"
#define ICON_FA_LOW_VISION "\uf2a8"
#define ICON_FA_LUGGAGE_CART "\uf59d"
#define ICON_FA_MAGIC "\uf0d0"
#define ICON_FA_MAGNET "\uf076"
#define ICON_FA_MAIL_BULK "\uf674"
#define ICON_FA_MALE "\uf183"
#define ICON_FA_MAP "\uf279"
#define ICON_FA_MAP_MARKED "\uf59f"
#define ICON_FA_MAP_MARKED_ALT "\uf5a0"
#define ICON_FA_MAP_MARKER "\uf041"
#define ICON_FA_MAP_MARKER_ALT "\uf3c5"
#define ICON_FA_MAP_PIN "\uf276"
#define ICON_FA_MAP_SIGNS "\uf277"
#define ICON_FA_MARKER "\uf5a1"
#define ICON_FA_MARS "\uf222"
#define ICON_FA_MARS_DOUBLE "\uf227"
#define ICON_FA_MARS_STROKE "\uf229"
#define ICON_FA_MARS_STROKE_H "\uf22b"
#define ICON_FA_MARS_STROKE_V "\uf22a"
#define ICON_FA_MASK "\uf6fa"
#define ICON_FA_MEDAL "\uf5a2"
#define ICON_FA_MEDKIT "\uf0fa"
#define ICON_FA_MEH "\uf11a"
#define ICON_FA_MEH_BLANK "\uf5a4"
#define ICON_FA_MEH_ROLLING_EYES "\uf5a5"
#define ICON_FA_MEMORY "\uf538"
#define ICON_FA_MENORAH "\uf676"
#define ICON_FA_MERCURY "\uf223"
#define ICON_FA_METEOR "\uf753"
#define ICON_FA_MICROCHIP "\uf2db"
#define ICON_FA_MICROPHONE "\uf130"
#define ICON_FA_MICROPHONE_ALT "\uf3c9"
#define ICON_FA_MICROPHONE_ALT_SLASH "\uf539"
#define ICON_FA_MICROPHONE_SLASH "\uf131"
#define ICON_FA_MICROSCOPE "\uf610"
#define ICON_FA_MINUS "\uf068"
#define ICON_FA_MINUS_CIRCLE "\uf056"
#define ICON_FA_MINUS_SQUARE "\uf146"
#define ICON_FA_MITTEN "\uf7b5"
#define ICON_FA_MOBILE "\uf10b"
#define ICON_FA_MOBILE_ALT "\uf3cd"
#define ICON_FA_MONEY_BILL "\uf0d6"
#define ICON_FA_MONEY_BILL_ALT "\uf3d1"
#define ICON_FA_MONEY_BILL_WAVE "\uf53a"
#define ICON_FA_MONEY_BILL_WAVE_ALT "\uf53b"
#define ICON_FA_MONEY_CHECK "\uf53c"
#define ICON_FA_MONEY_CHECK_ALT "\uf53d"
#define ICON_FA_MONUMENT "\uf5a6"
#define ICON_FA_MOON "\uf186"
#define ICON_FA_MORTAR_PESTLE "\uf5a7"
#define ICON_FA_MOSQUE "\uf678"
#define ICON_FA_MOTORCYCLE "\uf21c"
#define ICON_FA_MOUNTAIN "\uf6fc"
#define ICON_FA_MOUSE "\uf8cc"
#define ICON_FA_MOUSE_POINTER "\uf245"
#define ICON_FA_MUG_HOT "\uf7b6"
#define ICON_FA_MUSIC "\uf001"
#define ICON_FA_NETWORK_WIRED "\uf6ff"
#define ICON_FA_NEUTER "\uf22c"
#define ICON_FA_NEWSPAPER "\uf1ea"
#define ICON_FA_NOT_EQUAL "\uf53e"
#define ICON_FA_NOTES_MEDICAL "\uf481"
#define ICON_FA_OBJECT_GROUP "\uf247"
#define ICON_FA_OBJECT_UNGROUP "\uf248"
#define ICON_FA_OIL_CAN "\uf613"
#define ICON_FA_OM "\uf679"
#define ICON_FA_OTTER "\uf700"
#define ICON_FA_OUTDENT "\uf03b"
#define ICON_FA_PAGER "\uf815"
#define ICON_FA_PAINT_BRUSH "\uf1fc"
#define ICON_FA_PAINT_ROLLER "\uf5aa"
#define ICON_FA_PALETTE "\uf53f"
#define ICON_FA_PALLET "\uf482"
#define ICON_FA_PAPER_PLANE "\uf1d8"
#define ICON_FA_PAPERCLIP "\uf0c6"
#define ICON_FA_PARACHUTE_BOX "\uf4cd"
#define ICON_FA_PARAGRAPH "\uf1dd"
#define ICON_FA_PARKING "\uf540"
#define ICON_FA_PASSPORT "\uf5ab"
#define ICON_FA_PASTAFARIANISM "\uf67b"
#define ICON_FA_PASTE "\uf0ea"
#define ICON_FA_PAUSE "\uf04c"
#define ICON_FA_PAUSE_CIRCLE "\uf28b"
#define ICON_FA_PAW "\uf1b0"
#define ICON_FA_PEACE "\uf67c"
#define ICON_FA_PEN "\uf304"
#define ICON_FA_PEN_ALT "\uf305"
#define ICON_FA_PEN_FANCY "\uf5ac"
#define ICON_FA_PEN_NIB "\uf5ad"
#define ICON_FA_PEN_SQUARE "\uf14b"
#define ICON_FA_PENCIL_ALT "\uf303"
#define ICON_FA_PENCIL_RULER "\uf5ae"
#define ICON_FA_PEOPLE_CARRY "\uf4ce"
#define ICON_FA_PEPPER_HOT "\uf816"
#define ICON_FA_PERCENT "\uf295"
#define ICON_FA_PERCENTAGE "\uf541"
#define ICON_FA_PERSON_BOOTH "\uf756"
#define ICON_FA_PHONE "\uf095"
#define ICON_FA_PHONE_ALT "\uf879"
#define ICON_FA_PHONE_SLASH "\uf3dd"
#define ICON_FA_PHONE_SQUARE "\uf098"
#define ICON_FA_PHONE_SQUARE_ALT "\uf87b"
#define ICON_FA_PHONE_VOLUME "\uf2a0"
#define ICON_FA_PHOTO_VIDEO "\uf87c"
#define ICON_FA_PIGGY_BANK "\uf4d3"
#define ICON_FA_PILLS "\uf484"
#define ICON_FA_PIZZA_SLICE "\uf818"
#define ICON_FA_PLACE_OF_WORSHIP "\uf67f"
#define ICON_FA_PLANE "\uf072"
#define ICON_FA_PLANE_ARRIVAL "\uf5af"
#define ICON_FA_PLANE_DEPARTURE "\uf5b0"
#define ICON_FA_PLAY "\uf04b"
#define ICON_FA_PLAY_CIRCLE "\uf144"
#define ICON_FA_PLUG "\uf1e6"
#define ICON_FA_PLUS "\uf067"
#define ICON_FA_PLUS_CIRCLE "\uf055"
#define ICON_FA_PLUS_SQUARE "\uf0fe"
#define ICON_FA_PODCAST "\uf2ce"
#define ICON_FA_POLL "\uf681"
#define ICON_FA_POLL_H "\uf682"
#define ICON_FA_POO "\uf2fe"
#define ICON_FA_POO_STORM "\uf75a"
#define ICON_FA_POOP "\uf619"
#define ICON_FA_PORTRAIT "\uf3e0"
#define ICON_FA_POUND_SIGN "\uf154"
#define ICON_FA_POWER_OFF "\uf011"
#define ICON_FA_PRAY "\uf683"
#define ICON_FA_PRAYING_HANDS "\uf684"
#define ICON_FA_PRESCRIPTION "\uf5b1"
#define ICON_FA_PRESCRIPTION_BOTTLE "\uf485"
#define ICON_FA_PRESCRIPTION_BOTTLE_ALT "\uf486"
#define ICON_FA_PRINT "\uf02f"
#define ICON_FA_PROCEDURES "\uf487"
#define ICON_FA_PROJECT_DIAGRAM "\uf542"
#define ICON_FA_PUZZLE_PIECE "\uf12e"
#define ICON_FA_QRCODE "\uf029"
#define ICON_FA_QUESTION "\uf128"
#define ICON_FA_QUESTION_CIRCLE "\uf059"
#define ICON_FA_QUIDDITCH "\uf458"
#define ICON_FA_QUOTE_LEFT "\uf10d"
#define ICON_FA_QUOTE_RIGHT "\uf10e"
#define ICON_FA_QURAN "\uf687"
#define ICON_FA_RADIATION "\uf7b9"
#define ICON_FA_RADIATION_ALT "\uf7ba"
#define ICON_FA_RAINBOW "\uf75b"
#define ICON_FA_RANDOM "\uf074"
#define ICON_FA_RECEIPT "\uf543"
#define ICON_FA_RECORD_VINYL "\uf8d9"
#define ICON_FA_RECYCLE "\uf1b8"
#define ICON_FA_REDO "\uf01e"
#define ICON_FA_REDO_ALT "\uf2f9"
#define ICON_FA_REGISTERED "\uf25d"
#define ICON_FA_REMOVE_FORMAT "\uf87d"
#define ICON_FA_REPLY "\uf3e5"
#define ICON_FA_REPLY_ALL "\uf122"
#define ICON_FA_REPUBLICAN "\uf75e"
#define ICON_FA_RESTROOM "\uf7bd"
#define ICON_FA_RETWEET "\uf079"
#define ICON_FA_RIBBON "\uf4d6"
#define ICON_FA_RING "\uf70b"
#define ICON_FA_ROAD "\uf018"
#define ICON_FA_ROBOT "\uf544"
#define ICON_FA_ROCKET "\uf135"
#define ICON_FA_ROUTE "\uf4d7"
#define ICON_FA_RSS "\uf09e"
#define ICON_FA_RSS_SQUARE "\uf143"
#define ICON_FA_RUBLE_SIGN "\uf158"
#define ICON_FA_RULER "\uf545"
#define ICON_FA_RULER_COMBINED "\uf546"
#define ICON_FA_RULER_HORIZONTAL "\uf547"
#define ICON_FA_RULER_VERTICAL "\uf548"
#define ICON_FA_RUNNING "\uf70c"
#define ICON_FA_RUPEE_SIGN "\uf156"
#define ICON_FA_SAD_CRY "\uf5b3"
#define ICON_FA_SAD_TEAR "\uf5b4"
#define ICON_FA_SATELLITE "\uf7bf"
#define ICON_FA_SATELLITE_DISH "\uf7c0"
#define ICON_FA_SAVE "\uf0c7"
#define ICON_FA_SCHOOL "\uf549"
#define ICON_FA_SCREWDRIVER "\uf54a"
#define ICON_FA_SCROLL "\uf70e"
#define ICON_FA_SD_CARD "\uf7c2"
#define ICON_FA_SEARCH "\uf002"
#define ICON_FA_SEARCH_DOLLAR "\uf688"
#define ICON_FA_SEARCH_LOCATION "\uf689"
#define ICON_FA_SEARCH_MINUS "\uf010"
#define ICON_FA_SEARCH_PLUS "\uf00e"
#define ICON_FA_SEEDLING "\uf4d8"
#define ICON_FA_SERVER "\uf233"
#define ICON_FA_SHAPES "\uf61f"
#define ICON_FA_SHARE "\uf064"
#define ICON_FA_SHARE_ALT "\uf1e0"
#define ICON_FA_SHARE_ALT_SQUARE "\uf1e1"
#define ICON_FA_SHARE_SQUARE "\uf14d"
#define ICON_FA_SHEKEL_SIGN "\uf20b"
#define ICON_FA_SHIELD_ALT "\uf3ed"
#define ICON_FA_SHIP "\uf21a"
#define ICON_FA_SHIPPING_FAST "\uf48b"
#define ICON_FA_SHOE_PRINTS "\uf54b"
#define ICON_FA_SHOPPING_BAG "\uf290"
#define ICON_FA_SHOPPING_BASKET "\uf291"
#define ICON_FA_SHOPPING_CART "\uf07a"
#define ICON_FA_SHOWER "\uf2cc"
#define ICON_FA_SHUTTLE_VAN "\uf5b6"
#define ICON_FA_SIGN "\uf4d9"
#define ICON_FA_SIGN_IN_ALT "\uf2f6"
#define ICON_FA_SIGN_LANGUAGE "\uf2a7"
#define ICON_FA_SIGN_OUT_ALT "\uf2f5"
#define ICON_FA_SIGNAL "\uf012"
#define ICON_FA_SIGNATURE "\uf5b7"
#define ICON_FA_SIM_CARD "\uf7c4"
#define ICON_FA_SITEMAP "\uf0e8"
#define ICON_FA_SKATING "\uf7c5"
#define ICON_FA_SKIING "\uf7c9"
#define ICON_FA_SKIING_NORDIC "\uf7ca"
#define ICON_FA_SKULL "\uf54c"
#define ICON_FA_SKULL_CROSSBONES "\uf714"
#define ICON_FA_SLASH "\uf715"
#define ICON_FA_SLEIGH "\uf7cc"
#define ICON_FA_SLIDERS_H "\uf1de"
#define ICON_FA_SMILE "\uf118"
#define ICON_FA_SMILE_BEAM "\uf5b8"
#define ICON_FA_SMILE_WINK "\uf4da"
#define ICON_FA_SMOG "\uf75f"
#define ICON_FA_SMOKING "\uf48d"
#define ICON_FA_SMOKING_BAN "\uf54d"
#define ICON_FA_SMS "\uf7cd"
#define ICON_FA_SNOWBOARDING "\uf7ce"
#define ICON_FA_SNOWFLAKE "\uf2dc"
#define ICON_FA_SNOWMAN "\uf7d0"
#define ICON_FA_SNOWPLOW "\uf7d2"
#define ICON_FA_SOCKS "\uf696"
#define ICON_FA_SOLAR_PANEL "\uf5ba"
#define ICON_FA_SORT "\uf0dc"
#define ICON_FA_SORT_ALPHA_DOWN "\uf15d"
#define ICON_FA_SORT_ALPHA_DOWN_ALT "\uf881"
#define ICON_FA_SORT_ALPHA_UP "\uf15e"
#define ICON_FA_SORT_ALPHA_UP_ALT "\uf882"
#define ICON_FA_SORT_AMOUNT_DOWN "\uf160"
#define ICON_FA_SORT_AMOUNT_DOWN_ALT "\uf884"
#define ICON_FA_SORT_AMOUNT_UP "\uf161"
#define ICON_FA_SORT_AMOUNT_UP_ALT "\uf885"
#define ICON_FA_SORT_DOWN "\uf0dd"
#define ICON_FA_SORT_NUMERIC_DOWN "\uf162"
#define ICON_FA_SORT_NUMERIC_DOWN_ALT "\uf886"
#define ICON_FA_SORT_NUMERIC_UP "\uf163"
#define ICON_FA_SORT_NUMERIC_UP_ALT "\uf887"
#define ICON_FA_SORT_UP "\uf0de"
#define ICON_FA_SPA "\uf5bb"
#define ICON_FA_SPACE_SHUTTLE "\uf197"
#define ICON_FA_SPELL_CHECK "\uf891"
#define ICON_FA_SPIDER "\uf717"
#define ICON_FA_SPINNER "\uf110"
#define ICON_FA_SPLOTCH "\uf5bc"
#define ICON_FA_SPRAY_CAN "\uf5bd"
#define ICON_FA_SQUARE "\uf0c8"
#define ICON_FA_SQUARE_FULL "\uf45c"
#define ICON_FA_SQUARE_ROOT_ALT "\uf698"
#define ICON_FA_STAMP "\uf5bf"
#define ICON_FA_STAR "\uf005"
#define ICON_FA_STAR_AND_CRESCENT "\uf699"
#define ICON_FA_STAR_HALF "\uf089"
#define ICON_FA_STAR_HALF_ALT "\uf5c0"
#define ICON_FA_STAR_OF_DAVID "\uf69a"
#define ICON_FA_STAR_OF_LIFE "\uf621"
#define ICON_FA_STEP_BACKWARD "\uf048"
#define ICON_FA_STEP_FORWARD "\uf051"
#define ICON_FA_STETHOSCOPE "\uf0f1"
#define ICON_FA_STICKY_NOTE "\uf249"
#define ICON_FA_STOP "\uf04d"
#define ICON_FA_STOP_CIRCLE "\uf28d"
#define ICON_FA_STOPWATCH "\uf2f2"
#define ICON_FA_STORE "\uf54e"
#define ICON_FA_STORE_ALT "\uf54f"
#define ICON_FA_STREAM "\uf550"
#define ICON_FA_STREET_VIEW "\uf21d"
#define ICON_FA_STRIKETHROUGH "\uf0cc"
#define ICON_FA_STROOPWAFEL "\uf551"
#define ICON_FA_SUBSCRIPT "\uf12c"
#define ICON_FA_SUBWAY "\uf239"
#define ICON_FA_SUITCASE "\uf0f2"
#define ICON_FA_SUITCASE_ROLLING "\uf5c1"
#define ICON_FA_SUN "\uf185"
#define ICON_FA_SUPERSCRIPT "\uf12b"
#define ICON_FA_SURPRISE "\uf5c2"
#define ICON_FA_SWATCHBOOK "\uf5c3"
#define ICON_FA_SWIMMER "\uf5c4"
#define ICON_FA_SWIMMING_POOL "\uf5c5"
#define ICON_FA_SYNAGOGUE "\uf69b"
#define ICON_FA_SYNC "\uf021"
#define ICON_FA_SYNC_ALT "\uf2f1"
#define ICON_FA_SYRINGE "\uf48e"
#define ICON_FA_TABLE "\uf0ce"
#define ICON_FA_TABLE_TENNIS "\uf45d"
#define ICON_FA_TABLET "\uf10a"
#define ICON_FA_TABLET_ALT "\uf3fa"
#define ICON_FA_TABLETS "\uf490"
#define ICON_FA_TACHOMETER_ALT "\uf3fd"
#define ICON_FA_TAG "\uf02b"
#define ICON_FA_TAGS "\uf02c"
#define ICON_FA_TAPE "\uf4db"
#define ICON_FA_TASKS "\uf0ae"
#define ICON_FA_TAXI "\uf1ba"
#define ICON_FA_TEETH "\uf62e"
#define ICON_FA_TEETH_OPEN "\uf62f"
#define ICON_FA_TEMPERATURE_HIGH "\uf769"
#define ICON_FA_TEMPERATURE_LOW "\uf76b"
#define ICON_FA_TENGE "\uf7d7"
#define ICON_FA_TERMINAL "\uf120"
#define ICON_FA_TEXT_HEIGHT "\uf034"
#define ICON_FA_TEXT_WIDTH "\uf035"
#define ICON_FA_TH "\uf00a"
#define ICON_FA_TH_LARGE "\uf009"
#define ICON_FA_TH_LIST "\uf00b"
#define ICON_FA_THEATER_MASKS "\uf630"
#define ICON_FA_THERMOMETER "\uf491"
#define ICON_FA_THERMOMETER_EMPTY "\uf2cb"
#define ICON_FA_THERMOMETER_FULL "\uf2c7"
#define ICON_FA_THERMOMETER_HALF "\uf2c9"
#define ICON_FA_THERMOMETER_QUARTER "\uf2ca"
#define ICON_FA_THERMOMETER_THREE_QUARTERS "\uf2c8"
#define ICON_FA_THUMBS_DOWN "\uf165"
#define ICON_FA_THUMBS_UP "\uf164"
#define ICON_FA_THUMBTACK "\uf08d"
#define ICON_FA_TICKET_ALT "\uf3ff"
#define ICON_FA_TIMES "\uf00d"
#define ICON_FA_TIMES_CIRCLE "\uf057"
#define ICON_FA_TINT "\uf043"
#define ICON_FA_TINT_SLASH "\uf5c7"
#define ICON_FA_TIRED "\uf5c8"
#define ICON_FA_TOGGLE_OFF "\uf204"
#define ICON_FA_TOGGLE_ON "\uf205"
#define ICON_FA_TOILET "\uf7d8"
#define ICON_FA_TOILET_PAPER "\uf71e"
#define ICON_FA_TOOLBOX "\uf552"
#define ICON_FA_TOOLS "\uf7d9"
#define ICON_FA_TOOTH "\uf5c9"
#define ICON_FA_TORAH "\uf6a0"
#define ICON_FA_TORII_GATE "\uf6a1"
#define ICON_FA_TRACTOR "\uf722"
#define ICON_FA_TRADEMARK "\uf25c"
#define ICON_FA_TRAFFIC_LIGHT "\uf637"
#define ICON_FA_TRAILER "\uf941"
#define ICON_FA_TRAIN "\uf238"
#define ICON_FA_TRAM "\uf7da"
#define ICON_FA_TRANSGENDER "\uf224"
#define ICON_FA_TRANSGENDER_ALT "\uf225"
#define ICON_FA_TRASH "\uf1f8"
#define ICON_FA_TRASH_ALT "\uf2ed"
#define ICON_FA_TRASH_RESTORE "\uf829"
#define ICON_FA_TRASH_RESTORE_ALT "\uf82a"
#define ICON_FA_TREE "\uf1bb"
#define ICON_FA_TROPHY "\uf091"
#define ICON_FA_TRUCK "\uf0d1"
#define ICON_FA_TRUCK_LOADING "\uf4de"
#define ICON_FA_TRUCK_MONSTER "\uf63b"
#define ICON_FA_TRUCK_MOVING "\uf4df"
#define ICON_FA_TRUCK_PICKUP "\uf63c"
#define ICON_FA_TSHIRT "\uf553"
#define ICON_FA_TTY "\uf1e4"
#define ICON_FA_TV "\uf26c"
#define ICON_FA_UMBRELLA "\uf0e9"
#define ICON_FA_UMBRELLA_BEACH "\uf5ca"
#define ICON_FA_UNDERLINE "\uf0cd"
#define ICON_FA_UNDO "\uf0e2"
#define ICON_FA_UNDO_ALT "\uf2ea"
#define ICON_FA_UNIVERSAL_ACCESS "\uf29a"
#define ICON_FA_UNIVERSITY "\uf19c"
#define ICON_FA_UNLINK "\uf127"
#define ICON_FA_UNLOCK "\uf09c"
#define ICON_FA_UNLOCK_ALT "\uf13e"
#define ICON_FA_UPLOAD "\uf093"
#define ICON_FA_USER "\uf007"
#define ICON_FA_USER_ALT "\uf406"
#define ICON_FA_USER_ALT_SLASH "\uf4fa"
#define ICON_FA_USER_ASTRONAUT "\uf4fb"
#define ICON_FA_USER_CHECK "\uf4fc"
#define ICON_FA_USER_CIRCLE "\uf2bd"
#define ICON_FA_USER_CLOCK "\uf4fd"
#define ICON_FA_USER_COG "\uf4fe"
#define ICON_FA_USER_EDIT "\uf4ff"
#define ICON_FA_USER_FRIENDS "\uf500"
#define ICON_FA_USER_GRADUATE "\uf501"
#define ICON_FA_USER_INJURED "\uf728"
#define ICON_FA_USER_LOCK "\uf502"
#define ICON_FA_USER_MD "\uf0f0"
#define ICON_FA_USER_MINUS "\uf503"
#define ICON_FA_USER_NINJA "\uf504"
#define ICON_FA_USER_NURSE "\uf82f"
#define ICON_FA_USER_PLUS "\uf234"
#define ICON_FA_USER_SECRET "\uf21b"
#define ICON_FA_USER_SHIELD "\uf505"
#define ICON_FA_USER_SLASH "\uf506"
#define ICON_FA_USER_TAG "\uf507"
#define ICON_FA_USER_TIE "\uf508"
#define ICON_FA_USER_TIMES "\uf235"
#define ICON_FA_USERS "\uf0c0"
#define ICON_FA_USERS_COG "\uf509"
#define ICON_FA_UTENSIL_SPOON "\uf2e5"
#define ICON_FA_UTENSILS "\uf2e7"
#define ICON_FA_VECTOR_SQUARE "\uf5cb"
#define ICON_FA_VENUS "\uf221"
#define ICON_FA_VENUS_DOUBLE "\uf226"
#define ICON_FA_VENUS_MARS "\uf228"
#define ICON_FA_VIAL "\uf492"
#define ICON_FA_VIALS "\uf493"
#define ICON_FA_VIDEO "\uf03d"
#define ICON_FA_VIDEO_SLASH "\uf4e2"
#define ICON_FA_VIHARA "\uf6a7"
#define ICON_FA_VOICEMAIL "\uf897"
#define ICON_FA_VOLLEYBALL_BALL "\uf45f"
#define ICON_FA_VOLUME_DOWN "\uf027"
#define ICON_FA_VOLUME_MUTE "\uf6a9"
#define ICON_FA_VOLUME_OFF "\uf026"
#define ICON_FA_VOLUME_UP "\uf028"
#define ICON_FA_VOTE_YEA "\uf772"
#define ICON_FA_VR_CARDBOARD "\uf729"
#define ICON_FA_WALKING "\uf554"
#define ICON_FA_WALLET "\uf555"
#define ICON_FA_WAREHOUSE "\uf494"
#define ICON_FA_WATER "\uf773"
#define ICON_FA_WAVE_SQUARE "\uf83e"
#define ICON_FA_WEIGHT "\uf496"
#define ICON_FA_WEIGHT_HANGING "\uf5cd"
#define ICON_FA_WHEELCHAIR "\uf193"
#define ICON_FA_WIFI "\uf1eb"
#define ICON_FA_WIND "\uf72e"
#define ICON_FA_WINDOW_CLOSE "\uf410"
#define ICON_FA_WINDOW_MAXIMIZE "\uf2d0"
#define ICON_FA_WINDOW_MINIMIZE "\uf2d1"
#define ICON_FA_WINDOW_RESTORE "\uf2d2"
#define ICON_FA_WINE_BOTTLE "\uf72f"
#define ICON_FA_WINE_GLASS "\uf4e3"
#define ICON_FA_WINE_GLASS_ALT "\uf5ce"
#define ICON_FA_WON_SIGN "\uf159"
#define ICON_FA_WRENCH "\uf0ad"
#define ICON_FA_X_RAY "\uf497"
#define ICON_FA_YEN_SIGN "\uf157"
#define ICON_FA_YIN_YANG "\uf6ad"
|
UbuntuEvangelist/OG-Platform | projects/OG-Bloomberg/src/main/java/com/opengamma/bbg/BloombergFields.java | <reponame>UbuntuEvangelist/OG-Platform
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.bbg;
// REVIEW kirk 2009-10-12 -- This really should be an object that's created by parsing
// the bbfields.tbl file. For now, we put it here so that we can get at it easily.
/**
* Fields used to access Bloomberg.
*/
public interface BloombergFields {
/**
* The last price.
*/
String LAST_PRICE_FIELD = "LAST_PRICE";
/**
* The mid value.
*/
String MID_FIELD = "MID";
/**
* The bid value.
*/
String BID_FIELD = "BID";
/**
* The ask value.
*/
String ASK_FIELD = "ASK";
/**
* The index members.
*/
String INDEX_MEMBERS_FIELD = "INDX_MEMBERS";
/**
* The Current Market Cap.
*/
String CURRENT_MARKET_CAP_FIELD = "CUR_MKT_CAP";
}
|
dreamsxin/ultimatepp | uppsrc/XmlRpc/xrs_header.h | <filename>uppsrc/XmlRpc/xrs_header.h
#include "XmlRpc.h"
#define STRUCT(id) struct id {
#define VAR(type, id) type id;
#define INT(id) int id;
#define BOOL(id) bool id;
#define STRING(id) String id;
#define DOUBLE(id) double id;
#define DATE(id) Date id;
#define TIME(id) Time id;
#define END_STRUCT void Map(ValueMapper& m); };
#include XRSFILE
#undef STRUCT
#undef VAR
#undef INT
#undef BOOL
#undef STRING
#undef DOUBLE
#undef DATE
#undef TIME
#undef END_STRUCT
#ifndef XRS_KEEP
#undef XRSFILE
#endif
|
ms20hj/ets | ets-model/src/main/java/com/cms/ets/model/mysql/park/Scape.java | <gh_stars>0
package com.cms.ets.model.mysql.park;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cms.ets.model.mysql.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
/**
* <p>
* 景点信息表
* </p>
*
* @author cms
* @since 2019-10-24
*/
@TableName("t_scape")
public class Scape extends BaseEntity {
private static final long serialVersionUID = 1L;
public static final String MODULE_NAME = "园区管理";
public static final String MENU_NAME = "景点管理";
/**
* 景点名称
*/
@TableField("scape_name")
private String scapeName;
/**
* 所属景区
*/
@TableField("scenic_spot_id")
private String scenicSpotId;
/**
* 所属景区关联对象
*/
@TableField(exist = false)
private ScenicSpot scenicSpot;
/**
* 描述
*/
@TableField("description")
private String description;
public String getScapeName() {
return scapeName;
}
public void setScapeName(String scapeName) {
this.scapeName = scapeName;
}
public String getScenicSpotId() {
return scenicSpotId;
}
public void setScenicSpotId(String scenicSpotId) {
this.scenicSpotId = scenicSpotId;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public ScenicSpot getScenicSpot() {
return scenicSpot;
}
public void setScenicSpot(ScenicSpot scenicSpot) {
this.scenicSpot = scenicSpot;
}
@Override
public String toString() {
return "Scape{" +
"scapeName=" + scapeName +
", scenicSpotId=" + scenicSpotId +
", description=" + description +
"}";
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.