text:
package de.tourenplaner.algorithms.coregraph;

import de.tourenplaner.computecore.RequestData;

import java.util.Map;

/**
 * RequestData for CoreGraph's that only contains the constraints of the core graph, points
 * are not required because CoreGraphs are global
 */
public class CoreGraphRequest extends RequestData {
	private Map<String, Object> constraints;
	/**
	 * Returns the constraints associated with this request
	 *
	 * @return A Map representing the constraints
	 */
	public Map<String, Object> getConstraints() {
		return constraints;
	}

	public CoreGraphRequest (String algSuffix, Map<String, Object> constraints) {
		super(algSuffix);
		this.constraints = constraints;
	}
}


text:
// Copyright 2015 Google Inc. 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.

import workloadListModule from 'workloads/module';
import {resolveWorkloads} from 'workloads/stateconfig';

describe('StateConfig for workload list', () => {
  /** @type {!common/pagination/service.PaginationService} */
  let kdPaginationService;

  beforeEach(() => {
    angular.mock.module(workloadListModule.name);
    angular.mock.inject((_kdPaginationService_) => {
      kdPaginationService = _kdPaginationService_;
    });
  });

  it('should resolve workloads with no namespace', angular.mock.inject(($q) => {
    let promise = $q.defer().promise;

    let resource = jasmine.createSpyObj('$resource', ['get']);
    resource.get.and.callFake(function() {
      return {$promise: promise};
    });

    let actual = resolveWorkloads(resource, {}, kdPaginationService);

    expect(resource.get).toHaveBeenCalledWith(kdPaginationService.getDefaultResourceQuery(''));
    expect(actual).toBe(promise);
  }));

  it('should resolve workloads', angular.mock.inject(($q) => {
    let promise = $q.defer().promise;

    let resource = jasmine.createSpyObj('$resource', ['get']);
    resource.get.and.callFake(function() {
      return {$promise: promise};
    });

    let actual = resolveWorkloads(resource, {namespace: 'foo'}, kdPaginationService);

    expect(resource.get).toHaveBeenCalledWith(kdPaginationService.getDefaultResourceQuery('foo'));
    expect(actual).toBe(promise);
  }));
});

redpajama_set_name: RedPajamaGithub


text:
// Copyright 2011 Google 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.

traceur.define('util', function() {
  'use strict';

  /**
   * A map backed by arrays. All methods are O(n) so only use this when you
   * cannot change the key object.
   */
  function ArrayMap() {
    this.values_ = [];
    this.keys_ = [];
  }

  ArrayMap.prototype = {
    has: function(key) {
      return this.keys_.indexOf(key) != -1;
    },
    get: function(key) {
      var index = this.keys_.indexOf(key);
      if (index == -1) {
        return undefined;
      }
      return this.values_[index];
    },
    put: function(key, value) {
      var index = this.keys_.indexOf(key);
      if (index == -1) {
        this.keys_.push(key);
        this.values_.push(value);
      } else {
        this.values_[index] = value;
      }
    },
    addAll: function(other) {
      var keys = other.keys();
      var values = other.values();
      for (var i = 0; i < keys.length; i++) {
        this.put(keys[i], values[i]);
      }
    },
    remove: function(key) {
      var index = this.keys_.indexOf(key);
      if (index == -1) {
        return;
      }
      this.keys_.splice(index, 1);
      this.values_.splice(index, 1);
    },
    keys: function() {
      return this.keys_.concat();
    },
    values: function() {
      return this.values_.concat();
    }
  };

  return {
    ArrayMap: ArrayMap
  };
});


text:
from flask import Flask
from stationsapi import api

app = Flask(__name__)
app.debug = True

app.register_blueprint(api)

if __name__ == '__main__':
    app.run()


text:
package eu.openanalytics.rsb.message;

import java.util.GregorianCalendar;
import java.util.UUID;

import org.eclipse.statet.jcommons.lang.NonNullByDefault;

import org.springframework.context.MessageSource;

import eu.openanalytics.rsb.Util;

/**
 * Represents a RSB job that consists in calling the RSBJsonService function on R.
 *
 * @author "Open Analytics <rsb.development@openanalytics.eu>"
 */
@NonNullByDefault
public class JsonFunctionCallJob extends AbstractFunctionCallJob {

	private static final long serialVersionUID= 1L;

	public JsonFunctionCallJob(final Source source, final String applicationName,
			final String userName, final UUID jobId,
			final GregorianCalendar submissionTime,
			final String argument) {
		super(source, applicationName, userName, jobId, submissionTime, argument);
	}

	@Override
	public String getFunctionName() {
		return "RSBJsonService";
	}

	@Override
	public JsonFunctionCallResult buildSuccessResult(final String result) {
		// R response is JSON already, no conversion needed
		return buildResult(true, result);
	}

	@Override
	public JsonFunctionCallResult buildErrorResult(final Throwable error, final MessageSource messageSource) {
		return buildResult(false, Util.toJson(AbstractJob.buildJobProcessingErrorResult(this, error)));
	}

	private JsonFunctionCallResult buildResult(final boolean success, final String result) {
		return new JsonFunctionCallResult(getSource(), getApplicationName(),
				getUserName(), getJobId(), getSubmissionTime(),
				success, result );
	}

}


text:
<?xml version="1.0" encoding="utf-8"?>
<reflection>
  <assemblies>
    <assembly name="mscorlib">
      <assemblydata version="4.0.0.0" culture="" key="00000000000000000400000000000000" hash="SHA1" />
      <attributes>
        <attribute>
          <type api="T:System.Reflection.AssemblyKeyFileAttribute" ref="true" />
          <argument>
            <type api="T:System.String" ref="true" />
            <value>f:\dd\Tools\devdiv\ecmapublickey.snk</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Reflection.AssemblyDelaySignAttribute" ref="true" />
          <argument>
            <type api="T:System.Boolean" ref="false" />
            <value>True</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Security.AllowPartiallyTrustedCallersAttribute" ref="true" />
        </attribute>
        <attribute>
          <type api="T:System.Resources.NeutralResourcesLanguageAttribute" ref="true" />
          <argument>
            <type api="T:System.String" ref="true" />
            <value>en-US</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Runtime.InteropServices.GuidAttribute" ref="true" />
          <argument>
            <type api="T:System.String" ref="true" />
            <value>BED7F4EA-1A96-11d2-8F08-00A0C9A6186D</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Runtime.InteropServices.ComVisibleAttribute" ref="true" />
          <argument>
            <type api="T:System.Boolean" ref="false" />
            <value>False</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.CLSCompliantAttribute" ref="true" />
          <argument>
            <type api="T:System.Boolean" ref="false" />
            <value>True</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Reflection.AssemblyTitleAttribute" ref="true" />
          <argument>
            <type api="T:System.String" ref="true" />
            <value>mscorlib.dll</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Reflection.AssemblyDescriptionAttribute" ref="true" />
          <argument>
            <type api="T:System.String" ref="true" />
            <value>mscorlib.dll</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Reflection.AssemblyDefaultAliasAttribute" ref="true" />
          <argument>
            <type api="T:System.String" ref="true" />
            <value>mscorlib.dll</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Reflection.AssemblyCompanyAttribute" ref="true" />
          <argument>
            <type api="T:System.String" ref="true" />
            <value>Microsoft Corporation</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Reflection.AssemblyProductAttribute" ref="true" />
          <argument>
            <type api="T:System.String" ref="true" />
            <value>Microsoft® .NET Framework</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Reflection.AssemblyCopyrightAttribute" ref="true" />
          <argument>
            <type api="T:System.String" ref="true" />
            <value>© Microsoft Corporation.  All rights reserved.</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Reflection.AssemblyFileVersionAttribute" ref="true" />
          <argument>
            <type api="T:System.String" ref="true" />
            <value>4.0.30319.1</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Reflection.AssemblyInformationalVersionAttribute" ref="true" />
          <argument>
            <type api="T:System.String" ref="true" />
            <value>4.0.30319.1</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Resources.SatelliteContractVersionAttribute" ref="true" />
          <argument>
            <type api="T:System.String" ref="true" />
            <value>4.0.0.0</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Security.Permissions.SecurityPermissionAttribute" ref="true" />
          <argument>
            <type api="T:System.Security.Permissions.SecurityAction" ref="false" />
            <enumValue>
              <field name="RequestMinimum" />
            </enumValue>
          </argument>
          <assignment name="SkipVerification">
            <type api="T:System.Boolean" ref="false" />
            <value>True</value>
          </assignment>
        </attribute>
      </attributes>
    </assembly>
  </assemblies>
  <apis>
    <api id="N:System.Runtime.Remoting.Proxies">
      <topicdata group="api" />
      <apidata name="System.Runtime.Remoting.Proxies" group="namespace" />
      <elements>
        <element api="T:System.Runtime.Remoting.Proxies.ProxyAttribute" />
        <element api="T:System.Runtime.Remoting.Proxies.RealProxy" />
      </elements>
      <file name="03a2df88-043d-8460-9522-c34d5b4804cb" />
    </api>
    <api id="T:System.Runtime.Remoting.Proxies.ProxyAttribute">
      <topicdata group="api" allMembersTopicId="AllMembers.T:System.Runtime.Remoting.Proxies.ProxyAttribute" />
      <apidata name="ProxyAttribute" group="type" subgroup="class" />
      <typedata visibility="public" serializable="false" layout="auto" format="ansi" />
      <family>
        <ancestors>
          <type api="T:System.Attribute" ref="true" />
          <type api="T:System.Object" ref="true" />
        </ancestors>
      </family>
      <implements>
        <type api="T:System.Runtime.Remoting.Contexts.IContextAttribute" ref="true" />
      </implements>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.AttributeUsageAttribute" ref="true" />
          <argument>
            <type api="T:System.AttributeTargets" ref="false" />
            <enumValue>
              <field name="Class" />
            </enumValue>
          </argument>
          <assignment name="AllowMultiple">
            <type api="T:System.Boolean" ref="false" />
            <value>False</value>
          </assignment>
          <assignment name="Inherited">
            <type api="T:System.Boolean" ref="false" />
            <value>True</value>
          </assignment>
        </attribute>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
        <attribute>
          <type api="T:System.Runtime.InteropServices.ComVisibleAttribute" ref="true" />
          <argument>
            <type api="T:System.Boolean" ref="false" />
            <value>True</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Security.Permissions.SecurityPermissionAttribute" ref="true" />
          <argument>
            <type api="T:System.Security.Permissions.SecurityAction" ref="false" />
            <enumValue>
              <field name="InheritanceDemand" />
            </enumValue>
          </argument>
          <assignment name="Flags">
            <type api="T:System.Security.Permissions.SecurityPermissionFlag" ref="false" />
            <enumValue>
              <field name="Infrastructure" />
            </enumValue>
          </assignment>
        </attribute>
      </attributes>
      <file name="568ec1c8-a45a-007d-f699-f1dec650a5b6" />
    </api>
    <api id="AllMembers.T:System.Runtime.Remoting.Proxies.ProxyAttribute">
      <topicdata name="ProxyAttribute" group="list" subgroup="members" typeTopicId="T:System.Runtime.Remoting.Proxies.ProxyAttribute" />
      <apidata name="ProxyAttribute" group="type" subgroup="class" />
      <typedata visibility="public" serializable="false" layout="auto" format="ansi" />
      <elements>
        <element api="M:System.Attribute.Equals(System.Object)" />
        <element api="M:System.Attribute.GetHashCode" />
        <element api="M:System.Attribute.IsDefaultAttribute" />
        <element api="M:System.Attribute.Match(System.Object)" />
        <element api="M:System.Attribute.System#Runtime#InteropServices#_Attribute#GetIDsOfNames(System.Guid@,System.IntPtr,System.UInt32,System.UInt32,System.IntPtr)" />
        <element api="M:System.Attribute.System#Runtime#InteropServices#_Attribute#GetTypeInfo(System.UInt32,System.UInt32,System.IntPtr)" />
        <element api="M:System.Attribute.System#Runtime#InteropServices#_Attribute#GetTypeInfoCount(System.UInt32@)" />
        <element api="M:System.Attribute.System#Runtime#InteropServices#_Attribute#Invoke(System.UInt32,System.Guid@,System.UInt32,System.Int16,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" />
        <element api="P:System.Attribute.TypeId" />
        <element api="M:System.Object.Finalize" />
        <element api="M:System.Object.GetType" />
        <element api="M:System.Object.MemberwiseClone" />
        <element api="M:System.Object.ToString" />
        <element api="M:System.Runtime.Remoting.Proxies.ProxyAttribute.#ctor" />
        <element api="M:System.Runtime.Remoting.Proxies.ProxyAttribute.CreateInstance(System.Type)" />
        <element api="M:System.Runtime.Remoting.Proxies.ProxyAttribute.CreateProxy(System.Runtime.Remoting.ObjRef,System.Type,System.Object,System.Runtime.Remoting.Contexts.Context)" />
        <element api="M:System.Runtime.Remoting.Proxies.ProxyAttribute.GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage)" />
        <element api="M:System.Runtime.Remoting.Proxies.ProxyAttribute.IsContextOK(System.Runtime.Remoting.Contexts.Context,System.Runtime.Remoting.Activation.IConstructionCallMessage)" />
      </elements>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
      </containers>
      <file name="ac60f6de-5d7d-7804-fe55-fda0a6a3b1b8" />
    </api>
    <api id="Methods.T:System.Runtime.Remoting.Proxies.ProxyAttribute">
      <topicdata name="ProxyAttribute" group="list" subgroup="Methods" typeTopicId="T:System.Runtime.Remoting.Proxies.ProxyAttribute" />
      <apidata name="ProxyAttribute" group="type" subgroup="class" />
      <typedata visibility="public" serializable="false" layout="auto" format="ansi" />
      <elements>
        <element api="M:System.Attribute.Equals(System.Object)" />
        <element api="M:System.Attribute.GetHashCode" />
        <element api="M:System.Attribute.IsDefaultAttribute" />
        <element api="M:System.Attribute.Match(System.Object)" />
        <element api="M:System.Attribute.System#Runtime#InteropServices#_Attribute#GetIDsOfNames(System.Guid@,System.IntPtr,System.UInt32,System.UInt32,System.IntPtr)" />
        <element api="M:System.Attribute.System#Runtime#InteropServices#_Attribute#GetTypeInfo(System.UInt32,System.UInt32,System.IntPtr)" />
        <element api="M:System.Attribute.System#Runtime#InteropServices#_Attribute#GetTypeInfoCount(System.UInt32@)" />
        <element api="M:System.Attribute.System#Runtime#InteropServices#_Attribute#Invoke(System.UInt32,System.Guid@,System.UInt32,System.Int16,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" />
        <element api="M:System.Object.Finalize" />
        <element api="M:System.Object.GetType" />
        <element api="M:System.Object.MemberwiseClone" />
        <element api="M:System.Object.ToString" />
        <element api="M:System.Runtime.Remoting.Proxies.ProxyAttribute.CreateInstance(System.Type)" />
        <element api="M:System.Runtime.Remoting.Proxies.ProxyAttribute.CreateProxy(System.Runtime.Remoting.ObjRef,System.Type,System.Object,System.Runtime.Remoting.Contexts.Context)" />
        <element api="M:System.Runtime.Remoting.Proxies.ProxyAttribute.GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage)" />
        <element api="M:System.Runtime.Remoting.Proxies.ProxyAttribute.IsContextOK(System.Runtime.Remoting.Contexts.Context,System.Runtime.Remoting.Activation.IConstructionCallMessage)" />
      </elements>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
      </containers>
      <file name="e86f9c2f-1a9d-ad2e-b900-c96c927b8bc8" />
    </api>
    <api id="Properties.T:System.Runtime.Remoting.Proxies.ProxyAttribute">
      <topicdata name="ProxyAttribute" group="list" subgroup="Properties" typeTopicId="T:System.Runtime.Remoting.Proxies.ProxyAttribute" />
      <apidata name="ProxyAttribute" group="type" subgroup="class" />
      <typedata visibility="public" serializable="false" layout="auto" format="ansi" />
      <elements>
        <element api="P:System.Attribute.TypeId" />
      </elements>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
      </containers>
      <file name="2713ac4b-d0a2-8152-baa7-bc232f3ca20c" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.ProxyAttribute.#ctor">
      <topicdata group="api" />
      <apidata name=".ctor" group="member" subgroup="constructor" />
      <memberdata visibility="public" special="true" />
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.ProxyAttribute" ref="true" />
      </containers>
      <file name="a89920a8-bba3-10f3-2d78-18a5121f81ab" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.ProxyAttribute.CreateInstance(System.Type)">
      <topicdata group="api" />
      <apidata name="CreateInstance" group="member" subgroup="method" />
      <memberdata visibility="public" />
      <proceduredata virtual="true" />
      <parameters>
        <parameter name="serverType">
          <type api="T:System.Type" ref="true" />
        </parameter>
      </parameters>
      <returns>
        <type api="T:System.MarshalByRefObject" ref="true" />
      </returns>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.ProxyAttribute" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
      </attributes>
      <file name="a71ac190-ae14-59a2-c721-19c16b369062" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.ProxyAttribute.CreateProxy(System.Runtime.Remoting.ObjRef,System.Type,System.Object,System.Runtime.Remoting.Contexts.Context)">
      <topicdata group="api" />
      <apidata name="CreateProxy" group="member" subgroup="method" />
      <memberdata visibility="public" />
      <proceduredata virtual="true" />
      <parameters>
        <parameter name="objRef">
          <type api="T:System.Runtime.Remoting.ObjRef" ref="true" />
        </parameter>
        <parameter name="serverType">
          <type api="T:System.Type" ref="true" />
        </parameter>
        <parameter name="serverObject">
          <type api="T:System.Object" ref="true" />
        </parameter>
        <parameter name="serverContext">
          <type api="T:System.Runtime.Remoting.Contexts.Context" ref="true" />
        </parameter>
      </parameters>
      <returns>
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </returns>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.ProxyAttribute" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
      </attributes>
      <file name="635e3fa6-3cf4-fc9d-896d-b6f523834e2d" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.ProxyAttribute.GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage)">
      <topicdata group="api" />
      <apidata name="GetPropertiesForNewContext" group="member" subgroup="method" />
      <memberdata visibility="public" />
      <proceduredata virtual="true" final="true" />
      <parameters>
        <parameter name="msg">
          <type api="T:System.Runtime.Remoting.Activation.IConstructionCallMessage" ref="true" />
        </parameter>
      </parameters>
      <implements>
        <member api="M:System.Runtime.Remoting.Contexts.IContextAttribute.GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage)">
          <type api="T:System.Runtime.Remoting.Contexts.IContextAttribute" ref="true" />
        </member>
      </implements>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.ProxyAttribute" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Runtime.InteropServices.ComVisibleAttribute" ref="true" />
          <argument>
            <type api="T:System.Boolean" ref="false" />
            <value>True</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
      </attributes>
      <file name="e0d375ec-5cbc-5d69-a834-b52c13099a30" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.ProxyAttribute.IsContextOK(System.Runtime.Remoting.Contexts.Context,System.Runtime.Remoting.Activation.IConstructionCallMessage)">
      <topicdata group="api" />
      <apidata name="IsContextOK" group="member" subgroup="method" />
      <memberdata visibility="public" />
      <proceduredata virtual="true" final="true" />
      <parameters>
        <parameter name="ctx">
          <type api="T:System.Runtime.Remoting.Contexts.Context" ref="true" />
        </parameter>
        <parameter name="msg">
          <type api="T:System.Runtime.Remoting.Activation.IConstructionCallMessage" ref="true" />
        </parameter>
      </parameters>
      <returns>
        <type api="T:System.Boolean" ref="false" />
      </returns>
      <implements>
        <member api="M:System.Runtime.Remoting.Contexts.IContextAttribute.IsContextOK(System.Runtime.Remoting.Contexts.Context,System.Runtime.Remoting.Activation.IConstructionCallMessage)">
          <type api="T:System.Runtime.Remoting.Contexts.IContextAttribute" ref="true" />
        </member>
      </implements>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.ProxyAttribute" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
        <attribute>
          <type api="T:System.Runtime.InteropServices.ComVisibleAttribute" ref="true" />
          <argument>
            <type api="T:System.Boolean" ref="false" />
            <value>True</value>
          </argument>
        </attribute>
      </attributes>
      <file name="aed67f88-ee05-d7ce-da20-0908acdba6f9" />
    </api>
    <api id="T:System.Runtime.Remoting.Proxies.RealProxy">
      <topicdata group="api" allMembersTopicId="AllMembers.T:System.Runtime.Remoting.Proxies.RealProxy" />
      <apidata name="RealProxy" group="type" subgroup="class" />
      <typedata visibility="public" abstract="true" serializable="false" layout="auto" format="ansi" />
      <family>
        <ancestors>
          <type api="T:System.Object" ref="true" />
        </ancestors>
      </family>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Runtime.InteropServices.ComVisibleAttribute" ref="true" />
          <argument>
            <type api="T:System.Boolean" ref="false" />
            <value>True</value>
          </argument>
        </attribute>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
        <attribute>
          <type api="T:System.Security.Permissions.SecurityPermissionAttribute" ref="true" />
          <argument>
            <type api="T:System.Security.Permissions.SecurityAction" ref="false" />
            <enumValue>
              <field name="InheritanceDemand" />
            </enumValue>
          </argument>
          <assignment name="Flags">
            <type api="T:System.Security.Permissions.SecurityPermissionFlag" ref="false" />
            <enumValue>
              <field name="Infrastructure" />
            </enumValue>
          </assignment>
        </attribute>
      </attributes>
      <file name="e217122e-5423-11c5-dc09-25c74f201022" />
    </api>
    <api id="AllMembers.T:System.Runtime.Remoting.Proxies.RealProxy">
      <topicdata name="RealProxy" group="list" subgroup="members" typeTopicId="T:System.Runtime.Remoting.Proxies.RealProxy" />
      <apidata name="RealProxy" group="type" subgroup="class" />
      <typedata visibility="public" abstract="true" serializable="false" layout="auto" format="ansi" />
      <elements>
        <element api="M:System.Object.Equals(System.Object)" />
        <element api="M:System.Object.Finalize" />
        <element api="M:System.Object.GetHashCode" />
        <element api="M:System.Object.GetType" />
        <element api="M:System.Object.MemberwiseClone" />
        <element api="M:System.Object.ToString" />
        <element api="Overload:System.Runtime.Remoting.Proxies.RealProxy.#ctor">
          <element api="M:System.Runtime.Remoting.Proxies.RealProxy.#ctor" />
          <element api="M:System.Runtime.Remoting.Proxies.RealProxy.#ctor(System.Type)" />
          <element api="M:System.Runtime.Remoting.Proxies.RealProxy.#ctor(System.Type,System.IntPtr,System.Object)" />
        </element>
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.AttachServer(System.MarshalByRefObject)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.CreateObjRef(System.Type)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.DetachServer" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.GetCOMIUnknown(System.Boolean)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.GetProxiedType" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.GetStubData(System.Runtime.Remoting.Proxies.RealProxy)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.GetTransparentProxy" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.GetUnwrappedServer" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.InitializeServerObject(System.Runtime.Remoting.Activation.IConstructionCallMessage)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.Invoke(System.Runtime.Remoting.Messaging.IMessage)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.SetCOMIUnknown(System.IntPtr)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.SetStubData(System.Runtime.Remoting.Proxies.RealProxy,System.Object)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.SupportsInterface(System.Guid@)" />
      </elements>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
      </containers>
      <file name="e92286aa-80ab-c30e-e9ad-ea4296ed0336" />
    </api>
    <api id="Methods.T:System.Runtime.Remoting.Proxies.RealProxy">
      <topicdata name="RealProxy" group="list" subgroup="Methods" typeTopicId="T:System.Runtime.Remoting.Proxies.RealProxy" />
      <apidata name="RealProxy" group="type" subgroup="class" />
      <typedata visibility="public" abstract="true" serializable="false" layout="auto" format="ansi" />
      <elements>
        <element api="M:System.Object.Equals(System.Object)" />
        <element api="M:System.Object.Finalize" />
        <element api="M:System.Object.GetHashCode" />
        <element api="M:System.Object.GetType" />
        <element api="M:System.Object.MemberwiseClone" />
        <element api="M:System.Object.ToString" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.AttachServer(System.MarshalByRefObject)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.CreateObjRef(System.Type)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.DetachServer" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.GetCOMIUnknown(System.Boolean)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.GetProxiedType" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.GetStubData(System.Runtime.Remoting.Proxies.RealProxy)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.GetTransparentProxy" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.GetUnwrappedServer" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.InitializeServerObject(System.Runtime.Remoting.Activation.IConstructionCallMessage)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.Invoke(System.Runtime.Remoting.Messaging.IMessage)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.SetCOMIUnknown(System.IntPtr)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.SetStubData(System.Runtime.Remoting.Proxies.RealProxy,System.Object)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.SupportsInterface(System.Guid@)" />
      </elements>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
      </containers>
      <file name="d483bec5-450b-c74f-2ba7-a33fedcb66fb" />
    </api>
    <api id="Overload:System.Runtime.Remoting.Proxies.RealProxy.#ctor">
      <topicdata name=".ctor" group="list" subgroup="overload" memberSubgroup="constructor" pseudo="true" allMembersTopicId="AllMembers.T:System.Runtime.Remoting.Proxies.RealProxy" />
      <apidata name=".ctor" group="member" subgroup="constructor" />
      <elements>
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.#ctor" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.#ctor(System.Type)" />
        <element api="M:System.Runtime.Remoting.Proxies.RealProxy.#ctor(System.Type,System.IntPtr,System.Object)" />
      </elements>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <file name="1d8597be-fe4f-2e17-e28e-e3a3cdfd15bf" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.#ctor">
      <topicdata group="api" />
      <apidata name=".ctor" group="member" subgroup="constructor" />
      <memberdata visibility="family" special="true" overload="Overload:System.Runtime.Remoting.Proxies.RealProxy.#ctor" />
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <file name="8202b0f3-ff8f-0305-a4dd-4690222d920a" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.#ctor(System.Type)">
      <topicdata group="api" />
      <apidata name=".ctor" group="member" subgroup="constructor" />
      <memberdata visibility="family" special="true" overload="Overload:System.Runtime.Remoting.Proxies.RealProxy.#ctor" />
      <parameters>
        <parameter name="classToProxy">
          <type api="T:System.Type" ref="true" />
        </parameter>
      </parameters>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
      </attributes>
      <file name="5b97b6f3-0cb2-df4d-48a6-bbafc08a125e" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.#ctor(System.Type,System.IntPtr,System.Object)">
      <topicdata group="api" />
      <apidata name=".ctor" group="member" subgroup="constructor" />
      <memberdata visibility="family" special="true" overload="Overload:System.Runtime.Remoting.Proxies.RealProxy.#ctor" />
      <parameters>
        <parameter name="classToProxy">
          <type api="T:System.Type" ref="true" />
        </parameter>
        <parameter name="stub">
          <type api="T:System.IntPtr" ref="false" />
        </parameter>
        <parameter name="stubData">
          <type api="T:System.Object" ref="true" />
        </parameter>
      </parameters>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
      </attributes>
      <file name="fd836f39-e538-6069-6810-f3927974458e" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.AttachServer(System.MarshalByRefObject)">
      <topicdata group="api" />
      <apidata name="AttachServer" group="member" subgroup="method" />
      <memberdata visibility="family" />
      <proceduredata virtual="false" />
      <parameters>
        <parameter name="s">
          <type api="T:System.MarshalByRefObject" ref="true" />
        </parameter>
      </parameters>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
      </attributes>
      <file name="df7f16bb-3469-e83c-fb18-cd92a1d6f3cf" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.CreateObjRef(System.Type)">
      <topicdata group="api" />
      <apidata name="CreateObjRef" group="member" subgroup="method" />
      <memberdata visibility="public" />
      <proceduredata virtual="true" />
      <parameters>
        <parameter name="requestedType">
          <type api="T:System.Type" ref="true" />
        </parameter>
      </parameters>
      <returns>
        <type api="T:System.Runtime.Remoting.ObjRef" ref="true" />
      </returns>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
      </attributes>
      <file name="b912adfd-e849-4b26-42f2-fe9f4bc72bc4" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.DetachServer">
      <topicdata group="api" />
      <apidata name="DetachServer" group="member" subgroup="method" />
      <memberdata visibility="family" />
      <proceduredata virtual="false" />
      <returns>
        <type api="T:System.MarshalByRefObject" ref="true" />
      </returns>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
      </attributes>
      <file name="eb2e6131-014c-5a43-0d15-eaffc04bf08e" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.GetCOMIUnknown(System.Boolean)">
      <topicdata group="api" />
      <apidata name="GetCOMIUnknown" group="member" subgroup="method" />
      <memberdata visibility="public" />
      <proceduredata virtual="true" />
      <parameters>
        <parameter name="fIsMarshalled">
          <type api="T:System.Boolean" ref="false" />
        </parameter>
      </parameters>
      <returns>
        <type api="T:System.IntPtr" ref="false" />
      </returns>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
      </attributes>
      <file name="5b73ef13-81ca-1bd9-a4f5-81d0c709b353" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      <topicdata group="api" />
      <apidata name="GetObjectData" group="member" subgroup="method" />
      <memberdata visibility="public" />
      <proceduredata virtual="true" />
      <parameters>
        <parameter name="info">
          <type api="T:System.Runtime.Serialization.SerializationInfo" ref="true" />
        </parameter>
        <parameter name="context">
          <type api="T:System.Runtime.Serialization.StreamingContext" ref="false" />
        </parameter>
      </parameters>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
      </attributes>
      <file name="0a97abd8-25ab-985b-89e6-4caada91300b" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.GetProxiedType">
      <topicdata group="api" />
      <apidata name="GetProxiedType" group="member" subgroup="method" />
      <memberdata visibility="public" />
      <proceduredata virtual="false" />
      <returns>
        <type api="T:System.Type" ref="true" />
      </returns>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
      </attributes>
      <file name="b10f25c3-b505-a30a-b84e-3b044c691245" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.GetStubData(System.Runtime.Remoting.Proxies.RealProxy)">
      <topicdata group="api" />
      <apidata name="GetStubData" group="member" subgroup="method" />
      <memberdata visibility="public" static="true" />
      <proceduredata virtual="false" />
      <parameters>
        <parameter name="rp">
          <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
        </parameter>
      </parameters>
      <returns>
        <type api="T:System.Object" ref="true" />
      </returns>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
      </attributes>
      <file name="13bb1d4c-8dd1-c0ae-99f1-87a0629608ad" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.GetTransparentProxy">
      <topicdata group="api" />
      <apidata name="GetTransparentProxy" group="member" subgroup="method" />
      <memberdata visibility="public" />
      <proceduredata virtual="true" />
      <returns>
        <type api="T:System.Object" ref="true" />
      </returns>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <file name="86ed9e43-7038-bca0-562a-4af2504b5b43" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.GetUnwrappedServer">
      <topicdata group="api" />
      <apidata name="GetUnwrappedServer" group="member" subgroup="method" />
      <memberdata visibility="family" />
      <proceduredata virtual="false" />
      <returns>
        <type api="T:System.MarshalByRefObject" ref="true" />
      </returns>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
      </attributes>
      <file name="c4880a33-0452-5eca-633c-c715a83220c4" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.InitializeServerObject(System.Runtime.Remoting.Activation.IConstructionCallMessage)">
      <topicdata group="api" />
      <apidata name="InitializeServerObject" group="member" subgroup="method" />
      <memberdata visibility="public" />
      <proceduredata virtual="false" />
      <parameters>
        <parameter name="ctorMsg">
          <type api="T:System.Runtime.Remoting.Activation.IConstructionCallMessage" ref="true" />
        </parameter>
      </parameters>
      <returns>
        <type api="T:System.Runtime.Remoting.Activation.IConstructionReturnMessage" ref="true" />
      </returns>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
        <attribute>
          <type api="T:System.Runtime.InteropServices.ComVisibleAttribute" ref="true" />
          <argument>
            <type api="T:System.Boolean" ref="false" />
            <value>True</value>
          </argument>
        </attribute>
      </attributes>
      <file name="b7a3b67a-15cb-3abb-a1d4-8e653f0728f3" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.Invoke(System.Runtime.Remoting.Messaging.IMessage)">
      <topicdata group="api" />
      <apidata name="Invoke" group="member" subgroup="method" />
      <memberdata visibility="public" />
      <proceduredata abstract="true" virtual="true" />
      <parameters>
        <parameter name="msg">
          <type api="T:System.Runtime.Remoting.Messaging.IMessage" ref="true" />
        </parameter>
      </parameters>
      <returns>
        <type api="T:System.Runtime.Remoting.Messaging.IMessage" ref="true" />
      </returns>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <file name="83e31bda-bd0c-1d85-f181-36bfae0dee9c" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.SetCOMIUnknown(System.IntPtr)">
      <topicdata group="api" />
      <apidata name="SetCOMIUnknown" group="member" subgroup="method" />
      <memberdata visibility="public" />
      <proceduredata virtual="true" />
      <parameters>
        <parameter name="i">
          <type api="T:System.IntPtr" ref="false" />
        </parameter>
      </parameters>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <file name="a21fabe0-5f90-f40d-62e8-38efc8d0da05" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.SetStubData(System.Runtime.Remoting.Proxies.RealProxy,System.Object)">
      <topicdata group="api" />
      <apidata name="SetStubData" group="member" subgroup="method" />
      <memberdata visibility="public" static="true" />
      <proceduredata virtual="false" />
      <parameters>
        <parameter name="rp">
          <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
        </parameter>
        <parameter name="stubData">
          <type api="T:System.Object" ref="true" />
        </parameter>
      </parameters>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <attributes>
        <attribute>
          <type api="T:System.Security.SecurityCriticalAttribute" ref="true" />
        </attribute>
      </attributes>
      <file name="31252cab-3802-2709-63fe-b0c60b742c31" />
    </api>
    <api id="M:System.Runtime.Remoting.Proxies.RealProxy.SupportsInterface(System.Guid@)">
      <topicdata group="api" />
      <apidata name="SupportsInterface" group="member" subgroup="method" />
      <memberdata visibility="public" />
      <proceduredata virtual="true" />
      <parameters>
        <parameter name="iid">
          <referenceTo>
            <type api="T:System.Guid" ref="false" />
          </referenceTo>
        </parameter>
      </parameters>
      <returns>
        <type api="T:System.IntPtr" ref="false" />
      </returns>
      <containers>
        <library assembly="mscorlib" module="mscorlib" kind="DynamicallyLinkedLibrary">
          <assemblydata version="4.0.0.0" />
        </library>
        <namespace api="N:System.Runtime.Remoting.Proxies" />
        <type api="T:System.Runtime.Remoting.Proxies.RealProxy" ref="true" />
      </containers>
      <file name="882f3d3d-0650-0dbd-9738-6936f2503c7c" />
    </api>
  </apis>
</reflection>


text:
import { MODULE_METADATA as metadataConstants } from '../constants';

export const INVALID_MODULE_CONFIG_MESSAGE = (
  text: TemplateStringsArray,
  property: string,
) => `Invalid property '${property}' passed into the @Module() decorator.`;

const metadataKeys = [
  metadataConstants.IMPORTS,
  metadataConstants.EXPORTS,
  metadataConstants.CONTROLLERS,
  metadataConstants.PROVIDERS,
];

export function validateModuleKeys(keys: string[]) {
  const validateKey = (key: string) => {
    if (metadataKeys.includes(key)) {
      return;
    }
    throw new Error(INVALID_MODULE_CONFIG_MESSAGE`${key}`);
  };
  keys.forEach(validateKey);
}


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Stanza (smack-core 4.2.0-beta3-SNAPSHOT API)</title>
<meta name="date" content="2016-08-29">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">

JavaScript is disabled on your browser.

Skip navigation links

Overview

Package

Class

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method

org.jivesoftware.smack.packet

Class Stanza

java.lang.Object

org.jivesoftware.smack.packet.Stanza

All Implemented Interfaces:

Element, TopLevelStreamElement

Direct Known Subclasses:

IQ, Message, Presence

public abstract class Stanza
extends java.lang.Object
implements TopLevelStreamElement

Base class for XMPP Stanzas, which are called Stanza(/Packet) in older versions of Smack (i.e. < 4.1).

 Every stanza has a unique ID (which is automatically generated, but can be overridden). Stanza
 IDs are required for IQ stanzas and recommended for presence and message stanzas. Optionally, the
 "to" and "from" fields can be set.

 XMPP Stanzas are Message, IQ and Presence. Which therefore subclass this
 class. If you think you need to subclass this class, then you are doing something wrong.

See Also:

RFC 6120 § 8. XML Stanzas

Field Summary

Fields

Modifier and Type
Field and Description

protected static java.lang.String
DEFAULT_LANGUAGE

static java.lang.String
ITEM

protected java.lang.String
language

Optional value of the 'xml:lang' attribute of the outermost element of
 the stanza.

static java.lang.String
TEXT

Constructor Summary

Constructors

Modifier
Constructor and Description

protected
Stanza()

protected
Stanza(Stanza p)

protected
Stanza(java.lang.String stanzaId)

Method Summary

All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods

Modifier and Type
Method and Description

protected void
addCommonAttributes(XmlStringBuilder xml)

Add to, from, id and 'xml:lang' attributes

void
addExtension(ExtensionElement extension)

Adds a stanza(/packet) extension to the packet.

void
addExtensions(java.util.Collection<ExtensionElement> extensions)

Adds a collection of stanza(/packet) extensions to the packet.

protected void
appendErrorIfExists(XmlStringBuilder xml)

Append an XMPPError is this stanza(/packet) has one set.

static java.lang.String
getDefaultLanguage()

Returns the default language used for all messages containing localized content.

XMPPError
getError()

Returns the error associated with this packet, or <tt>null</tt> if there are
 no errors.

ExtensionElement
getExtension(java.lang.String namespace)

Returns the first extension of this stanza(/packet) that has the given namespace.

<PE extends ExtensionElement>
PE
getExtension(java.lang.String elementName,
            java.lang.String namespace)

Returns the first extension that matches the specified element name and
 namespace, or <tt>null</tt> if it doesn't exist.

java.util.List<ExtensionElement>
getExtensions()

Returns a list of all extension elements of this stanza.

java.util.List<ExtensionElement>
getExtensions(java.lang.String elementName,
             java.lang.String namespace)

Return a list of all extensions with the given element name and namespace.

protected XmlStringBuilder
getExtensionsXML()

Returns the extension sub-packets (including properties data) as an XML
 String, or the Empty String if there are no stanza(/packet) extensions.

org.jxmpp.jid.Jid
getFrom()

Returns who the stanza(/packet) is being sent "from" or <tt>null</tt> if
 the value is not set.

java.lang.String
getLanguage()

Returns the xml:lang of this Stanza, or null if one has not been set.

java.lang.String
getPacketID()

Deprecated.

use getStanzaId() instead.

java.lang.String
getStanzaId()

Returns the unique ID of the stanza.

org.jxmpp.jid.Jid
getTo()

Returns who the stanza(/packet) is being sent "to", or <tt>null</tt> if
 the value is not set.

boolean
hasExtension(java.lang.String namespace)

Check if a stanza(/packet) extension with the given namespace exists.

boolean
hasExtension(java.lang.String elementName,
            java.lang.String namespace)

Check if a stanza(/packet) extension with the given element and namespace exists.

boolean
hasStanzaIdSet()

Check if this stanza has an ID set.

protected void
logCommonAttributes(java.lang.StringBuilder sb)

ExtensionElement
overrideExtension(ExtensionElement extension)

Add the given extension and override eventually existing extensions with the same name and
 namespace.

ExtensionElement
removeExtension(ExtensionElement extension)

Removes a stanza(/packet) extension from the packet.

ExtensionElement
removeExtension(java.lang.String elementName,
               java.lang.String namespace)

Remove the stanza(/packet) extension with the given elementName and namespace.

void
setError(XMPPError.Builder xmppErrorBuilder)

Sets the error for this stanza.

void
setError(XMPPError error)

Deprecated.

use setError(org.jivesoftware.smack.packet.XMPPError.Builder) instead.

void
setFrom(org.jxmpp.jid.Jid from)

Sets who the packet is being sent "from".

void
setFrom(java.lang.String from)

Deprecated.

use setFrom(Jid) instead.

void
setLanguage(java.lang.String language)

Sets the xml:lang of this Stanza.

void
setPacketID(java.lang.String packetID)

Deprecated.

use setStanzaId(String) instead.

java.lang.String
setStanzaId()

Set the stanza id if none is set.

void
setStanzaId(java.lang.String id)

Sets the unique ID of the packet.

void
setTo(org.jxmpp.jid.Jid to)

Sets who the packet is being sent "to".

void
setTo(java.lang.String to)

Deprecated.

use setTo(Jid) instead.

abstract java.lang.String
toString()

Returns a short String describing the Stanza.

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Methods inherited from interface org.jivesoftware.smack.packet.Element

toXML

Field Detail

TEXT

public static final java.lang.String TEXT

See Also:

Constant Field Values

ITEM

public static final java.lang.String ITEM

See Also:

Constant Field Values

DEFAULT_LANGUAGE

protected static final java.lang.String DEFAULT_LANGUAGE

language

protected java.lang.String language

Optional value of the 'xml:lang' attribute of the outermost element of
 the stanza.

 Such an attribute is defined for all stanza types. For IQ, see for
 example XEP-50 3.7:
 "The requester SHOULD provide its locale information using the "xml:lang
 " attribute on either the <iq/> (RECOMMENDED) or <command/> element."

Constructor Detail

Stanza

protected Stanza()

Stanza

protected Stanza(java.lang.String stanzaId)

Stanza

protected Stanza(Stanza p)

Method Detail

getStanzaId

public java.lang.String getStanzaId()

Returns the unique ID of the stanza. The returned value could be null.

Returns:

the packet's unique ID or null if the id is not available.

getPacketID

@Deprecated
public java.lang.String getPacketID()

Deprecated. use getStanzaId() instead.

Get the Stanza ID.

Returns:

the stanza id.

setStanzaId

public void setStanzaId(java.lang.String id)

Sets the unique ID of the packet. To indicate that a stanza(/packet) has no id
 pass null as the packet's id value.

Parameters:

id - the unique ID for the packet.

setPacketID

@Deprecated
public void setPacketID(java.lang.String packetID)

Deprecated. use setStanzaId(String) instead.

Set the stanza ID.

Parameters:

packetID -

hasStanzaIdSet

public boolean hasStanzaIdSet()

Check if this stanza has an ID set.

Returns:

true if the stanza ID is set, false otherwise.

Since:

4.1

setStanzaId

public java.lang.String setStanzaId()

Set the stanza id if none is set.

Returns:

the stanza id.

Since:

4.2

getTo

public org.jxmpp.jid.Jid getTo()

Returns who the stanza(/packet) is being sent "to", or <tt>null</tt> if
 the value is not set. The XMPP protocol often makes the "to"
 attribute optional, so it does not always need to be set.

Returns:

who the stanza(/packet) is being sent to, or <tt>null</tt> if the
      value has not been set.

setTo

@Deprecated
public void setTo(java.lang.String to)

Deprecated. use setTo(Jid) instead.

Sets who the stanza(/packet) is being sent "to". The XMPP protocol often makes
 the "to" attribute optional, so it does not always need to be set.

Parameters:

to - who the stanza(/packet) is being sent to.

Throws:

java.lang.IllegalArgumentException - if to is not a valid JID String.

setTo

public void setTo(org.jxmpp.jid.Jid to)

Sets who the packet is being sent "to". The XMPP protocol often makes
 the "to" attribute optional, so it does not always need to be set.

Parameters:

to - who the packet is being sent to.

getFrom

public org.jxmpp.jid.Jid getFrom()

Returns who the stanza(/packet) is being sent "from" or <tt>null</tt> if
 the value is not set. The XMPP protocol often makes the "from"
 attribute optional, so it does not always need to be set.

Returns:

who the stanza(/packet) is being sent from, or <tt>null</tt> if the
      value has not been set.

setFrom

@Deprecated
public void setFrom(java.lang.String from)

Deprecated. use setFrom(Jid) instead.

Sets who the stanza(/packet) is being sent "from". The XMPP protocol often
 makes the "from" attribute optional, so it does not always need to
 be set.

Parameters:

from - who the stanza(/packet) is being sent to.

Throws:

java.lang.IllegalArgumentException - if from is not a valid JID String.

setFrom

public void setFrom(org.jxmpp.jid.Jid from)

Sets who the packet is being sent "from". The XMPP protocol often
 makes the "from" attribute optional, so it does not always need to
 be set.

Parameters:

from - who the packet is being sent to.

getError

public XMPPError getError()

Returns the error associated with this packet, or <tt>null</tt> if there are
 no errors.

Returns:

the error sub-packet or <tt>null</tt> if there isn't an error.

setError

@Deprecated
public void setError(XMPPError error)

Deprecated. use setError(org.jivesoftware.smack.packet.XMPPError.Builder) instead.

Sets the error for this packet.

Parameters:

error - the error to associate with this packet.

setError

public void setError(XMPPError.Builder xmppErrorBuilder)

Sets the error for this stanza.

Parameters:

xmppErrorBuilder - the error to associate with this stanza.

getLanguage

public java.lang.String getLanguage()

Returns the xml:lang of this Stanza, or null if one has not been set.

Returns:

the xml:lang of this Stanza, or null.

setLanguage

public void setLanguage(java.lang.String language)

Sets the xml:lang of this Stanza.

Parameters:

language - the xml:lang of this Stanza.

getExtensions

public java.util.List<ExtensionElement> getExtensions()

Returns a list of all extension elements of this stanza.

Returns:

a list of all extension elements of this stanza.

getExtensions

public java.util.List<ExtensionElement> getExtensions(java.lang.String elementName,
                                                      java.lang.String namespace)

Return a list of all extensions with the given element name and namespace.

 Changes to the returned set will update the stanza(/packet) extensions, if the returned set is not the empty set.

Parameters:

elementName - the element name, must not be null.

namespace - the namespace of the element(s), must not be null.

Returns:

a set of all matching extensions.

Since:

4.1

getExtension

public ExtensionElement getExtension(java.lang.String namespace)

Returns the first extension of this stanza(/packet) that has the given namespace.

 When possible, use getExtension(String,String) instead.

Parameters:

namespace - the namespace of the extension that is desired.

Returns:

the stanza(/packet) extension with the given namespace.

getExtension

public <PE extends ExtensionElement> PE getExtension(java.lang.String elementName,
                                                     java.lang.String namespace)

Returns the first extension that matches the specified element name and
 namespace, or <tt>null</tt> if it doesn't exist. If the provided elementName is null,
 only the namespace is matched. Extensions are
 are arbitrary XML elements in standard XMPP stanzas.

Parameters:

elementName - the XML element name of the extension. (May be null)

namespace - the XML element namespace of the extension.

Returns:

the extension, or <tt>null</tt> if it doesn't exist.

addExtension

public void addExtension(ExtensionElement extension)

Adds a stanza(/packet) extension to the packet. Does nothing if extension is null.

Parameters:

extension - a stanza(/packet) extension.

overrideExtension

public ExtensionElement overrideExtension(ExtensionElement extension)

Add the given extension and override eventually existing extensions with the same name and
 namespace.

Parameters:

extension - the extension element to add.

Returns:

one of the removed extensions or null if there are none.

Since:

4.1.2

addExtensions

public void addExtensions(java.util.Collection<ExtensionElement> extensions)

Adds a collection of stanza(/packet) extensions to the packet. Does nothing if extensions is null.

Parameters:

extensions - a collection of stanza(/packet) extensions

hasExtension

public boolean hasExtension(java.lang.String elementName,
                            java.lang.String namespace)

Check if a stanza(/packet) extension with the given element and namespace exists.

 The argument elementName may be null.

Parameters:

elementName -

namespace -

Returns:

true if a stanza(/packet) extension exists, false otherwise.

hasExtension

public boolean hasExtension(java.lang.String namespace)

Check if a stanza(/packet) extension with the given namespace exists.

Parameters:

namespace -

Returns:

true if a stanza(/packet) extension exists, false otherwise.

removeExtension

public ExtensionElement removeExtension(java.lang.String elementName,
                                        java.lang.String namespace)

Remove the stanza(/packet) extension with the given elementName and namespace.

Parameters:

elementName -

namespace -

Returns:

the removed stanza(/packet) extension or null.

removeExtension

public ExtensionElement removeExtension(ExtensionElement extension)

Removes a stanza(/packet) extension from the packet.

Parameters:

extension - the stanza(/packet) extension to remove.

Returns:

the removed stanza(/packet) extension or null.

toString

public abstract java.lang.String toString()

Returns a short String describing the Stanza. This method is suited for log purposes.

Overrides:

toString in class java.lang.Object

getExtensionsXML

protected final XmlStringBuilder getExtensionsXML()

Returns the extension sub-packets (including properties data) as an XML
 String, or the Empty String if there are no stanza(/packet) extensions.

Returns:

the extension sub-packets as XML or the Empty String if there
 are no stanza(/packet) extensions.

getDefaultLanguage

public static java.lang.String getDefaultLanguage()

Returns the default language used for all messages containing localized content.

Returns:

the default language

addCommonAttributes

protected void addCommonAttributes(XmlStringBuilder xml)

Add to, from, id and 'xml:lang' attributes

Parameters:

xml -

logCommonAttributes

protected void logCommonAttributes(java.lang.StringBuilder sb)

appendErrorIfExists

protected void appendErrorIfExists(XmlStringBuilder xml)

Append an XMPPError is this stanza(/packet) has one set.

Parameters:

xml - the XmlStringBuilder to append the error to.

Skip navigation links

Overview

Package

Class

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method


text:
/**
 * Pulsar interceptors.
 */
package org.apache.pulsar.client.api.interceptor;


text:
/*
 * Concept - reference to a terminology or just  text
 */
#import "FHIRCodeableConcept.h"

#import "FHIRCoding.h"
#import "FHIRString.h"

#import "FHIRErrorList.h"

@implementation FHIRCodeableConcept

- (NSString *)text
{
    if(self.textElement)
    {
        return [self.textElement value];
    }
    return nil;
}

- (void )setText:(NSString *)text
{
    if(text)
    {
        [self setTextElement:[[FHIRString alloc] initWithValue:text]];
    }
    else
    {
        [self setTextElement:nil];
    }
}

- (FHIRErrorList *)validate
{
    FHIRErrorList *result = [[FHIRErrorList alloc] init];

    [result addValidation:[super validate]];

    if(self.coding != nil )
        for(FHIRCoding *elem in self.coding)
            [result addValidationRange:[elem validate]];
    if(self.textElement != nil )
        [result addValidationRange:[self.textElement validate]];

    return result;
}

@end


text:
<?php

namespace Etu\Core\CoreBundle\Controller;

use Doctrine\ORM\EntityManager;

use Etu\Core\CoreBundle\Entity\Page;
use Etu\Core\CoreBundle\Framework\Definition\Controller;
use Etu\Core\CoreBundle\Framework\Definition\Module;
use Etu\Core\CoreBundle\Framework\Module\ModulesManager;
use Etu\Core\CoreBundle\Twig\Extension\StringManipulationExtension;
use Etu\Core\CoreBundle\Util\Server;

// Import @Route() and @Template() annotations
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;

/**
 * @Route("/admin")
 */
class AdminController extends Controller
{
	/**
	 * @Route("", name="admin_index")
	 * @Template()
	 */
	public function indexAction()
	{
		if (! $this->getUserLayer()->isUser() || ! $this->getUser()->getIsAdmin()) {
			return $this->createAccessDeniedResponse();
		}

		return array(
			'status' => new Server\Status()
		);
	}

	/**
	 * @Route("/modules", name="admin_modules")
	 * @Template()
	 */
	public function modulesAction()
	{
		if (! $this->getUserLayer()->isUser() || ! $this->getUser()->getIsAdmin()) {
			return $this->createAccessDeniedResponse();
		}

		// Modules
		/** @var $modulesManager ModulesManager */
		$modulesManager = $this->get('etu.core.modules_manager');
		$modules = $modulesManager->getModules();

		/** @var $module Module */
		foreach ($modules as $module) {
			$modules->get($module->getIdentifier())->needed = false;
			$modules->get($module->getIdentifier())->neededBy = array();
			$modules->get($module->getIdentifier())->canBeEnabled = true;
			$modules->get($module->getIdentifier())->need = array();
		}

		/** @var $module Module */
		foreach ($modules as $module) {
			if ($module->isEnabled()) {
				foreach ($module->getRequirements() as $requirement) {
					$modules->get($requirement)->needed = true;
					$modules->get($requirement)->neededBy[] = $module->getTitle();
				}
			}

			foreach ($module->getRequirements() as $requirement) {
				if (! $modules->get($requirement)->isEnabled()) {
					$modules->get($module->getIdentifier())->canBeEnabled = false;
					$modules->get($module->getIdentifier())->need[] = $modules->get($requirement)->getTitle();
				}
			}
		}

		$request = $this->getRequest();

		if ($request->getMethod() == 'POST') {
			if ($request->get('modules')) {
				$enabledModules = array_keys((array) $request->get('modules'));
			} else {
				$enabledModules = array();
			}

			foreach ($enabledModules as $key => $module) {
				if ($module = $modulesManager->getModuleByIdentifier($module)) {
					$enabledModules[$key] = get_class($module);
				} else {
					unset($enabledModules[$key]);
				}
			}

			foreach ($modules as $module) {
				if ($module->needed) {
					$enabledModules[] = get_class($module);
				}
			}

			$yaml = \Symfony\Component\Yaml\Yaml::dump(array('modules' => $enabledModules));
			$configFile = $this->getKernel()->getRootDir().'/config/modules.yml';

			file_put_contents($configFile, $yaml);

			// Clear routes cache (production)
			if (file_exists($this->getKernel()->getRootDir().'/cache/prod')) {
				$iterator = new \DirectoryIterator($this->getKernel()->getRootDir().'/cache/prod');

				foreach ($iterator as $file) {
					if ($file->isFile() &&
						(strpos($file->getBasename(), 'UrlGenerator') !== false)
						|| (strpos($file->getBasename(), 'UrlMatcher') !== false)
					) {
						unlink($file->getPathname());
					}
				}
			}

			// Clear routes cache (development)
			if (file_exists($this->getKernel()->getRootDir().'/cache/dev')) {
				$iterator = new \DirectoryIterator($this->getKernel()->getRootDir().'/cache/dev');

				foreach ($iterator as $file) {
					if ($file->isFile() &&
						(strpos($file->getBasename(), 'UrlGenerator') !== false)
						|| (strpos($file->getBasename(), 'UrlMatcher') !== false)
					) {
						unlink($file->getPathname());
					}
				}
			}

			$this->get('session')->getFlashBag()->set('message', array(
				'type' => 'success',
				'message' => 'core.admin.modules.confirm'
			));

			return $this->redirect($this->generateUrl('admin_modules'));
		}

		/** @var $module Module */
		foreach ($modules as $module) {
			$modules->get($module->getIdentifier())->neededBy =
				implode(', ', $modules->get($module->getIdentifier())->neededBy);

			$modules->get($module->getIdentifier())->need =
				implode(', ', $modules->get($module->getIdentifier())->need);
		}

		return array(
			'modules' => $modules,
		);
	}

	/**
	 * @Route("/pages", name="admin_pages")
	 * @Template()
	 */
	public function pagesAction()
	{
		if (! $this->getUserLayer()->isUser() || ! $this->getUser()->hasPermission('pages.admin')) {
			return $this->createAccessDeniedResponse();
		}

		/** @var $em EntityManager */
		$em = $this->getDoctrine()->getManager();

		$pages = $em->getRepository('EtuCoreBundle:Page')->findBy(array(), array('title' => 'ASC'));

		return array(
			'pages' => $pages,
		);
	}

	/**
	 * @Route("/page/create", name="admin_page_create")
	 * @Template()
	 */
	public function pageCreateAction()
	{
		if (! $this->getUserLayer()->isUser() || ! $this->getUser()->hasPermission('pages.admin')) {
			return $this->createAccessDeniedResponse();
		}

		/** @var $em EntityManager */
		$em = $this->getDoctrine()->getManager();

		$page = new Page();

		$form = $this->createFormBuilder($page)
			->add('title')
			->add('content', 'redactor')
			->getForm();

		$request = $this->getRequest();

		if ($request->getMethod() == 'POST' && $form->bind($request)->isValid()) {
			$page->setSlug(StringManipulationExtension::slugify($page->getTitle()));

			$em->persist($page);
			$em->flush();

			$this->get('session')->getFlashBag()->set('message', array(
				'type' => 'success',
				'message' => 'core.admin.pageCreate.confirm'
			));

			return $this->redirect($this->generateUrl('admin_pages'));
		}

		return array(
			'form' => $form->createView()
		);
	}

	/**
	 * @Route("/page/edit/{id}", name="admin_page_edit")
	 * @Template()
	 */
	public function pageEditAction($id)
	{
		if (! $this->getUserLayer()->isUser() || ! $this->getUser()->hasPermission('pages.admin')) {
			return $this->createAccessDeniedResponse();
		}

		/** @var $em EntityManager */
		$em = $this->getDoctrine()->getManager();

		$page = $em->getRepository('EtuCoreBundle:Page')->find($id);

		$form = $this->createFormBuilder($page)
			->add('title')
			->add('content')
			->getForm();

		$request = $this->getRequest();

		if ($request->getMethod() == 'POST' && $form->bind($request)->isValid()) {
			$em->persist($page);
			$em->flush();

			$this->get('session')->getFlashBag()->set('message', array(
				'type' => 'success',
				'message' => 'core.admin.pageEdit.confirm'
			));

			return $this->redirect($this->generateUrl('admin_pages'));
		}

		return array(
			'page' => $page,
			'form' => $form->createView()
		);
	}

	/**
	 * @Route("/page/delete/{id}", name="admin_page_delete")
	 * @Template()
	 */
	public function pageDeleteAction($id)
	{
		if (! $this->getUserLayer()->isUser() || ! $this->getUser()->hasPermission('pages.admin')) {
			return $this->createAccessDeniedResponse();
		}

		/** @var $em EntityManager */
		$em = $this->getDoctrine()->getManager();

		$page = $em->getRepository('EtuCoreBundle:Page')->find($id);

		return array(
			'page' => $page
		);
	}

	/**
	 * @Route("/page/delete/{id}/confirm", name="admin_page_delete_confirm")
	 * @Template()
	 */
	public function pageDeleteConfirmAction($id)
	{
		if (! $this->getUserLayer()->isUser() || ! $this->getUser()->hasPermission('pages.admin')) {
			return $this->createAccessDeniedResponse();
		}

		/** @var $em EntityManager */
		$em = $this->getDoctrine()->getManager();

		$page = $em->getRepository('EtuCoreBundle:Page')->find($id);

		$em->remove($page);

		$this->get('session')->getFlashBag()->set('message', array(
			'type' => 'success',
			'message' => 'core.admin.pageDelete.confirm'
		));

		return $this->redirect($this->generateUrl('admin_index'));
	}
}


text:
import React from 'react'
import Scroll from 'react-scroll'
// import classes from './HomeView.scss'
import HeroPage from 'components/HeroPage'
import TracksPage from 'components/TracksPage'
import About from 'components/About'
import FAQ from 'components/FAQ'
import SponsorsPage from 'components/SponsorsPage'
import Social from 'components/Social'

export const HomeView = () => (
  <div>
    <HeroPage />
    <Scroll.Element name='aboutScrollPoint'></Scroll.Element>
    <About />
    <Scroll.Element name='tracksScrollPoint'></Scroll.Element>
    <TracksPage />
    <Scroll.Element name='faqScrollPoint'></Scroll.Element>
    <FAQ />
    <Scroll.Element name='sponsorsScrollPoint'></Scroll.Element>
    <SponsorsPage />
    <Social />
  </div>
)

export default HomeView


text:
@implementation SDFeedParser

- (void)parseURL:(NSString*)urlString success:(void (^)(NSArray *postsArray, NSInteger postsCount))successBlock failure:(void (^)(NSError *error))failureBlock{

    AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
    [manager GET:urlString parameters:nil success:^(AFHTTPRequestOperation *operation, id responseObject) {

        if ([responseObject isKindOfClass:[NSDictionary class]]) {

            //Get posts count
            _postsCount = [responseObject[@"count_total"] integerValue];

            //Get pages count
            _pagesCount = [responseObject[@"pages"] integerValue];

            //Fetch posts
            NSMutableArray *allPosts = [[NSMutableArray alloc]initWithCapacity:[responseObject[@"count_total"] integerValue]];
            NSArray *fetchedPostsArray = responseObject[@"posts"];
            for (NSDictionary *eachPost in fetchedPostsArray) {

                SDPost *currentPost = [SDPost SDPostFromDictionary:eachPost];

                //Fetch posts category
                NSMutableArray *allCategories = [[NSMutableArray alloc]init];
                NSArray *fetchedCategoriesArray = eachPost[@"categories"];
                for (NSDictionary *eachCategory in fetchedCategoriesArray) {

                    SDCategory *currentCategory = [SDCategory SDCategoryFromDictionary:eachCategory];
                    [allCategories addObject:currentCategory];
                }
                currentPost.categoriesArray = [allCategories copy];

                //Fetch posts tags
                NSMutableArray *allTags = [[NSMutableArray alloc]init];
                NSArray *fetchedTagsArray = eachPost[@"tags"];
                for (NSDictionary *eachTag in fetchedTagsArray) {

                    SDTag *currentTag = [SDTag SDTagFromDictionary:eachTag];
                    [allTags addObject:currentTag];
                }
                currentPost.tagsArray = [allTags copy];
                currentPost.authorInfo = eachPost[@"author"];

                //Fetch posts comments
                NSMutableArray *allComments = [[NSMutableArray alloc]initWithCapacity:[eachPost[@"comment_count"] integerValue]];
                NSArray *fetchedCommentsArray = eachPost[@"comments"];
                for (NSDictionary *eachComment in fetchedCommentsArray) {

                    SDComment *currentComment = [SDComment SDCommentFromDictionary:eachComment];
                    [allComments addObject:currentComment];
                }
                currentPost.commentsArray = [allComments copy];
                currentPost.commentsCount = [eachPost[@"comment_count"] integerValue];
                currentPost.status = responseObject[@"comment_status"];

                [allPosts addObject:currentPost];
            }
            _postsArray = [allPosts copy];
        }

        //Trigger success block
        successBlock(self.postsArray, self.postsArray.count);

    } failure:^(AFHTTPRequestOperation *operation, NSError *error) {

        //Trigger failure block
        failureBlock(error);

    }];

}

@end


text:
package com.mxixm.mapdb;

import java.util.Arrays;

/**
 * Calculates hash from an object. It also provides `equals` method.
 * Provides an alternative hashing method for {@link HTreeMap}
 *
 * @author Jan Kotek
 */
public interface  Hasher<K> {

    int hashCode(K k);

    boolean equals(K k1, K k2);

    Hasher BASIC = new Hasher() {
        @Override
        public final int hashCode(  Object k) {
            return k.hashCode();
        }

        @Override
        public boolean equals(Object k1, Object k2) {
            return k1.equals(k2);
        }
    };

    Hasher<byte[]> BYTE_ARRAY = new Hasher<byte[]>() {
        @Override
        public final int hashCode(  byte[] k) {
            return Arrays.hashCode(k);
        }

        @Override
        public boolean equals(byte[] k1, byte[] k2) {
            return Arrays.equals(k1,k2);
        }
    };

    Hasher<char[]> CHAR_ARRAY = new Hasher<char[]>() {
        @Override
        public final int hashCode(  char[] k) {
            return Arrays.hashCode(k);
        }

        @Override
        public boolean equals(char[] k1, char[] k2) {
            return Arrays.equals(k1,k2);
        }
    };

    Hasher<int[]> INT_ARRAY = new Hasher<int[]>() {
        @Override
        public final int hashCode(  int[] k) {
            return Arrays.hashCode(k);
        }

        @Override
        public boolean equals(int[] k1, int[] k2) {
            return Arrays.equals(k1,k2);
        }
    };

    Hasher<long[]> LONG_ARRAY = new Hasher<long[]>() {
        @Override
        public final int hashCode(  long[] k) {
            return Arrays.hashCode(k);
        }

        @Override
        public boolean equals(long[] k1, long[] k2) {
            return Arrays.equals(k1,k2);
        }
    };

    Hasher<double[]> DOUBLE_ARRAY = new Hasher<double[]>() {
        @Override
        public final int hashCode(  double[] k) {
            return Arrays.hashCode(k);
        }

        @Override
        public boolean equals(double[] k1, double[] k2) {
            return Arrays.equals(k1,k2);
        }
    };

    Hasher<Object[]> ARRAY = new Hasher<Object[]>() {
        @Override
        public final int hashCode(  Object[] k) {
            return Arrays.hashCode(k);
        }

        @Override
        public boolean equals(Object[] k1, Object[] k2) {
            return Arrays.equals(k1,k2);
        }
    };

}


text:
<?php

class Potencia extends Formula
{

    public $nome = 'Potencia';
    public $notacao = 'n^p';

    public function calcula($n, $p){
        return pow($n,$p);
    }
}


text:
import React from 'react';
import AppBar from 'material-ui/AppBar';

const AppBarExampleIcon = () => (
  <AppBar
    title="Title"
    iconClassNameRight="muidocs-icon-navigation-expand-more"
  />
);

export default AppBarExampleIcon;


text:
Endre album

Informasjon

namn: gje nytt namn til album (ein virtuell namneendring om dette er eit fysisk album).

Skildring: kort tekst som gjev ein ide om innhaldet,
  denne teksten vil visast i botnen av sida med miniatyrbileta.

Flytte

Om albumet er virtuelt, kan du flytte det. Flytting av album tyder å endre mappe/album det høyrer til.

Alternativ

Tilgangstype: Rettighetshantdering. Om du gjer eit album privat, vil all underalbum og verta private.
   Om du gjer eit album tilgjengelig for alle, vil alle "foreldrealbum" bli tilgjengelig for alle.

Lås: Albumet og underalbum vil verta midlertidig utilgjengeleg for endringar.

Kommentarar: Autoriser brukarar for å kunne kommentere dette albumet.

Autoriser opplastingar: Autoriser brukerar til å laste opp biletfiler. Dette alternativet er kun tilgjengelig for fysiske (ikke virtuelle) album.

Du kan og endre desse alternativa via "eigenskapar" i
album-menyen (Arkfane Last opp, Kommentarar, Lås,
Offentleg/Privat, Alternativ tilgjengeleg frå Administrasjon » Album » Eigenskapar).

Sorteringsrekkefylgje

Bruk standard bilet-sorteringsrekkefylgje.

Indikerer om denne sorteringsrekkefylgja og vil gjelde underalbum.

Velg spesifisera sorteringsrekkefylgje på desse albuma.

Opprettingsdato: Dato for når biletet er teke

Opplastingsdato: Synkroniseringsdato

Gjennomsnittleg rangering (*): Gjennomsittleg rangering kan bli endra av rangering besøkande gjev

Mest besøkte (*): Det siste besøket kan endre rekkefylgje på mest besøkte

Filnamn: Namn som er sett i informasjonsfeltet

Id: Intern Id (siste album har ein høgare id enn den før der.

(*)Advarsel: Ver nøye med å test desse sorteringsrekkefylgjene sjølv, då dei kan gje uventa resultat.

Representantar

Albumet sin representat er miniatyrbiletet som visast på hovudsida (category.php) for å
representera albumet når det kun inneheld underalbum og ingen bilete direkte(akkurat som et underalbum).

Bilete frå eit album :

Biletside: ein av knappane let deg sette gjeldande bilete som representant for gjeldande
vist album. Knappen er kun synleg for administratorar.

Endre informasjon om eit bilete i
  administrasjon. Dette skjermbiletet kan nås frå picture.php eller Batch
  behandlar i unit modus. Sjå hjelp for dette skjermbildetet for fleire detaljar.

Administrasjon » Album » Eigenskapar,
  Representantar. Sjå hjelpe for dette skjermbildet for meir detaljer.

Endre album (forrige skjermbilete).

Valet for en representant avhenger av allow_random_representative konfigurasjons parametere (se include/config_default.inc.php).

I standardmodus (allow_random_representative satt til usant(false)),
vil kvart album som inneheld minst eit element bli representert av eit sett
ellement. Når dette er sett (ved oppretting av album), vil representanten kun endrast når ein administrator ber om det.
Om det representative bildet ikkje passer,
kan du få eit nytt bilete iFinn ein ny tilfeldig representant.

Om allow_random_representative konfigurasjonsparameter er sett til sant (true), kan eit album som bare inneheld bilete ikkje ha nokon representant. Bare bruk Slett representant-knappen.

Om albumet inneheld bare underalbum og ingen bilete, kan det bli representert av kva som helst element takket
være Endre informasjon om biletet-skjermbiletet. Det eineste alterantivet på gjeldande skjermbilete
er Slett representant-knappen.</

Link alle albumbilete til eit nytt album

Virtuelle albumnamn: Namnet på det nye albumet som blir oppretta,
alle bilete i dette albumet vil bli linket til det nye.

Foreldrealbum: Kvar det nye albumet vil vera,
La dette være tomt for å legge det på øvste nivå.

Link alle albumbilete til eksisterande album

Album: Velg målalbumet som bileta skal knyttast til.

Send en informasjonsmelding til gruppemedlemmer

Gruppe: mottakar si gruppe

E-postinnhald: Tekst som skal sendast.


text:
#ifndef _PCL_SEGMENTER_H
#define _PCL_SEGMENTER_H

/*!
 *
 * \file pcl_segmenter.hpp
 * \brief Discovers objects in a point cloud though segmentation and plane extraction.
 *
 * This code is derived from the PCL example listed here:
 * http://www.pointclouds.org/documentation/tutorials/cluster_extraction.php#cluster-extraction
 *
 * \author Paul Malmsten, WPI - pmalmsten@gmail.com
 * \date Sep 17, 2012
 */

#include <vector>
#include <math.h>

#include <pcl/point_types.h>
#include <pcl/ModelCoefficients.h>
#include <pcl/filters/extract_indices.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/features/normal_3d.h>
#include <pcl/kdtree/kdtree.h>
#include <pcl/sample_consensus/method_types.h>
#include <pcl/sample_consensus/model_types.h>
#include <pcl/segmentation/sac_segmentation.h>
#include <pcl/segmentation/extract_clusters.h>
#include <pcl/io/pcd_io.h>

#include "rail_pcl_object_segmentation/common.hpp"

namespace rail
{
/**
 * \brief Downsamples a point cloud.
 *
 * This function downsamples the given input cloud using a voxel
 * grid.
 *
 * \param [in] inputCloud The cloud to downsample.
 * \param [in] leafSizeMeters The size of a leaf in the voxel grid
 *  in meters, along each axis. For example, 0.01f is 1 cm cubed.
 * \param [out] downsampledCloud The filtered cloud. May not be
 *  the same object as the input cloud.
 */
template<typename PointT>
  void DownsampleCloud(typename pcl::PointCloud<PointT>::Ptr inputCloud, float leafSizeMeters,
                       typename pcl::PointCloud<PointT>::Ptr downsampledCloud)
  {
    typename pcl::VoxelGrid<PointT> vg;
    vg.setInputCloud(inputCloud);
    vg.setLeafSize(leafSizeMeters, leafSizeMeters, leafSizeMeters);
    vg.filter(*downsampledCloud);
  }

/**
 * \brief Downsamples a point cloud.
 *
 * This function downsamples the given input cloud using a voxel
 * grid.
 *
 * Uses a default leaf size of 1 cm.
 *
 * \param [in] inputCloud The cloud to downsample.
 * \param [out] downsampledCloud The filtered cloud. May not be
 *  the same object as the input cloud.
 */
template<typename PointT>
  void DownsampleCloud(typename pcl::PointCloud<PointT>::Ptr inputCloud,
                       typename pcl::PointCloud<PointT>::Ptr downsampledCloud)
  {
    DownsampleCloud<PointT>(inputCloud, 0.01f, downsampledCloud);
  }

/**
 * \brief Discovers and extracts planes in a point cloud.
 *
 * This function performs RANSAC plane segmentation and extracts planes
 * with at least the given number of points. Segmentation
 * terminates when a plane with fewer than the expected number of
 * inliers is discovered.
 *
 * \param [in] inputCloud The cloud to extract planes from.
 * \param [in] ransacIterations The number of RANSAC iterations to perform.
 * \param [in] distanceThreshold The maximum distance that a point may
 *  be away from a plane to be included in the plane's inliers.
 * \param [in] minimumNumberOfPoints The minimum number of inlier points
 *  a plane must have for it to be extracted.
 * \param [out] filteredCloud The resulting cloud with all planes extracted. May
 *  be the same object as inputCloud.
 * \param [out] planes The vector where each discovered plane will be pushed.
 */
template<typename PointT>
  void ExtractPlanes(typename pcl::PointCloud<PointT>::Ptr inputCloud, unsigned int ransacIterations,
                     double distanceThresholdMeters, unsigned int minimumPlaneNumberOfPoints,
                     typename pcl::PointCloud<PointT>::Ptr filteredCloud, std::vector<DiscoveredPlanePtr>& planes)
  {

    pcl::PointIndices::Ptr inliers = pcl::PointIndices::Ptr(new pcl::PointIndices());
    pcl::ModelCoefficients coefficients;
    typename pcl::PointCloud<PointT> plane_inliers;

    // Temporary filtered cloud; initialied to a copy of inputCloud
    typename pcl::PointCloud<PointT>::Ptr cloud_filtered = typename pcl::PointCloud<PointT>::Ptr(
        new typename pcl::PointCloud<PointT>());
    pcl::copyPointCloud(*inputCloud, *cloud_filtered);
    cloud_filtered->header = inputCloud->header; // Persist header information

    // Create the segmentation object for the planar model and set all the parameters
    pcl::SACSegmentation<PointT> seg;
    seg.setOptimizeCoefficients(true);
    seg.setModelType(pcl::SACMODEL_PLANE);
    seg.setMethodType(pcl::SAC_RANSAC);
    seg.setMaxIterations(ransacIterations);
    seg.setDistanceThreshold(distanceThresholdMeters);

    do
    {
      if (cloud_filtered->size() == 0)
      {
        break;
      }

      // Segment the largest planar component from the remaining cloud
      seg.setInputCloud(cloud_filtered);
      seg.segment(*inliers, coefficients);
      if (inliers->indices.size() == 0)
      {
        break;
      }

      if (inliers->indices.size() < minimumPlaneNumberOfPoints)
      {
        break;
      }

      // Create new result plane message
      DiscoveredPlanePtr plane(new rail_pcl_object_segmentation::DiscoveredPlane());

      // Extract the planar inliers
      pcl::ExtractIndices<PointT> extract;
      extract.setInputCloud(cloud_filtered);
      extract.setIndices(inliers);

      extract.filter(plane_inliers);
      pcl::toROSMsg(plane_inliers, plane->planeCloud);
      plane->a = coefficients.values[0];
      plane->b = coefficients.values[1];
      plane->c = coefficients.values[2];
      plane->d = coefficients.values[3];

      // Save the result message
      planes.push_back(plane);

      // Remove the planar inliers, extract the rest
      typename pcl::PointCloud<PointT>::Ptr cloud_filtered_minus_plane = typename pcl::PointCloud<PointT>::Ptr(
          new typename pcl::PointCloud<PointT>());

      extract.setNegative(true);
      extract.filter(*cloud_filtered_minus_plane);

      cloud_filtered = cloud_filtered_minus_plane;
    } while (inliers->indices.size() > minimumPlaneNumberOfPoints);

    // Copy the filtered temporary cloud to the output
    pcl::copyPointCloud(*cloud_filtered, *filteredCloud);
  }

/**
 * \brief Discovers and extracts planes in a point cloud.
 *
 * This function performs RANSAC plane segmentation and extracts planes
 * with at least the given number of points. Segmentation
 * terminates when a plane with fewer than the expected number of
 * inliers is discovered.
 *
 * By default, RANSAC is performed with 300 iterations and a distance
 * tolerance of 0.018 meters. Planes with more than 5000 inliers
 * are extracted.
 *
 * \param [in] inputCloud The cloud to extract planes from.
 * \param [out] filteredCloud The resulting cloud with all planes extracted. May
 *  be the same object as inputCloud.
 * \param [out] planes The vector where each discovered plane will be pushed.
 */
template<typename PointT>
  void ExtractPlanes(typename pcl::PointCloud<PointT>::Ptr inputCloud,
                     typename pcl::PointCloud<PointT>::Ptr filteredCloud, std::vector<DiscoveredPlanePtr>& planes)
  {
    ExtractPlanes<PointT>(inputCloud, 300, 0.018, 1000, filteredCloud, planes);
  }

/*!
 * \brief Discovers objects in the given point cloud.
 *
 * This function accepts a point cloud produced by a 3d sensor.
 * Finally, it performs kd-tree clustering on the remaining point clouds
 * and returns the resulting clusters.
 *
 * This function performs PCL Euclidian Clustering as in the
 * tutorial available here: http://www.pointclouds.org/documentation/tutorials/cluster_extraction.php#cluster-extraction
 *
 * \param [in] cloud The point cloud to process.
 * \param [in] clusterTolerance The maximum distance that two points may be
 *  from one another to be included in the same object.
 * \param [in] minClusterSize The minimum number of points that a object
 *  cluster must contain to be included in the results.
 * \param [in] maxClusterSize The maximum number of points that may
 *  be included in any given object cluster.
 * \param [out] objectClouds The vector where discovered object clouds will be pushed.
 */
template<typename PointT>
  void ExtractObjectClouds(typename pcl::PointCloud<PointT>::Ptr cloud, double clusterTolerance,
                           unsigned int minClusterSize, unsigned int maxClusterSize,
                           std::vector<typename pcl::PointCloud<PointT>::Ptr>& objectClouds)
  {
    typename pcl::PointCloud<PointT>::Ptr cloud_f(new typename pcl::PointCloud<PointT>);

    if (cloud->size() == 0)
      return; // KdTreeSearch::setInputCloud will segfault if too few points are present.

    std::vector<typename pcl::PointIndices> cluster_indices;
    pcl::EuclideanClusterExtraction<PointT> ec;
    ec.setClusterTolerance(clusterTolerance);
    ec.setMinClusterSize(minClusterSize);
    ec.setMaxClusterSize(maxClusterSize);
    ec.setInputCloud(cloud);
    ec.extract(cluster_indices);

    for (std::vector<pcl::PointIndices>::const_iterator it = cluster_indices.begin(); it != cluster_indices.end(); ++it)
    {
      // Extract discovered cluster into a point cloud
      typename pcl::PointCloud<PointT>::Ptr cloud_cluster(new typename pcl::PointCloud<PointT>);
      for (std::vector<int>::const_iterator pit = it->indices.begin(); pit != it->indices.end(); pit++)
        cloud_cluster->points.push_back(cloud->points[*pit]); //*
      cloud_cluster->width = cloud_cluster->points.size();
      cloud_cluster->height = 1;
      cloud_cluster->is_dense = true;

      // Persist header information
      cloud_cluster->header = cloud->header;

      objectClouds.push_back(cloud_cluster);
    }
  }

/*!
 * \brief Discovers objects in the given point cloud.
 *
 * This function accepts a point cloud produced by a 3d sensor.
 * Finally, it performs kd-tree clustering on the remaining point clouds
 * and returns the resulting clusters.
 *
 * This function performs PCL Euclidian Clustering as in the
 * tutorial available here: http://www.pointclouds.org/documentation/tutorials/cluster_extraction.php#cluster-extraction
 *
 * This function defaults to a point tolerance of 10 cm, a minimum
 * size of 25 points in an object, and a maximum of 10,000 points
 * in an object.
 *
 * \param [in] cloud The point cloud to process.
 * \param [out] objectClouds The vector where discovered object clouds will be pushed.
 */
template<typename PointT>
  void ExtractObjectClouds(typename pcl::PointCloud<PointT>::Ptr cloud,
                           std::vector<typename pcl::PointCloud<PointT>::Ptr>& objectClouds)
  {
    ExtractObjectClouds<PointT>(cloud, 0.1, 25, 10000, objectClouds);
  }
}

#endif