answer
stringlengths
15
1.25M
#pragma once // The following is a redesigned subset of Java's DataOutput, // DataOutputStream, DataInput, DataInputStream, etc. It allows serializing // several primitive types (e.g., integer, string, etc.) to an object which // is only capable of write()ing a single byte (write(char)) or an array of // bytes (write(char *, int)), and deserializing the same data from an object // with a char read() interface. // The format of this serialization is identical to the format used by // Java's DataOutputStream class. This is important to allow us communicate // with nodes running Java version of the code. // We only support the subset actually used in Cassandra, and the subset // that is reversible, i.e., can be read back by data_input. For example, // we only support DataOutput.writeUTF(string) and not // DataOutput.writeChars(string) - because the latter does not include // the length, which is necessary for reading the string back. #include <stdint.h> #include "core/sstring.hh" #include "net/byteorder.hh" #include "bytes.hh" #include <iostream> class <API key> { }; class EOFException { }; inline void serialize_int8(std::ostream& out, uint8_t val) { out.put(val); } inline void serialize_int8(std::ostream& out, int8_t val) { out.put(val); } inline void serialize_int8(bytes::iterator& out, uint8_t val) { uint8_t nval = net::hton(val); out = std::copy_n(reinterpret_cast<const char*>(&nval), sizeof(nval), out); } static constexpr size_t serialize_int8_size = 1; inline void serialize_int8(std::ostream& out, char val) { out.put(val); } inline int8_t deserialize_int8(std::istream& in) { char ret; if (in.get(ret)) { return ret; } else { throw EOFException(); } } inline void serialize_bool(std::ostream& out, bool b) { out.put(b ? (char)1 : (char)0); } static constexpr size_t serialize_bool_size = 1; inline void serialize_bool(bytes::iterator& out, bool val) { serialize_int8(out, val ? 1 : 0); } inline bool deserialize_bool(std::istream& in) { char ret; if (in.get(ret)) { return ret; } else { throw EOFException(); } } inline void serialize_int16(std::ostream& out, uint16_t val) { out.put((char)((val >> 8) & 0xFF)); out.put((char)((val >> 0) & 0xFF)); } inline void serialize_int16(std::ostream& out, int16_t val) { serialize_int16(out, (uint16_t) val); } inline void serialize_int16(bytes::iterator& out, uint16_t val) { uint16_t nval = net::hton(val); out = std::copy_n(reinterpret_cast<const char*>(&nval), sizeof(nval), out); } inline int16_t deserialize_int16(std::istream& in) { char a1, a2; in.get(a1); in.get(a2); if (!in) { throw EOFException(); } return ((int16_t)(uint8_t)a1 << 8) | ((int16_t)(uint8_t)a2 << 0); } static constexpr size_t <API key> = 2; inline void serialize_int32(std::ostream& out, uint32_t val) { out.put((char)((val >> 24) & 0xFF)); out.put((char)((val >> 16) & 0xFF)); out.put((char)((val >> 8) & 0xFF)); out.put((char)((val >> 0) & 0xFF)); } inline void serialize_int32(std::ostream& out, int32_t val) { serialize_int32(out, (uint32_t) val); } inline void serialize_int32(bytes::iterator& out, uint32_t val) { uint32_t nval = net::hton(val); out = std::copy_n(reinterpret_cast<const char*>(&nval), sizeof(nval), out); } static constexpr size_t <API key> = 4; inline int32_t deserialize_int32(std::istream& in) { char a1, a2, a3, a4; in.get(a1); in.get(a2); in.get(a3); in.get(a4); return ((int32_t)(uint8_t)a1 << 24) | ((int32_t)(uint8_t)a2 << 16) | ((int32_t)(uint8_t)a3 << 8) | ((int32_t)(uint8_t)a4 << 0); } inline void serialize_int64(std::ostream& out, uint64_t val) { out.put((char)((val >> 56) & 0xFF)); out.put((char)((val >> 48) & 0xFF)); out.put((char)((val >> 40) & 0xFF)); out.put((char)((val >> 32) & 0xFF)); out.put((char)((val >> 24) & 0xFF)); out.put((char)((val >> 16) & 0xFF)); out.put((char)((val >> 8) & 0xFF)); out.put((char)((val >> 0) & 0xFF)); } inline void serialize_int64(std::ostream& out, int64_t val) { serialize_int64(out, (uint64_t) val); } inline void serialize_int64(bytes::iterator& out, uint64_t val) { uint64_t nval = net::hton(val); out = std::copy_n(reinterpret_cast<const char*>(&nval), sizeof(nval), out); } static constexpr size_t <API key> = 8; inline int64_t deserialize_int64(std::istream& in) { char a1, a2, a3, a4, a5, a6, a7, a8; in.get(a1); in.get(a2); in.get(a3); in.get(a4); in.get(a5); in.get(a6); in.get(a7); in.get(a8); return ((int64_t)(uint8_t)a1 << 56) | ((int64_t)(uint8_t)a2 << 48) | ((int64_t)(uint8_t)a3 << 40) | ((int64_t)(uint8_t)a4 << 32) | ((int64_t)(uint8_t)a5 << 24) | ((int64_t)(uint8_t)a6 << 16) | ((int64_t)(uint8_t)a7 << 8) | ((int64_t)(uint8_t)a8 << 0); } // The following serializer is compatible with Java's writeUTF(). // In our C++ implementation, we assume the string is already UTF-8 // encoded. Unfortunately, Java's implementation is a bit different from // UTF-8 for encoding characters above 16 bits in unicode (see // http://docs.oracle.com/javase/7/docs/api/java/io/DataInput.html#modified-utf-8) // For now we'll just assume those aren't in the string... // TODO: fix the compatibility with Java even in this case. inline void serialize_string(std::ostream& out, const sstring& s) { // Java specifies that nulls in the string need to be replaced by the // two bytes 0xC0, 0x80. Let's not bother with such transformation // now, but just verify wasn't needed. for (char c : s) { if (c == '\0') { throw <API key>(); } } if (s.size() > std::numeric_limits<uint16_t>::max()) { // Java specifies the string length is written as uint16_t, so we // can't serialize longer strings. throw <API key>(); } serialize_int16(out, (uint16_t) s.size()); out.write(s.c_str(), s.size()); } inline void serialize_string(bytes::iterator& out, const sstring& s) { for (char c : s) { if (c == '\0') { throw <API key>(); } } if (s.size() > std::numeric_limits<uint16_t>::max()) { throw <API key>(); } serialize_int16(out, (uint16_t) s.size()); out = std::copy(s.begin(), s.end(), out); } inline size_t <API key>(const sstring& s) {; // As above, this code is missing the case of modified utf-8 return <API key> + s.size(); } inline void serialize_string(std::ostream& out, const char *s) { // TODO: like above, need to change UTF-8 when above 16-bit. auto len = strlen(s); if (len > std::numeric_limits<uint16_t>::max()) { // Java specifies the string length is written as uint16_t, so we // can't serialize longer strings. throw <API key>(); } serialize_int16(out, (uint16_t) len); out.write(s, len); } inline sstring deserialize_string(std::istream& in) { int len = deserialize_int16(in); sstring ret(sstring::initialized_later(), len); for (int i = 0; i < len; i++) { in.get(ret[i]); } if (!in) { throw EOFException(); } return ret; } template<typename T> static inline void write(bytes::iterator& out, const T& val) { auto v = net::ntoh(val); out = std::copy_n(reinterpret_cast<char*>(&v), sizeof(v), out); }
# This file is part of Canvas. # Canvas is free software: you can redistribute it and/or modify it under # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY # details. require 'spec_helper' describe 'UpdateCustomParams' do def generic_lti_config(launch_url) <<-HEREDOC <<API key> xmlns="http: <blti:title>Tool</blti:title> <blti:description>A very handy tool.</blti:description> <blti:launch_url>#{launch_url}</blti:launch_url> <blti:extensions platform="canvas.instructure.com"> <lticm:property name="privacy_level">public</lticm:property> <lticm:property name="tool_id">tool</lticm:property> <lticm:options name="course_navigation"> <lticm:property name="url">#{launch_url}</lticm:property> <lticm:property name="text">Tool Name</lticm:property> <lticm:property name="visibility">members</lticm:property> </lticm:options> </blti:extensions> </<API key>> HEREDOC end def create_tools(*urls) tools = {} urls.each do |url| launch_url = "https://#{url}/lti/launch" tools[url] = @course.<API key>.create!(:name => url, :domain => url, :url => launch_url, :context => @course, :config_type => 'by_xml', :config_xml => generic_lti_config(launch_url), :consumer_key => '12345', :shared_secret => 'secret') end tools end def <API key> { "testing" => "success" } end before(:once) do course_model @root_account = @course.root_account @account = account_model(:root_account => @root_account, :parent_account => @root_account) @course.update!(account: @account) @to_process_url = 'tool.instructure.com' @unprocessed_url = 'some_other_tool.instructure.com' @subdomain_url = 'subdomain.tool.instructure.com' @tools = create_tools(@to_process_url, @unprocessed_url, @subdomain_url) end it 'should update specified LTI tools, and subdomains, to include new config variables' do tool = @tools[@to_process_url] expect(tool.url).to include(@to_process_url) expect(tool.custom_fields.keys).not_to include(*<API key>.keys) DataFixup::Lti::UpdateCustomParams.run!([@to_process_url], <API key>) expect(tool.reload.url).to include(@to_process_url) expect(tool.custom_fields.slice(*<API key>.keys)).to eq <API key> subdomain_tool = @tools[@subdomain_url] expect(subdomain_tool.reload.url).to include(@subdomain_url) expect(subdomain_tool.custom_fields.slice(*<API key>.keys)).to eq <API key> end it 'should not update subdomains w/o that option' do DataFixup::Lti::UpdateCustomParams.run!([@to_process_url], <API key>, subdomain_matching: false) subdomain_tool = @tools[@subdomain_url] expect(subdomain_tool.reload.url).to include(@subdomain_url) expect(subdomain_tool.custom_fields.slice(*<API key>.keys)).not_to eq <API key> end it 'should not update unrelated LTI tools' do tool = @tools[@unprocessed_url] expect(tool.url).to include(@unprocessed_url) expect(tool.reload.custom_fields.keys).not_to include(*<API key>.keys) DataFixup::Lti::UpdateCustomParams.run!([@to_process_url], <API key>) expect(tool.reload.url).to include(@unprocessed_url) expect(tool.reload.custom_fields.keys).not_to include(*<API key>.keys) end it 'should validate that valid domains are passed in' do strings = %w|api.quiz.docker/lti/launch jdoe.quiz-api-dev-pdx.inseng.net t.t2.quiz-lti-prod-iad.instructure.com| results = DataFixup::Lti::UpdateCustomParams.validate_domains!(strings) expect(results.size).to eq(2) # no /lti/launch end end
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace Cwc.Connect.Web { public static class WebApiConfig { public static void Register(HttpConfiguration config) { config.Routes.MapHttpRoute( name: "DefaultApi", routeTemplate: "api/{controller}/{id}", defaults: new { id = RouteParameter.Optional } ); } } }
<?php if (!defined('sugarEntry') || !sugarEntry) { die('Not A Valid Entry Point'); } require_once('include/Dashlets/DashletGeneric.php'); require_once('modules/SurveyQuestions/SurveyQuestions.php'); class <API key> extends DashletGeneric { function __construct($id, $def = null) { global $current_user, $app_strings; require('modules/SurveyQuestions/metadata/dashletviewdefs.php'); parent::__construct($id, $def); if (empty($def['title'])) { $this->title = translate('LBL_HOMEPAGE_TITLE', 'SurveyQuestions'); } $this->searchFields = $dashletData['<API key>']['searchFields']; $this->columns = $dashletData['<API key>']['columns']; $this->seedBean = new SurveyQuestions(); } }
# <API key>: true module Decidim module Conferences module AdminLog # This class holds the logic to present a `Decidim::Conferences::Partner` # for the `AdminLog` log. # Usage should be automatic and you shouldn't need to call this class # directly, but here's an example: # action_log = Decidim::ActionLog.last # view_helpers # => this comes from the views # PartnerPresenter.new(action_log, view_helpers).present class PartnerPresenter < Decidim::Log::BasePresenter private def diff_fields_mapping { name: :string, partner_type: :string, link: :string, weight: :integer, logo: :string } end def i18n_labels_scope "activemodel.attributes.conferences.partner" end def action_string case action when "create", "delete", "update" "decidim.admin_log.conferences.partner.#{action}" else super end end def has_diff? action == "delete" || super end end end end end
package org.jpos.q2; import org.jdom.Element; import org.jpos.core.Configuration; import org.jpos.core.<API key>; public interface <API key> { public Configuration getConfiguration (Element e) throws <API key>; }
// // // // //# This program is free software: you can redistribute it and/or modify # // //# published by the Free Software Foundation, either version 3 of the # // // //# This program is distributed in the hope that it will be useful, # // //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # // // // // // //# IMS MAXIMS provides absolutely NO GUARANTEE OF THE CLINICAL SAFTEY of # //# this program. Users of this software do so entirely at their own risk. # //# IMS MAXIMS only ensures the Clinical Safety of unaltered run-time # //# software that it builds, deploys and maintains. # // // //#EOH // This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5589.25814) // WARNING: DO NOT MODIFY the content of this file package ims.admin.vo.beans; public class DateFormVoBean extends ims.vo.ValueObjectBean { public DateFormVoBean() { } public DateFormVoBean(ims.admin.vo.DateFormVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.formid = vo.getFormId(); this.name = vo.getName(); } public void populate(ims.vo.ValueObjectBeanMap map, ims.admin.vo.DateFormVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.formid = vo.getFormId(); this.name = vo.getName(); } public ims.admin.vo.DateFormVo buildVo() { return this.buildVo(new ims.vo.ValueObjectBeanMap()); } public ims.admin.vo.DateFormVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.admin.vo.DateFormVo vo = null; if(map != null) vo = (ims.admin.vo.DateFormVo)map.getValueObject(this); if(vo == null) { vo = new ims.admin.vo.DateFormVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; } public Integer getId() { return this.id; } public void setId(Integer value) { this.id = value; } public int getVersion() { return this.version; } public void setVersion(int value) { this.version = value; } public Integer getFormId() { return this.formid; } public void setFormId(Integer value) { this.formid = value; } public String getName() { return this.name; } public void setName(String value) { this.name = value; } private Integer id; private int version; private Integer formid; private String name; }
.drop-element, .drop-element:after, .drop-element:before, .drop-element *, .drop-element *:after, .drop-element *:before { box-sizing: border-box; } .drop-element { position: absolute; display: none; } .drop-element.drop-open { display: block; } .drop-element.<API key> { max-width: 100%; max-height: 100%; } .drop-element.<API key> .drop-content { border-radius: 5px; position: relative; font-family: inherit; background: #ebebeb; color: #444; padding: 1em; font-size: 1.1em; line-height: 1.5em; } .drop-element.<API key> .drop-content:before { content: ""; display: block; position: absolute; width: 0; height: 0; border-color: transparent; border-width: 10px; border-style: solid; } .drop-element.<API key>.<API key>.<API key> .drop-content { margin-bottom: 10px; } .drop-element.<API key>.<API key>.<API key> .drop-content:before { top: 100%; left: 50%; margin-left: -10px; border-top-color: #ebebeb; border-bottom: 0; } .drop-element.<API key>.<API key>.<API key> .drop-content { margin-top: 10px; } .drop-element.<API key>.<API key>.<API key> .drop-content:before { bottom: 100%; left: 50%; margin-left: -10px; border-bottom-color: #ebebeb; border-top: 0; } .drop-element.<API key>.<API key>.<API key> .drop-content { margin-right: 10px; } .drop-element.<API key>.<API key>.<API key> .drop-content:before { left: 100%; top: 50%; margin-top: -10px; border-left-color: #ebebeb; border-right: 0; } .drop-element.<API key>.<API key>.<API key> .drop-content { margin-left: 10px; } .drop-element.<API key>.<API key>.<API key> .drop-content:before { right: 100%; top: 50%; margin-top: -10px; border-right-color: #ebebeb; border-left: 0; } .drop-element.<API key>.<API key>.<API key> .drop-content { left: -20px; } .drop-element.<API key>.<API key>.<API key> .drop-content { left: 20px; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content { margin-top: 10px; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content:before { bottom: 100%; left: 10px; border-bottom-color: #ebebeb; border-top: 0; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content { margin-top: 10px; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content:before { bottom: 100%; right: 10px; border-bottom-color: #ebebeb; border-top: 0; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content { margin-bottom: 10px; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content:before { top: 100%; left: 10px; border-top-color: #ebebeb; border-bottom: 0; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content { margin-bottom: 10px; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content:before { top: 100%; right: 10px; border-top-color: #ebebeb; border-bottom: 0; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content { margin-top: 10px; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content:before { bottom: 100%; left: 10px; border-bottom-color: #ebebeb; border-top: 0; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content { margin-top: 10px; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content:before { bottom: 100%; right: 10px; border-bottom-color: #ebebeb; border-top: 0; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content { margin-bottom: 10px; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content:before { top: 100%; left: 10px; border-top-color: #ebebeb; border-bottom: 0; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content { margin-bottom: 10px; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content:before { top: 100%; right: 10px; border-top-color: #ebebeb; border-bottom: 0; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content { margin-right: 10px; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content:before { top: 10px; left: 100%; border-left-color: #ebebeb; border-right: 0; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content { margin-left: 10px; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content:before { top: 10px; right: 100%; border-right-color: #ebebeb; border-left: 0; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content { margin-right: 10px; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content:before { bottom: 10px; left: 100%; border-left-color: #ebebeb; border-right: 0; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content { margin-left: 10px; } .drop-element.<API key>.<API key>.<API key>.<API key> .drop-content:before { bottom: 10px; right: 100%; border-right-color: #ebebeb; border-left: 0; } .drop-element.<API key> .drop-content { box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2); border-radius: 2px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; padding: 3px; font-size: 13px; } .drop-element.<API key> .drop-content .drop-content-inner { border: 1px solid #dbdbdb; padding: 14px; background: #fff; overflow: hidden; width: 280px; } .drop-element.<API key> .drop-content .drop-content-inner .title { font-size: 18px; margin-top: 0; margin-bottom: 12px; font-weight: normal; line-height: 1; } .drop-element.<API key> .drop-content .drop-content-inner p:last-child { margin-bottom: 0; }
# -*- coding: utf-8 -*- # This file is part of Shuup. from __future__ import unicode_literals from django import forms from django.conf import settings from django.contrib.auth import get_user_model, login, logout from django.contrib.auth.forms import SetPasswordForm from django.contrib.auth.tokens import <API key> from django.contrib.auth.views import REDIRECT_FIELD_NAME from django.core.urlresolvers import reverse_lazy from django.db.transaction import atomic from django.http import <API key> from django.utils.http import is_safe_url, <API key> from django.utils.translation import ugettext as _ from django.views.generic import FormView, TemplateView from shuup.front.apps.auth.forms import ( <API key>, RecoverPasswordForm ) from shuup.utils.excs import Problem class LoginView(FormView): template_name = 'shuup/user/login.jinja' form_class = <API key> def get_context_data(self, **kwargs): context = super(LoginView, self).get_context_data(**kwargs) context[REDIRECT_FIELD_NAME] = self.request.REQUEST.get(REDIRECT_FIELD_NAME) return context def get_form(self, form_class=None): form = super(LoginView, self).get_form(form_class) form.fields[REDIRECT_FIELD_NAME] = forms.CharField( widget=forms.HiddenInput, required=False, initial=self.request.REQUEST.get(REDIRECT_FIELD_NAME) ) return form def form_valid(self, form): user = form.get_user() login(self.request, user) return super(LoginView, self).form_valid(form) def get_success_url(self): url = self.request.REQUEST.get(REDIRECT_FIELD_NAME) if url and is_safe_url(url, self.request.get_host()): return url return settings.LOGIN_REDIRECT_URL class LogoutView(TemplateView): template_name = "shuup/user/logout.jinja" def dispatch(self, request, *args, **kwargs): if request.user.is_authenticated(): logout(request) return super(LogoutView, self).dispatch(request, *args, **kwargs) class RecoverPasswordView(FormView): template_name = "shuup/user/recover_password.jinja" form_class = RecoverPasswordForm success_url = reverse_lazy("shuup:<API key>") def form_valid(self, form): """ :type form: RecoverPasswordForm """ form.save(request=self.request) return <API key>(self.get_success_url()) class <API key>(FormView): template_name = "shuup/user/<API key>.jinja" form_class = SetPasswordForm token_generator = <API key> success_url = reverse_lazy("shuup:<API key>") def get_form_kwargs(self): kwargs = super(<API key>, self).get_form_kwargs() kwargs["user"] = self.get_target_user() return kwargs def get_target_user(self): uidb64 = self.kwargs["uidb64"] user_model = get_user_model() try: uid = <API key>(uidb64) user = user_model._default_manager.get(pk=uid) except (TypeError, ValueError, OverflowError, user_model.DoesNotExist): user = None return user def dispatch(self, request, *args, **kwargs): user = self.get_target_user() token = self.kwargs["token"] valid = (user is not None and self.token_generator.check_token(user, token)) if not valid: raise Problem(_(u"This recovery link is invalid.")) return super(<API key>, self).dispatch(request, *args, **kwargs) @atomic def form_valid(self, form): """ :type form: SetPasswordForm """ form.save() form.user.backend = 'django.contrib.auth.backends.ModelBackend' login(self.request, form.user) return <API key>(self.get_success_url()) class <API key>(TemplateView): template_name = "shuup/user/<API key>.jinja" class <API key>(TemplateView): template_name = "shuup/user/<API key>.jinja"
// // // // //# This program is free software: you can redistribute it and/or modify # // //# published by the Free Software Foundation, either version 3 of the # // // //# This program is distributed in the hope that it will be useful, # // //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # // // // // // //# IMS MAXIMS provides absolutely NO GUARANTEE OF THE CLINICAL SAFTEY of # //# this program. Users of this software do so entirely at their own risk. # //# IMS MAXIMS only ensures the Clinical Safety of unaltered run-time # //# software that it builds, deploys and maintains. # // // //#EOH // This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5589.25814) // WARNING: DO NOT MODIFY the content of this file package ims.clinical.vo.lookups; import ims.framework.cn.data.TreeModel; import ims.framework.cn.data.TreeNode; import ims.vo.<API key>; import ims.vo.LookupInstVo; public class <API key> extends <API key> implements ims.vo.ImsCloneable, TreeModel { private static final long serialVersionUID = 1L; public void add(<API key> value) { super.add(value); } public int indexOf(<API key> instance) { return super.indexOf(instance); } public boolean contains(<API key> instance) { return indexOf(instance) >= 0; } public <API key> get(int index) { return (<API key>)super.getIndex(index); } public void remove(<API key> instance) { if(instance != null) { int index = indexOf(instance); if(index >= 0) remove(index); } } public Object clone() { <API key> newCol = new <API key>(); <API key> item; for (int i = 0; i < super.size(); i++) { item = this.get(i); newCol.add(new <API key>(item.getID(), item.getText(), item.isActive(), item.getParent(), item.getImage(), item.getColor(), item.getOrder())); } for (int i = 0; i < newCol.size(); i++) { item = newCol.get(i); if (item.getParent() != null) { int parentIndex = this.indexOf(item.getParent()); if(parentIndex >= 0) item.setParent(newCol.get(parentIndex)); else item.setParent((<API key>)item.getParent().clone()); } } return newCol; } public <API key> getInstance(int instanceId) { return (<API key>)super.getInstanceById(instanceId); } public TreeNode[] getRootNodes() { LookupInstVo[] roots = super.getRoots(); TreeNode[] nodes = new TreeNode[roots.length]; System.arraycopy(roots, 0, nodes, 0, roots.length); return nodes; } public <API key>[] toArray() { <API key>[] arr = new <API key>[this.size()]; super.toArray(arr); return arr; } public static <API key> <API key>(java.util.Collection beans) { <API key> coll = new <API key>(); if(beans == null) return coll; java.util.Iterator iter = beans.iterator(); while(iter.hasNext()) { coll.add(<API key>.buildLookup((ims.vo.LookupInstanceBean)iter.next())); } return coll; } public static <API key> <API key>(ims.vo.LookupInstanceBean[] beans) { <API key> coll = new <API key>(); if(beans == null) return coll; for(int x = 0; x < beans.length; x++) { coll.add(<API key>.buildLookup(beans[x])); } return coll; } }
// // // // //# This program is free software: you can redistribute it and/or modify # // //# published by the Free Software Foundation, either version 3 of the # // // //# This program is distributed in the hope that it will be useful, # // //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # // // // // // //# IMS MAXIMS provides absolutely NO GUARANTEE OF THE CLINICAL SAFTEY of # //# this program. Users of this software do so entirely at their own risk. # //# IMS MAXIMS only ensures the Clinical Safety of unaltered run-time # //# software that it builds, deploys and maintains. # // // //#EOH // This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5589.25814) // WARNING: DO NOT MODIFY the content of this file package ims.core.forms.<API key>; public interface IFormUILogicCode { // No methods yet. }
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="generator" content="ApiGen 2.8.0"> <title>Class banco</title> <script type="text/javascript" src="resources/combined.js?3770084987"></script> <script type="text/javascript" src="elementlist.js?553530925"></script> <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360"> </head> <body> <div id="left"> <div id="menu"> <a href="index.html" title="Overview"><span>Overview</span></a> <div id="groups"> </div> <div id="elements"> <h3>Classes</h3> <ul> <li><a href="class-agente.html">agente</a></li> <li><a href="<API key>.html">albaran_cliente</a></li> <li><a href="<API key>.html">albaran_proveedor</a></li> <li><a href="class-almacen.html">almacen</a></li> <li><a href="class-articulo.html">articulo</a></li> <li><a href="class-asiento.html">asiento</a></li> <li><a href="<API key>.html">asiento_factura</a></li> <li><a href="class-balance.html">balance</a></li> <li><a href="<API key>.html">balance_cuenta</a></li> <li><a href="<API key>.html">balance_cuenta_a</a></li> <li class="active"><a href="class-banco.html">banco</a></li> <li><a href="class-caja.html">caja</a></li> <li><a href="class-cliente.html">cliente</a></li> <li><a href="<API key>.html">concepto_partida</a></li> <li><a href="class-cuenta.html">cuenta</a></li> <li><a href="class-cuenta_banco.html">cuenta_banco</a></li> <li><a href="<API key>.html"><API key></a></li> <li><a href="<API key>.html"><API key></a></li> <li><a href="<API key>.html">cuenta_especial</a></li> <li><a href="<API key>.html">direccion_cliente</a></li> <li><a href="<API key>.html">direccion_proveedor</a></li> <li><a href="class-divisa.html">divisa</a></li> <li><a href="class-ejercicio.html">ejercicio</a></li> <li><a href="class-empresa.html">empresa</a></li> <li><a href="class-epigrafe.html">epigrafe</a></li> <li><a href="<API key>.html">factura_cliente</a></li> <li><a href="<API key>.html">factura_proveedor</a></li> <li><a href="class-familia.html">familia</a></li> <li><a href="class-forma_pago.html">forma_pago</a></li> <li><a href="class-fs_access.html">fs_access</a></li> <li><a href="class-fs_button.html">fs_button</a></li> <li><a href="class-fs_button_img.html">fs_button_img</a></li> <li><a href="class-fs_cache.html">fs_cache</a></li> <li><a href="class-fs_controller.html">fs_controller</a></li> <li><a href="class-fs_db.html">fs_db</a></li> <li><a href="<API key>.html">fs_default_items</a></li> <li><a href="class-fs_extension.html">fs_extension</a></li> <li><a href="class-fs_log.html">fs_log</a></li> <li><a href="class-fs_model.html">fs_model</a></li> <li><a href="class-fs_mysql.html">fs_mysql</a></li> <li><a href="class-fs_page.html">fs_page</a></li> <li><a href="class-fs_pdf.html">fs_pdf</a></li> <li><a href="class-fs_postgresql.html">fs_postgresql</a></li> <li><a href="class-fs_printer.html">fs_printer</a></li> <li><a href="class-fs_user.html">fs_user</a></li> <li><a href="class-fs_var.html">fs_var</a></li> <li><a href="<API key>.html">grupo_clientes</a></li> <li><a href="<API key>.html">grupo_epigrafes</a></li> <li><a href="class-impuesto.html">impuesto</a></li> <li><a href="<API key>.html"><API key></a></li> <li><a href="<API key>.html"><API key></a></li> <li><a href="<API key>.html"><API key></a></li> <li><a href="<API key>.html"><API key></a></li> <li><a href="<API key>.html"><API key></a></li> <li><a href="<API key>.html"><API key></a></li> <li><a href="class-pais.html">pais</a></li> <li><a href="class-partida.html">partida</a></li> <li><a href="class-proveedor.html">proveedor</a></li> <li><a href="<API key>.html">regularizacion_iva</a></li> <li><a href="class-secuencia.html">secuencia</a></li> <li><a href="<API key>.html"><API key></a></li> <li><a href="<API key>.html">secuencia_ejercicio</a></li> <li><a href="class-serie.html">serie</a></li> <li><a href="class-stock.html">stock</a></li> <li><a href="class-subcuenta.html">subcuenta</a></li> <li><a href="<API key>.html">subcuenta_cliente</a></li> <li><a href="<API key>.html">subcuenta_proveedor</a></li> <li><a href="class-sucursal.html">sucursal</a></li> <li><a href="class-tarifa.html">tarifa</a></li> <li><a href="<API key>.html">tarifa_articulo</a></li> </ul> <h3>Functions</h3> <ul> <li><a href="function-bround.html">bround</a></li> <li><a href="<API key>.html">require_model</a></li> </ul> </div> </div> </div> <div id="splitter"></div> <div id="right"> <div id="rightInner"> <form id="search"> <input type="hidden" name="cx" value=""> <input type="hidden" name="ie" value="UTF-8"> <input type="text" name="q" class="text"> <input type="submit" value="Search"> </form> <div id="navigation"> <ul> <li> <a href="index.html" title="Overview"><span>Overview</span></a> </li> <li class="active"> <span>Class</span> </li> </ul> <ul> <li> <a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a> </li> </ul> <ul> </ul> </div> <div id="content" class="class"> <h1>Class banco</h1> <div class="description"> <p>Entidad bancaria.</p> </div> <dl class="tree"> <dd style="padding-left:0px"> <a href="class-fs_model.html"><span>fs_model</span></a> </dd> <dd style="padding-left:30px"> <img src="resources/inherit.png" alt="Extended by"> <b><span>banco</span></b> </dd> </dl> <div class="info"> <b>Located at</b> <a href="source-class-banco.html#23-145" title="Go to source code">banco.php</a><br> </div> <table class="summary" id="methods"> <caption>Methods summary</caption> <tr data-order="__construct" id="___construct"> <td class="attributes"><code> public </code> </td> <td class="name"><div> <a class="anchor" href=" <code><a href="source-class-banco.html#32-47" title="Go to source code">__construct</a>( <span>type <var>$b</var> = <span class="php-keyword1">FALSE</span></span> )</code> <div class="description short"> </div> <div class="description detailed hidden"> <h4>Parameters</h4> <div class="list"><dl> <dt><var>$b</var></dt> <dd><code>type</code><br>$name nombre de la tabla de la base de datos.</dd> </dl></div> <h4>Overrides</h4> <div class="list"><code><a href="class-fs_model.html </div> </div></td> </tr> <tr data-order="install" id="_install"> <td class="attributes"><code> protected </code> </td> <td class="name"><div> <a class="anchor" href="#_install">#</a> <code><a href="source-class-banco.html#49-52" title="Go to source code">install</a>( )</code> <div class="description short"> <p>Esta función es llamada al crear una tabla. Permite insertar valores en la tabla.</p> </div> <div class="description detailed hidden"> <p>Esta función es llamada al crear una tabla. Permite insertar valores en la tabla.</p> </div> </div></td> </tr> <tr data-order="url" id="_url"> <td class="attributes"><code> public </code> </td> <td class="name"><div> <a class="anchor" href="#_url">#</a> <code><a href="source-class-banco.html#54-60" title="Go to source code">url</a>( )</code> <div class="description short"> </div> <div class="description detailed hidden"> </div> </div></td> </tr> <tr data-order="get" id="_get"> <td class="attributes"><code> public </code> </td> <td class="name"><div> <a class="anchor" href="#_get">#</a> <code><a href="source-class-banco.html#62-69" title="Go to source code">get</a>( <span>mixed <var>$en</var></span> )</code> <div class="description short"> </div> <div class="description detailed hidden"> </div> </div></td> </tr> <tr data-order="get_sucursales" id="_get_sucursales"> <td class="attributes"><code> public </code> </td> <td class="name"><div> <a class="anchor" href="#_get_sucursales">#</a> <code><a href="source-class-banco.html#71-75" title="Go to source code">get_sucursales</a>( )</code> <div class="description short"> </div> <div class="description detailed hidden"> </div> </div></td> </tr> <tr data-order="exists" id="_exists"> <td class="attributes"><code> public </code> </td> <td class="name"><div> <a class="anchor" href="#_exists">#</a> <code><a href="source-class-banco.html#77-85" title="Go to source code">exists</a>( )</code> <div class="description short"> <p>Esta función devuelve TRUE si los datos del objeto se encuentran en la base de datos.</p> </div> <div class="description detailed hidden"> <p>Esta función devuelve TRUE si los datos del objeto se encuentran en la base de datos.</p> </div> </div></td> </tr> <tr data-order="test" id="_test"> <td class="attributes"><code> public </code> </td> <td class="name"><div> <a class="anchor" href="#_test">#</a> <code><a href="source-class-banco.html#87-106" title="Go to source code">test</a>( )</code> <div class="description short"> </div> <div class="description detailed hidden"> </div> </div></td> </tr> <tr data-order="save" id="_save"> <td class="attributes"><code> public </code> </td> <td class="name"><div> <a class="anchor" href="#_save">#</a> <code><a href="source-class-banco.html#108-127" title="Go to source code">save</a>( )</code> <div class="description short"> <p>Esta función sirve tanto para insertar como para actualizar los datos del objeto en la base de datos.</p> </div> <div class="description detailed hidden"> <p>Esta función sirve tanto para insertar como para actualizar los datos del objeto en la base de datos.</p> </div> </div></td> </tr> <tr data-order="delete" id="_delete"> <td class="attributes"><code> public </code> </td> <td class="name"><div> <a class="anchor" href="#_delete">#</a> <code><a href="source-class-banco.html#129-132" title="Go to source code">delete</a>( )</code> <div class="description short"> <p>Esta función sirve para eliminar los datos del objeto de la base de datos</p> </div> <div class="description detailed hidden"> <p>Esta función sirve para eliminar los datos del objeto de la base de datos</p> </div> </div></td> </tr> <tr data-order="all" id="_all"> <td class="attributes"><code> public </code> </td> <td class="name"><div> <a class="anchor" href="#_all">#</a> <code><a href="source-class-banco.html#134-144" title="Go to source code">all</a>( )</code> <div class="description short"> </div> <div class="description detailed hidden"> </div> </div></td> </tr> </table> <table class="summary inherited"> <caption>Methods inherited from <a href="class-fs_model.html#methods">fs_model</a></caption> <tr> <td><code> <a href="class-fs_model.html#_bin2str">bin2str()</a>, <a href="class-fs_model.html#_check_table">check_table()</a>, <a href="class-fs_model.html#<API key>"><API key>()</a>, <a href="class-fs_model.html#_date_range">date_range()</a>, <a href="class-fs_model.html#_escape_string">escape_string()</a>, <a href="class-fs_model.html#_floatcmp">floatcmp()</a>, <a href="class-fs_model.html#_floatcmp3">floatcmp3()</a>, <a href="class-fs_model.html#_get_errors">get_errors()</a>, <a href="class-fs_model.html#_get_xml_table">get_xml_table()</a>, <a href="class-fs_model.html#_intval">intval()</a>, <a href="class-fs_model.html#_new_error_msg">new_error_msg()</a>, <a href="class-fs_model.html#_no_html">no_html()</a>, <a href="class-fs_model.html#_random_string">random_string()</a>, <a href="class-fs_model.html#_str2bin">str2bin()</a>, <a href="class-fs_model.html#_str2bool">str2bool()</a>, <a href="class-fs_model.html#_var2str">var2str()</a>, <a href="class-fs_model.html#_var2timesince">var2timesince()</a> </code></td> </tr> </table> <table class="summary" id="properties"> <caption>Properties summary</caption> <tr data-order="entidad" id="$entidad"> <td class="attributes"><code> public mixed </code></td> <td class="name"> <a href="source-class-banco.html#28" title="Go to source code"><var>$entidad</var></a> </td> <td class="value"><code></code></td> <td class="description"><div> <a href="#$entidad" class="anchor">#</a> <div class="description short"> </div> <div class="description detailed hidden"> </div> </div></td> </tr> <tr data-order="nombre" id="$nombre"> <td class="attributes"><code> public mixed </code></td> <td class="name"> <a href="source-class-banco.html#29" title="Go to source code"><var>$nombre</var></a> </td> <td class="value"><code></code></td> <td class="description"><div> <a href="#$nombre" class="anchor">#</a> <div class="description short"> </div> <div class="description detailed hidden"> </div> </div></td> </tr> <tr data-order="codproveedor" id="$codproveedor"> <td class="attributes"><code> public mixed </code></td> <td class="name"> <a href="source-class-banco.html#30" title="Go to source code"><var>$codproveedor</var></a> </td> <td class="value"><code></code></td> <td class="description"><div> <a href="#$codproveedor" class="anchor">#</a> <div class="description short"> </div> <div class="description detailed hidden"> </div> </div></td> </tr> </table> <table class="summary inherited"> <caption>Properties inherited from <a href="class-fs_model.html#properties">fs_model</a></caption> <tr> <td><code> <a href="class-fs_model.html#$base_dir"><var>$base_dir</var></a>, <a href="class-fs_model.html#$cache"><var>$cache</var></a>, <a href="class-fs_model.html#$db"><var>$db</var></a>, <a href="class-fs_model.html#$default_items"><var>$default_items</var></a>, <a href="class-fs_model.html#$table_name"><var>$table_name</var></a> </code></td> </tr> </table> </div> <div id="footer"> API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a> </div> </div> </div> </body> </html>
# <API key>: true module Decidim module Blogs # This type represents a Post. PostType = GraphQL::ObjectType.define do interfaces [ -> { Decidim::Comments::<API key> }, -> { Decidim::Core::AttachableInterface }, -> { Decidim::Core::AuthorableInterface }, -> { Decidim::Core::TraceableInterface }, -> { Decidim::Core::EndorsableInterface }, -> { Decidim::Core::TimestampsInterface } ] name "Post" description "A post" field :id, !types.ID, "The internal ID of this post" field :title, Decidim::Core::TranslatedFieldType, "The title for this post" field :body, Decidim::Core::TranslatedFieldType, "The body of this post" end end end
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_51) on Fri Jan 24 14:22:36 EST 2014 --> <TITLE> Uses of Class com.sleepycat.bind.serial.SerialOutput (Oracle - Berkeley DB Java API) </TITLE> <META NAME="date" CONTENT="2014-01-24"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../style.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class com.sleepycat.bind.serial.SerialOutput (Oracle - Berkeley DB Java API)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <A NAME="navbar_top"></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../com/sleepycat/bind/serial/SerialOutput.html" title="class in com.sleepycat.bind.serial"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> <b>Berkeley DB</b><br><font size="-1"> version 6.0.30</font></EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/sleepycat/bind/serial//<API key>.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="SerialOutput.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <! if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <HR> <CENTER> <H2> <B>Uses of Class<br>com.sleepycat.bind.serial.SerialOutput</B></H2> </CENTER> No usage of com.sleepycat.bind.serial.SerialOutput <P> <HR> <A NAME="navbar_bottom"></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="<API key>"></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../com/sleepycat/bind/serial/SerialOutput.html" title="class in com.sleepycat.bind.serial"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> <b>Berkeley DB</b><br><font size="-1"> version 6.0.30</font></EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/sleepycat/bind/serial//<API key>.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="SerialOutput.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <! if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <HR> <font size=1>Copyright (c) 1996, 2014 Oracle and/or its affiliates. All rights reserved.</font> </BODY> </HTML>
/* Styles for the login/signup forms */ body{ color: #fff; font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", Geneva, sans-serif; background: #2A5491 url("../img/landing/bg.jpg") no-repeat center center fixed; -<API key>: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; min-height: 100%; text-align: center; } #logo{ margin: 70px auto 20px auto; width: 80px; height: 80px; display: block; } h1{ font-style: italic; font-weight: 300; font-size: 16px; color: #A7B8DC; line-height: 19px; margin-bottom:40px; } h1 span{ display: block; font-style: normal; font-size: 32px; color: #FFFFFF; line-height: 32px; font-weight: 200; } p{ font-weight: 400; font-size: 16px; color: #A7B8DC; line-height: 19px; } p a{ font-weight: 600; color: #fff; display: inline; font-style: normal; text-decoration: none; } a{ font-style: italic; font-weight: 300; font-size: 16px; color: #A7B8DC; line-height: 19px; display: block; text-decoration: none; margin-bottom:40px; } #footer{ position: absolute; bottom: 0; margin-bottom: 25px; text-align: center; left: 0; right: 0; } @media screen and (max-height: 620px) { #footer{ position: relative; } } legend{ font-style: italic; font-size: 14px; color: #A7B8DC; text-align: center; display: block; width: 100%; margin-bottom: 30px; } strong{ display: block; margin-bottom: 30px; } input{ box-sizing: border-box; background: transparent; border: none; border-bottom: 1px solid #8A9FD3; padding: 9px 15px 3px; width: 100%; font-size: 15px; border-radius: 0; margin-bottom:20px; display: block; font-weight: 600; } input:focus{ outline-width: 0; } input:-webkit-autofill{ -webkit-box-shadow:0 0 0 50px #6982C7 inset; -<API key>: #fff; } :focus::-<API key> { color: #FFF; } :focus:-moz-placeholder { color: #FFF; } :focus::-moz-placeholder { color: #FFF; } :focus:-<API key> { color: #FFF; } input:hover::-<API key> { color: #FFF; } input:hover:-moz-placeholder { color: #FFF; } input:hover::-moz-placeholder { color: #FFF; } input:hover:-<API key> { color: #FFF; } ::-<API key> { color: #AAB5DD; font-weight: 400; } :-moz-placeholder { color: #AAB5DD; opacity: 1; font-weight: 400; } ::-moz-placeholder { color: #AAB5DD; opacity: 1; font-weight: 400; } :-<API key> { color: #AAB5DD; font-weight: 400; } button[type="submit"]{ border: 0px solid #3A3385; background: #3F41A1; padding: 14px 50px; box-sizing: border-box; width: 100%; text-transform: uppercase; font-size: 15px; margin-top: 10px; } button:hover{ padding: 14px 50px 11px; border-bottom: 3px solid #3A3385; } button:active{ margin-top:12px; } form{ width: 290px; margin: 0 auto; } svg { height: 100%; width: 100%; } /* Webfont: LatoLatin-Bold */ @font-face { font-family: "Lato"; src: url("../fonts/LatoLatin-Bold.eot"); /* IE9 Compat Modes */ src: url("../fonts/LatoLatin-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/LatoLatin-Bold.woff") format("woff"), url("../fonts/LatoLatin-Bold.ttf") format("truetype"); font-style: normal; font-weight: 700; text-rendering: optimizeLegibility; } /* Webfont: LatoLatin-Italic */ @font-face { font-family: "Lato"; src: url("../fonts/LatoLatin-Italic.eot"); /* IE9 Compat Modes */ src: url("../fonts/LatoLatin-Italic.eot?#iefix") format("embedded-opentype"), url("../fonts/LatoLatin-Italic.woff") format("woff"), url("../fonts/LatoLatin-Italic.ttf") format("truetype"); font-style: italic; font-weight: 400; text-rendering: optimizeLegibility; } /* Webfont: LatoLatin-Regular */ @font-face { font-family: "Lato"; src: url("../fonts/LatoLatin-Regular.eot"); /* IE9 Compat Modes */ src: url("../fonts/LatoLatin-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/LatoLatin-Regular.woff") format("woff"), url("../fonts/LatoLatin-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; text-rendering: optimizeLegibility; } /* Webfont: <API key> */ @font-face { font-family: "Lato"; src: url("../fonts/<API key>.eot"); /* IE9 Compat Modes */ src: url("../fonts/<API key>.eot?#iefix") format("embedded-opentype"), url("../fonts/<API key>.woff") format("woff"), url("../fonts/<API key>.ttf") format("truetype"); font-style: normal; font-weight: 300; text-rendering: optimizeLegibility; } /* Webfont: <API key> */ @font-face { font-family: "Lato"; src: url("../fonts/<API key>.eot"); /* IE9 Compat Modes */ src: url("../fonts/<API key>.eot?#iefix") format("embedded-opentype"), url("../fonts/<API key>.woff") format("woff"), url("../fonts/<API key>.ttf") format("truetype"); font-style: normal; font-weight: 500; text-rendering: optimizeLegibility; } @media screen and (-<API key>: 0) { @font-face { font-family: "Lato"; src: url("../fonts/<API key>.svg") format("svg"); font-style: normal; font-weight: 300; text-rendering: optimizeLegibility; } @font-face { font-family: "Lato"; src: url("../fonts/LatoLatin-Regular.svg") format("svg"); font-style: normal; font-weight: 400; text-rendering: optimizeLegibility; } @font-face { font-family: "Lato"; src: url("../fonts/LatoLatin-Italic.svg") format("svg"); font-style: italic; font-weight: 400; text-rendering: optimizeLegibility; } @font-face { font-family: "Lato"; src: url("../fonts/LatoLatin-Bold.svg") format("svg"); font-style: normal; font-weight: 700; text-rendering: optimizeLegibility; } @font-face { font-family: "Lato"; src: url("../fonts/LatoLatin-Bold.svg") format("svg"); font-style: normal; font-weight: 500; text-rendering: optimizeLegibility; } }
"""Tests of email marketing signal handlers.""" import logging import ddt from django.test import TestCase from django.test.utils import override_settings from mock import patch from util.json_request import JsonResponse from email_marketing.signals import <API key>, \ <API key>, \ <API key>, \ <API key> from email_marketing.tasks import update_user, update_user_email from email_marketing.models import <API key> from django.test.client import RequestFactory from student.tests.factories import UserFactory, UserProfileFactory from sailthru.sailthru_client import SailthruClient from sailthru.sailthru_response import SailthruResponse from sailthru.sailthru_error import SailthruClientError log = logging.getLogger(__name__) TEST_EMAIL = "test@edx.org" def <API key>(enabled=False, key='badkey', secret='badsecret', new_user_list='new list', template='Activation'): """ Enable / Disable Sailthru integration """ <API key>.objects.create( enabled=enabled, sailthru_key=key, sailthru_secret=secret, <API key>=new_user_list, <API key>=template ) @ddt.ddt class EmailMarketingTests(TestCase): """ Tests for the EmailMarketing signals and tasks classes. """ def setUp(self): self.request_factory = RequestFactory() self.user = UserFactory.create(username='test', email=TEST_EMAIL) self.profile = self.user.profile self.request = self.request_factory.get("foo") <API key>(enabled=True) super(EmailMarketingTests, self).setUp() @patch('email_marketing.signals.SailthruClient.api_post') def test_drop_cookie(self, mock_sailthru): """ Test <API key> """ response = JsonResponse({ "success": True, "redirect_url": 'test.com/test', }) mock_sailthru.return_value = SailthruResponse(JsonResponse({'keys': {'cookie': 'test_cookie'}})) <API key>(None, response=response, user=self.user) self.assertTrue('sailthru_hid' in response.cookies) self.assertEquals(mock_sailthru.call_args[0][0], "user") userparms = mock_sailthru.call_args[0][1] self.assertEquals(userparms['fields']['keys'], 1) self.assertEquals(userparms['id'], TEST_EMAIL) self.assertEquals(response.cookies['sailthru_hid'].value, "test_cookie") @patch('email_marketing.signals.SailthruClient.api_post') def <API key>(self, mock_sailthru): """ test that error paths return no cookie """ response = JsonResponse({ "success": True, "redirect_url": 'test.com/test', }) mock_sailthru.return_value = SailthruResponse(JsonResponse({'keys': {'cookiexx': 'test_cookie'}})) <API key>(None, response=response, user=self.user) self.assertFalse('sailthru_hid' in response.cookies) mock_sailthru.return_value = SailthruResponse(JsonResponse({'error': "error", "errormsg": "errormsg"})) <API key>(None, response=response, user=self.user) self.assertFalse('sailthru_hid' in response.cookies) mock_sailthru.side_effect = SailthruClientError <API key>(None, response=response, user=self.user) self.assertFalse('sailthru_hid' in response.cookies) @patch('email_marketing.tasks.log.error') @patch('email_marketing.tasks.SailthruClient.api_post') def test_add_user(self, mock_sailthru, mock_log_error): """ test async method in tasks that actually updates Sailthru """ mock_sailthru.return_value = SailthruResponse(JsonResponse({'ok': True})) update_user.delay(self.user.username, new_user=True) self.assertFalse(mock_log_error.called) self.assertEquals(mock_sailthru.call_args[0][0], "user") userparms = mock_sailthru.call_args[0][1] self.assertEquals(userparms['key'], "email") self.assertEquals(userparms['id'], TEST_EMAIL) self.assertEquals(userparms['vars']['gender'], "m") self.assertEquals(userparms['vars']['username'], "test") self.assertEquals(userparms['vars']['activated'], 1) self.assertEquals(userparms['lists']['new list'], 1) @patch('email_marketing.tasks.SailthruClient.api_post') def test_activation(self, mock_sailthru): """ test send of activation template """ mock_sailthru.return_value = SailthruResponse(JsonResponse({'ok': True})) update_user.delay(self.user.username, new_user=True, activation=True) # look for call args for 2nd call self.assertEquals(mock_sailthru.call_args[0][0], "send") userparms = mock_sailthru.call_args[0][1] self.assertEquals(userparms['email'], TEST_EMAIL) self.assertEquals(userparms['template'], "Activation") @patch('email_marketing.tasks.log.error') @patch('email_marketing.tasks.SailthruClient.api_post') def test_error_logging(self, mock_sailthru, mock_log_error): """ Ensure that error returned from Sailthru api is logged """ mock_sailthru.return_value = SailthruResponse(JsonResponse({'error': 100, 'errormsg': 'Got an error'})) update_user.delay(self.user.username) self.assertTrue(mock_log_error.called) @patch('email_marketing.tasks.log.error') @patch('email_marketing.tasks.SailthruClient.api_post') def test_just_return(self, mock_sailthru, mock_log_error): """ Ensure that disabling Sailthru just returns """ <API key>(enabled=False) update_user.delay(self.user.username) self.assertFalse(mock_log_error.called) self.assertFalse(mock_sailthru.called) update_user_email.delay(self.user.username, "newemail2@test.com") self.assertFalse(mock_log_error.called) self.assertFalse(mock_sailthru.called) <API key>(enabled=True) @patch('email_marketing.tasks.SailthruClient.api_post') def test_change_email(self, mock_sailthru): """ test async method in task that changes email in Sailthru """ mock_sailthru.return_value = SailthruResponse(JsonResponse({'ok': True})) #self.user.email = "newemail@test.com" update_user_email.delay(self.user.username, "old@edx.org") self.assertEquals(mock_sailthru.call_args[0][0], "user") userparms = mock_sailthru.call_args[0][1] self.assertEquals(userparms['key'], "email") self.assertEquals(userparms['id'], "old@edx.org") self.assertEquals(userparms['keys']['email'], TEST_EMAIL) @patch('email_marketing.tasks.log.error') @patch('email_marketing.tasks.SailthruClient.api_post') def test_error_logging1(self, mock_sailthru, mock_log_error): """ Ensure that error returned from Sailthru api is logged """ mock_sailthru.return_value = SailthruResponse(JsonResponse({'error': 100, 'errormsg': 'Got an error'})) update_user_email.delay(self.user.username, "newemail2@test.com") self.assertTrue(mock_log_error.called) @patch('lms.djangoapps.email_marketing.tasks.update_user.delay') def test_register_user(self, mock_update_user): """ make sure register user call invokes update_user """ <API key>(None, user=self.user, profile=self.profile) self.assertTrue(mock_update_user.called) @patch('lms.djangoapps.email_marketing.tasks.update_user.delay') @ddt.data(('auth_userprofile', 'gender', 'f', True), ('auth_user', 'is_active', 1, True), ('auth_userprofile', 'shoe_size', 1, False)) @ddt.unpack def test_modify_field(self, table, setting, value, result, mock_update_user): """ Test that correct fields call update_user """ <API key>(None, self.user, table=table, setting=setting, new_value=value) self.assertEqual(mock_update_user.called, result)
package bech32 import ( "encoding/hex" "fmt" ) // This example demonstrates how to decode a bech32 encoded string. func ExampleBech32Decode() { encoded := "<API key>" hrp, decoded, err := Bech32Decode(encoded) if err != nil { fmt.Println("Error:", err) } // Show the decoded data. fmt.Println("Decoded human-readable part:", hrp) fmt.Println("Decoded Data:", hex.EncodeToString(decoded)) // Output: // Decoded human-readable part: bc // Decoded Data: 010e140f070d1a001912060b0d081504140311021d030c1d03040f1814060e1e160e140f070d1a001912060b0d081504140311021d030c1d03040f1814060e1e16 } // This example demonstrates how to encode data into a bech32 string. func ExampleBech23Encode() { data := []byte("Test data") // Convert test data to base32: conv, err := ConvertBits(data, 8, 5, true) if err != nil { fmt.Println("Error:", err) } encoded, err := Bech32Encode("customHrp!11111q", conv) if err != nil { fmt.Println("Error:", err) } // Show the encoded data. fmt.Println("Encoded Data:", encoded) // Output: // Encoded Data: customHrp!<API key> }
package Main; import <API key>.Article; import AnnotationReader.AnnotationReader; /** * @author mbaxkhm4 * */ public class TabALIRunner { public static Article currentArticle; /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("TabALI says hi and I love you"); AnnotationReader r = new AnnotationReader(); r.readAnnotation("AnnotatedSamples//17815.xml"); } }
package storage import ( "path/filepath" "github.com/juju/errors" ) const ( diskByUUID = "/dev/disk/by-uuid" diskByLabel = "/dev/disk/by-label" ) // BlockDevicePath returns the path to a block device, or an error if a path // cannot be determined. // The path is only guaranteed to be persistent until the machine reboots or // the device is modified (e.g. filesystem destroyed or created). func BlockDevicePath(device BlockDevice) (string, error) { // Labels must be unique, and are short, so prefer them over UUID. if device.Label != "" { return filepath.Join(diskByLabel, device.Label), nil } if device.UUID != "" { return filepath.Join(diskByUUID, device.UUID), nil } if device.DeviceName != "" { return filepath.Join("/dev", device.DeviceName), nil } return "", errors.Errorf("could not determine path for block device %q", device.Name) }
""" Asset compilation and collection. """ from __future__ import print_function import argparse import glob import os import traceback from datetime import datetime from functools import wraps from threading import Timer from paver import tasks from paver.easy import call_task, cmdopts, consume_args, needs, no_help, path, sh, task from watchdog.events import <API key> from watchdog.observers.api import <API key> from watchdog.observers import Observer from openedx.core.djangoapps.theming.paver_helpers import get_theme_paths from .utils.cmd import cmd, django_cmd from .utils.envs import Env from .utils.process import <API key> from .utils.timer import timed # setup baseline paths ALL_SYSTEMS = ['lms', 'studio'] COFFEE_DIRS = ['lms', 'cms', 'common'] LMS = 'lms' CMS = 'cms' SYSTEMS = { 'lms': LMS, 'cms': CMS, 'studio': CMS } # Common lookup paths that are added to the lookup paths for all sass compilations COMMON_LOOKUP_PATHS = [ path("common/static"), path("common/static/sass"), path('node_modules/@edx'), path('node_modules'), path('node_modules/edx-pattern-library/node_modules'), ] # A list of NPM installed libraries that should be copied into the common # static directory. # If string ends with '/' then all file in the directory will be copied. <API key> = [ 'backbone.paginator/lib/backbone.paginator.js', 'backbone/backbone.js', 'bootstrap/dist/js/bootstrap.bundle.js', 'hls.js/dist/hls.js', 'jquery-migrate/dist/jquery-migrate.js', 'jquery.scrollto/jquery.scrollTo.js', 'jquery/dist/jquery.js', 'moment-timezone/builds/<API key>.js', 'moment/min/moment-with-locales.js', 'picturefill/dist/picturefill.js', 'requirejs/require.js', 'underscore.string/dist/underscore.string.js', 'underscore/underscore.js', '@edx/studio-frontend/dist/', 'which-country/index.js' ] # A list of NPM installed developer libraries that should be copied into the common # static directory only in development mode. <API key> = [ 'sinon/pkg/sinon.js', 'squirejs/src/Squire.js', ] # Directory to install static vendor files <API key> = path('common/static/common/js/vendor') <API key> = path("common/static/common/css/vendor") NPM_CSS_DIRECTORY = path("common/static/common/css") # system specific lookup path additions, add sass dirs if one system depends on the sass files for other systems <API key> = { 'cms': [path('lms') / 'static' / 'sass' / 'partials', ], } # Collectstatic log directory setting <API key> = 'collect_log_dir' # Webpack command WEBPACK_COMMAND = 'STATIC_ROOT_LMS={static_root_lms} STATIC_ROOT_CMS={static_root_cms} $(npm bin)/webpack {options}' def <API key>(system, theme_dir=None): """ Determine the set of SASS directories to be compiled for the specified list of system and theme and return a list of those directories. Each item in the list is dict object containing the following key-value pairs. { "sass_source_dir": "", # directory where source sass files are present "css_destination_dir": "", # destination where css files would be placed "lookup_paths": [], # list of directories to be passed as lookup paths for @import resolution. } if theme_dir is empty or None then return sass directories for the given system only. (i.e. lms or cms) :param system: name if the system for which to compile sass e.g. 'lms', 'cms' :param theme_dir: absolute path of theme for which to compile sass files. """ if system not in SYSTEMS: raise ValueError("'system' must be one of ({allowed_values})".format(allowed_values=', '.join(SYSTEMS.keys()))) system = SYSTEMS[system] <API key> = list() if theme_dir: # Add theme sass directories <API key>.extend( get_theme_sass_dirs(system, theme_dir) ) else: # add system sass directories <API key>.extend( <API key>(system) ) return <API key> def <API key>(): """ Determine the set of common SASS directories to be compiled for all the systems and themes. Each item in the returned list is dict object containing the following key-value pairs. { "sass_source_dir": "", # directory where source sass files are present "css_destination_dir": "", # destination where css files would be placed "lookup_paths": [], # list of directories to be passed as lookup paths for @import resolution. } """ <API key> = list() # add common sass directories <API key>.append({ "sass_source_dir": path("common/static/sass"), "css_destination_dir": path("common/static/css"), "lookup_paths": COMMON_LOOKUP_PATHS, }) return <API key> def get_theme_sass_dirs(system, theme_dir): """ Return list of sass dirs that need to be compiled for the given theme. :param system: name if the system for which to compile sass e.g. 'lms', 'cms' :param theme_dir: absolute path of theme for which to compile sass files. """ if system not in ('lms', 'cms'): raise ValueError('"system" must either be "lms" or "cms"') dirs = [] system_sass_dir = path(system) / "static" / "sass" sass_dir = theme_dir / system / "static" / "sass" css_dir = theme_dir / system / "static" / "css" dependencies = <API key>.get(system, []) if sass_dir.isdir(): css_dir.mkdir_p() # first compile lms sass files and place css in theme dir dirs.append({ "sass_source_dir": system_sass_dir, "css_destination_dir": css_dir, "lookup_paths": dependencies + [ sass_dir / "partials", system_sass_dir / "partials", system_sass_dir, ], }) # now compile theme sass files and override css files generated from lms dirs.append({ "sass_source_dir": sass_dir, "css_destination_dir": css_dir, "lookup_paths": dependencies + [ sass_dir / "partials", system_sass_dir / "partials", system_sass_dir, ], }) return dirs def <API key>(system): """ Return list of sass dirs that need to be compiled for the given system. :param system: name if the system for which to compile sass e.g. 'lms', 'cms' """ if system not in ('lms', 'cms'): raise ValueError('"system" must either be "lms" or "cms"') dirs = [] sass_dir = path(system) / "static" / "sass" css_dir = path(system) / "static" / "css" dependencies = <API key>.get(system, []) dirs.append({ "sass_source_dir": sass_dir, "css_destination_dir": css_dir, "lookup_paths": dependencies + [ sass_dir / "partials", sass_dir, ], }) if system == 'lms': dirs.append({ "sass_source_dir": path(system) / "static" / "certificates" / "sass", "css_destination_dir": path(system) / "static" / "certificates" / "css", "lookup_paths": [ sass_dir / "partials", sass_dir ], }) return dirs def get_watcher_dirs(theme_dirs=None, themes=None): """ Return sass directories that need to be added to sass watcher. Example: >> get_watcher_dirs('/edx/app/edx-platform/themes', ['red-theme']) [ 'common/static', 'common/static/sass', 'lms/static/sass', 'lms/static/sass/partials', '/edx/app/edxapp/edx-platform/themes/red-theme/lms/static/sass', '/edx/app/edxapp/edx-platform/themes/red-theme/lms/static/sass/partials', 'cms/static/sass', 'cms/static/sass/partials', '/edx/app/edxapp/edx-platform/themes/red-theme/cms/static/sass/partials', ] Parameters: theme_dirs (list): list of theme base directories. themes (list): list containing names of themes Returns: (list): dirs that need to be added to sass watchers. """ dirs = [] dirs.extend(COMMON_LOOKUP_PATHS) if theme_dirs and themes: # Register sass watchers for all the given themes themes = get_theme_paths(themes=themes, theme_dirs=theme_dirs) for theme in themes: for _dir in <API key>('lms', theme) + <API key>('cms', theme): dirs.append(_dir['sass_source_dir']) dirs.extend(_dir['lookup_paths']) # Register sass watchers for lms and cms for _dir in <API key>('lms') + <API key>('cms') + <API key>(): dirs.append(_dir['sass_source_dir']) dirs.extend(_dir['lookup_paths']) # remove duplicates dirs = list(set(dirs)) return dirs def debounce(seconds=1): """ Prevents the decorated function from being called more than every `seconds` seconds. Waits until calls stop coming in before calling the decorated function. """ def decorator(func): # pylint: disable=missing-docstring func.timer = None @wraps(func) def wrapper(*args, **kwargs): # pylint: disable=missing-docstring def call(): func(*args, **kwargs) func.timer = None if func.timer: func.timer.cancel() func.timer = Timer(seconds, call) func.timer.start() return wrapper return decorator class CoffeeScriptWatcher(<API key>): """ Watches for coffeescript changes """ ignore_directories = True patterns = ['*.coffee'] def register(self, observer): """ register files with observer """ dirnames = set() for filename in sh(coffeescript_files(), capture=True).splitlines(): dirnames.add(path(filename).dirname()) for dirname in dirnames: observer.schedule(self, dirname) @debounce() def on_any_event(self, event): print('\tCHANGED:', event.src_path) try: <API key>(event.src_path) except Exception: # pylint: disable=broad-except traceback.print_exc() class SassWatcher(<API key>): """ Watches for sass file changes """ ignore_directories = True patterns = ['*.scss'] """ register files with observer Arguments: observer (watchdog.observers.Observer): sass file observer directories (list): list of directories to be register for sass watcher. """ """ Watches for sass file changes """ """ Watches for css and js file changes """ """ Register files with observer """ """ return find command for paths containing coffee files """ """ Compile CoffeeScript to JavaScript. """ """ Compile Sass to CSS. If command is called without any arguments, it will only compile lms, cms sass for the open source theme. And none of the comprehensive theme's sass would be compiled. If you want to compile sass for all comprehensive themes you will have to run compile_sass specifying all the themes that need to be compiled.. The following is a list of some possible ways to use this command. Command: paver compile_sass Description: compile sass files for both lms and cms. If command is called like above (i.e. without any arguments) it will only compile lms, cms sass for the open source theme. None of the theme's sass will be compiled. Command: paver compile_sass --theme-dirs /edx/app/edxapp/edx-platform/themes --themes=red-theme Description: compile sass files for both lms and cms for 'red-theme' present in '/edx/app/edxapp/edx-platform/themes' Command: paver compile_sass --theme-dirs=/edx/app/edxapp/edx-platform/themes --themes red-theme stanford-style Description: compile sass files for both lms and cms for 'red-theme' and 'stanford-style' present in '/edx/app/edxapp/edx-platform/themes'. Command: paver compile_sass --system=cms --theme-dirs /edx/app/edxapp/edx-platform/themes /edx/app/edxapp/edx-platform/common/test/ --themes red-theme stanford-style test-theme Description: compile sass files for cms only for 'red-theme', 'stanford-style' and 'test-theme' present in '/edx/app/edxapp/edx-platform/themes' and '/edx/app/edxapp/edx-platform/common/test/'. """ """ Compile sass files for the given system and theme. :param system: system to compile sass for e.g. 'lms', 'cms', 'common' :param theme: absolute path of the theme to compile sass for. :param debug: boolean showing whether to display source comments in resulted css :param force: boolean showing whether to remove existing css files before generating new files :param timing_info: list variable to keep track of timing for sass compilation """ for sass_file in glob.glob(sass_source_dir + '*.scss'): """ Returns true if a Sass file should have an RTL version generated. """ """ Process vendor libraries installed via NPM. """ """ Copies a vendor library to the shared vendor directory. """ """ Copies all vendor libraries in directory to the shared vendor directory. """ """ Process XModule static assets. """ """ Restart the django server. `$ touch` makes the Django file watcher thinks that something has changed, therefore it restarts the server. """ """ Collect static assets, including Django pipeline processing. `systems` is a list of systems (e.g. 'lms' or 'studio' or both) `settings` is the Django settings module to use. `**kwargs` include arguments for using a log directory for collectstatic output. Defaults to /dev/null. """ """ Returns the collecstatic command to be used for the given system Unless specified, collectstatic (which can be verbose) pipes to /dev/null """ """ Construct django management command compile_sass (defined in theming app) and execute it. Args: args: command line argument passed via update_assets command """ """ Run a Webpack build. """ """ Run the Webpack file system watcher. """ """ Extract user command option and parse it. Arguments: command_opts: Command line arguments passed via paver command. opt_key: name of option to get and parse default: if `command_opt_value` not in `command_opts`, `command_opt_value` will be set to default. Returns: list or None """ """ Check and convert data to list. Arguments: data: data structure to be converted. """ """ Watch for changes to asset files, and regenerate js/css """ """ Compile CoffeeScript and Sass, then collect static assets. """
class SpamController < MyProfileController protect :moderate_comments, :profile def index if request.post? begin # FIXME duplicated logic # This logic more or less replicates what is already in # <API key>#view_page, # <API key>#remove_comment and # <API key>#<API key> if params[:remove_comment] profile.comments_received.find(params[:remove_comment]).destroy end if params[:mark_comment_as_ham] profile.comments_received.find(params[:mark_comment_as_ham]).ham! end if request.xhr? json_response(true) else redirect_to :action => :index end rescue json_response(false) end return end @spam = profile.comments_received.spam.paginate({:page => params[:page]}) end protected def json_response(status) render :text => {'ok' => status }.to_json, :content_type => 'application/json' end end
package io.bisq.network.p2p.peers.peerexchange; import com.google.common.base.Preconditions; import io.bisq.common.Timer; import io.bisq.common.UserThread; import io.bisq.common.app.Log; import io.bisq.common.proto.network.NetworkEnvelope; import io.bisq.network.p2p.NodeAddress; import io.bisq.network.p2p.network.*; import io.bisq.network.p2p.peers.PeerManager; import io.bisq.network.p2p.peers.peerexchange.messages.GetPeersRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.annotation.Nullable; import java.util.*; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; public class PeerExchangeManager implements MessageListener, ConnectionListener, PeerManager.Listener { private static final Logger log = LoggerFactory.getLogger(PeerExchangeManager.class); private static final long RETRY_DELAY_SEC = 10; private static final long <API key> = 3; private static final long <API key> = 10 * 60; private final NetworkNode networkNode; private final PeerManager peerManager; private final Set<NodeAddress> seedNodeAddresses; private final Map<NodeAddress, PeerExchangeHandler> handlerMap = new HashMap<>(); private Timer retryTimer, periodicTimer; private boolean stopped; // Constructor public PeerExchangeManager(NetworkNode networkNode, PeerManager peerManager, Set<NodeAddress> seedNodeAddresses) { this.networkNode = networkNode; this.peerManager = peerManager; // seedNodeAddresses can be empty (in case there is only 1 seed node, the seed node starting up has no other seed nodes) this.seedNodeAddresses = new HashSet<>(seedNodeAddresses); networkNode.addMessageListener(this); networkNode.<API key>(this); peerManager.addListener(this); } public void shutDown() { Log.traceCall(); stopped = true; networkNode.<API key>(this); networkNode.<API key>(this); peerManager.removeListener(this); stopPeriodicTimer(); stopRetryTimer(); closeAllHandlers(); } // API public void <API key>(NodeAddress nodeAddress) { Preconditions.checkNotNull(networkNode.getNodeAddress(), "My node address must not be null at <API key>"); ArrayList<NodeAddress> <API key> = new ArrayList<>(seedNodeAddresses); <API key>.remove(nodeAddress); Collections.shuffle(<API key>); <API key>(nodeAddress, <API key>); startPeriodicTimer(); } // ConnectionListener implementation @Override public void onConnection(Connection connection) { Log.traceCall(); } @Override public void onDisconnect(<API key> <API key>, Connection connection) { Log.traceCall(); closeHandler(connection); if (retryTimer == null) { retryTimer = UserThread.runAfter(() -> { log.trace("<API key> called from onDisconnect code path"); stopRetryTimer(); <API key>(); }, RETRY_DELAY_SEC); } if (peerManager.isNodeBanned(<API key>, connection)) seedNodeAddresses.remove(connection.<API key>().get()); } @Override public void onError(Throwable throwable) { } // PeerManager.Listener implementation @Override public void <API key>() { Log.traceCall(); closeAllHandlers(); stopPeriodicTimer(); stopRetryTimer(); stopped = true; restart(); } @Override public void <API key>() { Log.traceCall(); closeAllHandlers(); stopped = false; restart(); } @Override public void onAwakeFromStandby() { Log.traceCall(); closeAllHandlers(); stopped = false; if (!networkNode.getAllConnections().isEmpty()) restart(); } // MessageListener implementation @Override public void onMessage(NetworkEnvelope networkEnvelop, Connection connection) { if (networkEnvelop instanceof GetPeersRequest) { Log.traceCall(networkEnvelop.toString() + "\n\tconnection=" + connection); if (!stopped) { if (peerManager.isSeedNode(connection)) connection.setPeerType(Connection.PeerType.SEED_NODE); <API key> <API key> = new <API key>(networkNode, peerManager, new <API key>.Listener() { @Override public void onComplete() { log.trace("<API key> completed.\n\tConnection={}", connection); } @Override public void onFault(String errorMessage, Connection connection) { log.trace("<API key> failed.\n\terrorMessage={}\n\t" + "connection={}", errorMessage, connection); peerManager.<API key>(connection); } }); <API key>.handle((GetPeersRequest) networkEnvelop, connection); } else { log.warn("We have stopped already. We ignore that onMessage call."); } } } // Request private void <API key>(NodeAddress nodeAddress, List<NodeAddress> <API key>) { Log.traceCall("nodeAddress=" + nodeAddress); if (!stopped) { if (!handlerMap.containsKey(nodeAddress)) { PeerExchangeHandler peerExchangeHandler = new PeerExchangeHandler(networkNode, peerManager, new PeerExchangeHandler.Listener() { @Override public void onComplete() { log.trace("<API key> of outbound connection complete. nodeAddress={}", nodeAddress); handlerMap.remove(nodeAddress); <API key>(); } @Override public void onFault(String errorMessage, @Nullable Connection connection) { log.trace("<API key> of outbound connection failed.\n\terrorMessage={}\n\t" + "nodeAddress={}", errorMessage, nodeAddress); peerManager.<API key>(nodeAddress); handlerMap.remove(nodeAddress); if (!<API key>.isEmpty()) { if (!peerManager.<API key>()) { log.debug("There are remaining nodes available for requesting peers. " + "We will try getReportedPeers again."); NodeAddress nextCandidate = <API key>.get(new Random().nextInt(<API key>.size())); <API key>.remove(nextCandidate); <API key>(nextCandidate, <API key>); } else { // That path will rarely be reached log.debug("We have already sufficient connections."); } } else { log.debug("There is no remaining node available for requesting peers. " + "That is expected if no other node is online.\n\t" + "We will try again after a pause."); if (retryTimer == null) retryTimer = UserThread.runAfter(() -> { if (!stopped) { log.trace("retryTimer called from <API key> code path"); stopRetryTimer(); <API key>(); } else { stopRetryTimer(); log.warn("We have stopped already. We ignore that retryTimer.run call."); } }, RETRY_DELAY_SEC); } } }); handlerMap.put(nodeAddress, peerExchangeHandler); peerExchangeHandler.<API key>(nodeAddress); } else { log.trace("We have started already a peerExchangeHandler. " + "We ignore that call. nodeAddress=" + nodeAddress); } } else { log.trace("We have stopped already. We ignore that <API key> call."); } } private void <API key>() { Log.traceCall(); if (!stopped) { if (!peerManager.<API key>()) { // We create a new list of not connected candidates // 1. shuffled reported peers // 2. shuffled persisted peers // 3. Add as last shuffled seedNodes (least priority) List<NodeAddress> list = <API key>(getNodeAddresses(peerManager.getReportedPeers()), new ArrayList<>()); Collections.shuffle(list); List<NodeAddress> <API key> = <API key>(getNodeAddresses(peerManager.getPersistedPeers()), list); Collections.shuffle(<API key>); list.addAll(<API key>); List<NodeAddress> <API key> = getFilteredList(new ArrayList<>(seedNodeAddresses), list); Collections.shuffle(<API key>); list.addAll(<API key>); log.debug("Number of peers in list for connectToMorePeers: {}", list.size()); log.trace("Filtered connectToMorePeers list: list=" + list); if (!list.isEmpty()) { // Dont shuffle as we want the seed nodes at the last entries NodeAddress nextCandidate = list.get(0); list.remove(nextCandidate); <API key>(nextCandidate, list); } else { log.debug("No more peers are available for <API key>. We will try again after a pause."); if (retryTimer == null) retryTimer = UserThread.runAfter(() -> { if (!stopped) { log.trace("retryTimer called from <API key> code path"); stopRetryTimer(); <API key>(); } else { stopRetryTimer(); log.warn("We have stopped already. We ignore that retryTimer.run call."); } }, RETRY_DELAY_SEC); } } else { log.debug("We have already sufficient connections."); } } else { log.trace("We have stopped already. We ignore that <API key> call."); } } // Utils private void startPeriodicTimer() { stopped = false; if (periodicTimer == null) periodicTimer = UserThread.runPeriodically(this::<API key>, <API key>, TimeUnit.SECONDS); } private void restart() { startPeriodicTimer(); if (retryTimer == null) { retryTimer = UserThread.runAfter(() -> { stopped = false; log.trace("retryTimer called from restart"); stopRetryTimer(); <API key>(); }, <API key>); } else { log.debug("retryTimer already started"); } } private List<NodeAddress> getNodeAddresses(Collection<Peer> collection) { return collection.stream() .map(Peer::getNodeAddress) .collect(Collectors.toList()); } private List<NodeAddress> getFilteredList(Collection<NodeAddress> collection, List<NodeAddress> list) { return collection.stream() .filter(e -> !list.contains(e) && !peerManager.isSelf(e) && !peerManager.isConfirmed(e)) .collect(Collectors.toList()); } private List<NodeAddress> <API key>(Collection<NodeAddress> collection, List<NodeAddress> list) { return getFilteredList(collection, list).stream() .filter(e -> !peerManager.isSeedNode(e)) .collect(Collectors.toList()); } private void stopPeriodicTimer() { stopped = true; if (periodicTimer != null) { periodicTimer.stop(); periodicTimer = null; } } private void stopRetryTimer() { if (retryTimer != null) { retryTimer.stop(); retryTimer = null; } } private void closeHandler(Connection connection) { Log.traceCall(); Optional<NodeAddress> <API key> = connection.<API key>(); if (<API key>.isPresent()) { NodeAddress nodeAddress = <API key>.get(); if (handlerMap.containsKey(nodeAddress)) { handlerMap.get(nodeAddress).cancel(); handlerMap.remove(nodeAddress); } } else { log.trace("closeHandler: nodeAddress not set in connection " + connection); } } private void closeAllHandlers() { Log.traceCall(); handlerMap.values().stream().forEach(PeerExchangeHandler::cancel); handlerMap.clear(); } }
package net.sf.odinms.provider.wz; import net.sf.odinms.provider.MapleDataEntity; import net.sf.odinms.provider.MapleDataEntry; public class WZEntry implements MapleDataEntry { private String name; private int size; private int checksum; private int offset; private MapleDataEntity parent; public WZEntry(String name, int size, int checksum, MapleDataEntity parent) { super(); this.name = name; this.size = size; this.checksum = checksum; this.parent = parent; } public String getName() { return name; } public int getSize() { return size; } public int getChecksum() { return checksum; } public int getOffset() { return offset; } public MapleDataEntity getParent() { return parent; } }
# <API key>: true class <API key> < ActiveRecord::Migration[5.0] def change rename_column :user_notifications, :sent, :is_sent end end
package Kernel::System::GenericInterface::DebugLog; use strict; use warnings; use Kernel::System::VariableCheck qw(:all); our @ObjectDependencies = ( 'Kernel::System::Cache', 'Kernel::System::DB', 'Kernel::System::Log', ); =head1 NAME Kernel::System::GenericInterface::DebugLog - log interface for generic interface =head1 DESCRIPTION All log functions. =head1 PUBLIC INTERFACE =head2 new() create a debug log object. Do not use it directly, instead use: my $DebugLogObject = $Kernel::OM->Get('Kernel::System::GenericInterface::DebugLog'); =cut sub new { my ( $Type, %Param ) = @_; # allocate new hash for object my $Self = {}; bless( $Self, $Type ); $Self->{CacheType} = '<API key>'; $Self->{CacheTTL} = 60 * 60 * 24 * 20; return $Self; } =head2 LogAdd() add a communication bit to database if we don't already have a communication chain, create it returns 1 on success or undef on error my $Success = $DebugLogObject->LogAdd( CommunicationID => '<API key>', CommunicationType => 'Provider', # 'Provider' or 'Requester' Data => 'additional data' # optional DebugLevel => 'info', # 'debug', 'info', 'notice', 'error' RemoteIP => '192.168.0.1', # optional, must be valid IPv4 or IPv6 address Summary => 'description of log entry', WebserviceID => 1, ); =cut sub LogAdd { my ( $Self, %Param ) = @_; # check needed params NEEDED: for my $Needed (qw(CommunicationID CommunicationType DebugLevel Summary WebserviceID)) { next NEEDED if IsStringWithData( $Param{$Needed} ); $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "Need $Needed as a string!", ); return; } # param syntax check if ( !IsMD5Sum( $Param{CommunicationID} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'CommunicationID is not an md5sum!', ); return; } if ( $Param{CommunicationType} !~ m{ \A (?: Provider | Requester ) \z }xms ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "CommunicationType '$Param{CommunicationType}' is not valid!", ); return; } if ( defined $Param{RemoteIP} && $Param{RemoteIP} ne '' ) { if ( !IsStringWithData( $Param{RemoteIP} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "RemoteIP '$Param{RemoteIP}' is not a valid IPv4 or IPv6 address!", ); return; } if ( !IsIPv4Address( $Param{RemoteIP} ) && !IsIPv6Address( $Param{RemoteIP} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "RemoteIP '$Param{RemoteIP}' is not a valid IPv4 or IPv6 address!", ); return; } } if ( !IsPositiveInteger( $Param{WebserviceID} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'WebserviceID is not a positive integer!', ); return; } KEY: for my $Key (qw(Data DebugLevel Summary)) { next KEY if !defined $Param{$Key}; if ( !IsString( $Param{$Key} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "$Key is not a string!", ); return; } } # check if we have a communication chain already my $LogData = $Self->LogGet( CommunicationID => $Param{CommunicationID}, ); if ( !IsHashRefWithData($LogData) ) { # no entry yet, create one return if !$Self->_LogAddChain( CommunicationID => $Param{CommunicationID}, CommunicationType => $Param{CommunicationType}, RemoteIP => $Param{RemoteIP}, WebserviceID => $Param{WebserviceID}, ); $LogData = $Self->LogGet( CommunicationID => $Param{CommunicationID}, ); } else { # match param against existing chain KEY: for my $Key (qw(CommunicationType RemoteIP WebserviceID)) { next KEY if !defined $Param{$Key}; next KEY if $Param{$Key} eq $LogData->{$Key}; $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "$Key does not match current value for this CommunicationID!", ); return; } } # create entry if ( !$Kernel::OM->Get('Kernel::System::DB')->Do( SQL => 'INSERT INTO <API key>' . ' (content, create_time, debug_level, <API key>, subject)' . ' VALUES (?, current_timestamp, ?, ?, ?)', Bind => [ \$Param{Data}, \$Param{DebugLevel}, \$LogData->{LogID}, \$Param{Summary}, ], ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Could not create debug entry in db!', ); return; } return 1; } =head2 LogGet() get communication chain data my $LogData = $DebugLogObject->LogGet( CommunicationID => '<API key>', ); $LogData = { CommunicationID => '<API key>', CommunicationType => 'Provider', Created => '2011-02-15 16:47:28', LogID => 1, RemoteIP => '192.168.0.1', # optional WebserviceID => 1, }; =cut sub LogGet { my ( $Self, %Param ) = @_; # check needed param if ( !IsMD5Sum( $Param{CommunicationID} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'CommunicationID is not an md5sum!', ); return; } # check cache my $Cache = $Kernel::OM->Get('Kernel::System::Cache')->Get( Type => $Self->{CacheType}, Key => 'LogGet::' . $Param{CommunicationID}, ); return $Cache if $Cache; # get database object my $DBObject = $Kernel::OM->Get('Kernel::System::DB'); # prepare db request if ( !$DBObject->Prepare( SQL => 'SELECT communication_id, communication_type, create_time, id, remote_ip,' . ' webservice_id FROM gi_debugger_entry WHERE communication_id = ?', Bind => [ \$Param{CommunicationID} ], Limit => 1, ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Could not prepare db query!', ); return; } # read data my %LogData; while ( my @Row = $DBObject->FetchrowArray() ) { %LogData = ( CommunicationID => $Row[0], CommunicationType => $Row[1], Created => $Row[2], LogID => $Row[3], RemoteIP => $Row[4] || '', WebserviceID => $Row[5], ); } return if !%LogData; # set cache $Kernel::OM->Get('Kernel::System::Cache')->Set( Type => $Self->{CacheType}, TTL => $Self->{CacheTTL}, Key => 'LogGet::' . $Param{CommunicationID}, Value => \%LogData, ); return \%LogData; } =head2 LogGetWithData() get all individual entries for a communication chain my $LogData = $DebugLogObject->LogGetWithData( CommunicationID => '<API key>', ); $LogData = { CommunicationID => '<API key>', CommunicationType => 'Provider', Created => '2011-02-15 16:47:28', LogID => 1, RemoteIP => '192.168.0.1', # optional WebserviceID => 1, Data => [ { Created => '2011-02-15 17:00:06', Data => 'some logging specific data or structure', # optional DebugLevel => 'info', Summary => 'a log bit', }, ], }; =cut sub LogGetWithData { my ( $Self, %Param ) = @_; # check needed param if ( !IsMD5Sum( $Param{CommunicationID} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'CommunicationID is not an md5sum!', ); return; } # check if we have data for this communication id my $LogData = $Self->LogGet( CommunicationID => $Param{CommunicationID}, ); if ( !IsHashRefWithData($LogData) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Could not get communication chain!', ); return; } # get database object my $DBObject = $Kernel::OM->Get('Kernel::System::DB'); # prepare db request if ( !$DBObject->Prepare( SQL => 'SELECT create_time, content, debug_level, subject' . ' FROM <API key> WHERE <API key> = ?' . ' ORDER BY create_time ASC, id ASC', Bind => [ \$LogData->{LogID} ], ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Could not prepare db query!', ); return; } # read data my @LogDataEntries; while ( my @Row = $DBObject->FetchrowArray() ) { my %SingleEntry = ( Created => $Row[0], Data => $Row[1] || '', DebugLevel => $Row[2], Summary => $Row[3], ); push @LogDataEntries, \%SingleEntry; } $LogData->{Data} = \@LogDataEntries; return $LogData; } =head2 LogDelete() delete a complete communication chain returns 1 if successful or undef otherwise my $Success = $DebugLogObject->LogDelete( NoErrorIfEmpty => 1, # optional CommunicationID => '<API key>', # optional WebserviceID => 1, # optional # exactly one id parameter required ); =cut sub LogDelete { my ( $Self, %Param ) = @_; # check needed params my $<API key> = IsMD5Sum( $Param{CommunicationID} ); if ( $Param{CommunicationID} && !$<API key> ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'CommunicationID is not an md5sum!', ); return; } my $WebserviceIDValid = IsPositiveInteger( $Param{WebserviceID} ); if ( $Param{WebserviceID} && !$WebserviceIDValid ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'WebserviceID is not a positive integer!', ); return; } if ( ( !$<API key> && !$WebserviceIDValid ) || ( $<API key> && $WebserviceIDValid ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Need exactly one of CommunicationID or WebserviceID!', ); return; } # check if we have data for this param if ($<API key>) { my $LogData = $Self->LogGet( CommunicationID => $Param{CommunicationID}, ); if ( !IsHashRefWithData($LogData) ) { return 1 if $Param{NoErrorIfEmpty}; $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Communication chain does not exist!', ); return; } } else { my $LogData = $Self->LogSearch( Limit => 1, WebserviceID => $Param{WebserviceID}, ); if ( !IsArrayRefWithData($LogData) ) { return 1 if $Param{NoErrorIfEmpty}; $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Communication chain does not exist!', ); return; } } # delete individual entries first my $SQLIndividual = 'DELETE FROM <API key> WHERE <API key> in( SELECT id FROM gi_debugger_entry '; my @BindIndividual; if ($<API key>) { $SQLIndividual .= 'WHERE communication_id = ?'; push @BindIndividual, \$Param{CommunicationID}; } else { $SQLIndividual .= 'WHERE webservice_id = ?'; push @BindIndividual, \$Param{WebserviceID}; } $SQLIndividual .= ' )'; # get database object my $DBObject = $Kernel::OM->Get('Kernel::System::DB'); if ( !$DBObject->Do( SQL => $SQLIndividual, Bind => \@BindIndividual, ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Could not remove entries of communication chain in db!', ); return; } # delete main entry my $SQLMain = 'DELETE FROM gi_debugger_entry WHERE'; my @BindMain; if ($<API key>) { $SQLMain .= ' communication_id = ?'; push @BindMain, \$Param{CommunicationID}; } else { $SQLMain .= ' webservice_id = ?'; push @BindMain, \$Param{WebserviceID}; } if ( !$DBObject->Do( SQL => $SQLMain, Bind => \@BindMain, ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Could not remove communication chain in db!', ); return; } # clean cache $Kernel::OM->Get('Kernel::System::Cache')->CleanUp( Type => $Self->{CacheType}, ); return 1; } =head2 LogSearch() search for log chains based on several criteria when the parameter 'WithData' is set, the complete communication chains will be returned my $LogData = $DebugLogObject->LogSearch( CommunicationID => '<API key>', # optional CommunicationType => 'Provider', # optional, 'Provider' or 'Requester' CreatedAtOrAfter => '2011-01-01 00:00:00', # optional CreatedAtOrBefore => '2011-12-31 23:59:59', # optional Limit => 1000, # optional, default 100 RemoteIP => '192.168.0.1', # optional, must be valid IPv4 or IPv6 address WebserviceID => 1, # optional WithData => 0, # optional Sort => 'ASC', # optional. 'ASC' (default) or 'DESC' ); $LogData = [ { CommunicationID => '<API key>', CommunicationType => 'Provider', Created => '2011-02-15 16:47:28', LogID => 1, RemoteIP => '192.168.0.1', # optional WebserviceID => 1, Data => [ # only when 'WithData' is set { Created => '2011-02-15 17:00:06', Data => 'some logging specific data or structure', # optional DebugLevel => 'info', Summary => 'a log bit', }, ], }, ]; =cut sub LogSearch { my ( $Self, %Param ) = @_; # param check KEY: for my $Key ( qw(CommunicationID CommunicationType CreatedAtOrAfter CreatedAtOrBefore Limit RemoteIP WebserviceID WithData) ) { next KEY if !defined $Param{$Key}; next KEY if IsStringWithData( $Param{$Key} ); $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "Need $Key as a string!", ); return; } # param syntax check if ( $Param{CommunicationID} && !IsMD5Sum( $Param{CommunicationID} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'CommunicationID is not an md5sum!', ); return; } if ( $Param{CommunicationType} && $Param{CommunicationType} !~ m{ \A (?: Provider | Requester ) \z }xms ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "CommunicationType '$Param{CommunicationType}' is not valid!", ); return; } KEY: for my $Key (qw(CreatedAtOrAfter CreatedAtOrBefore)) { next KEY if !$Param{$Key}; next KEY if $Param{$Key} =~ m{ \A \d{4} - \d{2} - \d{2} [ ] \d{2} : \d{2} : \d{2} \z }xms; $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "$Key '$Param{$Key}' is not valid!", ); return; } if ( $Param{Limit} && !IsPositiveInteger( $Param{Limit} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Limit is not a positive integer!', ); return; } if ( defined $Param{RemoteIP} && $Param{RemoteIP} ne '' ) { if ( !IsStringWithData( $Param{RemoteIP} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "RemoteIP '$Param{RemoteIP}' is not a valid IPv4 or IPv6 address!", ); return; } if ( !IsIPv4Address( $Param{RemoteIP} ) && !IsIPv6Address( $Param{RemoteIP} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "RemoteIP '$Param{RemoteIP}' is not a valid IPv4 or IPv6 address!", ); return; } } if ( $Param{WebserviceID} && !IsPositiveInteger( $Param{WebserviceID} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'WebserviceID is not a positive integer!', ); return; } if ( $Param{WithData} && $Param{WithData} !~ m{ \A [01] \z }xms ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'WebserviceID is not a positive integer!', ); return; } if ( IsStringWithData( $Param{Sort} ) && $Param{Sort} ne 'ASC' && $Param{Sort} ne 'DESC' ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "Sort must be 'DESC' or 'ASC'!", ); return; } # prepare db request my $SQL = 'SELECT communication_id, communication_type, id, remote_ip, webservice_id, create_time' . ' FROM gi_debugger_entry'; my @Bind = (); my $SQLExt = ''; my %NameToDB = ( CommunicationID => 'communication_id', CommunicationType => 'communication_type', RemoteIP => 'remote_ip', WebserviceID => 'webservice_id', ); OPTION: for my $Option (qw(CommunicationID CommunicationType RemoteIP WebserviceID)) { next OPTION if !$Param{$Option}; my $Type = $SQLExt ? 'AND' : 'WHERE'; $SQLExt .= " $Type $NameToDB{$Option} = ?"; push @Bind, \$Param{$Option}; } if ( $Param{CreatedAtOrAfter} ) { my $Type = $SQLExt ? 'AND' : 'WHERE'; $SQLExt .= " $Type create_time >= ?"; push @Bind, \$Param{CreatedAtOrAfter}; } if ( $Param{CreatedAtOrBefore} ) { my $Type = $SQLExt ? 'AND' : 'WHERE'; $SQLExt .= " $Type create_time <= ?"; push @Bind, \$Param{CreatedAtOrBefore}; } my $SQLSort = IsStringWithData( $Param{Sort} ) ? $Param{Sort} : 'ASC'; $SQLExt .= ' ORDER BY create_time ' . $SQLSort; # get database object my $DBObject = $Kernel::OM->Get('Kernel::System::DB'); if ( !$DBObject->Prepare( SQL => $SQL . $SQLExt, Bind => \@Bind, Limit => $Param{Limit} || 100, ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Could not prepare db query!', ); return; } # read data my @LogEntries; while ( my @Row = $DBObject->FetchrowArray() ) { my %SingleEntry = ( CommunicationID => $Row[0], CommunicationType => $Row[1], LogID => $Row[2], RemoteIP => $Row[3] || '', WebserviceID => $Row[4], Created => $Row[5], ); push @LogEntries, \%SingleEntry; } # done if we only need main entries return \@LogEntries if !$Param{WithData}; # we need individual entries my @LogEntriesWithData; for my $Entry (@LogEntries) { my $LogData = $Self->LogGetWithData( CommunicationID => $Entry->{CommunicationID}, ); return if !$LogData; push @LogEntriesWithData, $LogData; } return \@LogEntriesWithData; } =head2 LogCleanup() removes all log entries (including content) from a given time and before. returns 1 if successful or undef otherwise my $Success = $DebugLogObject->LogCleanup( CreatedAtOrBefore => '2011-12-31 23:59:59', ); =cut sub LogCleanup { my ( $Self, %Param ) = @_; if ( !$Param{CreatedAtOrBefore} ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "Need CreatedAtOrBefore", ); return; } if ( $Param{CreatedAtOrBefore} !~ m{ \A \d{4} - \d{2} - \d{2} [ ] \d{2} : \d{2} : \d{2} \z }xms ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "CreatedAtOrBefore is not valid!", ); return; } my $DateTimeObject = $Kernel::OM->Create('Kernel::System::DateTime'); my $Success = $DateTimeObject->Set( String => $Param{CreatedAtOrBefore} ); if ( !$Success ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "CreatedAtOrBefore is not valid!", ); return; } my $DBObject = $Kernel::OM->Get('Kernel::System::DB'); # Get main debug log entries to delete if ( !$DBObject->Prepare( SQL => 'SELECT id FROM gi_debugger_entry WHERE create_time <= ?', Bind => [ \$Param{CreatedAtOrBefore} ], ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Could not prepare db query!', ); return; } my @LogEntryIDs; while ( my @Row = $DBObject->FetchrowArray() ) { push @LogEntryIDs, $Row[0]; } return 1 if !@LogEntryIDs; my $LogEntryIDsStr = join ',', @LogEntryIDs; # Remove debug log entries contents. if ( !$DBObject->Do( SQL => " DELETE FROM <API key> WHERE <API key> in( $LogEntryIDsStr )", ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Could not remove entries of communication chains in db!', ); return; } # Remove debug log entries. if ( !$DBObject->Do( SQL => " DELETE FROM gi_debugger_entry WHERE id in( $LogEntryIDsStr )", ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Could not remove communication chains in db!', ); return; } return 1; } =begin Internal: =cut =head2 _LogAddChain() establish communication chain in database returns 1 on success or undef on error my $Success = $DebugLogObject->_LogAddChain( CommunicationID => '<API key>', CommunicationType => 'Provider', # 'Provider' or 'Requester' RemoteIP => '192.168.0.1', # optional, must be valid IPv4 or IPv6 address WebserviceID => 1, ); =cut sub _LogAddChain { my ( $Self, %Param ) = @_; # check needed params NEEDED: for my $Needed (qw(CommunicationID CommunicationType WebserviceID)) { next NEEDED if IsStringWithData( $Param{$Needed} ); $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "Need $Needed as a string!", ); return; } # param syntax check if ( !IsMD5Sum( $Param{CommunicationID} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'CommunicationID is not an md5sum!', ); return; } if ( $Param{CommunicationType} !~ m{ \A (?: Provider | Requester ) \z }xms ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "CommunicationType '$Param{CommunicationType}' is not valid!", ); return; } if ( defined $Param{RemoteIP} && $Param{RemoteIP} ne '' ) { if ( !IsStringWithData( $Param{RemoteIP} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "RemoteIP '$Param{RemoteIP}' is not a valid IPv4 or IPv6 address!", ); return; } if ( !IsIPv4Address( $Param{RemoteIP} ) && !IsIPv6Address( $Param{RemoteIP} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => "RemoteIP '$Param{RemoteIP}' is not a valid IPv4 or IPv6 address!", ); return; } } if ( !IsPositiveInteger( $Param{WebserviceID} ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'WebserviceID is not a positive integer!', ); return; } if ( !$Kernel::OM->Get('Kernel::System::DB')->Do( SQL => 'INSERT INTO gi_debugger_entry' . ' (communication_id, communication_type, create_time, remote_ip,' . ' webservice_id)' . ' VALUES (?, ?, current_timestamp, ?, ?)', Bind => [ \$Param{CommunicationID}, \$Param{CommunicationType}, \$Param{RemoteIP}, \$Param{WebserviceID}, ], ) ) { $Kernel::OM->Get('Kernel::System::Log')->Log( Priority => 'error', Message => 'Could not create debug entry chain in db!', ); return; } return 1; } 1; =end Internal: =head1 TERMS AND CONDITIONS This software is part of the OTRS project (L<http://otrs.org/>). This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (AGPL). If you did not receive this file, see L<http: =cut
#ifndef __MULTIPLOT__ #define __MULTIPLOT__ #include <sstream> #include <float.h> #include <time.h> #include <math.h> #include <vector> #include <string> #include <FL/Fl.H> #include <FL/Fl_Gl_Window.H> #include <FL/gl.h> #ifndef min #define min(a,b)( (a) < (b) ) ? (a) : (b) ) #endif enum MULTIPLOT_GRIDSTYLE { MP_NO_GRID, MP_LINEAR_GRID, MP_LOG_GRID }; /** * this class defines a plot point, wich essentially consists of its coordinate * and its color in rgb-color space. */ class PLOT_POINT { public: float x; float y; float r; float g; float b; PLOT_POINT(); PLOT_POINT(float xx, float yy, float rr=1, float gg=1, float bb=1); }; /** * this class creates a window to wich you can add an arbitrary number of * autoscaling traces. */ class MULTIPLOT_BASE : public Fl_Gl_Window { public: MULTIPLOT_BASE(const int x,const int y,const int w,const int h, const char * title); /** * with this function you cann add a plot-points to a trace. traces are numbered * from zero to N. memory for the traces is automatically allocated. */ void add(unsigned int trace, const PLOT_POINT &p); /** * set the maximum number of points to be plotted. this is useful to * avoid slow drawing of your trace. if you have 1000 plot-points and * set the number of max_points to 100, then only every tenth point gets plotted. */ void set_max_points(int mx); /** * if you call set_scrolling with a positive number of points to be plotted, * your graph will scroll left out of the plot-window as you add new plot-points. * Zero or a negative number disables scrolling. */ void set_scrolling(int max_points_to_plot); /** * call this function if you wish a grid to be plotted in your graph. * by default, no grids are plotted. call this function with the first * two arguments set to either MP_NO_GRID, MP_LINEAR_GRID or MP_LOG_GRID. * the next two arguments gridx_step and gridy_step specify the grid spacing. * Zero or a negative value like -1 enables auto - spacing. * The last parameter w sets the grid-linewidth. the default is 1 pixel. */ void set_grid(int gridx, int gridy, float gridx_step=-1.0, float gridy_step=-1.0, float w=1.0); /** * this function sets the size of the plot-points. the default value is zero, so * no points are drawn at all. if you wish to create a scatter-plot, set the pointsize * to a value bigger than zero and the linesize to zero. */ void set_pointsize(unsigned int trace, float s); /** * call set_linewidth to change the thickness of the traces. the default * value is 1 pixel, if you set the linewidth to zero, no lines are drawn. this * is usefull to create scatter-plots. */ void set_linewidth(unsigned int trace, float w); /** * sets the background color */ void set_bg_color(float r, float g, float b); /** * sets the grid color */ void set_grid_color(float r, float g, float b); /** * this function call simply clears all traces */ void clear(); /** * this function call clears trace number t */ void clear(unsigned int t); /** * Added to fix interactive resizing */ void position(int x, int y); void resize(int x, int y, int w, int h); protected: unsigned int width; // window - width unsigned int height; // window - height std::string title; // stores the user-title, so we can add ranges std::vector< std::vector<PLOT_POINT> > traces; PLOT_POINT minimum, maximum; PLOT_POINT scale; PLOT_POINT offset; PLOT_POINT bg_color; PLOT_POINT grid_color; unsigned int max_points; bool scroll; // this struct stores information // about the traces like line_width, the current pos // in the ring-buffer and the point-size. class TRACE { public: unsigned int pos; float point_size; float line_width; TRACE(){ pos=0; point_size=0.0; line_width=1; } }; std::vector< TRACE > tsettings; // grid - vars int gridx; int gridy; float gridx_step, gridy_step, grid_linewidth; PLOT_POINT grid_spacing; void initgl(); PLOT_POINT draw_grid(); void draw(); #ifndef min unsigned int min(unsigned int a, unsigned int b) {return (a < b) ? a : b;} #endif #ifndef max unsigned int max(unsigned int a, unsigned int b) {return (a > b) ? a : b;} #endif }; //#ifdef <API key> class MULTIPLOT : public MULTIPLOT_BASE { public: /** * this constructor tells multiplot where to put the window on the * desktop in pixel-coordinates(x,y) and with wich width and height (w,h) */ MULTIPLOT(int x, int y, int w, int h, const char *title="MULTIPLOT_BASE - updates on www.andre-krause.net"); void draw(); }; // implementation: inline PLOT_POINT::PLOT_POINT() { x=y=0.0;r=g=b=1; } inline PLOT_POINT::PLOT_POINT(float xx, float yy, float rr, float gg, float bb) { x=xx;y=yy;r=rr;g=gg;b=bb; } // Added to allow interactive resize; inline void MULTIPLOT_BASE::resize(int x, int y, int w, int h){ width = w; height = h; Fl_Gl_Window::resize(x,y,w,h); } inline MULTIPLOT_BASE::MULTIPLOT_BASE(const int x, const int y, const int w, const int h, const char * ttitle) : Fl_Gl_Window(x,y,w,h,ttitle) { width=w; height=h; title=std::string(ttitle); //max.x=max.y=-FLT_MAX; maximum.x=maximum.y=-FLT_MAX; minimum.x=minimum.y=FLT_MAX; max_points=max(w,h); traces.push_back( std::vector<PLOT_POINT>() ); // create one trace tsettings.push_back(TRACE()); scroll=false; gridx=MP_NO_GRID; gridy=MP_NO_GRID; gridx_step=-1; gridy_step=-1; bg_color.r=0.0f; bg_color.g=0.0f; bg_color.b=0.0f; grid_color.r=0.8f; grid_color.g=0.8f; grid_color.b=0.8f; grid_linewidth=1.0f; } inline void MULTIPLOT_BASE::add(unsigned int trace, const PLOT_POINT &p) { if(traces.size()<=trace) { int n=trace-traces.size()+1; for(int a=0;a<n;a++) { traces.push_back(std::vector<PLOT_POINT>()); tsettings.push_back(TRACE()); } } if(scroll) { // this realises a sort of ringbuffer wich is needed for scrolling if(tsettings[trace].pos<traces[trace].size()) traces[trace][tsettings[trace].pos]=p; else traces[trace].push_back(p); tsettings[trace].pos++; if(tsettings[trace].pos>=max_points) tsettings[trace].pos=0; } else { traces[trace].push_back(p); } } inline void MULTIPLOT_BASE::set_pointsize(unsigned int trace, float psize) { if(tsettings.size()<=trace) { int n=trace-tsettings.size()+1; for(int a=0;a<n;a++) { tsettings.push_back(TRACE()); } } tsettings[trace].point_size=psize; } inline void MULTIPLOT_BASE::set_linewidth(unsigned int trace, float width) { if(tsettings.size()<=trace) { int n=trace-tsettings.size()+1; for(int a=0;a<n;a++) { tsettings.push_back(TRACE()); } } tsettings[trace].line_width=width; } inline void MULTIPLOT_BASE::clear() { for(unsigned int a=0;a<traces.size();a++) { traces[a].clear(); tsettings[a].pos=0; } } inline void MULTIPLOT_BASE::clear(unsigned int trace) { traces[trace].clear(); tsettings[trace].pos=0; } inline void MULTIPLOT_BASE::set_max_points(int mx) { max_points=mx; } inline void MULTIPLOT_BASE::set_grid_color(float r, float g, float b) { grid_color.r=r; grid_color.g=g; grid_color.b=b; } inline void MULTIPLOT_BASE::set_bg_color(float r, float g, float b) { bg_color.r=r; bg_color.g=g; bg_color.b=b; glClearColor(bg_color.r, bg_color.g, bg_color.b, 1); // Set The background color } inline void MULTIPLOT_BASE::set_scrolling(int max_points_to_plot) { if(max_points_to_plot<=0) { scroll=false; return; } scroll=true; max_points=max_points_to_plot; for(unsigned int t=0;t<traces.size();t++) if(traces[t].capacity()<max_points) traces[t].reserve(max_points); } inline void MULTIPLOT_BASE::set_grid(int ggridx, int ggridy, float ggridx_step, float ggridy_step, float w) { gridx=ggridx; gridy=ggridy; gridx_step=ggridx_step; gridy_step=ggridy_step; grid_linewidth=w; } inline void MULTIPLOT_BASE::initgl() { glViewport(0 , 0,width ,height); // Set Up A Viewport glMatrixMode(GL_PROJECTION); // Select The Projection Matrix glLoadIdentity(); // Reset The Projection Matrix glOrtho( 0, width, 0, height, -1, 1 ); // Select Ortho Mode (640x480) //gluPerspective(50, (float)w()/(float)h(), 5, 2000); // Set Our Perspective glMatrixMode(GL_MODELVIEW); // Select The Modelview Matrix glLoadIdentity(); // Reset The Modelview Matrix glDisable(GL_DEPTH_TEST); // Enable Depth Testing glDisable(GL_LIGHTING); glShadeModel(GL_SMOOTH); // Select Smooth Shading glClearColor(bg_color.r, bg_color.g, bg_color.b, 1); // Set The background color glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); // Clear The Screen And Depth Buffer } inline PLOT_POINT MULTIPLOT_BASE::draw_grid() { double xstep=0; double ystep=0; if(gridx==MP_LINEAR_GRID) { double diff=maximum.x - minimum.x; if(diff==0)return PLOT_POINT(0,0); double exp=floor(log10(fabs(diff))); double shiftscale=pow(10.0,exp); // get the starting point for the grid double startx=shiftscale*floor(minimum.x / shiftscale); if(gridx_step>0) { xstep=gridx_step; } else // auto grid size { xstep=shiftscale*1.0; if(diff/xstep < 4) // draw more lines xstep*=0.5; /* xstep=floor(maximum.x / shiftscale) - floor(minimum.x / shiftscale); xstep=2*floor(0.5*xstep);// if uneven, make even, because uneven stepsizes will cause uneven distributed lines around the (0,0) koordinate frame axis xstep=shiftscale*xstep / 4.0; */ } double x=startx; glLineWidth(grid_linewidth); glColor3f(grid_color.r, grid_color.g, grid_color.b); glBegin(GL_LINES); int bailout=0; // bailout is a safety to avoid endless recursions caused maybe through numerical errors.. while(x<maximum.x && bailout<100) { x+=xstep; bailout++; glVertex2f((GLfloat)(x-offset.x)*scale.x ,0.0f ); glVertex2f((GLfloat)(x-offset.x)*scale.x ,(float)height); } glEnd(); } if(gridy==MP_LINEAR_GRID) { double diff=maximum.y - minimum.y; if(diff==0)return PLOT_POINT(0,0); double exp=floor(log10(fabs(diff))); double shiftscale=pow(10.0,exp); // get the starting point for the grid double starty=shiftscale*floor(minimum.y / shiftscale); if(gridy_step>0) { ystep=gridy_step; } else // auto grid size { ystep=shiftscale*1.0; if(diff/ystep < 4) // draw more lines ystep*=0.5; /* ystep=floor(maximum.y / shiftscale) - floor(minimum.y / shiftscale); ystep=2*floor(0.5*ystep); // if uneven, make even, because uneven stepsizes will cause uneven distributed lines around the (0,0) koordinate frame axis ystep=shiftscale*ystep / 4.0; */ } double y=starty; glLineWidth(1.0); glColor3f(grid_color.r, grid_color.g, grid_color.b); glBegin(GL_LINES); int bailout=0; // bailout is a safety to avoid endless recursions caused maybe through numerical errors.. while(y<maximum.y && bailout<100) { y+=ystep; bailout++; glVertex2f(0.0f ,(GLfloat)(y-offset.y)*scale.y); glVertex2f((float)width ,(GLfloat)(y-offset.y)*scale.y); } glEnd(); } return PLOT_POINT((float)xstep,(float)ystep); } inline void MULTIPLOT_BASE::draw() { if (!valid()){ initgl(); valid(1); } glClear(GL_COLOR_BUFFER_BIT);// | GL_DEPTH_BUFFER_BIT); // Clear The Screen And Depth Buffer // draw the grid grid_spacing=draw_grid(); // draw the coordinate cross with center (0,0) glLineWidth(2.0f*grid_linewidth); glColor3f(grid_color.r, grid_color.g, grid_color.b); glBegin(GL_LINES); glVertex2f(0.0f ,0-offset.y*scale.y); glVertex2f((float)width ,0-offset.y*scale.y); glVertex2f(0-offset.x*scale.x ,0.0f ); glVertex2f(0-offset.x*scale.x ,(float)height); glEnd(); maximum.x=maximum.y=-FLT_MAX; minimum.x=minimum.y=FLT_MAX; if(scroll) { PLOT_POINT p; for(unsigned int t=0;t<traces.size();t++) { glLineWidth(tsettings[t].line_width); glBegin(GL_LINE_STRIP); unsigned int ps=tsettings[t].pos; unsigned int n=(unsigned int)traces[t].size(); if(max_points<n)n=max_points; for(unsigned int a=0;a<n;a++) { if(ps>=traces[t].size()) ps=0; p=traces[t][ps]; if(tsettings[t].line_width>0) { glColor3f(p.r,p.g,p.b); glVertex2f((p.x-offset.x)*scale.x,(p.y-offset.y)*scale.y); } if(p.x>maximum.x)maximum.x=p.x; if(p.x<minimum.x)minimum.x=p.x; if(p.y>maximum.y)maximum.y=p.y; if(p.y<minimum.y)minimum.y=p.y; ps++; } glEnd(); glLineWidth(1.0); ps=tsettings[t].pos; n=(unsigned int)traces[t].size(); glPointSize(tsettings[t].point_size); glBegin(GL_POINTS); for(unsigned int a=0;a<n;a++) { if(ps>=traces[t].size()) ps=0; p=traces[t][ps]; if(tsettings[t].point_size>0) { glColor3f(p.r,p.g,p.b); glVertex2f((p.x-offset.x)*scale.x,(p.y-offset.y)*scale.y); } ps++; } glEnd(); } } else { PLOT_POINT p; // for speedup skip points - this is useful if we have many many points float step=1; for(unsigned int t=0;t<traces.size();t++) { if(traces[t].size()>max_points) step=traces[t].size()/float(max_points); glLineWidth(tsettings[t].line_width); glBegin(GL_LINE_STRIP); for(float a=0;a<traces[t].size();a+=step) { p=traces[t][int(a)]; if(tsettings[t].line_width>0) { glColor3f(p.r,p.g,p.b); glVertex2f((p.x-offset.x)*scale.x,(p.y-offset.y)*scale.y); } if(p.x>maximum.x)maximum.x=p.x; if(p.x<minimum.x)minimum.x=p.x; if(p.y>maximum.y)maximum.y=p.y; if(p.y<minimum.y)minimum.y=p.y; } glEnd(); if(tsettings[t].point_size>0) { glPointSize(tsettings[t].point_size); glBegin(GL_POINTS); for(float a=0;a<traces[t].size();a+=step) { p=traces[t][int(a)]; glColor3f(p.r,p.g,p.b); glVertex2f((p.x-offset.x)*scale.x,(p.y-offset.y)*scale.y); } glEnd(); } } } float diff; diff=maximum.x-minimum.x; if(diff!=0.0)scale.x=width/diff; diff=maximum.y-minimum.y; if(diff!=0.0)scale.y=height/diff; offset.x=minimum.x; offset.y=minimum.y; } inline void MULTIPLOT::draw() { if(!valid()) { initgl(); valid(1); } MULTIPLOT_BASE::draw(); std::stringstream ss; ss << "range: x=[" << minimum.x << "; " << maximum.x << "] "; ss << "y=[" << minimum.y << "; " << maximum.y << "] "; ss << "grid: w=[" << grid_spacing.x << "] "; ss << "h=[" << grid_spacing.y << "] "; this->label((ss.str() + title).c_str()); } inline MULTIPLOT::MULTIPLOT(int x, int y, int w, int h, const char *ttitle) : MULTIPLOT_BASE(x,y,w,h,ttitle) { // show(); } #endif
// // // // //# This program is free software: you can redistribute it and/or modify # // //# published by the Free Software Foundation, either version 3 of the # // // //# This program is distributed in the hope that it will be useful, # // //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # // // // // // //# IMS MAXIMS provides absolutely NO GUARANTEE OF THE CLINICAL SAFTEY of # //# this program. Users of this software do so entirely at their own risk. # //# IMS MAXIMS only ensures the Clinical Safety of unaltered run-time # //# software that it builds, deploys and maintains. # // // //#EOH package ims.core.forms.<API key>; import java.io.Serializable; public final class ConfigFlags extends ims.framework.FormConfigFlags implements Serializable { private static final long serialVersionUID = 1L; public final <API key> DISPLAY_PATID_TYPE; public final <API key> <API key>; public final <API key> SEARCH_REQ_FORENAME; public final MERGED_COLOURClass MERGED_COLOUR; public final RIP_COLOURClass RIP_COLOUR; public final <API key> PATIENT_SEARCH_TYPE; public ConfigFlags(ims.framework.ConfigFlag configFlags) { super(configFlags); DISPLAY_PATID_TYPE = new <API key>(configFlags); <API key> = new <API key>(configFlags); SEARCH_REQ_FORENAME = new <API key>(configFlags); MERGED_COLOUR = new MERGED_COLOURClass(configFlags); RIP_COLOUR = new RIP_COLOURClass(configFlags); PATIENT_SEARCH_TYPE = new <API key>(configFlags); } public final class <API key> implements Serializable { private static final long serialVersionUID = 1L; private final ims.framework.ConfigFlag configFlags; public <API key>(ims.framework.ConfigFlag configFlags) { this.configFlags = configFlags; } public String getValue() { return (String)configFlags.get("DISPLAY_PATID_TYPE"); } } public final class <API key> implements Serializable { private static final long serialVersionUID = 1L; private final ims.framework.ConfigFlag configFlags; public <API key>(ims.framework.ConfigFlag configFlags) { this.configFlags = configFlags; } public String getValue() { return (String)configFlags.get("<API key>"); } } public final class <API key> implements Serializable { private static final long serialVersionUID = 1L; private final ims.framework.ConfigFlag configFlags; public <API key>(ims.framework.ConfigFlag configFlags) { this.configFlags = configFlags; } public Boolean getValue() { return (Boolean)configFlags.get("SEARCH_REQ_FORENAME"); } } public final class MERGED_COLOURClass implements Serializable { private static final long serialVersionUID = 1L; private final ims.framework.ConfigFlag configFlags; public MERGED_COLOURClass(ims.framework.ConfigFlag configFlags) { this.configFlags = configFlags; } public ims.framework.utils.Color getValue() { return (ims.framework.utils.Color)configFlags.get("MERGED_COLOUR"); } } public final class RIP_COLOURClass implements Serializable { private static final long serialVersionUID = 1L; private final ims.framework.ConfigFlag configFlags; public RIP_COLOURClass(ims.framework.ConfigFlag configFlags) { this.configFlags = configFlags; } public ims.framework.utils.Color getValue() { return (ims.framework.utils.Color)configFlags.get("RIP_COLOUR"); } } public final class <API key> implements Serializable { private static final long serialVersionUID = 1L; private final ims.framework.ConfigFlag configFlags; public <API key>(ims.framework.ConfigFlag configFlags) { this.configFlags = configFlags; } public String getValue() { return (String)configFlags.get("PATIENT_SEARCH_TYPE"); } } }
""" Tests for Discussion API views """ from datetime import datetime import json from urlparse import urlparse import ddt import httpretty import mock from nose.plugins.attrib import attr from openedx.core.djangoapps.user_api.accounts.image_helpers import <API key> from pytz import UTC from django.core.urlresolvers import reverse from rest_framework.parsers import JSONParser from rest_framework.test import APIClient from xmodule.modulestore import ModuleStoreEnum from xmodule.modulestore.django import modulestore from common.test.utils import disable_signal from discussion_api import api from discussion_api.tests.utils import ( <API key>, <API key>, <API key>, <API key>, <API key>) from student.tests.factories import <API key>, UserFactory from util.testing import UrlResetMixin, PatchMediaTypeMixin from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase from xmodule.modulestore.tests.factories import CourseFactory, check_mongo_calls, ItemFactory class <API key>(<API key>, UrlResetMixin): """ Mixin for common code in tests of Discussion API views. This includes creation of common structures (e.g. a course, user, and enrollment), logging in the test client, utility functions, and a test case for unauthenticated requests. Subclasses must set self.url in their setUp methods. """ client_class = APIClient @mock.patch.dict("django.conf.settings.FEATURES", {"<API key>": True}) def setUp(self): super(<API key>, self).setUp() self.maxDiff = None # pylint: disable=invalid-name self.course = CourseFactory.create( org="x", course="y", run="z", start=datetime.now(UTC), discussion_topics={"Test Topic": {"id": "test_topic"}} ) self.password = "password" self.user = UserFactory.create(password=self.password) # Ensure that parental controls don't apply to this user self.user.profile.year_of_birth = 1970 self.user.profile.save() <API key>.create(user=self.user, course_id=self.course.id) self.client.login(username=self.user.username, password=self.password) def <API key>(self, response, expected_status, expected_content): """ Assert that the response has the given status code and parsed content """ self.assertEqual(response.status_code, expected_status) parsed_content = json.loads(response.content) self.assertEqual(parsed_content, expected_content) def register_thread(self, overrides=None): """ Create cs_thread with minimal fields and register response """ cs_thread = <API key>({ "id": "test_thread", "course_id": unicode(self.course.id), "commentable_id": "original_topic", "username": self.user.username, "user_id": str(self.user.id), "thread_type": "discussion", "title": "Original Title", "body": "Original body", }) cs_thread.update(overrides or {}) self.<API key>(cs_thread) self.<API key>(cs_thread) def register_comment(self, overrides=None): """ Create cs_comment with minimal fields and register response """ cs_comment = <API key>({ "id": "test_comment", "course_id": unicode(self.course.id), "thread_id": "test_thread", "username": self.user.username, "user_id": str(self.user.id), "body": "Original body", }) cs_comment.update(overrides or {}) self.<API key>(cs_comment) self.<API key>(cs_comment) self.<API key>(cs_comment, thread_id="test_thread") def <API key>(self): self.client.logout() response = self.client.get(self.url) self.<API key>( response, 401, {"developer_message": "Authentication credentials were not provided."} ) def test_inactive(self): self.user.is_active = False self.test_basic() @mock.patch.dict("django.conf.settings.FEATURES", {"<API key>": True}) class CourseViewTest(<API key>, ModuleStoreTestCase): """Tests for CourseView""" def setUp(self): super(CourseViewTest, self).setUp() self.url = reverse("discussion_course", kwargs={"course_id": unicode(self.course.id)}) def test_404(self): response = self.client.get( reverse("course_topics", kwargs={"course_id": "non/existent/course"}) ) self.<API key>( response, 404, {"developer_message": "Course not found."} ) def test_basic(self): response = self.client.get(self.url) self.<API key>( response, 200, { "id": unicode(self.course.id), "blackouts": [], "thread_list_url": "http://testserver/api/discussion/v1/threads/?course_id=x%2Fy%2Fz", "<API key>": ( "http://testserver/api/discussion/v1/threads/?course_id=x%2Fy%2Fz&following=True" ), "topics_url": "http://testserver/api/discussion/v1/course_topics/x/y/z", } ) @ddt.ddt @mock.patch.dict("django.conf.settings.FEATURES", {"<API key>": True}) class <API key>(<API key>, ModuleStoreTestCase): """ Tests for CourseTopicsView """ def setUp(self): super(<API key>, self).setUp() self.url = reverse("course_topics", kwargs={"course_id": unicode(self.course.id)}) def create_course(self, modules_count, module_store, topics): """ Create a course in a specified module store with discussion module and topics """ course = CourseFactory.create( org="a", course="b", run="c", start=datetime.now(UTC), default_store=module_store, discussion_topics=topics ) <API key>.create(user=self.user, course_id=course.id) course_url = reverse("course_topics", kwargs={"course_id": unicode(course.id)}) # add some discussion modules for i in range(modules_count): ItemFactory.create( parent_location=course.location, category='discussion', discussion_id='id_module_{}'.format(i), discussion_category='Category {}'.format(i), discussion_target='Discussion {}'.format(i), publish_item=False, ) return course_url def <API key>(self, topic_id, category, subcategory, **kwargs): """ Build a discussion module in self.course """ ItemFactory.create( parent_location=self.course.location, category="discussion", discussion_id=topic_id, discussion_category=category, discussion_target=subcategory, **kwargs ) def test_404(self): response = self.client.get( reverse("course_topics", kwargs={"course_id": "non/existent/course"}) ) self.<API key>( response, 404, {"developer_message": "Course not found."} ) def test_basic(self): response = self.client.get(self.url) self.<API key>( response, 200, { "courseware_topics": [], "<API key>": [{ "id": "test_topic", "name": "Test Topic", "children": [], "thread_list_url": "http://testserver/api/discussion/v1/threads/?course_id=x%2Fy%2Fz&topic_id=test_topic", }], } ) @ddt.data( (2, ModuleStoreEnum.Type.mongo, 2, {"Test Topic 1": {"id": "test_topic_1"}}), (2, ModuleStoreEnum.Type.mongo, 2, {"Test Topic 1": {"id": "test_topic_1"}, "Test Topic 2": {"id": "test_topic_2"}}), (2, ModuleStoreEnum.Type.split, 3, {"Test Topic 1": {"id": "test_topic_1"}}), (2, ModuleStoreEnum.Type.split, 3, {"Test Topic 1": {"id": "test_topic_1"}, "Test Topic 2": {"id": "test_topic_2"}}), (10, ModuleStoreEnum.Type.split, 3, {"Test Topic 1": {"id": "test_topic_1"}}), ) @ddt.unpack def test_bulk_response(self, modules_count, module_store, mongo_calls, topics): course_url = self.create_course(modules_count, module_store, topics) with check_mongo_calls(mongo_calls): with modulestore().default_store(module_store): self.client.get(course_url) def <API key>(self): """ Tests discussion topic does not exist for the given topic id. """ topic_id = "courseware-topic-id" self.<API key>(topic_id, "test_category", "test_target") url = "{}?topic_id=invalid_topic_id".format(self.url) response = self.client.get(url) self.<API key>( response, 404, {"developer_message": "Discussion not found for 'invalid_topic_id'."} ) def test_topic_id(self): """ Tests discussion topic details against a requested topic id """ topic_id_1 = "topic_id_1" topic_id_2 = "topic_id_2" self.<API key>(topic_id_1, "test_category_1", "test_target_1") self.<API key>(topic_id_2, "test_category_2", "test_target_2") url = "{}?topic_id=topic_id_1,topic_id_2".format(self.url) response = self.client.get(url) self.<API key>( response, 200, { "<API key>": [], "courseware_topics": [ { "children": [{ "children": [], "id": "topic_id_1", "thread_list_url": "http://testserver/api/discussion/v1/threads/?" "course_id=x%2Fy%2Fz&topic_id=topic_id_1", "name": "test_target_1" }], "id": None, "thread_list_url": "http://testserver/api/discussion/v1/threads/?" "course_id=x%2Fy%2Fz&topic_id=topic_id_1", "name": "test_category_1" }, { "children": [{ "children": [], "id": "topic_id_2", "thread_list_url": "http://testserver/api/discussion/v1/threads/?" "course_id=x%2Fy%2Fz&topic_id=topic_id_2", "name": "test_target_2" }], "id": None, "thread_list_url": "http://testserver/api/discussion/v1/threads/?" "course_id=x%2Fy%2Fz&topic_id=topic_id_2", "name": "test_category_2" } ] } ) @attr('shard_3') @ddt.ddt @httpretty.activate @mock.patch.dict("django.conf.settings.FEATURES", {"<API key>": True}) class <API key>(<API key>, ModuleStoreTestCase, <API key>): """Tests for ThreadViewSet list""" def setUp(self): super(<API key>, self).setUp() self.author = UserFactory.create() self.url = reverse("thread-list") def <API key>(self, overrides=None): """ Create a sample expected thread for response """ thread = { "id": "test_thread", "course_id": unicode(self.course.id), "topic_id": "test_topic", "group_id": None, "group_name": None, "author": "dummy", "author_label": None, "created_at": "1970-01-01T00:00:00Z", "updated_at": "1970-01-01T00:00:00Z", "type": "discussion", "title": "dummy", "raw_body": "dummy", "rendered_body": "<p>dummy</p>", "pinned": False, "closed": False, "following": False, "abuse_flagged": False, "voted": False, "vote_count": 0, "comment_count": 1, "<API key>": 1, "comment_list_url": "http://testserver/api/discussion/v1/comments/?thread_id=test_thread", "<API key>": None, "<API key>": None, "editable_fields": ["abuse_flagged", "following", "read", "voted"], "read": False, "has_endorsed": False, "response_count": 0, } thread.update(overrides or {}) return thread def <API key>(self): response = self.client.get(self.url) self.<API key>( response, 400, {"field_errors": {"course_id": {"developer_message": "This field is required."}}} ) def test_404(self): response = self.client.get(self.url, {"course_id": unicode("non/existent/course")}) self.<API key>( response, 404, {"developer_message": "Course not found."} ) def test_basic(self): self.<API key>(self.user, upvoted_ids=["test_thread"]) source_threads = [<API key>({ "id": "test_thread", "course_id": unicode(self.course.id), "commentable_id": "test_topic", "user_id": str(self.author.id), "username": self.author.username, "created_at": "2015-04-28T00:00:00Z", "updated_at": "2015-04-28T11:11:11Z", "title": "Test Title", "body": "Test body", "votes": {"up_count": 4}, "comments_count": 5, "<API key>": 3, })] expected_threads = [self.<API key>({ "created_at": "2015-04-28T00:00:00Z", "updated_at": "2015-04-28T11:11:11Z", "raw_body": "Test body", "rendered_body": "<p>Test body</p>", "title": "Test Title", "vote_count": 4, "comment_count": 6, "<API key>": 4, "voted": True, "author": self.author.username })] self.<API key>(source_threads, page=1, num_pages=2) response = self.client.get(self.url, {"course_id": unicode(self.course.id), "following": ""}) expected_response = <API key>( results=expected_threads, count=1, num_pages=2, next_link="http://testserver/api/discussion/v1/threads/?course_id=x%2Fy%2Fz&page=2", previous_link=None ) expected_response.update({"text_search_rewrite": None}) self.<API key>( response, 200, expected_response ) self.<API key>({ "user_id": [unicode(self.user.id)], "course_id": [unicode(self.course.id)], "sort_key": ["activity"], "sort_order": ["desc"], "page": ["1"], "per_page": ["10"], "recursive": ["False"], }) @ddt.data("unread", "unanswered") def test_view_query(self, query): threads = [<API key>()] self.<API key>(self.user) self.<API key>(threads, page=1, num_pages=1) self.client.get( self.url, { "course_id": unicode(self.course.id), "view": query, } ) self.<API key>({ "user_id": [unicode(self.user.id)], "course_id": [unicode(self.course.id)], "sort_key": ["activity"], "sort_order": ["desc"], "recursive": ["False"], "page": ["1"], "per_page": ["10"], query: ["true"], }) def test_pagination(self): self.<API key>(self.user) self.<API key>([], page=1, num_pages=1) response = self.client.get( self.url, {"course_id": unicode(self.course.id), "page": "18", "page_size": "4"} ) self.<API key>( response, 404, {"developer_message": "Page not found (No results on this page)."} ) self.<API key>({ "user_id": [unicode(self.user.id)], "course_id": [unicode(self.course.id)], "sort_key": ["activity"], "sort_order": ["desc"], "page": ["18"], "per_page": ["4"], "recursive": ["False"], }) def test_text_search(self): self.<API key>(self.user) self.<API key>([], None, num_pages=0) response = self.client.get( self.url, {"course_id": unicode(self.course.id), "text_search": "test search string"} ) expected_response = <API key>( results=[], count=0, num_pages=0, next_link=None, previous_link=None ) expected_response.update({"text_search_rewrite": None}) self.<API key>( response, 200, expected_response ) self.<API key>({ "user_id": [unicode(self.user.id)], "course_id": [unicode(self.course.id)], "sort_key": ["activity"], "sort_order": ["desc"], "page": ["1"], "per_page": ["10"], "recursive": ["False"], "text": ["test search string"], }) @ddt.data(True, "true", "1") def test_following_true(self, following): self.<API key>(self.user) self.<API key>(self.user, [], page=1, num_pages=0) response = self.client.get( self.url, { "course_id": unicode(self.course.id), "following": following, } ) expected_response = <API key>( results=[], count=0, num_pages=0, next_link=None, previous_link=None ) expected_response.update({"text_search_rewrite": None}) self.<API key>( response, 200, expected_response ) self.assertEqual( urlparse(httpretty.last_request().path).path, "/api/v1/users/{}/subscribed_threads".format(self.user.id) ) @ddt.data(False, "false", "0") def <API key>(self, following): response = self.client.get( self.url, { "course_id": unicode(self.course.id), "following": following, } ) self.<API key>( response, 400, {"field_errors": { "following": {"developer_message": "The value of the 'following' parameter must be true."} }} ) def <API key>(self): response = self.client.get( self.url, { "course_id": unicode(self.course.id), "following": "invalid-boolean", } ) self.<API key>( response, 400, {"field_errors": { "following": {"developer_message": "Invalid Boolean Value."} }} ) @ddt.data( ("last_activity_at", "activity"), ("comment_count", "comments"), ("vote_count", "votes") ) @ddt.unpack def test_order_by(self, http_query, cc_query): """ Tests the order_by parameter Arguments: http_query (str): Query string sent in the http request cc_query (str): Query string used for the comments client service """ threads = [<API key>()] self.<API key>(self.user) self.<API key>(threads, page=1, num_pages=1) self.client.get( self.url, { "course_id": unicode(self.course.id), "order_by": http_query, } ) self.<API key>({ "user_id": [unicode(self.user.id)], "course_id": [unicode(self.course.id)], "sort_order": ["desc"], "recursive": ["False"], "page": ["1"], "per_page": ["10"], "sort_key": [cc_query], }) @ddt.data("asc", "desc") def <API key>(self, query): threads = [<API key>()] self.<API key>(self.user) self.<API key>(threads, page=1, num_pages=1) self.client.get( self.url, { "course_id": unicode(self.course.id), "order_direction": query, } ) self.<API key>({ "user_id": [unicode(self.user.id)], "course_id": [unicode(self.course.id)], "sort_key": ["activity"], "recursive": ["False"], "page": ["1"], "per_page": ["10"], "sort_order": [query], }) def <API key>(self): """ Tests GET thread_list api does not allow filtering on mutually exclusive parameters """ self.<API key>(self.user) self.<API key>([], None, num_pages=0) response = self.client.get(self.url, { "course_id": unicode(self.course.id), "text_search": "test search string", "topic_id": "topic1, topic2", }) self.<API key>( response, 400, { "developer_message": "The following query parameters are mutually exclusive: topic_id, " "text_search, following" } ) def <API key>(self): """ Tests thread has user profile image details if called in requested_fields """ user_2 = UserFactory.create(password=self.password) # Ensure that parental controls don't apply to this user user_2.profile.year_of_birth = 1970 user_2.profile.save() source_threads = [ { "type": "thread", "id": "test_thread", "course_id": unicode(self.course.id), "commentable_id": "test_topic", "group_id": None, "user_id": str(self.user.id), "username": self.user.username, "anonymous": False, "anonymous_to_peers": False, "created_at": "2015-04-28T00:00:00Z", "updated_at": "2015-04-28T11:11:11Z", "thread_type": "discussion", "title": "Test Title", "body": "Test body", "pinned": False, "closed": False, "abuse_flaggers": [], "votes": {"up_count": 4}, "comments_count": 5, "<API key>": 3, "read": False, "endorsed": False }, { "type": "thread", "id": "test_thread", "course_id": unicode(self.course.id), "commentable_id": "test_topic", "group_id": None, "user_id": str(user_2.id), "username": user_2.username, "anonymous": False, "anonymous_to_peers": False, "created_at": "2015-04-28T00:00:00Z", "updated_at": "2015-04-28T11:11:11Z", "thread_type": "discussion", "title": "Test Title", "body": "Test body", "pinned": False, "closed": False, "abuse_flaggers": [], "votes": {"up_count": 4}, "comments_count": 5, "<API key>": 3, "read": False, "endorsed": False } ] self.<API key>(self.user, upvoted_ids=["test_thread"]) self.<API key>(source_threads, page=1, num_pages=1) self.<API key>(self.user, <API key>()) self.<API key>(user_2, <API key>()) response = self.client.get( self.url, {"course_id": unicode(self.course.id), "requested_fields": "profile_image"}, ) self.assertEqual(response.status_code, 200) response_threads = json.loads(response.content)['results'] for response_thread in response_threads: <API key> = self.<API key>(response_thread['author']) response_users = response_thread['users'] self.assertEqual(<API key>, response_users[response_thread['author']]) @httpretty.activate @disable_signal(api, 'thread_created') @mock.patch.dict("django.conf.settings.FEATURES", {"<API key>": True}) class <API key>(<API key>, ModuleStoreTestCase): """Tests for ThreadViewSet create""" def setUp(self): super(<API key>, self).setUp() self.url = reverse("thread-list") def test_basic(self): self.<API key>(self.user) cs_thread = <API key>({ "id": "test_thread", "username": self.user.username, "created_at": "2015-05-19T00:00:00Z", "updated_at": "2015-05-19T00:00:00Z", }) self.<API key>(cs_thread) request_data = { "course_id": unicode(self.course.id), "topic_id": "test_topic", "type": "discussion", "title": "Test Title", "raw_body": "Test body", } <API key> = { "id": "test_thread", "course_id": unicode(self.course.id), "topic_id": "test_topic", "group_id": None, "group_name": None, "author": self.user.username, "author_label": None, "created_at": "2015-05-19T00:00:00Z", "updated_at": "2015-05-19T00:00:00Z", "type": "discussion", "title": "Test Title", "raw_body": "Test body", "rendered_body": "<p>Test body</p>", "pinned": False, "closed": False, "following": False, "abuse_flagged": False, "voted": False, "vote_count": 0, "comment_count": 1, "<API key>": 1, "comment_list_url": "http://testserver/api/discussion/v1/comments/?thread_id=test_thread", "<API key>": None, "<API key>": None, "editable_fields": ["abuse_flagged", "following", "raw_body", "read", "title", "topic_id", "type", "voted"], "read": False, "has_endorsed": False, "response_count": 0, } response = self.client.post( self.url, json.dumps(request_data), content_type="application/json" ) self.assertEqual(response.status_code, 200) response_data = json.loads(response.content) self.assertEqual(response_data, <API key>) self.assertEqual( httpretty.last_request().parsed_body, { "course_id": [unicode(self.course.id)], "commentable_id": ["test_topic"], "thread_type": ["discussion"], "title": ["Test Title"], "body": ["Test body"], "user_id": [str(self.user.id)], } ) def test_error(self): request_data = { "topic_id": "dummy", "type": "discussion", "title": "dummy", "raw_body": "dummy", } response = self.client.post( self.url, json.dumps(request_data), content_type="application/json" ) <API key> = { "field_errors": {"course_id": {"developer_message": "This field is required."}} } self.assertEqual(response.status_code, 400) response_data = json.loads(response.content) self.assertEqual(response_data, <API key>) @attr('shard_3') @ddt.ddt @httpretty.activate @disable_signal(api, 'thread_edited') @mock.patch.dict("django.conf.settings.FEATURES", {"<API key>": True}) class <API key>(<API key>, ModuleStoreTestCase, PatchMediaTypeMixin): """Tests for ThreadViewSet partial_update""" def setUp(self): self.<API key> = JSONParser.media_type super(<API key>, self).setUp() self.url = reverse("thread-detail", kwargs={"thread_id": "test_thread"}) def <API key>(self, overrides=None): """ create expected response data from comment update endpoint """ response_data = { "id": "test_thread", "course_id": unicode(self.course.id), "topic_id": "original_topic", "group_id": None, "group_name": None, "author": self.user.username, "author_label": None, "created_at": "1970-01-01T00:00:00Z", "updated_at": "1970-01-01T00:00:00Z", "type": "discussion", "title": "Original Title", "raw_body": "Original body", "rendered_body": "<p>Original body</p>", "pinned": False, "closed": False, "following": False, "abuse_flagged": False, "voted": False, "vote_count": 0, "comment_count": 0, "<API key>": 0, "comment_list_url": "http://testserver/api/discussion/v1/comments/?thread_id=test_thread", "<API key>": None, "<API key>": None, "editable_fields": [], "read": False, "has_endorsed": False, "response_count": 0, } response_data.update(overrides or {}) return response_data def test_basic(self): self.<API key>(self.user) self.register_thread({"created_at": "Test Created Date", "updated_at": "Test Updated Date"}) request_data = {"raw_body": "Edited body"} response = self.request_patch(request_data) self.assertEqual(response.status_code, 200) response_data = json.loads(response.content) self.assertEqual( response_data, self.<API key>({ "raw_body": "Edited body", "rendered_body": "<p>Edited body</p>", "editable_fields": [ "abuse_flagged", "following", "raw_body", "read", "title", "topic_id", "type", "voted" ], "created_at": "Test Created Date", "updated_at": "Test Updated Date", "comment_count": 1, }) ) self.assertEqual( httpretty.last_request().parsed_body, { "course_id": [unicode(self.course.id)], "commentable_id": ["original_topic"], "thread_type": ["discussion"], "title": ["Original Title"], "body": ["Edited body"], "user_id": [str(self.user.id)], "anonymous": ["False"], "anonymous_to_peers": ["False"], "closed": ["False"], "pinned": ["False"], "read": ["False"], } ) def test_error(self): self.<API key>(self.user) self.register_thread() request_data = {"title": ""} response = self.request_patch(request_data) <API key> = { "field_errors": {"title": {"developer_message": "This field may not be blank."}} } self.assertEqual(response.status_code, 400) response_data = json.loads(response.content) self.assertEqual(response_data, <API key>) @ddt.data( ("abuse_flagged", True), ("abuse_flagged", False), ) @ddt.unpack def test_closed_thread(self, field, value): self.<API key>(self.user) self.register_thread({"closed": True}) self.<API key>("thread", "test_thread") request_data = {field: value} response = self.request_patch(request_data) self.assertEqual(response.status_code, 200) response_data = json.loads(response.content) self.assertEqual( response_data, self.<API key>({ "closed": True, "abuse_flagged": value, "editable_fields": ["abuse_flagged", "read"], "comment_count": 1, "<API key>": 1, }) ) @ddt.data( ("raw_body", "Edited body"), ("voted", True), ("following", True), ) @ddt.unpack def <API key>(self, field, value): self.<API key>(self.user) self.register_thread({"closed": True}) self.<API key>("thread", "test_thread") request_data = {field: value} response = self.request_patch(request_data) self.assertEqual(response.status_code, 400) def <API key>(self): self.<API key>(self.user) self.register_thread() self.<API key>(self.user, "thread", "test_thread") request_data = {"read": True} response = self.request_patch(request_data) self.assertEqual(response.status_code, 200) response_data = json.loads(response.content) self.assertEqual( response_data, self.<API key>({ "comment_count": 1, "read": True, "editable_fields": [ "abuse_flagged", "following", "raw_body", "read", "title", "topic_id", "type", "voted" ], }) ) def <API key>(self): self.<API key>(self.user) thread_owner_user = UserFactory.create(password=self.password) <API key>.create(user=thread_owner_user, course_id=self.course.id) self.<API key>(thread_owner_user) self.register_thread({"username": thread_owner_user.username, "user_id": str(thread_owner_user.id)}) self.<API key>(self.user, "thread", "test_thread") request_data = {"read": True} response = self.request_patch(request_data) self.assertEqual(response.status_code, 200) response_data = json.loads(response.content) self.assertEqual( response_data, self.<API key>({ "author": str(thread_owner_user.username), "comment_count": 1, "read": True, "editable_fields": [ "abuse_flagged", "following", "read", "voted" ], }) ) @httpretty.activate @disable_signal(api, 'thread_deleted') @mock.patch.dict("django.conf.settings.FEATURES", {"<API key>": True}) class <API key>(<API key>, ModuleStoreTestCase): """Tests for ThreadViewSet delete""" def setUp(self): super(<API key>, self).setUp() self.url = reverse("thread-detail", kwargs={"thread_id": "test_thread"}) self.thread_id = "test_thread" def test_basic(self): self.<API key>(self.user) cs_thread = <API key>({ "id": self.thread_id, "course_id": unicode(self.course.id), "username": self.user.username, "user_id": str(self.user.id), }) self.<API key>(cs_thread) self.<API key>(self.thread_id) response = self.client.delete(self.url) self.assertEqual(response.status_code, 204) self.assertEqual(response.content, "") self.assertEqual( urlparse(httpretty.last_request().path).path, "/api/v1/threads/{}".format(self.thread_id) ) self.assertEqual(httpretty.last_request().method, "DELETE") def <API key>(self): self.<API key>(self.thread_id, 404) response = self.client.delete(self.url) self.assertEqual(response.status_code, 404) @attr('shard_3') @ddt.ddt @httpretty.activate @mock.patch.dict("django.conf.settings.FEATURES", {"<API key>": True}) class <API key>(<API key>, ModuleStoreTestCase, <API key>): """Tests for CommentViewSet list""" def setUp(self): super(<API key>, self).setUp() self.author = UserFactory.create() self.url = reverse("comment-list") self.thread_id = "test_thread" self.storage = <API key>() def <API key>(self, overrides=None): """ Create a thread with the given overrides, plus the course_id if not already in overrides. """ overrides = overrides.copy() if overrides else {} overrides.setdefault("course_id", unicode(self.course.id)) return <API key>(overrides) def <API key>(self, overrides=None): """ create expected response data """ response_data = { "id": "test_comment", "thread_id": self.thread_id, "parent_id": None, "author": self.author.username, "author_label": None, "created_at": "1970-01-01T00:00:00Z", "updated_at": "1970-01-01T00:00:00Z", "raw_body": "dummy", "rendered_body": "<p>dummy</p>", "endorsed": False, "endorsed_by": None, "endorsed_by_label": None, "endorsed_at": None, "abuse_flagged": False, "voted": False, "vote_count": 0, "children": [], "editable_fields": ["abuse_flagged", "voted"], "child_count": 0, } response_data.update(overrides or {}) return response_data def <API key>(self): response = self.client.get(self.url) self.<API key>( response, 400, {"field_errors": {"thread_id": {"developer_message": "This field is required."}}} ) def test_404(self): self.<API key>(self.thread_id, 404) response = self.client.get(self.url, {"thread_id": self.thread_id}) self.<API key>( response, 404, {"developer_message": "Thread not found."} ) def test_basic(self): self.<API key>(self.user, upvoted_ids=["test_comment"]) source_comments = [{ "type": "comment", "id": "test_comment", "thread_id": self.thread_id, "parent_id": None, "user_id": str(self.author.id), "username": self.author.username, "anonymous": False, "anonymous_to_peers": False, "created_at": "2015-05-11T00:00:00Z", "updated_at": "2015-05-11T11:11:11Z", "body": "Test body", "endorsed": False, "abuse_flaggers": [], "votes": {"up_count": 4}, "child_count": 0, "children": [], }] expected_comments = [self.<API key>(overrides={ "voted": True, "vote_count": 4, "raw_body": "Test body", "rendered_body": "<p>Test body</p>", "created_at": "2015-05-11T00:00:00Z", "updated_at": "2015-05-11T11:11:11Z", })] self.<API key>({ "id": self.thread_id, "course_id": unicode(self.course.id), "thread_type": "discussion", "children": source_comments, "resp_total": 100, }) response = self.client.get(self.url, {"thread_id": self.thread_id}) next_link = "http://testserver/api/discussion/v1/comments/?page=2&thread_id={}".format( self.thread_id ) self.<API key>( response, 200, <API key>( results=expected_comments, count=100, num_pages=10, next_link=next_link, previous_link=None ) ) self.<API key>( httpretty.httpretty.latest_requests[-2], { "recursive": ["False"], "resp_skip": ["0"], "resp_limit": ["10"], "user_id": [str(self.user.id)], "mark_as_read": ["False"], } ) def test_pagination(self): """ Test that pagination parameters are correctly plumbed through to the comments service and that a 404 is correctly returned if a page past the end is requested """ self.<API key>(self.user) self.<API key>(<API key>({ "id": self.thread_id, "course_id": unicode(self.course.id), "thread_type": "discussion", "resp_total": 10, })) response = self.client.get( self.url, {"thread_id": self.thread_id, "page": "18", "page_size": "4"} ) self.<API key>( response, 404, {"developer_message": "Page not found (No results on this page)."} ) self.<API key>( httpretty.httpretty.latest_requests[-2], { "recursive": ["False"], "resp_skip": ["68"], "resp_limit": ["4"], "user_id": [str(self.user.id)], "mark_as_read": ["False"], } ) @ddt.data( (True, "endorsed_comment"), ("true", "endorsed_comment"), ("1", "endorsed_comment"), (False, "<API key>"), ("false", "<API key>"), ("0", "<API key>"), ) @ddt.unpack def <API key>(self, endorsed, comment_id): self.<API key>(self.user) thread = self.<API key>({ "thread_type": "question", "endorsed_responses": [<API key>({ "id": "endorsed_comment", "user_id": self.user.id, "username": self.user.username, })], "<API key>": [<API key>({ "id": "<API key>", "user_id": self.user.id, "username": self.user.username, })], "<API key>": 1, }) self.<API key>(thread) response = self.client.get(self.url, { "thread_id": thread["id"], "endorsed": endorsed, }) parsed_content = json.loads(response.content) self.assertEqual(parsed_content["results"][0]["id"], comment_id) def <API key>(self): response = self.client.get(self.url, { "thread_id": self.thread_id, "endorsed": "invalid-boolean" }) self.<API key>( response, 400, {"field_errors": { "endorsed": {"developer_message": "Invalid Boolean Value."} }} ) def <API key>(self): self.<API key>(self.user) thread = self.<API key>({ "thread_type": "question", "endorsed_responses": [<API key>({"id": "endorsed_comment"})], "<API key>": [<API key>({"id": "<API key>"})], "<API key>": 1, }) self.<API key>(thread) response = self.client.get(self.url, { "thread_id": thread["id"] }) self.<API key>( response, 400, {"field_errors": { "endorsed": {"developer_message": "This field is required for question threads."} }} ) def <API key>(self): self.<API key>(self.user) response_1 = <API key>({ "id": "test_response_1", "thread_id": self.thread_id, "user_id": str(self.author.id), "username": self.author.username, "child_count": 2, }) response_2 = <API key>({ "id": "test_response_2", "thread_id": self.thread_id, "user_id": str(self.author.id), "username": self.author.username, "child_count": 3, }) thread = self.<API key>({ "id": self.thread_id, "course_id": unicode(self.course.id), "thread_type": "discussion", "children": [response_1, response_2], "resp_total": 2, "comments_count": 8, "<API key>": 0, }) self.<API key>(thread) response = self.client.get(self.url, {"thread_id": self.thread_id}) expected_comments = [ self.<API key>(overrides={"id": "test_response_1", "child_count": 2}), self.<API key>(overrides={"id": "test_response_2", "child_count": 3}), ] self.<API key>( response, 200, { "results": expected_comments, "pagination": { "count": 2, "next": None, "num_pages": 1, "previous": None, } } ) def <API key>(self): """ Tests all comments retrieved have user profile image details if called in requested_fields """ source_comments = [{ "type": "comment", "id": "test_comment", "thread_id": self.thread_id, "parent_id": None, "user_id": str(self.user.id), "username": self.user.username, "anonymous": False, "anonymous_to_peers": False, "created_at": "2015-05-11T00:00:00Z", "updated_at": "2015-05-11T11:11:11Z", "body": "Test body", "endorsed": False, "abuse_flaggers": [], "votes": {"up_count": 4}, "child_count": 0, "children": [], }] self.<API key>({ "id": self.thread_id, "course_id": unicode(self.course.id), "thread_type": "discussion", "children": source_comments, "resp_total": 100, }) self.<API key>(self.user, upvoted_ids=["test_comment"]) self.<API key>(self.user, <API key>()) response = self.client.get(self.url, {"thread_id": self.thread_id, "requested_fields": "profile_image"}) self.assertEqual(response.status_code, 200) response_comments = json.loads(response.content)['results'] for response_comment in response_comments: <API key> = self.<API key>(response_comment['author']) response_users = response_comment['users'] self.assertEqual(<API key>, response_users[response_comment['author']]) def <API key>(self): """ Tests all comments have user profile image details for both author and endorser if called in requested_fields for endorsed threads """ endorser_user = UserFactory.create(password=self.password) # Ensure that parental controls don't apply to this user endorser_user.profile.year_of_birth = 1970 endorser_user.profile.save() self.<API key>(self.user) thread = self.<API key>({ "thread_type": "question", "endorsed_responses": [<API key>({ "id": "endorsed_comment", "user_id": self.user.id, "username": self.user.username, "endorsed": True, "endorsement": {"user_id": endorser_user.id, "time": "2016-05-10T08:51:28Z"}, })], "<API key>": [<API key>({ "id": "<API key>", "user_id": self.user.id, "username": self.user.username, })], "<API key>": 1, }) self.<API key>(thread) self.<API key>(self.user, <API key>()) self.<API key>(endorser_user, <API key>()) response = self.client.get(self.url, { "thread_id": thread["id"], "endorsed": True, "requested_fields": "profile_image", }) self.assertEqual(response.status_code, 200) response_comments = json.loads(response.content)['results'] for response_comment in response_comments: <API key> = self.<API key>(response_comment['author']) <API key> = self.<API key>(response_comment['endorsed_by']) response_users = response_comment['users'] self.assertEqual(<API key>, response_users[response_comment['author']]) self.assertEqual(<API key>, response_users[response_comment['endorsed_by']]) @httpretty.activate @disable_signal(api, 'comment_deleted') @mock.patch.dict("django.conf.settings.FEATURES", {"<API key>": True}) class <API key>(<API key>, ModuleStoreTestCase): """Tests for ThreadViewSet delete""" def setUp(self): super(<API key>, self).setUp() self.url = reverse("comment-detail", kwargs={"comment_id": "test_comment"}) self.comment_id = "test_comment" def test_basic(self): self.<API key>(self.user) cs_thread = <API key>({ "id": "test_thread", "course_id": unicode(self.course.id), }) self.<API key>(cs_thread) cs_comment = <API key>({ "id": self.comment_id, "course_id": cs_thread["course_id"], "thread_id": cs_thread["id"], "username": self.user.username, "user_id": str(self.user.id), }) self.<API key>(cs_comment) self.<API key>(self.comment_id) response = self.client.delete(self.url) self.assertEqual(response.status_code, 204) self.assertEqual(response.content, "") self.assertEqual( urlparse(httpretty.last_request().path).path, "/api/v1/comments/{}".format(self.comment_id) ) self.assertEqual(httpretty.last_request().method, "DELETE") def <API key>(self): self.<API key>(self.comment_id, 404) response = self.client.delete(self.url) self.assertEqual(response.status_code, 404) @httpretty.activate @disable_signal(api, 'comment_created') @mock.patch.dict("django.conf.settings.FEATURES", {"<API key>": True}) class <API key>(<API key>, ModuleStoreTestCase): """Tests for CommentViewSet create""" def setUp(self): super(<API key>, self).setUp() self.url = reverse("comment-list") def test_basic(self): self.<API key>(self.user) self.register_thread() self.register_comment() request_data = { "thread_id": "test_thread", "raw_body": "Test body", } <API key> = { "id": "test_comment", "thread_id": "test_thread", "parent_id": None, "author": self.user.username, "author_label": None, "created_at": "1970-01-01T00:00:00Z", "updated_at": "1970-01-01T00:00:00Z", "raw_body": "Test body", "rendered_body": "<p>Test body</p>", "endorsed": False, "endorsed_by": None, "endorsed_by_label": None, "endorsed_at": None, "abuse_flagged": False, "voted": False, "vote_count": 0, "children": [], "editable_fields": ["abuse_flagged", "raw_body", "voted"], "child_count": 0, } response = self.client.post( self.url, json.dumps(request_data), content_type="application/json" ) self.assertEqual(response.status_code, 200) response_data = json.loads(response.content) self.assertEqual(response_data, <API key>) self.assertEqual( urlparse(httpretty.last_request().path).path, "/api/v1/threads/test_thread/comments" ) self.assertEqual( httpretty.last_request().parsed_body, { "course_id": [unicode(self.course.id)], "body": ["Test body"], "user_id": [str(self.user.id)], } ) def test_error(self): response = self.client.post( self.url, json.dumps({}), content_type="application/json" ) <API key> = { "field_errors": {"thread_id": {"developer_message": "This field is required."}} } self.assertEqual(response.status_code, 400) response_data = json.loads(response.content) self.assertEqual(response_data, <API key>) def test_closed_thread(self): self.<API key>(self.user) self.register_thread({"closed": True}) self.register_comment() request_data = { "thread_id": "test_thread", "raw_body": "Test body" } response = self.client.post( self.url, json.dumps(request_data), content_type="application/json" ) self.assertEqual(response.status_code, 403) @ddt.ddt @disable_signal(api, 'comment_edited') @mock.patch.dict("django.conf.settings.FEATURES", {"<API key>": True}) class <API key>(<API key>, ModuleStoreTestCase, PatchMediaTypeMixin): """Tests for CommentViewSet partial_update""" def setUp(self): self.<API key> = JSONParser.media_type super(<API key>, self).setUp() httpretty.reset() httpretty.enable() self.addCleanup(httpretty.disable) self.<API key>(self.user) self.url = reverse("comment-detail", kwargs={"comment_id": "test_comment"}) def <API key>(self, overrides=None): """ create expected response data from comment update endpoint """ response_data = { "id": "test_comment", "thread_id": "test_thread", "parent_id": None, "author": self.user.username, "author_label": None, "created_at": "1970-01-01T00:00:00Z", "updated_at": "1970-01-01T00:00:00Z", "raw_body": "Original body", "rendered_body": "<p>Original body</p>", "endorsed": False, "endorsed_by": None, "endorsed_by_label": None, "endorsed_at": None, "abuse_flagged": False, "voted": False, "vote_count": 0, "children": [], "editable_fields": [], "child_count": 0, } response_data.update(overrides or {}) return response_data def test_basic(self): self.register_thread() self.register_comment({"created_at": "Test Created Date", "updated_at": "Test Updated Date"}) request_data = {"raw_body": "Edited body"} response = self.request_patch(request_data) self.assertEqual(response.status_code, 200) response_data = json.loads(response.content) self.assertEqual( response_data, self.<API key>({ "raw_body": "Edited body", "rendered_body": "<p>Edited body</p>", "editable_fields": ["abuse_flagged", "raw_body", "voted"], "created_at": "Test Created Date", "updated_at": "Test Updated Date", }) ) self.assertEqual( httpretty.last_request().parsed_body, { "body": ["Edited body"], "course_id": [unicode(self.course.id)], "user_id": [str(self.user.id)], "anonymous": ["False"], "anonymous_to_peers": ["False"], "endorsed": ["False"], } ) def test_error(self): self.register_thread() self.register_comment() request_data = {"raw_body": ""} response = self.request_patch(request_data) <API key> = { "field_errors": {"raw_body": {"developer_message": "This field may not be blank."}} } self.assertEqual(response.status_code, 400) response_data = json.loads(response.content) self.assertEqual(response_data, <API key>) @ddt.data( ("abuse_flagged", True), ("abuse_flagged", False), ) @ddt.unpack def test_closed_thread(self, field, value): self.register_thread({"closed": True}) self.register_comment() self.<API key>("comment", "test_comment") request_data = {field: value} response = self.request_patch(request_data) self.assertEqual(response.status_code, 200) response_data = json.loads(response.content) self.assertEqual( response_data, self.<API key>({ "abuse_flagged": value, "editable_fields": ["abuse_flagged"], }) ) @ddt.data( ("raw_body", "Edited body"), ("voted", True), ("following", True), ) @ddt.unpack def <API key>(self, field, value): self.register_thread({"closed": True}) self.register_comment() request_data = {field: value} response = self.request_patch(request_data) self.assertEqual(response.status_code, 400) @httpretty.activate @mock.patch.dict("django.conf.settings.FEATURES", {"<API key>": True}) class <API key>(<API key>, ModuleStoreTestCase, <API key>): """Tests for ThreadViewSet Retrieve""" def setUp(self): super(<API key>, self).setUp() self.url = reverse("thread-detail", kwargs={"thread_id": "test_thread"}) self.thread_id = "test_thread" def test_basic(self): self.<API key>(self.user) cs_thread = <API key>({ "id": self.thread_id, "course_id": unicode(self.course.id), "commentable_id": "test_topic", "username": self.user.username, "user_id": str(self.user.id), "title": "Test Title", "body": "Test body", "created_at": "2015-05-29T00:00:00Z", "updated_at": "2015-05-29T00:00:00Z" }) <API key> = { "author": self.user.username, "author_label": None, "created_at": "2015-05-29T00:00:00Z", "updated_at": "2015-05-29T00:00:00Z", "raw_body": "Test body", "rendered_body": "<p>Test body</p>", "abuse_flagged": False, "voted": False, "vote_count": 0, "editable_fields": ["abuse_flagged", "following", "raw_body", "read", "title", "topic_id", "type", "voted"], "course_id": unicode(self.course.id), "topic_id": "test_topic", "group_id": None, "group_name": None, "title": "Test Title", "pinned": False, "closed": False, "following": False, "comment_count": 1, "<API key>": 1, "comment_list_url": "http://testserver/api/discussion/v1/comments/?thread_id=test_thread", "<API key>": None, "<API key>": None, "read": False, "has_endorsed": False, "id": "test_thread", "type": "discussion", "response_count": 0, } self.<API key>(cs_thread) response = self.client.get(self.url) self.assertEqual(response.status_code, 200) self.assertEqual(json.loads(response.content), <API key>) self.assertEqual(httpretty.last_request().method, "GET") def <API key>(self): self.<API key>(self.thread_id, 404) response = self.client.get(self.url) self.assertEqual(response.status_code, 404) def <API key>(self): """ Tests thread has user profile image details if called in requested_fields """ self.<API key>(self.user) cs_thread = <API key>({ "id": self.thread_id, "course_id": unicode(self.course.id), "username": self.user.username, "user_id": str(self.user.id), }) self.<API key>(cs_thread) self.<API key>(self.user, <API key>()) response = self.client.get(self.url, {"requested_fields": "profile_image"}) self.assertEqual(response.status_code, 200) <API key> = self.<API key>(self.user.username) response_users = json.loads(response.content)['users'] self.assertEqual(<API key>, response_users[self.user.username]) @httpretty.activate @mock.patch.dict("django.conf.settings.FEATURES", {"<API key>": True}) class <API key>(<API key>, ModuleStoreTestCase, <API key>): """Tests for CommentViewSet Retrieve""" def setUp(self): super(<API key>, self).setUp() self.url = reverse("comment-detail", kwargs={"comment_id": "test_comment"}) self.thread_id = "test_thread" self.comment_id = "test_comment" def make_comment_data(self, comment_id, parent_id=None, children=[]): # pylint: disable=W0102 """ Returns comment dict object as returned by comments service """ return <API key>({ "id": comment_id, "parent_id": parent_id, "course_id": unicode(self.course.id), "thread_id": self.thread_id, "thread_type": "discussion", "username": self.user.username, "user_id": str(self.user.id), "created_at": "2015-06-03T00:00:00Z", "updated_at": "2015-06-03T00:00:00Z", "body": "Original body", "children": children, }) def test_basic(self): self.<API key>(self.user) cs_comment_child = self.make_comment_data("test_child_comment", self.comment_id, children=[]) cs_comment = self.make_comment_data(self.comment_id, None, [cs_comment_child]) cs_thread = <API key>({ "id": self.thread_id, "course_id": unicode(self.course.id), "children": [cs_comment], }) self.<API key>(cs_thread) self.<API key>(cs_comment) <API key> = { "id": "test_child_comment", "parent_id": self.comment_id, "thread_id": self.thread_id, "author": self.user.username, "author_label": None, "raw_body": "Original body", "rendered_body": "<p>Original body</p>", "created_at": "2015-06-03T00:00:00Z", "updated_at": "2015-06-03T00:00:00Z", "children": [], "endorsed_at": None, "endorsed": False, "endorsed_by": None, "endorsed_by_label": None, "voted": False, "vote_count": 0, "abuse_flagged": False, "editable_fields": ["abuse_flagged", "raw_body", "voted"], "child_count": 0, } response = self.client.get(self.url) self.assertEqual(response.status_code, 200) self.assertEqual(json.loads(response.content)['results'][0], <API key>) def <API key>(self): self.<API key>(self.comment_id, 404) response = self.client.get(self.url) self.assertEqual(response.status_code, 404) def test_pagination(self): """ Test that pagination parameters are correctly plumbed through to the comments service and that a 404 is correctly returned if a page past the end is requested """ self.<API key>(self.user) cs_comment_child = self.make_comment_data("test_child_comment", self.comment_id, children=[]) cs_comment = self.make_comment_data(self.comment_id, None, [cs_comment_child]) cs_thread = <API key>({ "id": self.thread_id, "course_id": unicode(self.course.id), "children": [cs_comment], }) self.<API key>(cs_thread) self.<API key>(cs_comment) response = self.client.get( self.url, {"comment_id": self.comment_id, "page": "18", "page_size": "4"} ) self.<API key>( response, 404, {"developer_message": "Page not found (No results on this page)."} ) def <API key>(self): """ Tests all comments retrieved have user profile image details if called in requested_fields """ self.<API key>(self.user) cs_comment_child = self.make_comment_data('test_child_comment', self.comment_id, children=[]) cs_comment = self.make_comment_data(self.comment_id, None, [cs_comment_child]) cs_thread = <API key>({ 'id': self.thread_id, 'course_id': unicode(self.course.id), 'children': [cs_comment], }) self.<API key>(cs_thread) self.<API key>(cs_comment) self.<API key>(self.user, <API key>()) response = self.client.get(self.url, {'requested_fields': 'profile_image'}) self.assertEqual(response.status_code, 200) response_comments = json.loads(response.content)['results'] for response_comment in response_comments: <API key> = self.<API key>(response_comment['author']) response_users = response_comment['users'] self.assertEqual(<API key>, response_users[response_comment['author']])
package org.javatari.atari.cartridge.formats; import org.javatari.atari.cartridge.Cartridge; import org.javatari.atari.cartridge.CartridgeFormat; import org.javatari.atari.cartridge.<API key>; import org.javatari.atari.cartridge.ROM; /** * Implements the 4K unbanked format. Smaller ROMs will be copied multiple times to fill the entire 4K */ public final class Cartridge4K extends Cartridge { private Cartridge4K(ROM rom) { super(rom, FORMAT); // Always use a 4K ROM image, multiplying the ROM internally bytes = new byte[MAX_SIZE]; int len = rom.content.length; for (int pos = 0; pos < bytes.length; pos += len) System.arraycopy(rom.content, 0, bytes, pos, len); } private static final int MIN_SIZE = 8; private static final int MAX_SIZE = 4096; public static final CartridgeFormat FORMAT = new CartridgeFormat("4K", "4K Atari") { @Override public Cartridge createCartridge(ROM rom) { return new Cartridge4K(rom); } @Override public <API key> getOption(ROM rom) { if (rom.content.length < MIN_SIZE || rom.content.length > MAX_SIZE || MAX_SIZE % rom.content.length != 0) return null; return new <API key>(101, this, rom); } private static final long serialVersionUID = 1L; }; public static final long serialVersionUID = 1L; }
// // // // //# This program is free software: you can redistribute it and/or modify # // //# published by the Free Software Foundation, either version 3 of the # // // //# This program is distributed in the hope that it will be useful, # // //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # // // // // // //# IMS MAXIMS provides absolutely NO GUARANTEE OF THE CLINICAL SAFTEY of # //# this program. Users of this software do so entirely at their own risk. # //# IMS MAXIMS only ensures the Clinical Safety of unaltered run-time # //# software that it builds, deploys and maintains. # // // //#EOH // This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5589.25814) // WARNING: DO NOT MODIFY the content of this file package ims.core.vo.beans; public class <API key> extends ims.vo.ValueObjectBean { public <API key>() { } public <API key>(ims.core.vo.MedicationRouteVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.route = vo.getRoute() == null ? null : (ims.vo.LookupInstanceBean)vo.getRoute().getBean(); this.routeunits = vo.getRouteUnits() == null ? null : vo.getRouteUnits().getBeanCollection(); } public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.MedicationRouteVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.route = vo.getRoute() == null ? null : (ims.vo.LookupInstanceBean)vo.getRoute().getBean(); this.routeunits = vo.getRouteUnits() == null ? null : vo.getRouteUnits().getBeanCollection(); } public ims.core.vo.MedicationRouteVo buildVo() { return this.buildVo(new ims.vo.ValueObjectBeanMap()); } public ims.core.vo.MedicationRouteVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.core.vo.MedicationRouteVo vo = null; if(map != null) vo = (ims.core.vo.MedicationRouteVo)map.getValueObject(this); if(vo == null) { vo = new ims.core.vo.MedicationRouteVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; } public Integer getId() { return this.id; } public void setId(Integer value) { this.id = value; } public int getVersion() { return this.version; } public void setVersion(int value) { this.version = value; } public ims.vo.LookupInstanceBean getRoute() { return this.route; } public void setRoute(ims.vo.LookupInstanceBean value) { this.route = value; } public ims.core.vo.beans.<API key>[] getRouteUnits() { return this.routeunits; } public void setRouteUnits(ims.core.vo.beans.<API key>[] value) { this.routeunits = value; } private Integer id; private int version; private ims.vo.LookupInstanceBean route; private ims.core.vo.beans.<API key>[] routeunits; }
import { settled } from "@ember/test-helpers"; import { setupMirage } from "ember-cli-mirage/test-support"; import { setupTest } from "ember-qunit"; import { module, test } from "qunit"; module("Unit | Service | unverified reports", function(hooks) { setupTest(hooks); setupMirage(hooks); test("exists", async function(assert) { const service = this.owner.lookup("service:unverified-reports"); await settled(); assert.ok(service); }); });
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. --This program is distributed in the hope that it will be useful, --but WITHOUT ANY WARRANTY; without even the implied warranty of --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --See the GNU Lesser General Public License for --more details. --You should have received a copy of the GNU Lesser General --Public License along with this program; if not, write to --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --Linking Engine3 statically or dynamically with other modules --is making a combined work based on Engine3. --Thus, the terms and conditions of the GNU Lesser General Public License --cover the whole combination. --In addition, as a special exception, the copyright holders of Engine3 --give you permission to combine Engine3 program with free software --programs or libraries that are released under the GNU LGPL and with --code included in the standard release of Core3 under the GNU LGPL --license (or modified versions of such code, with unchanged license). --You may copy and distribute such a system following the terms of the --GNU LGPL for Engine3 and the licenses of the other code concerned, --provided that you include the source code of that other code when --and as the GNU LGPL requires distribution of source code. --Note that people who make modified versions of Engine3 are not obligated --to grant this special exception for their modified versions; --it is their choice whether to do so. The GNU Lesser General Public License --gives permission to release a modified version without this exception; --this exception also makes it possible to release a modified version <API key> = <API key>:new { <API key> = {1, 1, 2, 2}, <API key> = {"XX", "XX", "CD", "OQ", "CD", "OQ"}, experimentalWeights = {1, 1, 3, 1, 3, 1}, <API key> = {"null", "null", "exp_cap_max_energy", "exp_recharge"}, <API key> = {"null", "null", "<API key>", "<API key>"}, experimentalMin = {0, 0, 103, -6}, experimentalMax = {0, 0, 139, -4}, <API key> = {0, 0, 1, 1}, <API key> = {0, 0, 1, 1}, } ObjectTemplates:addTemplate(<API key>, "object/tangible/ship/crafted/capacitor/<API key>.iff")
# This file is part of Canvas. # Canvas is free software: you can redistribute it and/or modify it under # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY # details. require_dependency 'importers' module Importers class RubricImporter < Importer self.item_class = Rubric def self.process_migration(data, migration) rubrics = data['rubrics'] ? data['rubrics']: [] migration.outcome_to_id_map ||= {} rubrics.each do |rubric| if migration.import_object?("rubrics", rubric['migration_id']) begin self.<API key>(rubric, migration) rescue migration.add_import_warning(t('#migration.rubric_type', "Rubric"), rubric[:title], $!) end end end end def self.<API key>(hash, migration, item=nil) context = migration.context hash = hash.<API key> return nil if hash[:migration_id] && hash[:rubrics_to_import] && !hash[:rubrics_to_import][hash[:migration_id]] rubric = nil if !item && hash[:external_identifier] rubric = context.available_rubric(hash[:external_identifier]) unless migration.cross_institution? if !rubric Rails.logger.warn("The external Rubric couldn't be found for \"#{hash[:title]}\", creating a copy.") end end if rubric item = rubric else item ||= Rubric.where(context_id: context, context_type: context.class.to_s, id: hash[:id]).first item ||= Rubric.where(context_id: context, context_type: context.class.to_s, migration_id: hash[:migration_id]).first if hash[:migration_id] item ||= Rubric.new(:context => context) item.migration_id = hash[:migration_id] item.workflow_state = 'active' if item.deleted? item.title = hash[:title] item.<API key> # just in case item.description = hash[:description] item.points_possible = hash[:points_possible].to_f item.read_only = hash[:read_only] unless hash[:read_only].nil? item.reusable = hash[:reusable] unless hash[:reusable].nil? item.public = hash[:public] unless hash[:public].nil? item.hide_score_total = hash[:hide_score_total] unless hash[:hide_score_total].nil? item.<API key> = hash[:<API key>] unless hash[:<API key>].nil? item.data = hash[:data] item.data.each do |crit| if crit[:<API key>].present? if migration.respond_to?(:outcome_to_id_map) && id = migration.outcome_to_id_map[crit[:<API key>]] crit[:learning_outcome_id] = id elsif lo = context.<API key>.where(migration_id: crit[:<API key>]).first crit[:learning_outcome_id] = lo.id end elsif crit[:<API key>].present? && !migration.cross_institution? if lo = context.available_outcome(crit[:<API key>]) crit[:learning_outcome_id] = lo.id end end crit.delete(:<API key>) crit.delete(:<API key>) end item.<API key> = true migration.add_imported_item(item) item.save! end if association = context.rubric_associations.where(rubric_id: item).first unless association.bookmarked association.bookmarked = true association.save! end else item.associate_with(context, context) end item end end end
// // // // //# This program is free software: you can redistribute it and/or modify # // //# published by the Free Software Foundation, either version 3 of the # // // //# This program is distributed in the hope that it will be useful, # // //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # // // // // // // //#EOH // This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5007.25751) // WARNING: DO NOT MODIFY the content of this file package ims.emergency.vo; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import ims.framework.enumerations.SortOrder; /** * Linked to emergency.Tracking business object (ID: 1086100005). */ public class <API key> extends ims.vo.<API key> implements ims.vo.ImsCloneable, Iterable<<API key>> { private static final long serialVersionUID = 1L; private ArrayList<<API key>> col = new ArrayList<<API key>>(); public String getBoClassName() { return "ims.emergency.domain.objects.Tracking"; } public boolean add(<API key> value) { if(value == null) return false; if(this.col.indexOf(value) < 0) { return this.col.add(value); } return false; } public boolean add(int index, <API key> value) { if(value == null) return false; if(this.col.indexOf(value) < 0) { this.col.add(index, value); return true; } return false; } public void clear() { this.col.clear(); } public void remove(int index) { this.col.remove(index); } public int size() { return this.col.size(); } public int indexOf(<API key> instance) { return col.indexOf(instance); } public <API key> get(int index) { return this.col.get(index); } public boolean set(int index, <API key> value) { if(value == null) return false; this.col.set(index, value); return true; } public void remove(<API key> instance) { if(instance != null) { int index = indexOf(instance); if(index >= 0) remove(index); } } public boolean contains(<API key> instance) { return indexOf(instance) >= 0; } public Object clone() { <API key> clone = new <API key>(); for(int x = 0; x < this.col.size(); x++) { if(this.col.get(x) != null) clone.col.add((<API key>)this.col.get(x).clone()); else clone.col.add(null); } return clone; } public boolean isValidated() { for(int x = 0; x < col.size(); x++) if(!this.col.get(x).isValidated()) return false; return true; } public String[] validate() { return validate(null); } public String[] validate(String[] existingErrors) { if(col.size() == 0) return null; java.util.ArrayList<String> listOfErrors = new java.util.ArrayList<String>(); if(existingErrors != null) { for(int x = 0; x < existingErrors.length; x++) { listOfErrors.add(existingErrors[x]); } } for(int x = 0; x < col.size(); x++) { String[] listOfOtherErrors = this.col.get(x).validate(); if(listOfOtherErrors != null) { for(int y = 0; y < listOfOtherErrors.length; y++) { listOfErrors.add(listOfOtherErrors[y]); } } } int errorCount = listOfErrors.size(); if(errorCount == 0) return null; String[] result = new String[errorCount]; for(int x = 0; x < errorCount; x++) result[x] = (String)listOfErrors.get(x); return result; } public <API key> sort() { return sort(SortOrder.ASCENDING); } public <API key> sort(boolean caseInsensitive) { return sort(SortOrder.ASCENDING, caseInsensitive); } public <API key> sort(SortOrder order) { return sort(new <API key>(order)); } public <API key> sort(SortOrder order, boolean caseInsensitive) { return sort(new <API key>(order, caseInsensitive)); } @SuppressWarnings("unchecked") public <API key> sort(Comparator comparator) { Collections.sort(col, comparator); return this; } public ims.emergency.vo.<API key> toRefVoCollection() { ims.emergency.vo.<API key> result = new ims.emergency.vo.<API key>(); for(int x = 0; x < this.col.size(); x++) { result.add(this.col.get(x)); } return result; } public <API key>[] toArray() { <API key>[] arr = new <API key>[col.size()]; col.toArray(arr); return arr; } public Iterator<<API key>> iterator() { return col.iterator(); } @Override protected ArrayList getTypedCollection() { return col; } private class <API key> implements Comparator { private int direction = 1; private boolean caseInsensitive = true; public <API key>() { this(SortOrder.ASCENDING); } public <API key>(SortOrder order) { if (order == SortOrder.DESCENDING) { direction = -1; } } public <API key>(SortOrder order, boolean caseInsensitive) { if (order == SortOrder.DESCENDING) { direction = -1; } this.caseInsensitive = caseInsensitive; } public int compare(Object obj1, Object obj2) { <API key> voObj1 = (<API key>)obj1; <API key> voObj2 = (<API key>)obj2; return direction*(voObj1.compareTo(voObj2, this.caseInsensitive)); } public boolean equals(Object obj) { return false; } } public ims.emergency.vo.beans.<API key>[] getBeanCollection() { return <API key>(); } public ims.emergency.vo.beans.<API key>[] <API key>() { ims.emergency.vo.beans.<API key>[] result = new ims.emergency.vo.beans.<API key>[col.size()]; for(int i = 0; i < col.size(); i++) { <API key> vo = ((<API key>)col.get(i)); result[i] = (ims.emergency.vo.beans.<API key>)vo.getBean(); } return result; } public static <API key> <API key>(java.util.Collection beans) { <API key> coll = new <API key>(); if(beans == null) return coll; java.util.Iterator iter = beans.iterator(); while (iter.hasNext()) { coll.add(((ims.emergency.vo.beans.<API key>)iter.next()).buildVo()); } return coll; } public static <API key> <API key>(ims.emergency.vo.beans.<API key>[] beans) { <API key> coll = new <API key>(); if(beans == null) return coll; for(int x = 0; x < beans.length; x++) { coll.add(beans[x].buildVo()); } return coll; } }
(function() { tinymce.create('tinymce.plugins.InstructureRecord', { init : function(ed, url) { ed.addCommand('instructureRecord', function() { var $editor = $("#" + ed.id); $.mediaComment('create', 'any', function(id, mediaType) { $editor.editorBox('insert_code', "<a href='/media_objects/" + id + "' class='<API key> " + (mediaType || "video") + "_comment' id='media_comment_" + id + "'>this is a media comment</a><br>"); ed.selection.select($(ed.getBody()).find("#media_comment_"+id+" + br")[0]); ed.selection.collapse(true); }) }); ed.addButton('instructure_record', { title: 'Record/Upload Media', cmd: 'instructureRecord', image: url + '/img/record.gif' }); }, getInfo : function() { return { longname : 'InstructureRecord', author : 'Brian Whitmer', authorurl : 'http: infourl : 'http: version : tinymce.majorVersion + "." + tinymce.minorVersion }; } }); // Register plugin tinymce.PluginManager.add('instructure_record', tinymce.plugins.InstructureRecord); })();
require 'rails_helper' describe Devise::Models::JwtAuthenticatable do let(:model) { User } let(:factory) { model.to_s.downcase } let(:secret) { 'secret' } let(:exp) { 1.month.from_now } let(:claim) do { resource_id: resource.id, exp: exp.to_i } end let(:resource) { create factory } before do Timecop.freeze(Time.now) allow(Rails.application.secrets).to receive(:secret_key_base).and_return(secret) end after { Timecop.return } describe '#new_jwt' do subject { resource } let(:token) { make_token(claim, secret) } its(:new_jwt) { is_expected.to eq(token) } end describe '.from_jwt' do subject { model.from_jwt(token) } context 'valid token' do let(:token) { make_token(claim, secret) } it { is_expected.to eq(resource) } end context 'expired token' do let(:token) { make_token(claim.update(exp: Time.now.to_i - 100), secret) } it { is_expected.to be_nil } end context 'tampered token' do let!(:other) { create factory } let(:token) do new_claim = claim.dup.update(resource_id: other.id) new_claim_encoded = make_token(new_claim, secret).split('.')[1] orig_token = make_token(claim, secret).split('.') orig_token[1] = new_claim_encoded orig_token.join('.') end it { is_expected.to be_nil } end end def make_token(claim, secret) JSON::JWT.new(claim).sign(secret).to_s end end
class OAuthService def self.find_or_create_user(auth, signed_in_resource = nil) # Get the identity and user if they exist identity = <API key>(auth) # If a signed_in_resource is provided it always overrides the existing user # to prevent the identity being locked with accidentally created accounts. # Note that this may leave zombie accounts (with no associated identity) which # can be cleaned up at a later date. user = signed_in_resource ? signed_in_resource : identity.user # Create the user if needed if user.nil? # Get the existing user by email if the provider gives us a verified email. # If no verified email was provided we assign a temporary email and ask the # user to verify it on the next step via UsersController.finish_signup # email_is_verified = auth.info.email && (auth.info.verified || auth.info.verified_email) # email = auth.info.email if email_is_verified email = auth.info.email email ||= "#{User::TEMP_EMAIL_PREFIX}-#{auth.uid}-#{auth.provider}.com" user = User.where(:email => email).first if email # Create the user if it's a new registration if user.nil? user = User.new( name: auth.extra.raw_info.name, #username: auth.info.nickname || auth.uid, email: email, password: Devise.friendly_token[0,20] ) user.save! end end # Associate the identity with the user if needed if identity.user != user identity.user = user identity.save! end user end def self.<API key>(auth) identity = Identity.find_by(provider: auth.provider, uid: auth.uid) identity = Identity.create(uid: auth.uid, provider: auth.provider) if identity.nil? identity end end
DROP FUNCTION pg_catalog.<API key>(text, text, int, citus.distribution_type, text[], text[], boolean); CREATE OR REPLACE FUNCTION pg_catalog.<API key>( result_prefix text, query text, <API key> int, partition_method citus.distribution_type, <API key> text[], <API key> text[], binary_copy boolean, <API key> boolean DEFAULT false, <API key> boolean DEFAULT false, OUT partition_index int, OUT rows_written bigint, OUT bytes_written bigint) RETURNS SETOF record LANGUAGE C STRICT VOLATILE AS 'MODULE_PATHNAME', $$<API key>$$; COMMENT ON FUNCTION pg_catalog.<API key>(text, text, int, citus.distribution_type, text[], text[], boolean, boolean, boolean) IS 'execute a query and partitions its results in set of local result files';
package com.rapidminer.example.table; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Random; import java.util.logging.Level; import com.rapidminer.example.Attribute; import com.rapidminer.tools.LogService; /** * This class is the core data supplier for example sets. Several example sets * can use the same data and access the attribute values by reference. In this * case the data is hold in the main memory during the process. * * @author Ingo Mierswa */ public class MemoryExampleTable extends <API key> { private static final long serialVersionUID = -<API key>; /** List of {@link DataRow}s. */ private List<DataRow> dataList = new ArrayList<DataRow>(); /** Number of columns. */ private int columns; /** Number of columns to add when new columns are allocated. */ private static final int INCREMENT = 10; /** * Creates a new instance of MemoryExampleTable. * * @param attributes * Array of {@link Attribute} containing the attributes of the * columns. None of these must be null. */ public MemoryExampleTable(Attribute... attributes) { this(Arrays.asList(attributes)); } /** * Creates a new instance of MemoryExampleTable. * * @param attributes * List of {@link Attribute} containing the attributes of the * columns. None of these must be null. */ public MemoryExampleTable(List<Attribute> attributes) { super(attributes); this.columns = attributes.size(); } /** * Creates a new instance of MemoryExampleTable. * * @param attributes * List of {@link Attribute} containing the attributes of the * columns. None of these must be null. * @param size * initial size of this example table. All values will be * Double.NaN. */ public MemoryExampleTable(List<Attribute> attributes, DataRowFactory factory, int size) { this(attributes); dataList = new ArrayList<DataRow>(size); for (int i = 0; i < size; i++) { DataRow dataRow = factory.create(attributes.size()); for (Attribute attribute : attributes) { dataRow.set(attribute, Double.NaN); } dataList.add(dataRow); } } /** * Creates an empty memory example table and fills it with the data rows * read from i. */ public MemoryExampleTable(List<Attribute> attributes, DataRowReader i) { this(attributes, i, false); } /** * Creates an empty memory example table and fills it with the data rows * read from i. */ public MemoryExampleTable(List<Attribute> attributes, DataRowReader i, boolean permute) { this(attributes); readExamples(i, permute); } /** * Reads the examples into memory in the order they are delivered by the * given reader. Removes all old data rows first. */ public void readExamples(DataRowReader i) { readExamples(i, false); } /** * Reads the examples into memory and permutes the order. Removes all old * data rows first. */ public void readExamples(DataRowReader i, boolean permute) { readExamples(i, permute, null); } /** * Reads the examples into memory and permutes the order. Removes all old * data rows first. */ public void readExamples(DataRowReader i, boolean permute, Random random) { dataList.clear(); while (i.hasNext()) { if (permute) { if (random == null) { random = new Random(); } int index = random.nextInt(dataList.size() + 1); dataList.add(index, i.next()); } else { dataList.add(i.next()); } } } /** Returns a new data row reader. */ public DataRowReader getDataRowReader() { return new ListDataRowReader(dataList.iterator()); } /** Returns the data row with the given index. */ public DataRow getDataRow(int index) { return dataList.get(index); } /** Returns the size of this example table, i.e. the number of data rows. */ public int size() { return dataList.size(); } /** * Convenience method allowing the adding of data rows without a data row * reader. This will trim the data row before to save memory. */ public void addDataRow(DataRow dataRow) { dataRow.trim(); dataList.add(dataRow); // this has to be called in order to make sure, the row matches the current column count. dataRow.<API key>(columns); } /** Convenience method for removing data rows. */ public boolean removeDataRow(DataRow dataRow) { return dataList.remove(dataRow); } /** Convenience method for removing data rows. */ public DataRow removeDataRow(int index) { return dataList.remove(index); } /** Clears the table. */ public void clear() { dataList.clear(); } /** * Adds all {@link Attribute}s in <code>newAttributes</code> to the end * of the list of attributes, creating new data columns if necessary. This * method is much faster than calling repeatedly addAttribute, because this would * cause the data rows to be enlarged and hence copied many times. */ @Override public void addAttributes(Collection<Attribute> newAttributes) { if (dataList != null) { if (<API key>() + newAttributes.size() > columns) { columns = <API key>() + newAttributes.size(); Iterator<DataRow> i = dataList.iterator(); while (i.hasNext()) i.next().<API key>(columns); } } // adding attributes Iterator<Attribute> i = newAttributes.iterator(); while (i.hasNext()) addAttribute(i.next()); } /** * Adds a new attribute to this example table by invoking the super method. * If the number of attributes reaches a threshold, the number of attributes * is increased by INCREMENT attributes. This avoids a large number of array * copies in cases like automatic feature construction etc. */ @Override public synchronized int addAttribute(Attribute attribute) { int index = super.addAttribute(attribute); if (dataList == null) return index; int n = <API key>(); if (n <= columns) return index; int newSize = n + INCREMENT; //LogService.getGlobal().log("Resizing example table from " + columns + " to " + newSize + " columns.", LogService.STATUS); LogService.getRoot().log(Level.FINE, "com.rapidminer.example.table.MemoryExampleTable.<API key>", new Object[] {columns, newSize}); columns = newSize; if (dataList != null) { Iterator<DataRow> i = dataList.iterator(); while (i.hasNext()) i.next().<API key>(columns); } return index; } public static MemoryExampleTable createCompleteCopy(ExampleTable oldTable) { MemoryExampleTable table = new MemoryExampleTable(Arrays.asList(oldTable.getAttributes())); DataRowReader reader = oldTable.getDataRowReader(); while (reader.hasNext()) { DataRow dataRow = reader.next(); double[] newDataRowData = new double[oldTable.<API key>()]; for (int a = 0; a < oldTable.<API key>(); a++) { Attribute attribute = oldTable.getAttribute(a); if (attribute != null) { newDataRowData[a] = dataRow.get(attribute); } else { newDataRowData[a] = Double.NaN; } } table.addDataRow(new DoubleArrayDataRow(newDataRowData)); } return table; } }
class BadgeGroup < ApplicationRecord self.primary_key = 'badge_group_id' self.table_name = 'badge_groups' has_many :badge_badge_groups, dependent: :delete_all has_many :badges, -> { order(:order) }, through: :badge_badge_groups validates :name, presence: true, length: { in: 2..255 }, allow_blank: false, uniqueness: { case_sensitive: false } end # eof
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>OpenLayers 3 API Documentation - Namespace: interaction</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <script src="scripts/jquery.min.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif] <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link type="text/css" rel="stylesheet" href="styles/bootstrap.min.css"> <link type="text/css" rel="stylesheet" href="styles/jaguar.css"> </head> <body> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a class="brand" href="/"><img src="../resources/logo.png" width="40"> OpenLayers 3</a> <a class="brand" href="index.html">API Documentation</a> <label id="stability"> <input type="checkbox" id="stability-toggle" checked> Stable Only </label> </div> </div> </div> <div id="wrap" class="clearfix"> <div class="navigation"> <div class="search"> <input id="search" type="text" class="form-control input-sm" placeholder="Search Documentation"> </div> <ul class="list"> <li class="item" data-name="ol"> <span class="title"> <a href="ol.html">ol</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.<API key>"><a href="ol.html#<API key>"><API key></a></li> </ul> <ul class="typedefs itemMembers"> <span class="subtitle">Typedefs</span> <li data-name="ol.CanvasFunctionType" class="unstable"> <a href="ol.html#CanvasFunctionType">CanvasFunctionType</a> </li> <li data-name="ol.Color" class="unstable"> <a href="ol.html#Color">Color</a> </li> <li data-name="ol.Coordinate" class=""> <a href="ol.html#Coordinate">Coordinate</a> </li> <li data-name="ol.<API key>" class=""> <a href="ol.html#<API key>"><API key></a> </li> <li data-name="ol.Extent" class=""> <a href="ol.html#Extent">Extent</a> </li> <li data-name="ol.<API key>" class="unstable"> <a href="ol.html#<API key>"><API key></a> </li> <li data-name="ol.OverlayPositioning" class=""> <a href="ol.html#OverlayPositioning">OverlayPositioning</a> </li> <li data-name="ol.Pixel" class=""> <a href="ol.html#Pixel">Pixel</a> </li> <li data-name="ol.PreRenderFunction" class="unstable"> <a href="ol.html#PreRenderFunction">PreRenderFunction</a> </li> <li data-name="ol.RendererType" class=""> <a href="ol.html#RendererType">RendererType</a> </li> <li data-name="ol.Size" class=""> <a href="ol.html#Size">Size</a> </li> <li data-name="ol.TileCoord" class="unstable"> <a href="ol.html#TileCoord">TileCoord</a> </li> <li data-name="ol.<API key>" class="unstable"> <a href="ol.html#<API key>"><API key></a> </li> <li data-name="ol.TileUrlFunctionType" class="unstable"> <a href="ol.html#TileUrlFunctionType">TileUrlFunctionType</a> </li> <li data-name="ol.TransformFunction" class=""> <a href="ol.html#TransformFunction">TransformFunction</a> </li> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.inherits" class="unstable"> <a href="ol.html#inherits">inherits</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.Attribution"> <span class="title"> <a href="ol.Attribution.html">ol.Attribution</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.Attribution#getHTML" class=""> <a href="ol.Attribution.html#getHTML">getHTML</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.Collection"> <span class="title"> <a href="ol.Collection.html">ol.Collection</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.Collection#bindTo" class="unstable"> <a href="ol.Collection.html#bindTo">bindTo</a> </li> <li data-name="ol.Collection#changed" class="unstable"> <a href="ol.Collection.html#changed">changed</a> </li> <li data-name="ol.Collection#clear" class=""> <a href="ol.Collection.html#clear">clear</a> </li> <li data-name="ol.Collection#extend" class=""> <a href="ol.Collection.html#extend">extend</a> </li> <li data-name="ol.Collection#forEach" class=""> <a href="ol.Collection.html#forEach">forEach</a> </li> <li data-name="ol.Collection#get" class="unstable"> <a href="ol.Collection.html#get">get</a> </li> <li data-name="ol.Collection#getArray" class=""> <a href="ol.Collection.html#getArray">getArray</a> </li> <li data-name="ol.Collection#getKeys" class="unstable"> <a href="ol.Collection.html#getKeys">getKeys</a> </li> <li data-name="ol.Collection#getLength" class=""> <a href="ol.Collection.html#getLength">getLength</a> </li> <li data-name="ol.Collection#getProperties" class="unstable"> <a href="ol.Collection.html#getProperties">getProperties</a> </li> <li data-name="ol.Collection#getRevision" class="unstable"> <a href="ol.Collection.html#getRevision">getRevision</a> </li> <li data-name="ol.Collection#insertAt" class=""> <a href="ol.Collection.html#insertAt">insertAt</a> </li> <li data-name="ol.Collection#item" class=""> <a href="ol.Collection.html#item">item</a> </li> <li data-name="ol.Collection#on" class=""> <a href="ol.Collection.html#on">on</a> </li> <li data-name="ol.Collection#once" class=""> <a href="ol.Collection.html#once">once</a> </li> <li data-name="ol.Collection#pop" class=""> <a href="ol.Collection.html#pop">pop</a> </li> <li data-name="ol.Collection#push" class=""> <a href="ol.Collection.html#push">push</a> </li> <li data-name="ol.Collection#remove" class=""> <a href="ol.Collection.html#remove">remove</a> </li> <li data-name="ol.Collection#removeAt" class=""> <a href="ol.Collection.html#removeAt">removeAt</a> </li> <li data-name="ol.Collection#set" class="unstable"> <a href="ol.Collection.html#set">set</a> </li> <li data-name="ol.Collection#setAt" class=""> <a href="ol.Collection.html#setAt">setAt</a> </li> <li data-name="ol.Collection#setProperties" class="unstable"> <a href="ol.Collection.html#setProperties">setProperties</a> </li> <li data-name="ol.Collection#un" class=""> <a href="ol.Collection.html#un">un</a> </li> <li data-name="ol.Collection#unbind" class="unstable"> <a href="ol.Collection.html#unbind">unbind</a> </li> <li data-name="ol.Collection#unbindAll" class="unstable"> <a href="ol.Collection.html#unbindAll">unbindAll</a> </li> <li data-name="ol.Collection#unByKey" class=""> <a href="ol.Collection.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.CollectionEvent#event:add" class=""> <a href="ol.CollectionEvent.html#event:add">add</a> </li> <li data-name="ol.ObjectEvent#event:change:length" class="unstable"> change:length </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> <li data-name="ol.CollectionEvent#event:remove" class=""> <a href="ol.CollectionEvent.html#event:remove">remove</a> </li> </ul> </li> <li class="item" data-name="ol.CollectionEvent"> <span class="title"> <a href="ol.CollectionEvent.html">ol.CollectionEvent</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.CollectionEvent#element"><a href="ol.CollectionEvent.html#element">element</a></li> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.DeviceOrientation"> <span class="title"> <a href="ol.DeviceOrientation.html">ol.DeviceOrientation</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.DeviceOrientation#bindTo" class="unstable"> <a href="ol.DeviceOrientation.html#bindTo">bindTo</a> </li> <li data-name="ol.DeviceOrientation#changed" class="unstable"> <a href="ol.DeviceOrientation.html#changed">changed</a> </li> <li data-name="ol.DeviceOrientation#get" class="unstable"> <a href="ol.DeviceOrientation.html#get">get</a> </li> <li data-name="ol.DeviceOrientation#getAlpha" class="unstable"> <a href="ol.DeviceOrientation.html#getAlpha">getAlpha</a> </li> <li data-name="ol.DeviceOrientation#getBeta" class="unstable"> <a href="ol.DeviceOrientation.html#getBeta">getBeta</a> </li> <li data-name="ol.DeviceOrientation#getGamma" class="unstable"> <a href="ol.DeviceOrientation.html#getGamma">getGamma</a> </li> <li data-name="ol.DeviceOrientation#getHeading" class="unstable"> <a href="ol.DeviceOrientation.html#getHeading">getHeading</a> </li> <li data-name="ol.DeviceOrientation#getKeys" class="unstable"> <a href="ol.DeviceOrientation.html#getKeys">getKeys</a> </li> <li data-name="ol.DeviceOrientation#getProperties" class="unstable"> <a href="ol.DeviceOrientation.html#getProperties">getProperties</a> </li> <li data-name="ol.DeviceOrientation#getRevision" class="unstable"> <a href="ol.DeviceOrientation.html#getRevision">getRevision</a> </li> <li data-name="ol.DeviceOrientation#getTracking" class="unstable"> <a href="ol.DeviceOrientation.html#getTracking">getTracking</a> </li> <li data-name="ol.DeviceOrientation#on" class=""> <a href="ol.DeviceOrientation.html#on">on</a> </li> <li data-name="ol.DeviceOrientation#once" class=""> <a href="ol.DeviceOrientation.html#once">once</a> </li> <li data-name="ol.DeviceOrientation#set" class="unstable"> <a href="ol.DeviceOrientation.html#set">set</a> </li> <li data-name="ol.DeviceOrientation#setProperties" class="unstable"> <a href="ol.DeviceOrientation.html#setProperties">setProperties</a> </li> <li data-name="ol.DeviceOrientation#setTracking" class="unstable"> <a href="ol.DeviceOrientation.html#setTracking">setTracking</a> </li> <li data-name="ol.DeviceOrientation#un" class=""> <a href="ol.DeviceOrientation.html#un">un</a> </li> <li data-name="ol.DeviceOrientation#unbind" class="unstable"> <a href="ol.DeviceOrientation.html#unbind">unbind</a> </li> <li data-name="ol.DeviceOrientation#unbindAll" class="unstable"> <a href="ol.DeviceOrientation.html#unbindAll">unbindAll</a> </li> <li data-name="ol.DeviceOrientation#unByKey" class=""> <a href="ol.DeviceOrientation.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the device orientation changes." class="unstable"> change Triggered when the device orientation changes. </li> <li data-name="ol.ObjectEvent#event:change:alpha" class="unstable"> change:alpha </li> <li data-name="ol.ObjectEvent#event:change:beta" class="unstable"> change:beta </li> <li data-name="ol.ObjectEvent#event:change:gamma" class="unstable"> change:gamma </li> <li data-name="ol.ObjectEvent#event:change:heading" class="unstable"> change:heading </li> <li data-name="ol.ObjectEvent#event:change:tracking" class="unstable"> change:tracking </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.DragBoxEvent"> <span class="title"> <a href="ol.DragBoxEvent.html">ol.DragBoxEvent</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.DragBoxEvent#coordinate"><a href="ol.DragBoxEvent.html#coordinate">coordinate</a></li> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.DrawEvent"> <span class="title"> <a href="ol.DrawEvent.html">ol.DrawEvent</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.DrawEvent#feature"><a href="ol.DrawEvent.html#feature">feature</a></li> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.Feature"> <span class="title"> <a href="ol.Feature.html">ol.Feature</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.Feature#bindTo" class="unstable"> <a href="ol.Feature.html#bindTo">bindTo</a> </li> <li data-name="ol.Feature#changed" class="unstable"> <a href="ol.Feature.html#changed">changed</a> </li> <li data-name="ol.Feature#clone" class=""> <a href="ol.Feature.html#clone">clone</a> </li> <li data-name="ol.Feature#get" class="unstable"> <a href="ol.Feature.html#get">get</a> </li> <li data-name="ol.Feature#getGeometry" class=""> <a href="ol.Feature.html#getGeometry">getGeometry</a> </li> <li data-name="ol.Feature#getGeometryName" class=""> <a href="ol.Feature.html#getGeometryName">getGeometryName</a> </li> <li data-name="ol.Feature#getId" class=""> <a href="ol.Feature.html#getId">getId</a> </li> <li data-name="ol.Feature#getKeys" class="unstable"> <a href="ol.Feature.html#getKeys">getKeys</a> </li> <li data-name="ol.Feature#getProperties" class="unstable"> <a href="ol.Feature.html#getProperties">getProperties</a> </li> <li data-name="ol.Feature#getRevision" class="unstable"> <a href="ol.Feature.html#getRevision">getRevision</a> </li> <li data-name="ol.Feature#getStyle" class=""> <a href="ol.Feature.html#getStyle">getStyle</a> </li> <li data-name="ol.Feature#getStyleFunction" class=""> <a href="ol.Feature.html#getStyleFunction">getStyleFunction</a> </li> <li data-name="ol.Feature#on" class=""> <a href="ol.Feature.html#on">on</a> </li> <li data-name="ol.Feature#once" class=""> <a href="ol.Feature.html#once">once</a> </li> <li data-name="ol.Feature#set" class="unstable"> <a href="ol.Feature.html#set">set</a> </li> <li data-name="ol.Feature#setGeometry" class=""> <a href="ol.Feature.html#setGeometry">setGeometry</a> </li> <li data-name="ol.Feature#setGeometryName" class=""> <a href="ol.Feature.html#setGeometryName">setGeometryName</a> </li> <li data-name="ol.Feature#setId" class=""> <a href="ol.Feature.html#setId">setId</a> </li> <li data-name="ol.Feature#setProperties" class="unstable"> <a href="ol.Feature.html#setProperties">setProperties</a> </li> <li data-name="ol.Feature#setStyle" class=""> <a href="ol.Feature.html#setStyle">setStyle</a> </li> <li data-name="ol.Feature#un" class=""> <a href="ol.Feature.html#un">un</a> </li> <li data-name="ol.Feature#unbind" class="unstable"> <a href="ol.Feature.html#unbind">unbind</a> </li> <li data-name="ol.Feature#unbindAll" class="unstable"> <a href="ol.Feature.html#unbindAll">unbindAll</a> </li> <li data-name="ol.Feature#unByKey" class=""> <a href="ol.Feature.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="change Triggered when the id, the geometry or the style of the feature changes.event:" class="unstable"> change Triggered when the id, the geometry or the style of the feature changes.event: </li> <li data-name="ol.ObjectEvent#event:change:geometry" class="unstable"> change:geometry </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.FeatureOverlay"> <span class="title"> <a href="ol.FeatureOverlay.html">ol.FeatureOverlay</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.FeatureOverlay#addFeature" class="unstable"> <a href="ol.FeatureOverlay.html#addFeature">addFeature</a> </li> <li data-name="ol.FeatureOverlay#getFeatures" class="unstable"> <a href="ol.FeatureOverlay.html#getFeatures">getFeatures</a> </li> <li data-name="ol.FeatureOverlay#getStyle" class="unstable"> <a href="ol.FeatureOverlay.html#getStyle">getStyle</a> </li> <li data-name="ol.FeatureOverlay#getStyleFunction" class="unstable"> <a href="ol.FeatureOverlay.html#getStyleFunction">getStyleFunction</a> </li> <li data-name="ol.FeatureOverlay#removeFeature" class="unstable"> <a href="ol.FeatureOverlay.html#removeFeature">removeFeature</a> </li> <li data-name="ol.FeatureOverlay#setFeatures" class="unstable"> <a href="ol.FeatureOverlay.html#setFeatures">setFeatures</a> </li> <li data-name="ol.FeatureOverlay#setMap" class="unstable"> <a href="ol.FeatureOverlay.html#setMap">setMap</a> </li> <li data-name="ol.FeatureOverlay#setStyle" class="unstable"> <a href="ol.FeatureOverlay.html#setStyle">setStyle</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.Geolocation"> <span class="title"> <a href="ol.Geolocation.html">ol.Geolocation</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.Geolocation#bindTo" class="unstable"> <a href="ol.Geolocation.html#bindTo">bindTo</a> </li> <li data-name="ol.Geolocation#changed" class="unstable"> <a href="ol.Geolocation.html#changed">changed</a> </li> <li data-name="ol.Geolocation#get" class="unstable"> <a href="ol.Geolocation.html#get">get</a> </li> <li data-name="ol.Geolocation#getAccuracy" class=""> <a href="ol.Geolocation.html#getAccuracy">getAccuracy</a> </li> <li data-name="ol.Geolocation#getAccuracyGeometry" class=""> <a href="ol.Geolocation.html#getAccuracyGeometry">getAccuracyGeometry</a> </li> <li data-name="ol.Geolocation#getAltitude" class=""> <a href="ol.Geolocation.html#getAltitude">getAltitude</a> </li> <li data-name="ol.Geolocation#getAltitudeAccuracy" class=""> <a href="ol.Geolocation.html#getAltitudeAccuracy">getAltitudeAccuracy</a> </li> <li data-name="ol.Geolocation#getHeading" class=""> <a href="ol.Geolocation.html#getHeading">getHeading</a> </li> <li data-name="ol.Geolocation#getKeys" class="unstable"> <a href="ol.Geolocation.html#getKeys">getKeys</a> </li> <li data-name="ol.Geolocation#getPosition" class=""> <a href="ol.Geolocation.html#getPosition">getPosition</a> </li> <li data-name="ol.Geolocation#getProjection" class=""> <a href="ol.Geolocation.html#getProjection">getProjection</a> </li> <li data-name="ol.Geolocation#getProperties" class="unstable"> <a href="ol.Geolocation.html#getProperties">getProperties</a> </li> <li data-name="ol.Geolocation#getRevision" class="unstable"> <a href="ol.Geolocation.html#getRevision">getRevision</a> </li> <li data-name="ol.Geolocation#getSpeed" class=""> <a href="ol.Geolocation.html#getSpeed">getSpeed</a> </li> <li data-name="ol.Geolocation#getTracking" class=""> <a href="ol.Geolocation.html#getTracking">getTracking</a> </li> <li data-name="ol.Geolocation#getTrackingOptions" class=""> <a href="ol.Geolocation.html#getTrackingOptions">getTrackingOptions</a> </li> <li data-name="ol.Geolocation#on" class=""> <a href="ol.Geolocation.html#on">on</a> </li> <li data-name="ol.Geolocation#once" class=""> <a href="ol.Geolocation.html#once">once</a> </li> <li data-name="ol.Geolocation#set" class="unstable"> <a href="ol.Geolocation.html#set">set</a> </li> <li data-name="ol.Geolocation#setProjection" class=""> <a href="ol.Geolocation.html#setProjection">setProjection</a> </li> <li data-name="ol.Geolocation#setProperties" class="unstable"> <a href="ol.Geolocation.html#setProperties">setProperties</a> </li> <li data-name="ol.Geolocation#setTracking" class=""> <a href="ol.Geolocation.html#setTracking">setTracking</a> </li> <li data-name="ol.Geolocation#setTrackingOptions" class=""> <a href="ol.Geolocation.html#setTrackingOptions">setTrackingOptions</a> </li> <li data-name="ol.Geolocation#un" class=""> <a href="ol.Geolocation.html#un">un</a> </li> <li data-name="ol.Geolocation#unbind" class="unstable"> <a href="ol.Geolocation.html#unbind">unbind</a> </li> <li data-name="ol.Geolocation#unbindAll" class="unstable"> <a href="ol.Geolocation.html#unbindAll">unbindAll</a> </li> <li data-name="ol.Geolocation#unByKey" class=""> <a href="ol.Geolocation.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the position changes." class="unstable"> change Triggered when the position changes. </li> <li data-name="ol.ObjectEvent#event:change:accuracy" class="unstable"> change:accuracy </li> <li data-name="ol.ObjectEvent#event:change:accuracyGeometry" class="unstable"> change:accuracyGeometry </li> <li data-name="ol.ObjectEvent#event:change:altitude" class="unstable"> change:altitude </li> <li data-name="ol.ObjectEvent#event:change:altitudeAccuracy" class="unstable"> change:altitudeAccuracy </li> <li data-name="ol.ObjectEvent#event:change:heading" class="unstable"> change:heading </li> <li data-name="ol.ObjectEvent#event:change:position" class="unstable"> change:position </li> <li data-name="ol.ObjectEvent#event:change:projection" class="unstable"> change:projection </li> <li data-name="ol.ObjectEvent#event:change:speed" class="unstable"> change:speed </li> <li data-name="ol.ObjectEvent#event:change:tracking" class="unstable"> change:tracking </li> <li data-name="ol.ObjectEvent#event:change:trackingOptions" class="unstable"> change:trackingOptions </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.Graticule"> <span class="title"> <a href="ol.Graticule.html">ol.Graticule</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.Graticule#getMap" class="unstable"> <a href="ol.Graticule.html#getMap">getMap</a> </li> <li data-name="ol.Graticule#getMeridians" class="unstable"> <a href="ol.Graticule.html#getMeridians">getMeridians</a> </li> <li data-name="ol.Graticule#getParallels" class="unstable"> <a href="ol.Graticule.html#getParallels">getParallels</a> </li> <li data-name="ol.Graticule#setMap" class="unstable"> <a href="ol.Graticule.html#setMap">setMap</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.Image"> <span class="title"> <a href="ol.Image.html">ol.Image</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.Image#getImage" class="unstable"> <a href="ol.Image.html#getImage">getImage</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.ImageBase"> <span class="title"> <a href="ol.ImageBase.html">ol.ImageBase</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.ImageTile"> <span class="title"> <a href="ol.ImageTile.html">ol.ImageTile</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.ImageTile#getImage" class="unstable"> <a href="ol.ImageTile.html#getImage">getImage</a> </li> <li data-name="ol.ImageTile#getTileCoord" class="unstable"> <a href="ol.ImageTile.html#getTileCoord">getTileCoord</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.Kinetic"> <span class="title"> <a href="ol.Kinetic.html">ol.Kinetic</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.Map"> <span class="title"> <a href="ol.Map.html">ol.Map</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.Map#addControl" class=""> <a href="ol.Map.html#addControl">addControl</a> </li> <li data-name="ol.Map#addInteraction" class=""> <a href="ol.Map.html#addInteraction">addInteraction</a> </li> <li data-name="ol.Map#addLayer" class=""> <a href="ol.Map.html#addLayer">addLayer</a> </li> <li data-name="ol.Map#addOverlay" class=""> <a href="ol.Map.html#addOverlay">addOverlay</a> </li> <li data-name="ol.Map#beforeRender" class="unstable"> <a href="ol.Map.html#beforeRender">beforeRender</a> </li> <li data-name="ol.Map#bindTo" class="unstable"> <a href="ol.Map.html#bindTo">bindTo</a> </li> <li data-name="ol.Map#changed" class="unstable"> <a href="ol.Map.html#changed">changed</a> </li> <li data-name="ol.Map#<API key>" class=""> <a href="ol.Map.html#<API key>"><API key></a> </li> <li data-name="ol.Map#get" class="unstable"> <a href="ol.Map.html#get">get</a> </li> <li data-name="ol.Map#getControls" class=""> <a href="ol.Map.html#getControls">getControls</a> </li> <li data-name="ol.Map#<API key>" class=""> <a href="ol.Map.html#<API key>"><API key></a> </li> <li data-name="ol.Map#getEventCoordinate" class=""> <a href="ol.Map.html#getEventCoordinate">getEventCoordinate</a> </li> <li data-name="ol.Map#getEventPixel" class=""> <a href="ol.Map.html#getEventPixel">getEventPixel</a> </li> <li data-name="ol.Map#getInteractions" class=""> <a href="ol.Map.html#getInteractions">getInteractions</a> </li> <li data-name="ol.Map#getKeys" class="unstable"> <a href="ol.Map.html#getKeys">getKeys</a> </li> <li data-name="ol.Map#getLayerGroup" class=""> <a href="ol.Map.html#getLayerGroup">getLayerGroup</a> </li> <li data-name="ol.Map#getLayers" class=""> <a href="ol.Map.html#getLayers">getLayers</a> </li> <li data-name="ol.Map#getOverlays" class=""> <a href="ol.Map.html#getOverlays">getOverlays</a> </li> <li data-name="ol.Map#<API key>" class=""> <a href="ol.Map.html#<API key>"><API key></a> </li> <li data-name="ol.Map#getProperties" class="unstable"> <a href="ol.Map.html#getProperties">getProperties</a> </li> <li data-name="ol.Map#getRevision" class="unstable"> <a href="ol.Map.html#getRevision">getRevision</a> </li> <li data-name="ol.Map#getSize" class=""> <a href="ol.Map.html#getSize">getSize</a> </li> <li data-name="ol.Map#getTarget" class=""> <a href="ol.Map.html#getTarget">getTarget</a> </li> <li data-name="ol.Map#getTargetElement" class="unstable"> <a href="ol.Map.html#getTargetElement">getTargetElement</a> </li> <li data-name="ol.Map#getView" class=""> <a href="ol.Map.html#getView">getView</a> </li> <li data-name="ol.Map#getViewport" class=""> <a href="ol.Map.html#getViewport">getViewport</a> </li> <li data-name="ol.Map#on" class=""> <a href="ol.Map.html#on">on</a> </li> <li data-name="ol.Map#once" class=""> <a href="ol.Map.html#once">once</a> </li> <li data-name="ol.Map#removeControl" class=""> <a href="ol.Map.html#removeControl">removeControl</a> </li> <li data-name="ol.Map#removeInteraction" class=""> <a href="ol.Map.html#removeInteraction">removeInteraction</a> </li> <li data-name="ol.Map#removeLayer" class=""> <a href="ol.Map.html#removeLayer">removeLayer</a> </li> <li data-name="ol.Map#removeOverlay" class=""> <a href="ol.Map.html#removeOverlay">removeOverlay</a> </li> <li data-name="ol.Map#render" class=""> <a href="ol.Map.html#render">render</a> </li> <li data-name="ol.Map#renderSync" class=""> <a href="ol.Map.html#renderSync">renderSync</a> </li> <li data-name="ol.Map#set" class="unstable"> <a href="ol.Map.html#set">set</a> </li> <li data-name="ol.Map#setLayerGroup" class=""> <a href="ol.Map.html#setLayerGroup">setLayerGroup</a> </li> <li data-name="ol.Map#setProperties" class="unstable"> <a href="ol.Map.html#setProperties">setProperties</a> </li> <li data-name="ol.Map#setSize" class="unstable"> <a href="ol.Map.html#setSize">setSize</a> </li> <li data-name="ol.Map#setTarget" class=""> <a href="ol.Map.html#setTarget">setTarget</a> </li> <li data-name="ol.Map#setView" class=""> <a href="ol.Map.html#setView">setView</a> </li> <li data-name="ol.Map#un" class=""> <a href="ol.Map.html#un">un</a> </li> <li data-name="ol.Map#unbind" class="unstable"> <a href="ol.Map.html#unbind">unbind</a> </li> <li data-name="ol.Map#unbindAll" class="unstable"> <a href="ol.Map.html#unbindAll">unbindAll</a> </li> <li data-name="ol.Map#unByKey" class=""> <a href="ol.Map.html#unByKey">unByKey</a> </li> <li data-name="ol.Map#updateSize" class=""> <a href="ol.Map.html#updateSize">updateSize</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:layerGroup" class="unstable"> change:layerGroup </li> <li data-name="ol.ObjectEvent#event:change:size" class="unstable"> change:size </li> <li data-name="ol.ObjectEvent#event:change:target" class="unstable"> change:target </li> <li data-name="ol.ObjectEvent#event:change:view" class="unstable"> change:view </li> <li data-name="ol.MapBrowserEvent#event:click" class="unstable"> <a href="ol.MapBrowserEvent.html#event:click">click</a> </li> <li data-name="ol.MapBrowserEvent#event:dblclick" class="unstable"> <a href="ol.MapBrowserEvent.html#event:dblclick">dblclick</a> </li> <li data-name="ol.MapEvent#event:moveend" class="unstable"> <a href="ol.MapEvent.html#event:moveend">moveend</a> </li> <li data-name="ol.MapBrowserEvent#event:pointerdrag" class="unstable"> <a href="ol.MapBrowserEvent.html#event:pointerdrag">pointerdrag</a> </li> <li data-name="ol.MapBrowserEvent#event:pointermove" class="unstable"> <a href="ol.MapBrowserEvent.html#event:pointermove">pointermove</a> </li> <li data-name="ol.render.Event#event:postcompose" class="unstable"> <a href="ol.render.Event.html#event:postcompose">postcompose</a> </li> <li data-name="ol.MapEvent#event:postrender" class="unstable"> <a href="ol.MapEvent.html#event:postrender">postrender</a> </li> <li data-name="ol.render.Event#event:precompose" class="unstable"> <a href="ol.render.Event.html#event:precompose">precompose</a> </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> <li data-name="ol.MapBrowserEvent#event:singleclick" class="unstable"> <a href="ol.MapBrowserEvent.html#event:singleclick">singleclick</a> </li> </ul> </li> <li class="item" data-name="ol.MapBrowserEvent"> <span class="title"> <a href="ol.MapBrowserEvent.html">ol.MapBrowserEvent</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.MapBrowserEvent#coordinate"><a href="ol.MapBrowserEvent.html#coordinate">coordinate</a></li> <li data-name="ol.MapBrowserEvent#frameState"><a href="ol.MapBrowserEvent.html#frameState">frameState</a></li> <li data-name="ol.MapBrowserEvent#map"><a href="ol.MapBrowserEvent.html#map">map</a></li> <li data-name="ol.MapBrowserEvent#originalEvent"><a href="ol.MapBrowserEvent.html#originalEvent">originalEvent</a></li> <li data-name="ol.MapBrowserEvent#pixel"><a href="ol.MapBrowserEvent.html#pixel">pixel</a></li> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.MapBrowserEvent#preventDefault" class=""> <a href="ol.MapBrowserEvent.html#preventDefault">preventDefault</a> </li> <li data-name="ol.MapBrowserEvent#stopPropagation" class=""> <a href="ol.MapBrowserEvent.html#stopPropagation">stopPropagation</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.MapEvent"> <span class="title"> <a href="ol.MapEvent.html">ol.MapEvent</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.MapEvent#frameState"><a href="ol.MapEvent.html#frameState">frameState</a></li> <li data-name="ol.MapEvent#map"><a href="ol.MapEvent.html#map">map</a></li> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.Object"> <span class="title"> <a href="ol.Object.html">ol.Object</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.Object#bindTo" class="unstable"> <a href="ol.Object.html#bindTo">bindTo</a> </li> <li data-name="ol.Object#changed" class="unstable"> <a href="ol.Object.html#changed">changed</a> </li> <li data-name="ol.Object#get" class="unstable"> <a href="ol.Object.html#get">get</a> </li> <li data-name="ol.Object#getKeys" class="unstable"> <a href="ol.Object.html#getKeys">getKeys</a> </li> <li data-name="ol.Object#getProperties" class="unstable"> <a href="ol.Object.html#getProperties">getProperties</a> </li> <li data-name="ol.Object#getRevision" class="unstable"> <a href="ol.Object.html#getRevision">getRevision</a> </li> <li data-name="ol.Object#on" class=""> <a href="ol.Object.html#on">on</a> </li> <li data-name="ol.Object#once" class=""> <a href="ol.Object.html#once">once</a> </li> <li data-name="ol.Object#set" class="unstable"> <a href="ol.Object.html#set">set</a> </li> <li data-name="ol.Object#setProperties" class="unstable"> <a href="ol.Object.html#setProperties">setProperties</a> </li> <li data-name="ol.Object#un" class=""> <a href="ol.Object.html#un">un</a> </li> <li data-name="ol.Object#unbind" class="unstable"> <a href="ol.Object.html#unbind">unbind</a> </li> <li data-name="ol.Object#unbindAll" class="unstable"> <a href="ol.Object.html#unbindAll">unbindAll</a> </li> <li data-name="ol.Object#unByKey" class=""> <a href="ol.Object.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.ObjectAccessor"> <span class="title"> <a href="ol.ObjectAccessor.html">ol.ObjectAccessor</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.ObjectAccessor#transform" class="unstable"> <a href="ol.ObjectAccessor.html#transform">transform</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.ObjectEvent"> <span class="title"> <a href="ol.ObjectEvent.html">ol.ObjectEvent</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.ObjectEvent#key"><a href="ol.ObjectEvent.html#key">key</a></li> <li data-name="ol.ObjectEvent#oldValue"><a href="ol.ObjectEvent.html#oldValue">oldValue</a></li> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.Observable"> <span class="title"> <a href="ol.Observable.html">ol.Observable</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.Observable.unByKey" class=""> <a href="ol.Observable.html#unByKey">unByKey</a> </li> <li data-name="ol.Observable#changed" class="unstable"> <a href="ol.Observable.html#changed">changed</a> </li> <li data-name="ol.Observable#getRevision" class="unstable"> <a href="ol.Observable.html#getRevision">getRevision</a> </li> <li data-name="ol.Observable#on" class=""> <a href="ol.Observable.html#on">on</a> </li> <li data-name="ol.Observable#once" class=""> <a href="ol.Observable.html#once">once</a> </li> <li data-name="ol.Observable#un" class=""> <a href="ol.Observable.html#un">un</a> </li> <li data-name="ol.Observable#unByKey" class=""> <a href="ol.Observable.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.Overlay"> <span class="title"> <a href="ol.Overlay.html">ol.Overlay</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.Overlay#bindTo" class="unstable"> <a href="ol.Overlay.html#bindTo">bindTo</a> </li> <li data-name="ol.Overlay#changed" class="unstable"> <a href="ol.Overlay.html#changed">changed</a> </li> <li data-name="ol.Overlay#get" class="unstable"> <a href="ol.Overlay.html#get">get</a> </li> <li data-name="ol.Overlay#getElement" class=""> <a href="ol.Overlay.html#getElement">getElement</a> </li> <li data-name="ol.Overlay#getKeys" class="unstable"> <a href="ol.Overlay.html#getKeys">getKeys</a> </li> <li data-name="ol.Overlay#getMap" class=""> <a href="ol.Overlay.html#getMap">getMap</a> </li> <li data-name="ol.Overlay#getOffset" class=""> <a href="ol.Overlay.html#getOffset">getOffset</a> </li> <li data-name="ol.Overlay#getPosition" class=""> <a href="ol.Overlay.html#getPosition">getPosition</a> </li> <li data-name="ol.Overlay#getPositioning" class=""> <a href="ol.Overlay.html#getPositioning">getPositioning</a> </li> <li data-name="ol.Overlay#getProperties" class="unstable"> <a href="ol.Overlay.html#getProperties">getProperties</a> </li> <li data-name="ol.Overlay#getRevision" class="unstable"> <a href="ol.Overlay.html#getRevision">getRevision</a> </li> <li data-name="ol.Overlay#on" class=""> <a href="ol.Overlay.html#on">on</a> </li> <li data-name="ol.Overlay#once" class=""> <a href="ol.Overlay.html#once">once</a> </li> <li data-name="ol.Overlay#set" class="unstable"> <a href="ol.Overlay.html#set">set</a> </li> <li data-name="ol.Overlay#setElement" class=""> <a href="ol.Overlay.html#setElement">setElement</a> </li> <li data-name="ol.Overlay#setMap" class=""> <a href="ol.Overlay.html#setMap">setMap</a> </li> <li data-name="ol.Overlay#setOffset" class=""> <a href="ol.Overlay.html#setOffset">setOffset</a> </li> <li data-name="ol.Overlay#setPosition" class=""> <a href="ol.Overlay.html#setPosition">setPosition</a> </li> <li data-name="ol.Overlay#setPositioning" class=""> <a href="ol.Overlay.html#setPositioning">setPositioning</a> </li> <li data-name="ol.Overlay#setProperties" class="unstable"> <a href="ol.Overlay.html#setProperties">setProperties</a> </li> <li data-name="ol.Overlay#un" class=""> <a href="ol.Overlay.html#un">un</a> </li> <li data-name="ol.Overlay#unbind" class="unstable"> <a href="ol.Overlay.html#unbind">unbind</a> </li> <li data-name="ol.Overlay#unbindAll" class="unstable"> <a href="ol.Overlay.html#unbindAll">unbindAll</a> </li> <li data-name="ol.Overlay#unByKey" class=""> <a href="ol.Overlay.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:element" class="unstable"> change:element </li> <li data-name="ol.ObjectEvent#event:change:map" class="unstable"> change:map </li> <li data-name="ol.ObjectEvent#event:change:offset" class="unstable"> change:offset </li> <li data-name="ol.ObjectEvent#event:change:position" class="unstable"> change:position </li> <li data-name="ol.ObjectEvent#event:change:positioning" class="unstable"> change:positioning </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.Sphere"> <span class="title"> <a href="ol.Sphere.html">ol.Sphere</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.Tile"> <span class="title"> <a href="ol.Tile.html">ol.Tile</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.Tile#getTileCoord" class="unstable"> <a href="ol.Tile.html#getTileCoord">getTileCoord</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.View"> <span class="title"> <a href="ol.View.html">ol.View</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.View#bindTo" class="unstable"> <a href="ol.View.html#bindTo">bindTo</a> </li> <li data-name="ol.View#calculateExtent" class="unstable"> <a href="ol.View.html#calculateExtent">calculateExtent</a> </li> <li data-name="ol.View#centerOn" class="unstable"> <a href="ol.View.html#centerOn">centerOn</a> </li> <li data-name="ol.View#changed" class="unstable"> <a href="ol.View.html#changed">changed</a> </li> <li data-name="ol.View#constrainCenter" class="unstable"> <a href="ol.View.html#constrainCenter">constrainCenter</a> </li> <li data-name="ol.View#constrainResolution" class="unstable"> <a href="ol.View.html#constrainResolution">constrainResolution</a> </li> <li data-name="ol.View#constrainRotation" class="unstable"> <a href="ol.View.html#constrainRotation">constrainRotation</a> </li> <li data-name="ol.View#fitExtent" class="unstable"> <a href="ol.View.html#fitExtent">fitExtent</a> </li> <li data-name="ol.View#fitGeometry" class="unstable"> <a href="ol.View.html#fitGeometry">fitGeometry</a> </li> <li data-name="ol.View#get" class="unstable"> <a href="ol.View.html#get">get</a> </li> <li data-name="ol.View#getCenter" class=""> <a href="ol.View.html#getCenter">getCenter</a> </li> <li data-name="ol.View#getKeys" class="unstable"> <a href="ol.View.html#getKeys">getKeys</a> </li> <li data-name="ol.View#getProjection" class=""> <a href="ol.View.html#getProjection">getProjection</a> </li> <li data-name="ol.View#getProperties" class="unstable"> <a href="ol.View.html#getProperties">getProperties</a> </li> <li data-name="ol.View#getResolution" class=""> <a href="ol.View.html#getResolution">getResolution</a> </li> <li data-name="ol.View#<API key>" class="unstable"> <a href="ol.View.html#<API key>"><API key></a> </li> <li data-name="ol.View#getRevision" class="unstable"> <a href="ol.View.html#getRevision">getRevision</a> </li> <li data-name="ol.View#getRotation" class=""> <a href="ol.View.html#getRotation">getRotation</a> </li> <li data-name="ol.View#getZoom" class=""> <a href="ol.View.html#getZoom">getZoom</a> </li> <li data-name="ol.View#on" class=""> <a href="ol.View.html#on">on</a> </li> <li data-name="ol.View#once" class=""> <a href="ol.View.html#once">once</a> </li> <li data-name="ol.View#rotate" class=""> <a href="ol.View.html#rotate">rotate</a> </li> <li data-name="ol.View#set" class="unstable"> <a href="ol.View.html#set">set</a> </li> <li data-name="ol.View#setCenter" class=""> <a href="ol.View.html#setCenter">setCenter</a> </li> <li data-name="ol.View#setProperties" class="unstable"> <a href="ol.View.html#setProperties">setProperties</a> </li> <li data-name="ol.View#setResolution" class=""> <a href="ol.View.html#setResolution">setResolution</a> </li> <li data-name="ol.View#setRotation" class=""> <a href="ol.View.html#setRotation">setRotation</a> </li> <li data-name="ol.View#setZoom" class=""> <a href="ol.View.html#setZoom">setZoom</a> </li> <li data-name="ol.View#un" class=""> <a href="ol.View.html#un">un</a> </li> <li data-name="ol.View#unbind" class="unstable"> <a href="ol.View.html#unbind">unbind</a> </li> <li data-name="ol.View#unbindAll" class="unstable"> <a href="ol.View.html#unbindAll">unbindAll</a> </li> <li data-name="ol.View#unByKey" class=""> <a href="ol.View.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:center" class="unstable"> change:center </li> <li data-name="ol.ObjectEvent#event:change:resolution" class="unstable"> change:resolution </li> <li data-name="ol.ObjectEvent#event:change:rotation" class="unstable"> change:rotation </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.animation"> <span class="title"> <a href="ol.animation.html">ol.animation</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.animation.bounce" class="unstable"> <a href="ol.animation.html#bounce">bounce</a> </li> <li data-name="ol.animation.pan" class="unstable"> <a href="ol.animation.html#pan">pan</a> </li> <li data-name="ol.animation.rotate" class="unstable"> <a href="ol.animation.html#rotate">rotate</a> </li> <li data-name="ol.animation.zoom" class="unstable"> <a href="ol.animation.html#zoom">zoom</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.color"> <span class="title"> <a href="ol.color.html">ol.color</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.color.asArray" class="unstable"> <a href="ol.color.html#asArray">asArray</a> </li> <li data-name="ol.color.asString" class="unstable"> <a href="ol.color.html#asString">asString</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.control"> <span class="title"> <a href="ol.control.html">ol.control</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> <span class="subtitle">Typedefs</span> <li data-name="ol.control.ScaleLineUnits" class=""> <a href="ol.control.html#ScaleLineUnits">ScaleLineUnits</a> </li> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.control.defaults" class=""> <a href="ol.control.html#defaults">defaults</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.control.Attribution"> <span class="title"> <a href="ol.control.Attribution.html">ol.control.Attribution</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.control.Attribution.render" class="unstable"> <a href="ol.control.Attribution.html#render">render</a> </li> <li data-name="ol.control.Attribution#bindTo" class="unstable"> <a href="ol.control.Attribution.html#bindTo">bindTo</a> </li> <li data-name="ol.control.Attribution#changed" class="unstable"> <a href="ol.control.Attribution.html#changed">changed</a> </li> <li data-name="ol.control.Attribution#get" class="unstable"> <a href="ol.control.Attribution.html#get">get</a> </li> <li data-name="ol.control.Attribution#getCollapsed" class=""> <a href="ol.control.Attribution.html#getCollapsed">getCollapsed</a> </li> <li data-name="ol.control.Attribution#getCollapsible" class=""> <a href="ol.control.Attribution.html#getCollapsible">getCollapsible</a> </li> <li data-name="ol.control.Attribution#getKeys" class="unstable"> <a href="ol.control.Attribution.html#getKeys">getKeys</a> </li> <li data-name="ol.control.Attribution#getMap" class=""> <a href="ol.control.Attribution.html#getMap">getMap</a> </li> <li data-name="ol.control.Attribution#getProperties" class="unstable"> <a href="ol.control.Attribution.html#getProperties">getProperties</a> </li> <li data-name="ol.control.Attribution#getRevision" class="unstable"> <a href="ol.control.Attribution.html#getRevision">getRevision</a> </li> <li data-name="ol.control.Attribution#on" class=""> <a href="ol.control.Attribution.html#on">on</a> </li> <li data-name="ol.control.Attribution#once" class=""> <a href="ol.control.Attribution.html#once">once</a> </li> <li data-name="ol.control.Attribution#set" class="unstable"> <a href="ol.control.Attribution.html#set">set</a> </li> <li data-name="ol.control.Attribution#setCollapsed" class=""> <a href="ol.control.Attribution.html#setCollapsed">setCollapsed</a> </li> <li data-name="ol.control.Attribution#setCollapsible" class=""> <a href="ol.control.Attribution.html#setCollapsible">setCollapsible</a> </li> <li data-name="ol.control.Attribution#setMap" class=""> <a href="ol.control.Attribution.html#setMap">setMap</a> </li> <li data-name="ol.control.Attribution#setProperties" class="unstable"> <a href="ol.control.Attribution.html#setProperties">setProperties</a> </li> <li data-name="ol.control.Attribution#un" class=""> <a href="ol.control.Attribution.html#un">un</a> </li> <li data-name="ol.control.Attribution#unbind" class="unstable"> <a href="ol.control.Attribution.html#unbind">unbind</a> </li> <li data-name="ol.control.Attribution#unbindAll" class="unstable"> <a href="ol.control.Attribution.html#unbindAll">unbindAll</a> </li> <li data-name="ol.control.Attribution#unByKey" class=""> <a href="ol.control.Attribution.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.control.Control"> <span class="title"> <a href="ol.control.Control.html">ol.control.Control</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.control.Control#bindTo" class="unstable"> <a href="ol.control.Control.html#bindTo">bindTo</a> </li> <li data-name="ol.control.Control#changed" class="unstable"> <a href="ol.control.Control.html#changed">changed</a> </li> <li data-name="ol.control.Control#get" class="unstable"> <a href="ol.control.Control.html#get">get</a> </li> <li data-name="ol.control.Control#getKeys" class="unstable"> <a href="ol.control.Control.html#getKeys">getKeys</a> </li> <li data-name="ol.control.Control#getMap" class=""> <a href="ol.control.Control.html#getMap">getMap</a> </li> <li data-name="ol.control.Control#getProperties" class="unstable"> <a href="ol.control.Control.html#getProperties">getProperties</a> </li> <li data-name="ol.control.Control#getRevision" class="unstable"> <a href="ol.control.Control.html#getRevision">getRevision</a> </li> <li data-name="ol.control.Control#on" class=""> <a href="ol.control.Control.html#on">on</a> </li> <li data-name="ol.control.Control#once" class=""> <a href="ol.control.Control.html#once">once</a> </li> <li data-name="ol.control.Control#set" class="unstable"> <a href="ol.control.Control.html#set">set</a> </li> <li data-name="ol.control.Control#setMap" class=""> <a href="ol.control.Control.html#setMap">setMap</a> </li> <li data-name="ol.control.Control#setProperties" class="unstable"> <a href="ol.control.Control.html#setProperties">setProperties</a> </li> <li data-name="ol.control.Control#un" class=""> <a href="ol.control.Control.html#un">un</a> </li> <li data-name="ol.control.Control#unbind" class="unstable"> <a href="ol.control.Control.html#unbind">unbind</a> </li> <li data-name="ol.control.Control#unbindAll" class="unstable"> <a href="ol.control.Control.html#unbindAll">unbindAll</a> </li> <li data-name="ol.control.Control#unByKey" class=""> <a href="ol.control.Control.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.control.FullScreen"> <span class="title"> <a href="ol.control.FullScreen.html">ol.control.FullScreen</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.control.FullScreen#bindTo" class="unstable"> <a href="ol.control.FullScreen.html#bindTo">bindTo</a> </li> <li data-name="ol.control.FullScreen#changed" class="unstable"> <a href="ol.control.FullScreen.html#changed">changed</a> </li> <li data-name="ol.control.FullScreen#get" class="unstable"> <a href="ol.control.FullScreen.html#get">get</a> </li> <li data-name="ol.control.FullScreen#getKeys" class="unstable"> <a href="ol.control.FullScreen.html#getKeys">getKeys</a> </li> <li data-name="ol.control.FullScreen#getMap" class=""> <a href="ol.control.FullScreen.html#getMap">getMap</a> </li> <li data-name="ol.control.FullScreen#getProperties" class="unstable"> <a href="ol.control.FullScreen.html#getProperties">getProperties</a> </li> <li data-name="ol.control.FullScreen#getRevision" class="unstable"> <a href="ol.control.FullScreen.html#getRevision">getRevision</a> </li> <li data-name="ol.control.FullScreen#on" class=""> <a href="ol.control.FullScreen.html#on">on</a> </li> <li data-name="ol.control.FullScreen#once" class=""> <a href="ol.control.FullScreen.html#once">once</a> </li> <li data-name="ol.control.FullScreen#set" class="unstable"> <a href="ol.control.FullScreen.html#set">set</a> </li> <li data-name="ol.control.FullScreen#setMap" class=""> <a href="ol.control.FullScreen.html#setMap">setMap</a> </li> <li data-name="ol.control.FullScreen#setProperties" class="unstable"> <a href="ol.control.FullScreen.html#setProperties">setProperties</a> </li> <li data-name="ol.control.FullScreen#un" class=""> <a href="ol.control.FullScreen.html#un">un</a> </li> <li data-name="ol.control.FullScreen#unbind" class="unstable"> <a href="ol.control.FullScreen.html#unbind">unbind</a> </li> <li data-name="ol.control.FullScreen#unbindAll" class="unstable"> <a href="ol.control.FullScreen.html#unbindAll">unbindAll</a> </li> <li data-name="ol.control.FullScreen#unByKey" class=""> <a href="ol.control.FullScreen.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.control.MousePosition"> <span class="title"> <a href="ol.control.MousePosition.html">ol.control.MousePosition</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.control.MousePosition.render" class="unstable"> <a href="ol.control.MousePosition.html#render">render</a> </li> <li data-name="ol.control.MousePosition#bindTo" class="unstable"> <a href="ol.control.MousePosition.html#bindTo">bindTo</a> </li> <li data-name="ol.control.MousePosition#changed" class="unstable"> <a href="ol.control.MousePosition.html#changed">changed</a> </li> <li data-name="ol.control.MousePosition#get" class="unstable"> <a href="ol.control.MousePosition.html#get">get</a> </li> <li data-name="ol.control.MousePosition#getCoordinateFormat" class=""> <a href="ol.control.MousePosition.html#getCoordinateFormat">getCoordinateFormat</a> </li> <li data-name="ol.control.MousePosition#getKeys" class="unstable"> <a href="ol.control.MousePosition.html#getKeys">getKeys</a> </li> <li data-name="ol.control.MousePosition#getMap" class=""> <a href="ol.control.MousePosition.html#getMap">getMap</a> </li> <li data-name="ol.control.MousePosition#getProjection" class=""> <a href="ol.control.MousePosition.html#getProjection">getProjection</a> </li> <li data-name="ol.control.MousePosition#getProperties" class="unstable"> <a href="ol.control.MousePosition.html#getProperties">getProperties</a> </li> <li data-name="ol.control.MousePosition#getRevision" class="unstable"> <a href="ol.control.MousePosition.html#getRevision">getRevision</a> </li> <li data-name="ol.control.MousePosition#on" class=""> <a href="ol.control.MousePosition.html#on">on</a> </li> <li data-name="ol.control.MousePosition#once" class=""> <a href="ol.control.MousePosition.html#once">once</a> </li> <li data-name="ol.control.MousePosition#set" class="unstable"> <a href="ol.control.MousePosition.html#set">set</a> </li> <li data-name="ol.control.MousePosition#setCoordinateFormat" class=""> <a href="ol.control.MousePosition.html#setCoordinateFormat">setCoordinateFormat</a> </li> <li data-name="ol.control.MousePosition#setMap" class=""> <a href="ol.control.MousePosition.html#setMap">setMap</a> </li> <li data-name="ol.control.MousePosition#setProjection" class=""> <a href="ol.control.MousePosition.html#setProjection">setProjection</a> </li> <li data-name="ol.control.MousePosition#setProperties" class="unstable"> <a href="ol.control.MousePosition.html#setProperties">setProperties</a> </li> <li data-name="ol.control.MousePosition#un" class=""> <a href="ol.control.MousePosition.html#un">un</a> </li> <li data-name="ol.control.MousePosition#unbind" class="unstable"> <a href="ol.control.MousePosition.html#unbind">unbind</a> </li> <li data-name="ol.control.MousePosition#unbindAll" class="unstable"> <a href="ol.control.MousePosition.html#unbindAll">unbindAll</a> </li> <li data-name="ol.control.MousePosition#unByKey" class=""> <a href="ol.control.MousePosition.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:coordinateFormat" class="unstable"> change:coordinateFormat </li> <li data-name="ol.ObjectEvent#event:change:projection" class="unstable"> change:projection </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.control.OverviewMap"> <span class="title"> <a href="ol.control.OverviewMap.html">ol.control.OverviewMap</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.control.OverviewMap.render" class="unstable"> <a href="ol.control.OverviewMap.html#render">render</a> </li> <li data-name="ol.control.OverviewMap#bindTo" class="unstable"> <a href="ol.control.OverviewMap.html#bindTo">bindTo</a> </li> <li data-name="ol.control.OverviewMap#changed" class="unstable"> <a href="ol.control.OverviewMap.html#changed">changed</a> </li> <li data-name="ol.control.OverviewMap#get" class="unstable"> <a href="ol.control.OverviewMap.html#get">get</a> </li> <li data-name="ol.control.OverviewMap#getCollapsed" class=""> <a href="ol.control.OverviewMap.html#getCollapsed">getCollapsed</a> </li> <li data-name="ol.control.OverviewMap#getCollapsible" class=""> <a href="ol.control.OverviewMap.html#getCollapsible">getCollapsible</a> </li> <li data-name="ol.control.OverviewMap#getKeys" class="unstable"> <a href="ol.control.OverviewMap.html#getKeys">getKeys</a> </li> <li data-name="ol.control.OverviewMap#getMap" class=""> <a href="ol.control.OverviewMap.html#getMap">getMap</a> </li> <li data-name="ol.control.OverviewMap#getProperties" class="unstable"> <a href="ol.control.OverviewMap.html#getProperties">getProperties</a> </li> <li data-name="ol.control.OverviewMap#getRevision" class="unstable"> <a href="ol.control.OverviewMap.html#getRevision">getRevision</a> </li> <li data-name="ol.control.OverviewMap#on" class=""> <a href="ol.control.OverviewMap.html#on">on</a> </li> <li data-name="ol.control.OverviewMap#once" class=""> <a href="ol.control.OverviewMap.html#once">once</a> </li> <li data-name="ol.control.OverviewMap#set" class="unstable"> <a href="ol.control.OverviewMap.html#set">set</a> </li> <li data-name="ol.control.OverviewMap#setCollapsed" class=""> <a href="ol.control.OverviewMap.html#setCollapsed">setCollapsed</a> </li> <li data-name="ol.control.OverviewMap#setCollapsible" class=""> <a href="ol.control.OverviewMap.html#setCollapsible">setCollapsible</a> </li> <li data-name="ol.control.OverviewMap#setMap" class=""> <a href="ol.control.OverviewMap.html#setMap">setMap</a> </li> <li data-name="ol.control.OverviewMap#setProperties" class="unstable"> <a href="ol.control.OverviewMap.html#setProperties">setProperties</a> </li> <li data-name="ol.control.OverviewMap#un" class=""> <a href="ol.control.OverviewMap.html#un">un</a> </li> <li data-name="ol.control.OverviewMap#unbind" class="unstable"> <a href="ol.control.OverviewMap.html#unbind">unbind</a> </li> <li data-name="ol.control.OverviewMap#unbindAll" class="unstable"> <a href="ol.control.OverviewMap.html#unbindAll">unbindAll</a> </li> <li data-name="ol.control.OverviewMap#unByKey" class=""> <a href="ol.control.OverviewMap.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.control.Rotate"> <span class="title"> <a href="ol.control.Rotate.html">ol.control.Rotate</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.control.Rotate.render" class="unstable"> <a href="ol.control.Rotate.html#render">render</a> </li> <li data-name="ol.control.Rotate#bindTo" class="unstable"> <a href="ol.control.Rotate.html#bindTo">bindTo</a> </li> <li data-name="ol.control.Rotate#changed" class="unstable"> <a href="ol.control.Rotate.html#changed">changed</a> </li> <li data-name="ol.control.Rotate#get" class="unstable"> <a href="ol.control.Rotate.html#get">get</a> </li> <li data-name="ol.control.Rotate#getKeys" class="unstable"> <a href="ol.control.Rotate.html#getKeys">getKeys</a> </li> <li data-name="ol.control.Rotate#getMap" class=""> <a href="ol.control.Rotate.html#getMap">getMap</a> </li> <li data-name="ol.control.Rotate#getProperties" class="unstable"> <a href="ol.control.Rotate.html#getProperties">getProperties</a> </li> <li data-name="ol.control.Rotate#getRevision" class="unstable"> <a href="ol.control.Rotate.html#getRevision">getRevision</a> </li> <li data-name="ol.control.Rotate#on" class=""> <a href="ol.control.Rotate.html#on">on</a> </li> <li data-name="ol.control.Rotate#once" class=""> <a href="ol.control.Rotate.html#once">once</a> </li> <li data-name="ol.control.Rotate#set" class="unstable"> <a href="ol.control.Rotate.html#set">set</a> </li> <li data-name="ol.control.Rotate#setMap" class=""> <a href="ol.control.Rotate.html#setMap">setMap</a> </li> <li data-name="ol.control.Rotate#setProperties" class="unstable"> <a href="ol.control.Rotate.html#setProperties">setProperties</a> </li> <li data-name="ol.control.Rotate#un" class=""> <a href="ol.control.Rotate.html#un">un</a> </li> <li data-name="ol.control.Rotate#unbind" class="unstable"> <a href="ol.control.Rotate.html#unbind">unbind</a> </li> <li data-name="ol.control.Rotate#unbindAll" class="unstable"> <a href="ol.control.Rotate.html#unbindAll">unbindAll</a> </li> <li data-name="ol.control.Rotate#unByKey" class=""> <a href="ol.control.Rotate.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.control.ScaleLine"> <span class="title"> <a href="ol.control.ScaleLine.html">ol.control.ScaleLine</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.control.ScaleLine.render" class="unstable"> <a href="ol.control.ScaleLine.html#render">render</a> </li> <li data-name="ol.control.ScaleLine#bindTo" class="unstable"> <a href="ol.control.ScaleLine.html#bindTo">bindTo</a> </li> <li data-name="ol.control.ScaleLine#changed" class="unstable"> <a href="ol.control.ScaleLine.html#changed">changed</a> </li> <li data-name="ol.control.ScaleLine#get" class="unstable"> <a href="ol.control.ScaleLine.html#get">get</a> </li> <li data-name="ol.control.ScaleLine#getKeys" class="unstable"> <a href="ol.control.ScaleLine.html#getKeys">getKeys</a> </li> <li data-name="ol.control.ScaleLine#getMap" class=""> <a href="ol.control.ScaleLine.html#getMap">getMap</a> </li> <li data-name="ol.control.ScaleLine#getProperties" class="unstable"> <a href="ol.control.ScaleLine.html#getProperties">getProperties</a> </li> <li data-name="ol.control.ScaleLine#getRevision" class="unstable"> <a href="ol.control.ScaleLine.html#getRevision">getRevision</a> </li> <li data-name="ol.control.ScaleLine#getUnits" class=""> <a href="ol.control.ScaleLine.html#getUnits">getUnits</a> </li> <li data-name="ol.control.ScaleLine#on" class=""> <a href="ol.control.ScaleLine.html#on">on</a> </li> <li data-name="ol.control.ScaleLine#once" class=""> <a href="ol.control.ScaleLine.html#once">once</a> </li> <li data-name="ol.control.ScaleLine#set" class="unstable"> <a href="ol.control.ScaleLine.html#set">set</a> </li> <li data-name="ol.control.ScaleLine#setMap" class=""> <a href="ol.control.ScaleLine.html#setMap">setMap</a> </li> <li data-name="ol.control.ScaleLine#setProperties" class="unstable"> <a href="ol.control.ScaleLine.html#setProperties">setProperties</a> </li> <li data-name="ol.control.ScaleLine#setUnits" class=""> <a href="ol.control.ScaleLine.html#setUnits">setUnits</a> </li> <li data-name="ol.control.ScaleLine#un" class=""> <a href="ol.control.ScaleLine.html#un">un</a> </li> <li data-name="ol.control.ScaleLine#unbind" class="unstable"> <a href="ol.control.ScaleLine.html#unbind">unbind</a> </li> <li data-name="ol.control.ScaleLine#unbindAll" class="unstable"> <a href="ol.control.ScaleLine.html#unbindAll">unbindAll</a> </li> <li data-name="ol.control.ScaleLine#unByKey" class=""> <a href="ol.control.ScaleLine.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:units" class="unstable"> change:units </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.control.Zoom"> <span class="title"> <a href="ol.control.Zoom.html">ol.control.Zoom</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.control.Zoom#bindTo" class="unstable"> <a href="ol.control.Zoom.html#bindTo">bindTo</a> </li> <li data-name="ol.control.Zoom#changed" class="unstable"> <a href="ol.control.Zoom.html#changed">changed</a> </li> <li data-name="ol.control.Zoom#get" class="unstable"> <a href="ol.control.Zoom.html#get">get</a> </li> <li data-name="ol.control.Zoom#getKeys" class="unstable"> <a href="ol.control.Zoom.html#getKeys">getKeys</a> </li> <li data-name="ol.control.Zoom#getMap" class=""> <a href="ol.control.Zoom.html#getMap">getMap</a> </li> <li data-name="ol.control.Zoom#getProperties" class="unstable"> <a href="ol.control.Zoom.html#getProperties">getProperties</a> </li> <li data-name="ol.control.Zoom#getRevision" class="unstable"> <a href="ol.control.Zoom.html#getRevision">getRevision</a> </li> <li data-name="ol.control.Zoom#on" class=""> <a href="ol.control.Zoom.html#on">on</a> </li> <li data-name="ol.control.Zoom#once" class=""> <a href="ol.control.Zoom.html#once">once</a> </li> <li data-name="ol.control.Zoom#set" class="unstable"> <a href="ol.control.Zoom.html#set">set</a> </li> <li data-name="ol.control.Zoom#setMap" class=""> <a href="ol.control.Zoom.html#setMap">setMap</a> </li> <li data-name="ol.control.Zoom#setProperties" class="unstable"> <a href="ol.control.Zoom.html#setProperties">setProperties</a> </li> <li data-name="ol.control.Zoom#un" class=""> <a href="ol.control.Zoom.html#un">un</a> </li> <li data-name="ol.control.Zoom#unbind" class="unstable"> <a href="ol.control.Zoom.html#unbind">unbind</a> </li> <li data-name="ol.control.Zoom#unbindAll" class="unstable"> <a href="ol.control.Zoom.html#unbindAll">unbindAll</a> </li> <li data-name="ol.control.Zoom#unByKey" class=""> <a href="ol.control.Zoom.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.control.ZoomSlider"> <span class="title"> <a href="ol.control.ZoomSlider.html">ol.control.ZoomSlider</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.control.ZoomSlider.render" class="unstable"> <a href="ol.control.ZoomSlider.html#render">render</a> </li> <li data-name="ol.control.ZoomSlider#bindTo" class="unstable"> <a href="ol.control.ZoomSlider.html#bindTo">bindTo</a> </li> <li data-name="ol.control.ZoomSlider#changed" class="unstable"> <a href="ol.control.ZoomSlider.html#changed">changed</a> </li> <li data-name="ol.control.ZoomSlider#get" class="unstable"> <a href="ol.control.ZoomSlider.html#get">get</a> </li> <li data-name="ol.control.ZoomSlider#getKeys" class="unstable"> <a href="ol.control.ZoomSlider.html#getKeys">getKeys</a> </li> <li data-name="ol.control.ZoomSlider#getMap" class=""> <a href="ol.control.ZoomSlider.html#getMap">getMap</a> </li> <li data-name="ol.control.ZoomSlider#getProperties" class="unstable"> <a href="ol.control.ZoomSlider.html#getProperties">getProperties</a> </li> <li data-name="ol.control.ZoomSlider#getRevision" class="unstable"> <a href="ol.control.ZoomSlider.html#getRevision">getRevision</a> </li> <li data-name="ol.control.ZoomSlider#on" class=""> <a href="ol.control.ZoomSlider.html#on">on</a> </li> <li data-name="ol.control.ZoomSlider#once" class=""> <a href="ol.control.ZoomSlider.html#once">once</a> </li> <li data-name="ol.control.ZoomSlider#set" class="unstable"> <a href="ol.control.ZoomSlider.html#set">set</a> </li> <li data-name="ol.control.ZoomSlider#setMap" class=""> <a href="ol.control.ZoomSlider.html#setMap">setMap</a> </li> <li data-name="ol.control.ZoomSlider#setProperties" class="unstable"> <a href="ol.control.ZoomSlider.html#setProperties">setProperties</a> </li> <li data-name="ol.control.ZoomSlider#un" class=""> <a href="ol.control.ZoomSlider.html#un">un</a> </li> <li data-name="ol.control.ZoomSlider#unbind" class="unstable"> <a href="ol.control.ZoomSlider.html#unbind">unbind</a> </li> <li data-name="ol.control.ZoomSlider#unbindAll" class="unstable"> <a href="ol.control.ZoomSlider.html#unbindAll">unbindAll</a> </li> <li data-name="ol.control.ZoomSlider#unByKey" class=""> <a href="ol.control.ZoomSlider.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.control.ZoomToExtent"> <span class="title"> <a href="ol.control.ZoomToExtent.html">ol.control.ZoomToExtent</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.control.ZoomToExtent#bindTo" class="unstable"> <a href="ol.control.ZoomToExtent.html#bindTo">bindTo</a> </li> <li data-name="ol.control.ZoomToExtent#changed" class="unstable"> <a href="ol.control.ZoomToExtent.html#changed">changed</a> </li> <li data-name="ol.control.ZoomToExtent#get" class="unstable"> <a href="ol.control.ZoomToExtent.html#get">get</a> </li> <li data-name="ol.control.ZoomToExtent#getKeys" class="unstable"> <a href="ol.control.ZoomToExtent.html#getKeys">getKeys</a> </li> <li data-name="ol.control.ZoomToExtent#getMap" class=""> <a href="ol.control.ZoomToExtent.html#getMap">getMap</a> </li> <li data-name="ol.control.ZoomToExtent#getProperties" class="unstable"> <a href="ol.control.ZoomToExtent.html#getProperties">getProperties</a> </li> <li data-name="ol.control.ZoomToExtent#getRevision" class="unstable"> <a href="ol.control.ZoomToExtent.html#getRevision">getRevision</a> </li> <li data-name="ol.control.ZoomToExtent#on" class=""> <a href="ol.control.ZoomToExtent.html#on">on</a> </li> <li data-name="ol.control.ZoomToExtent#once" class=""> <a href="ol.control.ZoomToExtent.html#once">once</a> </li> <li data-name="ol.control.ZoomToExtent#set" class="unstable"> <a href="ol.control.ZoomToExtent.html#set">set</a> </li> <li data-name="ol.control.ZoomToExtent#setMap" class=""> <a href="ol.control.ZoomToExtent.html#setMap">setMap</a> </li> <li data-name="ol.control.ZoomToExtent#setProperties" class="unstable"> <a href="ol.control.ZoomToExtent.html#setProperties">setProperties</a> </li> <li data-name="ol.control.ZoomToExtent#un" class=""> <a href="ol.control.ZoomToExtent.html#un">un</a> </li> <li data-name="ol.control.ZoomToExtent#unbind" class="unstable"> <a href="ol.control.ZoomToExtent.html#unbind">unbind</a> </li> <li data-name="ol.control.ZoomToExtent#unbindAll" class="unstable"> <a href="ol.control.ZoomToExtent.html#unbindAll">unbindAll</a> </li> <li data-name="ol.control.ZoomToExtent#unByKey" class=""> <a href="ol.control.ZoomToExtent.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.coordinate"> <span class="title"> <a href="ol.coordinate.html">ol.coordinate</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.coordinate.add" class=""> <a href="ol.coordinate.html#add">add</a> </li> <li data-name="ol.coordinate.createStringXY" class=""> <a href="ol.coordinate.html#createStringXY">createStringXY</a> </li> <li data-name="ol.coordinate.format" class=""> <a href="ol.coordinate.html#format">format</a> </li> <li data-name="ol.coordinate.rotate" class=""> <a href="ol.coordinate.html#rotate">rotate</a> </li> <li data-name="ol.coordinate.toStringHDMS" class=""> <a href="ol.coordinate.html#toStringHDMS">toStringHDMS</a> </li> <li data-name="ol.coordinate.toStringXY" class=""> <a href="ol.coordinate.html#toStringXY">toStringXY</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.dom.Input"> <span class="title"> <a href="ol.dom.Input.html">ol.dom.Input</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.dom.Input#bindTo" class="unstable"> <a href="ol.dom.Input.html#bindTo">bindTo</a> </li> <li data-name="ol.dom.Input#changed" class="unstable"> <a href="ol.dom.Input.html#changed">changed</a> </li> <li data-name="ol.dom.Input#get" class="unstable"> <a href="ol.dom.Input.html#get">get</a> </li> <li data-name="ol.dom.Input#getChecked" class="unstable"> <a href="ol.dom.Input.html#getChecked">getChecked</a> </li> <li data-name="ol.dom.Input#getKeys" class="unstable"> <a href="ol.dom.Input.html#getKeys">getKeys</a> </li> <li data-name="ol.dom.Input#getProperties" class="unstable"> <a href="ol.dom.Input.html#getProperties">getProperties</a> </li> <li data-name="ol.dom.Input#getRevision" class="unstable"> <a href="ol.dom.Input.html#getRevision">getRevision</a> </li> <li data-name="ol.dom.Input#getValue" class="unstable"> <a href="ol.dom.Input.html#getValue">getValue</a> </li> <li data-name="ol.dom.Input#on" class=""> <a href="ol.dom.Input.html#on">on</a> </li> <li data-name="ol.dom.Input#once" class=""> <a href="ol.dom.Input.html#once">once</a> </li> <li data-name="ol.dom.Input#set" class="unstable"> <a href="ol.dom.Input.html#set">set</a> </li> <li data-name="ol.dom.Input#setChecked" class="unstable"> <a href="ol.dom.Input.html#setChecked">setChecked</a> </li> <li data-name="ol.dom.Input#setProperties" class="unstable"> <a href="ol.dom.Input.html#setProperties">setProperties</a> </li> <li data-name="ol.dom.Input#setValue" class="unstable"> <a href="ol.dom.Input.html#setValue">setValue</a> </li> <li data-name="ol.dom.Input#un" class=""> <a href="ol.dom.Input.html#un">un</a> </li> <li data-name="ol.dom.Input#unbind" class="unstable"> <a href="ol.dom.Input.html#unbind">unbind</a> </li> <li data-name="ol.dom.Input#unbindAll" class="unstable"> <a href="ol.dom.Input.html#unbindAll">unbindAll</a> </li> <li data-name="ol.dom.Input#unByKey" class=""> <a href="ol.dom.Input.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:checked" class="unstable"> change:checked </li> <li data-name="ol.ObjectEvent#event:change:value" class="unstable"> change:value </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.easing"> <span class="title"> <a href="ol.easing.html">ol.easing</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.easing.easeIn" class="unstable"> <a href="ol.easing.html#easeIn">easeIn</a> </li> <li data-name="ol.easing.easeOut" class="unstable"> <a href="ol.easing.html#easeOut">easeOut</a> </li> <li data-name="ol.easing.inAndOut" class="unstable"> <a href="ol.easing.html#inAndOut">inAndOut</a> </li> <li data-name="ol.easing.linear" class="unstable"> <a href="ol.easing.html#linear">linear</a> </li> <li data-name="ol.easing.upAndDown" class="unstable"> <a href="ol.easing.html#upAndDown">upAndDown</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.events"> <span class="title"> <a href="ol.events.html">ol.events</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> <span class="subtitle">Typedefs</span> <li data-name="ol.events.ConditionType" class=""> <a href="ol.events.html#ConditionType">ConditionType</a> </li> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.events.condition"> <span class="title"> <a href="ol.events.condition.html">ol.events.condition</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.events.condition.altKeyOnly" class=""> <a href="ol.events.condition.html#altKeyOnly">altKeyOnly</a> </li> <li data-name="ol.events.condition.altShiftKeysOnly" class=""> <a href="ol.events.condition.html#altShiftKeysOnly">altShiftKeysOnly</a> </li> <li data-name="ol.events.condition.always" class=""> <a href="ol.events.condition.html#always">always</a> </li> <li data-name="ol.events.condition.click" class=""> <a href="ol.events.condition.html#click">click</a> </li> <li data-name="ol.events.condition.mouseMove" class="unstable"> <a href="ol.events.condition.html#mouseMove">mouseMove</a> </li> <li data-name="ol.events.condition.mouseOnly" class=""> <a href="ol.events.condition.html#mouseOnly">mouseOnly</a> </li> <li data-name="ol.events.condition.never" class=""> <a href="ol.events.condition.html#never">never</a> </li> <li data-name="ol.events.condition.noModifierKeys" class=""> <a href="ol.events.condition.html#noModifierKeys">noModifierKeys</a> </li> <li data-name="ol.events.condition.<API key>" class=""> <a href="ol.events.condition.html#<API key>"><API key></a> </li> <li data-name="ol.events.condition.shiftKeyOnly" class=""> <a href="ol.events.condition.html#shiftKeyOnly">shiftKeyOnly</a> </li> <li data-name="ol.events.condition.singleClick" class=""> <a href="ol.events.condition.html#singleClick">singleClick</a> </li> <li data-name="ol.events.condition.targetNotEditable" class="unstable"> <a href="ol.events.condition.html#targetNotEditable">targetNotEditable</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.extent"> <span class="title"> <a href="ol.extent.html">ol.extent</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.extent.applyTransform" class=""> <a href="ol.extent.html#applyTransform">applyTransform</a> </li> <li data-name="ol.extent.boundingExtent" class=""> <a href="ol.extent.html#boundingExtent">boundingExtent</a> </li> <li data-name="ol.extent.buffer" class=""> <a href="ol.extent.html#buffer">buffer</a> </li> <li data-name="ol.extent.containsCoordinate" class=""> <a href="ol.extent.html#containsCoordinate">containsCoordinate</a> </li> <li data-name="ol.extent.containsExtent" class=""> <a href="ol.extent.html#containsExtent">containsExtent</a> </li> <li data-name="ol.extent.containsXY" class=""> <a href="ol.extent.html#containsXY">containsXY</a> </li> <li data-name="ol.extent.createEmpty" class=""> <a href="ol.extent.html#createEmpty">createEmpty</a> </li> <li data-name="ol.extent.equals" class=""> <a href="ol.extent.html#equals">equals</a> </li> <li data-name="ol.extent.extend" class=""> <a href="ol.extent.html#extend">extend</a> </li> <li data-name="ol.extent.getBottomLeft" class=""> <a href="ol.extent.html#getBottomLeft">getBottomLeft</a> </li> <li data-name="ol.extent.getBottomRight" class=""> <a href="ol.extent.html#getBottomRight">getBottomRight</a> </li> <li data-name="ol.extent.getCenter" class=""> <a href="ol.extent.html#getCenter">getCenter</a> </li> <li data-name="ol.extent.getHeight" class=""> <a href="ol.extent.html#getHeight">getHeight</a> </li> <li data-name="ol.extent.getIntersection" class=""> <a href="ol.extent.html#getIntersection">getIntersection</a> </li> <li data-name="ol.extent.getSize" class=""> <a href="ol.extent.html#getSize">getSize</a> </li> <li data-name="ol.extent.getTopLeft" class=""> <a href="ol.extent.html#getTopLeft">getTopLeft</a> </li> <li data-name="ol.extent.getTopRight" class=""> <a href="ol.extent.html#getTopRight">getTopRight</a> </li> <li data-name="ol.extent.getWidth" class=""> <a href="ol.extent.html#getWidth">getWidth</a> </li> <li data-name="ol.extent.intersects" class=""> <a href="ol.extent.html#intersects">intersects</a> </li> <li data-name="ol.extent.isEmpty" class=""> <a href="ol.extent.html#isEmpty">isEmpty</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.feature"> <span class="title"> <a href="ol.feature_.html">ol.feature</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> <span class="subtitle">Typedefs</span> <li data-name="ol.feature.<API key>" class=""> <a href="ol.feature_.html#<API key>"><API key></a> </li> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format"> <span class="title"> <a href="ol.format.html">ol.format</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> <span class="subtitle">Typedefs</span> <li data-name="ol.format.IGCZ" class="unstable"> <a href="ol.format.html#IGCZ">IGCZ</a> </li> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.Feature"> <span class="title"> <a href="ol.format.Feature.html">ol.format.Feature</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.GML"> <span class="title"> <a href="ol.format.GML.html">ol.format.GML</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.GML#readFeatures" class=""> <a href="ol.format.GML.html#readFeatures">readFeatures</a> </li> <li data-name="ol.format.GML#writeFeatures" class=""> <a href="ol.format.GML.html#writeFeatures">writeFeatures</a> </li> <li data-name="ol.format.GML#writeFeaturesNode" class="unstable"> <a href="ol.format.GML.html#writeFeaturesNode">writeFeaturesNode</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.GML2"> <span class="title"> <a href="ol.format.GML2.html">ol.format.GML2</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.GML2#readFeatures" class=""> <a href="ol.format.GML2.html#readFeatures">readFeatures</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.GML3"> <span class="title"> <a href="ol.format.GML3.html">ol.format.GML3</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.GML3#readFeatures" class=""> <a href="ol.format.GML3.html#readFeatures">readFeatures</a> </li> <li data-name="ol.format.GML3#writeFeatures" class=""> <a href="ol.format.GML3.html#writeFeatures">writeFeatures</a> </li> <li data-name="ol.format.GML3#writeFeaturesNode" class="unstable"> <a href="ol.format.GML3.html#writeFeaturesNode">writeFeaturesNode</a> </li> <li data-name="ol.format.GML3#writeGeometryNode" class="unstable"> <a href="ol.format.GML3.html#writeGeometryNode">writeGeometryNode</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.GMLBase"> <span class="title"> <a href="ol.format.GMLBase.html">ol.format.GMLBase</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.GMLBase#readFeatures" class=""> <a href="ol.format.GMLBase.html#readFeatures">readFeatures</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.GPX"> <span class="title"> <a href="ol.format.GPX.html">ol.format.GPX</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.GPX#readFeature" class=""> <a href="ol.format.GPX.html#readFeature">readFeature</a> </li> <li data-name="ol.format.GPX#readFeatures" class=""> <a href="ol.format.GPX.html#readFeatures">readFeatures</a> </li> <li data-name="ol.format.GPX#readProjection" class=""> <a href="ol.format.GPX.html#readProjection">readProjection</a> </li> <li data-name="ol.format.GPX#writeFeatures" class=""> <a href="ol.format.GPX.html#writeFeatures">writeFeatures</a> </li> <li data-name="ol.format.GPX#writeFeaturesNode" class="unstable"> <a href="ol.format.GPX.html#writeFeaturesNode">writeFeaturesNode</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.GeoJSON"> <span class="title"> <a href="ol.format.GeoJSON.html">ol.format.GeoJSON</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.GeoJSON#readFeature" class=""> <a href="ol.format.GeoJSON.html#readFeature">readFeature</a> </li> <li data-name="ol.format.GeoJSON#readFeatures" class=""> <a href="ol.format.GeoJSON.html#readFeatures">readFeatures</a> </li> <li data-name="ol.format.GeoJSON#readGeometry" class=""> <a href="ol.format.GeoJSON.html#readGeometry">readGeometry</a> </li> <li data-name="ol.format.GeoJSON#readProjection" class=""> <a href="ol.format.GeoJSON.html#readProjection">readProjection</a> </li> <li data-name="ol.format.GeoJSON#writeFeature" class=""> <a href="ol.format.GeoJSON.html#writeFeature">writeFeature</a> </li> <li data-name="ol.format.GeoJSON#writeFeatureObject" class="unstable"> <a href="ol.format.GeoJSON.html#writeFeatureObject">writeFeatureObject</a> </li> <li data-name="ol.format.GeoJSON#writeFeatures" class=""> <a href="ol.format.GeoJSON.html#writeFeatures">writeFeatures</a> </li> <li data-name="ol.format.GeoJSON#writeFeaturesObject" class="unstable"> <a href="ol.format.GeoJSON.html#writeFeaturesObject">writeFeaturesObject</a> </li> <li data-name="ol.format.GeoJSON#writeGeometry" class=""> <a href="ol.format.GeoJSON.html#writeGeometry">writeGeometry</a> </li> <li data-name="ol.format.GeoJSON#writeGeometryObject" class="unstable"> <a href="ol.format.GeoJSON.html#writeGeometryObject">writeGeometryObject</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.IGC"> <span class="title"> <a href="ol.format.IGC.html">ol.format.IGC</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.IGC#readFeature" class="unstable"> <a href="ol.format.IGC.html#readFeature">readFeature</a> </li> <li data-name="ol.format.IGC#readFeatures" class="unstable"> <a href="ol.format.IGC.html#readFeatures">readFeatures</a> </li> <li data-name="ol.format.IGC#readProjection" class="unstable"> <a href="ol.format.IGC.html#readProjection">readProjection</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.JSONFeature"> <span class="title"> <a href="ol.format.JSONFeature.html">ol.format.JSONFeature</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.KML"> <span class="title"> <a href="ol.format.KML.html">ol.format.KML</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.KML#readFeature" class=""> <a href="ol.format.KML.html#readFeature">readFeature</a> </li> <li data-name="ol.format.KML#readFeatures" class=""> <a href="ol.format.KML.html#readFeatures">readFeatures</a> </li> <li data-name="ol.format.KML#readName" class=""> <a href="ol.format.KML.html#readName">readName</a> </li> <li data-name="ol.format.KML#readProjection" class=""> <a href="ol.format.KML.html#readProjection">readProjection</a> </li> <li data-name="ol.format.KML#writeFeatures" class=""> <a href="ol.format.KML.html#writeFeatures">writeFeatures</a> </li> <li data-name="ol.format.KML#writeFeaturesNode" class="unstable"> <a href="ol.format.KML.html#writeFeaturesNode">writeFeaturesNode</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.OSMXML"> <span class="title"> <a href="ol.format.OSMXML.html">ol.format.OSMXML</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.OSMXML#readFeatures" class=""> <a href="ol.format.OSMXML.html#readFeatures">readFeatures</a> </li> <li data-name="ol.format.OSMXML#readProjection" class=""> <a href="ol.format.OSMXML.html#readProjection">readProjection</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.Polyline"> <span class="title"> <a href="ol.format.Polyline.html">ol.format.Polyline</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.Polyline.decodeDeltas" class="unstable"> <a href="ol.format.Polyline.html#decodeDeltas">decodeDeltas</a> </li> <li data-name="ol.format.Polyline.decodeFloats" class="unstable"> <a href="ol.format.Polyline.html#decodeFloats">decodeFloats</a> </li> <li data-name="ol.format.Polyline.encodeDeltas" class="unstable"> <a href="ol.format.Polyline.html#encodeDeltas">encodeDeltas</a> </li> <li data-name="ol.format.Polyline.encodeFloats" class="unstable"> <a href="ol.format.Polyline.html#encodeFloats">encodeFloats</a> </li> <li data-name="ol.format.Polyline#readFeature" class=""> <a href="ol.format.Polyline.html#readFeature">readFeature</a> </li> <li data-name="ol.format.Polyline#readFeatures" class=""> <a href="ol.format.Polyline.html#readFeatures">readFeatures</a> </li> <li data-name="ol.format.Polyline#readGeometry" class=""> <a href="ol.format.Polyline.html#readGeometry">readGeometry</a> </li> <li data-name="ol.format.Polyline#readProjection" class=""> <a href="ol.format.Polyline.html#readProjection">readProjection</a> </li> <li data-name="ol.format.Polyline#writeGeometry" class=""> <a href="ol.format.Polyline.html#writeGeometry">writeGeometry</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.TextFeature"> <span class="title"> <a href="ol.format.TextFeature.html">ol.format.TextFeature</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.TopoJSON"> <span class="title"> <a href="ol.format.TopoJSON.html">ol.format.TopoJSON</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.TopoJSON#readFeatures" class=""> <a href="ol.format.TopoJSON.html#readFeatures">readFeatures</a> </li> <li data-name="ol.format.TopoJSON#readProjection" class=""> <a href="ol.format.TopoJSON.html#readProjection">readProjection</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.WFS"> <span class="title"> <a href="ol.format.WFS.html">ol.format.WFS</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> <span class="subtitle">Typedefs</span> <li data-name="ol.format.WFS.<API key>" class=""> <a href="ol.format.WFS.html#<API key>"><API key></a> </li> <li data-name="ol.format.WFS.TransactionResponse" class=""> <a href="ol.format.WFS.html#TransactionResponse">TransactionResponse</a> </li> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.WFS#<API key>" class=""> <a href="ol.format.WFS.html#<API key>"><API key></a> </li> <li data-name="ol.format.WFS#readFeatures" class=""> <a href="ol.format.WFS.html#readFeatures">readFeatures</a> </li> <li data-name="ol.format.WFS#readProjection" class=""> <a href="ol.format.WFS.html#readProjection">readProjection</a> </li> <li data-name="ol.format.WFS#<API key>" class=""> <a href="ol.format.WFS.html#<API key>"><API key></a> </li> <li data-name="ol.format.WFS#writeGetFeature" class=""> <a href="ol.format.WFS.html#writeGetFeature">writeGetFeature</a> </li> <li data-name="ol.format.WFS#writeTransaction" class=""> <a href="ol.format.WFS.html#writeTransaction">writeTransaction</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.WKT"> <span class="title"> <a href="ol.format.WKT.html">ol.format.WKT</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.WKT#readFeature" class=""> <a href="ol.format.WKT.html#readFeature">readFeature</a> </li> <li data-name="ol.format.WKT#readFeatures" class=""> <a href="ol.format.WKT.html#readFeatures">readFeatures</a> </li> <li data-name="ol.format.WKT#readGeometry" class=""> <a href="ol.format.WKT.html#readGeometry">readGeometry</a> </li> <li data-name="ol.format.WKT#writeFeature" class=""> <a href="ol.format.WKT.html#writeFeature">writeFeature</a> </li> <li data-name="ol.format.WKT#writeFeatures" class=""> <a href="ol.format.WKT.html#writeFeatures">writeFeatures</a> </li> <li data-name="ol.format.WKT#writeGeometry" class=""> <a href="ol.format.WKT.html#writeGeometry">writeGeometry</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.WMSCapabilities"> <span class="title"> <a href="ol.format.WMSCapabilities.html">ol.format.WMSCapabilities</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.WMSCapabilities#read" class="unstable"> <a href="ol.format.WMSCapabilities.html#read">read</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.WMSGetFeatureInfo"> <span class="title"> <a href="ol.format.WMSGetFeatureInfo.html">ol.format.WMSGetFeatureInfo</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.format.WMSGetFeatureInfo#readFeatures" class=""> <a href="ol.format.WMSGetFeatureInfo.html#readFeatures">readFeatures</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.XML"> <span class="title"> <a href="ol.format.XML.html">ol.format.XML</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.format.XMLFeature"> <span class="title"> <a href="ol.format.XMLFeature.html">ol.format.XMLFeature</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.geom"> <span class="title"> <a href="ol.geom.html">ol.geom</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> <span class="subtitle">Typedefs</span> <li data-name="ol.geom.GeometryLayout" class=""> <a href="ol.geom.html#GeometryLayout">GeometryLayout</a> </li> <li data-name="ol.geom.GeometryType" class=""> <a href="ol.geom.html#GeometryType">GeometryType</a> </li> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.geom.Circle"> <span class="title"> <a href="ol.geom.Circle.html">ol.geom.Circle</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.geom.Circle#applyTransform" class=""> <a href="ol.geom.Circle.html#applyTransform">applyTransform</a> </li> <li data-name="ol.geom.Circle#changed" class="unstable"> <a href="ol.geom.Circle.html#changed">changed</a> </li> <li data-name="ol.geom.Circle#clone" class="unstable"> <a href="ol.geom.Circle.html#clone">clone</a> </li> <li data-name="ol.geom.Circle#getCenter" class="unstable"> <a href="ol.geom.Circle.html#getCenter">getCenter</a> </li> <li data-name="ol.geom.Circle#getClosestPoint" class=""> <a href="ol.geom.Circle.html#getClosestPoint">getClosestPoint</a> </li> <li data-name="ol.geom.Circle#getExtent" class=""> <a href="ol.geom.Circle.html#getExtent">getExtent</a> </li> <li data-name="ol.geom.Circle#getFirstCoordinate" class=""> <a href="ol.geom.Circle.html#getFirstCoordinate">getFirstCoordinate</a> </li> <li data-name="ol.geom.Circle#getLastCoordinate" class=""> <a href="ol.geom.Circle.html#getLastCoordinate">getLastCoordinate</a> </li> <li data-name="ol.geom.Circle#getLayout" class=""> <a href="ol.geom.Circle.html#getLayout">getLayout</a> </li> <li data-name="ol.geom.Circle#getRadius" class="unstable"> <a href="ol.geom.Circle.html#getRadius">getRadius</a> </li> <li data-name="ol.geom.Circle#getRevision" class="unstable"> <a href="ol.geom.Circle.html#getRevision">getRevision</a> </li> <li data-name="ol.geom.Circle#getType" class=""> <a href="ol.geom.Circle.html#getType">getType</a> </li> <li data-name="ol.geom.Circle#intersectsExtent" class="unstable"> <a href="ol.geom.Circle.html#intersectsExtent">intersectsExtent</a> </li> <li data-name="ol.geom.Circle#on" class=""> <a href="ol.geom.Circle.html#on">on</a> </li> <li data-name="ol.geom.Circle#once" class=""> <a href="ol.geom.Circle.html#once">once</a> </li> <li data-name="ol.geom.Circle#setCenter" class="unstable"> <a href="ol.geom.Circle.html#setCenter">setCenter</a> </li> <li data-name="ol.geom.Circle#setCenterAndRadius" class="unstable"> <a href="ol.geom.Circle.html#setCenterAndRadius">setCenterAndRadius</a> </li> <li data-name="ol.geom.Circle#setRadius" class="unstable"> <a href="ol.geom.Circle.html#setRadius">setRadius</a> </li> <li data-name="ol.geom.Circle#transform" class=""> <a href="ol.geom.Circle.html#transform">transform</a> </li> <li data-name="ol.geom.Circle#translate" class="unstable"> <a href="ol.geom.Circle.html#translate">translate</a> </li> <li data-name="ol.geom.Circle#un" class=""> <a href="ol.geom.Circle.html#un">un</a> </li> <li data-name="ol.geom.Circle#unByKey" class=""> <a href="ol.geom.Circle.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the geometry changes." class="unstable"> change Triggered when the geometry changes. </li> </ul> </li> <li class="item" data-name="ol.geom.Geometry"> <span class="title"> <a href="ol.geom.Geometry.html">ol.geom.Geometry</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.geom.Geometry#applyTransform" class=""> <a href="ol.geom.Geometry.html#applyTransform">applyTransform</a> </li> <li data-name="ol.geom.Geometry#changed" class="unstable"> <a href="ol.geom.Geometry.html#changed">changed</a> </li> <li data-name="ol.geom.Geometry#clone" class=""> <a href="ol.geom.Geometry.html#clone">clone</a> </li> <li data-name="ol.geom.Geometry#getClosestPoint" class=""> <a href="ol.geom.Geometry.html#getClosestPoint">getClosestPoint</a> </li> <li data-name="ol.geom.Geometry#getExtent" class=""> <a href="ol.geom.Geometry.html#getExtent">getExtent</a> </li> <li data-name="ol.geom.Geometry#getRevision" class="unstable"> <a href="ol.geom.Geometry.html#getRevision">getRevision</a> </li> <li data-name="ol.geom.Geometry#getType" class=""> <a href="ol.geom.Geometry.html#getType">getType</a> </li> <li data-name="ol.geom.Geometry#intersectsExtent" class="unstable"> <a href="ol.geom.Geometry.html#intersectsExtent">intersectsExtent</a> </li> <li data-name="ol.geom.Geometry#on" class=""> <a href="ol.geom.Geometry.html#on">on</a> </li> <li data-name="ol.geom.Geometry#once" class=""> <a href="ol.geom.Geometry.html#once">once</a> </li> <li data-name="ol.geom.Geometry#transform" class=""> <a href="ol.geom.Geometry.html#transform">transform</a> </li> <li data-name="ol.geom.Geometry#translate" class="unstable"> <a href="ol.geom.Geometry.html#translate">translate</a> </li> <li data-name="ol.geom.Geometry#un" class=""> <a href="ol.geom.Geometry.html#un">un</a> </li> <li data-name="ol.geom.Geometry#unByKey" class=""> <a href="ol.geom.Geometry.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the geometry changes." class="unstable"> change Triggered when the geometry changes. </li> </ul> </li> <li class="item" data-name="ol.geom.GeometryCollection"> <span class="title"> <a href="ol.geom.GeometryCollection.html">ol.geom.GeometryCollection</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.geom.GeometryCollection#applyTransform" class=""> <a href="ol.geom.GeometryCollection.html#applyTransform">applyTransform</a> </li> <li data-name="ol.geom.GeometryCollection#changed" class="unstable"> <a href="ol.geom.GeometryCollection.html#changed">changed</a> </li> <li data-name="ol.geom.GeometryCollection#clone" class=""> <a href="ol.geom.GeometryCollection.html#clone">clone</a> </li> <li data-name="ol.geom.GeometryCollection#getClosestPoint" class=""> <a href="ol.geom.GeometryCollection.html#getClosestPoint">getClosestPoint</a> </li> <li data-name="ol.geom.GeometryCollection#getExtent" class=""> <a href="ol.geom.GeometryCollection.html#getExtent">getExtent</a> </li> <li data-name="ol.geom.GeometryCollection#getGeometries" class=""> <a href="ol.geom.GeometryCollection.html#getGeometries">getGeometries</a> </li> <li data-name="ol.geom.GeometryCollection#getRevision" class="unstable"> <a href="ol.geom.GeometryCollection.html#getRevision">getRevision</a> </li> <li data-name="ol.geom.GeometryCollection#getType" class=""> <a href="ol.geom.GeometryCollection.html#getType">getType</a> </li> <li data-name="ol.geom.GeometryCollection#intersectsExtent" class="unstable"> <a href="ol.geom.GeometryCollection.html#intersectsExtent">intersectsExtent</a> </li> <li data-name="ol.geom.GeometryCollection#on" class=""> <a href="ol.geom.GeometryCollection.html#on">on</a> </li> <li data-name="ol.geom.GeometryCollection#once" class=""> <a href="ol.geom.GeometryCollection.html#once">once</a> </li> <li data-name="ol.geom.GeometryCollection#setGeometries" class=""> <a href="ol.geom.GeometryCollection.html#setGeometries">setGeometries</a> </li> <li data-name="ol.geom.GeometryCollection#transform" class=""> <a href="ol.geom.GeometryCollection.html#transform">transform</a> </li> <li data-name="ol.geom.GeometryCollection#translate" class="unstable"> <a href="ol.geom.GeometryCollection.html#translate">translate</a> </li> <li data-name="ol.geom.GeometryCollection#un" class=""> <a href="ol.geom.GeometryCollection.html#un">un</a> </li> <li data-name="ol.geom.GeometryCollection#unByKey" class=""> <a href="ol.geom.GeometryCollection.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the geometry changes." class="unstable"> change Triggered when the geometry changes. </li> </ul> </li> <li class="item" data-name="ol.geom.LineString"> <span class="title"> <a href="ol.geom.LineString.html">ol.geom.LineString</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.geom.LineString#appendCoordinate" class=""> <a href="ol.geom.LineString.html#appendCoordinate">appendCoordinate</a> </li> <li data-name="ol.geom.LineString#applyTransform" class=""> <a href="ol.geom.LineString.html#applyTransform">applyTransform</a> </li> <li data-name="ol.geom.LineString#changed" class="unstable"> <a href="ol.geom.LineString.html#changed">changed</a> </li> <li data-name="ol.geom.LineString#clone" class=""> <a href="ol.geom.LineString.html#clone">clone</a> </li> <li data-name="ol.geom.LineString#getClosestPoint" class=""> <a href="ol.geom.LineString.html#getClosestPoint">getClosestPoint</a> </li> <li data-name="ol.geom.LineString#getCoordinateAtM" class=""> <a href="ol.geom.LineString.html#getCoordinateAtM">getCoordinateAtM</a> </li> <li data-name="ol.geom.LineString#getCoordinates" class=""> <a href="ol.geom.LineString.html#getCoordinates">getCoordinates</a> </li> <li data-name="ol.geom.LineString#getExtent" class=""> <a href="ol.geom.LineString.html#getExtent">getExtent</a> </li> <li data-name="ol.geom.LineString#getFirstCoordinate" class=""> <a href="ol.geom.LineString.html#getFirstCoordinate">getFirstCoordinate</a> </li> <li data-name="ol.geom.LineString#getLastCoordinate" class=""> <a href="ol.geom.LineString.html#getLastCoordinate">getLastCoordinate</a> </li> <li data-name="ol.geom.LineString#getLayout" class=""> <a href="ol.geom.LineString.html#getLayout">getLayout</a> </li> <li data-name="ol.geom.LineString#getLength" class=""> <a href="ol.geom.LineString.html#getLength">getLength</a> </li> <li data-name="ol.geom.LineString#getRevision" class="unstable"> <a href="ol.geom.LineString.html#getRevision">getRevision</a> </li> <li data-name="ol.geom.LineString#getType" class=""> <a href="ol.geom.LineString.html#getType">getType</a> </li> <li data-name="ol.geom.LineString#intersectsExtent" class="unstable"> <a href="ol.geom.LineString.html#intersectsExtent">intersectsExtent</a> </li> <li data-name="ol.geom.LineString#on" class=""> <a href="ol.geom.LineString.html#on">on</a> </li> <li data-name="ol.geom.LineString#once" class=""> <a href="ol.geom.LineString.html#once">once</a> </li> <li data-name="ol.geom.LineString#setCoordinates" class=""> <a href="ol.geom.LineString.html#setCoordinates">setCoordinates</a> </li> <li data-name="ol.geom.LineString#transform" class=""> <a href="ol.geom.LineString.html#transform">transform</a> </li> <li data-name="ol.geom.LineString#translate" class="unstable"> <a href="ol.geom.LineString.html#translate">translate</a> </li> <li data-name="ol.geom.LineString#un" class=""> <a href="ol.geom.LineString.html#un">un</a> </li> <li data-name="ol.geom.LineString#unByKey" class=""> <a href="ol.geom.LineString.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the geometry changes." class="unstable"> change Triggered when the geometry changes. </li> </ul> </li> <li class="item" data-name="ol.geom.LinearRing"> <span class="title"> <a href="ol.geom.LinearRing.html">ol.geom.LinearRing</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.geom.LinearRing#applyTransform" class=""> <a href="ol.geom.LinearRing.html#applyTransform">applyTransform</a> </li> <li data-name="ol.geom.LinearRing#changed" class="unstable"> <a href="ol.geom.LinearRing.html#changed">changed</a> </li> <li data-name="ol.geom.LinearRing#clone" class=""> <a href="ol.geom.LinearRing.html#clone">clone</a> </li> <li data-name="ol.geom.LinearRing#getArea" class=""> <a href="ol.geom.LinearRing.html#getArea">getArea</a> </li> <li data-name="ol.geom.LinearRing#getClosestPoint" class=""> <a href="ol.geom.LinearRing.html#getClosestPoint">getClosestPoint</a> </li> <li data-name="ol.geom.LinearRing#getCoordinates" class=""> <a href="ol.geom.LinearRing.html#getCoordinates">getCoordinates</a> </li> <li data-name="ol.geom.LinearRing#getExtent" class=""> <a href="ol.geom.LinearRing.html#getExtent">getExtent</a> </li> <li data-name="ol.geom.LinearRing#getFirstCoordinate" class=""> <a href="ol.geom.LinearRing.html#getFirstCoordinate">getFirstCoordinate</a> </li> <li data-name="ol.geom.LinearRing#getLastCoordinate" class=""> <a href="ol.geom.LinearRing.html#getLastCoordinate">getLastCoordinate</a> </li> <li data-name="ol.geom.LinearRing#getLayout" class=""> <a href="ol.geom.LinearRing.html#getLayout">getLayout</a> </li> <li data-name="ol.geom.LinearRing#getRevision" class="unstable"> <a href="ol.geom.LinearRing.html#getRevision">getRevision</a> </li> <li data-name="ol.geom.LinearRing#getType" class=""> <a href="ol.geom.LinearRing.html#getType">getType</a> </li> <li data-name="ol.geom.LinearRing#intersectsExtent" class="unstable"> <a href="ol.geom.LinearRing.html#intersectsExtent">intersectsExtent</a> </li> <li data-name="ol.geom.LinearRing#on" class=""> <a href="ol.geom.LinearRing.html#on">on</a> </li> <li data-name="ol.geom.LinearRing#once" class=""> <a href="ol.geom.LinearRing.html#once">once</a> </li> <li data-name="ol.geom.LinearRing#setCoordinates" class=""> <a href="ol.geom.LinearRing.html#setCoordinates">setCoordinates</a> </li> <li data-name="ol.geom.LinearRing#transform" class=""> <a href="ol.geom.LinearRing.html#transform">transform</a> </li> <li data-name="ol.geom.LinearRing#translate" class="unstable"> <a href="ol.geom.LinearRing.html#translate">translate</a> </li> <li data-name="ol.geom.LinearRing#un" class=""> <a href="ol.geom.LinearRing.html#un">un</a> </li> <li data-name="ol.geom.LinearRing#unByKey" class=""> <a href="ol.geom.LinearRing.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the geometry changes." class="unstable"> change Triggered when the geometry changes. </li> </ul> </li> <li class="item" data-name="ol.geom.MultiLineString"> <span class="title"> <a href="ol.geom.MultiLineString.html">ol.geom.MultiLineString</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.geom.MultiLineString#appendLineString" class=""> <a href="ol.geom.MultiLineString.html#appendLineString">appendLineString</a> </li> <li data-name="ol.geom.MultiLineString#applyTransform" class=""> <a href="ol.geom.MultiLineString.html#applyTransform">applyTransform</a> </li> <li data-name="ol.geom.MultiLineString#changed" class="unstable"> <a href="ol.geom.MultiLineString.html#changed">changed</a> </li> <li data-name="ol.geom.MultiLineString#clone" class=""> <a href="ol.geom.MultiLineString.html#clone">clone</a> </li> <li data-name="ol.geom.MultiLineString#getClosestPoint" class=""> <a href="ol.geom.MultiLineString.html#getClosestPoint">getClosestPoint</a> </li> <li data-name="ol.geom.MultiLineString#getCoordinateAtM" class=""> <a href="ol.geom.MultiLineString.html#getCoordinateAtM">getCoordinateAtM</a> </li> <li data-name="ol.geom.MultiLineString#getCoordinates" class=""> <a href="ol.geom.MultiLineString.html#getCoordinates">getCoordinates</a> </li> <li data-name="ol.geom.MultiLineString#getExtent" class=""> <a href="ol.geom.MultiLineString.html#getExtent">getExtent</a> </li> <li data-name="ol.geom.MultiLineString#getFirstCoordinate" class=""> <a href="ol.geom.MultiLineString.html#getFirstCoordinate">getFirstCoordinate</a> </li> <li data-name="ol.geom.MultiLineString#getLastCoordinate" class=""> <a href="ol.geom.MultiLineString.html#getLastCoordinate">getLastCoordinate</a> </li> <li data-name="ol.geom.MultiLineString#getLayout" class=""> <a href="ol.geom.MultiLineString.html#getLayout">getLayout</a> </li> <li data-name="ol.geom.MultiLineString#getLineString" class=""> <a href="ol.geom.MultiLineString.html#getLineString">getLineString</a> </li> <li data-name="ol.geom.MultiLineString#getLineStrings" class=""> <a href="ol.geom.MultiLineString.html#getLineStrings">getLineStrings</a> </li> <li data-name="ol.geom.MultiLineString#getRevision" class="unstable"> <a href="ol.geom.MultiLineString.html#getRevision">getRevision</a> </li> <li data-name="ol.geom.MultiLineString#getType" class=""> <a href="ol.geom.MultiLineString.html#getType">getType</a> </li> <li data-name="ol.geom.MultiLineString#intersectsExtent" class="unstable"> <a href="ol.geom.MultiLineString.html#intersectsExtent">intersectsExtent</a> </li> <li data-name="ol.geom.MultiLineString#on" class=""> <a href="ol.geom.MultiLineString.html#on">on</a> </li> <li data-name="ol.geom.MultiLineString#once" class=""> <a href="ol.geom.MultiLineString.html#once">once</a> </li> <li data-name="ol.geom.MultiLineString#setCoordinates" class=""> <a href="ol.geom.MultiLineString.html#setCoordinates">setCoordinates</a> </li> <li data-name="ol.geom.MultiLineString#transform" class=""> <a href="ol.geom.MultiLineString.html#transform">transform</a> </li> <li data-name="ol.geom.MultiLineString#translate" class="unstable"> <a href="ol.geom.MultiLineString.html#translate">translate</a> </li> <li data-name="ol.geom.MultiLineString#un" class=""> <a href="ol.geom.MultiLineString.html#un">un</a> </li> <li data-name="ol.geom.MultiLineString#unByKey" class=""> <a href="ol.geom.MultiLineString.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the geometry changes." class="unstable"> change Triggered when the geometry changes. </li> </ul> </li> <li class="item" data-name="ol.geom.MultiPoint"> <span class="title"> <a href="ol.geom.MultiPoint.html">ol.geom.MultiPoint</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.geom.MultiPoint#appendPoint" class=""> <a href="ol.geom.MultiPoint.html#appendPoint">appendPoint</a> </li> <li data-name="ol.geom.MultiPoint#applyTransform" class=""> <a href="ol.geom.MultiPoint.html#applyTransform">applyTransform</a> </li> <li data-name="ol.geom.MultiPoint#changed" class="unstable"> <a href="ol.geom.MultiPoint.html#changed">changed</a> </li> <li data-name="ol.geom.MultiPoint#clone" class=""> <a href="ol.geom.MultiPoint.html#clone">clone</a> </li> <li data-name="ol.geom.MultiPoint#getClosestPoint" class=""> <a href="ol.geom.MultiPoint.html#getClosestPoint">getClosestPoint</a> </li> <li data-name="ol.geom.MultiPoint#getCoordinates" class=""> <a href="ol.geom.MultiPoint.html#getCoordinates">getCoordinates</a> </li> <li data-name="ol.geom.MultiPoint#getExtent" class=""> <a href="ol.geom.MultiPoint.html#getExtent">getExtent</a> </li> <li data-name="ol.geom.MultiPoint#getFirstCoordinate" class=""> <a href="ol.geom.MultiPoint.html#getFirstCoordinate">getFirstCoordinate</a> </li> <li data-name="ol.geom.MultiPoint#getLastCoordinate" class=""> <a href="ol.geom.MultiPoint.html#getLastCoordinate">getLastCoordinate</a> </li> <li data-name="ol.geom.MultiPoint#getLayout" class=""> <a href="ol.geom.MultiPoint.html#getLayout">getLayout</a> </li> <li data-name="ol.geom.MultiPoint#getPoint" class=""> <a href="ol.geom.MultiPoint.html#getPoint">getPoint</a> </li> <li data-name="ol.geom.MultiPoint#getPoints" class=""> <a href="ol.geom.MultiPoint.html#getPoints">getPoints</a> </li> <li data-name="ol.geom.MultiPoint#getRevision" class="unstable"> <a href="ol.geom.MultiPoint.html#getRevision">getRevision</a> </li> <li data-name="ol.geom.MultiPoint#getType" class=""> <a href="ol.geom.MultiPoint.html#getType">getType</a> </li> <li data-name="ol.geom.MultiPoint#intersectsExtent" class="unstable"> <a href="ol.geom.MultiPoint.html#intersectsExtent">intersectsExtent</a> </li> <li data-name="ol.geom.MultiPoint#on" class=""> <a href="ol.geom.MultiPoint.html#on">on</a> </li> <li data-name="ol.geom.MultiPoint#once" class=""> <a href="ol.geom.MultiPoint.html#once">once</a> </li> <li data-name="ol.geom.MultiPoint#setCoordinates" class=""> <a href="ol.geom.MultiPoint.html#setCoordinates">setCoordinates</a> </li> <li data-name="ol.geom.MultiPoint#transform" class=""> <a href="ol.geom.MultiPoint.html#transform">transform</a> </li> <li data-name="ol.geom.MultiPoint#translate" class="unstable"> <a href="ol.geom.MultiPoint.html#translate">translate</a> </li> <li data-name="ol.geom.MultiPoint#un" class=""> <a href="ol.geom.MultiPoint.html#un">un</a> </li> <li data-name="ol.geom.MultiPoint#unByKey" class=""> <a href="ol.geom.MultiPoint.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the geometry changes." class="unstable"> change Triggered when the geometry changes. </li> </ul> </li> <li class="item" data-name="ol.geom.MultiPolygon"> <span class="title"> <a href="ol.geom.MultiPolygon.html">ol.geom.MultiPolygon</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.geom.MultiPolygon#appendPolygon" class=""> <a href="ol.geom.MultiPolygon.html#appendPolygon">appendPolygon</a> </li> <li data-name="ol.geom.MultiPolygon#applyTransform" class=""> <a href="ol.geom.MultiPolygon.html#applyTransform">applyTransform</a> </li> <li data-name="ol.geom.MultiPolygon#changed" class="unstable"> <a href="ol.geom.MultiPolygon.html#changed">changed</a> </li> <li data-name="ol.geom.MultiPolygon#clone" class=""> <a href="ol.geom.MultiPolygon.html#clone">clone</a> </li> <li data-name="ol.geom.MultiPolygon#getArea" class=""> <a href="ol.geom.MultiPolygon.html#getArea">getArea</a> </li> <li data-name="ol.geom.MultiPolygon#getClosestPoint" class=""> <a href="ol.geom.MultiPolygon.html#getClosestPoint">getClosestPoint</a> </li> <li data-name="ol.geom.MultiPolygon#getCoordinates" class=""> <a href="ol.geom.MultiPolygon.html#getCoordinates">getCoordinates</a> </li> <li data-name="ol.geom.MultiPolygon#getExtent" class=""> <a href="ol.geom.MultiPolygon.html#getExtent">getExtent</a> </li> <li data-name="ol.geom.MultiPolygon#getFirstCoordinate" class=""> <a href="ol.geom.MultiPolygon.html#getFirstCoordinate">getFirstCoordinate</a> </li> <li data-name="ol.geom.MultiPolygon#getInteriorPoints" class=""> <a href="ol.geom.MultiPolygon.html#getInteriorPoints">getInteriorPoints</a> </li> <li data-name="ol.geom.MultiPolygon#getLastCoordinate" class=""> <a href="ol.geom.MultiPolygon.html#getLastCoordinate">getLastCoordinate</a> </li> <li data-name="ol.geom.MultiPolygon#getLayout" class=""> <a href="ol.geom.MultiPolygon.html#getLayout">getLayout</a> </li> <li data-name="ol.geom.MultiPolygon#getPolygon" class=""> <a href="ol.geom.MultiPolygon.html#getPolygon">getPolygon</a> </li> <li data-name="ol.geom.MultiPolygon#getPolygons" class=""> <a href="ol.geom.MultiPolygon.html#getPolygons">getPolygons</a> </li> <li data-name="ol.geom.MultiPolygon#getRevision" class="unstable"> <a href="ol.geom.MultiPolygon.html#getRevision">getRevision</a> </li> <li data-name="ol.geom.MultiPolygon#getType" class=""> <a href="ol.geom.MultiPolygon.html#getType">getType</a> </li> <li data-name="ol.geom.MultiPolygon#intersectsExtent" class="unstable"> <a href="ol.geom.MultiPolygon.html#intersectsExtent">intersectsExtent</a> </li> <li data-name="ol.geom.MultiPolygon#on" class=""> <a href="ol.geom.MultiPolygon.html#on">on</a> </li> <li data-name="ol.geom.MultiPolygon#once" class=""> <a href="ol.geom.MultiPolygon.html#once">once</a> </li> <li data-name="ol.geom.MultiPolygon#setCoordinates" class=""> <a href="ol.geom.MultiPolygon.html#setCoordinates">setCoordinates</a> </li> <li data-name="ol.geom.MultiPolygon#transform" class=""> <a href="ol.geom.MultiPolygon.html#transform">transform</a> </li> <li data-name="ol.geom.MultiPolygon#translate" class="unstable"> <a href="ol.geom.MultiPolygon.html#translate">translate</a> </li> <li data-name="ol.geom.MultiPolygon#un" class=""> <a href="ol.geom.MultiPolygon.html#un">un</a> </li> <li data-name="ol.geom.MultiPolygon#unByKey" class=""> <a href="ol.geom.MultiPolygon.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the geometry changes." class="unstable"> change Triggered when the geometry changes. </li> </ul> </li> <li class="item" data-name="ol.geom.Point"> <span class="title"> <a href="ol.geom.Point.html">ol.geom.Point</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.geom.Point#applyTransform" class=""> <a href="ol.geom.Point.html#applyTransform">applyTransform</a> </li> <li data-name="ol.geom.Point#changed" class="unstable"> <a href="ol.geom.Point.html#changed">changed</a> </li> <li data-name="ol.geom.Point#clone" class=""> <a href="ol.geom.Point.html#clone">clone</a> </li> <li data-name="ol.geom.Point#getClosestPoint" class=""> <a href="ol.geom.Point.html#getClosestPoint">getClosestPoint</a> </li> <li data-name="ol.geom.Point#getCoordinates" class=""> <a href="ol.geom.Point.html#getCoordinates">getCoordinates</a> </li> <li data-name="ol.geom.Point#getExtent" class=""> <a href="ol.geom.Point.html#getExtent">getExtent</a> </li> <li data-name="ol.geom.Point#getFirstCoordinate" class=""> <a href="ol.geom.Point.html#getFirstCoordinate">getFirstCoordinate</a> </li> <li data-name="ol.geom.Point#getLastCoordinate" class=""> <a href="ol.geom.Point.html#getLastCoordinate">getLastCoordinate</a> </li> <li data-name="ol.geom.Point#getLayout" class=""> <a href="ol.geom.Point.html#getLayout">getLayout</a> </li> <li data-name="ol.geom.Point#getRevision" class="unstable"> <a href="ol.geom.Point.html#getRevision">getRevision</a> </li> <li data-name="ol.geom.Point#getType" class=""> <a href="ol.geom.Point.html#getType">getType</a> </li> <li data-name="ol.geom.Point#intersectsExtent" class="unstable"> <a href="ol.geom.Point.html#intersectsExtent">intersectsExtent</a> </li> <li data-name="ol.geom.Point#on" class=""> <a href="ol.geom.Point.html#on">on</a> </li> <li data-name="ol.geom.Point#once" class=""> <a href="ol.geom.Point.html#once">once</a> </li> <li data-name="ol.geom.Point#setCoordinates" class=""> <a href="ol.geom.Point.html#setCoordinates">setCoordinates</a> </li> <li data-name="ol.geom.Point#transform" class=""> <a href="ol.geom.Point.html#transform">transform</a> </li> <li data-name="ol.geom.Point#translate" class="unstable"> <a href="ol.geom.Point.html#translate">translate</a> </li> <li data-name="ol.geom.Point#un" class=""> <a href="ol.geom.Point.html#un">un</a> </li> <li data-name="ol.geom.Point#unByKey" class=""> <a href="ol.geom.Point.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the geometry changes." class="unstable"> change Triggered when the geometry changes. </li> </ul> </li> <li class="item" data-name="ol.geom.Polygon"> <span class="title"> <a href="ol.geom.Polygon.html">ol.geom.Polygon</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.geom.Polygon.circular" class=""> <a href="ol.geom.Polygon.html#circular">circular</a> </li> <li data-name="ol.geom.Polygon.fromExtent" class="unstable"> <a href="ol.geom.Polygon.html#fromExtent">fromExtent</a> </li> <li data-name="ol.geom.Polygon#appendLinearRing" class=""> <a href="ol.geom.Polygon.html#appendLinearRing">appendLinearRing</a> </li> <li data-name="ol.geom.Polygon#applyTransform" class=""> <a href="ol.geom.Polygon.html#applyTransform">applyTransform</a> </li> <li data-name="ol.geom.Polygon#changed" class="unstable"> <a href="ol.geom.Polygon.html#changed">changed</a> </li> <li data-name="ol.geom.Polygon#clone" class=""> <a href="ol.geom.Polygon.html#clone">clone</a> </li> <li data-name="ol.geom.Polygon#getArea" class=""> <a href="ol.geom.Polygon.html#getArea">getArea</a> </li> <li data-name="ol.geom.Polygon#getClosestPoint" class=""> <a href="ol.geom.Polygon.html#getClosestPoint">getClosestPoint</a> </li> <li data-name="ol.geom.Polygon#getCoordinates" class=""> <a href="ol.geom.Polygon.html#getCoordinates">getCoordinates</a> </li> <li data-name="ol.geom.Polygon#getExtent" class=""> <a href="ol.geom.Polygon.html#getExtent">getExtent</a> </li> <li data-name="ol.geom.Polygon#getFirstCoordinate" class=""> <a href="ol.geom.Polygon.html#getFirstCoordinate">getFirstCoordinate</a> </li> <li data-name="ol.geom.Polygon#getInteriorPoint" class=""> <a href="ol.geom.Polygon.html#getInteriorPoint">getInteriorPoint</a> </li> <li data-name="ol.geom.Polygon#getLastCoordinate" class=""> <a href="ol.geom.Polygon.html#getLastCoordinate">getLastCoordinate</a> </li> <li data-name="ol.geom.Polygon#getLayout" class=""> <a href="ol.geom.Polygon.html#getLayout">getLayout</a> </li> <li data-name="ol.geom.Polygon#getLinearRing" class=""> <a href="ol.geom.Polygon.html#getLinearRing">getLinearRing</a> </li> <li data-name="ol.geom.Polygon#getLinearRingCount" class="unstable"> <a href="ol.geom.Polygon.html#getLinearRingCount">getLinearRingCount</a> </li> <li data-name="ol.geom.Polygon#getLinearRings" class=""> <a href="ol.geom.Polygon.html#getLinearRings">getLinearRings</a> </li> <li data-name="ol.geom.Polygon#getRevision" class="unstable"> <a href="ol.geom.Polygon.html#getRevision">getRevision</a> </li> <li data-name="ol.geom.Polygon#getType" class=""> <a href="ol.geom.Polygon.html#getType">getType</a> </li> <li data-name="ol.geom.Polygon#intersectsExtent" class="unstable"> <a href="ol.geom.Polygon.html#intersectsExtent">intersectsExtent</a> </li> <li data-name="ol.geom.Polygon#on" class=""> <a href="ol.geom.Polygon.html#on">on</a> </li> <li data-name="ol.geom.Polygon#once" class=""> <a href="ol.geom.Polygon.html#once">once</a> </li> <li data-name="ol.geom.Polygon#setCoordinates" class=""> <a href="ol.geom.Polygon.html#setCoordinates">setCoordinates</a> </li> <li data-name="ol.geom.Polygon#transform" class=""> <a href="ol.geom.Polygon.html#transform">transform</a> </li> <li data-name="ol.geom.Polygon#translate" class="unstable"> <a href="ol.geom.Polygon.html#translate">translate</a> </li> <li data-name="ol.geom.Polygon#un" class=""> <a href="ol.geom.Polygon.html#un">un</a> </li> <li data-name="ol.geom.Polygon#unByKey" class=""> <a href="ol.geom.Polygon.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the geometry changes." class="unstable"> change Triggered when the geometry changes. </li> </ul> </li> <li class="item" data-name="ol.geom.SimpleGeometry"> <span class="title"> <a href="ol.geom.SimpleGeometry.html">ol.geom.SimpleGeometry</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.geom.SimpleGeometry#applyTransform" class=""> <a href="ol.geom.SimpleGeometry.html#applyTransform">applyTransform</a> </li> <li data-name="ol.geom.SimpleGeometry#changed" class="unstable"> <a href="ol.geom.SimpleGeometry.html#changed">changed</a> </li> <li data-name="ol.geom.SimpleGeometry#clone" class=""> <a href="ol.geom.SimpleGeometry.html#clone">clone</a> </li> <li data-name="ol.geom.SimpleGeometry#getClosestPoint" class=""> <a href="ol.geom.SimpleGeometry.html#getClosestPoint">getClosestPoint</a> </li> <li data-name="ol.geom.SimpleGeometry#getExtent" class=""> <a href="ol.geom.SimpleGeometry.html#getExtent">getExtent</a> </li> <li data-name="ol.geom.SimpleGeometry#getFirstCoordinate" class=""> <a href="ol.geom.SimpleGeometry.html#getFirstCoordinate">getFirstCoordinate</a> </li> <li data-name="ol.geom.SimpleGeometry#getLastCoordinate" class=""> <a href="ol.geom.SimpleGeometry.html#getLastCoordinate">getLastCoordinate</a> </li> <li data-name="ol.geom.SimpleGeometry#getLayout" class=""> <a href="ol.geom.SimpleGeometry.html#getLayout">getLayout</a> </li> <li data-name="ol.geom.SimpleGeometry#getRevision" class="unstable"> <a href="ol.geom.SimpleGeometry.html#getRevision">getRevision</a> </li> <li data-name="ol.geom.SimpleGeometry#getType" class=""> <a href="ol.geom.SimpleGeometry.html#getType">getType</a> </li> <li data-name="ol.geom.SimpleGeometry#intersectsExtent" class="unstable"> <a href="ol.geom.SimpleGeometry.html#intersectsExtent">intersectsExtent</a> </li> <li data-name="ol.geom.SimpleGeometry#on" class=""> <a href="ol.geom.SimpleGeometry.html#on">on</a> </li> <li data-name="ol.geom.SimpleGeometry#once" class=""> <a href="ol.geom.SimpleGeometry.html#once">once</a> </li> <li data-name="ol.geom.SimpleGeometry#transform" class=""> <a href="ol.geom.SimpleGeometry.html#transform">transform</a> </li> <li data-name="ol.geom.SimpleGeometry#translate" class="unstable"> <a href="ol.geom.SimpleGeometry.html#translate">translate</a> </li> <li data-name="ol.geom.SimpleGeometry#un" class=""> <a href="ol.geom.SimpleGeometry.html#un">un</a> </li> <li data-name="ol.geom.SimpleGeometry#unByKey" class=""> <a href="ol.geom.SimpleGeometry.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the geometry changes." class="unstable"> change Triggered when the geometry changes. </li> </ul> </li> <li class="item" data-name="ol.has"> <span class="title"> <a href="ol.has.html">ol.has</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.has.CANVAS"><a href="ol.has.html#CANVAS">CANVAS</a></li> <li data-name="ol.has.DEVICE_ORIENTATION"><a href="ol.has.html#DEVICE_ORIENTATION">DEVICE_ORIENTATION</a></li> <li data-name="ol.has.DEVICE_PIXEL_RATIO"><a href="ol.has.html#DEVICE_PIXEL_RATIO">DEVICE_PIXEL_RATIO</a></li> <li data-name="ol.has.GEOLOCATION"><a href="ol.has.html#GEOLOCATION">GEOLOCATION</a></li> <li data-name="ol.has.TOUCH"><a href="ol.has.html#TOUCH">TOUCH</a></li> <li data-name="ol.has.WEBGL"><a href="ol.has.html#WEBGL">WEBGL</a></li> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.interaction"> <span class="title"> <a href="ol.interaction.html">ol.interaction</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.defaults" class=""> <a href="ol.interaction.html#defaults">defaults</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.interaction.DoubleClickZoom"> <span class="title"> <a href="ol.interaction.DoubleClickZoom.html">ol.interaction.DoubleClickZoom</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.DoubleClickZoom.handleEvent" class="unstable"> <a href="ol.interaction.DoubleClickZoom.html#handleEvent">handleEvent</a> </li> <li data-name="ol.interaction.DoubleClickZoom#bindTo" class="unstable"> <a href="ol.interaction.DoubleClickZoom.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.DoubleClickZoom#changed" class="unstable"> <a href="ol.interaction.DoubleClickZoom.html#changed">changed</a> </li> <li data-name="ol.interaction.DoubleClickZoom#get" class="unstable"> <a href="ol.interaction.DoubleClickZoom.html#get">get</a> </li> <li data-name="ol.interaction.DoubleClickZoom#getActive" class="unstable"> <a href="ol.interaction.DoubleClickZoom.html#getActive">getActive</a> </li> <li data-name="ol.interaction.DoubleClickZoom#getKeys" class="unstable"> <a href="ol.interaction.DoubleClickZoom.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.DoubleClickZoom#getProperties" class="unstable"> <a href="ol.interaction.DoubleClickZoom.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.DoubleClickZoom#getRevision" class="unstable"> <a href="ol.interaction.DoubleClickZoom.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.DoubleClickZoom#on" class=""> <a href="ol.interaction.DoubleClickZoom.html#on">on</a> </li> <li data-name="ol.interaction.DoubleClickZoom#once" class=""> <a href="ol.interaction.DoubleClickZoom.html#once">once</a> </li> <li data-name="ol.interaction.DoubleClickZoom#set" class="unstable"> <a href="ol.interaction.DoubleClickZoom.html#set">set</a> </li> <li data-name="ol.interaction.DoubleClickZoom#setActive" class="unstable"> <a href="ol.interaction.DoubleClickZoom.html#setActive">setActive</a> </li> <li data-name="ol.interaction.DoubleClickZoom#setProperties" class="unstable"> <a href="ol.interaction.DoubleClickZoom.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.DoubleClickZoom#un" class=""> <a href="ol.interaction.DoubleClickZoom.html#un">un</a> </li> <li data-name="ol.interaction.DoubleClickZoom#unbind" class="unstable"> <a href="ol.interaction.DoubleClickZoom.html#unbind">unbind</a> </li> <li data-name="ol.interaction.DoubleClickZoom#unbindAll" class="unstable"> <a href="ol.interaction.DoubleClickZoom.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.DoubleClickZoom#unByKey" class=""> <a href="ol.interaction.DoubleClickZoom.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.DragAndDrop"> <span class="title"> <a href="ol.interaction.DragAndDrop.html">ol.interaction.DragAndDrop</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.interaction.DragAndDrop.handleEvent"><a href="ol.interaction.DragAndDrop.html#handleEvent">handleEvent</a></li> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.DragAndDrop#bindTo" class="unstable"> <a href="ol.interaction.DragAndDrop.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.DragAndDrop#changed" class="unstable"> <a href="ol.interaction.DragAndDrop.html#changed">changed</a> </li> <li data-name="ol.interaction.DragAndDrop#get" class="unstable"> <a href="ol.interaction.DragAndDrop.html#get">get</a> </li> <li data-name="ol.interaction.DragAndDrop#getActive" class="unstable"> <a href="ol.interaction.DragAndDrop.html#getActive">getActive</a> </li> <li data-name="ol.interaction.DragAndDrop#getKeys" class="unstable"> <a href="ol.interaction.DragAndDrop.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.DragAndDrop#getProperties" class="unstable"> <a href="ol.interaction.DragAndDrop.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.DragAndDrop#getRevision" class="unstable"> <a href="ol.interaction.DragAndDrop.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.DragAndDrop#on" class=""> <a href="ol.interaction.DragAndDrop.html#on">on</a> </li> <li data-name="ol.interaction.DragAndDrop#once" class=""> <a href="ol.interaction.DragAndDrop.html#once">once</a> </li> <li data-name="ol.interaction.DragAndDrop#set" class="unstable"> <a href="ol.interaction.DragAndDrop.html#set">set</a> </li> <li data-name="ol.interaction.DragAndDrop#setActive" class="unstable"> <a href="ol.interaction.DragAndDrop.html#setActive">setActive</a> </li> <li data-name="ol.interaction.DragAndDrop#setProperties" class="unstable"> <a href="ol.interaction.DragAndDrop.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.DragAndDrop#un" class=""> <a href="ol.interaction.DragAndDrop.html#un">un</a> </li> <li data-name="ol.interaction.DragAndDrop#unbind" class="unstable"> <a href="ol.interaction.DragAndDrop.html#unbind">unbind</a> </li> <li data-name="ol.interaction.DragAndDrop#unbindAll" class="unstable"> <a href="ol.interaction.DragAndDrop.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.DragAndDrop#unByKey" class=""> <a href="ol.interaction.DragAndDrop.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.interaction.DragAndDropEvent#event:addfeatures" class=""> <a href="ol.interaction.DragAndDropEvent.html#event:addfeatures">addfeatures</a> </li> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.DragAndDropEvent"> <span class="title"> <a href="ol.interaction.DragAndDropEvent.html">ol.interaction.DragAndDropEvent</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.interaction.DragAndDropEvent#features"><a href="ol.interaction.DragAndDropEvent.html#features">features</a></li> <li data-name="ol.interaction.DragAndDropEvent#file"><a href="ol.interaction.DragAndDropEvent.html#file">file</a></li> <li data-name="ol.interaction.DragAndDropEvent#projection"><a href="ol.interaction.DragAndDropEvent.html#projection">projection</a></li> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.interaction.DragBox"> <span class="title"> <a href="ol.interaction.DragBox.html">ol.interaction.DragBox</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.DragBox#bindTo" class="unstable"> <a href="ol.interaction.DragBox.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.DragBox#changed" class="unstable"> <a href="ol.interaction.DragBox.html#changed">changed</a> </li> <li data-name="ol.interaction.DragBox#get" class="unstable"> <a href="ol.interaction.DragBox.html#get">get</a> </li> <li data-name="ol.interaction.DragBox#getActive" class="unstable"> <a href="ol.interaction.DragBox.html#getActive">getActive</a> </li> <li data-name="ol.interaction.DragBox#getGeometry" class=""> <a href="ol.interaction.DragBox.html#getGeometry">getGeometry</a> </li> <li data-name="ol.interaction.DragBox#getKeys" class="unstable"> <a href="ol.interaction.DragBox.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.DragBox#getProperties" class="unstable"> <a href="ol.interaction.DragBox.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.DragBox#getRevision" class="unstable"> <a href="ol.interaction.DragBox.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.DragBox#on" class=""> <a href="ol.interaction.DragBox.html#on">on</a> </li> <li data-name="ol.interaction.DragBox#once" class=""> <a href="ol.interaction.DragBox.html#once">once</a> </li> <li data-name="ol.interaction.DragBox#set" class="unstable"> <a href="ol.interaction.DragBox.html#set">set</a> </li> <li data-name="ol.interaction.DragBox#setActive" class="unstable"> <a href="ol.interaction.DragBox.html#setActive">setActive</a> </li> <li data-name="ol.interaction.DragBox#setProperties" class="unstable"> <a href="ol.interaction.DragBox.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.DragBox#un" class=""> <a href="ol.interaction.DragBox.html#un">un</a> </li> <li data-name="ol.interaction.DragBox#unbind" class="unstable"> <a href="ol.interaction.DragBox.html#unbind">unbind</a> </li> <li data-name="ol.interaction.DragBox#unbindAll" class="unstable"> <a href="ol.interaction.DragBox.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.DragBox#unByKey" class=""> <a href="ol.interaction.DragBox.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.DragBoxEvent#event:boxend" class=""> <a href="ol.DragBoxEvent.html#event:boxend">boxend</a> </li> <li data-name="ol.DragBoxEvent#event:boxstart" class=""> <a href="ol.DragBoxEvent.html#event:boxstart">boxstart</a> </li> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.DragPan"> <span class="title"> <a href="ol.interaction.DragPan.html">ol.interaction.DragPan</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.DragPan#bindTo" class="unstable"> <a href="ol.interaction.DragPan.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.DragPan#changed" class="unstable"> <a href="ol.interaction.DragPan.html#changed">changed</a> </li> <li data-name="ol.interaction.DragPan#get" class="unstable"> <a href="ol.interaction.DragPan.html#get">get</a> </li> <li data-name="ol.interaction.DragPan#getActive" class="unstable"> <a href="ol.interaction.DragPan.html#getActive">getActive</a> </li> <li data-name="ol.interaction.DragPan#getKeys" class="unstable"> <a href="ol.interaction.DragPan.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.DragPan#getProperties" class="unstable"> <a href="ol.interaction.DragPan.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.DragPan#getRevision" class="unstable"> <a href="ol.interaction.DragPan.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.DragPan#on" class=""> <a href="ol.interaction.DragPan.html#on">on</a> </li> <li data-name="ol.interaction.DragPan#once" class=""> <a href="ol.interaction.DragPan.html#once">once</a> </li> <li data-name="ol.interaction.DragPan#set" class="unstable"> <a href="ol.interaction.DragPan.html#set">set</a> </li> <li data-name="ol.interaction.DragPan#setActive" class="unstable"> <a href="ol.interaction.DragPan.html#setActive">setActive</a> </li> <li data-name="ol.interaction.DragPan#setProperties" class="unstable"> <a href="ol.interaction.DragPan.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.DragPan#un" class=""> <a href="ol.interaction.DragPan.html#un">un</a> </li> <li data-name="ol.interaction.DragPan#unbind" class="unstable"> <a href="ol.interaction.DragPan.html#unbind">unbind</a> </li> <li data-name="ol.interaction.DragPan#unbindAll" class="unstable"> <a href="ol.interaction.DragPan.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.DragPan#unByKey" class=""> <a href="ol.interaction.DragPan.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.DragRotate"> <span class="title"> <a href="ol.interaction.DragRotate.html">ol.interaction.DragRotate</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.DragRotate#bindTo" class="unstable"> <a href="ol.interaction.DragRotate.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.DragRotate#changed" class="unstable"> <a href="ol.interaction.DragRotate.html#changed">changed</a> </li> <li data-name="ol.interaction.DragRotate#get" class="unstable"> <a href="ol.interaction.DragRotate.html#get">get</a> </li> <li data-name="ol.interaction.DragRotate#getActive" class="unstable"> <a href="ol.interaction.DragRotate.html#getActive">getActive</a> </li> <li data-name="ol.interaction.DragRotate#getKeys" class="unstable"> <a href="ol.interaction.DragRotate.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.DragRotate#getProperties" class="unstable"> <a href="ol.interaction.DragRotate.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.DragRotate#getRevision" class="unstable"> <a href="ol.interaction.DragRotate.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.DragRotate#on" class=""> <a href="ol.interaction.DragRotate.html#on">on</a> </li> <li data-name="ol.interaction.DragRotate#once" class=""> <a href="ol.interaction.DragRotate.html#once">once</a> </li> <li data-name="ol.interaction.DragRotate#set" class="unstable"> <a href="ol.interaction.DragRotate.html#set">set</a> </li> <li data-name="ol.interaction.DragRotate#setActive" class="unstable"> <a href="ol.interaction.DragRotate.html#setActive">setActive</a> </li> <li data-name="ol.interaction.DragRotate#setProperties" class="unstable"> <a href="ol.interaction.DragRotate.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.DragRotate#un" class=""> <a href="ol.interaction.DragRotate.html#un">un</a> </li> <li data-name="ol.interaction.DragRotate#unbind" class="unstable"> <a href="ol.interaction.DragRotate.html#unbind">unbind</a> </li> <li data-name="ol.interaction.DragRotate#unbindAll" class="unstable"> <a href="ol.interaction.DragRotate.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.DragRotate#unByKey" class=""> <a href="ol.interaction.DragRotate.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.DragRotateAndZoom"> <span class="title"> <a href="ol.interaction.DragRotateAndZoom.html">ol.interaction.DragRotateAndZoom</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.DragRotateAndZoom#bindTo" class="unstable"> <a href="ol.interaction.DragRotateAndZoom.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#changed" class="unstable"> <a href="ol.interaction.DragRotateAndZoom.html#changed">changed</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#get" class="unstable"> <a href="ol.interaction.DragRotateAndZoom.html#get">get</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#getActive" class="unstable"> <a href="ol.interaction.DragRotateAndZoom.html#getActive">getActive</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#getKeys" class="unstable"> <a href="ol.interaction.DragRotateAndZoom.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#getProperties" class="unstable"> <a href="ol.interaction.DragRotateAndZoom.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#getRevision" class="unstable"> <a href="ol.interaction.DragRotateAndZoom.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#on" class=""> <a href="ol.interaction.DragRotateAndZoom.html#on">on</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#once" class=""> <a href="ol.interaction.DragRotateAndZoom.html#once">once</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#set" class="unstable"> <a href="ol.interaction.DragRotateAndZoom.html#set">set</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#setActive" class="unstable"> <a href="ol.interaction.DragRotateAndZoom.html#setActive">setActive</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#setProperties" class="unstable"> <a href="ol.interaction.DragRotateAndZoom.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#un" class=""> <a href="ol.interaction.DragRotateAndZoom.html#un">un</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#unbind" class="unstable"> <a href="ol.interaction.DragRotateAndZoom.html#unbind">unbind</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#unbindAll" class="unstable"> <a href="ol.interaction.DragRotateAndZoom.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.DragRotateAndZoom#unByKey" class=""> <a href="ol.interaction.DragRotateAndZoom.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.DragZoom"> <span class="title"> <a href="ol.interaction.DragZoom.html">ol.interaction.DragZoom</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.DragZoom#bindTo" class="unstable"> <a href="ol.interaction.DragZoom.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.DragZoom#changed" class="unstable"> <a href="ol.interaction.DragZoom.html#changed">changed</a> </li> <li data-name="ol.interaction.DragZoom#get" class="unstable"> <a href="ol.interaction.DragZoom.html#get">get</a> </li> <li data-name="ol.interaction.DragZoom#getActive" class="unstable"> <a href="ol.interaction.DragZoom.html#getActive">getActive</a> </li> <li data-name="ol.interaction.DragZoom#getGeometry" class=""> <a href="ol.interaction.DragZoom.html#getGeometry">getGeometry</a> </li> <li data-name="ol.interaction.DragZoom#getKeys" class="unstable"> <a href="ol.interaction.DragZoom.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.DragZoom#getProperties" class="unstable"> <a href="ol.interaction.DragZoom.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.DragZoom#getRevision" class="unstable"> <a href="ol.interaction.DragZoom.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.DragZoom#on" class=""> <a href="ol.interaction.DragZoom.html#on">on</a> </li> <li data-name="ol.interaction.DragZoom#once" class=""> <a href="ol.interaction.DragZoom.html#once">once</a> </li> <li data-name="ol.interaction.DragZoom#set" class="unstable"> <a href="ol.interaction.DragZoom.html#set">set</a> </li> <li data-name="ol.interaction.DragZoom#setActive" class="unstable"> <a href="ol.interaction.DragZoom.html#setActive">setActive</a> </li> <li data-name="ol.interaction.DragZoom#setProperties" class="unstable"> <a href="ol.interaction.DragZoom.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.DragZoom#un" class=""> <a href="ol.interaction.DragZoom.html#un">un</a> </li> <li data-name="ol.interaction.DragZoom#unbind" class="unstable"> <a href="ol.interaction.DragZoom.html#unbind">unbind</a> </li> <li data-name="ol.interaction.DragZoom#unbindAll" class="unstable"> <a href="ol.interaction.DragZoom.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.DragZoom#unByKey" class=""> <a href="ol.interaction.DragZoom.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.DragBoxEvent#event:boxend" class=""> <a href="ol.DragBoxEvent.html#event:boxend">boxend</a> </li> <li data-name="ol.DragBoxEvent#event:boxstart" class=""> <a href="ol.DragBoxEvent.html#event:boxstart">boxstart</a> </li> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.Draw"> <span class="title"> <a href="ol.interaction.Draw.html">ol.interaction.Draw</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.Draw.handleEvent" class="unstable"> <a href="ol.interaction.Draw.html#handleEvent">handleEvent</a> </li> <li data-name="ol.interaction.Draw#bindTo" class="unstable"> <a href="ol.interaction.Draw.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.Draw#changed" class="unstable"> <a href="ol.interaction.Draw.html#changed">changed</a> </li> <li data-name="ol.interaction.Draw#finishDrawing" class="unstable"> <a href="ol.interaction.Draw.html#finishDrawing">finishDrawing</a> </li> <li data-name="ol.interaction.Draw#get" class="unstable"> <a href="ol.interaction.Draw.html#get">get</a> </li> <li data-name="ol.interaction.Draw#getActive" class="unstable"> <a href="ol.interaction.Draw.html#getActive">getActive</a> </li> <li data-name="ol.interaction.Draw#getKeys" class="unstable"> <a href="ol.interaction.Draw.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.Draw#getProperties" class="unstable"> <a href="ol.interaction.Draw.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.Draw#getRevision" class="unstable"> <a href="ol.interaction.Draw.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.Draw#on" class=""> <a href="ol.interaction.Draw.html#on">on</a> </li> <li data-name="ol.interaction.Draw#once" class=""> <a href="ol.interaction.Draw.html#once">once</a> </li> <li data-name="ol.interaction.Draw#set" class="unstable"> <a href="ol.interaction.Draw.html#set">set</a> </li> <li data-name="ol.interaction.Draw#setActive" class="unstable"> <a href="ol.interaction.Draw.html#setActive">setActive</a> </li> <li data-name="ol.interaction.Draw#setProperties" class="unstable"> <a href="ol.interaction.Draw.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.Draw#un" class=""> <a href="ol.interaction.Draw.html#un">un</a> </li> <li data-name="ol.interaction.Draw#unbind" class="unstable"> <a href="ol.interaction.Draw.html#unbind">unbind</a> </li> <li data-name="ol.interaction.Draw#unbindAll" class="unstable"> <a href="ol.interaction.Draw.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.Draw#unByKey" class=""> <a href="ol.interaction.Draw.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.DrawEvent#event:drawend" class=""> <a href="ol.DrawEvent.html#event:drawend">drawend</a> </li> <li data-name="ol.DrawEvent#event:drawstart" class=""> <a href="ol.DrawEvent.html#event:drawstart">drawstart</a> </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.Interaction"> <span class="title"> <a href="ol.interaction.Interaction.html">ol.interaction.Interaction</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.Interaction#bindTo" class="unstable"> <a href="ol.interaction.Interaction.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.Interaction#changed" class="unstable"> <a href="ol.interaction.Interaction.html#changed">changed</a> </li> <li data-name="ol.interaction.Interaction#get" class="unstable"> <a href="ol.interaction.Interaction.html#get">get</a> </li> <li data-name="ol.interaction.Interaction#getActive" class="unstable"> <a href="ol.interaction.Interaction.html#getActive">getActive</a> </li> <li data-name="ol.interaction.Interaction#getKeys" class="unstable"> <a href="ol.interaction.Interaction.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.Interaction#getProperties" class="unstable"> <a href="ol.interaction.Interaction.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.Interaction#getRevision" class="unstable"> <a href="ol.interaction.Interaction.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.Interaction#on" class=""> <a href="ol.interaction.Interaction.html#on">on</a> </li> <li data-name="ol.interaction.Interaction#once" class=""> <a href="ol.interaction.Interaction.html#once">once</a> </li> <li data-name="ol.interaction.Interaction#set" class="unstable"> <a href="ol.interaction.Interaction.html#set">set</a> </li> <li data-name="ol.interaction.Interaction#setActive" class="unstable"> <a href="ol.interaction.Interaction.html#setActive">setActive</a> </li> <li data-name="ol.interaction.Interaction#setProperties" class="unstable"> <a href="ol.interaction.Interaction.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.Interaction#un" class=""> <a href="ol.interaction.Interaction.html#un">un</a> </li> <li data-name="ol.interaction.Interaction#unbind" class="unstable"> <a href="ol.interaction.Interaction.html#unbind">unbind</a> </li> <li data-name="ol.interaction.Interaction#unbindAll" class="unstable"> <a href="ol.interaction.Interaction.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.Interaction#unByKey" class=""> <a href="ol.interaction.Interaction.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.KeyboardPan"> <span class="title"> <a href="ol.interaction.KeyboardPan.html">ol.interaction.KeyboardPan</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.KeyboardPan.handleEvent" class="unstable"> <a href="ol.interaction.KeyboardPan.html#handleEvent">handleEvent</a> </li> <li data-name="ol.interaction.KeyboardPan#bindTo" class="unstable"> <a href="ol.interaction.KeyboardPan.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.KeyboardPan#changed" class="unstable"> <a href="ol.interaction.KeyboardPan.html#changed">changed</a> </li> <li data-name="ol.interaction.KeyboardPan#get" class="unstable"> <a href="ol.interaction.KeyboardPan.html#get">get</a> </li> <li data-name="ol.interaction.KeyboardPan#getActive" class="unstable"> <a href="ol.interaction.KeyboardPan.html#getActive">getActive</a> </li> <li data-name="ol.interaction.KeyboardPan#getKeys" class="unstable"> <a href="ol.interaction.KeyboardPan.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.KeyboardPan#getProperties" class="unstable"> <a href="ol.interaction.KeyboardPan.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.KeyboardPan#getRevision" class="unstable"> <a href="ol.interaction.KeyboardPan.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.KeyboardPan#on" class=""> <a href="ol.interaction.KeyboardPan.html#on">on</a> </li> <li data-name="ol.interaction.KeyboardPan#once" class=""> <a href="ol.interaction.KeyboardPan.html#once">once</a> </li> <li data-name="ol.interaction.KeyboardPan#set" class="unstable"> <a href="ol.interaction.KeyboardPan.html#set">set</a> </li> <li data-name="ol.interaction.KeyboardPan#setActive" class="unstable"> <a href="ol.interaction.KeyboardPan.html#setActive">setActive</a> </li> <li data-name="ol.interaction.KeyboardPan#setProperties" class="unstable"> <a href="ol.interaction.KeyboardPan.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.KeyboardPan#un" class=""> <a href="ol.interaction.KeyboardPan.html#un">un</a> </li> <li data-name="ol.interaction.KeyboardPan#unbind" class="unstable"> <a href="ol.interaction.KeyboardPan.html#unbind">unbind</a> </li> <li data-name="ol.interaction.KeyboardPan#unbindAll" class="unstable"> <a href="ol.interaction.KeyboardPan.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.KeyboardPan#unByKey" class=""> <a href="ol.interaction.KeyboardPan.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.KeyboardZoom"> <span class="title"> <a href="ol.interaction.KeyboardZoom.html">ol.interaction.KeyboardZoom</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.KeyboardZoom.handleEvent" class="unstable"> <a href="ol.interaction.KeyboardZoom.html#handleEvent">handleEvent</a> </li> <li data-name="ol.interaction.KeyboardZoom#bindTo" class="unstable"> <a href="ol.interaction.KeyboardZoom.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.KeyboardZoom#changed" class="unstable"> <a href="ol.interaction.KeyboardZoom.html#changed">changed</a> </li> <li data-name="ol.interaction.KeyboardZoom#get" class="unstable"> <a href="ol.interaction.KeyboardZoom.html#get">get</a> </li> <li data-name="ol.interaction.KeyboardZoom#getActive" class="unstable"> <a href="ol.interaction.KeyboardZoom.html#getActive">getActive</a> </li> <li data-name="ol.interaction.KeyboardZoom#getKeys" class="unstable"> <a href="ol.interaction.KeyboardZoom.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.KeyboardZoom#getProperties" class="unstable"> <a href="ol.interaction.KeyboardZoom.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.KeyboardZoom#getRevision" class="unstable"> <a href="ol.interaction.KeyboardZoom.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.KeyboardZoom#on" class=""> <a href="ol.interaction.KeyboardZoom.html#on">on</a> </li> <li data-name="ol.interaction.KeyboardZoom#once" class=""> <a href="ol.interaction.KeyboardZoom.html#once">once</a> </li> <li data-name="ol.interaction.KeyboardZoom#set" class="unstable"> <a href="ol.interaction.KeyboardZoom.html#set">set</a> </li> <li data-name="ol.interaction.KeyboardZoom#setActive" class="unstable"> <a href="ol.interaction.KeyboardZoom.html#setActive">setActive</a> </li> <li data-name="ol.interaction.KeyboardZoom#setProperties" class="unstable"> <a href="ol.interaction.KeyboardZoom.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.KeyboardZoom#un" class=""> <a href="ol.interaction.KeyboardZoom.html#un">un</a> </li> <li data-name="ol.interaction.KeyboardZoom#unbind" class="unstable"> <a href="ol.interaction.KeyboardZoom.html#unbind">unbind</a> </li> <li data-name="ol.interaction.KeyboardZoom#unbindAll" class="unstable"> <a href="ol.interaction.KeyboardZoom.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.KeyboardZoom#unByKey" class=""> <a href="ol.interaction.KeyboardZoom.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.Modify"> <span class="title"> <a href="ol.interaction.Modify.html">ol.interaction.Modify</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.Modify.handleEvent" class="unstable"> <a href="ol.interaction.Modify.html#handleEvent">handleEvent</a> </li> <li data-name="ol.interaction.Modify#bindTo" class="unstable"> <a href="ol.interaction.Modify.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.Modify#changed" class="unstable"> <a href="ol.interaction.Modify.html#changed">changed</a> </li> <li data-name="ol.interaction.Modify#get" class="unstable"> <a href="ol.interaction.Modify.html#get">get</a> </li> <li data-name="ol.interaction.Modify#getActive" class="unstable"> <a href="ol.interaction.Modify.html#getActive">getActive</a> </li> <li data-name="ol.interaction.Modify#getKeys" class="unstable"> <a href="ol.interaction.Modify.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.Modify#getProperties" class="unstable"> <a href="ol.interaction.Modify.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.Modify#getRevision" class="unstable"> <a href="ol.interaction.Modify.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.Modify#on" class=""> <a href="ol.interaction.Modify.html#on">on</a> </li> <li data-name="ol.interaction.Modify#once" class=""> <a href="ol.interaction.Modify.html#once">once</a> </li> <li data-name="ol.interaction.Modify#set" class="unstable"> <a href="ol.interaction.Modify.html#set">set</a> </li> <li data-name="ol.interaction.Modify#setActive" class="unstable"> <a href="ol.interaction.Modify.html#setActive">setActive</a> </li> <li data-name="ol.interaction.Modify#setProperties" class="unstable"> <a href="ol.interaction.Modify.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.Modify#un" class=""> <a href="ol.interaction.Modify.html#un">un</a> </li> <li data-name="ol.interaction.Modify#unbind" class="unstable"> <a href="ol.interaction.Modify.html#unbind">unbind</a> </li> <li data-name="ol.interaction.Modify#unbindAll" class="unstable"> <a href="ol.interaction.Modify.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.Modify#unByKey" class=""> <a href="ol.interaction.Modify.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.MouseWheelZoom"> <span class="title"> <a href="ol.interaction.MouseWheelZoom.html">ol.interaction.MouseWheelZoom</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.MouseWheelZoom.handleEvent" class="unstable"> <a href="ol.interaction.MouseWheelZoom.html#handleEvent">handleEvent</a> </li> <li data-name="ol.interaction.MouseWheelZoom#bindTo" class="unstable"> <a href="ol.interaction.MouseWheelZoom.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.MouseWheelZoom#changed" class="unstable"> <a href="ol.interaction.MouseWheelZoom.html#changed">changed</a> </li> <li data-name="ol.interaction.MouseWheelZoom#get" class="unstable"> <a href="ol.interaction.MouseWheelZoom.html#get">get</a> </li> <li data-name="ol.interaction.MouseWheelZoom#getActive" class="unstable"> <a href="ol.interaction.MouseWheelZoom.html#getActive">getActive</a> </li> <li data-name="ol.interaction.MouseWheelZoom#getKeys" class="unstable"> <a href="ol.interaction.MouseWheelZoom.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.MouseWheelZoom#getProperties" class="unstable"> <a href="ol.interaction.MouseWheelZoom.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.MouseWheelZoom#getRevision" class="unstable"> <a href="ol.interaction.MouseWheelZoom.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.MouseWheelZoom#on" class=""> <a href="ol.interaction.MouseWheelZoom.html#on">on</a> </li> <li data-name="ol.interaction.MouseWheelZoom#once" class=""> <a href="ol.interaction.MouseWheelZoom.html#once">once</a> </li> <li data-name="ol.interaction.MouseWheelZoom#set" class="unstable"> <a href="ol.interaction.MouseWheelZoom.html#set">set</a> </li> <li data-name="ol.interaction.MouseWheelZoom#setActive" class="unstable"> <a href="ol.interaction.MouseWheelZoom.html#setActive">setActive</a> </li> <li data-name="ol.interaction.MouseWheelZoom#setProperties" class="unstable"> <a href="ol.interaction.MouseWheelZoom.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.MouseWheelZoom#un" class=""> <a href="ol.interaction.MouseWheelZoom.html#un">un</a> </li> <li data-name="ol.interaction.MouseWheelZoom#unbind" class="unstable"> <a href="ol.interaction.MouseWheelZoom.html#unbind">unbind</a> </li> <li data-name="ol.interaction.MouseWheelZoom#unbindAll" class="unstable"> <a href="ol.interaction.MouseWheelZoom.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.MouseWheelZoom#unByKey" class=""> <a href="ol.interaction.MouseWheelZoom.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.PinchRotate"> <span class="title"> <a href="ol.interaction.PinchRotate.html">ol.interaction.PinchRotate</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.PinchRotate#bindTo" class="unstable"> <a href="ol.interaction.PinchRotate.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.PinchRotate#changed" class="unstable"> <a href="ol.interaction.PinchRotate.html#changed">changed</a> </li> <li data-name="ol.interaction.PinchRotate#get" class="unstable"> <a href="ol.interaction.PinchRotate.html#get">get</a> </li> <li data-name="ol.interaction.PinchRotate#getActive" class="unstable"> <a href="ol.interaction.PinchRotate.html#getActive">getActive</a> </li> <li data-name="ol.interaction.PinchRotate#getKeys" class="unstable"> <a href="ol.interaction.PinchRotate.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.PinchRotate#getProperties" class="unstable"> <a href="ol.interaction.PinchRotate.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.PinchRotate#getRevision" class="unstable"> <a href="ol.interaction.PinchRotate.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.PinchRotate#on" class=""> <a href="ol.interaction.PinchRotate.html#on">on</a> </li> <li data-name="ol.interaction.PinchRotate#once" class=""> <a href="ol.interaction.PinchRotate.html#once">once</a> </li> <li data-name="ol.interaction.PinchRotate#set" class="unstable"> <a href="ol.interaction.PinchRotate.html#set">set</a> </li> <li data-name="ol.interaction.PinchRotate#setActive" class="unstable"> <a href="ol.interaction.PinchRotate.html#setActive">setActive</a> </li> <li data-name="ol.interaction.PinchRotate#setProperties" class="unstable"> <a href="ol.interaction.PinchRotate.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.PinchRotate#un" class=""> <a href="ol.interaction.PinchRotate.html#un">un</a> </li> <li data-name="ol.interaction.PinchRotate#unbind" class="unstable"> <a href="ol.interaction.PinchRotate.html#unbind">unbind</a> </li> <li data-name="ol.interaction.PinchRotate#unbindAll" class="unstable"> <a href="ol.interaction.PinchRotate.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.PinchRotate#unByKey" class=""> <a href="ol.interaction.PinchRotate.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.PinchZoom"> <span class="title"> <a href="ol.interaction.PinchZoom.html">ol.interaction.PinchZoom</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.PinchZoom#bindTo" class="unstable"> <a href="ol.interaction.PinchZoom.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.PinchZoom#changed" class="unstable"> <a href="ol.interaction.PinchZoom.html#changed">changed</a> </li> <li data-name="ol.interaction.PinchZoom#get" class="unstable"> <a href="ol.interaction.PinchZoom.html#get">get</a> </li> <li data-name="ol.interaction.PinchZoom#getActive" class="unstable"> <a href="ol.interaction.PinchZoom.html#getActive">getActive</a> </li> <li data-name="ol.interaction.PinchZoom#getKeys" class="unstable"> <a href="ol.interaction.PinchZoom.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.PinchZoom#getProperties" class="unstable"> <a href="ol.interaction.PinchZoom.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.PinchZoom#getRevision" class="unstable"> <a href="ol.interaction.PinchZoom.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.PinchZoom#on" class=""> <a href="ol.interaction.PinchZoom.html#on">on</a> </li> <li data-name="ol.interaction.PinchZoom#once" class=""> <a href="ol.interaction.PinchZoom.html#once">once</a> </li> <li data-name="ol.interaction.PinchZoom#set" class="unstable"> <a href="ol.interaction.PinchZoom.html#set">set</a> </li> <li data-name="ol.interaction.PinchZoom#setActive" class="unstable"> <a href="ol.interaction.PinchZoom.html#setActive">setActive</a> </li> <li data-name="ol.interaction.PinchZoom#setProperties" class="unstable"> <a href="ol.interaction.PinchZoom.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.PinchZoom#un" class=""> <a href="ol.interaction.PinchZoom.html#un">un</a> </li> <li data-name="ol.interaction.PinchZoom#unbind" class="unstable"> <a href="ol.interaction.PinchZoom.html#unbind">unbind</a> </li> <li data-name="ol.interaction.PinchZoom#unbindAll" class="unstable"> <a href="ol.interaction.PinchZoom.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.PinchZoom#unByKey" class=""> <a href="ol.interaction.PinchZoom.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.Pointer"> <span class="title"> <a href="ol.interaction.Pointer.html">ol.interaction.Pointer</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.Pointer.handleEvent" class="unstable"> <a href="ol.interaction.Pointer.html#handleEvent">handleEvent</a> </li> <li data-name="ol.interaction.Pointer#bindTo" class="unstable"> <a href="ol.interaction.Pointer.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.Pointer#changed" class="unstable"> <a href="ol.interaction.Pointer.html#changed">changed</a> </li> <li data-name="ol.interaction.Pointer#get" class="unstable"> <a href="ol.interaction.Pointer.html#get">get</a> </li> <li data-name="ol.interaction.Pointer#getActive" class="unstable"> <a href="ol.interaction.Pointer.html#getActive">getActive</a> </li> <li data-name="ol.interaction.Pointer#getKeys" class="unstable"> <a href="ol.interaction.Pointer.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.Pointer#getProperties" class="unstable"> <a href="ol.interaction.Pointer.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.Pointer#getRevision" class="unstable"> <a href="ol.interaction.Pointer.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.Pointer#on" class=""> <a href="ol.interaction.Pointer.html#on">on</a> </li> <li data-name="ol.interaction.Pointer#once" class=""> <a href="ol.interaction.Pointer.html#once">once</a> </li> <li data-name="ol.interaction.Pointer#set" class="unstable"> <a href="ol.interaction.Pointer.html#set">set</a> </li> <li data-name="ol.interaction.Pointer#setActive" class="unstable"> <a href="ol.interaction.Pointer.html#setActive">setActive</a> </li> <li data-name="ol.interaction.Pointer#setProperties" class="unstable"> <a href="ol.interaction.Pointer.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.Pointer#un" class=""> <a href="ol.interaction.Pointer.html#un">un</a> </li> <li data-name="ol.interaction.Pointer#unbind" class="unstable"> <a href="ol.interaction.Pointer.html#unbind">unbind</a> </li> <li data-name="ol.interaction.Pointer#unbindAll" class="unstable"> <a href="ol.interaction.Pointer.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.Pointer#unByKey" class=""> <a href="ol.interaction.Pointer.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.interaction.Select"> <span class="title"> <a href="ol.interaction.Select.html">ol.interaction.Select</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.interaction.Select.handleEvent" class="unstable"> <a href="ol.interaction.Select.html#handleEvent">handleEvent</a> </li> <li data-name="ol.interaction.Select#bindTo" class="unstable"> <a href="ol.interaction.Select.html#bindTo">bindTo</a> </li> <li data-name="ol.interaction.Select#changed" class="unstable"> <a href="ol.interaction.Select.html#changed">changed</a> </li> <li data-name="ol.interaction.Select#get" class="unstable"> <a href="ol.interaction.Select.html#get">get</a> </li> <li data-name="ol.interaction.Select#getActive" class="unstable"> <a href="ol.interaction.Select.html#getActive">getActive</a> </li> <li data-name="ol.interaction.Select#getFeatures" class=""> <a href="ol.interaction.Select.html#getFeatures">getFeatures</a> </li> <li data-name="ol.interaction.Select#getKeys" class="unstable"> <a href="ol.interaction.Select.html#getKeys">getKeys</a> </li> <li data-name="ol.interaction.Select#getProperties" class="unstable"> <a href="ol.interaction.Select.html#getProperties">getProperties</a> </li> <li data-name="ol.interaction.Select#getRevision" class="unstable"> <a href="ol.interaction.Select.html#getRevision">getRevision</a> </li> <li data-name="ol.interaction.Select#on" class=""> <a href="ol.interaction.Select.html#on">on</a> </li> <li data-name="ol.interaction.Select#once" class=""> <a href="ol.interaction.Select.html#once">once</a> </li> <li data-name="ol.interaction.Select#set" class="unstable"> <a href="ol.interaction.Select.html#set">set</a> </li> <li data-name="ol.interaction.Select#setActive" class="unstable"> <a href="ol.interaction.Select.html#setActive">setActive</a> </li> <li data-name="ol.interaction.Select#setMap" class=""> <a href="ol.interaction.Select.html#setMap">setMap</a> </li> <li data-name="ol.interaction.Select#setProperties" class="unstable"> <a href="ol.interaction.Select.html#setProperties">setProperties</a> </li> <li data-name="ol.interaction.Select#un" class=""> <a href="ol.interaction.Select.html#un">un</a> </li> <li data-name="ol.interaction.Select#unbind" class="unstable"> <a href="ol.interaction.Select.html#unbind">unbind</a> </li> <li data-name="ol.interaction.Select#unbindAll" class="unstable"> <a href="ol.interaction.Select.html#unbindAll">unbindAll</a> </li> <li data-name="ol.interaction.Select#unByKey" class=""> <a href="ol.interaction.Select.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:active" class="unstable"> change:active </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.layer"> <span class="title"> <a href="ol.layer.html">ol.layer</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.layer.Base"> <span class="title"> <a href="ol.layer.Base.html">ol.layer.Base</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.layer.Base#bindTo" class="unstable"> <a href="ol.layer.Base.html#bindTo">bindTo</a> </li> <li data-name="ol.layer.Base#changed" class="unstable"> <a href="ol.layer.Base.html#changed">changed</a> </li> <li data-name="ol.layer.Base#get" class="unstable"> <a href="ol.layer.Base.html#get">get</a> </li> <li data-name="ol.layer.Base#getBrightness" class="unstable"> <a href="ol.layer.Base.html#getBrightness">getBrightness</a> </li> <li data-name="ol.layer.Base#getContrast" class="unstable"> <a href="ol.layer.Base.html#getContrast">getContrast</a> </li> <li data-name="ol.layer.Base#getExtent" class=""> <a href="ol.layer.Base.html#getExtent">getExtent</a> </li> <li data-name="ol.layer.Base#getHue" class="unstable"> <a href="ol.layer.Base.html#getHue">getHue</a> </li> <li data-name="ol.layer.Base#getKeys" class="unstable"> <a href="ol.layer.Base.html#getKeys">getKeys</a> </li> <li data-name="ol.layer.Base#getMaxResolution" class=""> <a href="ol.layer.Base.html#getMaxResolution">getMaxResolution</a> </li> <li data-name="ol.layer.Base#getMinResolution" class=""> <a href="ol.layer.Base.html#getMinResolution">getMinResolution</a> </li> <li data-name="ol.layer.Base#getOpacity" class=""> <a href="ol.layer.Base.html#getOpacity">getOpacity</a> </li> <li data-name="ol.layer.Base#getProperties" class="unstable"> <a href="ol.layer.Base.html#getProperties">getProperties</a> </li> <li data-name="ol.layer.Base#getRevision" class="unstable"> <a href="ol.layer.Base.html#getRevision">getRevision</a> </li> <li data-name="ol.layer.Base#getSaturation" class="unstable"> <a href="ol.layer.Base.html#getSaturation">getSaturation</a> </li> <li data-name="ol.layer.Base#getVisible" class=""> <a href="ol.layer.Base.html#getVisible">getVisible</a> </li> <li data-name="ol.layer.Base#on" class=""> <a href="ol.layer.Base.html#on">on</a> </li> <li data-name="ol.layer.Base#once" class=""> <a href="ol.layer.Base.html#once">once</a> </li> <li data-name="ol.layer.Base#set" class="unstable"> <a href="ol.layer.Base.html#set">set</a> </li> <li data-name="ol.layer.Base#setBrightness" class="unstable"> <a href="ol.layer.Base.html#setBrightness">setBrightness</a> </li> <li data-name="ol.layer.Base#setContrast" class="unstable"> <a href="ol.layer.Base.html#setContrast">setContrast</a> </li> <li data-name="ol.layer.Base#setExtent" class=""> <a href="ol.layer.Base.html#setExtent">setExtent</a> </li> <li data-name="ol.layer.Base#setHue" class="unstable"> <a href="ol.layer.Base.html#setHue">setHue</a> </li> <li data-name="ol.layer.Base#setMaxResolution" class=""> <a href="ol.layer.Base.html#setMaxResolution">setMaxResolution</a> </li> <li data-name="ol.layer.Base#setMinResolution" class=""> <a href="ol.layer.Base.html#setMinResolution">setMinResolution</a> </li> <li data-name="ol.layer.Base#setOpacity" class=""> <a href="ol.layer.Base.html#setOpacity">setOpacity</a> </li> <li data-name="ol.layer.Base#setProperties" class="unstable"> <a href="ol.layer.Base.html#setProperties">setProperties</a> </li> <li data-name="ol.layer.Base#setSaturation" class="unstable"> <a href="ol.layer.Base.html#setSaturation">setSaturation</a> </li> <li data-name="ol.layer.Base#setVisible" class=""> <a href="ol.layer.Base.html#setVisible">setVisible</a> </li> <li data-name="ol.layer.Base#un" class=""> <a href="ol.layer.Base.html#un">un</a> </li> <li data-name="ol.layer.Base#unbind" class="unstable"> <a href="ol.layer.Base.html#unbind">unbind</a> </li> <li data-name="ol.layer.Base#unbindAll" class="unstable"> <a href="ol.layer.Base.html#unbindAll">unbindAll</a> </li> <li data-name="ol.layer.Base#unByKey" class=""> <a href="ol.layer.Base.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.ObjectEvent#event:change:brightness" class="unstable"> change:brightness </li> <li data-name="ol.ObjectEvent#event:change:contrast" class="unstable"> change:contrast </li> <li data-name="ol.ObjectEvent#event:change:extent" class="unstable"> change:extent </li> <li data-name="ol.ObjectEvent#event:change:hue" class="unstable"> change:hue </li> <li data-name="ol.ObjectEvent#event:change:maxResolution" class="unstable"> change:maxResolution </li> <li data-name="ol.ObjectEvent#event:change:minResolution" class="unstable"> change:minResolution </li> <li data-name="ol.ObjectEvent#event:change:opacity" class="unstable"> change:opacity </li> <li data-name="ol.ObjectEvent#event:change:saturation" class="unstable"> change:saturation </li> <li data-name="ol.ObjectEvent#event:change:visible" class="unstable"> change:visible </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.layer.Group"> <span class="title"> <a href="ol.layer.Group.html">ol.layer.Group</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.layer.Group#bindTo" class="unstable"> <a href="ol.layer.Group.html#bindTo">bindTo</a> </li> <li data-name="ol.layer.Group#changed" class="unstable"> <a href="ol.layer.Group.html#changed">changed</a> </li> <li data-name="ol.layer.Group#get" class="unstable"> <a href="ol.layer.Group.html#get">get</a> </li> <li data-name="ol.layer.Group#getBrightness" class="unstable"> <a href="ol.layer.Group.html#getBrightness">getBrightness</a> </li> <li data-name="ol.layer.Group#getContrast" class="unstable"> <a href="ol.layer.Group.html#getContrast">getContrast</a> </li> <li data-name="ol.layer.Group#getExtent" class=""> <a href="ol.layer.Group.html#getExtent">getExtent</a> </li> <li data-name="ol.layer.Group#getHue" class="unstable"> <a href="ol.layer.Group.html#getHue">getHue</a> </li> <li data-name="ol.layer.Group#getKeys" class="unstable"> <a href="ol.layer.Group.html#getKeys">getKeys</a> </li> <li data-name="ol.layer.Group#getLayers" class=""> <a href="ol.layer.Group.html#getLayers">getLayers</a> </li> <li data-name="ol.layer.Group#getMaxResolution" class=""> <a href="ol.layer.Group.html#getMaxResolution">getMaxResolution</a> </li> <li data-name="ol.layer.Group#getMinResolution" class=""> <a href="ol.layer.Group.html#getMinResolution">getMinResolution</a> </li> <li data-name="ol.layer.Group#getOpacity" class=""> <a href="ol.layer.Group.html#getOpacity">getOpacity</a> </li> <li data-name="ol.layer.Group#getProperties" class="unstable"> <a href="ol.layer.Group.html#getProperties">getProperties</a> </li> <li data-name="ol.layer.Group#getRevision" class="unstable"> <a href="ol.layer.Group.html#getRevision">getRevision</a> </li> <li data-name="ol.layer.Group#getSaturation" class="unstable"> <a href="ol.layer.Group.html#getSaturation">getSaturation</a> </li> <li data-name="ol.layer.Group#getVisible" class=""> <a href="ol.layer.Group.html#getVisible">getVisible</a> </li> <li data-name="ol.layer.Group#on" class=""> <a href="ol.layer.Group.html#on">on</a> </li> <li data-name="ol.layer.Group#once" class=""> <a href="ol.layer.Group.html#once">once</a> </li> <li data-name="ol.layer.Group#set" class="unstable"> <a href="ol.layer.Group.html#set">set</a> </li> <li data-name="ol.layer.Group#setBrightness" class="unstable"> <a href="ol.layer.Group.html#setBrightness">setBrightness</a> </li> <li data-name="ol.layer.Group#setContrast" class="unstable"> <a href="ol.layer.Group.html#setContrast">setContrast</a> </li> <li data-name="ol.layer.Group#setExtent" class=""> <a href="ol.layer.Group.html#setExtent">setExtent</a> </li> <li data-name="ol.layer.Group#setHue" class="unstable"> <a href="ol.layer.Group.html#setHue">setHue</a> </li> <li data-name="ol.layer.Group#setLayers" class=""> <a href="ol.layer.Group.html#setLayers">setLayers</a> </li> <li data-name="ol.layer.Group#setMaxResolution" class=""> <a href="ol.layer.Group.html#setMaxResolution">setMaxResolution</a> </li> <li data-name="ol.layer.Group#setMinResolution" class=""> <a href="ol.layer.Group.html#setMinResolution">setMinResolution</a> </li> <li data-name="ol.layer.Group#setOpacity" class=""> <a href="ol.layer.Group.html#setOpacity">setOpacity</a> </li> <li data-name="ol.layer.Group#setProperties" class="unstable"> <a href="ol.layer.Group.html#setProperties">setProperties</a> </li> <li data-name="ol.layer.Group#setSaturation" class="unstable"> <a href="ol.layer.Group.html#setSaturation">setSaturation</a> </li> <li data-name="ol.layer.Group#setVisible" class=""> <a href="ol.layer.Group.html#setVisible">setVisible</a> </li> <li data-name="ol.layer.Group#un" class=""> <a href="ol.layer.Group.html#un">un</a> </li> <li data-name="ol.layer.Group#unbind" class="unstable"> <a href="ol.layer.Group.html#unbind">unbind</a> </li> <li data-name="ol.layer.Group#unbindAll" class="unstable"> <a href="ol.layer.Group.html#unbindAll">unbindAll</a> </li> <li data-name="ol.layer.Group#unByKey" class=""> <a href="ol.layer.Group.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the group/Collection changes." class="unstable"> change Triggered when the group/Collection changes. </li> <li data-name="ol.ObjectEvent#event:change:brightness" class="unstable"> change:brightness </li> <li data-name="ol.ObjectEvent#event:change:contrast" class="unstable"> change:contrast </li> <li data-name="ol.ObjectEvent#event:change:extent" class="unstable"> change:extent </li> <li data-name="ol.ObjectEvent#event:change:hue" class="unstable"> change:hue </li> <li data-name="ol.ObjectEvent#event:change:layers" class="unstable"> change:layers </li> <li data-name="ol.ObjectEvent#event:change:maxResolution" class="unstable"> change:maxResolution </li> <li data-name="ol.ObjectEvent#event:change:minResolution" class="unstable"> change:minResolution </li> <li data-name="ol.ObjectEvent#event:change:opacity" class="unstable"> change:opacity </li> <li data-name="ol.ObjectEvent#event:change:saturation" class="unstable"> change:saturation </li> <li data-name="ol.ObjectEvent#event:change:visible" class="unstable"> change:visible </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> </ul> </li> <li class="item" data-name="ol.layer.Heatmap"> <span class="title"> <a href="ol.layer.Heatmap.html">ol.layer.Heatmap</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.layer.Heatmap#bindTo" class="unstable"> <a href="ol.layer.Heatmap.html#bindTo">bindTo</a> </li> <li data-name="ol.layer.Heatmap#changed" class="unstable"> <a href="ol.layer.Heatmap.html#changed">changed</a> </li> <li data-name="ol.layer.Heatmap#get" class="unstable"> <a href="ol.layer.Heatmap.html#get">get</a> </li> <li data-name="ol.layer.Heatmap#getBrightness" class="unstable"> <a href="ol.layer.Heatmap.html#getBrightness">getBrightness</a> </li> <li data-name="ol.layer.Heatmap#getContrast" class="unstable"> <a href="ol.layer.Heatmap.html#getContrast">getContrast</a> </li> <li data-name="ol.layer.Heatmap#getExtent" class=""> <a href="ol.layer.Heatmap.html#getExtent">getExtent</a> </li> <li data-name="ol.layer.Heatmap#getGradient" class="unstable"> <a href="ol.layer.Heatmap.html#getGradient">getGradient</a> </li> <li data-name="ol.layer.Heatmap#getHue" class="unstable"> <a href="ol.layer.Heatmap.html#getHue">getHue</a> </li> <li data-name="ol.layer.Heatmap#getKeys" class="unstable"> <a href="ol.layer.Heatmap.html#getKeys">getKeys</a> </li> <li data-name="ol.layer.Heatmap#getMaxResolution" class=""> <a href="ol.layer.Heatmap.html#getMaxResolution">getMaxResolution</a> </li> <li data-name="ol.layer.Heatmap#getMinResolution" class=""> <a href="ol.layer.Heatmap.html#getMinResolution">getMinResolution</a> </li> <li data-name="ol.layer.Heatmap#getOpacity" class=""> <a href="ol.layer.Heatmap.html#getOpacity">getOpacity</a> </li> <li data-name="ol.layer.Heatmap#getProperties" class="unstable"> <a href="ol.layer.Heatmap.html#getProperties">getProperties</a> </li> <li data-name="ol.layer.Heatmap#getRevision" class="unstable"> <a href="ol.layer.Heatmap.html#getRevision">getRevision</a> </li> <li data-name="ol.layer.Heatmap#getSaturation" class="unstable"> <a href="ol.layer.Heatmap.html#getSaturation">getSaturation</a> </li> <li data-name="ol.layer.Heatmap#getSource" class=""> <a href="ol.layer.Heatmap.html#getSource">getSource</a> </li> <li data-name="ol.layer.Heatmap#getStyle" class=""> <a href="ol.layer.Heatmap.html#getStyle">getStyle</a> </li> <li data-name="ol.layer.Heatmap#getStyleFunction" class=""> <a href="ol.layer.Heatmap.html#getStyleFunction">getStyleFunction</a> </li> <li data-name="ol.layer.Heatmap#getVisible" class=""> <a href="ol.layer.Heatmap.html#getVisible">getVisible</a> </li> <li data-name="ol.layer.Heatmap#on" class=""> <a href="ol.layer.Heatmap.html#on">on</a> </li> <li data-name="ol.layer.Heatmap#once" class=""> <a href="ol.layer.Heatmap.html#once">once</a> </li> <li data-name="ol.layer.Heatmap#set" class="unstable"> <a href="ol.layer.Heatmap.html#set">set</a> </li> <li data-name="ol.layer.Heatmap#setBrightness" class="unstable"> <a href="ol.layer.Heatmap.html#setBrightness">setBrightness</a> </li> <li data-name="ol.layer.Heatmap#setContrast" class="unstable"> <a href="ol.layer.Heatmap.html#setContrast">setContrast</a> </li> <li data-name="ol.layer.Heatmap#setExtent" class=""> <a href="ol.layer.Heatmap.html#setExtent">setExtent</a> </li> <li data-name="ol.layer.Heatmap#setGradient" class="unstable"> <a href="ol.layer.Heatmap.html#setGradient">setGradient</a> </li> <li data-name="ol.layer.Heatmap#setHue" class="unstable"> <a href="ol.layer.Heatmap.html#setHue">setHue</a> </li> <li data-name="ol.layer.Heatmap#setMaxResolution" class=""> <a href="ol.layer.Heatmap.html#setMaxResolution">setMaxResolution</a> </li> <li data-name="ol.layer.Heatmap#setMinResolution" class=""> <a href="ol.layer.Heatmap.html#setMinResolution">setMinResolution</a> </li> <li data-name="ol.layer.Heatmap#setOpacity" class=""> <a href="ol.layer.Heatmap.html#setOpacity">setOpacity</a> </li> <li data-name="ol.layer.Heatmap#setProperties" class="unstable"> <a href="ol.layer.Heatmap.html#setProperties">setProperties</a> </li> <li data-name="ol.layer.Heatmap#setSaturation" class="unstable"> <a href="ol.layer.Heatmap.html#setSaturation">setSaturation</a> </li> <li data-name="ol.layer.Heatmap#setSource" class=""> <a href="ol.layer.Heatmap.html#setSource">setSource</a> </li> <li data-name="ol.layer.Heatmap#setStyle" class=""> <a href="ol.layer.Heatmap.html#setStyle">setStyle</a> </li> <li data-name="ol.layer.Heatmap#setVisible" class=""> <a href="ol.layer.Heatmap.html#setVisible">setVisible</a> </li> <li data-name="ol.layer.Heatmap#un" class=""> <a href="ol.layer.Heatmap.html#un">un</a> </li> <li data-name="ol.layer.Heatmap#unbind" class="unstable"> <a href="ol.layer.Heatmap.html#unbind">unbind</a> </li> <li data-name="ol.layer.Heatmap#unbindAll" class="unstable"> <a href="ol.layer.Heatmap.html#unbindAll">unbindAll</a> </li> <li data-name="ol.layer.Heatmap#unByKey" class=""> <a href="ol.layer.Heatmap.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.ObjectEvent#event:change:brightness" class="unstable"> change:brightness </li> <li data-name="ol.ObjectEvent#event:change:contrast" class="unstable"> change:contrast </li> <li data-name="ol.ObjectEvent#event:change:extent" class="unstable"> change:extent </li> <li data-name="ol.ObjectEvent#event:change:gradient" class="unstable"> change:gradient </li> <li data-name="ol.ObjectEvent#event:change:hue" class="unstable"> change:hue </li> <li data-name="ol.ObjectEvent#event:change:maxResolution" class="unstable"> change:maxResolution </li> <li data-name="ol.ObjectEvent#event:change:minResolution" class="unstable"> change:minResolution </li> <li data-name="ol.ObjectEvent#event:change:opacity" class="unstable"> change:opacity </li> <li data-name="ol.ObjectEvent#event:change:saturation" class="unstable"> change:saturation </li> <li data-name="ol.ObjectEvent#event:change:source" class="unstable"> change:source </li> <li data-name="ol.ObjectEvent#event:change:visible" class="unstable"> change:visible </li> <li data-name="ol.render.Event#event:postcompose" class="unstable"> <a href="ol.render.Event.html#event:postcompose">postcompose</a> </li> <li data-name="ol.render.Event#event:precompose" class="unstable"> <a href="ol.render.Event.html#event:precompose">precompose</a> </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> <li data-name="ol.render.Event#event:render" class="unstable"> <a href="ol.render.Event.html#event:render">render</a> </li> </ul> </li> <li class="item" data-name="ol.layer.Image"> <span class="title"> <a href="ol.layer.Image.html">ol.layer.Image</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.layer.Image#bindTo" class="unstable"> <a href="ol.layer.Image.html#bindTo">bindTo</a> </li> <li data-name="ol.layer.Image#changed" class="unstable"> <a href="ol.layer.Image.html#changed">changed</a> </li> <li data-name="ol.layer.Image#get" class="unstable"> <a href="ol.layer.Image.html#get">get</a> </li> <li data-name="ol.layer.Image#getBrightness" class="unstable"> <a href="ol.layer.Image.html#getBrightness">getBrightness</a> </li> <li data-name="ol.layer.Image#getContrast" class="unstable"> <a href="ol.layer.Image.html#getContrast">getContrast</a> </li> <li data-name="ol.layer.Image#getExtent" class=""> <a href="ol.layer.Image.html#getExtent">getExtent</a> </li> <li data-name="ol.layer.Image#getHue" class="unstable"> <a href="ol.layer.Image.html#getHue">getHue</a> </li> <li data-name="ol.layer.Image#getKeys" class="unstable"> <a href="ol.layer.Image.html#getKeys">getKeys</a> </li> <li data-name="ol.layer.Image#getMaxResolution" class=""> <a href="ol.layer.Image.html#getMaxResolution">getMaxResolution</a> </li> <li data-name="ol.layer.Image#getMinResolution" class=""> <a href="ol.layer.Image.html#getMinResolution">getMinResolution</a> </li> <li data-name="ol.layer.Image#getOpacity" class=""> <a href="ol.layer.Image.html#getOpacity">getOpacity</a> </li> <li data-name="ol.layer.Image#getProperties" class="unstable"> <a href="ol.layer.Image.html#getProperties">getProperties</a> </li> <li data-name="ol.layer.Image#getRevision" class="unstable"> <a href="ol.layer.Image.html#getRevision">getRevision</a> </li> <li data-name="ol.layer.Image#getSaturation" class="unstable"> <a href="ol.layer.Image.html#getSaturation">getSaturation</a> </li> <li data-name="ol.layer.Image#getSource" class=""> <a href="ol.layer.Image.html#getSource">getSource</a> </li> <li data-name="ol.layer.Image#getVisible" class=""> <a href="ol.layer.Image.html#getVisible">getVisible</a> </li> <li data-name="ol.layer.Image#on" class=""> <a href="ol.layer.Image.html#on">on</a> </li> <li data-name="ol.layer.Image#once" class=""> <a href="ol.layer.Image.html#once">once</a> </li> <li data-name="ol.layer.Image#set" class="unstable"> <a href="ol.layer.Image.html#set">set</a> </li> <li data-name="ol.layer.Image#setBrightness" class="unstable"> <a href="ol.layer.Image.html#setBrightness">setBrightness</a> </li> <li data-name="ol.layer.Image#setContrast" class="unstable"> <a href="ol.layer.Image.html#setContrast">setContrast</a> </li> <li data-name="ol.layer.Image#setExtent" class=""> <a href="ol.layer.Image.html#setExtent">setExtent</a> </li> <li data-name="ol.layer.Image#setHue" class="unstable"> <a href="ol.layer.Image.html#setHue">setHue</a> </li> <li data-name="ol.layer.Image#setMaxResolution" class=""> <a href="ol.layer.Image.html#setMaxResolution">setMaxResolution</a> </li> <li data-name="ol.layer.Image#setMinResolution" class=""> <a href="ol.layer.Image.html#setMinResolution">setMinResolution</a> </li> <li data-name="ol.layer.Image#setOpacity" class=""> <a href="ol.layer.Image.html#setOpacity">setOpacity</a> </li> <li data-name="ol.layer.Image#setProperties" class="unstable"> <a href="ol.layer.Image.html#setProperties">setProperties</a> </li> <li data-name="ol.layer.Image#setSaturation" class="unstable"> <a href="ol.layer.Image.html#setSaturation">setSaturation</a> </li> <li data-name="ol.layer.Image#setSource" class=""> <a href="ol.layer.Image.html#setSource">setSource</a> </li> <li data-name="ol.layer.Image#setVisible" class=""> <a href="ol.layer.Image.html#setVisible">setVisible</a> </li> <li data-name="ol.layer.Image#un" class=""> <a href="ol.layer.Image.html#un">un</a> </li> <li data-name="ol.layer.Image#unbind" class="unstable"> <a href="ol.layer.Image.html#unbind">unbind</a> </li> <li data-name="ol.layer.Image#unbindAll" class="unstable"> <a href="ol.layer.Image.html#unbindAll">unbindAll</a> </li> <li data-name="ol.layer.Image#unByKey" class=""> <a href="ol.layer.Image.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.ObjectEvent#event:change:brightness" class="unstable"> change:brightness </li> <li data-name="ol.ObjectEvent#event:change:contrast" class="unstable"> change:contrast </li> <li data-name="ol.ObjectEvent#event:change:extent" class="unstable"> change:extent </li> <li data-name="ol.ObjectEvent#event:change:hue" class="unstable"> change:hue </li> <li data-name="ol.ObjectEvent#event:change:maxResolution" class="unstable"> change:maxResolution </li> <li data-name="ol.ObjectEvent#event:change:minResolution" class="unstable"> change:minResolution </li> <li data-name="ol.ObjectEvent#event:change:opacity" class="unstable"> change:opacity </li> <li data-name="ol.ObjectEvent#event:change:saturation" class="unstable"> change:saturation </li> <li data-name="ol.ObjectEvent#event:change:source" class="unstable"> change:source </li> <li data-name="ol.ObjectEvent#event:change:visible" class="unstable"> change:visible </li> <li data-name="ol.render.Event#event:postcompose" class="unstable"> <a href="ol.render.Event.html#event:postcompose">postcompose</a> </li> <li data-name="ol.render.Event#event:precompose" class="unstable"> <a href="ol.render.Event.html#event:precompose">precompose</a> </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> <li data-name="ol.render.Event#event:render" class="unstable"> <a href="ol.render.Event.html#event:render">render</a> </li> </ul> </li> <li class="item" data-name="ol.layer.Layer"> <span class="title"> <a href="ol.layer.Layer.html">ol.layer.Layer</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.layer.Layer#bindTo" class="unstable"> <a href="ol.layer.Layer.html#bindTo">bindTo</a> </li> <li data-name="ol.layer.Layer#changed" class="unstable"> <a href="ol.layer.Layer.html#changed">changed</a> </li> <li data-name="ol.layer.Layer#get" class="unstable"> <a href="ol.layer.Layer.html#get">get</a> </li> <li data-name="ol.layer.Layer#getBrightness" class="unstable"> <a href="ol.layer.Layer.html#getBrightness">getBrightness</a> </li> <li data-name="ol.layer.Layer#getContrast" class="unstable"> <a href="ol.layer.Layer.html#getContrast">getContrast</a> </li> <li data-name="ol.layer.Layer#getExtent" class=""> <a href="ol.layer.Layer.html#getExtent">getExtent</a> </li> <li data-name="ol.layer.Layer#getHue" class="unstable"> <a href="ol.layer.Layer.html#getHue">getHue</a> </li> <li data-name="ol.layer.Layer#getKeys" class="unstable"> <a href="ol.layer.Layer.html#getKeys">getKeys</a> </li> <li data-name="ol.layer.Layer#getMaxResolution" class=""> <a href="ol.layer.Layer.html#getMaxResolution">getMaxResolution</a> </li> <li data-name="ol.layer.Layer#getMinResolution" class=""> <a href="ol.layer.Layer.html#getMinResolution">getMinResolution</a> </li> <li data-name="ol.layer.Layer#getOpacity" class=""> <a href="ol.layer.Layer.html#getOpacity">getOpacity</a> </li> <li data-name="ol.layer.Layer#getProperties" class="unstable"> <a href="ol.layer.Layer.html#getProperties">getProperties</a> </li> <li data-name="ol.layer.Layer#getRevision" class="unstable"> <a href="ol.layer.Layer.html#getRevision">getRevision</a> </li> <li data-name="ol.layer.Layer#getSaturation" class="unstable"> <a href="ol.layer.Layer.html#getSaturation">getSaturation</a> </li> <li data-name="ol.layer.Layer#getSource" class=""> <a href="ol.layer.Layer.html#getSource">getSource</a> </li> <li data-name="ol.layer.Layer#getVisible" class=""> <a href="ol.layer.Layer.html#getVisible">getVisible</a> </li> <li data-name="ol.layer.Layer#on" class=""> <a href="ol.layer.Layer.html#on">on</a> </li> <li data-name="ol.layer.Layer#once" class=""> <a href="ol.layer.Layer.html#once">once</a> </li> <li data-name="ol.layer.Layer#set" class="unstable"> <a href="ol.layer.Layer.html#set">set</a> </li> <li data-name="ol.layer.Layer#setBrightness" class="unstable"> <a href="ol.layer.Layer.html#setBrightness">setBrightness</a> </li> <li data-name="ol.layer.Layer#setContrast" class="unstable"> <a href="ol.layer.Layer.html#setContrast">setContrast</a> </li> <li data-name="ol.layer.Layer#setExtent" class=""> <a href="ol.layer.Layer.html#setExtent">setExtent</a> </li> <li data-name="ol.layer.Layer#setHue" class="unstable"> <a href="ol.layer.Layer.html#setHue">setHue</a> </li> <li data-name="ol.layer.Layer#setMaxResolution" class=""> <a href="ol.layer.Layer.html#setMaxResolution">setMaxResolution</a> </li> <li data-name="ol.layer.Layer#setMinResolution" class=""> <a href="ol.layer.Layer.html#setMinResolution">setMinResolution</a> </li> <li data-name="ol.layer.Layer#setOpacity" class=""> <a href="ol.layer.Layer.html#setOpacity">setOpacity</a> </li> <li data-name="ol.layer.Layer#setProperties" class="unstable"> <a href="ol.layer.Layer.html#setProperties">setProperties</a> </li> <li data-name="ol.layer.Layer#setSaturation" class="unstable"> <a href="ol.layer.Layer.html#setSaturation">setSaturation</a> </li> <li data-name="ol.layer.Layer#setSource" class=""> <a href="ol.layer.Layer.html#setSource">setSource</a> </li> <li data-name="ol.layer.Layer#setVisible" class=""> <a href="ol.layer.Layer.html#setVisible">setVisible</a> </li> <li data-name="ol.layer.Layer#un" class=""> <a href="ol.layer.Layer.html#un">un</a> </li> <li data-name="ol.layer.Layer#unbind" class="unstable"> <a href="ol.layer.Layer.html#unbind">unbind</a> </li> <li data-name="ol.layer.Layer#unbindAll" class="unstable"> <a href="ol.layer.Layer.html#unbindAll">unbindAll</a> </li> <li data-name="ol.layer.Layer#unByKey" class=""> <a href="ol.layer.Layer.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.ObjectEvent#event:change:brightness" class="unstable"> change:brightness </li> <li data-name="ol.ObjectEvent#event:change:contrast" class="unstable"> change:contrast </li> <li data-name="ol.ObjectEvent#event:change:extent" class="unstable"> change:extent </li> <li data-name="ol.ObjectEvent#event:change:hue" class="unstable"> change:hue </li> <li data-name="ol.ObjectEvent#event:change:maxResolution" class="unstable"> change:maxResolution </li> <li data-name="ol.ObjectEvent#event:change:minResolution" class="unstable"> change:minResolution </li> <li data-name="ol.ObjectEvent#event:change:opacity" class="unstable"> change:opacity </li> <li data-name="ol.ObjectEvent#event:change:saturation" class="unstable"> change:saturation </li> <li data-name="ol.ObjectEvent#event:change:source" class="unstable"> change:source </li> <li data-name="ol.ObjectEvent#event:change:visible" class="unstable"> change:visible </li> <li data-name="ol.render.Event#event:postcompose" class="unstable"> <a href="ol.render.Event.html#event:postcompose">postcompose</a> </li> <li data-name="ol.render.Event#event:precompose" class="unstable"> <a href="ol.render.Event.html#event:precompose">precompose</a> </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> <li data-name="ol.render.Event#event:render" class="unstable"> <a href="ol.render.Event.html#event:render">render</a> </li> </ul> </li> <li class="item" data-name="ol.layer.Tile"> <span class="title"> <a href="ol.layer.Tile.html">ol.layer.Tile</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.layer.Tile#bindTo" class="unstable"> <a href="ol.layer.Tile.html#bindTo">bindTo</a> </li> <li data-name="ol.layer.Tile#changed" class="unstable"> <a href="ol.layer.Tile.html#changed">changed</a> </li> <li data-name="ol.layer.Tile#get" class="unstable"> <a href="ol.layer.Tile.html#get">get</a> </li> <li data-name="ol.layer.Tile#getBrightness" class="unstable"> <a href="ol.layer.Tile.html#getBrightness">getBrightness</a> </li> <li data-name="ol.layer.Tile#getContrast" class="unstable"> <a href="ol.layer.Tile.html#getContrast">getContrast</a> </li> <li data-name="ol.layer.Tile#getExtent" class=""> <a href="ol.layer.Tile.html#getExtent">getExtent</a> </li> <li data-name="ol.layer.Tile#getHue" class="unstable"> <a href="ol.layer.Tile.html#getHue">getHue</a> </li> <li data-name="ol.layer.Tile#getKeys" class="unstable"> <a href="ol.layer.Tile.html#getKeys">getKeys</a> </li> <li data-name="ol.layer.Tile#getMaxResolution" class=""> <a href="ol.layer.Tile.html#getMaxResolution">getMaxResolution</a> </li> <li data-name="ol.layer.Tile#getMinResolution" class=""> <a href="ol.layer.Tile.html#getMinResolution">getMinResolution</a> </li> <li data-name="ol.layer.Tile#getOpacity" class=""> <a href="ol.layer.Tile.html#getOpacity">getOpacity</a> </li> <li data-name="ol.layer.Tile#getPreload" class="unstable"> <a href="ol.layer.Tile.html#getPreload">getPreload</a> </li> <li data-name="ol.layer.Tile#getProperties" class="unstable"> <a href="ol.layer.Tile.html#getProperties">getProperties</a> </li> <li data-name="ol.layer.Tile#getRevision" class="unstable"> <a href="ol.layer.Tile.html#getRevision">getRevision</a> </li> <li data-name="ol.layer.Tile#getSaturation" class="unstable"> <a href="ol.layer.Tile.html#getSaturation">getSaturation</a> </li> <li data-name="ol.layer.Tile#getSource" class=""> <a href="ol.layer.Tile.html#getSource">getSource</a> </li> <li data-name="ol.layer.Tile#<API key>" class="unstable"> <a href="ol.layer.Tile.html#<API key>"><API key></a> </li> <li data-name="ol.layer.Tile#getVisible" class=""> <a href="ol.layer.Tile.html#getVisible">getVisible</a> </li> <li data-name="ol.layer.Tile#on" class=""> <a href="ol.layer.Tile.html#on">on</a> </li> <li data-name="ol.layer.Tile#once" class=""> <a href="ol.layer.Tile.html#once">once</a> </li> <li data-name="ol.layer.Tile#set" class="unstable"> <a href="ol.layer.Tile.html#set">set</a> </li> <li data-name="ol.layer.Tile#setBrightness" class="unstable"> <a href="ol.layer.Tile.html#setBrightness">setBrightness</a> </li> <li data-name="ol.layer.Tile#setContrast" class="unstable"> <a href="ol.layer.Tile.html#setContrast">setContrast</a> </li> <li data-name="ol.layer.Tile#setExtent" class=""> <a href="ol.layer.Tile.html#setExtent">setExtent</a> </li> <li data-name="ol.layer.Tile#setHue" class="unstable"> <a href="ol.layer.Tile.html#setHue">setHue</a> </li> <li data-name="ol.layer.Tile#setMaxResolution" class=""> <a href="ol.layer.Tile.html#setMaxResolution">setMaxResolution</a> </li> <li data-name="ol.layer.Tile#setMinResolution" class=""> <a href="ol.layer.Tile.html#setMinResolution">setMinResolution</a> </li> <li data-name="ol.layer.Tile#setOpacity" class=""> <a href="ol.layer.Tile.html#setOpacity">setOpacity</a> </li> <li data-name="ol.layer.Tile#setPreload" class="unstable"> <a href="ol.layer.Tile.html#setPreload">setPreload</a> </li> <li data-name="ol.layer.Tile#setProperties" class="unstable"> <a href="ol.layer.Tile.html#setProperties">setProperties</a> </li> <li data-name="ol.layer.Tile#setSaturation" class="unstable"> <a href="ol.layer.Tile.html#setSaturation">setSaturation</a> </li> <li data-name="ol.layer.Tile#setSource" class=""> <a href="ol.layer.Tile.html#setSource">setSource</a> </li> <li data-name="ol.layer.Tile#<API key>" class="unstable"> <a href="ol.layer.Tile.html#<API key>"><API key></a> </li> <li data-name="ol.layer.Tile#setVisible" class=""> <a href="ol.layer.Tile.html#setVisible">setVisible</a> </li> <li data-name="ol.layer.Tile#un" class=""> <a href="ol.layer.Tile.html#un">un</a> </li> <li data-name="ol.layer.Tile#unbind" class="unstable"> <a href="ol.layer.Tile.html#unbind">unbind</a> </li> <li data-name="ol.layer.Tile#unbindAll" class="unstable"> <a href="ol.layer.Tile.html#unbindAll">unbindAll</a> </li> <li data-name="ol.layer.Tile#unByKey" class=""> <a href="ol.layer.Tile.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.ObjectEvent#event:change:brightness" class="unstable"> change:brightness </li> <li data-name="ol.ObjectEvent#event:change:contrast" class="unstable"> change:contrast </li> <li data-name="ol.ObjectEvent#event:change:extent" class="unstable"> change:extent </li> <li data-name="ol.ObjectEvent#event:change:hue" class="unstable"> change:hue </li> <li data-name="ol.ObjectEvent#event:change:maxResolution" class="unstable"> change:maxResolution </li> <li data-name="ol.ObjectEvent#event:change:minResolution" class="unstable"> change:minResolution </li> <li data-name="ol.ObjectEvent#event:change:opacity" class="unstable"> change:opacity </li> <li data-name="ol.ObjectEvent#event:change:preload" class="unstable"> change:preload </li> <li data-name="ol.ObjectEvent#event:change:saturation" class="unstable"> change:saturation </li> <li data-name="ol.ObjectEvent#event:change:source" class="unstable"> change:source </li> <li data-name="ol.ObjectEvent#event:change:<API key>" class="unstable"> change:<API key> </li> <li data-name="ol.ObjectEvent#event:change:visible" class="unstable"> change:visible </li> <li data-name="ol.render.Event#event:postcompose" class="unstable"> <a href="ol.render.Event.html#event:postcompose">postcompose</a> </li> <li data-name="ol.render.Event#event:precompose" class="unstable"> <a href="ol.render.Event.html#event:precompose">precompose</a> </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> <li data-name="ol.render.Event#event:render" class="unstable"> <a href="ol.render.Event.html#event:render">render</a> </li> </ul> </li> <li class="item" data-name="ol.layer.Vector"> <span class="title"> <a href="ol.layer.Vector.html">ol.layer.Vector</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.layer.Vector#bindTo" class="unstable"> <a href="ol.layer.Vector.html#bindTo">bindTo</a> </li> <li data-name="ol.layer.Vector#changed" class="unstable"> <a href="ol.layer.Vector.html#changed">changed</a> </li> <li data-name="ol.layer.Vector#get" class="unstable"> <a href="ol.layer.Vector.html#get">get</a> </li> <li data-name="ol.layer.Vector#getBrightness" class="unstable"> <a href="ol.layer.Vector.html#getBrightness">getBrightness</a> </li> <li data-name="ol.layer.Vector#getContrast" class="unstable"> <a href="ol.layer.Vector.html#getContrast">getContrast</a> </li> <li data-name="ol.layer.Vector#getExtent" class=""> <a href="ol.layer.Vector.html#getExtent">getExtent</a> </li> <li data-name="ol.layer.Vector#getHue" class="unstable"> <a href="ol.layer.Vector.html#getHue">getHue</a> </li> <li data-name="ol.layer.Vector#getKeys" class="unstable"> <a href="ol.layer.Vector.html#getKeys">getKeys</a> </li> <li data-name="ol.layer.Vector#getMaxResolution" class=""> <a href="ol.layer.Vector.html#getMaxResolution">getMaxResolution</a> </li> <li data-name="ol.layer.Vector#getMinResolution" class=""> <a href="ol.layer.Vector.html#getMinResolution">getMinResolution</a> </li> <li data-name="ol.layer.Vector#getOpacity" class=""> <a href="ol.layer.Vector.html#getOpacity">getOpacity</a> </li> <li data-name="ol.layer.Vector#getProperties" class="unstable"> <a href="ol.layer.Vector.html#getProperties">getProperties</a> </li> <li data-name="ol.layer.Vector#getRevision" class="unstable"> <a href="ol.layer.Vector.html#getRevision">getRevision</a> </li> <li data-name="ol.layer.Vector#getSaturation" class="unstable"> <a href="ol.layer.Vector.html#getSaturation">getSaturation</a> </li> <li data-name="ol.layer.Vector#getSource" class=""> <a href="ol.layer.Vector.html#getSource">getSource</a> </li> <li data-name="ol.layer.Vector#getStyle" class=""> <a href="ol.layer.Vector.html#getStyle">getStyle</a> </li> <li data-name="ol.layer.Vector#getStyleFunction" class=""> <a href="ol.layer.Vector.html#getStyleFunction">getStyleFunction</a> </li> <li data-name="ol.layer.Vector#getVisible" class=""> <a href="ol.layer.Vector.html#getVisible">getVisible</a> </li> <li data-name="ol.layer.Vector#on" class=""> <a href="ol.layer.Vector.html#on">on</a> </li> <li data-name="ol.layer.Vector#once" class=""> <a href="ol.layer.Vector.html#once">once</a> </li> <li data-name="ol.layer.Vector#set" class="unstable"> <a href="ol.layer.Vector.html#set">set</a> </li> <li data-name="ol.layer.Vector#setBrightness" class="unstable"> <a href="ol.layer.Vector.html#setBrightness">setBrightness</a> </li> <li data-name="ol.layer.Vector#setContrast" class="unstable"> <a href="ol.layer.Vector.html#setContrast">setContrast</a> </li> <li data-name="ol.layer.Vector#setExtent" class=""> <a href="ol.layer.Vector.html#setExtent">setExtent</a> </li> <li data-name="ol.layer.Vector#setHue" class="unstable"> <a href="ol.layer.Vector.html#setHue">setHue</a> </li> <li data-name="ol.layer.Vector#setMaxResolution" class=""> <a href="ol.layer.Vector.html#setMaxResolution">setMaxResolution</a> </li> <li data-name="ol.layer.Vector#setMinResolution" class=""> <a href="ol.layer.Vector.html#setMinResolution">setMinResolution</a> </li> <li data-name="ol.layer.Vector#setOpacity" class=""> <a href="ol.layer.Vector.html#setOpacity">setOpacity</a> </li> <li data-name="ol.layer.Vector#setProperties" class="unstable"> <a href="ol.layer.Vector.html#setProperties">setProperties</a> </li> <li data-name="ol.layer.Vector#setSaturation" class="unstable"> <a href="ol.layer.Vector.html#setSaturation">setSaturation</a> </li> <li data-name="ol.layer.Vector#setSource" class=""> <a href="ol.layer.Vector.html#setSource">setSource</a> </li> <li data-name="ol.layer.Vector#setStyle" class=""> <a href="ol.layer.Vector.html#setStyle">setStyle</a> </li> <li data-name="ol.layer.Vector#setVisible" class=""> <a href="ol.layer.Vector.html#setVisible">setVisible</a> </li> <li data-name="ol.layer.Vector#un" class=""> <a href="ol.layer.Vector.html#un">un</a> </li> <li data-name="ol.layer.Vector#unbind" class="unstable"> <a href="ol.layer.Vector.html#unbind">unbind</a> </li> <li data-name="ol.layer.Vector#unbindAll" class="unstable"> <a href="ol.layer.Vector.html#unbindAll">unbindAll</a> </li> <li data-name="ol.layer.Vector#unByKey" class=""> <a href="ol.layer.Vector.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.ObjectEvent#event:change:brightness" class="unstable"> change:brightness </li> <li data-name="ol.ObjectEvent#event:change:contrast" class="unstable"> change:contrast </li> <li data-name="ol.ObjectEvent#event:change:extent" class="unstable"> change:extent </li> <li data-name="ol.ObjectEvent#event:change:hue" class="unstable"> change:hue </li> <li data-name="ol.ObjectEvent#event:change:maxResolution" class="unstable"> change:maxResolution </li> <li data-name="ol.ObjectEvent#event:change:minResolution" class="unstable"> change:minResolution </li> <li data-name="ol.ObjectEvent#event:change:opacity" class="unstable"> change:opacity </li> <li data-name="ol.ObjectEvent#event:change:saturation" class="unstable"> change:saturation </li> <li data-name="ol.ObjectEvent#event:change:source" class="unstable"> change:source </li> <li data-name="ol.ObjectEvent#event:change:visible" class="unstable"> change:visible </li> <li data-name="ol.render.Event#event:postcompose" class="unstable"> <a href="ol.render.Event.html#event:postcompose">postcompose</a> </li> <li data-name="ol.render.Event#event:precompose" class="unstable"> <a href="ol.render.Event.html#event:precompose">precompose</a> </li> <li data-name="ol.ObjectEvent#event:propertychange" class="unstable"> <a href="ol.ObjectEvent.html#event:propertychange">propertychange</a> </li> <li data-name="ol.render.Event#event:render" class="unstable"> <a href="ol.render.Event.html#event:render">render</a> </li> </ul> </li> <li class="item" data-name="ol.loadingstrategy"> <span class="title"> <a href="ol.loadingstrategy.html">ol.loadingstrategy</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.loadingstrategy.all" class="unstable"> <a href="ol.loadingstrategy.html#all">all</a> </li> <li data-name="ol.loadingstrategy.bbox" class="unstable"> <a href="ol.loadingstrategy.html#bbox">bbox</a> </li> <li data-name="ol.loadingstrategy.createTile" class="unstable"> <a href="ol.loadingstrategy.html#createTile">createTile</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.proj"> <span class="title"> <a href="ol.proj.html">ol.proj</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.proj.METERS_PER_UNIT"><a href="ol.proj.html#METERS_PER_UNIT">METERS_PER_UNIT</a></li> </ul> <ul class="typedefs itemMembers"> <span class="subtitle">Typedefs</span> <li data-name="ol.proj.ProjectionLike" class=""> <a href="ol.proj.html#ProjectionLike">ProjectionLike</a> </li> <li data-name="ol.proj.Units" class=""> <a href="ol.proj.html#Units">Units</a> </li> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.proj.<API key>" class=""> <a href="ol.proj.html#<API key>"><API key></a> </li> <li data-name="ol.proj.<API key>" class="unstable"> <a href="ol.proj.html#<API key>"><API key></a> </li> <li data-name="ol.proj.addProjection" class=""> <a href="ol.proj.html#addProjection">addProjection</a> </li> <li data-name="ol.proj.get" class=""> <a href="ol.proj.html#get">get</a> </li> <li data-name="ol.proj.getTransform" class=""> <a href="ol.proj.html#getTransform">getTransform</a> </li> <li data-name="ol.proj.transform" class=""> <a href="ol.proj.html#transform">transform</a> </li> <li data-name="ol.proj.transformExtent" class=""> <a href="ol.proj.html#transformExtent">transformExtent</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.proj.Projection"> <span class="title"> <a href="ol.proj.Projection.html">ol.proj.Projection</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.proj.Projection#getCode" class=""> <a href="ol.proj.Projection.html#getCode">getCode</a> </li> <li data-name="ol.proj.Projection#getExtent" class=""> <a href="ol.proj.Projection.html#getExtent">getExtent</a> </li> <li data-name="ol.proj.Projection#getMetersPerUnit" class=""> <a href="ol.proj.Projection.html#getMetersPerUnit">getMetersPerUnit</a> </li> <li data-name="ol.proj.Projection#getUnits" class=""> <a href="ol.proj.Projection.html#getUnits">getUnits</a> </li> <li data-name="ol.proj.Projection#getWorldExtent" class="unstable"> <a href="ol.proj.Projection.html#getWorldExtent">getWorldExtent</a> </li> <li data-name="ol.proj.Projection#isGlobal" class=""> <a href="ol.proj.Projection.html#isGlobal">isGlobal</a> </li> <li data-name="ol.proj.Projection#setExtent" class=""> <a href="ol.proj.Projection.html#setExtent">setExtent</a> </li> <li data-name="ol.proj.Projection#setWorldExtent" class="unstable"> <a href="ol.proj.Projection.html#setWorldExtent">setWorldExtent</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.render"> <span class="title"> <a href="ol.render.html">ol.render</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.render.Event"> <span class="title"> <a href="ol.render.Event.html">ol.render.Event</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.render.Event#context"><a href="ol.render.Event.html#context">context</a></li> <li data-name="ol.render.Event#frameState"><a href="ol.render.Event.html#frameState">frameState</a></li> <li data-name="ol.render.Event#glContext"><a href="ol.render.Event.html#glContext">glContext</a></li> <li data-name="ol.render.Event#vectorContext"><a href="ol.render.Event.html#vectorContext">vectorContext</a></li> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.render.canvas"> <span class="title"> <a href="ol.render.canvas.html">ol.render.canvas</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.render.canvas.Immediate"> <span class="title"> <a href="ol.render.canvas.Immediate.html">ol.render.canvas.Immediate</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.render.canvas.Immediate#drawAsync" class="unstable"> <a href="ol.render.canvas.Immediate.html#drawAsync">drawAsync</a> </li> <li data-name="ol.render.canvas.Immediate#drawCircleGeometry" class="unstable"> <a href="ol.render.canvas.Immediate.html#drawCircleGeometry">drawCircleGeometry</a> </li> <li data-name="ol.render.canvas.Immediate#drawFeature" class="unstable"> <a href="ol.render.canvas.Immediate.html#drawFeature">drawFeature</a> </li> <li data-name="ol.render.canvas.Immediate#<API key>" class="unstable"> <a href="ol.render.canvas.Immediate.html#<API key>"><API key></a> </li> <li data-name="ol.render.canvas.Immediate#<API key>" class="unstable"> <a href="ol.render.canvas.Immediate.html#<API key>"><API key></a> </li> <li data-name="ol.render.canvas.Immediate#<API key>" class="unstable"> <a href="ol.render.canvas.Immediate.html#<API key>"><API key></a> </li> <li data-name="ol.render.canvas.Immediate#<API key>" class="unstable"> <a href="ol.render.canvas.Immediate.html#<API key>"><API key></a> </li> <li data-name="ol.render.canvas.Immediate#drawPointGeometry" class="unstable"> <a href="ol.render.canvas.Immediate.html#drawPointGeometry">drawPointGeometry</a> </li> <li data-name="ol.render.canvas.Immediate#drawPolygonGeometry" class="unstable"> <a href="ol.render.canvas.Immediate.html#drawPolygonGeometry">drawPolygonGeometry</a> </li> <li data-name="ol.render.canvas.Immediate#setFillStrokeStyle" class="unstable"> <a href="ol.render.canvas.Immediate.html#setFillStrokeStyle">setFillStrokeStyle</a> </li> <li data-name="ol.render.canvas.Immediate#setImageStyle" class="unstable"> <a href="ol.render.canvas.Immediate.html#setImageStyle">setImageStyle</a> </li> <li data-name="ol.render.canvas.Immediate#setTextStyle" class="unstable"> <a href="ol.render.canvas.Immediate.html#setTextStyle">setTextStyle</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.render.webgl.Immediate"> <span class="title"> <a href="ol.render.webgl.Immediate.html">ol.render.webgl.Immediate</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.render.webgl.Immediate#drawAsync" class="unstable"> <a href="ol.render.webgl.Immediate.html#drawAsync">drawAsync</a> </li> <li data-name="ol.render.webgl.Immediate#drawCircleGeometry" class="unstable"> <a href="ol.render.webgl.Immediate.html#drawCircleGeometry">drawCircleGeometry</a> </li> <li data-name="ol.render.webgl.Immediate#drawFeature" class="unstable"> <a href="ol.render.webgl.Immediate.html#drawFeature">drawFeature</a> </li> <li data-name="ol.render.webgl.Immediate#<API key>" class="unstable"> <a href="ol.render.webgl.Immediate.html#<API key>"><API key></a> </li> <li data-name="ol.render.webgl.Immediate#<API key>" class="unstable"> <a href="ol.render.webgl.Immediate.html#<API key>"><API key></a> </li> <li data-name="ol.render.webgl.Immediate#<API key>" class="unstable"> <a href="ol.render.webgl.Immediate.html#<API key>"><API key></a> </li> <li data-name="ol.render.webgl.Immediate#<API key>" class="unstable"> <a href="ol.render.webgl.Immediate.html#<API key>"><API key></a> </li> <li data-name="ol.render.webgl.Immediate#<API key>" class="unstable"> <a href="ol.render.webgl.Immediate.html#<API key>"><API key></a> </li> <li data-name="ol.render.webgl.Immediate#drawPointGeometry" class="unstable"> <a href="ol.render.webgl.Immediate.html#drawPointGeometry">drawPointGeometry</a> </li> <li data-name="ol.render.webgl.Immediate#drawPolygonGeometry" class="unstable"> <a href="ol.render.webgl.Immediate.html#drawPolygonGeometry">drawPolygonGeometry</a> </li> <li data-name="ol.render.webgl.Immediate#drawText" class="unstable"> <a href="ol.render.webgl.Immediate.html#drawText">drawText</a> </li> <li data-name="ol.render.webgl.Immediate#setFillStrokeStyle" class="unstable"> <a href="ol.render.webgl.Immediate.html#setFillStrokeStyle">setFillStrokeStyle</a> </li> <li data-name="ol.render.webgl.Immediate#setImageStyle" class="unstable"> <a href="ol.render.webgl.Immediate.html#setImageStyle">setImageStyle</a> </li> <li data-name="ol.render.webgl.Immediate#setTextStyle" class="unstable"> <a href="ol.render.webgl.Immediate.html#setTextStyle">setTextStyle</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.source"> <span class="title"> <a href="ol.source.html">ol.source</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> <span class="subtitle">Typedefs</span> <li data-name="ol.source.State" class="unstable"> <a href="ol.source.html#State">State</a> </li> <li data-name="ol.source.WMTSRequestEncoding" class="unstable"> <a href="ol.source.html#WMTSRequestEncoding">WMTSRequestEncoding</a> </li> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.source.BingMaps"> <span class="title"> <a href="ol.source.BingMaps.html">ol.source.BingMaps</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.source.BingMaps.TOS_ATTRIBUTION"><a href="ol.source.BingMaps.html#TOS_ATTRIBUTION">TOS_ATTRIBUTION</a></li> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.BingMaps#changed" class="unstable"> <a href="ol.source.BingMaps.html#changed">changed</a> </li> <li data-name="ol.source.BingMaps#getAttributions" class=""> <a href="ol.source.BingMaps.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.BingMaps#getLogo" class=""> <a href="ol.source.BingMaps.html#getLogo">getLogo</a> </li> <li data-name="ol.source.BingMaps#getProjection" class="unstable"> <a href="ol.source.BingMaps.html#getProjection">getProjection</a> </li> <li data-name="ol.source.BingMaps#getRevision" class="unstable"> <a href="ol.source.BingMaps.html#getRevision">getRevision</a> </li> <li data-name="ol.source.BingMaps#getState" class="unstable"> <a href="ol.source.BingMaps.html#getState">getState</a> </li> <li data-name="ol.source.BingMaps#getTileGrid" class=""> <a href="ol.source.BingMaps.html#getTileGrid">getTileGrid</a> </li> <li data-name="ol.source.BingMaps#getTileLoadFunction" class="unstable"> <a href="ol.source.BingMaps.html#getTileLoadFunction">getTileLoadFunction</a> </li> <li data-name="ol.source.BingMaps#getTileUrlFunction" class="unstable"> <a href="ol.source.BingMaps.html#getTileUrlFunction">getTileUrlFunction</a> </li> <li data-name="ol.source.BingMaps#on" class=""> <a href="ol.source.BingMaps.html#on">on</a> </li> <li data-name="ol.source.BingMaps#once" class=""> <a href="ol.source.BingMaps.html#once">once</a> </li> <li data-name="ol.source.BingMaps#setTileLoadFunction" class="unstable"> <a href="ol.source.BingMaps.html#setTileLoadFunction">setTileLoadFunction</a> </li> <li data-name="ol.source.BingMaps#setTileUrlFunction" class="unstable"> <a href="ol.source.BingMaps.html#setTileUrlFunction">setTileUrlFunction</a> </li> <li data-name="ol.source.BingMaps#un" class=""> <a href="ol.source.BingMaps.html#un">un</a> </li> <li data-name="ol.source.BingMaps#unByKey" class=""> <a href="ol.source.BingMaps.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.Cluster"> <span class="title"> <a href="ol.source.Cluster.html">ol.source.Cluster</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.Cluster#addFeature" class=""> <a href="ol.source.Cluster.html#addFeature">addFeature</a> </li> <li data-name="ol.source.Cluster#addFeatures" class=""> <a href="ol.source.Cluster.html#addFeatures">addFeatures</a> </li> <li data-name="ol.source.Cluster#changed" class="unstable"> <a href="ol.source.Cluster.html#changed">changed</a> </li> <li data-name="ol.source.Cluster#clear" class=""> <a href="ol.source.Cluster.html#clear">clear</a> </li> <li data-name="ol.source.Cluster#forEachFeature" class=""> <a href="ol.source.Cluster.html#forEachFeature">forEachFeature</a> </li> <li data-name="ol.source.Cluster#<API key>" class="unstable"> <a href="ol.source.Cluster.html#<API key>"><API key></a> </li> <li data-name="ol.source.Cluster#<API key>" class="unstable"> <a href="ol.source.Cluster.html#<API key>"><API key></a> </li> <li data-name="ol.source.Cluster#getAttributions" class=""> <a href="ol.source.Cluster.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.Cluster#<API key>" class=""> <a href="ol.source.Cluster.html#<API key>"><API key></a> </li> <li data-name="ol.source.Cluster#getExtent" class=""> <a href="ol.source.Cluster.html#getExtent">getExtent</a> </li> <li data-name="ol.source.Cluster#getFeatureById" class=""> <a href="ol.source.Cluster.html#getFeatureById">getFeatureById</a> </li> <li data-name="ol.source.Cluster#getFeatures" class=""> <a href="ol.source.Cluster.html#getFeatures">getFeatures</a> </li> <li data-name="ol.source.Cluster#<API key>" class=""> <a href="ol.source.Cluster.html#<API key>"><API key></a> </li> <li data-name="ol.source.Cluster#getLogo" class=""> <a href="ol.source.Cluster.html#getLogo">getLogo</a> </li> <li data-name="ol.source.Cluster#getProjection" class="unstable"> <a href="ol.source.Cluster.html#getProjection">getProjection</a> </li> <li data-name="ol.source.Cluster#getRevision" class="unstable"> <a href="ol.source.Cluster.html#getRevision">getRevision</a> </li> <li data-name="ol.source.Cluster#getState" class="unstable"> <a href="ol.source.Cluster.html#getState">getState</a> </li> <li data-name="ol.source.Cluster#on" class=""> <a href="ol.source.Cluster.html#on">on</a> </li> <li data-name="ol.source.Cluster#once" class=""> <a href="ol.source.Cluster.html#once">once</a> </li> <li data-name="ol.source.Cluster#removeFeature" class=""> <a href="ol.source.Cluster.html#removeFeature">removeFeature</a> </li> <li data-name="ol.source.Cluster#un" class=""> <a href="ol.source.Cluster.html#un">un</a> </li> <li data-name="ol.source.Cluster#unByKey" class=""> <a href="ol.source.Cluster.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.source.VectorEvent#event:addfeature" class=""> <a href="ol.source.VectorEvent.html#event:addfeature">addfeature</a> </li> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.source.VectorEvent#event:changefeature" class="unstable"> <a href="ol.source.VectorEvent.html#event:changefeature">changefeature</a> </li> <li data-name="ol.source.VectorEvent#event:clear" class="unstable"> <a href="ol.source.VectorEvent.html#event:clear">clear</a> </li> <li data-name="ol.source.VectorEvent#event:removefeature" class=""> <a href="ol.source.VectorEvent.html#event:removefeature">removefeature</a> </li> </ul> </li> <li class="item" data-name="ol.source.FormatVector"> <span class="title"> <a href="ol.source.FormatVector.html">ol.source.FormatVector</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.FormatVector#addFeature" class=""> <a href="ol.source.FormatVector.html#addFeature">addFeature</a> </li> <li data-name="ol.source.FormatVector#addFeatures" class=""> <a href="ol.source.FormatVector.html#addFeatures">addFeatures</a> </li> <li data-name="ol.source.FormatVector#changed" class="unstable"> <a href="ol.source.FormatVector.html#changed">changed</a> </li> <li data-name="ol.source.FormatVector#clear" class=""> <a href="ol.source.FormatVector.html#clear">clear</a> </li> <li data-name="ol.source.FormatVector#forEachFeature" class=""> <a href="ol.source.FormatVector.html#forEachFeature">forEachFeature</a> </li> <li data-name="ol.source.FormatVector#<API key>" class="unstable"> <a href="ol.source.FormatVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.FormatVector#<API key>" class="unstable"> <a href="ol.source.FormatVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.FormatVector#getAttributions" class=""> <a href="ol.source.FormatVector.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.FormatVector#<API key>" class=""> <a href="ol.source.FormatVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.FormatVector#getExtent" class=""> <a href="ol.source.FormatVector.html#getExtent">getExtent</a> </li> <li data-name="ol.source.FormatVector#getFeatureById" class=""> <a href="ol.source.FormatVector.html#getFeatureById">getFeatureById</a> </li> <li data-name="ol.source.FormatVector#getFeatures" class=""> <a href="ol.source.FormatVector.html#getFeatures">getFeatures</a> </li> <li data-name="ol.source.FormatVector#<API key>" class=""> <a href="ol.source.FormatVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.FormatVector#getLogo" class=""> <a href="ol.source.FormatVector.html#getLogo">getLogo</a> </li> <li data-name="ol.source.FormatVector#getProjection" class="unstable"> <a href="ol.source.FormatVector.html#getProjection">getProjection</a> </li> <li data-name="ol.source.FormatVector#getRevision" class="unstable"> <a href="ol.source.FormatVector.html#getRevision">getRevision</a> </li> <li data-name="ol.source.FormatVector#getState" class="unstable"> <a href="ol.source.FormatVector.html#getState">getState</a> </li> <li data-name="ol.source.FormatVector#on" class=""> <a href="ol.source.FormatVector.html#on">on</a> </li> <li data-name="ol.source.FormatVector#once" class=""> <a href="ol.source.FormatVector.html#once">once</a> </li> <li data-name="ol.source.FormatVector#readFeatures" class="unstable"> <a href="ol.source.FormatVector.html#readFeatures">readFeatures</a> </li> <li data-name="ol.source.FormatVector#removeFeature" class=""> <a href="ol.source.FormatVector.html#removeFeature">removeFeature</a> </li> <li data-name="ol.source.FormatVector#un" class=""> <a href="ol.source.FormatVector.html#un">un</a> </li> <li data-name="ol.source.FormatVector#unByKey" class=""> <a href="ol.source.FormatVector.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.source.VectorEvent#event:addfeature" class=""> <a href="ol.source.VectorEvent.html#event:addfeature">addfeature</a> </li> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.source.VectorEvent#event:changefeature" class="unstable"> <a href="ol.source.VectorEvent.html#event:changefeature">changefeature</a> </li> <li data-name="ol.source.VectorEvent#event:clear" class="unstable"> <a href="ol.source.VectorEvent.html#event:clear">clear</a> </li> <li data-name="ol.source.VectorEvent#event:removefeature" class=""> <a href="ol.source.VectorEvent.html#event:removefeature">removefeature</a> </li> </ul> </li> <li class="item" data-name="ol.source.GPX"> <span class="title"> <a href="ol.source.GPX.html">ol.source.GPX</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.GPX#addFeature" class=""> <a href="ol.source.GPX.html#addFeature">addFeature</a> </li> <li data-name="ol.source.GPX#addFeatures" class=""> <a href="ol.source.GPX.html#addFeatures">addFeatures</a> </li> <li data-name="ol.source.GPX#changed" class="unstable"> <a href="ol.source.GPX.html#changed">changed</a> </li> <li data-name="ol.source.GPX#clear" class=""> <a href="ol.source.GPX.html#clear">clear</a> </li> <li data-name="ol.source.GPX#forEachFeature" class=""> <a href="ol.source.GPX.html#forEachFeature">forEachFeature</a> </li> <li data-name="ol.source.GPX#<API key>" class="unstable"> <a href="ol.source.GPX.html#<API key>"><API key></a> </li> <li data-name="ol.source.GPX#<API key>" class="unstable"> <a href="ol.source.GPX.html#<API key>"><API key></a> </li> <li data-name="ol.source.GPX#getAttributions" class=""> <a href="ol.source.GPX.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.GPX#<API key>" class=""> <a href="ol.source.GPX.html#<API key>"><API key></a> </li> <li data-name="ol.source.GPX#getExtent" class=""> <a href="ol.source.GPX.html#getExtent">getExtent</a> </li> <li data-name="ol.source.GPX#getFeatureById" class=""> <a href="ol.source.GPX.html#getFeatureById">getFeatureById</a> </li> <li data-name="ol.source.GPX#getFeatures" class=""> <a href="ol.source.GPX.html#getFeatures">getFeatures</a> </li> <li data-name="ol.source.GPX#<API key>" class=""> <a href="ol.source.GPX.html#<API key>"><API key></a> </li> <li data-name="ol.source.GPX#getLogo" class=""> <a href="ol.source.GPX.html#getLogo">getLogo</a> </li> <li data-name="ol.source.GPX#getProjection" class="unstable"> <a href="ol.source.GPX.html#getProjection">getProjection</a> </li> <li data-name="ol.source.GPX#getRevision" class="unstable"> <a href="ol.source.GPX.html#getRevision">getRevision</a> </li> <li data-name="ol.source.GPX#getState" class="unstable"> <a href="ol.source.GPX.html#getState">getState</a> </li> <li data-name="ol.source.GPX#on" class=""> <a href="ol.source.GPX.html#on">on</a> </li> <li data-name="ol.source.GPX#once" class=""> <a href="ol.source.GPX.html#once">once</a> </li> <li data-name="ol.source.GPX#readFeatures" class="unstable"> <a href="ol.source.GPX.html#readFeatures">readFeatures</a> </li> <li data-name="ol.source.GPX#removeFeature" class=""> <a href="ol.source.GPX.html#removeFeature">removeFeature</a> </li> <li data-name="ol.source.GPX#un" class=""> <a href="ol.source.GPX.html#un">un</a> </li> <li data-name="ol.source.GPX#unByKey" class=""> <a href="ol.source.GPX.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.source.VectorEvent#event:addfeature" class=""> <a href="ol.source.VectorEvent.html#event:addfeature">addfeature</a> </li> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.source.VectorEvent#event:changefeature" class="unstable"> <a href="ol.source.VectorEvent.html#event:changefeature">changefeature</a> </li> <li data-name="ol.source.VectorEvent#event:clear" class="unstable"> <a href="ol.source.VectorEvent.html#event:clear">clear</a> </li> <li data-name="ol.source.VectorEvent#event:removefeature" class=""> <a href="ol.source.VectorEvent.html#event:removefeature">removefeature</a> </li> </ul> </li> <li class="item" data-name="ol.source.GeoJSON"> <span class="title"> <a href="ol.source.GeoJSON.html">ol.source.GeoJSON</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.GeoJSON#addFeature" class=""> <a href="ol.source.GeoJSON.html#addFeature">addFeature</a> </li> <li data-name="ol.source.GeoJSON#addFeatures" class=""> <a href="ol.source.GeoJSON.html#addFeatures">addFeatures</a> </li> <li data-name="ol.source.GeoJSON#changed" class="unstable"> <a href="ol.source.GeoJSON.html#changed">changed</a> </li> <li data-name="ol.source.GeoJSON#clear" class=""> <a href="ol.source.GeoJSON.html#clear">clear</a> </li> <li data-name="ol.source.GeoJSON#forEachFeature" class=""> <a href="ol.source.GeoJSON.html#forEachFeature">forEachFeature</a> </li> <li data-name="ol.source.GeoJSON#<API key>" class="unstable"> <a href="ol.source.GeoJSON.html#<API key>"><API key></a> </li> <li data-name="ol.source.GeoJSON#<API key>" class="unstable"> <a href="ol.source.GeoJSON.html#<API key>"><API key></a> </li> <li data-name="ol.source.GeoJSON#getAttributions" class=""> <a href="ol.source.GeoJSON.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.GeoJSON#<API key>" class=""> <a href="ol.source.GeoJSON.html#<API key>"><API key></a> </li> <li data-name="ol.source.GeoJSON#getExtent" class=""> <a href="ol.source.GeoJSON.html#getExtent">getExtent</a> </li> <li data-name="ol.source.GeoJSON#getFeatureById" class=""> <a href="ol.source.GeoJSON.html#getFeatureById">getFeatureById</a> </li> <li data-name="ol.source.GeoJSON#getFeatures" class=""> <a href="ol.source.GeoJSON.html#getFeatures">getFeatures</a> </li> <li data-name="ol.source.GeoJSON#<API key>" class=""> <a href="ol.source.GeoJSON.html#<API key>"><API key></a> </li> <li data-name="ol.source.GeoJSON#getLogo" class=""> <a href="ol.source.GeoJSON.html#getLogo">getLogo</a> </li> <li data-name="ol.source.GeoJSON#getProjection" class="unstable"> <a href="ol.source.GeoJSON.html#getProjection">getProjection</a> </li> <li data-name="ol.source.GeoJSON#getRevision" class="unstable"> <a href="ol.source.GeoJSON.html#getRevision">getRevision</a> </li> <li data-name="ol.source.GeoJSON#getState" class="unstable"> <a href="ol.source.GeoJSON.html#getState">getState</a> </li> <li data-name="ol.source.GeoJSON#on" class=""> <a href="ol.source.GeoJSON.html#on">on</a> </li> <li data-name="ol.source.GeoJSON#once" class=""> <a href="ol.source.GeoJSON.html#once">once</a> </li> <li data-name="ol.source.GeoJSON#readFeatures" class="unstable"> <a href="ol.source.GeoJSON.html#readFeatures">readFeatures</a> </li> <li data-name="ol.source.GeoJSON#removeFeature" class=""> <a href="ol.source.GeoJSON.html#removeFeature">removeFeature</a> </li> <li data-name="ol.source.GeoJSON#un" class=""> <a href="ol.source.GeoJSON.html#un">un</a> </li> <li data-name="ol.source.GeoJSON#unByKey" class=""> <a href="ol.source.GeoJSON.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.source.VectorEvent#event:addfeature" class=""> <a href="ol.source.VectorEvent.html#event:addfeature">addfeature</a> </li> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.source.VectorEvent#event:changefeature" class="unstable"> <a href="ol.source.VectorEvent.html#event:changefeature">changefeature</a> </li> <li data-name="ol.source.VectorEvent#event:clear" class="unstable"> <a href="ol.source.VectorEvent.html#event:clear">clear</a> </li> <li data-name="ol.source.VectorEvent#event:removefeature" class=""> <a href="ol.source.VectorEvent.html#event:removefeature">removefeature</a> </li> </ul> </li> <li class="item" data-name="ol.source.IGC"> <span class="title"> <a href="ol.source.IGC.html">ol.source.IGC</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.IGC#addFeature" class=""> <a href="ol.source.IGC.html#addFeature">addFeature</a> </li> <li data-name="ol.source.IGC#addFeatures" class=""> <a href="ol.source.IGC.html#addFeatures">addFeatures</a> </li> <li data-name="ol.source.IGC#changed" class="unstable"> <a href="ol.source.IGC.html#changed">changed</a> </li> <li data-name="ol.source.IGC#clear" class=""> <a href="ol.source.IGC.html#clear">clear</a> </li> <li data-name="ol.source.IGC#forEachFeature" class=""> <a href="ol.source.IGC.html#forEachFeature">forEachFeature</a> </li> <li data-name="ol.source.IGC#<API key>" class="unstable"> <a href="ol.source.IGC.html#<API key>"><API key></a> </li> <li data-name="ol.source.IGC#<API key>" class="unstable"> <a href="ol.source.IGC.html#<API key>"><API key></a> </li> <li data-name="ol.source.IGC#getAttributions" class=""> <a href="ol.source.IGC.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.IGC#<API key>" class=""> <a href="ol.source.IGC.html#<API key>"><API key></a> </li> <li data-name="ol.source.IGC#getExtent" class=""> <a href="ol.source.IGC.html#getExtent">getExtent</a> </li> <li data-name="ol.source.IGC#getFeatureById" class=""> <a href="ol.source.IGC.html#getFeatureById">getFeatureById</a> </li> <li data-name="ol.source.IGC#getFeatures" class=""> <a href="ol.source.IGC.html#getFeatures">getFeatures</a> </li> <li data-name="ol.source.IGC#<API key>" class=""> <a href="ol.source.IGC.html#<API key>"><API key></a> </li> <li data-name="ol.source.IGC#getLogo" class=""> <a href="ol.source.IGC.html#getLogo">getLogo</a> </li> <li data-name="ol.source.IGC#getProjection" class="unstable"> <a href="ol.source.IGC.html#getProjection">getProjection</a> </li> <li data-name="ol.source.IGC#getRevision" class="unstable"> <a href="ol.source.IGC.html#getRevision">getRevision</a> </li> <li data-name="ol.source.IGC#getState" class="unstable"> <a href="ol.source.IGC.html#getState">getState</a> </li> <li data-name="ol.source.IGC#on" class=""> <a href="ol.source.IGC.html#on">on</a> </li> <li data-name="ol.source.IGC#once" class=""> <a href="ol.source.IGC.html#once">once</a> </li> <li data-name="ol.source.IGC#readFeatures" class="unstable"> <a href="ol.source.IGC.html#readFeatures">readFeatures</a> </li> <li data-name="ol.source.IGC#removeFeature" class=""> <a href="ol.source.IGC.html#removeFeature">removeFeature</a> </li> <li data-name="ol.source.IGC#un" class=""> <a href="ol.source.IGC.html#un">un</a> </li> <li data-name="ol.source.IGC#unByKey" class=""> <a href="ol.source.IGC.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.source.VectorEvent#event:addfeature" class=""> <a href="ol.source.VectorEvent.html#event:addfeature">addfeature</a> </li> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.source.VectorEvent#event:changefeature" class="unstable"> <a href="ol.source.VectorEvent.html#event:changefeature">changefeature</a> </li> <li data-name="ol.source.VectorEvent#event:clear" class="unstable"> <a href="ol.source.VectorEvent.html#event:clear">clear</a> </li> <li data-name="ol.source.VectorEvent#event:removefeature" class=""> <a href="ol.source.VectorEvent.html#event:removefeature">removefeature</a> </li> </ul> </li> <li class="item" data-name="ol.source.Image"> <span class="title"> <a href="ol.source.Image.html">ol.source.Image</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.Image#changed" class="unstable"> <a href="ol.source.Image.html#changed">changed</a> </li> <li data-name="ol.source.Image#getAttributions" class=""> <a href="ol.source.Image.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.Image#getLogo" class=""> <a href="ol.source.Image.html#getLogo">getLogo</a> </li> <li data-name="ol.source.Image#getProjection" class="unstable"> <a href="ol.source.Image.html#getProjection">getProjection</a> </li> <li data-name="ol.source.Image#getRevision" class="unstable"> <a href="ol.source.Image.html#getRevision">getRevision</a> </li> <li data-name="ol.source.Image#getState" class="unstable"> <a href="ol.source.Image.html#getState">getState</a> </li> <li data-name="ol.source.Image#on" class=""> <a href="ol.source.Image.html#on">on</a> </li> <li data-name="ol.source.Image#once" class=""> <a href="ol.source.Image.html#once">once</a> </li> <li data-name="ol.source.Image#un" class=""> <a href="ol.source.Image.html#un">un</a> </li> <li data-name="ol.source.Image#unByKey" class=""> <a href="ol.source.Image.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.ImageCanvas"> <span class="title"> <a href="ol.source.ImageCanvas.html">ol.source.ImageCanvas</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.ImageCanvas#changed" class="unstable"> <a href="ol.source.ImageCanvas.html#changed">changed</a> </li> <li data-name="ol.source.ImageCanvas#getAttributions" class=""> <a href="ol.source.ImageCanvas.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.ImageCanvas#getLogo" class=""> <a href="ol.source.ImageCanvas.html#getLogo">getLogo</a> </li> <li data-name="ol.source.ImageCanvas#getProjection" class="unstable"> <a href="ol.source.ImageCanvas.html#getProjection">getProjection</a> </li> <li data-name="ol.source.ImageCanvas#getRevision" class="unstable"> <a href="ol.source.ImageCanvas.html#getRevision">getRevision</a> </li> <li data-name="ol.source.ImageCanvas#getState" class="unstable"> <a href="ol.source.ImageCanvas.html#getState">getState</a> </li> <li data-name="ol.source.ImageCanvas#on" class=""> <a href="ol.source.ImageCanvas.html#on">on</a> </li> <li data-name="ol.source.ImageCanvas#once" class=""> <a href="ol.source.ImageCanvas.html#once">once</a> </li> <li data-name="ol.source.ImageCanvas#un" class=""> <a href="ol.source.ImageCanvas.html#un">un</a> </li> <li data-name="ol.source.ImageCanvas#unByKey" class=""> <a href="ol.source.ImageCanvas.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.ImageMapGuide"> <span class="title"> <a href="ol.source.ImageMapGuide.html">ol.source.ImageMapGuide</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.ImageMapGuide#changed" class="unstable"> <a href="ol.source.ImageMapGuide.html#changed">changed</a> </li> <li data-name="ol.source.ImageMapGuide#getAttributions" class=""> <a href="ol.source.ImageMapGuide.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.ImageMapGuide#getLogo" class=""> <a href="ol.source.ImageMapGuide.html#getLogo">getLogo</a> </li> <li data-name="ol.source.ImageMapGuide#getParams" class=""> <a href="ol.source.ImageMapGuide.html#getParams">getParams</a> </li> <li data-name="ol.source.ImageMapGuide#getProjection" class="unstable"> <a href="ol.source.ImageMapGuide.html#getProjection">getProjection</a> </li> <li data-name="ol.source.ImageMapGuide#getRevision" class="unstable"> <a href="ol.source.ImageMapGuide.html#getRevision">getRevision</a> </li> <li data-name="ol.source.ImageMapGuide#getState" class="unstable"> <a href="ol.source.ImageMapGuide.html#getState">getState</a> </li> <li data-name="ol.source.ImageMapGuide#on" class=""> <a href="ol.source.ImageMapGuide.html#on">on</a> </li> <li data-name="ol.source.ImageMapGuide#once" class=""> <a href="ol.source.ImageMapGuide.html#once">once</a> </li> <li data-name="ol.source.ImageMapGuide#un" class=""> <a href="ol.source.ImageMapGuide.html#un">un</a> </li> <li data-name="ol.source.ImageMapGuide#unByKey" class=""> <a href="ol.source.ImageMapGuide.html#unByKey">unByKey</a> </li> <li data-name="ol.source.ImageMapGuide#updateParams" class=""> <a href="ol.source.ImageMapGuide.html#updateParams">updateParams</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.ImageStatic"> <span class="title"> <a href="ol.source.ImageStatic.html">ol.source.ImageStatic</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.ImageStatic#changed" class="unstable"> <a href="ol.source.ImageStatic.html#changed">changed</a> </li> <li data-name="ol.source.ImageStatic#getAttributions" class=""> <a href="ol.source.ImageStatic.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.ImageStatic#getLogo" class=""> <a href="ol.source.ImageStatic.html#getLogo">getLogo</a> </li> <li data-name="ol.source.ImageStatic#getProjection" class="unstable"> <a href="ol.source.ImageStatic.html#getProjection">getProjection</a> </li> <li data-name="ol.source.ImageStatic#getRevision" class="unstable"> <a href="ol.source.ImageStatic.html#getRevision">getRevision</a> </li> <li data-name="ol.source.ImageStatic#getState" class="unstable"> <a href="ol.source.ImageStatic.html#getState">getState</a> </li> <li data-name="ol.source.ImageStatic#on" class=""> <a href="ol.source.ImageStatic.html#on">on</a> </li> <li data-name="ol.source.ImageStatic#once" class=""> <a href="ol.source.ImageStatic.html#once">once</a> </li> <li data-name="ol.source.ImageStatic#un" class=""> <a href="ol.source.ImageStatic.html#un">un</a> </li> <li data-name="ol.source.ImageStatic#unByKey" class=""> <a href="ol.source.ImageStatic.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.ImageVector"> <span class="title"> <a href="ol.source.ImageVector.html">ol.source.ImageVector</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.ImageVector#changed" class="unstable"> <a href="ol.source.ImageVector.html#changed">changed</a> </li> <li data-name="ol.source.ImageVector#getAttributions" class=""> <a href="ol.source.ImageVector.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.ImageVector#getLogo" class=""> <a href="ol.source.ImageVector.html#getLogo">getLogo</a> </li> <li data-name="ol.source.ImageVector#getProjection" class="unstable"> <a href="ol.source.ImageVector.html#getProjection">getProjection</a> </li> <li data-name="ol.source.ImageVector#getRevision" class="unstable"> <a href="ol.source.ImageVector.html#getRevision">getRevision</a> </li> <li data-name="ol.source.ImageVector#getSource" class="unstable"> <a href="ol.source.ImageVector.html#getSource">getSource</a> </li> <li data-name="ol.source.ImageVector#getState" class="unstable"> <a href="ol.source.ImageVector.html#getState">getState</a> </li> <li data-name="ol.source.ImageVector#getStyle" class=""> <a href="ol.source.ImageVector.html#getStyle">getStyle</a> </li> <li data-name="ol.source.ImageVector#getStyleFunction" class=""> <a href="ol.source.ImageVector.html#getStyleFunction">getStyleFunction</a> </li> <li data-name="ol.source.ImageVector#on" class=""> <a href="ol.source.ImageVector.html#on">on</a> </li> <li data-name="ol.source.ImageVector#once" class=""> <a href="ol.source.ImageVector.html#once">once</a> </li> <li data-name="ol.source.ImageVector#setStyle" class=""> <a href="ol.source.ImageVector.html#setStyle">setStyle</a> </li> <li data-name="ol.source.ImageVector#un" class=""> <a href="ol.source.ImageVector.html#un">un</a> </li> <li data-name="ol.source.ImageVector#unByKey" class=""> <a href="ol.source.ImageVector.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.ImageWMS"> <span class="title"> <a href="ol.source.ImageWMS.html">ol.source.ImageWMS</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.ImageWMS#changed" class="unstable"> <a href="ol.source.ImageWMS.html#changed">changed</a> </li> <li data-name="ol.source.ImageWMS#getAttributions" class=""> <a href="ol.source.ImageWMS.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.ImageWMS#<API key>" class=""> <a href="ol.source.ImageWMS.html#<API key>"><API key></a> </li> <li data-name="ol.source.ImageWMS#getLogo" class=""> <a href="ol.source.ImageWMS.html#getLogo">getLogo</a> </li> <li data-name="ol.source.ImageWMS#getParams" class=""> <a href="ol.source.ImageWMS.html#getParams">getParams</a> </li> <li data-name="ol.source.ImageWMS#getProjection" class="unstable"> <a href="ol.source.ImageWMS.html#getProjection">getProjection</a> </li> <li data-name="ol.source.ImageWMS#getRevision" class="unstable"> <a href="ol.source.ImageWMS.html#getRevision">getRevision</a> </li> <li data-name="ol.source.ImageWMS#getState" class="unstable"> <a href="ol.source.ImageWMS.html#getState">getState</a> </li> <li data-name="ol.source.ImageWMS#getUrl" class=""> <a href="ol.source.ImageWMS.html#getUrl">getUrl</a> </li> <li data-name="ol.source.ImageWMS#on" class=""> <a href="ol.source.ImageWMS.html#on">on</a> </li> <li data-name="ol.source.ImageWMS#once" class=""> <a href="ol.source.ImageWMS.html#once">once</a> </li> <li data-name="ol.source.ImageWMS#setUrl" class=""> <a href="ol.source.ImageWMS.html#setUrl">setUrl</a> </li> <li data-name="ol.source.ImageWMS#un" class=""> <a href="ol.source.ImageWMS.html#un">un</a> </li> <li data-name="ol.source.ImageWMS#unByKey" class=""> <a href="ol.source.ImageWMS.html#unByKey">unByKey</a> </li> <li data-name="ol.source.ImageWMS#updateParams" class=""> <a href="ol.source.ImageWMS.html#updateParams">updateParams</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.KML"> <span class="title"> <a href="ol.source.KML.html">ol.source.KML</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.KML#addFeature" class=""> <a href="ol.source.KML.html#addFeature">addFeature</a> </li> <li data-name="ol.source.KML#addFeatures" class=""> <a href="ol.source.KML.html#addFeatures">addFeatures</a> </li> <li data-name="ol.source.KML#changed" class="unstable"> <a href="ol.source.KML.html#changed">changed</a> </li> <li data-name="ol.source.KML#clear" class=""> <a href="ol.source.KML.html#clear">clear</a> </li> <li data-name="ol.source.KML#forEachFeature" class=""> <a href="ol.source.KML.html#forEachFeature">forEachFeature</a> </li> <li data-name="ol.source.KML#<API key>" class="unstable"> <a href="ol.source.KML.html#<API key>"><API key></a> </li> <li data-name="ol.source.KML#<API key>" class="unstable"> <a href="ol.source.KML.html#<API key>"><API key></a> </li> <li data-name="ol.source.KML#getAttributions" class=""> <a href="ol.source.KML.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.KML#<API key>" class=""> <a href="ol.source.KML.html#<API key>"><API key></a> </li> <li data-name="ol.source.KML#getExtent" class=""> <a href="ol.source.KML.html#getExtent">getExtent</a> </li> <li data-name="ol.source.KML#getFeatureById" class=""> <a href="ol.source.KML.html#getFeatureById">getFeatureById</a> </li> <li data-name="ol.source.KML#getFeatures" class=""> <a href="ol.source.KML.html#getFeatures">getFeatures</a> </li> <li data-name="ol.source.KML#<API key>" class=""> <a href="ol.source.KML.html#<API key>"><API key></a> </li> <li data-name="ol.source.KML#getLogo" class=""> <a href="ol.source.KML.html#getLogo">getLogo</a> </li> <li data-name="ol.source.KML#getProjection" class="unstable"> <a href="ol.source.KML.html#getProjection">getProjection</a> </li> <li data-name="ol.source.KML#getRevision" class="unstable"> <a href="ol.source.KML.html#getRevision">getRevision</a> </li> <li data-name="ol.source.KML#getState" class="unstable"> <a href="ol.source.KML.html#getState">getState</a> </li> <li data-name="ol.source.KML#on" class=""> <a href="ol.source.KML.html#on">on</a> </li> <li data-name="ol.source.KML#once" class=""> <a href="ol.source.KML.html#once">once</a> </li> <li data-name="ol.source.KML#readFeatures" class="unstable"> <a href="ol.source.KML.html#readFeatures">readFeatures</a> </li> <li data-name="ol.source.KML#removeFeature" class=""> <a href="ol.source.KML.html#removeFeature">removeFeature</a> </li> <li data-name="ol.source.KML#un" class=""> <a href="ol.source.KML.html#un">un</a> </li> <li data-name="ol.source.KML#unByKey" class=""> <a href="ol.source.KML.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.source.VectorEvent#event:addfeature" class=""> <a href="ol.source.VectorEvent.html#event:addfeature">addfeature</a> </li> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.source.VectorEvent#event:changefeature" class="unstable"> <a href="ol.source.VectorEvent.html#event:changefeature">changefeature</a> </li> <li data-name="ol.source.VectorEvent#event:clear" class="unstable"> <a href="ol.source.VectorEvent.html#event:clear">clear</a> </li> <li data-name="ol.source.VectorEvent#event:removefeature" class=""> <a href="ol.source.VectorEvent.html#event:removefeature">removefeature</a> </li> </ul> </li> <li class="item" data-name="ol.source.MapQuest"> <span class="title"> <a href="ol.source.MapQuest.html">ol.source.MapQuest</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.MapQuest#changed" class="unstable"> <a href="ol.source.MapQuest.html#changed">changed</a> </li> <li data-name="ol.source.MapQuest#getAttributions" class=""> <a href="ol.source.MapQuest.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.MapQuest#getLogo" class=""> <a href="ol.source.MapQuest.html#getLogo">getLogo</a> </li> <li data-name="ol.source.MapQuest#getProjection" class="unstable"> <a href="ol.source.MapQuest.html#getProjection">getProjection</a> </li> <li data-name="ol.source.MapQuest#getRevision" class="unstable"> <a href="ol.source.MapQuest.html#getRevision">getRevision</a> </li> <li data-name="ol.source.MapQuest#getState" class="unstable"> <a href="ol.source.MapQuest.html#getState">getState</a> </li> <li data-name="ol.source.MapQuest#getTileGrid" class=""> <a href="ol.source.MapQuest.html#getTileGrid">getTileGrid</a> </li> <li data-name="ol.source.MapQuest#getTileLoadFunction" class="unstable"> <a href="ol.source.MapQuest.html#getTileLoadFunction">getTileLoadFunction</a> </li> <li data-name="ol.source.MapQuest#getTileUrlFunction" class="unstable"> <a href="ol.source.MapQuest.html#getTileUrlFunction">getTileUrlFunction</a> </li> <li data-name="ol.source.MapQuest#on" class=""> <a href="ol.source.MapQuest.html#on">on</a> </li> <li data-name="ol.source.MapQuest#once" class=""> <a href="ol.source.MapQuest.html#once">once</a> </li> <li data-name="ol.source.MapQuest#setTileLoadFunction" class="unstable"> <a href="ol.source.MapQuest.html#setTileLoadFunction">setTileLoadFunction</a> </li> <li data-name="ol.source.MapQuest#setTileUrlFunction" class="unstable"> <a href="ol.source.MapQuest.html#setTileUrlFunction">setTileUrlFunction</a> </li> <li data-name="ol.source.MapQuest#setUrl" class=""> <a href="ol.source.MapQuest.html#setUrl">setUrl</a> </li> <li data-name="ol.source.MapQuest#un" class=""> <a href="ol.source.MapQuest.html#un">un</a> </li> <li data-name="ol.source.MapQuest#unByKey" class=""> <a href="ol.source.MapQuest.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.OSM"> <span class="title"> <a href="ol.source.OSM.html">ol.source.OSM</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.source.OSM.ATTRIBUTION"><a href="ol.source.OSM.html#ATTRIBUTION">ATTRIBUTION</a></li> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.OSM#changed" class="unstable"> <a href="ol.source.OSM.html#changed">changed</a> </li> <li data-name="ol.source.OSM#getAttributions" class=""> <a href="ol.source.OSM.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.OSM#getLogo" class=""> <a href="ol.source.OSM.html#getLogo">getLogo</a> </li> <li data-name="ol.source.OSM#getProjection" class="unstable"> <a href="ol.source.OSM.html#getProjection">getProjection</a> </li> <li data-name="ol.source.OSM#getRevision" class="unstable"> <a href="ol.source.OSM.html#getRevision">getRevision</a> </li> <li data-name="ol.source.OSM#getState" class="unstable"> <a href="ol.source.OSM.html#getState">getState</a> </li> <li data-name="ol.source.OSM#getTileGrid" class=""> <a href="ol.source.OSM.html#getTileGrid">getTileGrid</a> </li> <li data-name="ol.source.OSM#getTileLoadFunction" class="unstable"> <a href="ol.source.OSM.html#getTileLoadFunction">getTileLoadFunction</a> </li> <li data-name="ol.source.OSM#getTileUrlFunction" class="unstable"> <a href="ol.source.OSM.html#getTileUrlFunction">getTileUrlFunction</a> </li> <li data-name="ol.source.OSM#on" class=""> <a href="ol.source.OSM.html#on">on</a> </li> <li data-name="ol.source.OSM#once" class=""> <a href="ol.source.OSM.html#once">once</a> </li> <li data-name="ol.source.OSM#setTileLoadFunction" class="unstable"> <a href="ol.source.OSM.html#setTileLoadFunction">setTileLoadFunction</a> </li> <li data-name="ol.source.OSM#setTileUrlFunction" class="unstable"> <a href="ol.source.OSM.html#setTileUrlFunction">setTileUrlFunction</a> </li> <li data-name="ol.source.OSM#setUrl" class=""> <a href="ol.source.OSM.html#setUrl">setUrl</a> </li> <li data-name="ol.source.OSM#un" class=""> <a href="ol.source.OSM.html#un">un</a> </li> <li data-name="ol.source.OSM#unByKey" class=""> <a href="ol.source.OSM.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.OSMXML"> <span class="title"> <a href="ol.source.OSMXML.html">ol.source.OSMXML</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.OSMXML#addFeature" class=""> <a href="ol.source.OSMXML.html#addFeature">addFeature</a> </li> <li data-name="ol.source.OSMXML#addFeatures" class=""> <a href="ol.source.OSMXML.html#addFeatures">addFeatures</a> </li> <li data-name="ol.source.OSMXML#changed" class="unstable"> <a href="ol.source.OSMXML.html#changed">changed</a> </li> <li data-name="ol.source.OSMXML#clear" class=""> <a href="ol.source.OSMXML.html#clear">clear</a> </li> <li data-name="ol.source.OSMXML#forEachFeature" class=""> <a href="ol.source.OSMXML.html#forEachFeature">forEachFeature</a> </li> <li data-name="ol.source.OSMXML#<API key>" class="unstable"> <a href="ol.source.OSMXML.html#<API key>"><API key></a> </li> <li data-name="ol.source.OSMXML#<API key>" class="unstable"> <a href="ol.source.OSMXML.html#<API key>"><API key></a> </li> <li data-name="ol.source.OSMXML#getAttributions" class=""> <a href="ol.source.OSMXML.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.OSMXML#<API key>" class=""> <a href="ol.source.OSMXML.html#<API key>"><API key></a> </li> <li data-name="ol.source.OSMXML#getExtent" class=""> <a href="ol.source.OSMXML.html#getExtent">getExtent</a> </li> <li data-name="ol.source.OSMXML#getFeatureById" class=""> <a href="ol.source.OSMXML.html#getFeatureById">getFeatureById</a> </li> <li data-name="ol.source.OSMXML#getFeatures" class=""> <a href="ol.source.OSMXML.html#getFeatures">getFeatures</a> </li> <li data-name="ol.source.OSMXML#<API key>" class=""> <a href="ol.source.OSMXML.html#<API key>"><API key></a> </li> <li data-name="ol.source.OSMXML#getLogo" class=""> <a href="ol.source.OSMXML.html#getLogo">getLogo</a> </li> <li data-name="ol.source.OSMXML#getProjection" class="unstable"> <a href="ol.source.OSMXML.html#getProjection">getProjection</a> </li> <li data-name="ol.source.OSMXML#getRevision" class="unstable"> <a href="ol.source.OSMXML.html#getRevision">getRevision</a> </li> <li data-name="ol.source.OSMXML#getState" class="unstable"> <a href="ol.source.OSMXML.html#getState">getState</a> </li> <li data-name="ol.source.OSMXML#on" class=""> <a href="ol.source.OSMXML.html#on">on</a> </li> <li data-name="ol.source.OSMXML#once" class=""> <a href="ol.source.OSMXML.html#once">once</a> </li> <li data-name="ol.source.OSMXML#readFeatures" class="unstable"> <a href="ol.source.OSMXML.html#readFeatures">readFeatures</a> </li> <li data-name="ol.source.OSMXML#removeFeature" class=""> <a href="ol.source.OSMXML.html#removeFeature">removeFeature</a> </li> <li data-name="ol.source.OSMXML#un" class=""> <a href="ol.source.OSMXML.html#un">un</a> </li> <li data-name="ol.source.OSMXML#unByKey" class=""> <a href="ol.source.OSMXML.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.source.VectorEvent#event:addfeature" class=""> <a href="ol.source.VectorEvent.html#event:addfeature">addfeature</a> </li> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.source.VectorEvent#event:changefeature" class="unstable"> <a href="ol.source.VectorEvent.html#event:changefeature">changefeature</a> </li> <li data-name="ol.source.VectorEvent#event:clear" class="unstable"> <a href="ol.source.VectorEvent.html#event:clear">clear</a> </li> <li data-name="ol.source.VectorEvent#event:removefeature" class=""> <a href="ol.source.VectorEvent.html#event:removefeature">removefeature</a> </li> </ul> </li> <li class="item" data-name="ol.source.ServerVector"> <span class="title"> <a href="ol.source.ServerVector.html">ol.source.ServerVector</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.ServerVector#addFeature" class=""> <a href="ol.source.ServerVector.html#addFeature">addFeature</a> </li> <li data-name="ol.source.ServerVector#addFeatures" class=""> <a href="ol.source.ServerVector.html#addFeatures">addFeatures</a> </li> <li data-name="ol.source.ServerVector#changed" class="unstable"> <a href="ol.source.ServerVector.html#changed">changed</a> </li> <li data-name="ol.source.ServerVector#clear" class=""> <a href="ol.source.ServerVector.html#clear">clear</a> </li> <li data-name="ol.source.ServerVector#forEachFeature" class=""> <a href="ol.source.ServerVector.html#forEachFeature">forEachFeature</a> </li> <li data-name="ol.source.ServerVector#<API key>" class="unstable"> <a href="ol.source.ServerVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.ServerVector#<API key>" class="unstable"> <a href="ol.source.ServerVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.ServerVector#getAttributions" class=""> <a href="ol.source.ServerVector.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.ServerVector#<API key>" class=""> <a href="ol.source.ServerVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.ServerVector#getExtent" class=""> <a href="ol.source.ServerVector.html#getExtent">getExtent</a> </li> <li data-name="ol.source.ServerVector#getFeatureById" class=""> <a href="ol.source.ServerVector.html#getFeatureById">getFeatureById</a> </li> <li data-name="ol.source.ServerVector#getFeatures" class=""> <a href="ol.source.ServerVector.html#getFeatures">getFeatures</a> </li> <li data-name="ol.source.ServerVector#<API key>" class=""> <a href="ol.source.ServerVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.ServerVector#getLogo" class=""> <a href="ol.source.ServerVector.html#getLogo">getLogo</a> </li> <li data-name="ol.source.ServerVector#getProjection" class="unstable"> <a href="ol.source.ServerVector.html#getProjection">getProjection</a> </li> <li data-name="ol.source.ServerVector#getRevision" class="unstable"> <a href="ol.source.ServerVector.html#getRevision">getRevision</a> </li> <li data-name="ol.source.ServerVector#getState" class="unstable"> <a href="ol.source.ServerVector.html#getState">getState</a> </li> <li data-name="ol.source.ServerVector#on" class=""> <a href="ol.source.ServerVector.html#on">on</a> </li> <li data-name="ol.source.ServerVector#once" class=""> <a href="ol.source.ServerVector.html#once">once</a> </li> <li data-name="ol.source.ServerVector#readFeatures" class="unstable"> <a href="ol.source.ServerVector.html#readFeatures">readFeatures</a> </li> <li data-name="ol.source.ServerVector#removeFeature" class=""> <a href="ol.source.ServerVector.html#removeFeature">removeFeature</a> </li> <li data-name="ol.source.ServerVector#un" class=""> <a href="ol.source.ServerVector.html#un">un</a> </li> <li data-name="ol.source.ServerVector#unByKey" class=""> <a href="ol.source.ServerVector.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.source.VectorEvent#event:addfeature" class=""> <a href="ol.source.VectorEvent.html#event:addfeature">addfeature</a> </li> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.source.VectorEvent#event:changefeature" class="unstable"> <a href="ol.source.VectorEvent.html#event:changefeature">changefeature</a> </li> <li data-name="ol.source.VectorEvent#event:clear" class="unstable"> <a href="ol.source.VectorEvent.html#event:clear">clear</a> </li> <li data-name="ol.source.VectorEvent#event:removefeature" class=""> <a href="ol.source.VectorEvent.html#event:removefeature">removefeature</a> </li> </ul> </li> <li class="item" data-name="ol.source.Source"> <span class="title"> <a href="ol.source.Source.html">ol.source.Source</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.Source#changed" class="unstable"> <a href="ol.source.Source.html#changed">changed</a> </li> <li data-name="ol.source.Source#getAttributions" class=""> <a href="ol.source.Source.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.Source#getLogo" class=""> <a href="ol.source.Source.html#getLogo">getLogo</a> </li> <li data-name="ol.source.Source#getProjection" class="unstable"> <a href="ol.source.Source.html#getProjection">getProjection</a> </li> <li data-name="ol.source.Source#getRevision" class="unstable"> <a href="ol.source.Source.html#getRevision">getRevision</a> </li> <li data-name="ol.source.Source#getState" class="unstable"> <a href="ol.source.Source.html#getState">getState</a> </li> <li data-name="ol.source.Source#on" class=""> <a href="ol.source.Source.html#on">on</a> </li> <li data-name="ol.source.Source#once" class=""> <a href="ol.source.Source.html#once">once</a> </li> <li data-name="ol.source.Source#un" class=""> <a href="ol.source.Source.html#un">un</a> </li> <li data-name="ol.source.Source#unByKey" class=""> <a href="ol.source.Source.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.Stamen"> <span class="title"> <a href="ol.source.Stamen.html">ol.source.Stamen</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.Stamen#changed" class="unstable"> <a href="ol.source.Stamen.html#changed">changed</a> </li> <li data-name="ol.source.Stamen#getAttributions" class=""> <a href="ol.source.Stamen.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.Stamen#getLogo" class=""> <a href="ol.source.Stamen.html#getLogo">getLogo</a> </li> <li data-name="ol.source.Stamen#getProjection" class="unstable"> <a href="ol.source.Stamen.html#getProjection">getProjection</a> </li> <li data-name="ol.source.Stamen#getRevision" class="unstable"> <a href="ol.source.Stamen.html#getRevision">getRevision</a> </li> <li data-name="ol.source.Stamen#getState" class="unstable"> <a href="ol.source.Stamen.html#getState">getState</a> </li> <li data-name="ol.source.Stamen#getTileGrid" class=""> <a href="ol.source.Stamen.html#getTileGrid">getTileGrid</a> </li> <li data-name="ol.source.Stamen#getTileLoadFunction" class="unstable"> <a href="ol.source.Stamen.html#getTileLoadFunction">getTileLoadFunction</a> </li> <li data-name="ol.source.Stamen#getTileUrlFunction" class="unstable"> <a href="ol.source.Stamen.html#getTileUrlFunction">getTileUrlFunction</a> </li> <li data-name="ol.source.Stamen#on" class=""> <a href="ol.source.Stamen.html#on">on</a> </li> <li data-name="ol.source.Stamen#once" class=""> <a href="ol.source.Stamen.html#once">once</a> </li> <li data-name="ol.source.Stamen#setTileLoadFunction" class="unstable"> <a href="ol.source.Stamen.html#setTileLoadFunction">setTileLoadFunction</a> </li> <li data-name="ol.source.Stamen#setTileUrlFunction" class="unstable"> <a href="ol.source.Stamen.html#setTileUrlFunction">setTileUrlFunction</a> </li> <li data-name="ol.source.Stamen#setUrl" class=""> <a href="ol.source.Stamen.html#setUrl">setUrl</a> </li> <li data-name="ol.source.Stamen#un" class=""> <a href="ol.source.Stamen.html#un">un</a> </li> <li data-name="ol.source.Stamen#unByKey" class=""> <a href="ol.source.Stamen.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.StaticVector"> <span class="title"> <a href="ol.source.StaticVector.html">ol.source.StaticVector</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.StaticVector#addFeature" class=""> <a href="ol.source.StaticVector.html#addFeature">addFeature</a> </li> <li data-name="ol.source.StaticVector#addFeatures" class=""> <a href="ol.source.StaticVector.html#addFeatures">addFeatures</a> </li> <li data-name="ol.source.StaticVector#changed" class="unstable"> <a href="ol.source.StaticVector.html#changed">changed</a> </li> <li data-name="ol.source.StaticVector#clear" class=""> <a href="ol.source.StaticVector.html#clear">clear</a> </li> <li data-name="ol.source.StaticVector#forEachFeature" class=""> <a href="ol.source.StaticVector.html#forEachFeature">forEachFeature</a> </li> <li data-name="ol.source.StaticVector#<API key>" class="unstable"> <a href="ol.source.StaticVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.StaticVector#<API key>" class="unstable"> <a href="ol.source.StaticVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.StaticVector#getAttributions" class=""> <a href="ol.source.StaticVector.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.StaticVector#<API key>" class=""> <a href="ol.source.StaticVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.StaticVector#getExtent" class=""> <a href="ol.source.StaticVector.html#getExtent">getExtent</a> </li> <li data-name="ol.source.StaticVector#getFeatureById" class=""> <a href="ol.source.StaticVector.html#getFeatureById">getFeatureById</a> </li> <li data-name="ol.source.StaticVector#getFeatures" class=""> <a href="ol.source.StaticVector.html#getFeatures">getFeatures</a> </li> <li data-name="ol.source.StaticVector#<API key>" class=""> <a href="ol.source.StaticVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.StaticVector#getLogo" class=""> <a href="ol.source.StaticVector.html#getLogo">getLogo</a> </li> <li data-name="ol.source.StaticVector#getProjection" class="unstable"> <a href="ol.source.StaticVector.html#getProjection">getProjection</a> </li> <li data-name="ol.source.StaticVector#getRevision" class="unstable"> <a href="ol.source.StaticVector.html#getRevision">getRevision</a> </li> <li data-name="ol.source.StaticVector#getState" class="unstable"> <a href="ol.source.StaticVector.html#getState">getState</a> </li> <li data-name="ol.source.StaticVector#on" class=""> <a href="ol.source.StaticVector.html#on">on</a> </li> <li data-name="ol.source.StaticVector#once" class=""> <a href="ol.source.StaticVector.html#once">once</a> </li> <li data-name="ol.source.StaticVector#readFeatures" class="unstable"> <a href="ol.source.StaticVector.html#readFeatures">readFeatures</a> </li> <li data-name="ol.source.StaticVector#removeFeature" class=""> <a href="ol.source.StaticVector.html#removeFeature">removeFeature</a> </li> <li data-name="ol.source.StaticVector#un" class=""> <a href="ol.source.StaticVector.html#un">un</a> </li> <li data-name="ol.source.StaticVector#unByKey" class=""> <a href="ol.source.StaticVector.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.source.VectorEvent#event:addfeature" class=""> <a href="ol.source.VectorEvent.html#event:addfeature">addfeature</a> </li> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.source.VectorEvent#event:changefeature" class="unstable"> <a href="ol.source.VectorEvent.html#event:changefeature">changefeature</a> </li> <li data-name="ol.source.VectorEvent#event:clear" class="unstable"> <a href="ol.source.VectorEvent.html#event:clear">clear</a> </li> <li data-name="ol.source.VectorEvent#event:removefeature" class=""> <a href="ol.source.VectorEvent.html#event:removefeature">removefeature</a> </li> </ul> </li> <li class="item" data-name="ol.source.Tile"> <span class="title"> <a href="ol.source.Tile.html">ol.source.Tile</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.Tile#changed" class="unstable"> <a href="ol.source.Tile.html#changed">changed</a> </li> <li data-name="ol.source.Tile#getAttributions" class=""> <a href="ol.source.Tile.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.Tile#getLogo" class=""> <a href="ol.source.Tile.html#getLogo">getLogo</a> </li> <li data-name="ol.source.Tile#getProjection" class="unstable"> <a href="ol.source.Tile.html#getProjection">getProjection</a> </li> <li data-name="ol.source.Tile#getRevision" class="unstable"> <a href="ol.source.Tile.html#getRevision">getRevision</a> </li> <li data-name="ol.source.Tile#getState" class="unstable"> <a href="ol.source.Tile.html#getState">getState</a> </li> <li data-name="ol.source.Tile#getTileGrid" class=""> <a href="ol.source.Tile.html#getTileGrid">getTileGrid</a> </li> <li data-name="ol.source.Tile#on" class=""> <a href="ol.source.Tile.html#on">on</a> </li> <li data-name="ol.source.Tile#once" class=""> <a href="ol.source.Tile.html#once">once</a> </li> <li data-name="ol.source.Tile#un" class=""> <a href="ol.source.Tile.html#un">un</a> </li> <li data-name="ol.source.Tile#unByKey" class=""> <a href="ol.source.Tile.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.TileDebug"> <span class="title"> <a href="ol.source.TileDebug.html">ol.source.TileDebug</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.TileDebug#changed" class="unstable"> <a href="ol.source.TileDebug.html#changed">changed</a> </li> <li data-name="ol.source.TileDebug#getAttributions" class=""> <a href="ol.source.TileDebug.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.TileDebug#getLogo" class=""> <a href="ol.source.TileDebug.html#getLogo">getLogo</a> </li> <li data-name="ol.source.TileDebug#getProjection" class="unstable"> <a href="ol.source.TileDebug.html#getProjection">getProjection</a> </li> <li data-name="ol.source.TileDebug#getRevision" class="unstable"> <a href="ol.source.TileDebug.html#getRevision">getRevision</a> </li> <li data-name="ol.source.TileDebug#getState" class="unstable"> <a href="ol.source.TileDebug.html#getState">getState</a> </li> <li data-name="ol.source.TileDebug#getTileGrid" class=""> <a href="ol.source.TileDebug.html#getTileGrid">getTileGrid</a> </li> <li data-name="ol.source.TileDebug#on" class=""> <a href="ol.source.TileDebug.html#on">on</a> </li> <li data-name="ol.source.TileDebug#once" class=""> <a href="ol.source.TileDebug.html#once">once</a> </li> <li data-name="ol.source.TileDebug#un" class=""> <a href="ol.source.TileDebug.html#un">un</a> </li> <li data-name="ol.source.TileDebug#unByKey" class=""> <a href="ol.source.TileDebug.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.TileImage"> <span class="title"> <a href="ol.source.TileImage.html">ol.source.TileImage</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.TileImage#changed" class="unstable"> <a href="ol.source.TileImage.html#changed">changed</a> </li> <li data-name="ol.source.TileImage#getAttributions" class=""> <a href="ol.source.TileImage.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.TileImage#getLogo" class=""> <a href="ol.source.TileImage.html#getLogo">getLogo</a> </li> <li data-name="ol.source.TileImage#getProjection" class="unstable"> <a href="ol.source.TileImage.html#getProjection">getProjection</a> </li> <li data-name="ol.source.TileImage#getRevision" class="unstable"> <a href="ol.source.TileImage.html#getRevision">getRevision</a> </li> <li data-name="ol.source.TileImage#getState" class="unstable"> <a href="ol.source.TileImage.html#getState">getState</a> </li> <li data-name="ol.source.TileImage#getTileGrid" class=""> <a href="ol.source.TileImage.html#getTileGrid">getTileGrid</a> </li> <li data-name="ol.source.TileImage#getTileLoadFunction" class="unstable"> <a href="ol.source.TileImage.html#getTileLoadFunction">getTileLoadFunction</a> </li> <li data-name="ol.source.TileImage#getTileUrlFunction" class="unstable"> <a href="ol.source.TileImage.html#getTileUrlFunction">getTileUrlFunction</a> </li> <li data-name="ol.source.TileImage#on" class=""> <a href="ol.source.TileImage.html#on">on</a> </li> <li data-name="ol.source.TileImage#once" class=""> <a href="ol.source.TileImage.html#once">once</a> </li> <li data-name="ol.source.TileImage#setTileLoadFunction" class="unstable"> <a href="ol.source.TileImage.html#setTileLoadFunction">setTileLoadFunction</a> </li> <li data-name="ol.source.TileImage#setTileUrlFunction" class="unstable"> <a href="ol.source.TileImage.html#setTileUrlFunction">setTileUrlFunction</a> </li> <li data-name="ol.source.TileImage#un" class=""> <a href="ol.source.TileImage.html#un">un</a> </li> <li data-name="ol.source.TileImage#unByKey" class=""> <a href="ol.source.TileImage.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.TileJSON"> <span class="title"> <a href="ol.source.TileJSON.html">ol.source.TileJSON</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.TileJSON#changed" class="unstable"> <a href="ol.source.TileJSON.html#changed">changed</a> </li> <li data-name="ol.source.TileJSON#getAttributions" class=""> <a href="ol.source.TileJSON.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.TileJSON#getLogo" class=""> <a href="ol.source.TileJSON.html#getLogo">getLogo</a> </li> <li data-name="ol.source.TileJSON#getProjection" class="unstable"> <a href="ol.source.TileJSON.html#getProjection">getProjection</a> </li> <li data-name="ol.source.TileJSON#getRevision" class="unstable"> <a href="ol.source.TileJSON.html#getRevision">getRevision</a> </li> <li data-name="ol.source.TileJSON#getState" class="unstable"> <a href="ol.source.TileJSON.html#getState">getState</a> </li> <li data-name="ol.source.TileJSON#getTileGrid" class=""> <a href="ol.source.TileJSON.html#getTileGrid">getTileGrid</a> </li> <li data-name="ol.source.TileJSON#getTileLoadFunction" class="unstable"> <a href="ol.source.TileJSON.html#getTileLoadFunction">getTileLoadFunction</a> </li> <li data-name="ol.source.TileJSON#getTileUrlFunction" class="unstable"> <a href="ol.source.TileJSON.html#getTileUrlFunction">getTileUrlFunction</a> </li> <li data-name="ol.source.TileJSON#on" class=""> <a href="ol.source.TileJSON.html#on">on</a> </li> <li data-name="ol.source.TileJSON#once" class=""> <a href="ol.source.TileJSON.html#once">once</a> </li> <li data-name="ol.source.TileJSON#setTileLoadFunction" class="unstable"> <a href="ol.source.TileJSON.html#setTileLoadFunction">setTileLoadFunction</a> </li> <li data-name="ol.source.TileJSON#setTileUrlFunction" class="unstable"> <a href="ol.source.TileJSON.html#setTileUrlFunction">setTileUrlFunction</a> </li> <li data-name="ol.source.TileJSON#un" class=""> <a href="ol.source.TileJSON.html#un">un</a> </li> <li data-name="ol.source.TileJSON#unByKey" class=""> <a href="ol.source.TileJSON.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.TileUTFGrid"> <span class="title"> <a href="ol.source.TileUTFGrid.html">ol.source.TileUTFGrid</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.TileUTFGrid#changed" class="unstable"> <a href="ol.source.TileUTFGrid.html#changed">changed</a> </li> <li data-name="ol.source.TileUTFGrid#<API key>" class="unstable"> <a href="ol.source.TileUTFGrid.html#<API key>"><API key></a> </li> <li data-name="ol.source.TileUTFGrid#getAttributions" class=""> <a href="ol.source.TileUTFGrid.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.TileUTFGrid#getLogo" class=""> <a href="ol.source.TileUTFGrid.html#getLogo">getLogo</a> </li> <li data-name="ol.source.TileUTFGrid#getProjection" class="unstable"> <a href="ol.source.TileUTFGrid.html#getProjection">getProjection</a> </li> <li data-name="ol.source.TileUTFGrid#getRevision" class="unstable"> <a href="ol.source.TileUTFGrid.html#getRevision">getRevision</a> </li> <li data-name="ol.source.TileUTFGrid#getState" class="unstable"> <a href="ol.source.TileUTFGrid.html#getState">getState</a> </li> <li data-name="ol.source.TileUTFGrid#getTemplate" class="unstable"> <a href="ol.source.TileUTFGrid.html#getTemplate">getTemplate</a> </li> <li data-name="ol.source.TileUTFGrid#getTileGrid" class=""> <a href="ol.source.TileUTFGrid.html#getTileGrid">getTileGrid</a> </li> <li data-name="ol.source.TileUTFGrid#on" class=""> <a href="ol.source.TileUTFGrid.html#on">on</a> </li> <li data-name="ol.source.TileUTFGrid#once" class=""> <a href="ol.source.TileUTFGrid.html#once">once</a> </li> <li data-name="ol.source.TileUTFGrid#un" class=""> <a href="ol.source.TileUTFGrid.html#un">un</a> </li> <li data-name="ol.source.TileUTFGrid#unByKey" class=""> <a href="ol.source.TileUTFGrid.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.TileVector"> <span class="title"> <a href="ol.source.TileVector.html">ol.source.TileVector</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.TileVector#addFeature" class=""> <a href="ol.source.TileVector.html#addFeature">addFeature</a> </li> <li data-name="ol.source.TileVector#addFeatures" class=""> <a href="ol.source.TileVector.html#addFeatures">addFeatures</a> </li> <li data-name="ol.source.TileVector#changed" class="unstable"> <a href="ol.source.TileVector.html#changed">changed</a> </li> <li data-name="ol.source.TileVector#clear" class=""> <a href="ol.source.TileVector.html#clear">clear</a> </li> <li data-name="ol.source.TileVector#forEachFeature" class=""> <a href="ol.source.TileVector.html#forEachFeature">forEachFeature</a> </li> <li data-name="ol.source.TileVector#<API key>" class="unstable"> <a href="ol.source.TileVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.TileVector#<API key>" class="unstable"> <a href="ol.source.TileVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.TileVector#getAttributions" class=""> <a href="ol.source.TileVector.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.TileVector#<API key>" class=""> <a href="ol.source.TileVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.TileVector#getExtent" class=""> <a href="ol.source.TileVector.html#getExtent">getExtent</a> </li> <li data-name="ol.source.TileVector#getFeatureById" class=""> <a href="ol.source.TileVector.html#getFeatureById">getFeatureById</a> </li> <li data-name="ol.source.TileVector#getFeatures" class=""> <a href="ol.source.TileVector.html#getFeatures">getFeatures</a> </li> <li data-name="ol.source.TileVector#<API key>" class=""> <a href="ol.source.TileVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.TileVector#<API key>" class="unstable"> <a href="ol.source.TileVector.html#<API key>"><API key></a> </li> <li data-name="ol.source.TileVector#getLogo" class=""> <a href="ol.source.TileVector.html#getLogo">getLogo</a> </li> <li data-name="ol.source.TileVector#getProjection" class="unstable"> <a href="ol.source.TileVector.html#getProjection">getProjection</a> </li> <li data-name="ol.source.TileVector#getRevision" class="unstable"> <a href="ol.source.TileVector.html#getRevision">getRevision</a> </li> <li data-name="ol.source.TileVector#getState" class="unstable"> <a href="ol.source.TileVector.html#getState">getState</a> </li> <li data-name="ol.source.TileVector#on" class=""> <a href="ol.source.TileVector.html#on">on</a> </li> <li data-name="ol.source.TileVector#once" class=""> <a href="ol.source.TileVector.html#once">once</a> </li> <li data-name="ol.source.TileVector#readFeatures" class="unstable"> <a href="ol.source.TileVector.html#readFeatures">readFeatures</a> </li> <li data-name="ol.source.TileVector#removeFeature" class=""> <a href="ol.source.TileVector.html#removeFeature">removeFeature</a> </li> <li data-name="ol.source.TileVector#un" class=""> <a href="ol.source.TileVector.html#un">un</a> </li> <li data-name="ol.source.TileVector#unByKey" class=""> <a href="ol.source.TileVector.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.source.VectorEvent#event:addfeature" class=""> <a href="ol.source.VectorEvent.html#event:addfeature">addfeature</a> </li> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.source.VectorEvent#event:changefeature" class="unstable"> <a href="ol.source.VectorEvent.html#event:changefeature">changefeature</a> </li> <li data-name="ol.source.VectorEvent#event:clear" class="unstable"> <a href="ol.source.VectorEvent.html#event:clear">clear</a> </li> <li data-name="ol.source.VectorEvent#event:removefeature" class=""> <a href="ol.source.VectorEvent.html#event:removefeature">removefeature</a> </li> </ul> </li> <li class="item" data-name="ol.source.TileWMS"> <span class="title"> <a href="ol.source.TileWMS.html">ol.source.TileWMS</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.TileWMS#changed" class="unstable"> <a href="ol.source.TileWMS.html#changed">changed</a> </li> <li data-name="ol.source.TileWMS#getAttributions" class=""> <a href="ol.source.TileWMS.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.TileWMS#<API key>" class=""> <a href="ol.source.TileWMS.html#<API key>"><API key></a> </li> <li data-name="ol.source.TileWMS#getLogo" class=""> <a href="ol.source.TileWMS.html#getLogo">getLogo</a> </li> <li data-name="ol.source.TileWMS#getParams" class=""> <a href="ol.source.TileWMS.html#getParams">getParams</a> </li> <li data-name="ol.source.TileWMS#getProjection" class="unstable"> <a href="ol.source.TileWMS.html#getProjection">getProjection</a> </li> <li data-name="ol.source.TileWMS#getRevision" class="unstable"> <a href="ol.source.TileWMS.html#getRevision">getRevision</a> </li> <li data-name="ol.source.TileWMS#getState" class="unstable"> <a href="ol.source.TileWMS.html#getState">getState</a> </li> <li data-name="ol.source.TileWMS#getTileGrid" class=""> <a href="ol.source.TileWMS.html#getTileGrid">getTileGrid</a> </li> <li data-name="ol.source.TileWMS#getTileLoadFunction" class="unstable"> <a href="ol.source.TileWMS.html#getTileLoadFunction">getTileLoadFunction</a> </li> <li data-name="ol.source.TileWMS#getTileUrlFunction" class="unstable"> <a href="ol.source.TileWMS.html#getTileUrlFunction">getTileUrlFunction</a> </li> <li data-name="ol.source.TileWMS#getUrls" class=""> <a href="ol.source.TileWMS.html#getUrls">getUrls</a> </li> <li data-name="ol.source.TileWMS#on" class=""> <a href="ol.source.TileWMS.html#on">on</a> </li> <li data-name="ol.source.TileWMS#once" class=""> <a href="ol.source.TileWMS.html#once">once</a> </li> <li data-name="ol.source.TileWMS#setTileLoadFunction" class="unstable"> <a href="ol.source.TileWMS.html#setTileLoadFunction">setTileLoadFunction</a> </li> <li data-name="ol.source.TileWMS#setTileUrlFunction" class="unstable"> <a href="ol.source.TileWMS.html#setTileUrlFunction">setTileUrlFunction</a> </li> <li data-name="ol.source.TileWMS#setUrl" class=""> <a href="ol.source.TileWMS.html#setUrl">setUrl</a> </li> <li data-name="ol.source.TileWMS#setUrls" class=""> <a href="ol.source.TileWMS.html#setUrls">setUrls</a> </li> <li data-name="ol.source.TileWMS#un" class=""> <a href="ol.source.TileWMS.html#un">un</a> </li> <li data-name="ol.source.TileWMS#unByKey" class=""> <a href="ol.source.TileWMS.html#unByKey">unByKey</a> </li> <li data-name="ol.source.TileWMS#updateParams" class=""> <a href="ol.source.TileWMS.html#updateParams">updateParams</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.TopoJSON"> <span class="title"> <a href="ol.source.TopoJSON.html">ol.source.TopoJSON</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.TopoJSON#addFeature" class=""> <a href="ol.source.TopoJSON.html#addFeature">addFeature</a> </li> <li data-name="ol.source.TopoJSON#addFeatures" class=""> <a href="ol.source.TopoJSON.html#addFeatures">addFeatures</a> </li> <li data-name="ol.source.TopoJSON#changed" class="unstable"> <a href="ol.source.TopoJSON.html#changed">changed</a> </li> <li data-name="ol.source.TopoJSON#clear" class=""> <a href="ol.source.TopoJSON.html#clear">clear</a> </li> <li data-name="ol.source.TopoJSON#forEachFeature" class=""> <a href="ol.source.TopoJSON.html#forEachFeature">forEachFeature</a> </li> <li data-name="ol.source.TopoJSON#<API key>" class="unstable"> <a href="ol.source.TopoJSON.html#<API key>"><API key></a> </li> <li data-name="ol.source.TopoJSON#<API key>" class="unstable"> <a href="ol.source.TopoJSON.html#<API key>"><API key></a> </li> <li data-name="ol.source.TopoJSON#getAttributions" class=""> <a href="ol.source.TopoJSON.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.TopoJSON#<API key>" class=""> <a href="ol.source.TopoJSON.html#<API key>"><API key></a> </li> <li data-name="ol.source.TopoJSON#getExtent" class=""> <a href="ol.source.TopoJSON.html#getExtent">getExtent</a> </li> <li data-name="ol.source.TopoJSON#getFeatureById" class=""> <a href="ol.source.TopoJSON.html#getFeatureById">getFeatureById</a> </li> <li data-name="ol.source.TopoJSON#getFeatures" class=""> <a href="ol.source.TopoJSON.html#getFeatures">getFeatures</a> </li> <li data-name="ol.source.TopoJSON#<API key>" class=""> <a href="ol.source.TopoJSON.html#<API key>"><API key></a> </li> <li data-name="ol.source.TopoJSON#getLogo" class=""> <a href="ol.source.TopoJSON.html#getLogo">getLogo</a> </li> <li data-name="ol.source.TopoJSON#getProjection" class="unstable"> <a href="ol.source.TopoJSON.html#getProjection">getProjection</a> </li> <li data-name="ol.source.TopoJSON#getRevision" class="unstable"> <a href="ol.source.TopoJSON.html#getRevision">getRevision</a> </li> <li data-name="ol.source.TopoJSON#getState" class="unstable"> <a href="ol.source.TopoJSON.html#getState">getState</a> </li> <li data-name="ol.source.TopoJSON#on" class=""> <a href="ol.source.TopoJSON.html#on">on</a> </li> <li data-name="ol.source.TopoJSON#once" class=""> <a href="ol.source.TopoJSON.html#once">once</a> </li> <li data-name="ol.source.TopoJSON#readFeatures" class="unstable"> <a href="ol.source.TopoJSON.html#readFeatures">readFeatures</a> </li> <li data-name="ol.source.TopoJSON#removeFeature" class=""> <a href="ol.source.TopoJSON.html#removeFeature">removeFeature</a> </li> <li data-name="ol.source.TopoJSON#un" class=""> <a href="ol.source.TopoJSON.html#un">un</a> </li> <li data-name="ol.source.TopoJSON#unByKey" class=""> <a href="ol.source.TopoJSON.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.source.VectorEvent#event:addfeature" class=""> <a href="ol.source.VectorEvent.html#event:addfeature">addfeature</a> </li> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.source.VectorEvent#event:changefeature" class="unstable"> <a href="ol.source.VectorEvent.html#event:changefeature">changefeature</a> </li> <li data-name="ol.source.VectorEvent#event:clear" class="unstable"> <a href="ol.source.VectorEvent.html#event:clear">clear</a> </li> <li data-name="ol.source.VectorEvent#event:removefeature" class=""> <a href="ol.source.VectorEvent.html#event:removefeature">removefeature</a> </li> </ul> </li> <li class="item" data-name="ol.source.Vector"> <span class="title"> <a href="ol.source.Vector.html">ol.source.Vector</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.Vector#addFeature" class=""> <a href="ol.source.Vector.html#addFeature">addFeature</a> </li> <li data-name="ol.source.Vector#addFeatures" class=""> <a href="ol.source.Vector.html#addFeatures">addFeatures</a> </li> <li data-name="ol.source.Vector#changed" class="unstable"> <a href="ol.source.Vector.html#changed">changed</a> </li> <li data-name="ol.source.Vector#clear" class=""> <a href="ol.source.Vector.html#clear">clear</a> </li> <li data-name="ol.source.Vector#forEachFeature" class=""> <a href="ol.source.Vector.html#forEachFeature">forEachFeature</a> </li> <li data-name="ol.source.Vector#<API key>" class="unstable"> <a href="ol.source.Vector.html#<API key>"><API key></a> </li> <li data-name="ol.source.Vector#<API key>" class="unstable"> <a href="ol.source.Vector.html#<API key>"><API key></a> </li> <li data-name="ol.source.Vector#getAttributions" class=""> <a href="ol.source.Vector.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.Vector#<API key>" class=""> <a href="ol.source.Vector.html#<API key>"><API key></a> </li> <li data-name="ol.source.Vector#getExtent" class=""> <a href="ol.source.Vector.html#getExtent">getExtent</a> </li> <li data-name="ol.source.Vector#getFeatureById" class=""> <a href="ol.source.Vector.html#getFeatureById">getFeatureById</a> </li> <li data-name="ol.source.Vector#getFeatures" class=""> <a href="ol.source.Vector.html#getFeatures">getFeatures</a> </li> <li data-name="ol.source.Vector#<API key>" class=""> <a href="ol.source.Vector.html#<API key>"><API key></a> </li> <li data-name="ol.source.Vector#getLogo" class=""> <a href="ol.source.Vector.html#getLogo">getLogo</a> </li> <li data-name="ol.source.Vector#getProjection" class="unstable"> <a href="ol.source.Vector.html#getProjection">getProjection</a> </li> <li data-name="ol.source.Vector#getRevision" class="unstable"> <a href="ol.source.Vector.html#getRevision">getRevision</a> </li> <li data-name="ol.source.Vector#getState" class="unstable"> <a href="ol.source.Vector.html#getState">getState</a> </li> <li data-name="ol.source.Vector#on" class=""> <a href="ol.source.Vector.html#on">on</a> </li> <li data-name="ol.source.Vector#once" class=""> <a href="ol.source.Vector.html#once">once</a> </li> <li data-name="ol.source.Vector#removeFeature" class=""> <a href="ol.source.Vector.html#removeFeature">removeFeature</a> </li> <li data-name="ol.source.Vector#un" class=""> <a href="ol.source.Vector.html#un">un</a> </li> <li data-name="ol.source.Vector#unByKey" class=""> <a href="ol.source.Vector.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="ol.source.VectorEvent#event:addfeature" class=""> <a href="ol.source.VectorEvent.html#event:addfeature">addfeature</a> </li> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> <li data-name="ol.source.VectorEvent#event:changefeature" class="unstable"> <a href="ol.source.VectorEvent.html#event:changefeature">changefeature</a> </li> <li data-name="ol.source.VectorEvent#event:clear" class="unstable"> <a href="ol.source.VectorEvent.html#event:clear">clear</a> </li> <li data-name="ol.source.VectorEvent#event:removefeature" class=""> <a href="ol.source.VectorEvent.html#event:removefeature">removefeature</a> </li> </ul> </li> <li class="item" data-name="ol.source.VectorEvent"> <span class="title"> <a href="ol.source.VectorEvent.html">ol.source.VectorEvent</a> </span> <ul class="members itemMembers"> <span class="subtitle">Members</span> <li data-name="ol.source.VectorEvent#feature"><a href="ol.source.VectorEvent.html#feature">feature</a></li> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.source.WMTS"> <span class="title"> <a href="ol.source.WMTS.html">ol.source.WMTS</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.WMTS#changed" class="unstable"> <a href="ol.source.WMTS.html#changed">changed</a> </li> <li data-name="ol.source.WMTS#getAttributions" class=""> <a href="ol.source.WMTS.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.WMTS#getDimensions" class="unstable"> <a href="ol.source.WMTS.html#getDimensions">getDimensions</a> </li> <li data-name="ol.source.WMTS#getLogo" class=""> <a href="ol.source.WMTS.html#getLogo">getLogo</a> </li> <li data-name="ol.source.WMTS#getProjection" class="unstable"> <a href="ol.source.WMTS.html#getProjection">getProjection</a> </li> <li data-name="ol.source.WMTS#getRevision" class="unstable"> <a href="ol.source.WMTS.html#getRevision">getRevision</a> </li> <li data-name="ol.source.WMTS#getState" class="unstable"> <a href="ol.source.WMTS.html#getState">getState</a> </li> <li data-name="ol.source.WMTS#getTileGrid" class=""> <a href="ol.source.WMTS.html#getTileGrid">getTileGrid</a> </li> <li data-name="ol.source.WMTS#getTileLoadFunction" class="unstable"> <a href="ol.source.WMTS.html#getTileLoadFunction">getTileLoadFunction</a> </li> <li data-name="ol.source.WMTS#getTileUrlFunction" class="unstable"> <a href="ol.source.WMTS.html#getTileUrlFunction">getTileUrlFunction</a> </li> <li data-name="ol.source.WMTS#on" class=""> <a href="ol.source.WMTS.html#on">on</a> </li> <li data-name="ol.source.WMTS#once" class=""> <a href="ol.source.WMTS.html#once">once</a> </li> <li data-name="ol.source.WMTS#setTileLoadFunction" class="unstable"> <a href="ol.source.WMTS.html#setTileLoadFunction">setTileLoadFunction</a> </li> <li data-name="ol.source.WMTS#setTileUrlFunction" class="unstable"> <a href="ol.source.WMTS.html#setTileUrlFunction">setTileUrlFunction</a> </li> <li data-name="ol.source.WMTS#un" class=""> <a href="ol.source.WMTS.html#un">un</a> </li> <li data-name="ol.source.WMTS#unByKey" class=""> <a href="ol.source.WMTS.html#unByKey">unByKey</a> </li> <li data-name="ol.source.WMTS#updateDimensions" class="unstable"> <a href="ol.source.WMTS.html#updateDimensions">updateDimensions</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.XYZ"> <span class="title"> <a href="ol.source.XYZ.html">ol.source.XYZ</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.XYZ#changed" class="unstable"> <a href="ol.source.XYZ.html#changed">changed</a> </li> <li data-name="ol.source.XYZ#getAttributions" class=""> <a href="ol.source.XYZ.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.XYZ#getLogo" class=""> <a href="ol.source.XYZ.html#getLogo">getLogo</a> </li> <li data-name="ol.source.XYZ#getProjection" class="unstable"> <a href="ol.source.XYZ.html#getProjection">getProjection</a> </li> <li data-name="ol.source.XYZ#getRevision" class="unstable"> <a href="ol.source.XYZ.html#getRevision">getRevision</a> </li> <li data-name="ol.source.XYZ#getState" class="unstable"> <a href="ol.source.XYZ.html#getState">getState</a> </li> <li data-name="ol.source.XYZ#getTileGrid" class=""> <a href="ol.source.XYZ.html#getTileGrid">getTileGrid</a> </li> <li data-name="ol.source.XYZ#getTileLoadFunction" class="unstable"> <a href="ol.source.XYZ.html#getTileLoadFunction">getTileLoadFunction</a> </li> <li data-name="ol.source.XYZ#getTileUrlFunction" class="unstable"> <a href="ol.source.XYZ.html#getTileUrlFunction">getTileUrlFunction</a> </li> <li data-name="ol.source.XYZ#on" class=""> <a href="ol.source.XYZ.html#on">on</a> </li> <li data-name="ol.source.XYZ#once" class=""> <a href="ol.source.XYZ.html#once">once</a> </li> <li data-name="ol.source.XYZ#setTileLoadFunction" class="unstable"> <a href="ol.source.XYZ.html#setTileLoadFunction">setTileLoadFunction</a> </li> <li data-name="ol.source.XYZ#setTileUrlFunction" class="unstable"> <a href="ol.source.XYZ.html#setTileUrlFunction">setTileUrlFunction</a> </li> <li data-name="ol.source.XYZ#setUrl" class=""> <a href="ol.source.XYZ.html#setUrl">setUrl</a> </li> <li data-name="ol.source.XYZ#un" class=""> <a href="ol.source.XYZ.html#un">un</a> </li> <li data-name="ol.source.XYZ#unByKey" class=""> <a href="ol.source.XYZ.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.Zoomify"> <span class="title"> <a href="ol.source.Zoomify.html">ol.source.Zoomify</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.source.Zoomify#changed" class="unstable"> <a href="ol.source.Zoomify.html#changed">changed</a> </li> <li data-name="ol.source.Zoomify#getAttributions" class=""> <a href="ol.source.Zoomify.html#getAttributions">getAttributions</a> </li> <li data-name="ol.source.Zoomify#getLogo" class=""> <a href="ol.source.Zoomify.html#getLogo">getLogo</a> </li> <li data-name="ol.source.Zoomify#getProjection" class="unstable"> <a href="ol.source.Zoomify.html#getProjection">getProjection</a> </li> <li data-name="ol.source.Zoomify#getRevision" class="unstable"> <a href="ol.source.Zoomify.html#getRevision">getRevision</a> </li> <li data-name="ol.source.Zoomify#getState" class="unstable"> <a href="ol.source.Zoomify.html#getState">getState</a> </li> <li data-name="ol.source.Zoomify#getTileGrid" class=""> <a href="ol.source.Zoomify.html#getTileGrid">getTileGrid</a> </li> <li data-name="ol.source.Zoomify#getTileLoadFunction" class="unstable"> <a href="ol.source.Zoomify.html#getTileLoadFunction">getTileLoadFunction</a> </li> <li data-name="ol.source.Zoomify#getTileUrlFunction" class="unstable"> <a href="ol.source.Zoomify.html#getTileUrlFunction">getTileUrlFunction</a> </li> <li data-name="ol.source.Zoomify#on" class=""> <a href="ol.source.Zoomify.html#on">on</a> </li> <li data-name="ol.source.Zoomify#once" class=""> <a href="ol.source.Zoomify.html#once">once</a> </li> <li data-name="ol.source.Zoomify#setTileLoadFunction" class="unstable"> <a href="ol.source.Zoomify.html#setTileLoadFunction">setTileLoadFunction</a> </li> <li data-name="ol.source.Zoomify#setTileUrlFunction" class="unstable"> <a href="ol.source.Zoomify.html#setTileUrlFunction">setTileUrlFunction</a> </li> <li data-name="ol.source.Zoomify#un" class=""> <a href="ol.source.Zoomify.html#un">un</a> </li> <li data-name="ol.source.Zoomify#unByKey" class=""> <a href="ol.source.Zoomify.html#unByKey">unByKey</a> </li> </ul> <ul class="fires itemMembers"> <span class="subtitle">Fires</span> <li data-name="event:change Triggered when the state of the source changes." class="unstable"> change Triggered when the state of the source changes. </li> </ul> </li> <li class="item" data-name="ol.source.wms"> <span class="title"> <a href="ol.source.wms.html">ol.source.wms</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> <span class="subtitle">Typedefs</span> <li data-name="ol.source.wms.ServerType" class="unstable"> <a href="ol.source.wms.html#ServerType">ServerType</a> </li> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.style"> <span class="title"> <a href="ol.style.html">ol.style</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> <span class="subtitle">Typedefs</span> <li data-name="ol.style.GeometryFunction" class="unstable"> <a href="ol.style.html#GeometryFunction">GeometryFunction</a> </li> <li data-name="ol.style.IconAnchorUnits" class="unstable"> <a href="ol.style.html#IconAnchorUnits">IconAnchorUnits</a> </li> <li data-name="ol.style.IconOrigin" class="unstable"> <a href="ol.style.html#IconOrigin">IconOrigin</a> </li> <li data-name="ol.style.StyleFunction" class="unstable"> <a href="ol.style.html#StyleFunction">StyleFunction</a> </li> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.style.AtlasManager"> <span class="title"> <a href="ol.style.AtlasManager.html">ol.style.AtlasManager</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.style.Circle"> <span class="title"> <a href="ol.style.Circle.html">ol.style.Circle</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.style.Circle#getAnchor" class="unstable"> <a href="ol.style.Circle.html#getAnchor">getAnchor</a> </li> <li data-name="ol.style.Circle#getFill" class="unstable"> <a href="ol.style.Circle.html#getFill">getFill</a> </li> <li data-name="ol.style.Circle#getImage" class="unstable"> <a href="ol.style.Circle.html#getImage">getImage</a> </li> <li data-name="ol.style.Circle#getOpacity" class="unstable"> <a href="ol.style.Circle.html#getOpacity">getOpacity</a> </li> <li data-name="ol.style.Circle#getOrigin" class="unstable"> <a href="ol.style.Circle.html#getOrigin">getOrigin</a> </li> <li data-name="ol.style.Circle#getRadius" class="unstable"> <a href="ol.style.Circle.html#getRadius">getRadius</a> </li> <li data-name="ol.style.Circle#getRotateWithView" class="unstable"> <a href="ol.style.Circle.html#getRotateWithView">getRotateWithView</a> </li> <li data-name="ol.style.Circle#getRotation" class="unstable"> <a href="ol.style.Circle.html#getRotation">getRotation</a> </li> <li data-name="ol.style.Circle#getScale" class="unstable"> <a href="ol.style.Circle.html#getScale">getScale</a> </li> <li data-name="ol.style.Circle#getSize" class="unstable"> <a href="ol.style.Circle.html#getSize">getSize</a> </li> <li data-name="ol.style.Circle#getSnapToPixel" class="unstable"> <a href="ol.style.Circle.html#getSnapToPixel">getSnapToPixel</a> </li> <li data-name="ol.style.Circle#getStroke" class="unstable"> <a href="ol.style.Circle.html#getStroke">getStroke</a> </li> <li data-name="ol.style.Circle#setRotation" class="unstable"> <a href="ol.style.Circle.html#setRotation">setRotation</a> </li> <li data-name="ol.style.Circle#setScale" class="unstable"> <a href="ol.style.Circle.html#setScale">setScale</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.style.Fill"> <span class="title"> <a href="ol.style.Fill.html">ol.style.Fill</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.style.Fill#getColor" class="unstable"> <a href="ol.style.Fill.html#getColor">getColor</a> </li> <li data-name="ol.style.Fill#setColor" class="unstable"> <a href="ol.style.Fill.html#setColor">setColor</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.style.Icon"> <span class="title"> <a href="ol.style.Icon.html">ol.style.Icon</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.style.Icon#getAnchor" class="unstable"> <a href="ol.style.Icon.html#getAnchor">getAnchor</a> </li> <li data-name="ol.style.Icon#getImage" class="unstable"> <a href="ol.style.Icon.html#getImage">getImage</a> </li> <li data-name="ol.style.Icon#getOpacity" class="unstable"> <a href="ol.style.Icon.html#getOpacity">getOpacity</a> </li> <li data-name="ol.style.Icon#getOrigin" class="unstable"> <a href="ol.style.Icon.html#getOrigin">getOrigin</a> </li> <li data-name="ol.style.Icon#getRotateWithView" class="unstable"> <a href="ol.style.Icon.html#getRotateWithView">getRotateWithView</a> </li> <li data-name="ol.style.Icon#getRotation" class="unstable"> <a href="ol.style.Icon.html#getRotation">getRotation</a> </li> <li data-name="ol.style.Icon#getScale" class="unstable"> <a href="ol.style.Icon.html#getScale">getScale</a> </li> <li data-name="ol.style.Icon#getSize" class="unstable"> <a href="ol.style.Icon.html#getSize">getSize</a> </li> <li data-name="ol.style.Icon#getSnapToPixel" class="unstable"> <a href="ol.style.Icon.html#getSnapToPixel">getSnapToPixel</a> </li> <li data-name="ol.style.Icon#getSrc" class="unstable"> <a href="ol.style.Icon.html#getSrc">getSrc</a> </li> <li data-name="ol.style.Icon#setRotation" class="unstable"> <a href="ol.style.Icon.html#setRotation">setRotation</a> </li> <li data-name="ol.style.Icon#setScale" class="unstable"> <a href="ol.style.Icon.html#setScale">setScale</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.style.Image"> <span class="title"> <a href="ol.style.Image.html">ol.style.Image</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.style.Image#getImage" class="unstable"> <a href="ol.style.Image.html#getImage">getImage</a> </li> <li data-name="ol.style.Image#getOpacity" class="unstable"> <a href="ol.style.Image.html#getOpacity">getOpacity</a> </li> <li data-name="ol.style.Image#getRotateWithView" class="unstable"> <a href="ol.style.Image.html#getRotateWithView">getRotateWithView</a> </li> <li data-name="ol.style.Image#getRotation" class="unstable"> <a href="ol.style.Image.html#getRotation">getRotation</a> </li> <li data-name="ol.style.Image#getScale" class="unstable"> <a href="ol.style.Image.html#getScale">getScale</a> </li> <li data-name="ol.style.Image#getSnapToPixel" class="unstable"> <a href="ol.style.Image.html#getSnapToPixel">getSnapToPixel</a> </li> <li data-name="ol.style.Image#setRotation" class="unstable"> <a href="ol.style.Image.html#setRotation">setRotation</a> </li> <li data-name="ol.style.Image#setScale" class="unstable"> <a href="ol.style.Image.html#setScale">setScale</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.style.RegularShape"> <span class="title"> <a href="ol.style.RegularShape.html">ol.style.RegularShape</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.style.RegularShape#getAnchor" class="unstable"> <a href="ol.style.RegularShape.html#getAnchor">getAnchor</a> </li> <li data-name="ol.style.RegularShape#getAngle" class="unstable"> <a href="ol.style.RegularShape.html#getAngle">getAngle</a> </li> <li data-name="ol.style.RegularShape#getFill" class="unstable"> <a href="ol.style.RegularShape.html#getFill">getFill</a> </li> <li data-name="ol.style.RegularShape#getImage" class="unstable"> <a href="ol.style.RegularShape.html#getImage">getImage</a> </li> <li data-name="ol.style.RegularShape#getOpacity" class="unstable"> <a href="ol.style.RegularShape.html#getOpacity">getOpacity</a> </li> <li data-name="ol.style.RegularShape#getOrigin" class="unstable"> <a href="ol.style.RegularShape.html#getOrigin">getOrigin</a> </li> <li data-name="ol.style.RegularShape#getPoints" class="unstable"> <a href="ol.style.RegularShape.html#getPoints">getPoints</a> </li> <li data-name="ol.style.RegularShape#getRadius" class="unstable"> <a href="ol.style.RegularShape.html#getRadius">getRadius</a> </li> <li data-name="ol.style.RegularShape#getRadius2" class="unstable"> <a href="ol.style.RegularShape.html#getRadius2">getRadius2</a> </li> <li data-name="ol.style.RegularShape#getRotateWithView" class="unstable"> <a href="ol.style.RegularShape.html#getRotateWithView">getRotateWithView</a> </li> <li data-name="ol.style.RegularShape#getRotation" class="unstable"> <a href="ol.style.RegularShape.html#getRotation">getRotation</a> </li> <li data-name="ol.style.RegularShape#getScale" class="unstable"> <a href="ol.style.RegularShape.html#getScale">getScale</a> </li> <li data-name="ol.style.RegularShape#getSize" class="unstable"> <a href="ol.style.RegularShape.html#getSize">getSize</a> </li> <li data-name="ol.style.RegularShape#getSnapToPixel" class="unstable"> <a href="ol.style.RegularShape.html#getSnapToPixel">getSnapToPixel</a> </li> <li data-name="ol.style.RegularShape#getStroke" class="unstable"> <a href="ol.style.RegularShape.html#getStroke">getStroke</a> </li> <li data-name="ol.style.RegularShape#setRotation" class="unstable"> <a href="ol.style.RegularShape.html#setRotation">setRotation</a> </li> <li data-name="ol.style.RegularShape#setScale" class="unstable"> <a href="ol.style.RegularShape.html#setScale">setScale</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.style.Stroke"> <span class="title"> <a href="ol.style.Stroke.html">ol.style.Stroke</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.style.Stroke#getColor" class="unstable"> <a href="ol.style.Stroke.html#getColor">getColor</a> </li> <li data-name="ol.style.Stroke#getLineCap" class="unstable"> <a href="ol.style.Stroke.html#getLineCap">getLineCap</a> </li> <li data-name="ol.style.Stroke#getLineDash" class="unstable"> <a href="ol.style.Stroke.html#getLineDash">getLineDash</a> </li> <li data-name="ol.style.Stroke#getLineJoin" class="unstable"> <a href="ol.style.Stroke.html#getLineJoin">getLineJoin</a> </li> <li data-name="ol.style.Stroke#getMiterLimit" class="unstable"> <a href="ol.style.Stroke.html#getMiterLimit">getMiterLimit</a> </li> <li data-name="ol.style.Stroke#getWidth" class="unstable"> <a href="ol.style.Stroke.html#getWidth">getWidth</a> </li> <li data-name="ol.style.Stroke#setColor" class="unstable"> <a href="ol.style.Stroke.html#setColor">setColor</a> </li> <li data-name="ol.style.Stroke#setLineCap" class="unstable"> <a href="ol.style.Stroke.html#setLineCap">setLineCap</a> </li> <li data-name="ol.style.Stroke#setLineDash" class="unstable"> <a href="ol.style.Stroke.html#setLineDash">setLineDash</a> </li> <li data-name="ol.style.Stroke#setLineJoin" class="unstable"> <a href="ol.style.Stroke.html#setLineJoin">setLineJoin</a> </li> <li data-name="ol.style.Stroke#setMiterLimit" class="unstable"> <a href="ol.style.Stroke.html#setMiterLimit">setMiterLimit</a> </li> <li data-name="ol.style.Stroke#setWidth" class="unstable"> <a href="ol.style.Stroke.html#setWidth">setWidth</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.style.Style"> <span class="title"> <a href="ol.style.Style.html">ol.style.Style</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.style.Style#getFill" class="unstable"> <a href="ol.style.Style.html#getFill">getFill</a> </li> <li data-name="ol.style.Style#getGeometry" class="unstable"> <a href="ol.style.Style.html#getGeometry">getGeometry</a> </li> <li data-name="ol.style.Style#getGeometryFunction" class="unstable"> <a href="ol.style.Style.html#getGeometryFunction">getGeometryFunction</a> </li> <li data-name="ol.style.Style#getImage" class="unstable"> <a href="ol.style.Style.html#getImage">getImage</a> </li> <li data-name="ol.style.Style#getStroke" class="unstable"> <a href="ol.style.Style.html#getStroke">getStroke</a> </li> <li data-name="ol.style.Style#getText" class="unstable"> <a href="ol.style.Style.html#getText">getText</a> </li> <li data-name="ol.style.Style#getZIndex" class="unstable"> <a href="ol.style.Style.html#getZIndex">getZIndex</a> </li> <li data-name="ol.style.Style#setGeometry" class="unstable"> <a href="ol.style.Style.html#setGeometry">setGeometry</a> </li> <li data-name="ol.style.Style#setZIndex" class="unstable"> <a href="ol.style.Style.html#setZIndex">setZIndex</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.style.Text"> <span class="title"> <a href="ol.style.Text.html">ol.style.Text</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.style.Text#getFill" class="unstable"> <a href="ol.style.Text.html#getFill">getFill</a> </li> <li data-name="ol.style.Text#getFont" class="unstable"> <a href="ol.style.Text.html#getFont">getFont</a> </li> <li data-name="ol.style.Text#getOffsetX" class="unstable"> <a href="ol.style.Text.html#getOffsetX">getOffsetX</a> </li> <li data-name="ol.style.Text#getOffsetY" class="unstable"> <a href="ol.style.Text.html#getOffsetY">getOffsetY</a> </li> <li data-name="ol.style.Text#getRotation" class="unstable"> <a href="ol.style.Text.html#getRotation">getRotation</a> </li> <li data-name="ol.style.Text#getScale" class="unstable"> <a href="ol.style.Text.html#getScale">getScale</a> </li> <li data-name="ol.style.Text#getStroke" class="unstable"> <a href="ol.style.Text.html#getStroke">getStroke</a> </li> <li data-name="ol.style.Text#getText" class="unstable"> <a href="ol.style.Text.html#getText">getText</a> </li> <li data-name="ol.style.Text#getTextAlign" class="unstable"> <a href="ol.style.Text.html#getTextAlign">getTextAlign</a> </li> <li data-name="ol.style.Text#getTextBaseline" class="unstable"> <a href="ol.style.Text.html#getTextBaseline">getTextBaseline</a> </li> <li data-name="ol.style.Text#setFill" class="unstable"> <a href="ol.style.Text.html#setFill">setFill</a> </li> <li data-name="ol.style.Text#setFont" class="unstable"> <a href="ol.style.Text.html#setFont">setFont</a> </li> <li data-name="ol.style.Text#setRotation" class="unstable"> <a href="ol.style.Text.html#setRotation">setRotation</a> </li> <li data-name="ol.style.Text#setScale" class="unstable"> <a href="ol.style.Text.html#setScale">setScale</a> </li> <li data-name="ol.style.Text#setStroke" class="unstable"> <a href="ol.style.Text.html#setStroke">setStroke</a> </li> <li data-name="ol.style.Text#setText" class="unstable"> <a href="ol.style.Text.html#setText">setText</a> </li> <li data-name="ol.style.Text#setTextAlign" class="unstable"> <a href="ol.style.Text.html#setTextAlign">setTextAlign</a> </li> <li data-name="ol.style.Text#setTextBaseline" class="unstable"> <a href="ol.style.Text.html#setTextBaseline">setTextBaseline</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.tilegrid"> <span class="title"> <a href="ol.tilegrid.html">ol.tilegrid</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.tilegrid.TileGrid"> <span class="title"> <a href="ol.tilegrid.TileGrid.html">ol.tilegrid.TileGrid</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.tilegrid.TileGrid#getMaxZoom" class="unstable"> <a href="ol.tilegrid.TileGrid.html#getMaxZoom">getMaxZoom</a> </li> <li data-name="ol.tilegrid.TileGrid#getMinZoom" class="unstable"> <a href="ol.tilegrid.TileGrid.html#getMinZoom">getMinZoom</a> </li> <li data-name="ol.tilegrid.TileGrid#getOrigin" class=""> <a href="ol.tilegrid.TileGrid.html#getOrigin">getOrigin</a> </li> <li data-name="ol.tilegrid.TileGrid#getResolution" class=""> <a href="ol.tilegrid.TileGrid.html#getResolution">getResolution</a> </li> <li data-name="ol.tilegrid.TileGrid#getResolutions" class=""> <a href="ol.tilegrid.TileGrid.html#getResolutions">getResolutions</a> </li> <li data-name="ol.tilegrid.TileGrid#<API key>" class="unstable"> <a href="ol.tilegrid.TileGrid.html#<API key>"><API key></a> </li> <li data-name="ol.tilegrid.TileGrid#<API key>" class="unstable"> <a href="ol.tilegrid.TileGrid.html#<API key>"><API key></a> </li> <li data-name="ol.tilegrid.TileGrid#getTileSize" class=""> <a href="ol.tilegrid.TileGrid.html#getTileSize">getTileSize</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.tilegrid.WMTS"> <span class="title"> <a href="ol.tilegrid.WMTS.html">ol.tilegrid.WMTS</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.tilegrid.WMTS#getMatrixIds" class="unstable"> <a href="ol.tilegrid.WMTS.html#getMatrixIds">getMatrixIds</a> </li> <li data-name="ol.tilegrid.WMTS#getMaxZoom" class="unstable"> <a href="ol.tilegrid.WMTS.html#getMaxZoom">getMaxZoom</a> </li> <li data-name="ol.tilegrid.WMTS#getMinZoom" class="unstable"> <a href="ol.tilegrid.WMTS.html#getMinZoom">getMinZoom</a> </li> <li data-name="ol.tilegrid.WMTS#getOrigin" class=""> <a href="ol.tilegrid.WMTS.html#getOrigin">getOrigin</a> </li> <li data-name="ol.tilegrid.WMTS#getResolution" class=""> <a href="ol.tilegrid.WMTS.html#getResolution">getResolution</a> </li> <li data-name="ol.tilegrid.WMTS#getResolutions" class=""> <a href="ol.tilegrid.WMTS.html#getResolutions">getResolutions</a> </li> <li data-name="ol.tilegrid.WMTS#<API key>" class="unstable"> <a href="ol.tilegrid.WMTS.html#<API key>"><API key></a> </li> <li data-name="ol.tilegrid.WMTS#<API key>" class="unstable"> <a href="ol.tilegrid.WMTS.html#<API key>"><API key></a> </li> <li data-name="ol.tilegrid.WMTS#getTileSize" class=""> <a href="ol.tilegrid.WMTS.html#getTileSize">getTileSize</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.tilegrid.XYZ"> <span class="title"> <a href="ol.tilegrid.XYZ.html">ol.tilegrid.XYZ</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.tilegrid.XYZ#getMaxZoom" class="unstable"> <a href="ol.tilegrid.XYZ.html#getMaxZoom">getMaxZoom</a> </li> <li data-name="ol.tilegrid.XYZ#getMinZoom" class="unstable"> <a href="ol.tilegrid.XYZ.html#getMinZoom">getMinZoom</a> </li> <li data-name="ol.tilegrid.XYZ#getOrigin" class=""> <a href="ol.tilegrid.XYZ.html#getOrigin">getOrigin</a> </li> <li data-name="ol.tilegrid.XYZ#getResolution" class=""> <a href="ol.tilegrid.XYZ.html#getResolution">getResolution</a> </li> <li data-name="ol.tilegrid.XYZ#getResolutions" class=""> <a href="ol.tilegrid.XYZ.html#getResolutions">getResolutions</a> </li> <li data-name="ol.tilegrid.XYZ#<API key>" class="unstable"> <a href="ol.tilegrid.XYZ.html#<API key>"><API key></a> </li> <li data-name="ol.tilegrid.XYZ#<API key>" class="unstable"> <a href="ol.tilegrid.XYZ.html#<API key>"><API key></a> </li> <li data-name="ol.tilegrid.XYZ#getTileSize" class=""> <a href="ol.tilegrid.XYZ.html#getTileSize">getTileSize</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.tilegrid.Zoomify"> <span class="title"> <a href="ol.tilegrid.Zoomify.html">ol.tilegrid.Zoomify</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.tilegrid.Zoomify#getMaxZoom" class="unstable"> <a href="ol.tilegrid.Zoomify.html#getMaxZoom">getMaxZoom</a> </li> <li data-name="ol.tilegrid.Zoomify#getMinZoom" class="unstable"> <a href="ol.tilegrid.Zoomify.html#getMinZoom">getMinZoom</a> </li> <li data-name="ol.tilegrid.Zoomify#getOrigin" class=""> <a href="ol.tilegrid.Zoomify.html#getOrigin">getOrigin</a> </li> <li data-name="ol.tilegrid.Zoomify#getResolution" class=""> <a href="ol.tilegrid.Zoomify.html#getResolution">getResolution</a> </li> <li data-name="ol.tilegrid.Zoomify#getResolutions" class=""> <a href="ol.tilegrid.Zoomify.html#getResolutions">getResolutions</a> </li> <li data-name="ol.tilegrid.Zoomify#<API key>" class="unstable"> <a href="ol.tilegrid.Zoomify.html#<API key>"><API key></a> </li> <li data-name="ol.tilegrid.Zoomify#<API key>" class="unstable"> <a href="ol.tilegrid.Zoomify.html#<API key>"><API key></a> </li> <li data-name="ol.tilegrid.Zoomify#getTileSize" class=""> <a href="ol.tilegrid.Zoomify.html#getTileSize">getTileSize</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> <li class="item" data-name="ol.webgl.Context"> <span class="title"> <a href="ol.webgl.Context.html">ol.webgl.Context</a> </span> <ul class="members itemMembers"> </ul> <ul class="typedefs itemMembers"> </ul> <ul class="methods itemMembers"> <span class="subtitle">Methods</span> <li data-name="ol.webgl.Context#getGL" class="unstable"> <a href="ol.webgl.Context.html#getGL">getGL</a> </li> <li data-name="ol.webgl.Context#useProgram" class="unstable"> <a href="ol.webgl.Context.html#useProgram">useProgram</a> </li> </ul> <ul class="fires itemMembers"> </ul> </li> </ul> </div> <div class="main"> <h1 class="page-title" data-filename="ol.interaction.html">Namespace: interaction</h1> <section> <header> <h2> <span class="ancestors"><a href="ol.html">ol</a>.</span>interaction </h2> </header> <article> <div class="container-overview"> <dl class="details"> </dl> </div> <h3 class="subsection-title">Classes</h3> <dl> <dt><a href="ol.interaction.DoubleClickZoom.html">DoubleClickZoom</a></dt> <dd></dd> <dt><a href="ol.interaction.DragAndDrop.html">DragAndDrop</a></dt> <dd></dd> <dt><a href="ol.interaction.DragAndDropEvent.html">DragAndDropEvent</a></dt> <dd></dd> <dt><a href="ol.interaction.DragBox.html">DragBox</a></dt> <dd></dd> <dt><a href="ol.interaction.DragPan.html">DragPan</a></dt> <dd></dd> <dt><a href="ol.interaction.DragRotate.html">DragRotate</a></dt> <dd></dd> <dt><a href="ol.interaction.DragRotateAndZoom.html">DragRotateAndZoom</a></dt> <dd></dd> <dt><a href="ol.interaction.DragZoom.html">DragZoom</a></dt> <dd></dd> <dt><a href="ol.interaction.Draw.html">Draw</a></dt> <dd></dd> <dt><a href="ol.interaction.Interaction.html">Interaction</a></dt> <dd></dd> <dt><a href="ol.interaction.KeyboardPan.html">KeyboardPan</a></dt> <dd></dd> <dt><a href="ol.interaction.KeyboardZoom.html">KeyboardZoom</a></dt> <dd></dd> <dt><a href="ol.interaction.Modify.html">Modify</a></dt> <dd></dd> <dt><a href="ol.interaction.MouseWheelZoom.html">MouseWheelZoom</a></dt> <dd></dd> <dt><a href="ol.interaction.PinchRotate.html">PinchRotate</a></dt> <dd></dd> <dt><a href="ol.interaction.PinchZoom.html">PinchZoom</a></dt> <dd></dd> <dt><a href="ol.interaction.Pointer.html">Pointer</a></dt> <dd></dd> <dt><a href="ol.interaction.Select.html">Select</a></dt> <dd></dd> </dl> <h3 class="subsection-title">Methods</h3> <dl> <dt class=""> <div class="nameContainer"> <h4 class="name" id="defaults"> ol.interaction.defaults<span class="signature">(<span class="optional">opt_options</span>)</span><span class="glyphicon <API key>"></span><span class="type-signature returnType">{<a href="ol.Collection.html">ol.Collection</a>.&lt;<a href="ol.interaction.Interaction.html">ol.interaction.Interaction</a>>}</span> </h4> <div class="tag-source"> <a href="interactiondefaults.js.html">src/ol/interaction/interactiondefaults.js</a>, <a href="interactiondefaults.js.html#line42">line 42</a> </div> </div> </dt> <dd class=""> <div class="description"> <p>Set of interactions included in maps by default. Specific interactions can be excluded by setting the appropriate option to false in the constructor options, but the order of the interactions is fixed. If you want to specify a different order for interactions, you will need to create your own <a href="ol.interaction.Interaction.html"><code>ol.interaction.Interaction</code></a> instances and insert them into a <a href="ol.Collection.html"><code>ol.Collection</code></a> in the order you want before creating your <a href="ol.Map.html"><code>ol.Map</code></a> instance. The default set of interactions, in sequence, is:</p> <ul> <li><a href="ol.interaction.DragRotate.html"><code>ol.interaction.DragRotate</code></a></li> <li><a href="ol.interaction.DoubleClickZoom.html"><code>ol.interaction.DoubleClickZoom</code></a></li> <li><a href="ol.interaction.DragPan.html"><code>ol.interaction.DragPan</code></a></li> <li><a href="ol.interaction.PinchRotate.html"><code>ol.interaction.PinchRotate</code></a></li> <li><a href="ol.interaction.PinchZoom.html"><code>ol.interaction.PinchZoom</code></a></li> <li><a href="ol.interaction.KeyboardPan.html"><code>ol.interaction.KeyboardPan</code></a></li> <li><a href="ol.interaction.KeyboardZoom.html"><code>ol.interaction.KeyboardZoom</code></a></li> <li><a href="ol.interaction.MouseWheelZoom.html"><code>ol.interaction.MouseWheelZoom</code></a></li> <li><a href="ol.interaction.DragZoom.html"><code>ol.interaction.DragZoom</code></a></li> </ul> <p>Note that DragZoom renders a box as a vector polygon, so this interaction should be excluded if you want a build with no vector support.</p> </div> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr class=""> <td class="name"><code>options</code></td> <td colspan=2 class="description last"> <p>Defaults options.</p> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr class="unstable"> <td class="name"><code>altShiftDragRotate</code></td> <td class="type"> <span class="param-type">boolean</span> | <span class="param-type">undefined</span> </td> <td class="description last"> <span class="stability experimental">experimental</span> <p>Whether Alt-Shift-drag rotate is desired. Default is <code>true</code>.</p></td> </tr> <tr class="unstable"> <td class="name"><code>doubleClickZoom</code></td> <td class="type"> <span class="param-type">boolean</span> | <span class="param-type">undefined</span> </td> <td class="description last"> <span class="stability experimental">experimental</span> <p>Whether double click zoom is desired. Default is <code>true</code>.</p></td> </tr> <tr class="unstable"> <td class="name"><code>keyboard</code></td> <td class="type"> <span class="param-type">boolean</span> | <span class="param-type">undefined</span> </td> <td class="description last"> <span class="stability experimental">experimental</span> <p>Whether keyboard interaction is desired. Default is <code>true</code>.</p></td> </tr> <tr class="unstable"> <td class="name"><code>mouseWheelZoom</code></td> <td class="type"> <span class="param-type">boolean</span> | <span class="param-type">undefined</span> </td> <td class="description last"> <span class="stability experimental">experimental</span> <p>Whether mousewheel zoom is desired. Default is <code>true</code>.</p></td> </tr> <tr class="unstable"> <td class="name"><code>shiftDragZoom</code></td> <td class="type"> <span class="param-type">boolean</span> | <span class="param-type">undefined</span> </td> <td class="description last"> <span class="stability experimental">experimental</span> <p>Whether Shift-drag zoom is desired. Default is <code>true</code>.</p></td> </tr> <tr class="unstable"> <td class="name"><code>dragPan</code></td> <td class="type"> <span class="param-type">boolean</span> | <span class="param-type">undefined</span> </td> <td class="description last"> <span class="stability experimental">experimental</span> <p>Whether drag pan is desired. Default is <code>true</code>.</p></td> </tr> <tr class="unstable"> <td class="name"><code>pinchRotate</code></td> <td class="type"> <span class="param-type">boolean</span> | <span class="param-type">undefined</span> </td> <td class="description last"> <span class="stability experimental">experimental</span> <p>Whether pinch rotate is desired. Default is <code>true</code>.</p></td> </tr> <tr class="unstable"> <td class="name"><code>pinchZoom</code></td> <td class="type"> <span class="param-type">boolean</span> | <span class="param-type">undefined</span> </td> <td class="description last"> <span class="stability experimental">experimental</span> <p>Whether pinch zoom is desired. Default is <code>true</code>.</p></td> </tr> <tr class="unstable"> <td class="name"><code>zoomDelta</code></td> <td class="type"> <span class="param-type">number</span> | <span class="param-type">undefined</span> </td> <td class="description last"> <span class="stability experimental">experimental</span> <p>Zoom delta.</p></td> </tr> <tr class="unstable"> <td class="name"><code>zoomDuration</code></td> <td class="type"> <span class="param-type">number</span> | <span class="param-type">undefined</span> </td> <td class="description last"> <span class="stability experimental">experimental</span> <p>Zoom duration.</p></td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <dl class="details"> </dl> <h5>Returns:</h5> A collection of interactions to be used with the ol.Map constructor's interactions option. <br /> </dd> </dl> </article> </section> <footer> Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha9</a> on Tue Dec 23 2014 13:50:46 GMT-0500 (EST) </footer> </div> </div> <script>prettyPrint();</script> <script src="scripts/linenumber.js"></script> <script src="scripts/main.js"></script> </body> </html>
##Description: Handling errors securely is a key aspect of secure coding. There are two types of errors that deserve special attention. The first is exceptions that occur in the processing of a security control itself. It's important that these exceptions do not enable behavior that the countermeasure would normally not allow. As a developer, you should consider that there are generally three possible outcomes from a security mechanism: 1. Allow the operation 2. Disallow the operation 3. Exception In general, you should design your security mechanism so that a failure will follow the same execution path as disabling the operation ##Mitigation: Make sure all the error handling logic is thoroughly tested for failing securely before using it in your application. It is common that complete unit-test are created especially for this purpose.
/* eslint-disable no-plusplus, prefer-const, curly, no-bitwise */ /* exported Picotable */ /* global alert, require */ const Picotable = (function (m, storage) { "use strict"; m = m || require("mithril"); const Util = (function () { function property(propertyName) { return function (obj) { return obj[propertyName]; }; } function map(obj, callback) { if (Array.isArray(obj)) { return obj.map(callback); } return Object.keys(obj).map(function (key) { return callback(obj[key], key, obj); }); } function any(obj, callback) { if (Array.isArray(obj)) { return obj.some(callback); } return Object.keys(obj).some(function (key) { return callback(obj[key], key, obj); }); } function extend() { const target = arguments[0]; for (var i = 1; i < arguments.length; i++) { for (var key in arguments[i]) { if (arguments[i].hasOwnProperty(key)) { target[key] = arguments[i][key]; } } } return target; } function trim(value) { return ("" + value).replace(/^\s+|\s+$/g, ""); } function omitNulls(object) { const outputObject = {}; map(object, function (value, key) { if (value !== null) { outputObject[key] = value; } }); return outputObject; } function debounce(func, wait, immediate = false) { let context, args, timestamp, timeout, result; function debounced() { context = this; args = arguments; timestamp = new Date().getTime(); if (!timeout) { m.startComputation(); timeout = setTimeout(later, wait); if (immediate) { result = func.apply(context, args); context = args = null; } } return result; } function later() { const elapsed = new Date().getTime() - timestamp; if (elapsed < wait && elapsed > 0) { timeout = setTimeout(later, wait - elapsed); } else { timeout = null; if (!immediate) { result = func.apply(context, args); context = args = null; } m.endComputation(); } } return debounced; } function stringValue(obj) { if (obj === null || obj === undefined) { return ""; } if (Array.isArray(obj) && obj.length === 0) { return ""; } return "" + obj; } function isEmpty(obj) { if (obj.length) { return false; } for (var k in obj) { if (obj.hasOwnProperty(k)) { return false; } } return true; } function boundPartial(thisArg, func/*, args */) { const partialArgs = [].slice.call(arguments, 2); return function (/* args */) { const fArgs = partialArgs.concat([].slice.call(arguments)); return func.apply(thisArg, fArgs); }; } return { property: property, map: map, any: any, extend: extend, trim: trim, omitNulls: omitNulls, debounce: debounce, stringValue: stringValue, isEmpty: isEmpty, boundPartial: boundPartial }; }()); const lang = { "MASS_ACTIONS": gettext("Mass actions"), "RANGE_FROM": gettext("From"), "RANGE_TO": gettext("To"), "ITEMS_PER_PAGE": gettext("Items per page"), "PAGE": gettext("Page"), "RESET_FILTERS": gettext("Reset filters"), "RESET": gettext("Reset"), "APPLY_FILTERS": gettext("Apply filters"), "SORT_BY": gettext("Sort by"), "SORT_ASC": gettext("ascending"), "SORT_DESC": gettext("descending"), "SORT_DEFAULT": gettext("Default sorting") }; const cx = function generateClassName(classSet) { var classValues = []; Util.map((classSet || {}), function (flag, key) { var className = null; if (key === "") { // The empty string as a class set means the entire value is used if not empty className = (flag && flag.length ? "" + flag : null); } else { className = flag ? key : null; } if (className) classValues.push(className); }); return classValues.join(" "); }; function addDummies(pageLinks) { var nDummy = 0; for (var i = 1; i < pageLinks.length; i++) { if (pageLinks[i]._page !== pageLinks[i - 1]._page + 1) { const li = m("li", { key: "dummy" + (nDummy++), className: "disabled" }, m("a", { href: "#" }, "\u22EF")); pageLinks.splice(i, 0, li); i++; } } } function paginator(paginationData, setPage, extraClass) { if (paginationData.nItems === 0) return m("nav"); var callback = m.withAttr("rel", setPage); var currentPage = paginationData.pageNum; var pageLinks = []; var pageLink = function (page, title) { return m("a.page-link", { rel: page, href: "#", onclick: callback }, title || page); }; for (var page = 1; page <= paginationData.nPages; page++) { if (page === 1 || page === paginationData.nPages || Math.abs(page - currentPage) <= 2) { var li = m("li.page-item", { key: page, className: cx({ active: currentPage === page }) }, pageLink(page)); li._page = page; pageLinks.push(li); } } addDummies(pageLinks); var prevLink = m("li.page-item", { key: "previous", className: cx({ disabled: currentPage === 1 }) }, pageLink(currentPage - 1, gettext("Previous"))); var nextLink = m("li.page-item", { key: "next", className: cx({ disabled: currentPage === paginationData.nPages }) }, pageLink(currentPage + 1, gettext("Next"))); let css = ''; if (typeof extraClass !== 'undefined') { css = `.${extraClass}`; } return m("nav" + css, m("ul.pagination", prevLink, pageLinks, nextLink)); } function <API key>(timeout) { return function (el, isInit, context) { if (!isInit) { el.oninput = context.debouncedOnInput = Util.debounce(el.onchange, timeout); } }; } function <API key>(ctrl, col, value) { var <API key> = function () { var valueJS = JSON.parse(this.value); ctrl.setFilterValue(col.id, valueJS); }; var select2Config = function () { return function (el, isInit) { if (!isInit) { $(el).select2({ dropdownParent: $(el).parent() }); const body = $('body').find('.<API key>'); const select2Span = $(el).next(); const elements = [select2Span, body]; elements.map(el => el.on('click', e => preventSelect(e))); } }; }; var select = m("select.form-control", { config: (col.filter.select2) ? select2Config() : null, value: JSON.stringify(value), onchange: <API key>, onclick: preventSelect, }, Util.map(col.filter.choices, function (choice) { return m("option", { value: JSON.stringify(choice[0]), key: choice[0] }, choice[1]); }) ); const label = m("h6", col.title); return m("div.choice-filter", [label, select]); } function getDefaultValues(ctrl) { const data = ctrl.vm.data(); const filters = {}; for (var i = 0; i < data.columns.length; i++) { if (data.columns[i].filter) { var value = data.columns[i].filter.defaultChoice; if (value !== undefined) { filters[data.columns[i].id] = value; } } } return filters; } function <API key>(ctrl, col, value) { var <API key> = function (which) { const filterObj = Util.extend({}, ctrl.getFilterValue(col.id) || {}); // Copy current filter object var newValue = this.value; if (!Util.trim(newValue)) { newValue = null; } filterObj[which] = newValue; ctrl.setFilterValue(col.id, filterObj); }; var attrs = { "type": col.filter.range.type || "text" }; var useDatepicker = false; if (attrs.type === "date") { // use a normal text input since mixing a date input and the datepicker together works weird in chrome useDatepicker = true; attrs.type = "text"; } Util.map(["min", "max", "step"], function (key) { var val = col.filter.range[key]; if (!(val === undefined || val === null)) { attrs[key] = val; attrs.type = "number"; // Any of these set means we're talking about numbers } }); value = value || {}; var minInput = m("input.form-control", Util.extend({}, attrs, { key: "min", value: Util.stringValue(value.min), placeholder: lang.RANGE_FROM, onchange: function (e) { if (value.min !== e.target.value) { <API key>.call(this, "min"); } }, config: useDatepicker ? ctrl.datePicker() : <API key>(500) })); var maxInput = m("input.form-control", Util.extend({}, attrs, { key: "max", value: Util.stringValue(value.max), placeholder: lang.RANGE_TO, onchange: function (e) { if (value.max !== e.target.value) { <API key>.call(this, "max"); } }, config: useDatepicker ? ctrl.datePicker() : <API key>(500) })); const label = m("h6", col.title); return m("div.range-filter", [ label, m("div.input-group", [minInput, maxInput]) ]); } function <API key>(ctrl, col, value) { var <API key> = function () { ctrl.setFilterValue(col.id, this.value); }; const label = m("h6", col.title); var input = m("input.form-control", { type: col.filter.text.type || "text", value: Util.stringValue(value), placeholder: col.filter.placeholder || interpolate(gettext("Filter by %s"), [col.title]), onchange: <API key>, config: <API key>(500) }); return m("div.text-filter", [label, input]); } // Check to see if it's any of the types of filters that // we want to highlight by placing it at the top of the table // FIXME: remove fixed col names from here and bring from col definition function isLiftFilter(col) { return (col.allowHighlight && ["name", "customer", "title", "code"].includes(col.id)); } function buildNameFilter(ctrl) { var data = ctrl.vm.data(); if (data === null) return; // Not loaded, don't return anything const [col] = data.columns.filter(column => isLiftFilter(column)); if (col !== undefined && col.filter) { var value = ctrl.getFilterValue(col.id); var <API key> = function () { ctrl.setFilterValue(col.id, this.value); }; var input = m("input.form-control", { type: "text", value: Util.stringValue(value), placeholder: col.filter.placeholder || interpolate(gettext("Filter by %s"), [col.title]), onchange: <API key>, config: <API key>(500) }); var <API key> = m("div.input-group", [ input, m("div.input-group-append", [ m( "button.btn.btn-primary", { onclick: () => { ctrl.saveFilters(); ctrl.refresh(); } }, lang.APPLY_FILTERS ), ]), ]) return m('div.<API key>.ml-2.mr-2', <API key>); } } function <API key>(ctrl, col, columnNumber) { var sortIndicator = null; var classSet = { "": col.className }; var columnOnClick = null; if (col.sortable) { var currentSort = ctrl.vm.sort(); var thisColSort = null; if (currentSort === "+" + col.id) { thisColSort = "asc"; } if (currentSort === "-" + col.id) { thisColSort = "desc"; } var sortIcon = "fa-sort" + (thisColSort ? "-" + thisColSort : ""); sortIndicator = m("i.fa." + sortIcon); classSet.sortable = true; if (thisColSort) { classSet["sorted-" + thisColSort] = true; } columnOnClick = function () { ctrl.setSortColumn(col.id); }; } var columnSettings = { key: col.id, className: cx(classSet), onclick: columnOnClick }; var massActions = (ctrl.vm.data() ? ctrl.vm.data().massActions : null); if (massActions.length) { if ((col.id === "primary_image") || (columnNumber === 0)) { columnSettings.className += " hidden-cell"; } } return m("th", columnSettings, [m("span", "", col.title), " ", sortIndicator]); } function renderFooter(ctrl) { var data = ctrl.vm.data(); if (data === null) { // Not loaded, don't return anything return; } var itemInfo = (ctrl.vm.data() ? ctrl.vm.data().itemInfo : null); // Build footer const PageSizeSelector = { view: function () { return m("div.btn-group.dropup.<API key>", [ m("button.btn.btn-default.dropdown-toggle", { type: "button", id: "pipps" + ctrl.id + 1, "data-toggle": "dropdown", "aria-haspopup": "true", "aria-expanded": "false", }, `${ctrl.vm.perPage()} / ${lang.PAGE}`), m("div.dropdown-menu", { "aria-labelledby": "pipps" + ctrl.id + 1, }, Util.map(ctrl.vm.perPageChoices(), function (value) { return m("a.dropdown-item", { href: " "data-value": value, onclick: m.withAttr("data-value", function (value) { ctrl.vm.perPage(value); ctrl.refresh(true); }) }, `${value} / ${lang.PAGE}`); }) ) ]); } }; var FootCell = { view: function () { return paginator(data.pagination, ctrl.setPage, "d-none d-lg-flex"); } }; const selectoClasses = "d-flex pt-2 pb-2 <API key> align-items-center"; return m("div", { class: selectoClasses }, [ m.component(PageSizeSelector), m("div.picotable-item-info", itemInfo), m.component(FootCell), ]); } function renderTable(ctrl) { // Set default filter values even without data since filters are always rendered var defaultValues = Util.extend(getDefaultValues(ctrl), ctrl.vm.filterValues()); ctrl.vm.filterValues(defaultValues); var data = ctrl.vm.data(); if (data === null) { // Not loaded, don't return anything return; } else if (data.items.length === 0) { return; } // Build header var columnHeaderCells = Util.map(data.columns, function (col, columnNumber) { return <API key>(ctrl, col, columnNumber); }); var thead = m("thead", [ m("tr.headers", columnHeaderCells) ]); var massActions = (ctrl.vm.data() ? ctrl.vm.data().massActions : null); // Build body var isPick = !!ctrl.vm.pickId(); var rows = Util.map(data.items, function (item) { var rowSettings = { key: "item-" + item._id }; rowSettings.onclick = (function (e) { if (massActions.length) { ctrl.saveCheck(item); } else if (item._url && e.target.className !== "row-selection") { location.href = item._url; } }); rowSettings.class = ""; if (item._extra && item._extra.class) { rowSettings.class += item._extra.class; } if (ctrl.isChecked(item)) { rowSettings.class += " active"; } return m("tr", rowSettings, Util.map(data.columns, function (col, idx) { var content; if (idx === 0 && massActions.length && (!item.hasOwnProperty("popup") || item.popup === false)) { content = m("div.input-checkbox", { onclick: preventSelect }, [ m("input[type=checkbox]", { id: item._id, value: item.type + "-" + item._id, class: "row-selection", onclick: Util.boundPartial(ctrl, ctrl.saveCheck, item), checked: ctrl.isChecked(item) }), m("label", { for: item._id, }), (item._url ? m("a", { href: item._url, title: gettext("Edit") }, m("i.fa.fa-edit")) : null), ]); } else if (idx === 0 && massActions.length && item.popup === true) { content = m("div.input-checkbox", { onclick: preventSelect }, [ m("button[type=button]", { class: "browse-btn btn btn-primary btn-sm", onclick: Util.boundPartial(ctrl, ctrl.pickObject, item) }, [ m("i.fa.fa-folder"), gettext(" Select") ]) ]); } else { content = item[col.id] || ""; } if (col.raw) { content = m.trust(content); } if (col.linked) { if (isPick) { content = m("a", { href: " onclick: Util.boundPartial(ctrl, ctrl.pickObject, item) }, content); } else if (item._url && (col.id === "name" || col.id === "title" || col.id === "username")) { content = m("a", { href: item._url, className: "row-" + col.id, }, content); } else { content = m("span", { className: "row-" + col.id }, content); } } return m("td", { key: "col-" + col.id, className: col.className || "" }, [content]); })); }); var tbody = m("tbody", rows); var massActionsClass = massActions.length ? ".has-mass-actions" : ""; return m(".table-responsive", m("table.table.picotable-table" + massActionsClass, [thead, tbody])); } function preventSelect(event) { event.stopPropagation(); } function <API key>(ctrl) { var data = ctrl.vm.data(); var filters = Util.map(data.columns, function (col) { if (!col.filter) return null; return m("div.single-filter", buildColumnFilter(ctrl, col) ); }); return m("div.mobile-filters.shuup-modal-bg", { key: "mobileFilterModal" }, [ m("div.<API key>", [ m("div.shuup-modal-header.d-flex.align-items-center", [ m("h4.mr-auto", [m("i.fa.fa-filter")], gettext("Filters")), m( "button.btn.btn-inverse.mr-2", { onclick: ctrl.resetFilters, disabled: Util.isEmpty(ctrl.vm.filterValues()) }, lang.RESET ), m("button.btn.btn-default", { onclick: function () { ctrl.vm.<API key>(false); } }, gettext("Close")), ]), m("div.<API key>", [ filters, m("div.apply-filters", [ m( "button.btn.btn-block.btn-primary", { onclick: () => { ctrl.saveFilters(); ctrl.refresh(); } }, lang.APPLY_FILTERS ), ]), ]), ]) ]); } function getMobileSortSelect(ctrl) { var data = ctrl.vm.data(); var sortOptions = []; Util.map(data.columns, function (col) { if (col.sortable) { sortOptions.push({ value: "+" + col.id, text: "" + lang.SORT_BY + " " + col.title + " " + lang.SORT_ASC }); sortOptions.push({ value: "-" + col.id, text: "" + lang.SORT_BY + " " + col.title + " " + lang.SORT_DESC }); } }); if (!sortOptions.length) return; sortOptions.unshift({ value: "", text: lang.SORT_DEFAULT }); return m("select.<API key>.form-control", { id: "mobile-sort-select", value: (ctrl.vm.sort() || ""), onchange: m.withAttr("value", function (value) { ctrl.setSortColumn(value); ctrl.refresh(); }) }, Util.map(sortOptions, function (so) { return m("option", { value: so.value }, so.text); }) ); } function renderMobileTable(ctrl) { // Set default filter values even without data since filters are always rendered var defaultValues = Util.extend(getDefaultValues(ctrl), ctrl.vm.filterValues()); ctrl.vm.filterValues(defaultValues); const filterCount = ctrl.<API key>(); var data = ctrl.vm.data(); if (data === null) return; // Not loaded, don't return anything var isPick = !!ctrl.vm.pickId(); var massActions = (ctrl.vm.data() ? ctrl.vm.data().massActions : null); var listItems = Util.map(data.items, function (item) { var content = null; if (item._abstract && item._abstract.length) { content = Util.map(item._abstract, function (line) { if (!line) return; if (typeof line === "string") line = { text: line }; if (!line.text) return; if (line.raw) line.text = m.trust(line.raw); const rowClasses = ["row", "mobile-row."]; if (line.title) rowClasses.push("with-title"); if (line.class) rowClasses.push(line.class); if (item._extra && item._extra.class) { rowClasses.push(...item._extra.class.split(" ")); } return m("." + rowClasses.join("."), [ (line.class && massActions.length && (!item.hasOwnProperty("popup") || item.popup === false) ? m("div.input-checkbox", { onclick: preventSelect }, [ m("input[type=checkbox]", { id: item._id, value: item.type + "-" + item._id, class: "row-selection", onclick: Util.boundPartial(ctrl, ctrl.saveCheck, item), checked: ctrl.isChecked(item) }), m("label", { for: item._id, }), (item._url ? m("a.edit", { href: item._url }, m("i.fa.fa-edit")) : null) ]) : (line.class && massActions.length && item.popup === true ? m("div.input-checkbox", { onclick: preventSelect }, [ m("button[type=button]", { class: "browse-btn btn btn-primary btn-sm", onclick: Util.boundPartial(ctrl, ctrl.pickObject, item) }, [ m("i.fa.fa-folder"), gettext(" Select") ]) ]) : null) ), (line.title ? m(".col.title", line.title) : null), m(".col.value", line.text) ]); }); if (!Util.any(content, function (v) { return !!v; })) { // Not a single valid line content = null; } } if (content === null) { content = Util.map(data.columns, function (col) { var colContent = item[col.id] || ""; if (col.raw) colContent = m.trust(colContent); return m("div.mobile-row.row.with-title", [ m(".col.title", col.title), m(".col.text-right", colContent) ]); }); } var linkAttrs = { href: item._url }; if (isPick) { linkAttrs.onclick = Util.boundPartial(ctrl, ctrl.pickObject, item); linkAttrs.href = " } var element = null; if (massActions.length) { element = m("span.inner", { class: "row-selection", onclick: (e) => { ctrl.saveCheck(item); } }, content); } else { element = (item._linked_in_mobile ? m("a.inner", linkAttrs, content) : m("span.inner", content)); } return m("div.list-element.col-12", element); }); return m("div.mobile", [ m("div.mobile-header.row", [ m("div.col", [ m("button.btn.btn-default.btn-block.toggle-btn.position-relative", { onclick: function () { ctrl.vm.<API key>(true); } }, [m("i.fa.fa-filter")], gettext("Show filters"), (filterCount ? m("span.badge.badge-pill.badge-dark.<API key>", filterCount ) : null), ) ]), m("div.col-sm-6", [ m("div.mobile-sort", getMobileSortSelect(ctrl)) ]) ]), (ctrl.vm.<API key>() ? <API key>(ctrl) : null), m("hr"), m("div.mobile-items.row ", listItems), paginator(data.pagination, ctrl.setPage, "mobile-pagination") ]); } function renderMassActions(ctrl) { var massActions = (ctrl.vm.data() ? ctrl.vm.data().massActions : null); if (massActions.length === 0) { return ""; } var isPick = !!ctrl.vm.pickId(); if (massActions === null || isPick) { return ""; } var select2Config = function () { return function (el, isInit) { if (!isInit) { $(el).select2().data('select2').$dropdown.addClass('<API key>'); } }; }; const totalItemCount = ctrl.vm.data().pagination.nItems; if (totalItemCount === 0) { return ""; } const listedItemCount = ctrl.vm.data().items.length; const initialMassActions = [ { key: 0, value: gettext("Select Action") }, { key: "unselect_all", value: gettext("Clear Selections") }, { key: "select_all", value: gettext("Select All") }, { key: "select_listed", value: interpolate(gettext("Select All %s Items"), [listedItemCount]) }, ]; massActions = initialMassActions.concat(massActions); return m("div.<API key>", [ m("select.<API key>", { id: "mass-action-select" + ctrl.id, config: select2Config(), value: 0, onchange: m.withAttr("value", function (value) { ctrl.doMassAction(value); }), }, Util.map(massActions, function (obj) { const defaultKeys = ["key", "value"]; const data = { value: obj.key }; Object.keys(obj).forEach((key) => { if (!defaultKeys.includes(defaultKeys)) { const dataKey = key.replace("_", "-"); data["data-" + dataKey] = obj[key]; } }); return m("option", data, obj.value); }) ), ]); } function buildColumnFilter(ctrl, col) { var value = ctrl.getFilterValue(col.id); if (col.filter.choices) { return <API key>(ctrl, col, value); } if (col.filter.range) { return <API key>(ctrl, col, value); } if (col.filter.text && !isLiftFilter(col)) { return <API key>(ctrl, col, value); } } function <API key>(ctrl, col) { var filterControl = null; if (col.filter && !isLiftFilter(col)) { filterControl = buildColumnFilter(ctrl, col); var columnSettings = { key: col.id }; return m("div.pt-2.pb-2", columnSettings, [filterControl]); } } function renderFilter(ctrl) { const data = ctrl.vm.data(); if (data === null) return; // Not loaded, don't return anything const columnFilterCells = ( data.columns.filter(col => col.filter) ? data.columns.map(col => { if (!isLiftFilter(col)) { return <API key>(ctrl, col); } }) : null ); function initSelect() { const filter = ctrl.vm.filterValues(); return filter; } const <API key> = { "id": "dropdownFilter", "data-toggle": "dropdown", "aria-haspopup": "true", "aria-expanded": "false", onclick: initSelect, }; const filterCount = ctrl.<API key>(); return m("div.picotable-filter.btn-group.d-none.d-lg-flex", m("button.btn.btn-default.btn-icon.dropdown-toggle", <API key>, m("i.fa.fa-filter"), gettext("Filters"), (filterCount > 0 ? m("span.badge.badge-pill.badge-dark.<API key>", filterCount ) : null), ), m("div.dropdown-menu.dropdown-menu-right.pl-3.pr-3", { "aria-labelledby": "dropdownFilter" }, (columnFilterCells ? m("div.filters.d-flex.flex-column", columnFilterCells) : null), m("div.<API key>", m( "button.<API key>.btn.btn-block.btn-inverse", { onclick: ctrl.resetFilters, disabled: Util.isEmpty(ctrl.vm.filterValues()) }, lang.RESET_FILTERS ) ), m("div.apply-filters", [ m( "button.btn.btn-block.btn-primary", { onclick: () => { ctrl.saveFilters(); ctrl.refresh(); } }, lang.APPLY_FILTERS ), ]), ) ); } function renderHeader(ctrl) { return m("div.picotable-header", [ renderMassActions(ctrl), buildNameFilter(ctrl), renderFilter(ctrl) ]); } function buildEmptyState(ctrl) { const pageName = $('.main-header').text().toLocaleLowerCase(); let title = ""; if (pageName) { title = interpolate(gettext("There are no %s to show"), [pageName]); } else { title = gettext("There is no item to show"); } if (Object.keys(ctrl.vm.filterValues()).length) { title = interpolate("%s %s", [title, gettext("with selected filters")]); } const button = $('.shuup-toolbar').find('.btn-primary'); let buttonAttr; if (button.length > 0) { buttonAttr = { title: button.text(), href: button[0].pathname }; } const markup = [ m("h3", title), (buttonAttr ? m("p", gettext("How about creating a new entry?")) : null), (buttonAttr ? m("a.btn.btn-default", { href: buttonAttr.href }, buttonAttr.title) : null) ]; const markupCss = "div.w-100.d-flex.flex-column.align-items-center.<API key>.text-center"; return m(markupCss, markup); } function renderEmptyState(ctrl) { return m("div.picotable-empty", [buildEmptyState(ctrl)]); } function renderLoader() { return m("div.loader", [ m("div.mt-4.mb-4.row", [ m("div.btn.btn-default.pt-3.pb-3.mr-3", m("div.loader-block")), m("div.btn.btn-default.w-50.pt-3.pb-3.mr-auto"), m("div.btn.btn-default.pt-3.pb-3", m("div.loader-block")), ]), m("div.loader-content.row", [ m("div.<API key>.col-12.w-100.ml-0", [ m("div.loader-block.w-100"), ]), m("div.d-flex.<API key>.h-50.col-12.pt-5.pb-5", [ m("div.loader-spinner") ]) ]) ]); } function PicotableView(ctrl) { const data = ctrl.vm.data(); if (data === null) return; const showEmptyState = (ictrl) => { const content = [ (ictrl.vm.renderMode() === "mobile" ? renderMobileTable(ictrl) : renderTable(ictrl)), ]; if (data.items.length > 0) { content.push(renderFooter(ictrl)); } else { content.push(renderEmptyState(ictrl)); } return content; }; return m("div.table-view", [ (ctrl.vm.showHeader() ? renderHeader(ctrl) : null), (showEmptyState(ctrl)), ]); } function renderPicotable(ctrl) { return (ctrl.vm.isLoading) ? renderLoader() : PicotableView(ctrl); } function PicotableController(ctrl) { var ctrl = this; ctrl.id = "" + 0 | (Math.random() * 0x7FFFFFF); ctrl.vm = { url: m.prop(null), sort: m.prop(null), filterEnabled: m.prop({}), filterValues: m.prop({}), checkboxes: m.prop([]), allItemsSelected: m.prop(false), page: m.prop(1), perPage: m.prop(20), perPageChoices: m.prop([20, 50, 100, 200]), showHeader: m.prop(true), data: m.prop(null), renderMode: m.prop("normal"), <API key>: m.prop(false), pickId: m.prop(null), isLoading: true }; ctrl.setRenderMode = function (mode) { var oldMode = ctrl.vm.renderMode(); ctrl.vm.renderMode(mode); if (mode !== oldMode) ctrl.refresh(); }; ctrl.adaptRenderMode = function () { var width = window.innerWidth; ctrl.setRenderMode(width < 992 ? "mobile" : "normal"); }; ctrl.setSource = function (url) { ctrl.vm.url(url); ctrl.refresh(); }; ctrl.setSortColumn = function (colId) { var sortValue = null; if (colId && colId.length && colId !== "null") { if (/^[+-]/.test(colId)) { sortValue = colId; } else { var currentSort = ctrl.vm.sort(); if (currentSort === "+" + colId) sortValue = "-" + colId; else if (currentSort === "-" + colId) sortValue = null; else sortValue = "+" + colId; } } ctrl.vm.sort(sortValue); ctrl.refresh(); }; ctrl.getFilterValue = function (colId) { return ctrl.vm.filterValues()[colId]; }; ctrl.setFilterValue = function (colId, value) { var filters = ctrl.vm.filterValues(); if (typeof value === "string" && Util.trim(value) === "") { // An empty string is invalid for filtering value = null; } filters[colId] = value; filters = Util.omitNulls(filters); ctrl.vm.filterValues(filters); }; ctrl.getFilterKey = function () { var pieces = window.location.pathname.split("/").filter((piece) => piece.length); return interpolate("%s_filters", [pieces[pieces.length - 1]]); }; ctrl.resetFilters = function () { ctrl.vm.filterValues({}); storage.setItem(ctrl.getFilterKey(), JSON.stringify({})); ctrl.refresh(); }; ctrl.getFilters = function () { if (!storage) { return ctrl.vm.filterValues(); } const filters = storage.getItem(ctrl.getFilterKey()); return filters ? JSON.parse(filters) : {}; }; ctrl.<API key> = function () { return Object.values( ctrl.getFilters() ).filter((value) => value !== undefined && value !== "_all").length; } ctrl.saveFilters = function () { if (!storage) return; var filters = ctrl.vm.filterValues(); storage.setItem(ctrl.getFilterKey(), JSON.stringify(filters)); }; ctrl.resetCheckboxes = function () { ctrl.vm.allItemsSelected(false); ctrl.vm.checkboxes([]); }; ctrl.saveCheck = function (object) { var originalValues = ctrl.vm.checkboxes(); var items = originalValues.filter(function (i) { return i !== object._id; }); if (items.length < originalValues.length) { ctrl.vm.checkboxes(items); } else { originalValues.push(object._id); ctrl.vm.checkboxes(originalValues); } $(object).toggleClass("active"); }; ctrl.isChecked = function (object) { var originalValues = ctrl.vm.checkboxes(); const checked = originalValues.filter(function (i) { return i === object._id; }); return checked.length > 0; }; ctrl.<API key> = function (xhr) { if (xhr.status === 200) { var filename = ""; var disposition = xhr.getResponseHeader("Content-Disposition"); if (disposition && disposition.indexOf("attachment") !== -1) { var filenameRegex = /filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/; var matches = filenameRegex.exec(disposition); if (matches !== null && matches[1]) filename = matches[1].replace(/['"]/g, ""); } var type = xhr.getResponseHeader("Content-Type"); var blob = new Blob([xhr.response], { type: type }); if (typeof window.navigator.msSaveBlob !== "undefined") { // IE workaround for "HTML7007: One or more blob URLs // were revoked by closing the blob for which they were // created. These URLs will no longer resolve as the data // backing the URL has been freed." window.navigator.msSaveBlob(blob, filename); } else { var URL = window.URL || window.webkitURL; var downloadUrl = URL.createObjectURL(blob); if (filename) { // use HTML5 a[download] attribute to specify filename var a = document.createElement("a"); // safari doesn't support this yet if (typeof a.download === "undefined") { window.location = downloadUrl; } else { a.href = downloadUrl; a.download = filename; document.body.appendChild(a); a.click(); } } else { var redirects = $("option[value=" + window.savedValue + "]").data("redirects"); if (redirects) { window.location = $("option[value=" + window.savedValue + "]").data("redirect-url"); } ctrl.resetCheckboxes(); $(".<API key>").val(0); ctrl.refresh(); setTimeout(function () { window.Messages.enqueue({ tags: "success", text: gettext("Success! Mass Action was completed.") }); }, 1000); } setTimeout(function () { URL.revokeObjectURL(downloadUrl); }, 100); // cleanup } } else { ctrl.resetCheckboxes(); $(".<API key>").val(0); ctrl.refresh(); setTimeout(function () { window.Messages.enqueue({ tags: "error", text: gettext("Error! Something went wrong with the Mass Action.") }); }, 1000); } }; ctrl.doMassAction = function (value) { switch (value) { case "select_all": ctrl.selectAllProducts(); const totalItemCount = ctrl.vm.data().pagination.nItems; const selectAllMessage = interpolate(gettext("All %s Items Selected"), [totalItemCount]); window.Messages.enqueue({ tags: "info", text: selectAllMessage }); return; case "select_listed": ctrl.<API key>(); return; case "unselect_all": ctrl.resetCheckboxes(); return; } var originalValues = ctrl.vm.checkboxes(); window.savedValue = value; if (originalValues.length === 0) { alert(gettext("Warning! You didn't select anything.")); return; } if (value === 0) { return; } if (!confirm(gettext("Confirm action by clicking OK!"))) { $(".<API key>").val(0); ctrl.refresh(); return; } var xhrConfig = function (xhr) { xhr.setRequestHeader("X-CSRFToken", window.ShuupAdminConfig.csrf); xhr.setRequestHeader("Content-type", "application/json"); xhr.responseType = "blob"; }; var payload = { "action": value, "values": (ctrl.vm.allItemsSelected() ? "all" : originalValues) }; const callback = $("option[value=" + value + "]").data("callback"); if (callback && window[callback]) { window[callback](payload.values); } else { m.request({ method: "POST", url: window.location.pathname, data: payload, extract: ctrl.<API key>, config: xhrConfig }); } }; ctrl.<API key> = function () { ctrl.vm.allItemsSelected(false); ctrl.vm.checkboxes(ctrl.vm.data().items.map(item => item._id)); }; ctrl.selectAllProducts = function () { ctrl.<API key>(); ctrl.vm.allItemsSelected(true); }; ctrl.setPage = function (newPage) { newPage = 0 | newPage; if (isNaN(newPage) || newPage < 1) newPage = 1; ctrl.vm.page(newPage); ctrl.refresh(); }; ctrl.refresh = function () { var url = ctrl.vm.url(); ctrl.vm.isLoading = true; m.redraw(); if (!url) return; if (!Object.keys(ctrl.vm.filterValues()).length) { ctrl.vm.filterValues(ctrl.getFilters()); } var data = { sort: ctrl.vm.sort(), perPage: 0 | ctrl.vm.perPage(), page: 0 | ctrl.vm.page(), filters: ctrl.vm.filterValues() }; const params = m.route.parseQueryString(decodeURI(location.search)); params.jq = JSON.stringify(data); m.request({ method: "GET", url: url, data: params }).then(ctrl.vm.data, function () { alert("Error! An error occurred."); }).then(function () { ctrl.vm.isLoading = false; }); ctrl.saveSettings(); }; ctrl.saveSettings = function () { if (!storage) return; storage.setItem("picotablePerPage", ctrl.vm.perPage()); }; ctrl.loadSettings = function () { if (!storage) return; var perPage = 0 | storage.getItem("picotablePerPage"); if (perPage > 1) { ctrl.vm.perPage(perPage); } // See if we're in pick mode... var pickMatch = /pick=([^&]+)/.exec(location.search); ctrl.vm.pickId(pickMatch ? pickMatch[1] : null); }; ctrl.pickObject = function (object) { var opener = window.opener; if (!opener) { alert("Error! Window has no opener. Can't pick object."); return; } var text = null; // Try to figure out a name for the object Util.map(["_text", "_name", "title", "name", "text"], function (prop) { if (!text && object[prop]) text = object[prop]; }); if (!text && object._abstract && object._abstract.length > 0) { text = object._abstract[0]; if (text.text) text = text.text; // Unwrap possible abstract text } if (!text) text = "#" + object._id; opener.postMessage({ "pick": { "id": ctrl.vm.pickId(), "object": { "id": object._id, "text": text, "url": object._url } } }, "*"); event.preventDefault(); }; ctrl.datePicker = function () { return function (el, isInitialized) { if (isInitialized) { return; } $(el).datetimepicker({ format: window.ShuupAdminConfig.settings.datetimeInputFormat, step: window.ShuupAdminConfig.settings.datetimeInputStep }); jQuery.datetimepicker.setLocale(window.ShuupAdminConfig.settings.dateInputLocale); }; }; ctrl.loadSettings(); ctrl.adaptRenderMode(); window.addEventListener("resize", Util.debounce(ctrl.adaptRenderMode, 100)); // Replace Mithril's deferred error monitor with one that can ignore JSON-parsing syntax errors. // See https://lhorie.github.io/mithril/mithril.deferred.html#<API key> m.deferred.onerror = function (e) { if (e.toString().match(/^SyntaxError/)) return; // Original onerror behavior below. if ({}.toString.call(e) === "[object Error]" && !e.constructor.toString().match(/ Error/)) throw e; }; } var generator = function (container, dataSourceUrl) { this.ctrl = m.mount(container, { view: renderPicotable, controller: PicotableController }); this.ctrl.setSource(dataSourceUrl); }; generator.lang = lang; return generator; }(window.m, window.localStorage)); /* eslint-disable */ if (typeof module !== "undefined" && module !== null && module.exports) { module.exports = Picotable; } else if (typeof define === "function" && define.amd) define(function () { return Picotable; }); const picotableElement = document.getElementById("picotable"); if (picotableElement) { window.picotable = new Picotable(picotableElement, window.location.pathname); }
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-09-02 14:39 from __future__ import unicode_literals import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('reference', '<API key>'), ] operations = [ migrations.CreateModel( name='<API key>', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('external_id', models.CharField(blank=True, max_length=100, null=True)), ('criteria', models.CharField(max_length=255, unique=True)), ('order', models.IntegerField(blank=True, null=True)), ], ), migrations.CreateModel( name='EducationType', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('external_id', models.CharField(blank=True, max_length=100, null=True)), ('type', models.CharField(choices=[('TRANSITION', 'Transition'), ('QUALIFICATION', 'Qualification'), ('ANOTHER', 'Autre')], max_length=20)), ('name', models.CharField(max_length=100)), ('adhoc', models.BooleanField(default=True)), ], ), migrations.CreateModel( name='ExternalOffer', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('external_id', models.CharField(blank=True, max_length=100, null=True)), ('changed', models.DateTimeField(null=True)), ('name', models.CharField(max_length=150, unique=True)), ('adhoc', models.BooleanField(default=True)), ('national', models.BooleanField(default=False)), ], ), migrations.CreateModel( name='GradeType', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('external_id', models.CharField(blank=True, max_length=100, null=True)), ('name', models.CharField(max_length=255)), ('coverage', models.CharField(choices=[('<API key>', '<API key>'), ('UNIVERSITY', 'UNIVERSITY'), ('UNKNOWN', 'UNKNOWN')], default='UNKNOWN', max_length=30)), ('adhoc', models.BooleanField(default=True)), ('institutional', models.BooleanField(default=False)), ], ), migrations.CreateModel( name='<API key>', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('external_id', models.CharField(blank=True, max_length=100, null=True)), ('name', models.CharField(max_length=255)), ], ), migrations.AddField( model_name='domain', name='adhoc', field=models.BooleanField(default=True), ), migrations.AddField( model_name='domain', name='national', field=models.BooleanField(default=False), ), migrations.AddField( model_name='domain', name='reference', field=models.CharField(blank=True, max_length=10, null=True), ), migrations.AddField( model_name='domain', name='type', field=models.CharField(choices=[('<API key>', '<API key>'), ('UNIVERSITY', 'UNIVERSITY'), ('UNKNOWN', 'UNKNOWN')], default='UNKNOWN', max_length=50), ), migrations.AddField( model_name='language', name='external_id', field=models.CharField(blank=True, max_length=100, null=True), ), migrations.AlterField( model_name='domain', name='decree', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='reference.Decree'), ), migrations.AlterField( model_name='<API key>', name='adhoc', field=models.BooleanField(default=True), ), migrations.AlterField( model_name='<API key>', name='institution_type', field=models.CharField(choices=[('SECONDARY', 'SECONDARY'), ('UNIVERSITY', 'UNIVERSITY'), ('<API key>', '<API key>')], max_length=25), ), migrations.AlterField( model_name='<API key>', name='national_community', field=models.CharField(blank=True, choices=[('FRENCH', 'FRENCH'), ('GERMAN', 'GERMAN'), ('DUTCH', 'DUTCH')], max_length=20, null=True), ), migrations.AddField( model_name='gradetype', name='<API key>', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='reference.<API key>'), ), migrations.AddField( model_name='externaloffer', name='domain', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='reference.Domain'), ), migrations.AddField( model_name='externaloffer', name='grade_type', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='reference.GradeType'), ), migrations.AddField( model_name='externaloffer', name='offer_year', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='base.OfferYear'), ), ]
package org.phenotips.entities.internal; import org.phenotips.entities.<API key>; import org.phenotips.entities.<API key>; import org.xwiki.component.annotation.Component; import javax.annotation.Nonnull; import javax.inject.Named; import javax.inject.Singleton; /** * Default implementation of the {@link <API key>} component, which uses all the * {@link <API key> entity managers} registered in the component manager. * * @version $Id$ * @since 1.4 */ @Component @Singleton public class <API key> extends <API key> { private static final String SECURE = "secure"; @Override boolean isValidManager(@Nonnull final <API key> manager) { return !manager.getClass().getAnnotation(Named.class).value().endsWith(SECURE); } }
// // // // //# This program is free software: you can redistribute it and/or modify # // //# published by the Free Software Foundation, either version 3 of the # // // //# This program is distributed in the hope that it will be useful, # // //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # // // // // // //# IMS MAXIMS provides absolutely NO GUARANTEE OF THE CLINICAL SAFTEY of # //# this program. Users of this software do so entirely at their own risk. # //# IMS MAXIMS only ensures the Clinical Safety of unaltered run-time # //# software that it builds, deploys and maintains. # // // //#EOH // This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5589.25814) // WARNING: DO NOT MODIFY the content of this file package ims.emergency.forms.<API key>; import ims.framework.delegates.*; abstract public class Handlers implements ims.framework.UILogic, IFormUILogicCode { abstract protected void onFormOpen(Object[] args) throws ims.framework.exceptions.<API key>; abstract protected void onFormDialogClosed(ims.framework.FormName formName, ims.framework.enumerations.DialogResult result) throws ims.framework.exceptions.<API key>; abstract protected void <API key>() throws ims.framework.exceptions.<API key>; abstract protected void <API key>() throws ims.framework.exceptions.<API key>; abstract protected void onBtnEditClick() throws ims.framework.exceptions.<API key>; abstract protected void <API key>() throws ims.framework.exceptions.<API key>; abstract protected void <API key>() throws ims.framework.exceptions.<API key>; abstract protected void <API key>() throws ims.framework.exceptions.<API key>; abstract protected void <API key>() throws ims.framework.exceptions.<API key>; abstract protected void <API key>() throws ims.framework.exceptions.<API key>; abstract protected void <API key>() throws ims.framework.exceptions.<API key>; abstract protected void <API key>() throws ims.framework.exceptions.<API key>; abstract protected void <API key>(int menuItemID, ims.framework.Control sender) throws ims.framework.exceptions.<API key>; public final void setContext(ims.framework.UIEngine engine, GenForm form) { this.engine = engine; this.form = form; this.form.setFormOpenEvent(new FormOpen() { private static final long serialVersionUID = 1L; public void handle(Object[] args) throws ims.framework.exceptions.<API key> { onFormOpen(args); } }); this.form.<API key>(new FormDialogClosed() { private static final long serialVersionUID = 1L; public void handle(ims.framework.FormName formName, ims.framework.enumerations.DialogResult result) throws ims.framework.exceptions.<API key> { onFormDialogClosed(formName, result); } }); this.form.ctnTimes().grdBed().<API key>(new <API key>() { private static final long serialVersionUID = 1L; public void handle(ims.framework.enumerations.MouseButton mouseButton) throws ims.framework.exceptions.<API key> { <API key>(); } }); this.form.ctnTimes().grdTransfer().<API key>(new <API key>() { private static final long serialVersionUID = 1L; public void handle(ims.framework.enumerations.MouseButton mouseButton) throws ims.framework.exceptions.<API key> { <API key>(); } }); this.form.ctnTimes().btnEdit().setClickEvent(new Click() { private static final long serialVersionUID = 1L; public void handle() throws ims.framework.exceptions.<API key> { onBtnEditClick(); } }); this.form.ctnTimes().grdSentToXray().<API key>(new <API key>() { private static final long serialVersionUID = 1L; public void handle(ims.framework.enumerations.MouseButton mouseButton) throws ims.framework.exceptions.<API key> { <API key>(); } }); this.form.ctnTimes().grdDNW().<API key>(new <API key>() { private static final long serialVersionUID = 1L; public void handle(ims.framework.enumerations.MouseButton mouseButton) throws ims.framework.exceptions.<API key> { <API key>(); } }); this.form.ctnTimes().<API key>().<API key>(new <API key>() { private static final long serialVersionUID = 1L; public void handle(ims.framework.enumerations.MouseButton mouseButton) throws ims.framework.exceptions.<API key> { <API key>(); } }); this.form.ctnTimes().grdMovementTimes().<API key>(new <API key>() { private static final long serialVersionUID = 1L; public void handle(ims.framework.enumerations.MouseButton mouseButton) throws ims.framework.exceptions.<API key> { <API key>(); } }); this.form.ctnTimes().grdPatientStatus().<API key>(new <API key>() { private static final long serialVersionUID = 1L; public void handle(ims.framework.enumerations.MouseButton mouseButton) throws ims.framework.exceptions.<API key> { <API key>(); } }); this.form.ctnTimes().grdSeenHCP().<API key>(new <API key>() { private static final long serialVersionUID = 1L; public void handle(ims.framework.enumerations.MouseButton mouseButton) throws ims.framework.exceptions.<API key> { <API key>(); } }); this.form.<API key>().<API key>(new ValueChanged() { private static final long serialVersionUID = 1L; public void handle() throws ims.framework.exceptions.<API key> { <API key>(); } }); this.form.getContextMenus().Emergency.<API key>().setClickEvent(new ims.framework.delegates.MenuItemClick() { private static final long serialVersionUID = 1L; public void handle(ims.framework.Control sender) throws ims.framework.exceptions.<API key> { <API key>(GenForm.ContextMenus.EmergencyNamespace.<API key>.<API key>, sender); } }); this.form.getContextMenus().Emergency.<API key>().setClickEvent(new ims.framework.delegates.MenuItemClick() { private static final long serialVersionUID = 1L; public void handle(ims.framework.Control sender) throws ims.framework.exceptions.<API key> { <API key>(GenForm.ContextMenus.EmergencyNamespace.<API key>.EDIT_TRANSFER_TIME, sender); } }); this.form.getContextMenus().Emergency.<API key>().setClickEvent(new ims.framework.delegates.MenuItemClick() { private static final long serialVersionUID = 1L; public void handle(ims.framework.Control sender) throws ims.framework.exceptions.<API key> { <API key>(GenForm.ContextMenus.EmergencyNamespace.<API key>.<API key>, sender); } }); this.form.getContextMenus().Emergency.<API key>().setClickEvent(new ims.framework.delegates.MenuItemClick() { private static final long serialVersionUID = 1L; public void handle(ims.framework.Control sender) throws ims.framework.exceptions.<API key> { <API key>(GenForm.ContextMenus.EmergencyNamespace.<API key>.EDIT_DNW_TIME, sender); } }); this.form.getContextMenus().Emergency.<API key>().setClickEvent(new ims.framework.delegates.MenuItemClick() { private static final long serialVersionUID = 1L; public void handle(ims.framework.Control sender) throws ims.framework.exceptions.<API key> { <API key>(GenForm.ContextMenus.EmergencyNamespace.<API key>.<API key>, sender); } }); this.form.getContextMenus().Emergency.<API key>().setClickEvent(new ims.framework.delegates.MenuItemClick() { private static final long serialVersionUID = 1L; public void handle(ims.framework.Control sender) throws ims.framework.exceptions.<API key> { <API key>(GenForm.ContextMenus.EmergencyNamespace.<API key>.EDIT_MOVOMENT_TIME, sender); } }); this.form.getContextMenus().Emergency.<API key>().setClickEvent(new ims.framework.delegates.MenuItemClick() { private static final long serialVersionUID = 1L; public void handle(ims.framework.Control sender) throws ims.framework.exceptions.<API key> { <API key>(GenForm.ContextMenus.EmergencyNamespace.<API key>.MOVE, sender); } }); this.form.getContextMenus().Emergency.<API key>().setClickEvent(new ims.framework.delegates.MenuItemClick() { private static final long serialVersionUID = 1L; public void handle(ims.framework.Control sender) throws ims.framework.exceptions.<API key> { <API key>(GenForm.ContextMenus.EmergencyNamespace.<API key>.<API key>, sender); } }); this.form.getContextMenus().Emergency.<API key>().setClickEvent(new ims.framework.delegates.MenuItemClick() { private static final long serialVersionUID = 1L; public void handle(ims.framework.Control sender) throws ims.framework.exceptions.<API key> { <API key>(GenForm.ContextMenus.EmergencyNamespace.<API key>.MARK_AS_RIE, sender); } }); this.form.getContextMenus().Emergency.<API key>().setClickEvent(new ims.framework.delegates.MenuItemClick() { private static final long serialVersionUID = 1L; public void handle(ims.framework.Control sender) throws ims.framework.exceptions.<API key> { <API key>(GenForm.ContextMenus.EmergencyNamespace.<API key>.<API key>, sender); } }); this.form.getContextMenus().Emergency.<API key>().setClickEvent(new ims.framework.delegates.MenuItemClick() { private static final long serialVersionUID = 1L; public void handle(ims.framework.Control sender) throws ims.framework.exceptions.<API key> { <API key>(GenForm.ContextMenus.EmergencyNamespace.<API key>.<API key>, sender); } }); this.form.getContextMenus().Emergency.<API key>().setClickEvent(new ims.framework.delegates.MenuItemClick() { private static final long serialVersionUID = 1L; public void handle(ims.framework.Control sender) throws ims.framework.exceptions.<API key> { <API key>(GenForm.ContextMenus.EmergencyNamespace.<API key>.SEEN_COMPLETE_HCP, sender); } }); this.form.getContextMenus().Emergency.<API key>().setClickEvent(new ims.framework.delegates.MenuItemClick() { private static final long serialVersionUID = 1L; public void handle(ims.framework.Control sender) throws ims.framework.exceptions.<API key> { <API key>(GenForm.ContextMenus.EmergencyNamespace.<API key>.REFER_TO, sender); } }); } public void free() { this.engine = null; this.form = null; } protected ims.framework.UIEngine engine; protected GenForm form; }
# -*- coding: utf-8 -*- # OpenERP, Open Source Management Solution # This program is free software: you can redistribute it and/or modify # published by the Free Software Foundation, either version 3 of the # This program is distributed in the hope that it will be useful, # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the from datetime import datetime, date from lxml import etree import time from openerp import SUPERUSER_ID from openerp import tools from openerp.osv import fields, osv from openerp.tools.translate import _ from openerp.addons.base_status.base_stage import base_stage from openerp.addons.resource.faces import task as Task _TASK_STATE = [('draft', 'New'),('open', 'In Progress'),('pending', 'Pending'), ('done', 'Done'), ('cancelled', 'Cancelled')] class project_task_type(osv.osv): _name = 'project.task.type' _description = 'Task Stage' _order = 'sequence' _columns = { 'name': fields.char('Stage Name', required=True, size=64, translate=True), 'description': fields.text('Description'), 'sequence': fields.integer('Sequence'), 'case_default': fields.boolean('Default for New Projects', help="If you check this field, this stage will be proposed by default on each new project. It will not assign this stage to existing projects."), 'project_ids': fields.many2many('project.project', '<API key>', 'type_id', 'project_id', 'Projects'), 'state': fields.selection(_TASK_STATE, 'Related Status', required=True, help="The status of your document is automatically changed regarding the selected stage. " \ "For example, if a stage is related to the status 'Close', when your document reaches this stage, it is automatically closed."), 'fold': fields.boolean('Folded by Default', help="This stage is not visible, for example in status bar or kanban view, when there are no records in that stage to display."), } def <API key>(self, cr, uid, ctx={}): proj = ctx.get('default_project_id', False) if type(proj) is int: return [proj] return proj _defaults = { 'sequence': 1, 'state': 'open', 'fold': False, 'case_default': False, 'project_ids': <API key> } _order = 'sequence' def short_name(name): """Keep first word(s) of name to make it small enough but distinctive""" if not name: return name # keep 7 chars + end of the last word keep_words = name[:7].strip().split() return ' '.join(name.split()[:len(keep_words)]) class project(osv.osv): _name = "project.project" _description = "Project" _inherits = {'account.analytic.account': "analytic_account_id", "mail.alias": "alias_id"} _inherit = ['mail.thread', 'ir.needaction_mixin'] def _auto_init(self, cr, context=None): """ Installation hook: aliases, project.project """ # create aliases for all projects and avoid constraint errors alias_context = dict(context, alias_model_name='project.task') return self.pool.get('mail.alias').migrate_to_alias(cr, self._name, self._table, super(project, self)._auto_init, self._columns['alias_id'], 'id', alias_prefix='project+', alias_defaults={'project_id':'id'}, context=alias_context) def search(self, cr, user, args, offset=0, limit=None, order=None, context=None, count=False): if user == 1: return super(project, self).search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count) if context and context.get('user_preference'): cr.execute("""SELECT project.id FROM project_project project LEFT JOIN <API key> account ON account.id = project.analytic_account_id LEFT JOIN project_user_rel rel ON rel.project_id = project.id WHERE (account.user_id = %s or rel.uid = %s)"""%(user, user)) return [(r[0]) for r in cr.fetchall()] return super(project, self).search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count) def _complete_name(self, cr, uid, ids, name, args, context=None): res = {} for m in self.browse(cr, uid, ids, context=context): res[m.id] = (m.parent_id and (m.parent_id.name + '/') or '') + m.name return res def onchange_partner_id(self, cr, uid, ids, part=False, context=None): partner_obj = self.pool.get('res.partner') if not part: return {'value':{}} val = {} if 'pricelist_id' in self.fields_get(cr, uid, context=context): pricelist = partner_obj.read(cr, uid, part, ['<API key>'], context=context) pricelist_id = pricelist.get('<API key>', False) and pricelist.get('<API key>')[0] or False val['pricelist_id'] = pricelist_id return {'value': val} def <API key>(self, cr, uid, task_ids, context=None): tasks = self.pool.get('project.task').browse(cr, uid, task_ids, context=context) project_ids = [task.project_id.id for task in tasks if task.project_id] return self.pool.get('project.project').<API key>(cr, uid, project_ids, context) def <API key>(self, cr, uid, ids, context=None): """ return the project ids and all their parent projects """ res = set(ids) while ids: cr.execute(""" SELECT DISTINCT parent.id FROM project_project project, project_project parent, <API key> account WHERE project.analytic_account_id = account.id AND parent.analytic_account_id = account.parent_id AND project.id IN %s """, (tuple(ids),)) ids = [t[0] for t in cr.fetchall()] res.update(ids) return list(res) # Deprecated; the _progress_rate method does not use this anymore def <API key>(self, cr, uid, ids, context=None): """ retrieve all children projects of project ids; return a dictionary mapping each project to its parent project (or None) """ res = dict.fromkeys(ids, None) while ids: cr.execute(""" SELECT project.id, parent.id FROM project_project project, project_project parent, <API key> account WHERE project.analytic_account_id = account.id AND parent.analytic_account_id = account.parent_id AND parent.id IN %s """, (tuple(ids),)) dic = dict(cr.fetchall()) res.update(dic) ids = dic.keys() return res def _progress_rate(self, cr, uid, ids, names, arg, context=None): # compute planned_hours, total_hours, effective_hours specific to each project # How this works: the WITH RECURSIVE statement will create an union line # for each parent project with the hours of each child project; the final # SUM(...) ensures we get a total of hours by project. cr.execute(""" WITH RECURSIVE recur_table(project_id, parent_id, planned_hours, total_hours, effective_hours) AS ( SELECT project.id, parent.id, COALESCE(task.planned, 0.0), COALESCE(task.total, 0.0), COALESCE(task.effective, 0.0) FROM project_project project LEFT JOIN <API key> account ON project.analytic_account_id = account.id LEFT JOIN project_project parent ON parent.analytic_account_id = account.parent_id LEFT JOIN (SELECT project_id, SUM(planned_hours) as planned, SUM(total_hours) as total, SUM(effective_hours) as effective FROM project_task WHERE state <> 'cancelled' GROUP BY project_id) AS task ON project.id = task.project_id UNION ALL SELECT project.id, parent.id, recur_table.planned_hours, recur_table.total_hours, recur_table.effective_hours FROM project_project project LEFT JOIN <API key> account ON project.analytic_account_id = account.id LEFT JOIN project_project parent ON parent.analytic_account_id = account.parent_id LEFT JOIN (SELECT project_id, SUM(planned_hours) as planned, SUM(total_hours) as total, SUM(effective_hours) as effective FROM project_task WHERE state <> 'cancelled' GROUP BY project_id) AS task ON project.id = task.project_id JOIN recur_table ON project.id = recur_table.parent_id ) SELECT project_id, SUM(planned_hours), SUM(total_hours), SUM(effective_hours) FROM recur_table WHERE project_id IN %s GROUP BY project_id """, (tuple(ids),)) # aggregate results into res res = dict([(result_line[0], {'planned_hours': result_line[1], 'total_hours': result_line[2], 'effective_hours': result_line[3]}) for result_line in cr.fetchall()]) # compute progress rates for id in ids: if res[id]['total_hours']: res[id]['progress_rate'] = round(100.0 * res[id]['effective_hours'] / res[id]['total_hours'], 2) else: res[id]['progress_rate'] = 0.0 return res def unlink(self, cr, uid, ids, context=None): alias_ids = [] mail_alias = self.pool.get('mail.alias') for proj in self.browse(cr, uid, ids, context=context): if proj.tasks: raise osv.except_osv(_('Invalid Action!'), _('You cannot delete a project containing tasks. You can either delete all the project\'s tasks and then delete the project or simply deactivate the project.')) elif proj.alias_id: alias_ids.append(proj.alias_id.id) res = super(project, self).unlink(cr, uid, ids, context=context) mail_alias.unlink(cr, uid, alias_ids, context=context) return res def _get_attached_docs(self, cr, uid, ids, field_name, arg, context): res = {} attachment = self.pool.get('ir.attachment') task = self.pool.get('project.task') for id in ids: project_attachments = attachment.search(cr, uid, [('res_model', '=', 'project.project'), ('res_id', '=', id)], context=context, count=True) task_ids = task.search(cr, uid, [('project_id', '=', id)], context=context) task_attachments = attachment.search(cr, uid, [('res_model', '=', 'project.task'), ('res_id', 'in', task_ids)], context=context, count=True) res[id] = (project_attachments or 0) + (task_attachments or 0) return res def _task_count(self, cr, uid, ids, field_name, arg, context=None): if context is None: context = {} res = dict.fromkeys(ids, 0) ctx = context.copy() ctx['active_test'] = False task_ids = self.pool.get('project.task').search(cr, uid, [('project_id', 'in', ids)], context=ctx) for task in self.pool.get('project.task').browse(cr, uid, task_ids, context): res[task.project_id.id] += 1 return res def _get_alias_models(self, cr, uid, context=None): """Overriden in project_issue to offer more options""" return [('project.task', "Tasks")] def <API key>(self, cr, uid, context=None): """ Overriden in portal_project to offer more options """ return [('public', 'All Users'), ('employees', 'Employees Only'), ('followers', 'Followers Only')] def <API key>(self, cr, uid, ids, context): task_ids = self.pool.get('project.task').search(cr, uid, [('project_id', 'in', ids)]) domain = [ '|', '&', ('res_model', '=', 'project.project'), ('res_id', 'in', ids), '&', ('res_model', '=', 'project.task'), ('res_id', 'in', task_ids) ] res_id = ids and ids[0] or False return { 'name': _('Attachments'), 'domain': domain, 'res_model': 'ir.attachment', 'type': 'ir.actions.act_window', 'view_id': False, 'view_mode': 'tree,form', 'view_type': 'form', 'limit': 80, 'context': "{'default_res_model': '%s','default_res_id': %d}" % (self._name, res_id) } # Lambda indirection method to avoid passing a copy of the overridable method when declaring the field _alias_models = lambda self, *args, **kwargs: self._get_alias_models(*args, **kwargs) <API key> = lambda self, *args, **kwargs: self.<API key>(*args, **kwargs) _columns = { 'complete_name': fields.function(_complete_name, string="Project Name", type='char', size=250), 'active': fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the project without removing it."), 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of Projects."), 'analytic_account_id': fields.many2one('account.analytic.account', 'Contract/Analytic', help="Link this project to an analytic account if you need financial management on projects. It enables you to connect projects with budgets, planning, cost and revenue analysis, timesheets on projects, etc.", ondelete="cascade", required=True), 'priority': fields.integer('Sequence', help="Gives the sequence order when displaying the list of projects"), 'members': fields.many2many('res.users', 'project_user_rel', 'project_id', 'uid', 'Project Members', help="Project's members are users who can have an access to the tasks related to this project.", states={'close':[('readonly',True)], 'cancelled':[('readonly',True)]}), 'tasks': fields.one2many('project.task', 'project_id', "Task Activities"), 'planned_hours': fields.function(_progress_rate, multi="progress", string='Planned Time', help="Sum of planned hours of all tasks related to this project and its child projects.", store = { 'project.project': (<API key>, ['tasks', 'parent_id', 'child_ids'], 10), 'project.task': (<API key>, ['planned_hours', 'remaining_hours', 'work_ids', 'state'], 20), }), 'effective_hours': fields.function(_progress_rate, multi="progress", string='Time Spent', help="Sum of spent hours of all tasks related to this project and its child projects.", store = { 'project.project': (<API key>, ['tasks', 'parent_id', 'child_ids'], 10), 'project.task': (<API key>, ['planned_hours', 'remaining_hours', 'work_ids', 'state'], 20), }), 'total_hours': fields.function(_progress_rate, multi="progress", string='Total Time', help="Sum of total hours of all tasks related to this project and its child projects.", store = { 'project.project': (<API key>, ['tasks', 'parent_id', 'child_ids'], 10), 'project.task': (<API key>, ['planned_hours', 'remaining_hours', 'work_ids', 'state'], 20), }), 'progress_rate': fields.function(_progress_rate, multi="progress", string='Progress', type='float', group_operator="avg", help="Percent of tasks closed according to the total of tasks todo.", store = { 'project.project': (<API key>, ['tasks', 'parent_id', 'child_ids'], 10), 'project.task': (<API key>, ['planned_hours', 'remaining_hours', 'work_ids', 'state'], 20), }), '<API key>': fields.many2one('resource.calendar', 'Working Time', help="Timetable working hours to adjust the gantt diagram report", states={'close':[('readonly',True)]} ), 'type_ids': fields.many2many('project.task.type', '<API key>', 'project_id', 'type_id', 'Tasks Stages', states={'close':[('readonly',True)], 'cancelled':[('readonly',True)]}), 'task_count': fields.function(_task_count, type='integer', string="Open Tasks"), 'color': fields.integer('Color Index'), 'alias_id': fields.many2one('mail.alias', 'Alias', ondelete="restrict", required=True, help="Internal email associated with this project. Incoming emails are automatically synchronized" "with Tasks (or optionally Issues if the Issue Tracker module is installed)."), 'alias_model': fields.selection(_alias_models, "Alias Model", select=True, required=True, help="The kind of document created when an email is received on this project's email alias"), 'privacy_visibility': fields.selection(<API key>, 'Privacy / Visibility', required=True), 'state': fields.selection([('template', 'Template'),('draft','New'),('open','In Progress'), ('cancelled', 'Cancelled'),('pending','Pending'),('close','Closed')], 'Status', required=True,), 'doc_count': fields.function( _get_attached_docs, string="Number of documents attached", type='integer' ) } def _get_type_common(self, cr, uid, context): ids = self.pool.get('project.task.type').search(cr, uid, [('case_default','=',1)], context=context) return ids _order = "sequence, id" _defaults = { 'active': True, 'type': 'contract', 'state': 'open', 'priority': 1, 'sequence': 10, 'type_ids': _get_type_common, 'alias_model': 'project.task', 'privacy_visibility': 'employees', 'alias_domain': False, # always hide alias during creation } # TODO: Why not using a SQL contraints ? def _check_dates(self, cr, uid, ids, context=None): for leave in self.read(cr, uid, ids, ['date_start', 'date'], context=context): if leave['date_start'] and leave['date']: if leave['date_start'] > leave['date']: return False return True _constraints = [ (_check_dates, 'Error! project start-date must be lower than project end-date.', ['date_start', 'date']) ] def set_template(self, cr, uid, ids, context=None): res = self.setActive(cr, uid, ids, value=False, context=context) return res def set_done(self, cr, uid, ids, context=None): task_obj = self.pool.get('project.task') task_ids = task_obj.search(cr, uid, [('project_id', 'in', ids), ('state', 'not in', ('cancelled', 'done'))]) task_obj.case_close(cr, uid, task_ids, context=context) return self.write(cr, uid, ids, {'state':'close'}, context=context) def set_cancel(self, cr, uid, ids, context=None): task_obj = self.pool.get('project.task') task_ids = task_obj.search(cr, uid, [('project_id', 'in', ids), ('state', '!=', 'done')]) task_obj.case_cancel(cr, uid, task_ids, context=context) return self.write(cr, uid, ids, {'state':'cancelled'}, context=context) def set_pending(self, cr, uid, ids, context=None): return self.write(cr, uid, ids, {'state':'pending'}, context=context) def set_open(self, cr, uid, ids, context=None): return self.write(cr, uid, ids, {'state':'open'}, context=context) def reset_project(self, cr, uid, ids, context=None): return self.setActive(cr, uid, ids, value=True, context=context) def map_tasks(self, cr, uid, old_project_id, new_project_id, context=None): """ copy and map tasks from old to new project """ if context is None: context = {} map_task_id = {} task_obj = self.pool.get('project.task') proj = self.browse(cr, uid, old_project_id, context=context) for task in proj.tasks: map_task_id[task.id] = task_obj.copy(cr, uid, task.id, {}, context=context) self.write(cr, uid, [new_project_id], {'tasks':[(6,0, map_task_id.values())]}) task_obj.duplicate_task(cr, uid, map_task_id, context=context) return True def copy(self, cr, uid, id, default=None, context=None): if context is None: context = {} if default is None: default = {} context['active_test'] = False default['state'] = 'open' default['line_ids'] = [] default['tasks'] = [] # Don't prepare (expensive) data to copy children (analytic accounts), # they are discarded in analytic.copy(), and handled in duplicate_template() default['child_ids'] = [] default.pop('alias_name', None) default.pop('alias_id', None) proj = self.browse(cr, uid, id, context=context) if not default.get('name', False): default.update(name=_("%s (copy)") % (proj.name)) res = super(project, self).copy(cr, uid, id, default, context) self.map_tasks(cr,uid,id,res,context) return res def duplicate_template(self, cr, uid, ids, context=None): if context is None: context = {} data_obj = self.pool.get('ir.model.data') result = [] for proj in self.browse(cr, uid, ids, context=context): parent_id = context.get('parent_id', False) context.update({'<API key>': True}) new_date_start = time.strftime('%Y-%m-%d') new_date_end = False if proj.date_start and proj.date: start_date = date(*time.strptime(proj.date_start,'%Y-%m-%d')[:3]) end_date = date(*time.strptime(proj.date,'%Y-%m-%d')[:3]) new_date_end = (datetime(*time.strptime(new_date_start,'%Y-%m-%d')[:3])+(end_date-start_date)).strftime('%Y-%m-%d') context.update({'copy':True}) new_id = self.copy(cr, uid, proj.id, default = { 'name':_("%s (copy)") % (proj.name), 'state':'open', 'date_start':new_date_start, 'date':new_date_end, 'parent_id':parent_id}, context=context) result.append(new_id) child_ids = self.search(cr, uid, [('parent_id','=', proj.analytic_account_id.id)], context=context) parent_id = self.read(cr, uid, new_id, ['analytic_account_id'])['analytic_account_id'][0] if child_ids: self.duplicate_template(cr, uid, child_ids, context={'parent_id': parent_id}) if result and len(result): res_id = result[0] form_view_id = data_obj._get_id(cr, uid, 'project', 'edit_project') form_view = data_obj.read(cr, uid, form_view_id, ['res_id']) tree_view_id = data_obj._get_id(cr, uid, 'project', 'view_project') tree_view = data_obj.read(cr, uid, tree_view_id, ['res_id']) search_view_id = data_obj._get_id(cr, uid, 'project', '<API key>') search_view = data_obj.read(cr, uid, search_view_id, ['res_id']) return { 'name': _('Projects'), 'view_type': 'form', 'view_mode': 'form,tree', 'res_model': 'project.project', 'view_id': False, 'res_id': res_id, 'views': [(form_view['res_id'],'form'),(tree_view['res_id'],'tree')], 'type': 'ir.actions.act_window', 'search_view_id': search_view['res_id'], 'nodestroy': True } # set active value for a project, its sub projects and its tasks def setActive(self, cr, uid, ids, value=True, context=None): task_obj = self.pool.get('project.task') for proj in self.browse(cr, uid, ids, context=None): self.write(cr, uid, [proj.id], {'state': value and 'open' or 'template'}, context) cr.execute('select id from project_task where project_id=%s', (proj.id,)) tasks_id = [x[0] for x in cr.fetchall()] if tasks_id: task_obj.write(cr, uid, tasks_id, {'active': value}, context=context) child_ids = self.search(cr, uid, [('parent_id','=', proj.analytic_account_id.id)]) if child_ids: self.setActive(cr, uid, child_ids, value, context=None) return True def _schedule_header(self, cr, uid, ids, force_members=True, context=None): context = context or {} if type(ids) in (long, int,): ids = [ids] projects = self.browse(cr, uid, ids, context=context) for project in projects: if (not project.members) and force_members: raise osv.except_osv(_('Warning!'),_("You must assign members on the project '%s'!") % (project.name,)) resource_pool = self.pool.get('resource.resource') result = "from openerp.addons.resource.faces import *\n" result += "import datetime\n" for project in self.browse(cr, uid, ids, context=context): u_ids = [i.id for i in project.members] if project.user_id and (project.user_id.id not in u_ids): u_ids.append(project.user_id.id) for task in project.tasks: if task.state in ('done','cancelled'): continue if task.user_id and (task.user_id.id not in u_ids): u_ids.append(task.user_id.id) calendar_id = project.<API key> and project.<API key>.id or False resource_objs = resource_pool.generate_resources(cr, uid, u_ids, calendar_id, context=context) for key, vals in resource_objs.items(): result +=''' class User_%s(Resource): efficiency = %s ''' % (key, vals.get('efficiency', False)) result += ''' def Project(): ''' return result def _schedule_project(self, cr, uid, project, context=None): resource_pool = self.pool.get('resource.resource') calendar_id = project.<API key> and project.<API key>.id or False working_days = resource_pool.<API key>(cr, uid, calendar_id, context=context) # TODO: check if we need working_..., default values are ok. puids = [x.id for x in project.members] if project.user_id: puids.append(project.user_id.id) result = """ def Project_%d(): start = \'%s\' working_days = %s resource = %s """ % ( project.id, project.date_start or time.strftime('%Y-%m-%d'), working_days, '|'.join(['User_'+str(x) for x in puids]) or 'None' ) vacation = calendar_id and tuple(resource_pool.compute_vacation(cr, uid, calendar_id, context=context)) or False if vacation: result+= """ vacation = %s """ % ( vacation, ) return result #TODO: DO Resource allocation and compute availability def compute_allocation(self, rc, uid, ids, start_date, end_date, context=None): if context == None: context = {} allocation = {} return allocation def schedule_tasks(self, cr, uid, ids, context=None): context = context or {} if type(ids) in (long, int,): ids = [ids] projects = self.browse(cr, uid, ids, context=context) result = self._schedule_header(cr, uid, ids, False, context=context) for project in projects: result += self._schedule_project(cr, uid, project, context=context) result += self.pool.get('project.task')._generate_task(cr, uid, project.tasks, ident=4, context=context) local_dict = {} exec result in local_dict projects_gantt = Task.BalancedProject(local_dict['Project']) for project in projects: project_gantt = getattr(projects_gantt, 'Project_%d' % (project.id,)) for task in project.tasks: if task.state in ('done','cancelled'): continue p = getattr(project_gantt, 'Task_%d' % (task.id,)) self.pool.get('project.task').write(cr, uid, [task.id], { 'date_start': p.start.strftime('%Y-%m-%d %H:%M:%S'), 'date_end': p.end.strftime('%Y-%m-%d %H:%M:%S') }, context=context) if (not task.user_id) and (p.booked_resource): self.pool.get('project.task').write(cr, uid, [task.id], { 'user_id': int(p.booked_resource[0].name[5:]), }, context=context) return True # OpenChatter methods and notifications def create(self, cr, uid, vals, context=None): if context is None: context = {} # Prevent double project creation when 'use_tasks' is checked! context = dict(context, <API key>=True) mail_alias = self.pool.get('mail.alias') if not vals.get('alias_id') and vals.get('name', False): vals.pop('alias_name', None) # prevent errors during copy() alias_id = mail_alias.create_unique_alias(cr, uid, # Using '+' allows using subaddressing for those who don't # have a catchall domain setup. {'alias_name': "project+"+short_name(vals['name'])}, model_name=vals.get('alias_model', 'project.task'), context=context) vals['alias_id'] = alias_id if vals.get('type', False) not in ('template','contract'): vals['type'] = 'contract' project_id = super(project, self).create(cr, uid, vals, context) mail_alias.write(cr, uid, [vals['alias_id']], {'alias_defaults': {'project_id': project_id} }, context) return project_id def write(self, cr, uid, ids, vals, context=None): # if alias_model has been changed, update alias_model_id accordingly if vals.get('alias_model'): model_ids = self.pool.get('ir.model').search(cr, uid, [('model', '=', vals.get('alias_model', 'project.task'))]) vals.update(alias_model_id=model_ids[0]) return super(project, self).write(cr, uid, ids, vals, context=context) class task(base_stage, osv.osv): _name = "project.task" _description = "Task" _date_name = "date_start" _inherit = ['mail.thread', 'ir.needaction_mixin'] _track = { 'state': { 'project.mt_task_new': lambda self, cr, uid, obj, ctx=None: obj['state'] in ['new', 'draft'], 'project.mt_task_started': lambda self, cr, uid, obj, ctx=None: obj['state'] == 'open', 'project.mt_task_closed': lambda self, cr, uid, obj, ctx=None: obj['state'] == 'done', }, 'stage_id': { 'project.mt_task_stage': lambda self, cr, uid, obj, ctx=None: obj['state'] not in ['new', 'draft', 'done', 'open'], }, 'kanban_state': { # kanban state: tracked, but only block subtype 'project.mt_task_blocked': lambda self, cr, uid, obj, ctx=None: obj['kanban_state'] == 'blocked', }, } def <API key>(self, cr, uid, context=None): """ Override of base_stage to add project specific behavior """ project_id = self.<API key>(cr, uid, context) if project_id: project = self.pool.get('project.project').browse(cr, uid, project_id, context=context) if project and project.partner_id: return project.partner_id.id return super(task, self).<API key>(cr, uid, context=context) def <API key>(self, cr, uid, context=None): """ Gives default section by checking if present in the context """ return (self.<API key>(cr, uid, context=context) or False) def <API key>(self, cr, uid, context=None): """ Gives default stage_id """ project_id = self.<API key>(cr, uid, context=context) return self.stage_find(cr, uid, [], project_id, [('state', '=', 'draft')], context=context) def <API key>(self, cr, uid, context=None): """ Returns ID of project based on the value of 'default_project_id' context key, or None if it cannot be resolved to a single project. """ if context is None: context = {} if type(context.get('default_project_id')) in (int, long): return context['default_project_id'] if isinstance(context.get('default_project_id'), basestring): project_name = context['default_project_id'] project_ids = self.pool.get('project.project').name_search(cr, uid, name=project_name, context=context) if len(project_ids) == 1: return project_ids[0][0] return None def <API key>(self, cr, uid, ids, domain, read_group_order=None, access_rights_uid=None, context=None): stage_obj = self.pool.get('project.task.type') order = stage_obj._order access_rights_uid = access_rights_uid or uid if read_group_order == 'stage_id desc': order = '%s desc' % order search_domain = [] project_id = self.<API key>(cr, uid, context=context) if project_id: search_domain += ['|', ('project_ids', '=', project_id)] search_domain += [('id', 'in', ids)] stage_ids = stage_obj._search(cr, uid, search_domain, order=order, access_rights_uid=access_rights_uid, context=context) result = stage_obj.name_get(cr, access_rights_uid, stage_ids, context=context) # restore order of the search result.sort(lambda x,y: cmp(stage_ids.index(x[0]), stage_ids.index(y[0]))) fold = {} for stage in stage_obj.browse(cr, access_rights_uid, stage_ids, context=context): fold[stage.id] = stage.fold or False return result, fold def _read_group_user_id(self, cr, uid, ids, domain, read_group_order=None, access_rights_uid=None, context=None): res_users = self.pool.get('res.users') project_id = self.<API key>(cr, uid, context=context) access_rights_uid = access_rights_uid or uid if project_id: ids += self.pool.get('project.project').read(cr, access_rights_uid, project_id, ['members'], context=context)['members'] order = res_users._order # lame way to allow reverting search, should just work in the trivial case if read_group_order == 'user_id desc': order = '%s desc' % order # de-duplicate and apply search order ids = res_users._search(cr, uid, [('id','in',ids)], order=order, access_rights_uid=access_rights_uid, context=context) result = res_users.name_get(cr, access_rights_uid, ids, context=context) # restore order of the search result.sort(lambda x,y: cmp(ids.index(x[0]), ids.index(y[0]))) return result, {} _group_by_full = { 'stage_id': <API key>, 'user_id': _read_group_user_id, } def _str_get(self, task, level=0, border='***', context=None): return border+' '+(task.user_id and task.user_id.name.upper() or '')+(level and (': L'+str(level)) or '')+(' - %.1fh / %.1fh'%(task.effective_hours or 0.0,task.planned_hours))+' '+border+'\n'+ \ border[0]+' '+(task.name or '')+'\n'+ \ (task.description or '')+'\n\n' # Compute: effective_hours, total_hours, progress def _hours_get(self, cr, uid, ids, field_names, args, context=None): res = {} cr.execute("SELECT task_id, COALESCE(SUM(hours),0) FROM project_task_work WHERE task_id IN %s GROUP BY task_id",(tuple(ids),)) hours = dict(cr.fetchall()) for task in self.browse(cr, uid, ids, context=context): res[task.id] = {'effective_hours': hours.get(task.id, 0.0), 'total_hours': (task.remaining_hours or 0.0) + hours.get(task.id, 0.0)} res[task.id]['delay_hours'] = res[task.id]['total_hours'] - task.planned_hours res[task.id]['progress'] = 0.0 if (task.remaining_hours + hours.get(task.id, 0.0)): res[task.id]['progress'] = round(min(100.0 * hours.get(task.id, 0.0) / res[task.id]['total_hours'], 99.99),2) if task.stage_id and task.stage_id.fold: res[task.id]['progress'] = 100.0 return res def onchange_remaining(self, cr, uid, ids, remaining=0.0, planned=0.0): if remaining and not planned: return {'value':{'planned_hours': remaining}} return {} def onchange_planned(self, cr, uid, ids, planned=0.0, effective=0.0): return {'value':{'remaining_hours': planned - effective}} def onchange_project(self, cr, uid, id, project_id, context=None): if project_id: project = self.pool.get('project.project').browse(cr, uid, project_id, context=context) if project and project.partner_id: return {'value': {'partner_id': project.partner_id.id}} return {} def duplicate_task(self, cr, uid, map_ids, context=None): mapper = lambda t: map_ids.get(t.id, t.id) for task in self.browse(cr, uid, map_ids.values(), context): new_child_ids = set(map(mapper, task.child_ids)) new_parent_ids = set(map(mapper, task.parent_ids)) if new_child_ids or new_parent_ids: task.write({'parent_ids': [(6,0,list(new_parent_ids))], 'child_ids': [(6,0,list(new_child_ids))]}) def copy_data(self, cr, uid, id, default=None, context=None): if default is None: default = {} default = default or {} default.update({'work_ids':[], 'date_start': False, 'date_end': False, 'date_deadline': False}) if not default.get('remaining_hours', False): default['remaining_hours'] = float(self.read(cr, uid, id, ['planned_hours'])['planned_hours']) default['active'] = True if not default.get('name', False): default['name'] = self.browse(cr, uid, id, context=context).name or '' if not context.get('copy',False): new_name = _("%s (copy)") % (default.get('name', '')) default.update({'name':new_name}) return super(task, self).copy_data(cr, uid, id, default, context) def copy(self, cr, uid, id, default=None, context=None): if context is None: context = {} if default is None: default = {} if not context.get('copy', False): stage = self.<API key>(cr, uid, context=context) if stage: default['stage_id'] = stage return super(task, self).copy(cr, uid, id, default, context) def _is_template(self, cr, uid, ids, field_name, arg, context=None): res = {} for task in self.browse(cr, uid, ids, context=context): res[task.id] = True if task.project_id: if task.project_id.active == False or task.project_id.state == 'template': res[task.id] = False return res def _get_task(self, cr, uid, ids, context=None): result = {} for work in self.pool.get('project.task.work').browse(cr, uid, ids, context=context): if work.task_id: result[work.task_id.id] = True return result.keys() _columns = { 'active': fields.function(_is_template, store=True, string='Not a Template Task', type='boolean', help="This field is computed automatically and have the same behavior than the boolean 'active' field: if the task is linked to a template or unactivated project, it will be hidden unless specifically asked."), 'name': fields.char('Task Summary', size=128, required=True, select=True), 'description': fields.text('Description'), 'priority': fields.selection([('4','Very Low'), ('3','Low'), ('2','Medium'), ('1','Important'), ('0','Very important')], 'Priority', select=True), 'sequence': fields.integer('Sequence', select=True, help="Gives the sequence order when displaying a list of tasks."), 'stage_id': fields.many2one('project.task.type', 'Stage', track_visibility='onchange', select=True, domain="['&', ('fold', '=', False), ('project_ids', '=', project_id)]"), 'state': fields.related('stage_id', 'state', type="selection", store=True, selection=_TASK_STATE, string="Status", readonly=True, select=True, help='The status is set to \'Draft\', when a case is created.\ If the case is in progress the status is set to \'Open\'.\ When the case is over, the status is set to \'Done\'.\ If the case needs to be reviewed then the status is \ set to \'Pending\'.'), 'categ_ids': fields.many2many('project.category', string='Tags'), 'kanban_state': fields.selection([('normal', 'Normal'),('blocked', 'Blocked'),('done', 'Ready for next stage')], 'Kanban State', track_visibility='onchange', help="A task's kanban state indicates special situations affecting it:\n" " * Normal is the default situation\n" " * Blocked indicates something is preventing the progress of this task\n" " * Ready for next stage indicates the task is ready to be pulled to the next stage", readonly=True, required=False), 'create_date': fields.datetime('Create Date', readonly=True, select=True), 'write_date': fields.datetime('Last Modification Date', readonly=True, select=True), #not displayed in the view but it might be useful with base_action_rule module (and it needs to be defined first for that) 'date_start': fields.datetime('Starting Date',select=True), 'date_end': fields.datetime('Ending Date',select=True), 'date_deadline': fields.date('Deadline',select=True), 'project_id': fields.many2one('project.project', 'Project', ondelete='set null', select=True, track_visibility='onchange'), 'parent_ids': fields.many2many('project.task', '<API key>', 'task_id', 'parent_id', 'Parent Tasks'), 'child_ids': fields.many2many('project.task', '<API key>', 'parent_id', 'task_id', 'Delegated Tasks'), 'notes': fields.text('Notes'), 'planned_hours': fields.float('Initially Planned Hours', help='Estimated time to do the task, usually set by the project manager when the task is in draft state.'), 'effective_hours': fields.function(_hours_get, string='Hours Spent', multi='hours', help="Computed using the sum of the task work done.", store = { 'project.task': (lambda self, cr, uid, ids, c={}: ids, ['work_ids', 'remaining_hours', 'planned_hours'], 10), 'project.task.work': (_get_task, ['hours'], 10), }), 'remaining_hours': fields.float('Remaining Hours', digits=(16,2), help="Total remaining time, can be re-estimated periodically by the assignee of the task."), 'total_hours': fields.function(_hours_get, string='Total', multi='hours', help="Computed as: Time Spent + Remaining Time.", store = { 'project.task': (lambda self, cr, uid, ids, c={}: ids, ['work_ids', 'remaining_hours', 'planned_hours'], 10), 'project.task.work': (_get_task, ['hours'], 10), }), 'progress': fields.function(_hours_get, string='Progress (%)', multi='hours', group_operator="avg", help="If the task has a progress of 99.99% you should close the task if it's finished or reevaluate the time", store = { 'project.task': (lambda self, cr, uid, ids, c={}: ids, ['work_ids', 'remaining_hours', 'planned_hours', 'state', 'stage_id'], 10), 'project.task.work': (_get_task, ['hours'], 10), }), 'delay_hours': fields.function(_hours_get, string='Delay Hours', multi='hours', help="Computed as difference between planned hours by the project manager and the total hours of the task.", store = { 'project.task': (lambda self, cr, uid, ids, c={}: ids, ['work_ids', 'remaining_hours', 'planned_hours'], 10), 'project.task.work': (_get_task, ['hours'], 10), }), 'user_id': fields.many2one('res.users', 'Assigned to', select=True, track_visibility='onchange'), 'delegated_user_id': fields.related('child_ids', 'user_id', type='many2one', relation='res.users', string='Delegated To'), 'partner_id': fields.many2one('res.partner', 'Customer'), 'work_ids': fields.one2many('project.task.work', 'task_id', 'Work done'), 'manager_id': fields.related('project_id', 'analytic_account_id', 'user_id', type='many2one', relation='res.users', string='Project Manager'), 'company_id': fields.many2one('res.company', 'Company'), 'id': fields.integer('ID', readonly=True), 'color': fields.integer('Color Index'), 'user_email': fields.related('user_id', 'email', type='char', string='User Email', readonly=True), } _defaults = { 'stage_id': <API key>, 'project_id': <API key>, 'kanban_state': 'normal', 'priority': '2', 'progress': 0, 'sequence': 10, 'active': True, 'user_id': lambda obj, cr, uid, ctx=None: uid, 'company_id': lambda self, cr, uid, ctx=None: self.pool.get('res.company').<API key>(cr, uid, 'project.task', context=ctx), 'partner_id': lambda self, cr, uid, ctx=None: self.<API key>(cr, uid, context=ctx), } _order = "priority, sequence, date_start, name, id" def set_high_priority(self, cr, uid, ids, *args): """Set task priority to high """ return self.write(cr, uid, ids, {'priority' : '0'}) def set_normal_priority(self, cr, uid, ids, *args): """Set task priority to normal """ return self.write(cr, uid, ids, {'priority' : '2'}) def _check_recursion(self, cr, uid, ids, context=None): for id in ids: visited_branch = set() visited_node = set() res = self._check_cycle(cr, uid, id, visited_branch, visited_node, context=context) if not res: return False return True def _check_cycle(self, cr, uid, id, visited_branch, visited_node, context=None): if id in visited_branch: #Cycle return False if id in visited_node: #Already tested don't work one more time for nothing return True visited_branch.add(id) visited_node.add(id) #visit child using DFS task = self.browse(cr, uid, id, context=context) for child in task.child_ids: res = self._check_cycle(cr, uid, child.id, visited_branch, visited_node, context=context) if not res: return False visited_branch.remove(id) return True def _check_dates(self, cr, uid, ids, context=None): if context == None: context = {} obj_task = self.browse(cr, uid, ids[0], context=context) start = obj_task.date_start or False end = obj_task.date_end or False if start and end : if start > end: return False return True _constraints = [ (_check_recursion, 'Error ! You cannot create recursive tasks.', ['parent_ids']), (_check_dates, 'Error ! Task end-date must be greater than task start-date', ['date_start','date_end']) ] # Override view according to the company definition def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False): users_obj = self.pool.get('res.users') if context is None: context = {} res = super(task, self).fields_view_get(cr, uid, view_id, view_type, context, toolbar, submenu=submenu) # read uom as admin to avoid access rights issues, e.g. for portal/share users, # this should be safe (no context passed to avoid side-effects) obj_tm = users_obj.browse(cr, SUPERUSER_ID, uid, context=context).company_id.<API key> try: # using get_object to get translation value uom_hour = self.pool['ir.model.data'].get_object(cr, uid, 'product', 'product_uom_hour', context=context) except ValueError: uom_hour = False if not obj_tm or not uom_hour or obj_tm.id == uom_hour.id: return res eview = etree.fromstring(res['arch']) # if the <API key> is not in hours (so in days), display it as a float field def _check_rec(eview): if eview.attrib.get('widget','') == 'float_time': eview.set('widget','float') for child in eview: _check_rec(child) return True _check_rec(eview) res['arch'] = etree.tostring(eview) # replace reference of 'Hours' to 'Day(s)' for f in res['fields']: # TODO this NOT work in different language than english # the field 'Initially Planned Hours' should be replaced by 'Initially Planned Days' # but string 'Initially Planned Days' is not available in translation if 'Hours' in res['fields'][f]['string']: res['fields'][f]['string'] = res['fields'][f]['string'].replace('Hours', obj_tm.name) return res # Case management def stage_find(self, cr, uid, cases, section_id, domain=[], order='sequence', context=None): """ Override of the base.stage method Parameter of the stage search taken from the lead: - section_id: if set, stages must belong to this section or be a default stage; if not set, stages must be default stages """ if isinstance(cases, (int, long)): cases = self.browse(cr, uid, cases, context=context) # collect all section_ids section_ids = [] if section_id: section_ids.append(section_id) for task in cases: if task.project_id: section_ids.append(task.project_id.id) search_domain = [] if section_ids: search_domain = [('|')] * (len(section_ids)-1) for section_id in section_ids: search_domain.append(('project_ids', '=', section_id)) search_domain += list(domain) # perform search, return the first found stage_ids = self.pool.get('project.task.type').search(cr, uid, search_domain, order=order, context=context) if stage_ids: return stage_ids[0] return False def _check_child_task(self, cr, uid, ids, context=None): if context == None: context = {} tasks = self.browse(cr, uid, ids, context=context) for task in tasks: if task.child_ids: for child in task.child_ids: if child.state in ['draft', 'open', 'pending']: raise osv.except_osv(_("Warning!"), _("Child task still open.\nPlease cancel or complete child task first.")) return True def action_close(self, cr, uid, ids, context=None): """ This action closes the task """ task_id = len(ids) and ids[0] or False self._check_child_task(cr, uid, ids, context=context) if not task_id: return False return self.do_close(cr, uid, [task_id], context=context) def do_close(self, cr, uid, ids, context=None): """ Compatibility when changing to case_close. """ return self.case_close(cr, uid, ids, context=context) def case_close(self, cr, uid, ids, context=None): """ Closes Task """ if not isinstance(ids, list): ids = [ids] for task in self.browse(cr, uid, ids, context=context): vals = {} project = task.project_id for parent_id in task.parent_ids: if parent_id.state in ('pending','draft'): reopen = True for child in parent_id.child_ids: if child.id != task.id and child.state not in ('done','cancelled'): reopen = False if reopen: self.do_reopen(cr, uid, [parent_id.id], context=context) # close task vals['remaining_hours'] = 0.0 if not task.date_end: vals['date_end'] = fields.datetime.now() self.case_set(cr, uid, [task.id], 'done', vals, context=context) return True def do_reopen(self, cr, uid, ids, context=None): for task in self.browse(cr, uid, ids, context=context): project = task.project_id self.case_set(cr, uid, [task.id], 'open', {}, context=context) return True def do_cancel(self, cr, uid, ids, context=None): """ Compatibility when changing to case_cancel. """ return self.case_cancel(cr, uid, ids, context=context) def case_cancel(self, cr, uid, ids, context=None): tasks = self.browse(cr, uid, ids, context=context) self._check_child_task(cr, uid, ids, context=context) for task in tasks: self.case_set(cr, uid, [task.id], 'cancelled', {'remaining_hours': 0.0}, context=context) return True def do_open(self, cr, uid, ids, context=None): """ Compatibility when changing to case_open. """ return self.case_open(cr, uid, ids, context=context) def case_open(self, cr, uid, ids, context=None): if not isinstance(ids,list): ids = [ids] return self.case_set(cr, uid, ids, 'open', {'date_start': fields.datetime.now()}, context=context) def do_draft(self, cr, uid, ids, context=None): """ Compatibility when changing to case_draft. """ return self.case_draft(cr, uid, ids, context=context) def case_draft(self, cr, uid, ids, context=None): return self.case_set(cr, uid, ids, 'draft', {}, context=context) def do_pending(self, cr, uid, ids, context=None): """ Compatibility when changing to case_pending. """ return self.case_pending(cr, uid, ids, context=context) def case_pending(self, cr, uid, ids, context=None): return self.case_set(cr, uid, ids, 'pending', {}, context=context) def <API key>(self, cr, uid, task_id, delegated_task_id, context=None): attachment = self.pool.get('ir.attachment') attachment_ids = attachment.search(cr, uid, [('res_model', '=', self._name), ('res_id', '=', task_id)], context=context) new_attachment_ids = [] for attachment_id in attachment_ids: new_attachment_ids.append(attachment.copy(cr, uid, attachment_id, default={'res_id': delegated_task_id}, context=context)) return new_attachment_ids def do_delegate(self, cr, uid, ids, delegate_data=None, context=None): """ Delegate Task to another users. """ if delegate_data is None: delegate_data = {} assert delegate_data['user_id'], _("Delegated User should be specified") delegated_tasks = {} for task in self.browse(cr, uid, ids, context=context): delegated_task_id = self.copy(cr, uid, task.id, { 'name': delegate_data['name'], 'project_id': delegate_data['project_id'] and delegate_data['project_id'][0] or False, 'user_id': delegate_data['user_id'] and delegate_data['user_id'][0] or False, 'planned_hours': delegate_data['planned_hours'] or 0.0, 'parent_ids': [(6, 0, [task.id])], 'description': delegate_data['<API key>'] or '', 'child_ids': [], 'work_ids': [] }, context=context) self.<API key>(cr, uid, task.id, delegated_task_id, context=context) newname = delegate_data['prefix'] or '' task.write({ 'remaining_hours': delegate_data['planned_hours_me'], 'planned_hours': delegate_data['planned_hours_me'] + (task.effective_hours or 0.0), 'name': newname, }, context=context) if delegate_data['state'] == 'pending': self.do_pending(cr, uid, [task.id], context=context) elif delegate_data['state'] == 'done': self.do_close(cr, uid, [task.id], context=context) delegated_tasks[task.id] = delegated_task_id return delegated_tasks def set_remaining_time(self, cr, uid, ids, remaining_time=1.0, context=None): for task in self.browse(cr, uid, ids, context=context): if (task.state=='draft') or (task.planned_hours==0.0): self.write(cr, uid, [task.id], {'planned_hours': remaining_time}, context=context) self.write(cr, uid, ids, {'remaining_hours': remaining_time}, context=context) return True def <API key>(self, cr, uid, ids, context=None): return self.set_remaining_time(cr, uid, ids, 1.0, context) def <API key>(self, cr, uid, ids, context=None): return self.set_remaining_time(cr, uid, ids, 2.0, context) def <API key>(self, cr, uid, ids, context=None): return self.set_remaining_time(cr, uid, ids, 5.0, context) def <API key>(self, cr, uid, ids, context=None): return self.set_remaining_time(cr, uid, ids, 10.0, context) def <API key>(self, cr, uid, ids, context=None): return self.write(cr, uid, ids, {'kanban_state': 'blocked'}, context=context) def <API key>(self, cr, uid, ids, context=None): return self.write(cr, uid, ids, {'kanban_state': 'normal'}, context=context) def <API key>(self, cr, uid, ids, context=None): self.write(cr, uid, ids, {'kanban_state': 'done'}, context=context) return False def _store_history(self, cr, uid, ids, context=None): for task in self.browse(cr, uid, ids, context=context): self.pool.get('project.task.history').create(cr, uid, { 'task_id': task.id, 'remaining_hours': task.remaining_hours, 'planned_hours': task.planned_hours, 'kanban_state': task.kanban_state, 'type_id': task.stage_id.id, 'state': task.state, 'user_id': task.user_id.id }, context=context) return True def create(self, cr, uid, vals, context=None): if context is None: context = {} if vals.get('project_id') and not context.get('default_project_id'): context['default_project_id'] = vals.get('project_id') # context: no_log, because subtype already handle this create_context = dict(context, mail_create_nolog=True) task_id = super(task, self).create(cr, uid, vals, context=create_context) self._store_history(cr, uid, [task_id], context=context) return task_id # Overridden to reset the kanban_state to normal whenever # the stage (stage_id) of the task changes. def write(self, cr, uid, ids, vals, context=None): if isinstance(ids, (int, long)): ids = [ids] if vals and not 'kanban_state' in vals and 'stage_id' in vals: new_stage = vals.get('stage_id') vals_reset_kstate = dict(vals, kanban_state='normal') for t in self.browse(cr, uid, ids, context=context): #TO FIX:Kanban view doesn't raise warning #stages = [stage.id for stage in t.project_id.type_ids] #if new_stage not in stages: #raise osv.except_osv(_('Warning!'), _('Stage is not defined in the project.')) write_vals = vals_reset_kstate if t.stage_id != new_stage else vals super(task, self).write(cr, uid, [t.id], write_vals, context=context) result = True else: result = super(task, self).write(cr, uid, ids, vals, context=context) if ('stage_id' in vals) or ('remaining_hours' in vals) or ('user_id' in vals) or ('state' in vals) or ('kanban_state' in vals): self._store_history(cr, uid, ids, context=context) return result def unlink(self, cr, uid, ids, context=None): if context == None: context = {} self._check_child_task(cr, uid, ids, context=context) res = super(task, self).unlink(cr, uid, ids, context) return res def _generate_task(self, cr, uid, tasks, ident=4, context=None): context = context or {} result = "" ident = ' '*ident company = self.pool["res.users"].browse(cr, uid, uid, context=context).company_id duration_uom = { 'day(s)': 'd', 'days': 'd', 'day': 'd', 'd': 'd', 'month(s)': 'm', 'months': 'm', 'month': 'month', 'm': 'm', 'week(s)': 'w', 'weeks': 'w', 'week': 'w', 'w': 'w', 'hour(s)': 'H', 'hours': 'H', 'hour': 'H', 'h': 'H', }.get(company.<API key>.name.lower(), "hour(s)") for task in tasks: if task.state in ('done','cancelled'): continue result += ''' %sdef Task_%s(): %s todo = \"%.2f%s\" %s effort = \"%.2f%s\"''' % (ident, task.id, ident, task.remaining_hours, duration_uom, ident, task.total_hours, duration_uom) start = [] for t2 in task.parent_ids: start.append("up.Task_%s.end" % (t2.id,)) if start: result += ''' %s start = max(%s) ''' % (ident,','.join(start)) if task.user_id: result += ''' %s resource = %s ''' % (ident, 'User_'+str(task.user_id.id)) result += "\n" return result # Mail gateway def <API key>(self, cr, uid, ids, context=None): """ Override to get the reply_to of the parent project. """ return [task.project_id.<API key>()[0] if task.project_id else False for task in self.browse(cr, uid, ids, context=context)] def message_new(self, cr, uid, msg, custom_values=None, context=None): """ Override to updates the document according to the email. """ if custom_values is None: custom_values = {} defaults = { 'name': msg.get('subject'), 'planned_hours': 0.0, } defaults.update(custom_values) return super(task, self).message_new(cr, uid, msg, custom_values=defaults, context=context) def message_update(self, cr, uid, ids, msg, update_vals=None, context=None): """ Override to update the task according to the email. """ if update_vals is None: update_vals = {} maps = { 'cost': 'planned_hours', } for line in msg['body'].split('\n'): line = line.strip() res = tools.command_re.match(line) if res: match = res.group(1).lower() field = maps.get(match) if field: try: update_vals[field] = float(res.group(2).lower()) except (ValueError, TypeError): pass return super(task, self).message_update(cr, uid, ids, msg, update_vals=update_vals, context=context) def <API key>(self, cr, uid, ids, context=None): if self.pool.get('res.users').has_group(cr, uid, 'project.<API key>'): return { 'view_type': 'form', "view_mode": 'form', 'res_model': 'project.task.reevaluate', 'type': 'ir.actions.act_window', 'target': 'new', } return self.do_reopen(cr, uid, ids, context=context) class project_work(osv.osv): _name = "project.task.work" _description = "Project Task Work" _columns = { 'name': fields.char('Work summary', size=128), 'date': fields.datetime('Date', select="1"), 'task_id': fields.many2one('project.task', 'Task', ondelete='cascade', required=True, select="1"), 'hours': fields.float('Time Spent'), 'user_id': fields.many2one('res.users', 'Done by', required=True, select="1"), 'company_id': fields.related('task_id', 'company_id', type='many2one', relation='res.company', string='Company', store=True, readonly=True) } _defaults = { 'user_id': lambda obj, cr, uid, context: uid, 'date': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S') } _order = "date desc" def create(self, cr, uid, vals, *args, **kwargs): if 'hours' in vals and (not vals['hours']): vals['hours'] = 0.00 if 'task_id' in vals: cr.execute('update project_task set remaining_hours=remaining_hours - %s where id=%s', (vals.get('hours',0.0), vals['task_id'])) return super(project_work,self).create(cr, uid, vals, *args, **kwargs) def write(self, cr, uid, ids, vals, context=None): if 'hours' in vals and (not vals['hours']): vals['hours'] = 0.00 if 'hours' in vals: for work in self.browse(cr, uid, ids, context=context): cr.execute('update project_task set remaining_hours=remaining_hours - %s + (%s) where id=%s', (vals.get('hours',0.0), work.hours, work.task_id.id)) return super(project_work,self).write(cr, uid, ids, vals, context) def unlink(self, cr, uid, ids, *args, **kwargs): for work in self.browse(cr, uid, ids): cr.execute('update project_task set remaining_hours=remaining_hours + %s where id=%s', (work.hours, work.task_id.id)) return super(project_work,self).unlink(cr, uid, ids,*args, **kwargs) class <API key>(osv.osv): _inherit = 'account.analytic.account' _description = 'Analytic Account' _columns = { 'use_tasks': fields.boolean('Tasks',help="If checked, this contract will be available in the project menu and you will be able to manage tasks or track issues"), 'company_uom_id': fields.related('company_id', '<API key>', type='many2one', relation='product.uom'), } def on_change_template(self, cr, uid, ids, template_id, context=None): res = super(<API key>, self).on_change_template(cr, uid, ids, template_id, context=context) if template_id and 'value' in res: template = self.browse(cr, uid, template_id, context=context) res['value']['use_tasks'] = template.use_tasks return res def <API key>(self, cr, uid, vals, context=None): ''' This function is used to decide if a project needs to be automatically created or not when an analytic account is created. It returns True if it needs to be so, False otherwise. ''' if context is None: context = {} return vals.get('use_tasks') and not '<API key>' in context def project_create(self, cr, uid, analytic_account_id, vals, context=None): ''' This function is called at the time of analytic account creation and is used to create a project automatically linked to it if the conditions are meet. ''' project_pool = self.pool.get('project.project') project_id = project_pool.search(cr, uid, [('analytic_account_id','=', analytic_account_id)]) if not project_id and self.<API key>(cr, uid, vals, context=context): project_values = { 'name': vals.get('name'), 'analytic_account_id': analytic_account_id, 'type': vals.get('type','contract'), } return project_pool.create(cr, uid, project_values, context=context) return False def create(self, cr, uid, vals, context=None): if context is None: context = {} if vals.get('child_ids', False) and context.get('<API key>', False): vals['child_ids'] = [] analytic_account_id = super(<API key>, self).create(cr, uid, vals, context=context) self.project_create(cr, uid, analytic_account_id, vals, context=context) return analytic_account_id def write(self, cr, uid, ids, vals, context=None): if isinstance(ids, (int, long)): ids = [ids] vals_for_project = vals.copy() for account in self.browse(cr, uid, ids, context=context): if not vals.get('name'): vals_for_project['name'] = account.name if not vals.get('type'): vals_for_project['type'] = account.type self.project_create(cr, uid, account.id, vals_for_project, context=context) return super(<API key>, self).write(cr, uid, ids, vals, context=context) def unlink(self, cr, uid, ids, *args, **kwargs): project_obj = self.pool.get('project.project') analytic_ids = project_obj.search(cr, uid, [('analytic_account_id','in',ids)]) if analytic_ids: raise osv.except_osv(_('Warning!'), _('Please delete the project linked with this account first.')) return super(<API key>, self).unlink(cr, uid, ids, *args, **kwargs) def name_search(self, cr, uid, name, args=None, operator='ilike', context=None, limit=100): if args is None: args = [] if context is None: context={} if context.get('current_model') == 'project.project': project_ids = self.search(cr, uid, args + [('name', operator, name)], limit=limit, context=context) return self.name_get(cr, uid, project_ids, context=context) return super(<API key>, self).name_search(cr, uid, name, args=args, operator=operator, context=context, limit=limit) class project_project(osv.osv): _inherit = 'project.project' _defaults = { 'use_tasks': True } class <API key>(osv.osv): """ Tasks History, used for cumulative flow charts (Lean/Agile) """ _name = 'project.task.history' _description = 'History of Tasks' _rec_name = 'task_id' _log_access = False def _get_date(self, cr, uid, ids, name, arg, context=None): result = {} for history in self.browse(cr, uid, ids, context=context): if history.state in ('done','cancelled'): result[history.id] = history.date continue cr.execute('''select date from <API key> where task_id=%s and id>%s order by id limit 1''', (history.task_id.id, history.id)) res = cr.fetchone() result[history.id] = res and res[0] or False return result def _get_related_date(self, cr, uid, ids, context=None): result = [] for history in self.browse(cr, uid, ids, context=context): cr.execute('''select id from <API key> where task_id=%s and id<%s order by id desc limit 1''', (history.task_id.id, history.id)) res = cr.fetchone() if res: result.append(res[0]) return result _columns = { 'task_id': fields.many2one('project.task', 'Task', ondelete='cascade', required=True, select=True), 'type_id': fields.many2one('project.task.type', 'Stage'), 'state': fields.selection([('draft', 'New'), ('cancelled', 'Cancelled'),('open', 'In Progress'),('pending', 'Pending'), ('done', 'Done')], 'Status'), 'kanban_state': fields.selection([('normal', 'Normal'),('blocked', 'Blocked'),('done', 'Ready for next stage')], 'Kanban State', required=False), 'date': fields.date('Date', select=True), 'end_date': fields.function(_get_date, string='End Date', type="date", store={ 'project.task.history': (_get_related_date, None, 20) }), 'remaining_hours': fields.float('Remaining Time', digits=(16,2)), 'planned_hours': fields.float('Planned Time', digits=(16,2)), 'user_id': fields.many2one('res.users', 'Responsible'), } _defaults = { 'date': fields.date.context_today, } class <API key>(osv.osv): _name = 'project.task.history.cumulative' _table = '<API key>' _inherit = 'project.task.history' _auto = False _columns = { 'end_date': fields.date('End Date'), 'project_id': fields.many2one('project.project', 'Project'), } def init(self, cr): tools.drop_view_if_exists(cr, '<API key>') class project_category(osv.osv): """ Category of project's task (or issue) """ _name = "project.category" _description = "Category of project's task, issue, ..." _columns = { 'name': fields.char('Name', size=64, required=True, translate=True), } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
package org.rstudio.core.client.widget; import com.google.gwt.user.client.DOM; import com.google.gwt.user.client.ui.SimplePanel; import com.google.gwt.user.client.ui.Widget; /** * A widget with html5 header (aka role="banner") element wrapping another widget */ public class BannerWidget extends SimplePanel { public BannerWidget(Widget child) { super(DOM.createElement("header")); setWidget(child); } }
/* iotcp_name2ip.c - convert a host name to its ip address * * Parameters- * name - the pointer to the string of hostname. * * Returns- * ip - the pointer to the string of ip address. * NULL - convert operation failed, host not reachable. */ #include "mdef.h" #include "gtm_socket.h" #include "gtm_netdb.h" #include "gtm_inet.h" #include "gtm_stdio.h" #include "io.h" char *iotcp_name2ip(char *name) { /* only ASCII range characters allowed in hostnames, we are not using libidn to resolve hostnames that might have international characters in their name */ struct hostent *host_ptr; if (NULL == (host_ptr = GETHOSTBYNAME(name))) return NULL; return INET_NTOA(*((struct in_addr *)host_ptr->h_addr_list[0])); }
package br.gov.mj.sislegis.app.service; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.TypedQuery; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Root; import br.gov.mj.sislegis.app.model.AbstractEntity; public abstract class AbstractPersistence<T extends AbstractEntity, PK extends Number> { // <code>EntityManager.find</code>. private Class<T> entityClass; public AbstractPersistence(Class<T> entityClass) { this.entityClass = entityClass; } // @<API key>(<API key>.SUPPORTS) public T save(T e) { if (e.getId() != null) return getEntityManager().merge(e); else { getEntityManager().persist(e); return e; } } public void remove(T entity) { getEntityManager().remove(getEntityManager().merge(entity)); } public T findById(PK id) { return getEntityManager().find(entityClass, id); } public void deleteById(Long id) { getEntityManager().remove(getEntityManager().find(entityClass, id)); } public List<T> listAll() { CriteriaQuery cq = getEntityManager().getCriteriaBuilder().createQuery(); cq.select(cq.from(entityClass)); return getEntityManager().createQuery(cq).getResultList(); } public List<T> listAll(Integer offset, Integer limit) { CriteriaQuery cq = getEntityManager().getCriteriaBuilder().createQuery(); cq.select(cq.from(entityClass)); return getEntityManager().createQuery(cq).setFirstResult(offset) // offset .setMaxResults(limit) // limit .getResultList(); } public List<T> findByProperty(String property, Object value, String orderBy) { TypedQuery<T> findByIdQuery = getEntityManager().createQuery( "SELECT c FROM " + entityClass.getSimpleName() + " c WHERE upper(c." + property + ") like upper(:" + property + ") ORDER BY c." + property + " " + orderBy + "", entityClass); findByIdQuery.setParameter(property, "%" + value + "%"); return findByIdQuery.getResultList(); } public T findByProperty(String property, Object value) { CriteriaQuery cq = getEntityManager().getCriteriaBuilder().createQuery(); Root<T> c = cq.from(entityClass); cq.select(c); cq.where(getEntityManager().getCriteriaBuilder().equal(c.get(property), value)); return (T) getEntityManager().createQuery(cq).getSingleResult(); } protected abstract EntityManager getEntityManager(); }
// Include this to build a Catch test executable. // See TestRunner.hpp if you want to embed the test runner // in your own executable. #include "TestMain.hpp"
''' Tests for student activation and login ''' import json import unittest from django.test import TestCase from django.test.client import Client from django.test.utils import override_settings from django.conf import settings from django.contrib.auth.models import User from django.core.cache import cache from django.core.urlresolvers import reverse, NoReverseMatch from django.http import <API key>, HttpResponse import httpretty from mock import patch from social.apps.django_app.default.models import UserSocialAuth from external_auth.models import ExternalAuthMap from student.tests.factories import UserFactory, RegistrationFactory, UserProfileFactory from student.views import login_oauth_token from third_party_auth.tests.utils import ( <API key>, ThirdPartyO<API key>, <API key> ) from xmodule.modulestore.tests.factories import CourseFactory from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase class LoginTest(TestCase): ''' Test student.views.login_user() view ''' def setUp(self): super(LoginTest, self).setUp() # Create one user and save it to the database self.user = UserFactory.build(username='test', email='test@edx.org') self.user.set_password('test_password') self.user.save() # Create a registration for the user RegistrationFactory(user=self.user) # Create a profile for the user UserProfileFactory(user=self.user) # Create the test client self.client = Client() cache.clear() # Store the login url try: self.url = reverse('login_post') except NoReverseMatch: self.url = reverse('login') def test_login_success(self): response, mock_audit_log = self._login_response('test@edx.org', 'test_password', patched_audit_log='student.models.AUDIT_LOG') self._assert_response(response, success=True) self._assert_audit_log(mock_audit_log, 'info', [u'Login success', u'test@edx.org']) @patch.dict("django.conf.settings.FEATURES", {'SQUELCH_PII_IN_LOGS': True}) def <API key>(self): response, mock_audit_log = self._login_response('test@edx.org', 'test_password', patched_audit_log='student.models.AUDIT_LOG') self._assert_response(response, success=True) self._assert_audit_log(mock_audit_log, 'info', [u'Login success']) self.<API key>(mock_audit_log, 'info', [u'test@edx.org']) def <API key>(self): unicode_email = u'test' + unichr(40960) + u'@edx.org' self.user.email = unicode_email self.user.save() response, mock_audit_log = self._login_response(unicode_email, 'test_password', patched_audit_log='student.models.AUDIT_LOG') self._assert_response(response, success=True) self._assert_audit_log(mock_audit_log, 'info', [u'Login success', unicode_email]) def <API key>(self): nonexistent_email = u'not_a_user@edx.org' response, mock_audit_log = self._login_response(nonexistent_email, 'test_password') self._assert_response(response, success=False, value='Email or password is incorrect') self._assert_audit_log(mock_audit_log, 'warning', [u'Login failed', u'Unknown user email', nonexistent_email]) @patch.dict("django.conf.settings.FEATURES", {'ADVANCED_SECURITY': True}) def <API key>(self): nonexistent_email = u'not_a_user@edx.org' response, mock_audit_log = self._login_response(nonexistent_email, 'test_password') self._assert_response(response, success=False, value='Email or password is incorrect') self._assert_audit_log(mock_audit_log, 'warning', [u'Login failed', u'Unknown user email', nonexistent_email]) @patch.dict("django.conf.settings.FEATURES", {'SQUELCH_PII_IN_LOGS': True}) def <API key>(self): nonexistent_email = u'not_a_user@edx.org' response, mock_audit_log = self._login_response(nonexistent_email, 'test_password') self._assert_response(response, success=False, value='Email or password is incorrect') self._assert_audit_log(mock_audit_log, 'warning', [u'Login failed', u'Unknown user email']) self.<API key>(mock_audit_log, 'warning', [nonexistent_email]) def <API key>(self): response, mock_audit_log = self._login_response('test@edx.org', 'wrong_password') self._assert_response(response, success=False, value='Email or password is incorrect') self._assert_audit_log(mock_audit_log, 'warning', [u'Login failed', u'password for', u'test@edx.org', u'invalid']) @patch.dict("django.conf.settings.FEATURES", {'SQUELCH_PII_IN_LOGS': True}) def <API key>(self): response, mock_audit_log = self._login_response('test@edx.org', 'wrong_password') self._assert_response(response, success=False, value='Email or password is incorrect') self._assert_audit_log(mock_audit_log, 'warning', [u'Login failed', u'password for', u'invalid']) self.<API key>(mock_audit_log, 'warning', [u'test@edx.org']) def <API key>(self): # De-activate the user self.user.is_active = False self.user.save() # Should now be unable to login response, mock_audit_log = self._login_response('test@edx.org', 'test_password') self._assert_response(response, success=False, value="This account has not been activated") self._assert_audit_log(mock_audit_log, 'warning', [u'Login failed', u'Account not active for user']) @patch.dict("django.conf.settings.FEATURES", {'SQUELCH_PII_IN_LOGS': True}) def <API key>(self): # De-activate the user self.user.is_active = False self.user.save() # Should now be unable to login response, mock_audit_log = self._login_response('test@edx.org', 'test_password') self._assert_response(response, success=False, value="This account has not been activated") self._assert_audit_log(mock_audit_log, 'warning', [u'Login failed', u'Account not active for user']) self.<API key>(mock_audit_log, 'warning', [u'test']) def <API key>(self): unicode_email = u'test@edx.org' + unichr(40960) response, mock_audit_log = self._login_response(unicode_email, 'test_password') self._assert_response(response, success=False) self._assert_audit_log(mock_audit_log, 'warning', [u'Login failed', unicode_email]) def <API key>(self): unicode_password = u'test_password' + unichr(1972) response, mock_audit_log = self._login_response('test@edx.org', unicode_password) self._assert_response(response, success=False) self._assert_audit_log(mock_audit_log, 'warning', [u'Login failed', u'password for', u'test@edx.org', u'invalid']) def test_logout_logging(self): response, _ = self._login_response('test@edx.org', 'test_password') self._assert_response(response, success=True) logout_url = reverse('logout') with patch('student.models.AUDIT_LOG') as mock_audit_log: response = self.client.post(logout_url) self.assertEqual(response.status_code, 302) self._assert_audit_log(mock_audit_log, 'info', [u'Logout', u'test']) def <API key>(self): response, _ = self._login_response('test@edx.org', 'test_password') self._assert_response(response, success=True) # Verify the format of the "user info" cookie set on login cookie = self.client.cookies[settings.<API key>] user_info = json.loads(cookie.value) # Check that the version is set self.assertEqual(user_info["version"], settings.<API key>) # Check that the username and email are set self.assertEqual(user_info["username"], self.user.username) self.assertEqual(user_info["email"], self.user.email) # Check that the URLs are absolute for url in user_info["header_urls"].values(): self.assertIn("http://testserver/", url) def <API key>(self): response, _ = self._login_response('test@edx.org', 'test_password') self._assert_response(response, success=True) # Check that the marketing site cookies have been set self.assertIn(settings.<API key>, self.client.cookies) self.assertIn(settings.<API key>, self.client.cookies) # Log out logout_url = reverse('logout') response = self.client.post(logout_url) # Check that the marketing site cookies have been deleted # (cookies are deleted by setting an expiration date in 1970) for cookie_name in [settings.<API key>, settings.<API key>]: cookie = self.client.cookies[cookie_name] self.assertIn("01-Jan-1970", cookie.get('expires')) @override_settings( <API key>=u"unicode-logged-in", <API key>=u"unicode-user-info", ) def <API key>(self): # When logged in cookie names are loaded from JSON files, they may # have type `unicode` instead of `str`, which can cause errors # when calling Django cookie manipulation functions. response, _ = self._login_response('test@edx.org', 'test_password') self._assert_response(response, success=True) response = self.client.post(reverse('logout')) self.assertRedirects(response, "/") @patch.dict("django.conf.settings.FEATURES", {'SQUELCH_PII_IN_LOGS': True}) def <API key>(self): response, _ = self._login_response('test@edx.org', 'test_password') self._assert_response(response, success=True) logout_url = reverse('logout') with patch('student.models.AUDIT_LOG') as mock_audit_log: response = self.client.post(logout_url) self.assertEqual(response.status_code, 302) self._assert_audit_log(mock_audit_log, 'info', [u'Logout']) self.<API key>(mock_audit_log, 'info', [u'test']) def <API key>(self): # Try (and fail) logging in with fewer attempts than the limit of 30 # and verify that you can still successfully log in afterwards. for i in xrange(20): password = u'test_password{0}'.format(i) response, _audit_log = self._login_response('test@edx.org', password) self._assert_response(response, success=False) # now try logging in with a valid password response, _audit_log = self._login_response('test@edx.org', 'test_password') self._assert_response(response, success=True) def <API key>(self): # try logging in 30 times, the default limit in the number of failed # login attempts in one 5 minute period before the rate gets limited for i in xrange(30): password = u'test_password{0}'.format(i) self._login_response('test@edx.org', password) # check to see if this response indicates that this was ratelimited response, _audit_log = self._login_response('test@edx.org', 'wrong_password') self._assert_response(response, success=False, value='Too many failed login attempts') @patch.dict("django.conf.settings.FEATURES", {'<API key>': True}) def test_single_session(self): creds = {'email': 'test@edx.org', 'password': 'test_password'} client1 = Client() client2 = Client() response = client1.post(self.url, creds) self._assert_response(response, success=True) # Reload the user from the database self.user = User.objects.get(pk=self.user.pk) self.assertEqual(self.user.profile.get_meta()['session_id'], client1.session.session_key) # second login should log out the first response = client2.post(self.url, creds) self._assert_response(response, success=True) try: # this test can be run with either lms or studio settings # since studio does not have a dashboard url, we should # look for another url that is login_required, in that case url = reverse('dashboard') except NoReverseMatch: url = reverse('upload_transcripts') response = client1.get(url) # client1 will be logged out self.assertEqual(response.status_code, 302) @patch.dict("django.conf.settings.FEATURES", {'<API key>': True}) def <API key>(self): """ Assert that user login with cas (Central Authentication Service) is redirect to dashboard in case of lms or upload_transcripts in case of cms """ user = UserFactory.build(username='tester', email='tester@edx.org') user.set_password('test_password') user.save() # Assert that no profile is created. self.assertFalse(hasattr(user, 'profile')) creds = {'email': 'tester@edx.org', 'password': 'test_password'} client1 = Client() client2 = Client() response = client1.post(self.url, creds) self._assert_response(response, success=True) # Reload the user from the database user = User.objects.get(pk=user.pk) # Assert that profile is created. self.assertTrue(hasattr(user, 'profile')) # second login should log out the first response = client2.post(self.url, creds) self._assert_response(response, success=True) try: # this test can be run with either lms or studio settings # since studio does not have a dashboard url, we should # look for another url that is login_required, in that case url = reverse('dashboard') except NoReverseMatch: url = reverse('upload_transcripts') response = client1.get(url) # client1 will be logged out self.assertEqual(response.status_code, 302) @patch.dict("django.conf.settings.FEATURES", {'<API key>': True}) def <API key>(self): # accessing logout url as it does not have login-required decorator it will avoid redirect # and go inside the <API key> creds = {'email': 'test@edx.org', 'password': 'test_password'} client1 = Client() client2 = Client() response = client1.post(self.url, creds) self._assert_response(response, success=True) # Reload the user from the database self.user = User.objects.get(pk=self.user.pk) self.assertEqual(self.user.profile.get_meta()['session_id'], client1.session.session_key) # second login should log out the first response = client2.post(self.url, creds) self._assert_response(response, success=True) url = reverse('logout') response = client1.get(url) self.assertEqual(response.status_code, 302) def <API key>(self): """ Tests that a 400 in change_enrollment doesn't lead to a 404 and in fact just logs in the user without incident """ # add this post param to trigger a call to change_enrollment extra_post_params = {"enrollment_action": "enroll"} with patch('student.views.change_enrollment') as <API key>: <API key>.return_value = <API key>("I am a 400") response, _ = self._login_response( 'test@edx.org', 'test_password', extra_post_params=extra_post_params, ) response_content = json.loads(response.content) self.assertIsNone(response_content["redirect_url"]) self._assert_response(response, success=True) def <API key>(self): """ Tests "redirect_url" is None if change_enrollment returns a HttpResponse with no content """ # add this post param to trigger a call to change_enrollment extra_post_params = {"enrollment_action": "enroll"} with patch('student.views.change_enrollment') as <API key>: <API key>.return_value = HttpResponse() response, _ = self._login_response( 'test@edx.org', 'test_password', extra_post_params=extra_post_params, ) response_content = json.loads(response.content) self.assertIsNone(response_content["redirect_url"]) self._assert_response(response, success=True) def _login_response(self, email, password, patched_audit_log='student.views.AUDIT_LOG', extra_post_params=None): ''' Post the login info ''' post_params = {'email': email, 'password': password} if extra_post_params is not None: post_params.update(extra_post_params) with patch(patched_audit_log) as mock_audit_log: result = self.client.post(self.url, post_params) return result, mock_audit_log def _assert_response(self, response, success=None, value=None): ''' Assert that the response had status 200 and returned a valid JSON-parseable dict. If success is provided, assert that the response had that value for 'success' in the JSON dict. If value is provided, assert that the response contained that value for 'value' in the JSON dict. ''' self.assertEqual(response.status_code, 200) try: response_dict = json.loads(response.content) except ValueError: self.fail("Could not parse response content as JSON: %s" % str(response.content)) if success is not None: self.assertEqual(response_dict['success'], success) if value is not None: msg = ("'%s' did not contain '%s'" % (str(response_dict['value']), str(value))) self.assertTrue(value in response_dict['value'], msg) def _assert_audit_log(self, mock_audit_log, level, log_strings): """ Check that the audit log has received the expected call as its last call. """ method_calls = mock_audit_log.method_calls name, args, _kwargs = method_calls[-1] self.assertEquals(name, level) self.assertEquals(len(args), 1) format_string = args[0] for log_string in log_strings: self.assertIn(log_string, format_string) def <API key>(self, mock_audit_log, level, log_strings): """ Check that the audit log has received the expected call as its last call. """ method_calls = mock_audit_log.method_calls name, args, _kwargs = method_calls[-1] self.assertEquals(name, level) self.assertEquals(len(args), 1) format_string = args[0] for log_string in log_strings: self.assertNotIn(log_string, format_string) class <API key>(ModuleStoreTestCase): """ Tests how login_user() interacts with ExternalAuth, in particular Shib """ def setUp(self): super(<API key>, self).setUp() self.course = CourseFactory.create( org='Stanford', number='456', display_name='NO SHIB', user_id=self.user.id, ) self.shib_course = CourseFactory.create( org='Stanford', number='123', display_name='Shib Only', enrollment_domain='shib:https://idp.stanford.edu/', user_id=self.user.id, ) self.user_w_map = UserFactory.create(email='withmap@stanford.edu') self.extauth = ExternalAuthMap(external_id='withmap@stanford.edu', external_email='withmap@stanford.edu', external_domain='shib:https://idp.stanford.edu/', <API key>="", user=self.user_w_map) self.user_w_map.save() self.extauth.save() self.user_wo_map = UserFactory.create(email='womap@gmail.com') self.user_wo_map.save() @unittest.skipUnless(settings.FEATURES.get('AUTH_USE_SHIB'), "AUTH_USE_SHIB not set") def <API key>(self): """ Tests that when a shib user types their email address into the login page, they get redirected to the shib login. """ response = self.client.post(reverse('login'), {'email': self.user_w_map.email, 'password': ''}) self.assertEqual(response.status_code, 200) obj = json.loads(response.content) self.assertEqual(obj, { 'success': False, 'redirect': reverse('shib-login'), }) @unittest.skipUnless(settings.FEATURES.get('AUTH_USE_SHIB'), "AUTH_USE_SHIB not set") def <API key>(self): """ Tests redirects to when @login_required to dashboard, which should always be the normal login, since there is no course context """ response = self.client.get(reverse('dashboard')) self.assertEqual(response.status_code, 302) self.assertEqual(response['Location'], 'http://testserver/login?next=/dashboard') @unittest.skipUnless(settings.FEATURES.get('AUTH_USE_SHIB'), "AUTH_USE_SHIB not set") def test_external<API key>(self): """ Tests the redirects when visiting course-specific URL with @login_required. Should vary by course depending on its enrollment_domain """ TARGET_URL = reverse('courseware', args=[self.course.id.<API key>()]) # pylint: disable=invalid-name noshib_response = self.client.get(TARGET_URL, follow=True) self.assertEqual(noshib_response.redirect_chain[-1], ('http://testserver/login?next={url}'.format(url=TARGET_URL), 302)) self.assertContains(noshib_response, ("Sign in or Register | {platform_name}" .format(platform_name=settings.PLATFORM_NAME))) self.assertEqual(noshib_response.status_code, 200) TARGET_URL_SHIB = reverse('courseware', args=[self.shib_course.id.<API key>()]) # pylint: disable=invalid-name shib_response = self.client.get(**{'path': TARGET_URL_SHIB, 'follow': True, 'REMOTE_USER': self.extauth.external_id, '<API key>': 'https://idp.stanford.edu/'}) # Test that the shib-login redirect page with ?next= and the desired page are part of the redirect chain # The 'courseware' page actually causes a redirect itself, so it's not the end of the chain and we # won't test its contents self.assertEqual(shib_response.redirect_chain[-3], ('http://testserver/shib-login/?next={url}'.format(url=TARGET_URL_SHIB), 302)) self.assertEqual(shib_response.redirect_chain[-2], ('http://testserver{url}'.format(url=TARGET_URL_SHIB), 302)) self.assertEqual(shib_response.status_code, 200) @httpretty.activate class <API key>(<API key>): """ Mixin with tests for the login_oauth_token view. A TestCase that includes this must define the following: BACKEND: The name of the backend from python-social-auth USER_URL: The URL of the endpoint that the backend retrieves user data from UID_FIELD: The field in the user data that the backend uses as the user id """ def setUp(self): super(<API key>, self).setUp() self.url = reverse(login_oauth_token, kwargs={"backend": self.BACKEND}) def _assert_error(self, response, status_code, error): """Assert that the given response was a 400 with the given error code""" self.assertEqual(response.status_code, status_code) self.assertEqual(json.loads(response.content), {"error": error}) self.assertNotIn("partial_pipeline", self.client.session) def test_success(self): self.<API key>(success=True) response = self.client.post(self.url, {"access_token": "dummy"}) self.assertEqual(response.status_code, 204) self.assertEqual(int(self.client.session['_auth_user_id']), self.user.id) # pylint: disable=no-member def test_invalid_token(self): self.<API key>(success=False) response = self.client.post(self.url, {"access_token": "dummy"}) self._assert_error(response, 401, "invalid_token") def test_missing_token(self): response = self.client.post(self.url) self._assert_error(response, 400, "invalid_request") def test_unlinked_user(self): UserSocialAuth.objects.all().delete() self.<API key>(success=True) response = self.client.post(self.url, {"access_token": "dummy"}) self._assert_error(response, 401, "invalid_token") def test_get_method(self): response = self.client.get(self.url, {"access_token": "dummy"}) self.assertEqual(response.status_code, 405) # This is necessary because cms does not implement third party auth @unittest.skipUnless(settings.FEATURES.get("<API key>"), "third party auth not enabled") class LoginO<API key>(<API key>, ThirdPartyO<API key>, TestCase): """Tests login_oauth_token with the Facebook backend""" pass # This is necessary because cms does not implement third party auth @unittest.skipUnless(settings.FEATURES.get("<API key>"), "third party auth not enabled") class <API key>(<API key>, <API key>, TestCase): """Tests login_oauth_token with the Google backend""" pass
var module = require("module"); var oldResolve = module._resolveFilename; var extraPaths = [ __dirname ]; module._resolveFilename = function(request, paths) { // Add the extra paths extraPaths.forEach(function(p) { if(paths.paths.indexOf(p) === -1) paths.paths.push(p); }); return oldResolve(request, paths); };
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>OmniEvents: getopt.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.3-20050530 --> <div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div> <div class="nav"> <a class="el" href="dir_000000.html">src</a></div> <h1>getopt.h</h1><a href="a00105.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// -*- Mode: C++; -*-</span> <a name="l00002"></a>00002 <span class="comment">// Package : omniEvents</span> <a name="l00003"></a>00003 <span class="comment">// getopt.h Created : 1/4/98</span> <a name="l00004"></a>00004 <span class="comment">// Author : Paul Nader (pwn)</span> <a name="l00005"></a>00005 <span class="comment">//</span> <a name="l00006"></a>00006 <span class="comment"> <a name="l00007"></a>00007 <span class="comment">//</span> <a name="l00008"></a>00008 <span class="comment">// This file is part of the omniEvents application.</span> <a name="l00009"></a>00009 <span class="comment">//</span> <a name="l00010"></a>00010 <span class="comment">// omniEvents is free software; you can redistribute it and/or</span> <a name="l00011"></a>00011 <span class="comment">// modify it under the terms of the GNU Lesser General Public</span> <a name="l00012"></a>00012 <span class="comment"> <a name="l00013"></a>00013 <span class="comment"> <a name="l00014"></a>00014 <span class="comment">//</span> <a name="l00015"></a>00015 <span class="comment">// omniEvents is distributed in the hope that it will be useful,</span> <a name="l00016"></a>00016 <span class="comment"> <a name="l00017"></a>00017 <span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> <a name="l00018"></a>00018 <span class="comment"> <a name="l00019"></a>00019 <span class="comment">//</span> <a name="l00020"></a>00020 <span class="comment">// You should have received a copy of the GNU Lesser General Public</span> <a name="l00021"></a>00021 <span class="comment"> <a name="l00022"></a>00022 <span class="comment">// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> <a name="l00023"></a>00023 <span class="comment">//</span> <a name="l00024"></a>00024 <span class="comment">// Description:</span> <a name="l00025"></a>00025 <span class="comment">// </span> <a name="l00026"></a>00026 <a name="l00054"></a>00054 <a name="l00055"></a>00055 <span class="preprocessor">#ifndef __GETOPT_H</span> <a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor">#define __GETOPT_H</span> <a name="l00057"></a>00057 <span class="preprocessor"></span> <a name="l00058"></a>00058 <span class="keyword">extern</span> <span class="stringliteral">"C"</span> <a name="l00059"></a>00059 { <a name="l00060"></a>00060 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="a00104.html#a2">optind</a>; <span class="comment">// Index: welches Argument ist das naechste</span> <a name="l00061"></a>00061 <span class="keyword">extern</span> <span class="keywordtype">char</span>* <a class="code" href="a00104.html#a3">optarg</a>; <span class="comment">// Zeiger auf das Argument der akt. Option</span> <a name="l00062"></a>00062 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="a00104.html#a4">opterr</a>; <span class="comment">// erlaubt Fehlermeldungen</span> <a name="l00063"></a>00063 } <a name="l00064"></a>00064 <a name="l00065"></a>00065 <span class="keywordtype">int</span> <a class="code" href="a00104.html#a5">getopt</a>(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[], <span class="keyword">const</span> <span class="keywordtype">char</span> *optionS); <a name="l00066"></a>00066 <a name="l00067"></a>00067 <span class="preprocessor">#endif </span><span class="comment">/* __GETOPT_H */</span> </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Aug 26 20:56:14 2005 for OmniEvents by&nbsp; <a href="http: <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.3-20050530 </small></address> </body> </html>
package net.minecraft.network.play.server; import com.google.common.collect.Lists; import java.io.IOException; import java.util.Collection; import java.util.Iterator; import net.minecraft.network.INetHandler; import net.minecraft.network.Packet; import net.minecraft.network.PacketBuffer; import net.minecraft.network.play.<API key>; import net.minecraft.scoreboard.ScorePlayerTeam; import net.minecraft.scoreboard.Team; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public class S3EPacketTeams implements Packet { private String field_149320_a = ""; private String field_149318_b = ""; private String field_149319_c = ""; private String field_149316_d = ""; private String field_179816_e; private int field_179815_f; private Collection field_149317_e; private int field_149314_f; private int field_149315_g; private static final String __OBFID = "CL_00001334"; public S3EPacketTeams() { this.field_179816_e = Team.EnumVisible.ALWAYS.field_178830_e; this.field_179815_f = -1; this.field_149317_e = Lists.newArrayList(); } public S3EPacketTeams(ScorePlayerTeam p_i45225_1_, int p_i45225_2_) { this.field_179816_e = Team.EnumVisible.ALWAYS.field_178830_e; this.field_179815_f = -1; this.field_149317_e = Lists.newArrayList(); this.field_149320_a = p_i45225_1_.getRegisteredName(); this.field_149314_f = p_i45225_2_; if (p_i45225_2_ == 0 || p_i45225_2_ == 2) { this.field_149318_b = p_i45225_1_.func_96669_c(); this.field_149319_c = p_i45225_1_.getColorPrefix(); this.field_149316_d = p_i45225_1_.getColorSuffix(); this.field_149315_g = p_i45225_1_.func_98299_i(); this.field_179816_e = p_i45225_1_.func_178770_i().field_178830_e; this.field_179815_f = p_i45225_1_.func_178775_l().getColorIndex(); } if (p_i45225_2_ == 0) { this.field_149317_e.addAll(p_i45225_1_.<API key>()); } } public S3EPacketTeams(ScorePlayerTeam p_i45226_1_, Collection p_i45226_2_, int p_i45226_3_) { this.field_179816_e = Team.EnumVisible.ALWAYS.field_178830_e; this.field_179815_f = -1; this.field_149317_e = Lists.newArrayList(); if (p_i45226_3_ != 3 && p_i45226_3_ != 4) { throw new <API key>("Method must be join or leave for player constructor"); } else if (p_i45226_2_ != null && !p_i45226_2_.isEmpty()) { this.field_149314_f = p_i45226_3_; this.field_149320_a = p_i45226_1_.getRegisteredName(); this.field_149317_e.addAll(p_i45226_2_); } else { throw new <API key>("Players cannot be null/empty"); } } /** * Reads the raw packet data from the data stream. */ public void readPacketData(PacketBuffer buf) throws IOException { this.field_149320_a = buf.<API key>(16); this.field_149314_f = buf.readByte(); if (this.field_149314_f == 0 || this.field_149314_f == 2) { this.field_149318_b = buf.<API key>(32); this.field_149319_c = buf.<API key>(16); this.field_149316_d = buf.<API key>(16); this.field_149315_g = buf.readByte(); this.field_179816_e = buf.<API key>(32); this.field_179815_f = buf.readByte(); } if (this.field_149314_f == 0 || this.field_149314_f == 3 || this.field_149314_f == 4) { int i = buf.<API key>(); for (int j = 0; j < i; ++j) { this.field_149317_e.add(buf.<API key>(40)); } } } /** * Writes the raw packet data to the data stream. */ public void writePacketData(PacketBuffer buf) throws IOException { buf.writeString(this.field_149320_a); buf.writeByte(this.field_149314_f); if (this.field_149314_f == 0 || this.field_149314_f == 2) { buf.writeString(this.field_149318_b); buf.writeString(this.field_149319_c); buf.writeString(this.field_149316_d); buf.writeByte(this.field_149315_g); buf.writeString(this.field_179816_e); buf.writeByte(this.field_179815_f); } if (this.field_149314_f == 0 || this.field_149314_f == 3 || this.field_149314_f == 4) { buf.writeVarIntToBuffer(this.field_149317_e.size()); Iterator iterator = this.field_149317_e.iterator(); while (iterator.hasNext()) { String s = (String)iterator.next(); buf.writeString(s); } } } /** * Passes this Packet on to the NetHandler for processing. */ public void processPacket(<API key> handler) { handler.handleTeams(this); } @SideOnly(Side.CLIENT) public String func_149312_c() { return this.field_149320_a; } /** * Passes this Packet on to the NetHandler for processing. */ public void processPacket(INetHandler handler) { this.processPacket((<API key>)handler); } @SideOnly(Side.CLIENT) public String func_149306_d() { return this.field_149318_b; } @SideOnly(Side.CLIENT) public String func_149311_e() { return this.field_149319_c; } @SideOnly(Side.CLIENT) public String func_149309_f() { return this.field_149316_d; } @SideOnly(Side.CLIENT) public Collection func_149310_g() { return this.field_149317_e; } @SideOnly(Side.CLIENT) public int func_149307_h() { return this.field_149314_f; } @SideOnly(Side.CLIENT) public int func_149308_i() { return this.field_149315_g; } @SideOnly(Side.CLIENT) public int func_179813_h() { return this.field_179815_f; } @SideOnly(Side.CLIENT) public String func_179814_i() { return this.field_179816_e; } }
package dr.app.beauti.generator; import dr.app.beauti.components.ComponentFactory; import dr.app.beauti.options.*; import dr.app.beauti.types.StartingTreeType; import dr.app.beauti.types.<API key>; import dr.app.beauti.types.TreePriorType; import dr.app.beauti.util.XMLWriter; import dr.evolution.util.Taxa; import dr.evolution.util.Units; import dr.evomodel.tree.DefaultTreeModel; import dr.evomodel.tree.TreeModel; import dr.evomodelxml.CSVExporterParser; import dr.evomodelxml.coalescent.*; import dr.evomodelxml.coalescent.demographicmodel.<API key>; import dr.evomodelxml.coalescent.demographicmodel.<API key>; import dr.evomodelxml.coalescent.demographicmodel.<API key>; import dr.evomodelxml.coalescent.demographicmodel.<API key>; import dr.evomodelxml.speciation.*; import dr.evoxml.TaxaParser; import dr.inference.distribution.<API key>; import dr.inference.distribution.<API key>; import dr.inference.model.ParameterParser; import dr.inferencexml.distribution.<API key>; import dr.inferencexml.distribution.<API key>; import dr.inferencexml.distribution.<API key>; import dr.inferencexml.model.SumStatisticParser; import dr.util.Attribute; import dr.xml.XMLParser; /** * @author Alexei Drummond * @author Andrew Rambaut */ public class TreePriorGenerator extends Generator { public TreePriorGenerator(BeautiOptions options, ComponentFactory[] components) { super(options, components); } // void writeTreePrior(PartitionTreePrior prior, PartitionTreeModel model, XMLWriter writer) { // for species, partitionName.treeModel // setModelPrefix(prior.getPrefix()); // only has prefix, if (options.<API key>().size() > 1) // <API key>(prior, model, writer); /** * Write a tree prior (coalescent or speciational) model * * @param prior the partition tree prior * @param writer the writer */ void writeTreePriorModel(PartitionTreePrior prior, XMLWriter writer) { String prefix = prior.getPrefix(); String initialPopSize = null; TreePriorType nodeHeightPrior = prior.getNodeHeightPrior(); Units.Type units = options.units; <API key> parameterization = prior.getParameterization(); switch (nodeHeightPrior) { case CONSTANT: writer.writeComment("A prior assumption that the population size has remained constant", "throughout the time spanned by the genealogy."); writer.writeOpenTag( <API key>.<API key>, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, prefix + "constant"), new Attribute.Default<String>("units", Units.Utils.getDefaultUnitName(options.units)) } ); writer.writeOpenTag(<API key>.POPULATION_SIZE); writeParameter("constant.popSize", prior, writer); writer.writeCloseTag(<API key>.POPULATION_SIZE); writer.writeCloseTag(<API key>.<API key>); break; case EXPONENTIAL: // generate an exponential prior tree writer.writeComment("A prior assumption that the population size has grown exponentially", "throughout the time spanned by the genealogy."); writer.writeOpenTag( <API key>.<API key>, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, prefix + "exponential"), new Attribute.Default<String>("units", Units.Utils.getDefaultUnitName(options.units)) } ); // write pop size socket writer.writeOpenTag(<API key>.POPULATION_SIZE); writeParameter("exponential.popSize", prior, writer); writer.writeCloseTag(<API key>.POPULATION_SIZE); if (parameterization == <API key>.GROWTH_RATE) { // write growth rate socket writer.writeOpenTag(<API key>.GROWTH_RATE); writeParameter("exponential.growthRate", prior, writer); writer.writeCloseTag(<API key>.GROWTH_RATE); } else { // write doubling time socket writer.writeOpenTag(<API key>.DOUBLING_TIME); writeParameter("exponential.doublingTime", prior, writer); writer.writeCloseTag(<API key>.DOUBLING_TIME); } writer.writeCloseTag(<API key>.<API key>); break; case LOGISTIC: // generate an exponential prior tree writer.writeComment("A prior assumption that the population size has grown logistically", "throughout the time spanned by the genealogy."); writer.writeOpenTag( <API key>.<API key>, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, prefix + "logistic"), new Attribute.Default<String>("units", Units.Utils.getDefaultUnitName(options.units)) } ); // write pop size socket writer.writeOpenTag(<API key>.POPULATION_SIZE); writeParameter("logistic.popSize", prior, writer); writer.writeCloseTag(<API key>.POPULATION_SIZE); if (parameterization == <API key>.GROWTH_RATE) { // write growth rate socket writer.writeOpenTag(<API key>.GROWTH_RATE); writeParameter("logistic.growthRate", prior, writer); writer.writeCloseTag(<API key>.GROWTH_RATE); } else { // write doubling time socket writer.writeOpenTag(<API key>.DOUBLING_TIME); writeParameter("logistic.doublingTime", prior, writer); writer.writeCloseTag(<API key>.DOUBLING_TIME); } // write logistic t50 socket writer.writeOpenTag(<API key>.TIME_50); // if (options.clockModelOptions.<API key>() == FixRateType.FIX_MEAN // || options.clockModelOptions.<API key>() == FixRateType.RELATIVE_TO) { // writer.writeComment("No calibration"); // writer.writeComment("logistic.t50 initial always has to < treeRootHeight initial"); // dr.app.beauti.options.Parameter priorPara = prior.getParameter("logistic.t50"); // double initRootHeight; // if (options.<API key>()) { // initRootHeight = priorPara.initial; // for (PartitionTreeModel tree : options.<API key>()) { // double tmpRootHeight = tree.getParameter("treeModel.rootHeight").initial; // if (initRootHeight > tmpRootHeight) { // take min // initRootHeight = tmpRootHeight; // } else { // initRootHeight = prior.getTreeModel().getParameter("treeModel.rootHeight").initial; // // logistic.t50 initial always has to < treeRootHeight initial // if (priorPara.initial >= initRootHeight) { // priorPara.initial = initRootHeight / 2; // tree prior.initial has to < treeRootHeight.initial // } else { // writer.writeComment("Has calibration"); // throw new <API key>("This function is not available in this release !"); writeParameter("logistic.t50", prior, writer); writer.writeCloseTag(<API key>.TIME_50); writer.writeCloseTag(<API key>.<API key>); initialPopSize = "logistic.popSize"; break; case EXPANSION: // generate an exponential prior tree writer.writeComment("A prior assumption that the population size has grown exponentially", "from some ancestral population size in the past."); writer.writeOpenTag( <API key>.EXPANSION_MODEL, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, prefix + "expansion"), new Attribute.Default<String>("units", Units.Utils.getDefaultUnitName(options.units)) } ); // write pop size socket writeParameter(<API key>.POPULATION_SIZE, "expansion.popSize", prior, writer); if (parameterization == <API key>.GROWTH_RATE) { // write growth rate socket writeParameter(<API key>.GROWTH_RATE, "expansion.growthRate", prior, writer); } else { // write doubling time socket writeParameter(<API key>.DOUBLING_TIME, "expansion.doublingTime", prior, writer); } // write ancestral proportion socket writeParameter(<API key>.<API key>, "expansion.ancestralProportion", prior, writer); writer.writeCloseTag(<API key>.EXPANSION_MODEL); initialPopSize = "expansion.popSize"; break; case YULE: case YULE_CALIBRATION: if (nodeHeightPrior == TreePriorType.YULE_CALIBRATION) { writer.writeComment("Calibrated Yule: Heled J, Drummond AJ (2011), Syst Biol, doi: " + "10.1093/sysbio/syr087"); } else { writer.writeComment("A prior on the distribution node heights defined given", "a Yule speciation process (a pure birth process)."); } writer.writeOpenTag( YuleModelParser.YULE_MODEL, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, prefix + YuleModelParser.YULE), new Attribute.Default<String>("units", Units.Utils.getDefaultUnitName(units)) } ); writeParameter(YuleModelParser.BIRTH_RATE, "yule.birthRate", prior, writer); writer.writeCloseTag(YuleModelParser.YULE_MODEL); break; case BIRTH_DEATH: case <API key>: writer.writeComment("A prior on the distribution node heights defined given"); writer.writeComment(nodeHeightPrior == TreePriorType.<API key> ? <API key>.getCitationRHO() : <API key>.getCitation()); writer.writeOpenTag( <API key>.BIRTH_DEATH_MODEL, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, prefix + <API key>.BIRTH_DEATH), new Attribute.Default<String>("units", Units.Utils.getDefaultUnitName(units)) } ); writeParameter(<API key>.BIRTHDIFF_RATE, <API key>.<API key>, prior, writer); writeParameter(<API key>.RELATIVE_DEATH_RATE, <API key>.<API key>, prior, writer); if (nodeHeightPrior == TreePriorType.<API key>) { writeParameter(<API key>.SAMPLE_PROB, <API key>.BIRTH_DEATH + "." + <API key>.SAMPLE_PROB, prior, writer); } writer.writeCloseTag(<API key>.BIRTH_DEATH_MODEL); break; case <API key>: writer.writeComment(<API key>.getCitationPsiOrg()); writer.writeOpenTag( <API key>.<API key>, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, prefix + <API key>.BDSS), new Attribute.Default<String>("units", Units.Utils.getDefaultUnitName(units)), new Attribute.Default<Boolean>(<API key>.HAS_FINAL_SAMPLE, false) } ); writeParameter(<API key>.LAMBDA, <API key>.BDSS + "." + <API key>.LAMBDA, prior, writer); writeParameter(<API key>.RELATIVE_MU, <API key>.BDSS + "." + <API key>.RELATIVE_MU, prior, writer); // writeParameter(<API key>.SAMPLE_PROBABILITY, // <API key>.BDSS + "." + <API key>.SAMPLE_PROBABILITY, prior, writer); writeParameter(<API key>.PSI, <API key>.BDSS + "." + <API key>.PSI, prior, writer); writeParameter(<API key>.ORIGIN, <API key>.BDSS + "." + <API key>.ORIGIN, prior, writer); writer.writeCloseTag(<API key>.<API key>); break; case <API key>: writer.writeComment(<API key>.getCitationRT()); writer.writeOpenTag( <API key>.<API key>, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, prefix + <API key>.<API key>), new Attribute.Default<String>("units", Units.Utils.getDefaultUnitName(units)) } ); writeParameter(<API key>.R0, <API key>.R0, prior, writer); writeParameter(<API key>.RECOVERY_RATE, <API key>.RECOVERY_RATE, prior, writer); writeParameter(<API key>.<API key>, <API key>.<API key>, prior, writer); writeParameter(<API key>.ORIGIN, <API key>.ORIGIN, prior, writer); writer.writeCloseTag(<API key>.<API key>); break; } if (nodeHeightPrior != TreePriorType.CONSTANT && nodeHeightPrior != TreePriorType.EXPONENTIAL) { // If the node height prior is not one of these two then we need to simulate a // random starting tree under a constant size coalescent. writer.writeComment("This is a simple constant population size coalescent model", "that is used to generate an initial tree for the chain."); writer.writeOpenTag( <API key>.<API key>, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, prefix + "initialDemo"), new Attribute.Default<String>("units", Units.Utils.getDefaultUnitName(units)) } ); writer.writeOpenTag(<API key>.POPULATION_SIZE); if (initialPopSize != null) { writer.writeIDref(ParameterParser.PARAMETER, prefix + initialPopSize); } else { writeParameter(prefix + "initialDemo.popSize", 1, 100.0, Double.NaN, Double.NaN, writer); } writer.writeCloseTag(<API key>.POPULATION_SIZE); writer.writeCloseTag(<API key>.<API key>); } // if (nodeHeightPrior == TreePriorType.<API key>) { // writer.writeComment("R0 = b/(b*d+s*r)"); // writer.writeOpenTag(<API key>.RPN_STATISTIC, // new Attribute[]{ // new Attribute.Default<String>(XMLParser.ID, modelPrefix + "R0") // writer.writeOpenTag(<API key>.VARIABLE, // new Attribute[]{ // new Attribute.Default<String>(Statistic.NAME, modelPrefix + "b") // writeParameterRef(modelPrefix + <API key>.BDSS + "." + <API key>.LAMBDA, writer); // writer.writeCloseTag(<API key>.VARIABLE); // writer.writeOpenTag(<API key>.VARIABLE, // new Attribute[]{ // new Attribute.Default<String>(Statistic.NAME, modelPrefix + "d") // writeParameterRef(modelPrefix + <API key>.BDSS + "." + <API key>.RELATIVE_MU, writer); // writer.writeCloseTag(<API key>.VARIABLE); // writer.writeOpenTag(<API key>.VARIABLE, // new Attribute[]{ // new Attribute.Default<String>(Statistic.NAME, modelPrefix + "s") // writeParameterRef(modelPrefix + <API key>.BDSS + "." + <API key>.PSI, writer); // writer.writeCloseTag(<API key>.VARIABLE); // writer.writeOpenTag(<API key>.VARIABLE, // new Attribute[]{ // new Attribute.Default<String>(Statistic.NAME, modelPrefix + "r") // writeParameterRef(modelPrefix + <API key>.BDSS + "." + <API key>.R, writer); // writer.writeCloseTag(<API key>.VARIABLE); // writer.writeOpenTag(<API key>.EXPRESSION, // new Attribute[]{ // new Attribute.Default<String>(Statistic.NAME, modelPrefix + "R0") // writer.writeText(modelPrefix + "b " + modelPrefix + "b " + modelPrefix + "d " + "* " + modelPrefix + "s " + modelPrefix + "r " + "* + /"); // writer.writeCloseTag(<API key>.EXPRESSION); // writer.writeCloseTag(<API key>.RPN_STATISTIC); } /** * Write the prior on node heights (coalescent or speciational models) * * @param model PartitionTreeModel * @param writer the writer */ void <API key>(PartitionTreeModel model, XMLWriter writer) { //tree model prefix String prefix = model.getPrefix(); PartitionTreePrior prior = model.<API key>(); TreePriorType treePrior = prior.getNodeHeightPrior(); // String priorPrefix = prior.getPrefix(); switch (treePrior) { case YULE: case BIRTH_DEATH: case <API key>: case <API key>: case <API key>: case YULE_CALIBRATION: // generate a speciational process writer.writeComment("Generate a speciation likelihood for Yule or Birth Death"); writer.writeOpenTag( <API key>.<API key>, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, prefix + "speciation") } ); // write pop size socket writer.writeOpenTag(<API key>.MODEL); <API key>(prior, writer); writer.writeCloseTag(<API key>.MODEL); writer.writeOpenTag(<API key>.TREE); writer.writeIDref(DefaultTreeModel.TREE_MODEL, prefix + DefaultTreeModel.TREE_MODEL); writer.writeCloseTag(<API key>.TREE); if (treePrior == TreePriorType.YULE_CALIBRATION) { if (options.treeModelOptions.isNodeCalibrated(model) == 0) { writer.writeOpenTag(<API key>.CALIBRATION, new Attribute[]{ new Attribute.Default<String>(<API key>.CORRECTION, prior.<API key>().toString()) }); writer.writeOpenTag(<API key>.POINT); String taxaId; if (options.hasIdenticalTaxa()) { taxaId = TaxaParser.TAXA; } else { taxaId = options.getDataPartitions(model).get(0).getPrefix() + TaxaParser.TAXA; } writer.writeIDref(TaxaParser.TAXA, taxaId); writeDistribution(model.getParameter("treeModel.rootHeight"), true, writer); writer.writeCloseTag(<API key>.POINT); writer.writeCloseTag(<API key>.CALIBRATION); } else if (options.treeModelOptions.isNodeCalibrated(model) == 1) { // should be only 1 calibrated internal node with monophyletic for each tree at moment Taxa t = (Taxa) options.getKeysFromValue(options.taxonSetsTreeModel, model).get(0); Parameter nodeCalib = options.getStatistic(t); writer.writeOpenTag(<API key>.CALIBRATION, new Attribute[]{ new Attribute.Default<String>(<API key>.CORRECTION, prior.<API key>().toString()) }); writer.writeOpenTag(<API key>.POINT); writer.writeIDref(TaxaParser.TAXA, t.getId()); writeDistribution(nodeCalib, true, writer); writer.writeCloseTag(<API key>.POINT); writer.writeCloseTag(<API key>.CALIBRATION); if (!options.treeModelOptions.isNodeCalibrated(nodeCalib)) { throw new <API key>("Calibrated Yule model requires a calibration to be specified for node, " + nodeCalib.getName() + "."); } } } writer.writeCloseTag(<API key>.<API key>); break; // AR - removed this special case for Logistic - it causes terrible problems. // Need to put informative priors on Logistic parameters. // case LOGISTIC: // writer.writeComment("Generate a boolean likelihood for Coalescent: Logistic Growth"); // writer.writeOpenTag( // <API key>.BOOLEAN_LIKELIHOOD, // new Attribute[]{new Attribute.Default<String>(XMLParser.ID, modelPrefix + "booleanLikelihood1")} // writer.writeOpenTag( // TestStatisticParser.TEST_STATISTIC, // new Attribute[]{ // new Attribute.Default<String>(XMLParser.ID, "test1"), // new Attribute.Default<String>(Statistic.NAME, "test1") // writer.writeIDref(ParameterParser.PARAMETER, priorPrefix + "logistic.t50"); // writer.writeOpenTag("lessThan"); // writer.writeIDref(ParameterParser.PARAMETER, modelPrefix + "treeModel.rootHeight"); // writer.writeCloseTag("lessThan"); // writer.writeCloseTag(TestStatisticParser.TEST_STATISTIC); // writer.writeCloseTag(<API key>.BOOLEAN_LIKELIHOOD); // writer.writeOpenTag( // <API key>.<API key>, // new Attribute[]{new Attribute.Default<String>(XMLParser.ID, modelPrefix + COALESCENT)} // writer.writeOpenTag(<API key>.MODEL); // <API key>(prior, writer); // writer.writeCloseTag(<API key>.MODEL); // writer.writeOpenTag(<API key>.POPULATION_TREE); // writer.writeIDref(DefaultTreeModel.TREE_MODEL, modelPrefix + DefaultTreeModel.TREE_MODEL); // writer.writeCloseTag(<API key>.POPULATION_TREE); // writer.writeCloseTag(<API key>.<API key>); // break; case SKYLINE: // generate a Bayesian skyline plot writer.writeComment("Generate a <API key> for Bayesian Skyline"); writer.writeOpenTag( <API key>.SKYLINE_LIKELIHOOD, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, prefix + "skyline"), new Attribute.Default<String>("linear", prior.getSkylineModel() == <API key>.LINEAR_SKYLINE ? "true" : "false") } ); // write pop size socket writer.writeOpenTag(<API key>.POPULATION_SIZES); if (prior.getSkylineModel() == <API key>.LINEAR_SKYLINE) { writeParameter(prior.getParameter("skyline.popSize"), prior.<API key>() + 1, writer); } else { writeParameter(prior.getParameter("skyline.popSize"), prior.<API key>(), writer); } writer.writeCloseTag(<API key>.POPULATION_SIZES); // write group size socket writer.writeOpenTag(<API key>.GROUP_SIZES); writeParameter(prior.getParameter("skyline.groupSize"), prior.<API key>(), writer); writer.writeCloseTag(<API key>.GROUP_SIZES); writer.writeOpenTag(<API key>.POPULATION_TREE); writer.writeIDref(DefaultTreeModel.TREE_MODEL, prefix + DefaultTreeModel.TREE_MODEL); writer.writeCloseTag(<API key>.POPULATION_TREE); writer.writeCloseTag(<API key>.SKYLINE_LIKELIHOOD); writer.writeText(""); <API key>(prior, writer); break; case EXTENDED_SKYLINE: // different format break; case GMRF_SKYRIDE: writer.writeComment("Generate a <API key> for GMRF Bayesian Skyride process"); writer.writeOpenTag( <API key>.SKYLINE_LIKELIHOOD, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, prefix + "skyride"), new Attribute.Default<String>(<API key>.<API key>, prior.getSkyrideSmoothing() == <API key>.TIME_AWARE_SKYRIDE ? "true" : "false"), new Attribute.Default<String>(<API key>.RANDOMIZE_TREE, //TODO For GMRF, tree model/tree prior combination not implemented by BEAST yet. The validation is in BeastGenerator.checkOptions() options.<API key>(prior).get(0).getStartingTreeType() == StartingTreeType.UPGMA ? "true" : "false"), } ); int <API key> = options.taxonList.getTaxonCount() - 1; writer.writeOpenTag(<API key>.<API key>); writer.writeComment("skyride.logPopSize is in log units unlike other popSize"); writeParameter(prior.getParameter("skyride.logPopSize"), <API key>, writer); writer.writeCloseTag(<API key>.<API key>); writer.writeOpenTag(<API key>.GROUP_SIZES); writeParameter(prior.getParameter("skyride.groupSize"), <API key>, writer); writer.writeCloseTag(<API key>.GROUP_SIZES); writer.writeOpenTag(<API key>.PRECISION_PARAMETER); writeParameter(prior.getParameter("skyride.precision"), 1, writer); writer.writeCloseTag(<API key>.PRECISION_PARAMETER); writer.writeOpenTag(<API key>.POPULATION_TREE); writer.writeIDref(DefaultTreeModel.TREE_MODEL, prefix + DefaultTreeModel.TREE_MODEL); writer.writeCloseTag(<API key>.POPULATION_TREE); writer.writeCloseTag(<API key>.SKYLINE_LIKELIHOOD); break; case SKYGRID: break; default: // generate a coalescent process writer.writeComment("Generate a coalescent likelihood"); writer.writeOpenTag( <API key>.<API key>, new Attribute[]{new Attribute.Default<String>(XMLParser.ID, prefix + COALESCENT)} ); writer.writeOpenTag(<API key>.MODEL); <API key>(prior, writer); writer.writeCloseTag(<API key>.MODEL); writer.writeOpenTag(<API key>.POPULATION_TREE); writer.writeIDref(DefaultTreeModel.TREE_MODEL, prefix + DefaultTreeModel.TREE_MODEL); writer.writeCloseTag(<API key>.POPULATION_TREE); writer.writeCloseTag(<API key>.<API key>); } } void <API key>(PartitionTreePrior prior, XMLWriter writer) { TreePriorType treePrior = prior.getNodeHeightPrior(); String priorPrefix = prior.getPrefix(); switch (treePrior) { case CONSTANT: writer.writeIDref(<API key>.<API key>, priorPrefix + "constant"); break; case EXPONENTIAL: writer.writeIDref(<API key>.<API key>, priorPrefix + "exponential"); break; case LOGISTIC: writer.writeIDref(<API key>.<API key>, priorPrefix + "logistic"); break; case EXPANSION: writer.writeIDref(<API key>.EXPANSION_MODEL, priorPrefix + "expansion"); break; case SKYLINE: writer.writeIDref(<API key>.SKYLINE_LIKELIHOOD, priorPrefix + "skyline"); break; case GMRF_SKYRIDE: writer.writeIDref(<API key>.SKYLINE_LIKELIHOOD, priorPrefix + "skyride"); break; case SKYGRID: writer.writeIDref(<API key>.SKYGRID_LIKELIHOOD, priorPrefix + "skygrid"); break; case YULE: case YULE_CALIBRATION: writer.writeIDref(YuleModelParser.YULE_MODEL, priorPrefix + YuleModelParser.YULE); break; case BIRTH_DEATH: case <API key>: writer.writeIDref(<API key>.BIRTH_DEATH_MODEL, priorPrefix + <API key>.BIRTH_DEATH); break; case <API key>: writer.writeIDref(<API key>.<API key>, priorPrefix + <API key>.BDSS); break; case <API key>: writer.writeIDref(<API key>.<API key>, priorPrefix + <API key>.<API key>); break; default: throw new <API key>("No tree prior has been specified so cannot refer to it"); } } void <API key>(PartitionTreePrior prior, XMLWriter writer) { String priorPrefix = prior.getPrefix(); if (prior.getNodeHeightPrior() == TreePriorType.SKYGRID) { writer.writeComment("Generate a <API key> for the Bayesian SkyGrid process"); writer.writeOpenTag( <API key>.SKYGRID_LIKELIHOOD, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, priorPrefix + "skygrid"), } ); int <API key> = prior.getSkyGridCount(); double skyGridInterval = prior.getSkyGridInterval(); writer.writeOpenTag(<API key>.<API key>); writer.writeComment("skygrid.logPopSize is in log units unlike other popSize"); writeParameter(prior.getParameter("skygrid.logPopSize"), <API key>, writer); writer.writeCloseTag(<API key>.<API key>); writer.writeOpenTag(<API key>.PRECISION_PARAMETER); writeParameter(prior.getParameter("skygrid.precision"), 1, writer); writer.writeCloseTag(<API key>.PRECISION_PARAMETER); writer.writeOpenTag(<API key>.NUM_GRID_POINTS); Parameter numGridPoint = prior.getParameter("skygrid.numGridPoints"); numGridPoint.setInitial(<API key> - 1); writeParameter(numGridPoint, 1, writer); writer.writeCloseTag(<API key>.NUM_GRID_POINTS); writer.writeOpenTag(<API key>.CUT_OFF); Parameter cutOff = prior.getParameter("skygrid.cutOff"); cutOff.setInitial(skyGridInterval); writeParameter(cutOff, 1, writer); writer.writeCloseTag(<API key>.CUT_OFF); writer.writeOpenTag(<API key>.POPULATION_TREE); // TODO Add all linked trees if (options.<API key>()) { for (PartitionTreeModel thisModel : options.<API key>()) { writer.writeIDref(DefaultTreeModel.TREE_MODEL, thisModel.getPrefix() + DefaultTreeModel.TREE_MODEL); } } else { writer.writeIDref(DefaultTreeModel.TREE_MODEL, options.<API key>(prior).get(0).getPrefix() + DefaultTreeModel.TREE_MODEL); } writer.writeCloseTag(<API key>.POPULATION_TREE); writer.writeCloseTag(<API key>.SKYGRID_LIKELIHOOD); } else if (prior.getNodeHeightPrior() == TreePriorType.EXTENDED_SKYLINE) { final String tagName = <API key>.MODEL_NAME; writer.writeComment("Generate a variableDemographic for extended Bayesian skyline process"); writer.writeOpenTag(tagName, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, priorPrefix + <API key>.demoElementName), new Attribute.Default<String>(<API key>.TYPE, prior.<API key>().toString()), // use midpoint by default (todo) would be nice to have a user 'tickable' option new Attribute.Default<String>(<API key>.USE_MIDPOINTS, "true") } ); Parameter popSize = prior.getParameter(<API key>.demoElementName + ".popSize"); Parameter populationMean = prior.getParameter(<API key>.demoElementName + ".populationMean"); popSize.setInitial(populationMean.getInitial()); writer.writeOpenTag(<API key>.POPULATION_SIZES); writer.writeComment("popSize value = populationMean value"); writer.writeTag(ParameterParser.PARAMETER, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, priorPrefix + <API key>.demoElementName + ".popSize"), new Attribute.Default<String>(ParameterParser.LOWER, "0.0"), new Attribute.Default<String>(ParameterParser.VALUE, Double.toString(popSize.getInitial()))}, true); // writeParameter(popSize, -1, writer); writer.writeCloseTag(<API key>.POPULATION_SIZES); // Parameter indicators = prior.getParameter(<API key>.demoElementName + ".indicators"); writer.writeOpenTag(<API key>.INDICATOR_PARAMETER); writer.writeTag(ParameterParser.PARAMETER, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, priorPrefix + <API key>.demoElementName + ".indicators"), new Attribute.Default<String>(ParameterParser.VALUE, Double.toString(0.0))}, true); // also 0.0 // writeParameter(prior.getParameter(<API key>.demoElementName + ".indicators"), -1, writer); // not need dimension writer.writeCloseTag(<API key>.INDICATOR_PARAMETER); writer.writeOpenTag(<API key>.POPULATION_TREES); if (options.<API key>()) { for (PartitionTreeModel model : options.<API key>()) { writer.writeOpenTag(<API key>.POP_TREE, new Attribute[]{ new Attribute.Default<String>(<API key>.PLOIDY, Double.toString(model.getPloidyType().getValue())) } ); writer.writeIDref(DefaultTreeModel.TREE_MODEL, model.getPrefix() + DefaultTreeModel.TREE_MODEL); writer.writeCloseTag(<API key>.POP_TREE); } } else {//TODO correct for not sharing same prior? writer.writeOpenTag(<API key>.POP_TREE, new Attribute[]{ new Attribute.Default<String>(<API key>.PLOIDY, Double.toString(options.<API key>(prior).get(0).getPloidyType().getValue())) } ); writer.writeIDref(DefaultTreeModel.TREE_MODEL, options.<API key>(prior).get(0).getPrefix() + DefaultTreeModel.TREE_MODEL); writer.writeCloseTag(<API key>.POP_TREE); } writer.writeCloseTag(<API key>.POPULATION_TREES); writer.writeCloseTag(tagName); writer.writeOpenTag(<API key>.<API key>, new Attribute.Default<String>(XMLParser.ID, priorPrefix + COALESCENT)); writer.writeOpenTag(<API key>.MODEL); writer.writeIDref(tagName, priorPrefix + <API key>.demoElementName); writer.writeCloseTag(<API key>.MODEL); writer.writeComment("Take population Tree from demographic"); writer.writeCloseTag(<API key>.<API key>); writer.writeOpenTag(SumStatisticParser.SUM_STATISTIC, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, priorPrefix + <API key>.demoElementName + ".<API key>"), new Attribute.Default<String>("elementwise", "true") }); writer.writeIDref(ParameterParser.PARAMETER, priorPrefix + <API key>.demoElementName + ".indicators"); writer.writeCloseTag(SumStatisticParser.SUM_STATISTIC); writer.writeOpenTag(<API key>.<API key>, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, priorPrefix + <API key>.demoElementName + ".populationMeanDist") //,new Attribute.Default<String>("elementwise", "true") }); writer.writeOpenTag(<API key>.MEAN); writer.writeComment("prefer populationMean value = 1"); populationMean = prior.getParameter(<API key>.demoElementName + ".populationMean"); writer.writeTag(ParameterParser.PARAMETER, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, priorPrefix + <API key>.demoElementName + ".populationMean"), new Attribute.Default<String>(ParameterParser.VALUE, Double.toString(populationMean.getInitial()))}, true); writer.writeCloseTag(<API key>.MEAN); writer.writeCloseTag(<API key>.<API key>); } } void writeParameterLog(PartitionTreePrior prior, XMLWriter writer) { String priorPrefix = prior.getPrefix(); switch (prior.getNodeHeightPrior()) { case CONSTANT: writeParameterRef(priorPrefix + "constant.popSize", writer); break; case EXPONENTIAL: writeParameterRef(priorPrefix + "exponential.popSize", writer); if (prior.getParameterization() == <API key>.GROWTH_RATE) { writeParameterRef(priorPrefix + "exponential.growthRate", writer); } else { writeParameterRef(priorPrefix + "exponential.doublingTime", writer); } break; case LOGISTIC: writeParameterRef(priorPrefix + "logistic.popSize", writer); if (prior.getParameterization() == <API key>.GROWTH_RATE) { writeParameterRef(priorPrefix + "logistic.growthRate", writer); } else { writeParameterRef(priorPrefix + "logistic.doublingTime", writer); } writeParameterRef(priorPrefix + "logistic.t50", writer); break; case EXPANSION: writeParameterRef(priorPrefix + "expansion.popSize", writer); if (prior.getParameterization() == <API key>.GROWTH_RATE) { writeParameterRef(priorPrefix + "expansion.growthRate", writer); } else { writeParameterRef(priorPrefix + "expansion.doublingTime", writer); } writeParameterRef(priorPrefix + "expansion.ancestralProportion", writer); break; case SKYLINE: writeParameterRef(priorPrefix + "skyline.popSize", writer); writeParameterRef(priorPrefix + "skyline.groupSize", writer); break; case EXTENDED_SKYLINE: writer.writeIDref(SumStatisticParser.SUM_STATISTIC, "demographic.<API key>"); writeParameterRef(priorPrefix + "demographic.populationMean", writer); writeParameterRef(priorPrefix + "demographic.popSize", writer); writeParameterRef(priorPrefix + "demographic.indicators", writer); break; case SKYGRID: writeParameterRef(priorPrefix + "skygrid.precision", writer); writeParameterRef(priorPrefix + "skygrid.logPopSize", writer); writeParameterRef(priorPrefix + "skygrid.cutOff", writer); // writeParameterRef(priorPrefix + "skygrid.groupSize", writer); break; case GMRF_SKYRIDE: writeParameterRef(priorPrefix + "skyride.precision", writer); writeParameterRef(priorPrefix + "skyride.logPopSize", writer); writeParameterRef(priorPrefix + "skyride.groupSize", writer); break; case YULE: case YULE_CALIBRATION: writeParameterRef(priorPrefix + "yule.birthRate", writer); break; case BIRTH_DEATH: case <API key>: writeParameterRef(priorPrefix + <API key>.<API key>, writer); writeParameterRef(priorPrefix + <API key>.<API key>, writer); if (prior.getNodeHeightPrior() == TreePriorType.<API key>) writeParameterRef(priorPrefix + <API key>.BIRTH_DEATH + "." + <API key>.SAMPLE_PROB, writer); break; case <API key>: writeParameterRef(priorPrefix + <API key>.BDSS + "." + <API key>.LAMBDA, writer); writeParameterRef(priorPrefix + <API key>.BDSS + "." + <API key>.RELATIVE_MU, writer); //Issue 656 // writeParameterRef(modelPrefix + <API key>.BDSS + "." // + <API key>.SAMPLE_PROBABILITY, writer); writeParameterRef(priorPrefix + <API key>.BDSS + "." + <API key>.PSI, writer); writeParameterRef(priorPrefix + <API key>.BDSS + "." + <API key>.ORIGIN, writer); break; case <API key>: writeParameterRef(priorPrefix + <API key>.R0, writer); writeParameterRef(priorPrefix + <API key>.RECOVERY_RATE, writer); writeParameterRef(priorPrefix + <API key>.<API key>, writer); writeParameterRef(priorPrefix + <API key>.ORIGIN, writer); default: throw new <API key>("No tree prior has been specified so cannot refer to it"); } } void <API key>(PartitionTreePrior prior, XMLWriter writer) { String priorPrefix = prior.getPrefix(); String logFileName = options.logFileName; if (prior.getNodeHeightPrior() == TreePriorType.EXTENDED_SKYLINE) { writer.writeOpenTag(EBSPAnalysisParser.VD_ANALYSIS, new Attribute[]{ new Attribute.Default<String>(XMLParser.ID, priorPrefix + "demographic.analysis"), new Attribute.Default<Double>(EBSPAnalysisParser.BURN_IN, 0.1), new Attribute.Default<Boolean>(<API key>.USE_MIDPOINTS, true)} ); writer.writeOpenTag(EBSPAnalysisParser.LOG_FILE_NAME); writer.writeText(logFileName); writer.writeCloseTag(EBSPAnalysisParser.LOG_FILE_NAME); writer.writeOpenTag(EBSPAnalysisParser.TREE_FILE_NAMES); for (String treeFN : options.treeFileName) { writer.writeOpenTag(EBSPAnalysisParser.TREE_LOG); writer.writeText(treeFN); writer.writeCloseTag(EBSPAnalysisParser.TREE_LOG); } writer.writeCloseTag(EBSPAnalysisParser.TREE_FILE_NAMES); writer.writeOpenTag(EBSPAnalysisParser.MODEL_TYPE); writer.writeText(prior.<API key>().toString()); writer.writeCloseTag(EBSPAnalysisParser.MODEL_TYPE); writer.writeOpenTag(EBSPAnalysisParser.<API key>); writer.writeText(<API key>.demoElementName + ".popSize1"); writer.writeCloseTag(EBSPAnalysisParser.<API key>); writer.writeOpenTag(EBSPAnalysisParser.<API key>); writer.writeText(<API key>.demoElementName + ".indicators1"); writer.writeCloseTag(EBSPAnalysisParser.<API key>); writer.writeCloseTag(EBSPAnalysisParser.VD_ANALYSIS); writer.writeOpenTag(CSVExporterParser.CSV_EXPORT, new Attribute[]{ new Attribute.Default<String>(CSVExporterParser.FILE_NAME, logFileName.subSequence(0, logFileName.length() - 4) + ".csv"), //.log new Attribute.Default<String>(CSVExporterParser.SEPARATOR, ",") }); writer.writeOpenTag(CSVExporterParser.COLUMNS); writer.writeIDref(EBSPAnalysisParser.VD_ANALYSIS, priorPrefix + "demographic.analysis"); writer.writeCloseTag(CSVExporterParser.COLUMNS); writer.writeCloseTag(CSVExporterParser.CSV_EXPORT); } } private void <API key>(PartitionTreePrior prior, XMLWriter writer) { writer.writeOpenTag( <API key>.<API key>, new Attribute[]{new Attribute.Default<String>(XMLParser.ID, prior.getPrefix() + "eml1"), new Attribute.Default<String>("jeffreys", "true")} ); writeParameterRef(<API key>.CHAIN_PARAMETER, prior.getPrefix() + "skyline.popSize", writer); writer.writeCloseTag(<API key>.<API key>); } public static void <API key>(PartitionTreePrior prior, PartitionTreeModel model, XMLWriter writer) { String prefix = model.getPrefix(); switch (prior.getNodeHeightPrior()) { case YULE: case YULE_CALIBRATION: case BIRTH_DEATH: case <API key>: case <API key>: case <API key>: writer.writeIDref(<API key>.<API key>, prefix + "speciation"); break; case SKYLINE: writer.writeIDref(<API key>.SKYLINE_LIKELIHOOD, prefix + "skyline"); // writer.writeIDref(<API key>.<API key>, modelPrefix + "eml1"); break; case GMRF_SKYRIDE: writer.writeIDref(<API key>.SKYLINE_LIKELIHOOD, prefix + "skyride"); break; case SKYGRID: writer.writeIDref(<API key>.SKYLINE_LIKELIHOOD, prefix + "skygrid"); // only 1 coalescent, so write it separately after this method break; case LOGISTIC: // writer.writeIDref(<API key>.BOOLEAN_LIKELIHOOD, modelPrefix + "booleanLikelihood1"); writer.writeIDref(<API key>.<API key>, prefix + COALESCENT); break; case EXTENDED_SKYLINE: // only 1 coalescent, so write it separately after this method default: writer.writeIDref(<API key>.<API key>, prefix + COALESCENT); } } // id is written in <API key> (PartitionTreePrior prior, PartitionTreeModel model, XMLWriter writer) public void <API key>(PartitionTreePrior prior, PartitionTreeModel model, XMLWriter writer) { String prefix = model.getPrefix(); switch (prior.getNodeHeightPrior()) { case YULE: case YULE_CALIBRATION: case BIRTH_DEATH: case <API key>: case <API key>: case <API key>: writer.writeIDref(<API key>.<API key>, prefix + "speciation"); break; case SKYLINE: writer.writeIDref(<API key>.SKYLINE_LIKELIHOOD, prefix + "skyline"); writer.writeIDref(<API key>.<API key>, prefix + "eml1"); break; case GMRF_SKYRIDE: writer.writeIDref(<API key>.SKYLINE_LIKELIHOOD, prefix + "skyride"); break; case SKYGRID: // writer.writeIDref(<API key>.SKYLINE_LIKELIHOOD, prefix + "skygrid"); // only 1 coalescent, so write it separately after this method break; // case LOGISTIC: // writer.writeIDref(<API key>.BOOLEAN_LIKELIHOOD, prefix + "booleanLikelihood1"); // writer.writeIDref(<API key>.<API key>, modelPrefix + COALESCENT); // break; case EXTENDED_SKYLINE: // only 1 coalescent, so write it in <API key> default: writer.writeIDref(<API key>.<API key>, prefix + COALESCENT); } } public void <API key>(PartitionTreePrior prior, XMLWriter writer) { String prefix = prior.getPrefix(); //TODO: make suitable for *BEAST if (prior.getNodeHeightPrior() == TreePriorType.EXTENDED_SKYLINE) { writer.writeIDref(<API key>.<API key>, prefix + COALESCENT); // only 1 coalescent writer.writeOpenTag(<API key>.<API key>); writer.writeOpenTag(<API key>.DISTRIBUTION0); writer.writeIDref(<API key>.<API key>, prefix + "demographic.populationMeanDist"); writer.writeCloseTag(<API key>.DISTRIBUTION0); writer.writeOpenTag(<API key>.DISTRIBUTION1); writer.writeIDref(<API key>.<API key>, prefix + "demographic.populationMeanDist"); writer.writeCloseTag(<API key>.DISTRIBUTION1); writeParameterRef(<API key>.DATA, prefix + "demographic.popSize", writer); writeParameterRef(<API key>.INDICATORS, prefix + "demographic.indicators", writer); writer.writeCloseTag(<API key>.<API key>); } else if (prior.getNodeHeightPrior() == TreePriorType.SKYGRID) { writer.writeIDref(<API key>.SKYGRID_LIKELIHOOD, prefix + "skygrid"); } } }
/* MOOSE - Multiphysics Object Oriented Simulation Environment */ #include "<API key>.h" template<> InputParameters validParams<<API key>>() { InputParameters params = validParams<<API key>>(); params.addRequiredParam<std::vector<BoundaryName> >("boundary_list", "List of boundary IDs"); params.addRequiredParam<std::vector<UserObjectName> >("<API key>", "List of boundary condition user object names"); return params; } <API key>::<API key>(const InputParameters & parameters) : <API key>(parameters) { const std::vector<BoundaryName> & bnd_name = getParam<std::vector<BoundaryName> >("boundary_list"); const std::vector<UserObjectName> & bc_uo_name = getParam<std::vector<UserObjectName> >("<API key>"); if (bnd_name.size() != bc_uo_name.size()) mooseError("Number of boundaries NOT equal to number of BCUserObject names:" << std::endl << "Number of boundaries is " << bnd_name.size() << std::endl << "Number of BCUserObject is " << bc_uo_name.size() ); for (unsigned int i = 0; i < bnd_name.size(); i++) { BoundaryID bnd_id = _mesh.getBoundaryID(bnd_name[i]); _bnd_uo_name_map.insert(std::pair<BoundaryID, UserObjectName>(bnd_id, bc_uo_name[i])); } }
package org.pentaho.reporting.engine.classic.core.modules.misc.connections; public final class <API key> { private <API key>() { } public static final String JDBC_POOL = "JDBC_POOL"; //$NON-NLS-1$ public static final String JDBC_DATASOURCE = "DataSource"; //$NON-NLS-1$ public static final String MAX_ACTIVE_KEY = "POOLING_maxActive"; public static final String MAX_IDLE_KEY = "POOLING_maxIdle"; public static final String MAX_WAIT_KEY = "POOLING_maxWait"; public static final String QUERY_KEY = "query"; }
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="uk" sourcelanguage="en"> <context> <name>Fem_Analysis</name> <message> <location filename="_CommandAnalysis.py" line="41"/> <source>Analysis container</source> <translation>Контейнер аналізу</translation> </message> <message> <location filename="_CommandAnalysis.py" line="43"/> <source>Creates a analysis container with standard solver CalculiX</source> <translation>Створює контейнер для аналізу зі стандартним обчислювачем CalculiX</translation> </message> <message> <location filename="<API key>.py" line="40"/> <source>New mechanical analysis</source> <translation type="unfinished">New mechanical analysis</translation> </message> <message> <location filename="<API key>.py" line="42"/> <source>Create a new mechanical analysis</source> <translation type="unfinished">Create a new mechanical analysis</translation> </message> </context> <context> <name>Fem_BeamSection</name> <message> <location filename="_CommandBeamSection.py" line="41"/> <source>Beam cross section</source> <translation type="unfinished">Beam cross section</translation> </message> <message> <location filename="_CommandBeamSection.py" line="43"/> <source>Creates a FEM beam cross section</source> <translation type="unfinished">Creates a FEM beam cross section</translation> </message> <message> <location filename="<API key>.py" line="41"/> <source>FEM Beam Cross Section Definition ...</source> <translation type="unfinished">FEM Beam Cross Section Definition ...</translation> </message> <message> <location filename="<API key>.py" line="43"/> <source>Creates a FEM Beam Cross Section</source> <translation type="unfinished">Creates a FEM Beam Cross Section</translation> </message> </context> <context> <name>Fem_ClearMesh</name> <message> <location filename="_CommandClearMesh.py" line="41"/> <source>Clear FEM mesh</source> <translation type="unfinished">Clear FEM mesh</translation> </message> <message> <location filename="_CommandClearMesh.py" line="43"/> <source>Clear the Mesh of a FEM mesh object</source> <translation type="unfinished">Clear the Mesh of a FEM mesh object</translation> </message> </context> <context> <name>Fem_Command</name> <message> <location filename="FemCommands.py" line="39"/> <source>Default Fem Command MenuText</source> <translation type="unfinished">Default Fem Command MenuText</translation> </message> <message> <location filename="FemCommands.py" line="41"/> <source>Default Fem Command ToolTip</source> <translation type="unfinished">Default Fem Command ToolTip</translation> </message> </context> <context> <name><API key></name> <message> <location filename="<API key>.py" line="41"/> <source>Constraint self weigt</source> <translation type="unfinished">Constraint self weigt</translation> </message> <message> <location filename="<API key>.py" line="43"/> <source>Creates a FEM constraint self weigt</source> <translation type="unfinished">Creates a FEM constraint self weigt</translation> </message> </context> <context> <name>Fem_ControlSolver</name> <message> <location filename="<API key>.py" line="40"/> <source>Solver job control</source> <translation type="unfinished">Solver job control</translation> </message> <message> <location filename="<API key>.py" line="42"/> <source>Changes solver attributes and runs the calculations for the selected solver</source> <translation type="unfinished">Changes solver attributes and runs the calculations for the selected solver</translation> </message> </context> <context> <name>Fem_FemMesh2Mesh</name> <message> <location filename="<API key>.py" line="42"/> <source>FEM mesh to mesh</source> <translation type="unfinished">FEM mesh to mesh</translation> </message> <message> <location filename="<API key>.py" line="43"/> <source>Convert the surface of a FEM mesh to a mesh</source> <translation>Конвертувати поверхню сітки МСЕ [FEM] в сітку</translation> </message> </context> <context> <name><API key></name> <message> <location filename="<API key>.py" line="42"/> <source>Nonlinear mechanical material</source> <translation>Нелінійна механічний матеріал</translation> </message> <message> <location filename="<API key>.py" line="44"/> <source>Creates a nonlinear mechanical material</source> <translation>Створює нелінійний механічний матеріал</translation> </message> </context> <context> <name><API key></name> <message> <location filename="<API key>.py" line="42"/> <source>Mechanical material</source> <translation type="unfinished">Mechanical material</translation> </message> <message> <location filename="<API key>.py" line="42"/> <source>Mechanical material...</source> <translation type="unfinished">Mechanical material...</translation> </message> <message> <location filename="<API key>.py" line="44"/> <source>Creates a mechanical material</source> <translation>Створює механічний матеріал</translation> </message> <message> <location filename="<API key>.py" line="44"/> <source>Creates or edit the mechanical material definition.</source> <translation type="unfinished">Creates or edit the mechanical material definition.</translation> </message> </context> <context> <name>Fem_MeshFromShape</name> <message> <location filename="<API key>.py" line="41"/> <source>FEM mesh from shape by Netgen</source> <translation type="unfinished">FEM mesh from shape by Netgen</translation> </message> <message> <location filename="<API key>.py" line="42"/> <source>Create a FEM volume mesh from a solid or face shape by Netgen internal mesher</source> <translation type="unfinished">Create a FEM volume mesh from a solid or face shape by Netgen internal mesher</translation> </message> </context> <context> <name><API key></name> <message> <location filename="<API key>.py" line="42"/> <source>FEM mesh from shape by GMSH</source> <translation type="unfinished">FEM mesh from shape by GMSH</translation> </message> <message> <location filename="<API key>.py" line="43"/> <source>Create a FEM mesh from a shape by GMSH mesher</source> <translation type="unfinished">Create a FEM mesh from a shape by GMSH mesher</translation> </message> </context> <context> <name>Fem_MeshRegion</name> <message> <location filename="_CommandMeshRegion.py" line="41"/> <source>FEM mesh region</source> <translation type="unfinished">FEM mesh region</translation> </message> <message> <location filename="_CommandMeshRegion.py" line="43"/> <source>Creates a FEM mesh region</source> <translation type="unfinished">Creates a FEM mesh region</translation> </message> </context> <context> <name>Fem_PrintMeshInfo</name> <message> <location filename="<API key>.py" line="44"/> <source>Print FEM mesh info</source> <translation type="unfinished">Print FEM mesh info</translation> </message> </context> <context> <name>Fem_PurgeResults</name> <message> <location filename="<API key>.py" line="40"/> <source>Purge results</source> <translation>Очистити результати</translation> </message> <message> <location filename="<API key>.py" line="42"/> <source>Purge results from an analysis</source> <translation>Очистити результати від аналізу</translation> </message> <message> <location filename="<API key>.py" line="43"/> <source>Purges all results from active analysis</source> <translation type="unfinished">Purges all results from active analysis</translation> </message> </context> <context> <name>Fem_RunAnalysis</name> <message> <location filename="_CommandRunSolver.py" line="40"/> <source>Run solver calculations</source> <translation type="unfinished">Run solver calculations</translation> </message> <message> <location filename="_CommandRunSolver.py" line="42"/> <source>Runs the calculations for the selected solver</source> <translation type="unfinished">Runs the calculations for the selected solver</translation> </message> </context> <context> <name>Fem_ShellThickness</name> <message> <location filename="<API key>.py" line="41"/> <source>Shell plate thickness</source> <translation type="unfinished">Shell plate thickness</translation> </message> <message> <location filename="<API key>.py" line="43"/> <source>Creates a FEM shell plate thickness</source> <translation type="unfinished">Creates a FEM shell plate thickness</translation> </message> <message> <location filename="<API key>.py" line="41"/> <source>FEM Shell Plate Thickness Definition ...</source> <translation type="unfinished">FEM Shell Plate Thickness Definition ...</translation> </message> <message> <location filename="<API key>.py" line="43"/> <source>Creates a FEM Shell Thickness</source> <translation type="unfinished">Creates a FEM Shell Thickness</translation> </message> </context> <context> <name>Fem_ShowResult</name> <message> <location filename="<API key>.py" line="40"/> <source>Show result</source> <translation>Показати результат</translation> </message> <message> <location filename="<API key>.py" line="42"/> <source>Show result information of an analysis</source> <translation type="unfinished">Show result information of an analysis</translation> </message> <message> <location filename="_CommandShowResult.py" line="42"/> <source>Shows and visualizes selected result data</source> <translation type="unfinished">Shows and visualizes selected result data</translation> </message> </context> <context> <name>Fem_SolverCalculix</name> <message> <location filename="<API key>.py" line="42"/> <source>Solver CalculiX</source> <translation type="unfinished">Solver CalculiX</translation> </message> <message> <location filename="<API key>.py" line="44"/> <source>Creates a FEM solver CalculiX</source> <translation type="unfinished">Creates a FEM solver CalculiX</translation> </message> <message> <location filename="<API key>.py" line="41"/> <source>Create FEM Solver CalculiX ...</source> <translation type="unfinished">Create FEM Solver CalculiX ...</translation> </message> <message> <location filename="<API key>.py" line="43"/> <source>Creates FEM Solver CalculiX</source> <translation type="unfinished">Creates FEM Solver CalculiX</translation> </message> </context> <context> <name>Fem_SolverZ88</name> <message> <location filename="_CommandSolverZ88.py" line="41"/> <source>Solver Z88</source> <translation type="unfinished">Solver Z88</translation> </message> <message> <location filename="_CommandSolverZ88.py" line="43"/> <source>Creates a FEM solver Z88</source> <translation type="unfinished">Creates a FEM solver Z88</translation> </message> </context> <context> <name>Fem_CreateFromShape</name> <message> <location filename="<API key>.py" line="39"/> <source>Create FEM mesh</source> <translation>Створити МСЕ сітку</translation> </message> <message> <location filename="<API key>.py" line="40"/> <source>Create FEM mesh from shape</source> <translation>Створити МСЕ сітку з форми</translation> </message> </context> <context> <name><API key></name> <message> <location filename="<API key>.py" line="40"/> <source>New mechanical analysis</source> <translation type="unfinished">New mechanical analysis</translation> </message> <message> <location filename="<API key>.py" line="42"/> <source>Create a new mechanical analysis</source> <translation type="unfinished">Create a new mechanical analysis</translation> </message> </context> <context> <name>Fem_Quick_Analysis</name> <message> <location filename="<API key>.py" line="40"/> <source>Run CalculiX ccx</source> <translation type="unfinished">Run CalculiX ccx</translation> </message> <message> <location filename="<API key>.py" line="42"/> <source>Write .inp file and run CalculiX ccx</source> <translation type="unfinished">Write .inp file and run CalculiX ccx</translation> </message> </context> <context> <name><API key></name> <message> <location filename="<API key>.py" line="40"/> <source>Start solver job control</source> <translation type="unfinished">Start solver job control</translation> </message> <message> <location filename="<API key>.py" line="42"/> <source>Dialog to start the calculation of the selected solver</source> <translation type="unfinished">Dialog to start the calculation of the selected solver</translation> </message> </context> <context> <name>Fem_JobControl</name> <message> <location filename="<API key>.py" line="40"/> <source>Start solver job control</source> <translation type="unfinished">Start solver job control</translation> </message> <message> <location filename="<API key>.py" line="42"/> <source>Dialog to start the calculation of the selected solver</source> <translation type="unfinished">Dialog to start the calculation of the selected solver</translation> </message> </context> <context> <name>Fem_Material</name> <message> <location filename="<API key>.py" line="42"/> <source>Mechanical material...</source> <translation type="unfinished">Mechanical material...</translation> </message> <message> <location filename="<API key>.py" line="44"/> <source>Creates or edit the mechanical material definition.</source> <translation type="unfinished">Creates or edit the mechanical material definition.</translation> </message> </context> <context> <name>Fem_Result</name> <message> <location filename="<API key>.py" line="40"/> <source>Show result</source> <translation>Показати результат</translation> </message> <message> <location filename="<API key>.py" line="42"/> <source>Show result information of an analysis</source> <translation type="unfinished">Show result information of an analysis</translation> </message> </context> <context> <name>CmdFemAddPart</name> <message> <location filename="../../Command.cpp" line="165"/> <source>Fem</source> <translation>МСЕ (Метод скінченних елементів)</translation> </message> <message> <location filename="../../Command.cpp" line="166"/> <location filename="../../Command.cpp" line="167"/> <source>Add a part to the Analysis</source> <translation>Додати частину до аналізу</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../Command.cpp" line="273"/> <source>Fem</source> <translation>МСЕ (Метод скінченних елементів)</translation> </message> <message> <location filename="../../Command.cpp" line="274"/> <source>Create FEM bearing constraint</source> <translation type="unfinished">Create FEM bearing constraint</translation> </message> <message> <location filename="../../Command.cpp" line="275"/> <source>Create FEM constraint for a bearing</source> <translation type="unfinished">Create FEM constraint for a bearing</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../Command.cpp" line="531"/> <source>Fem</source> <translation>МСЕ (Метод скінченних елементів)</translation> </message> <message> <location filename="../../Command.cpp" line="532"/> <source>Create FEM displacement constraint</source> <translation type="unfinished">Create FEM displacement constraint</translation> </message> <message> <location filename="../../Command.cpp" line="533"/> <source>Create FEM constraint for a displacement acting on a face</source> <translation type="unfinished">Create FEM constraint for a displacement acting on a face</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../Command.cpp" line="314"/> <source>Fem</source> <translation>МСЕ (Метод скінченних елементів)</translation> </message> <message> <location filename="../../Command.cpp" line="315"/> <source>Create FEM fixed constraint</source> <translation type="unfinished">Create FEM fixed constraint</translation> </message> <message> <location filename="../../Command.cpp" line="316"/> <source>Create FEM constraint for a fixed geometric entity</source> <translation type="unfinished">Create FEM constraint for a fixed geometric entity</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../Command.cpp" line="356"/> <source>Fem</source> <translation>МСЕ (Метод скінченних елементів)</translation> </message> <message> <location filename="../../Command.cpp" line="357"/> <source>Create FEM force constraint</source> <translation type="unfinished">Create FEM force constraint</translation> </message> <message> <location filename="../../Command.cpp" line="358"/> <source>Create FEM constraint for a force acting on a geometric entity</source> <translation type="unfinished">Create FEM constraint for a force acting on a geometric entity</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../Command.cpp" line="445"/> <source>Fem</source> <translation>МСЕ (Метод скінченних елементів)</translation> </message> <message> <location filename="../../Command.cpp" line="446"/> <source>Create FEM gear constraint</source> <translation type="unfinished">Create FEM gear constraint</translation> </message> <message> <location filename="../../Command.cpp" line="447"/> <source>Create FEM constraint for a gear</source> <translation type="unfinished">Create FEM constraint for a gear</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../Command.cpp" line="400"/> <source>Fem</source> <translation>МСЕ (Метод скінченних елементів)</translation> </message> <message> <location filename="../../Command.cpp" line="401"/> <source>Create FEM pressure constraint</source> <translation type="unfinished">Create FEM pressure constraint</translation> </message> <message> <location filename="../../Command.cpp" line="402"/> <source>Create FEM constraint for a pressure acting on a face</source> <translation type="unfinished">Create FEM constraint for a pressure acting on a face</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../Command.cpp" line="486"/> <source>Fem</source> <translation>МСЕ (Метод скінченних елементів)</translation> </message> <message> <location filename="../../Command.cpp" line="487"/> <source>Create FEM pulley constraint</source> <translation type="unfinished">Create FEM pulley constraint</translation> </message> <message> <location filename="../../Command.cpp" line="488"/> <source>Create FEM constraint for a pulley</source> <translation type="unfinished">Create FEM constraint for a pulley</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../Command.cpp" line="103"/> <source>Fem</source> <translation>МСЕ (Метод скінченних елементів)</translation> </message> <message> <location filename="../../Command.cpp" line="104"/> <location filename="../../Command.cpp" line="105"/> <source>Create a FEM analysis</source> <translation>Створити МСЕ аналіз</translation> </message> </context> <context> <name><API key></name> <message> <source>Fem</source> <translation>МСЕ (Метод скінченних елементів)</translation> </message> <message> <source>Create FEM mesh</source> <translation>Створити МСЕ сітку</translation> </message> <message> <source>Create FEM mesh from shape</source> <translation>Створити МСЕ сітку з форми</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../Command.cpp" line="719"/> <source>Fem</source> <translation>МСЕ (Метод скінченних елементів)</translation> </message> <message> <location filename="../../Command.cpp" line="720"/> <location filename="../../Command.cpp" line="721"/> <source>Define/create a nodes set...</source> <translation>Визначити/створити набір вузлів...</translation> </message> <message> <location filename="../../Command.cpp" line="749"/> <source>Wrong selection</source> <translation>Невірний вибір</translation> </message> <message> <location filename="../../Command.cpp" line="750"/> <source>Select a single FEM mesh or nodes set, please.</source> <translation type="unfinished">Select a single FEM mesh or nodes set, please.</translation> </message> </context> <context> <name>CmdFemCreateSolver</name> <message> <location filename="../../Command.cpp" line="228"/> <source>Fem</source> <translation>МСЕ (Метод скінченних елементів)</translation> </message> <message> <location filename="../../Command.cpp" line="229"/> <location filename="../../Command.cpp" line="230"/> <source>Add a solver to the Analysis</source> <translation type="unfinished">Add a solver to the Analysis</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../Command.cpp" line="662"/> <source>Fem</source> <translation>МСЕ (Метод скінченних елементів)</translation> </message> <message> <location filename="../../Command.cpp" line="663"/> <location filename="../../Command.cpp" line="664"/> <location filename="../../Command.cpp" line="666"/> <source>Create node set by Poly</source> <translation type="unfinished">Create node set by Poly</translation> </message> </context> <context> <name>FemGui::DlgSettingsFemImp</name> <message> <location filename="../../DlgSettingsFem.ui" line="14"/> <source>FEM</source> <translation>МСЕ</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="37"/> <source>CalculiX</source> <translation>CalculiX</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="51"/> <source>Use internal editor for .inp files</source> <translation>Використовувати вбудований редактор для .inp-файлів</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="78"/> <source>External editor:</source> <translation>Зовнішній редактор:</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="122"/> <source>Leave blank to use default CalculiX ccx binary file</source> <translation type="unfinished">Leave blank to use default CalculiX ccx binary file</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="141"/> <source>ccx binary</source> <translation type="unfinished">ccx binary</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="157"/> <source>Working directory</source> <translation>Робочий каталог</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="199"/> <source>Default analysis settings</source> <translation type="unfinished">Default analysis settings</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="213"/> <source>Default type on analysis</source> <translation type="unfinished">Default type on analysis</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="223"/> <source>Static</source> <translation>Статичний</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="232"/> <source>Frequency</source> <translation>Частота</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="244"/> <source>Eigenmode number</source> <translation type="unfinished">Eigenmode number</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="251"/> <source>Type</source> <translation>Тип</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="274"/> <source>High frequency limit</source> <translation type="unfinished">High frequency limit</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="303"/> <source>Low frequency limit</source> <translation type="unfinished">Low frequency limit</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="335"/> <location filename="../../DlgSettingsFem.ui" line="342"/> <source>Hz</source> <translation>Гц</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="354"/> <source>Materials</source> <translation>Матеріали</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="362"/> <source>Use built-in materials</source> <translation type="unfinished">Use built-in materials</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="378"/> <source>Use materials from .FreeCAD/Materials directory</source> <translation type="unfinished">Use materials from .FreeCAD/Materials directory</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="394"/> <source>Use materials from user defined directory</source> <translation type="unfinished">Use materials from user defined directory</translation> </message> <message> <location filename="../../DlgSettingsFem.ui" line="449"/> <source>User directory</source> <translation>Каталог користувача</translation> </message> </context> <context> <name>FemGui::HypothesisWidget</name> <message> <source>Hypothesis</source> <translation>Припущення</translation> </message> <message> <source>Quadrangle</source> <translation>Чотирикутне подві́р'я</translation> </message> <message> <source>Maximum length</source> <translation>Максимальна довжина</translation> </message> <message> <source>Local length</source> <translation>Локальна довжина</translation> </message> <message> <source>Maximum element area</source> <translation>Максимальна площа елемента</translation> </message> </context> <context> <name>FemGui::TaskAnalysisInfo</name> <message> <location filename="../../TaskAnalysisInfo.cpp" line="45"/> <source>Nodes set</source> <translation>Набір вузлів</translation> </message> </context> <context> <name>FemGui::TaskCreateNodeSet</name> <message> <location filename="../../TaskCreateNodeSet.cpp" line="63"/> <source>Nodes set</source> <translation>Набір вузлів</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../TaskFemConstraint.cpp" line="195"/> <location filename="../../TaskFemConstraint.cpp" line="206"/> <source>Input error</source> <translation>Помилка вводу</translation> </message> <message> <location filename="../../TaskFemConstraint.cpp" line="195"/> <source>You must specify at least one reference</source> <translation>Потрібно вказати принаймні одне посилання</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="351"/> <source>Input error</source> <translation>Помилка вводу</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="639"/> <source>Input error</source> <translation>Помилка вводу</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="358"/> <location filename="../../<API key>.cpp" line="384"/> <source>Input error</source> <translation>Помилка вводу</translation> </message> <message> <location filename="../../<API key>.cpp" line="358"/> <source>Please specify a force greater than 0</source> <translation type="unfinished">Please specify a force greater than 0</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="310"/> <source>Input error</source> <translation>Помилка вводу</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="257"/> <location filename="../../<API key>.cpp" line="273"/> <source>Input error</source> <translation>Помилка вводу</translation> </message> <message> <location filename="../../<API key>.cpp" line="257"/> <source>Please specify a pressure greater than 0</source> <translation type="unfinished">Please specify a pressure greater than 0</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="204"/> <source>Input error</source> <translation>Помилка вводу</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="75"/> <source>Edit FEM mesh</source> <translation>Редагувати сітку МСЕ</translation> </message> <message> <location filename="../../<API key>.cpp" line="106"/> <source>Meshing failure</source> <translation>Не вдалося побудувати сітку</translation> </message> </context> <context> <name>FemGui::TaskDriver</name> <message> <location filename="../../TaskDriver.cpp" line="51"/> <source>Nodes set</source> <translation>Набір вузлів</translation> </message> </context> <context> <name>FemGui::TaskFemConstraint</name> <message> <location filename="../../TaskFemConstraint.cpp" line="67"/> <source>FEM constraint parameters</source> <translation>Обмежувальні параметри МСЕ</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="76"/> <source>Delete</source> <translation>Видалити</translation> </message> <message> <location filename="../../<API key>.cpp" line="174"/> <location filename="../../<API key>.cpp" line="178"/> <location filename="../../<API key>.cpp" line="185"/> <location filename="../../<API key>.cpp" line="201"/> <location filename="../../<API key>.cpp" line="207"/> <location filename="../../<API key>.cpp" line="212"/> <source>Selection error</source> <translation>Помилка виділення</translation> </message> <message> <location filename="../../<API key>.cpp" line="174"/> <source>Please use only a single reference for bearing constraint</source> <translation type="unfinished">Please use only a single reference for bearing constraint</translation> </message> <message> <location filename="../../<API key>.cpp" line="178"/> <source>Only faces can be picked</source> <translation>Можливо обрати лише грані</translation> </message> <message> <location filename="../../<API key>.cpp" line="185"/> <source>Only cylindrical faces can be picked</source> <translation>Можуть бути обраними лише циліндричні поверхні</translation> </message> <message> <location filename="../../<API key>.cpp" line="201"/> <source>Only planar faces can be picked</source> <translation>Можуть бути обрані лише планарні грані</translation> </message> <message> <location filename="../../<API key>.cpp" line="207"/> <source>Only linear edges can be picked</source> <translation type="unfinished">Only linear edges can be picked</translation> </message> <message> <location filename="../../<API key>.cpp" line="212"/> <source>Only faces and edges can be picked</source> <translation type="unfinished">Only faces and edges can be picked</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="69"/> <source>Delete</source> <translation>Видалити</translation> </message> <message> <location filename="../../<API key>.cpp" line="412"/> <location filename="../../<API key>.cpp" line="422"/> <location filename="../../<API key>.cpp" line="454"/> <location filename="../../<API key>.cpp" line="464"/> <source>Selection error</source> <translation>Помилка виділення</translation> </message> <message> <location filename="../../<API key>.cpp" line="412"/> <location filename="../../<API key>.cpp" line="454"/> <source>Nothing selected!</source> <translation type="unfinished">Nothing selected!</translation> </message> <message> <location filename="../../<API key>.cpp" line="422"/> <location filename="../../<API key>.cpp" line="464"/> <source>Selected object is not a part!</source> <translation type="unfinished">Selected object is not a part!</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="74"/> <source>Delete</source> <translation>Видалити</translation> </message> <message> <location filename="../../<API key>.cpp" line="135"/> <location filename="../../<API key>.cpp" line="140"/> <source>Selection error</source> <translation>Помилка виділення</translation> </message> <message> <location filename="../../<API key>.cpp" line="135"/> <source>Mixed shape types are not possible. Use a second constraint instead</source> <translation type="unfinished">Mixed shape types are not possible. Use a second constraint instead</translation> </message> <message> <location filename="../../<API key>.cpp" line="140"/> <source>Only faces, edges and vertices can be picked</source> <translation type="unfinished">Only faces, edges and vertices can be picked</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="75"/> <source>Delete</source> <translation>Видалити</translation> </message> <message> <location filename="../../<API key>.cpp" line="142"/> <source>Point load</source> <translation>Точка навантаження</translation> </message> <message> <location filename="../../<API key>.cpp" line="144"/> <source>Line load</source> <translation>Лінія навантаження</translation> </message> <message> <location filename="../../<API key>.cpp" line="146"/> <source>Area load</source> <translation>Поверхня навантаження</translation> </message> <message> <location filename="../../<API key>.cpp" line="176"/> <location filename="../../<API key>.cpp" line="182"/> <location filename="../../<API key>.cpp" line="213"/> <location filename="../../<API key>.cpp" line="219"/> <location filename="../../<API key>.cpp" line="224"/> <source>Selection error</source> <translation>Помилка виділення</translation> </message> <message> <location filename="../../<API key>.cpp" line="176"/> <source>Mixed shape types are not possible. Use a second constraint instead</source> <translation type="unfinished">Mixed shape types are not possible. Use a second constraint instead</translation> </message> <message> <location filename="../../<API key>.cpp" line="182"/> <source>Only faces, edges and vertices can be picked</source> <translation type="unfinished">Only faces, edges and vertices can be picked</translation> </message> <message> <location filename="../../<API key>.cpp" line="213"/> <source>Only planar faces can be picked</source> <translation>Можуть бути обрані лише планарні грані</translation> </message> <message> <location filename="../../<API key>.cpp" line="219"/> <source>Only linear edges can be picked</source> <translation type="unfinished">Only linear edges can be picked</translation> </message> <message> <location filename="../../<API key>.cpp" line="224"/> <source>Only faces and edges can be picked</source> <translation type="unfinished">Only faces and edges can be picked</translation> </message> <message> <source>Point load [N]</source> <translation type="unfinished">Point load [N]</translation> </message> <message> <source>Line load [N/mm]</source> <translation type="unfinished">Line load [N/mm]</translation> </message> <message> <source>Area load [N/mm²]</source> <translation type="unfinished">Area load [N/mm²]</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="154"/> <location filename="../../<API key>.cpp" line="160"/> <location filename="../../<API key>.cpp" line="165"/> <source>Selection error</source> <translation>Помилка виділення</translation> </message> <message> <location filename="../../<API key>.cpp" line="154"/> <source>Only planar faces can be picked</source> <translation>Можуть бути обрані лише планарні грані</translation> </message> <message> <location filename="../../<API key>.cpp" line="160"/> <source>Only linear edges can be picked</source> <translation type="unfinished">Only linear edges can be picked</translation> </message> <message> <location filename="../../<API key>.cpp" line="165"/> <source>Only faces and edges can be picked</source> <translation type="unfinished">Only faces and edges can be picked</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="61"/> <source>Delete</source> <translation>Видалити</translation> </message> <message> <location filename="../../<API key>.cpp" line="145"/> <source>Selection error</source> <translation>Помилка виділення</translation> </message> <message> <location filename="../../<API key>.cpp" line="145"/> <source>Only faces can be picked</source> <translation>Можливо обрати лише грані</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="94"/> <source>Pulley diameter</source> <translation>Діаметр шківу</translation> </message> <message> <location filename="../../<API key>.cpp" line="95"/> <source>Torque [Nm]</source> <translation>Крутний момент [Nm]</translation> </message> </context> <context> <name>FemGui::TaskObjectName</name> <message> <location filename="../../TaskObjectName.cpp" line="48"/> <source>TaskObjectName</source> <translation type="unfinished">TaskObjectName</translation> </message> </context> <context> <name>FemGui::TaskTetParameter</name> <message> <location filename="../../TaskTetParameter.cpp" line="52"/> <source>Tet Parameter</source> <translation type="unfinished">Tet Parameter</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="84"/> <source>Activate analysis</source> <translation>Активувати аналіз</translation> </message> </context> <context> <name>FemGui::<API key></name> <message> <location filename="../../<API key>.cpp" line="76"/> <source>Meshing failure</source> <translation>Не вдалося побудувати сітку</translation> </message> <message> <location filename="../../<API key>.cpp" line="77"/> <source>The FEM module is built without NETGEN support. Meshing will not work!!!</source> <translation type="unfinished">The FEM module is built without NETGEN support. Meshing will not work!!!</translation> </message> </context> <context> <name>Form</name> <message> <location filename="../../../<API key>.ui" line="14"/> <location filename="../../../<API key>.ui" line="14"/> <source>Form</source> <translation>Форма</translation> </message> <message> <location filename="../../../<API key>.ui" line="26"/> <source>Cross Section</source> <translation>Поперечний переріз</translation> </message> <message> <location filename="../../../<API key>.ui" line="32"/> <location filename="../../../<API key>.ui" line="32"/> <source>Use FreeCAD Property Editor</source> <translation type="unfinished">Use FreeCAD Property Editor</translation> </message> <message> <location filename="../../../<API key>.ui" line="39"/> <source>to edit the cross section values</source> <translation type="unfinished">to edit the cross section values</translation> </message> <message> <location filename="../../../<API key>.ui" line="49"/> <location filename="../../../<API key>.ui" line="49"/> <source>References</source> <translation>Посилання</translation> </message> <message> <location filename="../../../<API key>.ui" line="55"/> <location filename="../../../<API key>.ui" line="55"/> <source>Leave references blank </source> <translation type="unfinished">Leave references blank </translation> </message> <message> <location filename="../../../<API key>.ui" line="62"/> <location filename="../../../<API key>.ui" line="62"/> <source>to choose all remaining shapes</source> <translation type="unfinished">to choose all remaining shapes</translation> </message> <message> <location filename="../../../<API key>.ui" line="72"/> <location filename="../../../<API key>.ui" line="72"/> <source>Add reference</source> <translation>Додати посилання</translation> </message> <message> <location filename="../../../<API key>.ui" line="26"/> <source>Thickness</source> <translation>Товщина</translation> </message> <message> <location filename="../../../<API key>.ui" line="39"/> <source>to edit the thickness value</source> <translation type="unfinished">to edit the thickness value</translation> </message> </context> <context> <name>MechanicalMaterial</name> <message> <location filename="../../../<API key>.ui" line="14"/> <source>Mechanical analysis</source> <translation>Механічний аналіз</translation> </message> <message> <location filename="../../../<API key>.ui" line="20"/> <source>Working directory</source> <translation>Робочий каталог</translation> </message> <message> <location filename="../../../<API key>.ui" line="45"/> <source>...</source> <translation>...</translation> </message> <message> <location filename="../../../<API key>.ui" line="55"/> <source>Analysis type</source> <translation>Тип аналізу</translation> </message> <message> <location filename="../../../<API key>.ui" line="67"/> <source>Static</source> <translation>Статичний</translation> </message> <message> <location filename="../../../<API key>.ui" line="77"/> <source>Frequency</source> <translation>Частота</translation> </message> <message> <location filename="../../../<API key>.ui" line="89"/> <source>Write .inp file</source> <translation>Записати файл .inp</translation> </message> <message> <location filename="../../../<API key>.ui" line="99"/> <source>Edit .inp file</source> <translation>Редагувати файл .inp</translation> </message> <message> <location filename="../../../<API key>.ui" line="109"/> <source>Run Calculix</source> <translation>Запустити Calculix</translation> </message> <message> <location filename="../../../<API key>.ui" line="130"/> <source>Time:</source> <translation>Час:</translation> </message> <message> <source>Write Calculix Input File</source> <translation type="unfinished">Write Calculix Input File</translation> </message> <message> <source>Edit Calculix Input File</source> <translation type="unfinished">Edit Calculix Input File</translation> </message> <message> <location filename="../../../<API key>.ui" line="14"/> <source>Mechanical material</source> <translation type="unfinished">Mechanical material</translation> </message> <message> <location filename="../../../<API key>.ui" line="26"/> <source>Material</source> <translation>Матеріал</translation> </message> <message> <location filename="../../../<API key>.ui" line="33"/> <source>choose...</source> <translation>обрати...</translation> </message> <message> <location filename="../../../<API key>.ui" line="41"/> <source>Material Description</source> <translation>Опис матеріалу</translation> </message> <message> <location filename="../../../<API key>.ui" line="54"/> <source>References</source> <translation>Посилання</translation> </message> <message> <location filename="../../../<API key>.ui" line="60"/> <source>Leave references blank </source> <translation type="unfinished">Leave references blank </translation> </message> <message> <location filename="../../../<API key>.ui" line="67"/> <source>to choose all remaining shapes</source> <translation type="unfinished">to choose all remaining shapes</translation> </message> <message> <location filename="../../../<API key>.ui" line="77"/> <source>Add reference</source> <translation>Додати посилання</translation> </message> <message> <location filename="../../../<API key>.ui" line="96"/> <source>Properties</source> <translation type="unfinished">Properties</translation> </message> <message> <location filename="../../../<API key>.ui" line="107"/> <source>Young's Modulus:</source> <translation>Модуль Юнга:</translation> </message> <message> <location filename="../../../<API key>.ui" line="148"/> <source>Poisson Ratio:</source> <translation>Коефіцієнт Пуассона:</translation> </message> <message> <location filename="../../../<API key>.ui" line="186"/> <source>Density</source> <translation>Щільність</translation> </message> <message> <location filename="../../../<API key>.ui" line="241"/> <source>External material resources</source> <translation type="unfinished">External material resources</translation> </message> <message> <location filename="../../../<API key>.ui" line="247"/> <source>MatWeb database...</source> <translation>База даних MatWeb...</translation> </message> <message> <source>0 kg/m^3</source> <translation type="unfinished">0 kg/m^3</translation> </message> <message> <source>Pa</source> <translation>Па</translation> </message> </context> <context> <name>QObject</name> <message> <location filename="../../Command.cpp" line="71"/> <source>No active Analysis</source> <translation type="unfinished">No active Analysis</translation> </message> <message> <location filename="../../Command.cpp" line="72"/> <source>You need to create or activate a Analysis</source> <translation>Вам потрібно створити або активувати аналіз</translation> </message> <message> <location filename="../../Command.cpp" line="114"/> <location filename="../../Command.cpp" line="122"/> <location filename="../../Command.cpp" line="176"/> <location filename="../../Command.cpp" line="184"/> <location filename="../../Command.cpp" line="239"/> <source>Wrong selection</source> <translation>Невірний вибір</translation> </message> <message> <location filename="../../Command.cpp" line="115"/> <location filename="../../Command.cpp" line="177"/> <location filename="../../Command.cpp" line="240"/> <source>Your FreeCAD is build without NETGEN support. Meshing will not work....</source> <translation type="unfinished">Your FreeCAD is build without NETGEN support. Meshing will not work....</translation> </message> <message> <location filename="../../Command.cpp" line="123"/> <location filename="../../Command.cpp" line="185"/> <source>Select an edge, face or body. Only one body is allowed.</source> <translation>Обрати грань, поверхню або тіло. Можливо обрати лише одне тіло.</translation> </message> <message> <location filename="../../Command.cpp" line="128"/> <location filename="../../Command.cpp" line="190"/> <source>Wrong object type</source> <translation>Невірний тип об'єкта</translation> </message> <message> <location filename="../../Command.cpp" line="129"/> <location filename="../../Command.cpp" line="191"/> <source>Fillet works only on parts</source> <translation>Cкруглення можливе лише для деталей</translation> </message> <message> <location filename="../../TaskFemConstraint.cpp" line="83"/> <source>Ok</source> <translation>Гаразд</translation> </message> <message> <location filename="../../TaskFemConstraint.cpp" line="84"/> <source>Cancel</source> <translation>Скасувати</translation> </message> <message> <location filename="../../<API key>.cpp" line="145"/> <source>Edit constraint</source> <translation>Редагувати обмеження</translation> </message> <message> <source>Combo View</source> <translation>Комбінований вигляд</translation> </message> <message> <source>combiTab</source> <translation type="unfinished">combiTab</translation> </message> <message> <source><API key></source> <translation><API key></translation> </message> <message> <source>ShaftWizard</source> <translation type="unfinished">ShaftWizard</translation> </message> <message> <source>ShaftWizardLayout</source> <translation type="unfinished">ShaftWizardLayout</translation> </message> <message> <location filename="../../<API key>.cpp" line="74"/> <location filename="../../<API key>.cpp" line="74"/> <location filename="../../<API key>.cpp" line="73"/> <location filename="../../<API key>.cpp" line="74"/> <location filename="../../<API key>.cpp" line="73"/> <source>A dialog is already open in the task panel</source> <translation>Діалогове вікно вже відкрито в панелі задач</translation> </message> <message> <location filename="../../<API key>.cpp" line="75"/> <location filename="../../<API key>.cpp" line="75"/> <location filename="../../<API key>.cpp" line="74"/> <location filename="../../<API key>.cpp" line="75"/> <location filename="../../<API key>.cpp" line="74"/> <source>Do you want to close this dialog?</source> <translation>Ви бажаєте закрити це діалогове вікно?</translation> </message> <message> <location filename="../../<API key>.cpp" line="62"/> <source>Meshing</source> <translation>Побудова сітки</translation> </message> <message> <location filename="../../<API key>.cpp" line="343"/> <source>Constraint force</source> <translation type="unfinished">Constraint force</translation> </message> <message> <location filename="../../<API key>.cpp" line="587"/> <location filename="../../<API key>.cpp" line="243"/> <source>Constraint normal stress</source> <translation type="unfinished">Constraint normal stress</translation> </message> <message> <location filename="../../PropertyFemMeshItem.cpp" line="98"/> <source>[Nodes: %1, Edges: %2, Faces: %3, Polygons: %4, Volumes: %5, Polyhedrons: %6]</source> <translation type="unfinished">[Nodes: %1, Edges: %2, Faces: %3, Polygons: %4, Volumes: %5, Polyhedrons: %6]</translation> </message> </context> <context> <name>ShowDisplacement</name> <message> <location filename="../../../<API key>.ui" line="14"/> <source>Show result</source> <translation>Показати результат</translation> </message> <message> <location filename="../../../<API key>.ui" line="22"/> <source>Result type</source> <translation type="unfinished">Result type</translation> </message> <message> <location filename="../../../<API key>.ui" line="30"/> <source>Y displacement</source> <translation>Зміщення по Y</translation> </message> <message> <location filename="../../../<API key>.ui" line="37"/> <source>X displacement</source> <translation>Зміщення по X</translation> </message> <message> <location filename="../../../<API key>.ui" line="44"/> <source>Z displacement</source> <translation>Зміщення по Z</translation> </message> <message> <location filename="../../../<API key>.ui" line="51"/> <source>None</source> <translation>Немає</translation> </message> <message> <location filename="../../../<API key>.ui" line="61"/> <source>Von Mises stress</source> <translation type="unfinished">Von Mises stress</translation> </message> <message> <location filename="../../../<API key>.ui" line="68"/> <source>Abs displacement</source> <translation type="unfinished">Abs displacement</translation> </message> <message> <location filename="../../../<API key>.ui" line="79"/> <source>Avg:</source> <translation>Середнє:</translation> </message> <message> <location filename="../../../<API key>.ui" line="96"/> <source>Max:</source> <translation>Максимум:</translation> </message> <message> <location filename="../../../<API key>.ui" line="123"/> <source>Min:</source> <translation>Мінімум:</translation> </message> <message> <location filename="../../../<API key>.ui" line="135"/> <source>Displacement</source> <translation>Водотоннажність</translation> </message> <message> <location filename="../../../<API key>.ui" line="143"/> <source>Show</source> <translation>Показати</translation> </message> <message> <location filename="../../../<API key>.ui" line="176"/> <source>Factor:</source> <translation>Фактор:</translation> </message> <message> <location filename="../../../<API key>.ui" line="209"/> <source>Slider max:</source> <translation type="unfinished">Slider max:</translation> </message> <message> <source>Colors</source> <translation>Кольори</translation> </message> <message> <source>mm</source> <translation>мм</translation> </message> </context> <context> <name>TaskAnalysisInfo</name> <message> <location filename="../../TaskAnalysisInfo.ui" line="20"/> <source>Form</source> <translation>Форма</translation> </message> <message> <location filename="../../TaskAnalysisInfo.ui" line="32"/> <source>Meshes:</source> <translation>Сітки:</translation> </message> <message> <location filename="../../TaskAnalysisInfo.ui" line="48"/> <source>Constraints</source> <translation>Обмеження</translation> </message> </context> <context> <name>TaskCreateNodeSet</name> <message> <location filename="../../TaskCreateNodeSet.ui" line="20"/> <source>Form</source> <translation>Форма</translation> </message> <message> <location filename="../../TaskCreateNodeSet.ui" line="27"/> <source>Volume</source> <translation>Об'єм</translation> </message> <message> <location filename="../../TaskCreateNodeSet.ui" line="32"/> <source>Surface</source> <translation>Поверхня</translation> </message> <message> <location filename="../../TaskCreateNodeSet.ui" line="49"/> <source>Nodes: 0</source> <translation>Вузлів: 0</translation> </message> <message> <location filename="../../TaskCreateNodeSet.ui" line="60"/> <source>Poly</source> <translation type="unfinished">Poly</translation> </message> <message> <location filename="../../TaskCreateNodeSet.ui" line="70"/> <source>Box</source> <translation>Коробка</translation> </message> <message> <location filename="../../TaskCreateNodeSet.ui" line="80"/> <source>Pick</source> <translation>Вибрати</translation> </message> <message> <location filename="../../TaskCreateNodeSet.ui" line="87"/> <source>Add</source> <translation>Додати</translation> </message> <message> <location filename="../../TaskCreateNodeSet.ui" line="96"/> <source>Angle-search</source> <translation type="unfinished">Angle-search</translation> </message> <message> <location filename="../../TaskCreateNodeSet.ui" line="102"/> <source>Collect adjancent nodes</source> <translation type="unfinished">Collect adjancent nodes</translation> </message> <message> <location filename="../../TaskCreateNodeSet.ui" line="111"/> <source>Stop angle:</source> <translation>Кут зупинки:</translation> </message> </context> <context> <name>TaskDriver</name> <message> <location filename="../../TaskDriver.ui" line="20"/> <source>Form</source> <translation>Форма</translation> </message> </context> <context> <name>TaskFemConstraint</name> <message> <location filename="../../TaskFemConstraint.ui" line="14"/> <source>Form</source> <translation>Форма</translation> </message> <message> <location filename="../../TaskFemConstraint.ui" line="23"/> <source>Add reference</source> <translation>Додати посилання</translation> </message> <message> <location filename="../../TaskFemConstraint.ui" line="35"/> <source>Load [N]</source> <translation>Навантаження [N]</translation> </message> <message> <location filename="../../TaskFemConstraint.ui" line="59"/> <source>Diameter</source> <translation>Діаметр</translation> </message> <message> <location filename="../../TaskFemConstraint.ui" line="86"/> <source>Other diameter</source> <translation>Інший діаметр</translation> </message> <message> <location filename="../../TaskFemConstraint.ui" line="113"/> <source>Center distance</source> <translation>Середина відстані</translation> </message> <message> <location filename="../../TaskFemConstraint.ui" line="137"/> <source>Direction</source> <translation>Напрямок</translation> </message> <message> <location filename="../../TaskFemConstraint.ui" line="149"/> <source>Reverse direction</source> <translation type="unfinished">Reverse direction</translation> </message> <message> <location filename="../../TaskFemConstraint.ui" line="158"/> <source>Location</source> <translation>Розташування</translation> </message> <message> <location filename="../../TaskFemConstraint.ui" line="172"/> <source>Distance</source> <translation>Відстань</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../<API key>.ui" line="14"/> <source>Form</source> <translation>Форма</translation> </message> <message> <location filename="../../<API key>.ui" line="20"/> <source>Add reference</source> <translation>Додати посилання</translation> </message> <message> <location filename="../../<API key>.ui" line="35"/> <source>Gear diameter</source> <translation>Діаметр передачі</translation> </message> <message> <location filename="../../<API key>.ui" line="62"/> <source>Other pulley dia</source> <translation>Діаметр іншого шківа</translation> </message> <message> <location filename="../../<API key>.ui" line="86"/> <source>Center distance</source> <translation>Середина відстані</translation> </message> <message> <location filename="../../<API key>.ui" line="110"/> <source>Force</source> <translation>Сила</translation> </message> <message> <location filename="../../<API key>.ui" line="134"/> <source>Belt tension force</source> <translation>Сила натяжіння ременя</translation> </message> <message> <location filename="../../<API key>.ui" line="156"/> <source>Driven pulley</source> <translation>Ведений шків</translation> </message> <message> <location filename="../../<API key>.ui" line="165"/> <source>Force location [deg]</source> <translation type="unfinished">Force location [deg]</translation> </message> <message> <location filename="../../<API key>.ui" line="192"/> <source>Force Direction</source> <translation>Напрямок сили</translation> </message> <message> <location filename="../../<API key>.ui" line="204"/> <source>Reversed direction</source> <translation>Зворотній напрямок</translation> </message> <message> <location filename="../../<API key>.ui" line="211"/> <source>Axial free</source> <translation type="unfinished">Axial free</translation> </message> <message> <location filename="../../<API key>.ui" line="220"/> <source>Location</source> <translation>Розташування</translation> </message> <message> <location filename="../../<API key>.ui" line="234"/> <source>Distance</source> <translation>Відстань</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../<API key>.ui" line="35"/> <source>Prescribed Displacement</source> <translation type="unfinished">Prescribed Displacement</translation> </message> <message> <location filename="../../<API key>.ui" line="50"/> <source>Select multiple face(s), click Add or Remove</source> <translation type="unfinished">Select multiple face(s), click Add or Remove</translation> </message> <message> <location filename="../../<API key>.ui" line="59"/> <source>Add</source> <translation>Додати</translation> </message> <message> <location filename="../../<API key>.ui" line="66"/> <source>Remove</source> <translation>Видалити</translation> </message> <message> <location filename="../../<API key>.ui" line="95"/> <source>Displacement x</source> <translation type="unfinished">Displacement x</translation> </message> <message> <location filename="../../<API key>.ui" line="104"/> <location filename="../../<API key>.ui" line="146"/> <location filename="../../<API key>.ui" line="188"/> <location filename="../../<API key>.ui" line="249"/> <location filename="../../<API key>.ui" line="288"/> <location filename="../../<API key>.ui" line="330"/> <source>Free</source> <translation>Вільно</translation> </message> <message> <location filename="../../<API key>.ui" line="111"/> <location filename="../../<API key>.ui" line="153"/> <location filename="../../<API key>.ui" line="195"/> <location filename="../../<API key>.ui" line="256"/> <location filename="../../<API key>.ui" line="295"/> <location filename="../../<API key>.ui" line="340"/> <source>Fixed</source> <translation>Зафіксовано</translation> </message> <message> <location filename="../../<API key>.ui" line="137"/> <source>Displacement y</source> <translation type="unfinished">Displacement y</translation> </message> <message> <location filename="../../<API key>.ui" line="179"/> <source>Displacement z</source> <translation type="unfinished">Displacement z</translation> </message> <message> <location filename="../../<API key>.ui" line="225"/> <source>Rotations are only valid for Beam and Shell elements.</source> <translation type="unfinished">Rotations are only valid for Beam and Shell elements.</translation> </message> <message> <location filename="../../<API key>.ui" line="240"/> <source>Rotation x</source> <translation type="unfinished">Rotation x</translation> </message> <message> <location filename="../../<API key>.ui" line="279"/> <source>Rotation y</source> <translation type="unfinished">Rotation y</translation> </message> <message> <location filename="../../<API key>.ui" line="318"/> <source>Rotation z</source> <translation type="unfinished">Rotation z</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../<API key>.ui" line="14"/> <source>Form</source> <translation>Форма</translation> </message> <message> <location filename="../../<API key>.ui" line="20"/> <source>Add reference</source> <translation>Додати посилання</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../<API key>.ui" line="14"/> <source>Form</source> <translation>Форма</translation> </message> <message> <location filename="../../<API key>.ui" line="20"/> <source>Add reference</source> <translation>Додати посилання</translation> </message> <message> <location filename="../../<API key>.ui" line="32"/> <source>Load [N]</source> <translation>Навантаження [N]</translation> </message> <message> <location filename="../../<API key>.ui" line="56"/> <source>Direction</source> <translation>Напрямок</translation> </message> <message> <location filename="../../<API key>.ui" line="68"/> <source>Reverse direction</source> <translation type="unfinished">Reverse direction</translation> </message> </context> <context> <name><API key></name> <message> <location filename="../../<API key>.ui" line="14"/> <source>Form</source> <translation>Форма</translation> </message> <message> <location filename="../../<API key>.ui" line="20"/> <source>Add reference</source> <translation>Додати посилання</translation> </message> <message> <location filename="../../<API key>.ui" line="32"/> <source>Pressure</source> <translation>Тиск</translation> </message> <message> <location filename="../../<API key>.ui" line="39"/> <source>1 MPa</source> <translation>1 МПа</translation> </message> <message> <location filename="../../<API key>.ui" line="51"/> <source>Reverse direction</source> <translation type="unfinished">Reverse direction</translation> </message> </context> <context> <name>TaskObjectName</name> <message> <location filename="../../TaskObjectName.ui" line="14"/> <source>Form</source> <translation>Форма</translation> </message> </context> <context> <name>TaskTetParameter</name> <message> <location filename="../../TaskTetParameter.ui" line="20"/> <source>Form</source> <translation>Форма</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="28"/> <source>Max. Size:</source> <translation>Макс. розмір:</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="44"/> <source>Second order</source> <translation type="unfinished">Second order</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="53"/> <source>Fineness:</source> <translation>Чистота:</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="64"/> <source>VeryCoarse</source> <translation>Дуже шорсткий</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="69"/> <source>Coarse</source> <translation>Шорсткий</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="74"/> <source>Moderate</source> <translation>Помірний</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="79"/> <source>Fine</source> <translation>Добре</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="84"/> <source>VeryFine</source> <translation>Дуже добре</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="89"/> <source>UserDefined</source> <translation>Визначений користувачем</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="97"/> <source>Growth Rate:</source> <translation>Темп зростання:</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="111"/> <source>Nbr. Segs per Edge:</source> <translation>Кількість відрізків на ребро:</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="128"/> <source>Nbr. Segs per Radius:</source> <translation type="unfinished">Nbr. Segs per Radius:</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="144"/> <source>Optimize</source> <translation>Оптимізувати</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="166"/> <source>Node count: </source> <translation>Кількість вузлів: </translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="180"/> <source>Triangle count:</source> <translation>Кількість трикутників:</translation> </message> <message> <location filename="../../TaskTetParameter.ui" line="194"/> <source>Tetraeder count:</source> <translation>Кількість тетраедрів:</translation> </message> </context> <context> <name>Workbench</name> <message> <location filename="../../Workbench.cpp" line="38"/> <source>FEM</source> <translation>МСЕ</translation> </message> <message> <location filename="../../Workbench.cpp" line="39"/> <source>&amp;FEM</source> <translation>&amp;МСЕ</translation> </message> </context> </TS>
#include <QtTest/QtTest> #include <QtCore/qlocale.h> #include <qaudioinput.h> #include <qaudiodeviceinfo.h> #include <qaudioformat.h> #include <qaudio.h> #include "wavheader.h" //TESTED_COMPONENT=src/multimedia #define AUDIO_BUFFER 192000 #if defined(Q_OS_SYMBIAN) #define SRCDIR "" #endif #ifndef QTRY_VERIFY2 #define QTRY_VERIFY2(__expr,__msg) \ do { \ const int __step = 50; \ const int __timeout = 5000; \ if (!(__expr)) { \ QTest::qWait(0); \ } \ for (int __i = 0; __i < __timeout && !(__expr); __i+=__step) { \ QTest::qWait(__step); \ } \ QVERIFY2(__expr,__msg); \ } while(0) #endif Q_DECLARE_METATYPE(QAudioFormat) class tst_QAudioInput : public QObject { Q_OBJECT public: tst_QAudioInput(QObject* parent=0) : QObject(parent) {} private slots: void initTestCase(); void format(); void invalidFormat_data(); void invalidFormat(); void bufferSize(); void notifyInterval(); void <API key>(); void stopWhileStopped(); void suspendWhileStopped(); void resumeWhileStopped(); void pull(); void pullSuspendResume(); void push(); void pushSuspendResume(); void reset(); void cleanupTestCase(); private: QString formatToFileName(const QAudioFormat &format); QString workingDir(); QAudioDeviceInfo audioDevice; QList<QAudioFormat> testFormats; QList<QFile*> audioFiles; QScopedPointer<QByteArray> m_byteArray; QScopedPointer<QBuffer> m_buffer; }; QString tst_QAudioInput::formatToFileName(const QAudioFormat &format) { const QString formatEndian = (format.byteOrder() == QAudioFormat::LittleEndian) ? QString("LE") : QString("BE"); const QString formatSigned = (format.sampleType() == QAudioFormat::SignedInt) ? QString("signed") : QString("unsigned"); return QString("%1_%2_%3_%4_%5") .arg(format.frequency()) .arg(format.sampleSize()) .arg(formatSigned) .arg(formatEndian) .arg(format.channels()); } QString tst_QAudioInput::workingDir() { QDir working(QString(SRCDIR)); if (working.exists()) return QString(SRCDIR); return QDir::currentPath(); } void tst_QAudioInput::initTestCase() { qRegisterMetaType<QAudioFormat>(); // Only perform tests if audio output device exists const QList<QAudioDeviceInfo> devices = QAudioDeviceInfo::availableDevices(QAudio::AudioInput); if (devices.size() <= 0) QSKIP("No audio backend", SkipAll); audioDevice = QAudioDeviceInfo::defaultInputDevice(); QAudioFormat format; format.setCodec("audio/pcm"); if (audioDevice.isFormatSupported(audioDevice.preferredFormat())) testFormats.append(audioDevice.preferredFormat()); // PCM 8000 mono S8 format.setFrequency(8000); format.setSampleSize(8); format.setSampleType(QAudioFormat::SignedInt); format.setByteOrder(QAudioFormat::LittleEndian); format.setChannels(1); if (audioDevice.isFormatSupported(format)) testFormats.append(format); // PCM 11025 mono S16LE format.setFrequency(11025); format.setSampleSize(16); if (audioDevice.isFormatSupported(format)) testFormats.append(format); // PCM 22050 mono S16LE format.setFrequency(22050); if (audioDevice.isFormatSupported(format)) testFormats.append(format); // PCM 22050 stereo S16LE format.setChannels(2); if (audioDevice.isFormatSupported(format)) testFormats.append(format); // PCM 44100 stereo S16LE format.setFrequency(44100); if (audioDevice.isFormatSupported(format)) testFormats.append(format); // PCM 48000 stereo S16LE format.setFrequency(48000); if (audioDevice.isFormatSupported(format)) testFormats.append(format); QVERIFY(testFormats.size()); foreach (const QAudioFormat &format, testFormats) { QFile* file = new QFile(workingDir() + formatToFileName(format) + QString(".wav")); audioFiles.append(file); } } void tst_QAudioInput::format() { QAudioInput audioInput(audioDevice.preferredFormat(), this); QAudioFormat requested = audioDevice.preferredFormat(); QAudioFormat actual = audioInput.format(); QVERIFY2((requested.channels() == actual.channels()), QString("channels: requested=%1, actual=%2").arg(requested.channels()).arg(actual.channels()).toLocal8Bit().constData()); QVERIFY2((requested.frequency() == actual.frequency()), QString("frequency: requested=%1, actual=%2").arg(requested.frequency()).arg(actual.frequency()).toLocal8Bit().constData()); QVERIFY2((requested.sampleSize() == actual.sampleSize()), QString("sampleSize: requested=%1, actual=%2").arg(requested.sampleSize()).arg(actual.sampleSize()).toLocal8Bit().constData()); QVERIFY2((requested.codec() == actual.codec()), QString("codec: requested=%1, actual=%2").arg(requested.codec()).arg(actual.codec()).toLocal8Bit().constData()); QVERIFY2((requested.byteOrder() == actual.byteOrder()), QString("byteOrder: requested=%1, actual=%2").arg(requested.byteOrder()).arg(actual.byteOrder()).toLocal8Bit().constData()); QVERIFY2((requested.sampleType() == actual.sampleType()), QString("sampleType: requested=%1, actual=%2").arg(requested.sampleType()).arg(actual.sampleType()).toLocal8Bit().constData()); } void tst_QAudioInput::invalidFormat_data() { QTest::addColumn<QAudioFormat>("invalidFormat"); QAudioFormat format; QTest::newRow("Null Format") << format; format = audioDevice.preferredFormat(); format.setChannelCount(0); QTest::newRow("Channel count 0") << format; format = audioDevice.preferredFormat(); format.setSampleRate(0); QTest::newRow("Sample rate 0") << format; format = audioDevice.preferredFormat(); format.setSampleSize(0); QTest::newRow("Sample size 0") << format; } void tst_QAudioInput::invalidFormat() { QFETCH(QAudioFormat, invalidFormat); QVERIFY2(!audioDevice.isFormatSupported(invalidFormat), "isFormatSupported() is returning true on an invalid format"); QAudioInput audioInput(invalidFormat, this); // Check that we are in the default state before calling start QVERIFY2((audioInput.state() == QAudio::StoppedState), "state() was not set to StoppedState before start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError before start()"); audioInput.start(); // Check that error is raised QTRY_VERIFY2((audioInput.error() == QAudio::OpenError),"error() was not set to QAudio::OpenError after start()"); } void tst_QAudioInput::bufferSize() { QAudioInput audioInput(audioDevice.preferredFormat(), this); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError on creation"); audioInput.setBufferSize(512); QVERIFY2((audioInput.error() == QAudio::NoError), "error() is not QAudio::NoError after setBufferSize(512)"); QVERIFY2((audioInput.bufferSize() == 512), QString("bufferSize: requested=512, actual=%2").arg(audioInput.bufferSize()).toLocal8Bit().constData()); audioInput.setBufferSize(4096); QVERIFY2((audioInput.error() == QAudio::NoError), "error() is not QAudio::NoError after setBufferSize(4096)"); QVERIFY2((audioInput.bufferSize() == 4096), QString("bufferSize: requested=4096, actual=%2").arg(audioInput.bufferSize()).toLocal8Bit().constData()); audioInput.setBufferSize(8192); QVERIFY2((audioInput.error() == QAudio::NoError), "error() is not QAudio::NoError after setBufferSize(8192)"); QVERIFY2((audioInput.bufferSize() == 8192), QString("bufferSize: requested=8192, actual=%2").arg(audioInput.bufferSize()).toLocal8Bit().constData()); } void tst_QAudioInput::notifyInterval() { QAudioInput audioInput(audioDevice.preferredFormat(), this); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError on creation"); audioInput.setNotifyInterval(50); QVERIFY2((audioInput.error() == QAudio::NoError), "error() is not QAudio::NoError after setNotifyInterval(50)"); QVERIFY2((audioInput.notifyInterval() == 50), QString("notifyInterval: requested=50, actual=%2").arg(audioInput.notifyInterval()).toLocal8Bit().constData()); audioInput.setNotifyInterval(100); QVERIFY2((audioInput.error() == QAudio::NoError), "error() is not QAudio::NoError after setNotifyInterval(100)"); QVERIFY2((audioInput.notifyInterval() == 100), QString("notifyInterval: requested=100, actual=%2").arg(audioInput.notifyInterval()).toLocal8Bit().constData()); audioInput.setNotifyInterval(250); QVERIFY2((audioInput.error() == QAudio::NoError), "error() is not QAudio::NoError after setNotifyInterval(250)"); QVERIFY2((audioInput.notifyInterval() == 250), QString("notifyInterval: requested=250, actual=%2").arg(audioInput.notifyInterval()).toLocal8Bit().constData()); audioInput.setNotifyInterval(1000); QVERIFY2((audioInput.error() == QAudio::NoError), "error() is not QAudio::NoError after setNotifyInterval(1000)"); QVERIFY2((audioInput.notifyInterval() == 1000), QString("notifyInterval: requested=1000, actual=%2").arg(audioInput.notifyInterval()).toLocal8Bit().constData()); } void tst_QAudioInput::<API key>() { // Sets an invalid notification interval (QAudioInput::setNotifyInterval(0)) // Checks that // - No error is raised (QAudioInput::error() returns QAudio::NoError) // - if <= 0, set to zero and disable notify signal QAudioInput audioInput(audioDevice.preferredFormat(), this); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError on creation"); audioInput.setNotifyInterval(0); QVERIFY2((audioInput.error() == QAudio::NoError), "error() is not QAudio::NoError after setNotifyInterval(0)"); QVERIFY2((audioInput.notifyInterval() == 0), "notifyInterval() is not zero after setNotifyInterval(0)"); audioInput.setNotifyInterval(-1); QVERIFY2((audioInput.error() == QAudio::NoError), "error() is not QAudio::NoError after setNotifyInterval(-1)"); QVERIFY2((audioInput.notifyInterval() == 0), "notifyInterval() is not zero after setNotifyInterval(-1)"); //start and run to check if notify() is emitted if (audioFiles.size() > 0) { QAudioInput audioInputCheck(testFormats.at(0), this); audioInputCheck.setNotifyInterval(0); QSignalSpy notifySignal(&audioInputCheck, SIGNAL(notify())); audioFiles.at(0)->open(QIODevice::WriteOnly); audioInputCheck.start(audioFiles.at(0)); QTest::qWait(3000); // 3 seconds should be plenty audioInputCheck.stop(); QVERIFY2((notifySignal.count() == 0), QString("didn't disable notify interval: shouldn't have got any but got %1").arg(notifySignal.count()).toLocal8Bit().constData()); audioFiles.at(0)->close(); } } void tst_QAudioInput::stopWhileStopped() { // Calls QAudioInput::stop() when object is already in StoppedState // Checks that // - No state change occurs // - No error is raised (QAudioInput::error() returns QAudio::NoError) QAudioInput audioInput(audioDevice.preferredFormat(), this); QVERIFY2((audioInput.state() == QAudio::StoppedState), "state() was not set to StoppedState before start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError before start()"); QSignalSpy stateSignal(&audioInput, SIGNAL(stateChanged(QAudio::State))); audioInput.stop(); // Check that no state transition occurred QVERIFY2((stateSignal.count() == 0), "stop() while stopped is emitting a signal and it shouldn't"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError after stop()"); } void tst_QAudioInput::suspendWhileStopped() { // Calls QAudioInput::suspend() when object is already in StoppedState // Checks that // - No state change occurs // - No error is raised (QAudioInput::error() returns QAudio::NoError) QAudioInput audioInput(audioDevice.preferredFormat(), this); QVERIFY2((audioInput.state() == QAudio::StoppedState), "state() was not set to StoppedState before start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError before start()"); QSignalSpy stateSignal(&audioInput, SIGNAL(stateChanged(QAudio::State))); audioInput.suspend(); // Check that no state transition occurred QVERIFY2((stateSignal.count() == 0), "stop() while suspended is emitting a signal and it shouldn't"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError after stop()"); } void tst_QAudioInput::resumeWhileStopped() { // Calls QAudioInput::resume() when object is already in StoppedState // Checks that // - No state change occurs // - No error is raised (QAudioInput::error() returns QAudio::NoError) QAudioInput audioInput(audioDevice.preferredFormat(), this); QVERIFY2((audioInput.state() == QAudio::StoppedState), "state() was not set to StoppedState before start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError before start()"); QSignalSpy stateSignal(&audioInput, SIGNAL(stateChanged(QAudio::State))); audioInput.resume(); // Check that no state transition occurred QVERIFY2((stateSignal.count() == 0), "resume() while stopped is emitting a signal and it shouldn't"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError after resume()"); } void tst_QAudioInput::pull() { for(int i=0; i<audioFiles.count(); i++) { QAudioInput audioInput(testFormats.at(i), this); audioInput.setNotifyInterval(100); QSignalSpy notifySignal(&audioInput, SIGNAL(notify())); QSignalSpy stateSignal(&audioInput, SIGNAL(stateChanged(QAudio::State))); // Check that we are in the default state before calling start QVERIFY2((audioInput.state() == QAudio::StoppedState), "state() was not set to StoppedState before start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError before start()"); QVERIFY2((audioInput.elapsedUSecs() == qint64(0)),"elapsedUSecs() not zero on creation"); audioFiles.at(i)->close(); audioFiles.at(i)->open(QIODevice::WriteOnly); WavHeader wavHeader(testFormats.at(i)); QVERIFY(wavHeader.write(*audioFiles.at(i))); audioInput.start(audioFiles.at(i)); // Check that QAudioInput immediately transitions to ActiveState or IdleState QTRY_VERIFY2((stateSignal.count() > 0),"didn't emit signals on start()"); QVERIFY2((audioInput.state() == QAudio::ActiveState || audioInput.state() == QAudio::IdleState), "didn't transition to ActiveState or IdleState after start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error state is not equal to QAudio::NoError after start()"); QVERIFY(audioInput.periodSize() > 0); stateSignal.clear(); // Check that 'elapsed' increases QTest::qWait(40); QVERIFY2((audioInput.elapsedUSecs() > 0), "elapsedUSecs() is still zero after start()"); // Allow some recording to happen QTest::qWait(3000); // 3 seconds should be plenty stateSignal.clear(); qint64 processedUs = audioInput.processedUSecs(); audioInput.stop(); QTest::qWait(40); QVERIFY2((stateSignal.count() == 1), QString("didn't emit StoppedState signal after stop(), got %1 signals instead").arg(stateSignal.count()).toLocal8Bit().constData()); QVERIFY2((audioInput.state() == QAudio::StoppedState), "didn't transitions to StoppedState after stop()"); QVERIFY2((processedUs > 2800000 && processedUs < 3200000), QString("processedUSecs() doesn't fall in acceptable range, should be 3040000 (%1)").arg(processedUs).toLocal8Bit().constData()); QVERIFY2((audioInput.error() == QAudio::NoError), "error() is not QAudio::NoError after stop()"); QVERIFY2((audioInput.elapsedUSecs() == (qint64)0), "elapsedUSecs() not equal to zero in StoppedState"); QVERIFY2((notifySignal.count() > 20 && notifySignal.count() < 40), QString("notify() signals emitted (%1) should be 30").arg(notifySignal.count()).toLocal8Bit().constData()); WavHeader::writeDataLength(*audioFiles.at(i),audioFiles.at(i)->pos()-WavHeader::headerLength()); audioFiles.at(i)->close(); } } void tst_QAudioInput::pullSuspendResume() { for(int i=0; i<audioFiles.count(); i++) { QAudioInput audioInput(testFormats.at(i), this); audioInput.setNotifyInterval(100); QSignalSpy notifySignal(&audioInput, SIGNAL(notify())); QSignalSpy stateSignal(&audioInput, SIGNAL(stateChanged(QAudio::State))); // Check that we are in the default state before calling start QVERIFY2((audioInput.state() == QAudio::StoppedState), "state() was not set to StoppedState before start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError before start()"); QVERIFY2((audioInput.elapsedUSecs() == qint64(0)),"elapsedUSecs() not zero on creation"); audioFiles.at(i)->close(); audioFiles.at(i)->open(QIODevice::WriteOnly); WavHeader wavHeader(testFormats.at(i)); QVERIFY(wavHeader.write(*audioFiles.at(i))); audioInput.start(audioFiles.at(i)); // Check that QAudioInput immediately transitions to ActiveState or IdleState QTRY_VERIFY2((stateSignal.count() > 0),"didn't emit signals on start()"); QVERIFY2((audioInput.state() == QAudio::ActiveState || audioInput.state() == QAudio::IdleState), "didn't transition to ActiveState or IdleState after start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error state is not equal to QAudio::NoError after start()"); QVERIFY(audioInput.periodSize() > 0); stateSignal.clear(); // Check that 'elapsed' increases QTest::qWait(40); QVERIFY2((audioInput.elapsedUSecs() > 0), "elapsedUSecs() is still zero after start()"); // Allow some recording to happen QTest::qWait(3000); // 3 seconds should be plenty QVERIFY2((audioInput.state() == QAudio::ActiveState), "didn't transition to ActiveState after some recording"); QVERIFY2((audioInput.error() == QAudio::NoError), "error state is not equal to QAudio::NoError after some recording"); stateSignal.clear(); audioInput.suspend(); // Give backends running in separate threads a chance to suspend. QTest::qWait(100); QVERIFY2((stateSignal.count() == 1), QString("didn't emit SuspendedState signal after suspend(), got %1 signals instead").arg(stateSignal.count()).toLocal8Bit().constData()); QVERIFY2((audioInput.state() == QAudio::SuspendedState), "didn't transitions to SuspendedState after stop()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() is not QAudio::NoError after stop()"); stateSignal.clear(); // Check that only 'elapsed', and not 'processed' increases while suspended qint64 elapsedUs = audioInput.elapsedUSecs(); qint64 processedUs = audioInput.processedUSecs(); QTest::qWait(1000); QVERIFY(audioInput.elapsedUSecs() > elapsedUs); QVERIFY(audioInput.processedUSecs() == processedUs); audioInput.resume(); // Give backends running in separate threads a chance to resume. QTest::qWait(100); // Check that QAudioInput immediately transitions to ActiveState QVERIFY2((stateSignal.count() == 1), QString("didn't emit signal after resume(), got %1 signals instead").arg(stateSignal.count()).toLocal8Bit().constData()); QVERIFY2((audioInput.state() == QAudio::ActiveState), "didn't transition to ActiveState after resume()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error state is not equal to QAudio::NoError after resume()"); stateSignal.clear(); processedUs = audioInput.processedUSecs(); audioInput.stop(); QTest::qWait(40); QVERIFY2((stateSignal.count() == 1), QString("didn't emit StoppedState signal after stop(), got %1 signals instead").arg(stateSignal.count()).toLocal8Bit().constData()); QVERIFY2((audioInput.state() == QAudio::StoppedState), "didn't transitions to StoppedState after stop()"); QVERIFY2((processedUs > 2800000 && processedUs < 3200000), QString("processedUSecs() doesn't fall in acceptable range, should be 3040000 (%1)").arg(processedUs).toLocal8Bit().constData()); QVERIFY2((audioInput.error() == QAudio::NoError), "error() is not QAudio::NoError after stop()"); QVERIFY2((audioInput.elapsedUSecs() == (qint64)0), "elapsedUSecs() not equal to zero in StoppedState"); QVERIFY2((notifySignal.count() > 20 && notifySignal.count() < 40), QString("notify() signals emitted (%1) should be 30").arg(notifySignal.count()).toLocal8Bit().constData()); WavHeader::writeDataLength(*audioFiles.at(i),audioFiles.at(i)->pos()-WavHeader::headerLength()); audioFiles.at(i)->close(); } } void tst_QAudioInput::push() { for(int i=0; i<audioFiles.count(); i++) { QAudioInput audioInput(testFormats.at(i), this); audioInput.setNotifyInterval(100); QSignalSpy notifySignal(&audioInput, SIGNAL(notify())); QSignalSpy stateSignal(&audioInput, SIGNAL(stateChanged(QAudio::State))); // Check that we are in the default state before calling start QVERIFY2((audioInput.state() == QAudio::StoppedState), "state() was not set to StoppedState before start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError before start()"); QVERIFY2((audioInput.elapsedUSecs() == qint64(0)),"elapsedUSecs() not zero on creation"); audioFiles.at(i)->close(); audioFiles.at(i)->open(QIODevice::WriteOnly); WavHeader wavHeader(testFormats.at(i)); QVERIFY(wavHeader.write(*audioFiles.at(i))); QIODevice* feed = audioInput.start(); // Check that QAudioInput immediately transitions to IdleState QTRY_VERIFY2((stateSignal.count() == 1),"didn't emit IdleState signal on start()"); QVERIFY2((audioInput.state() == QAudio::IdleState), "didn't transition to IdleState after start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error state is not equal to QAudio::NoError after start()"); QVERIFY(audioInput.periodSize() > 0); stateSignal.clear(); // Check that 'elapsed' increases QTest::qWait(40); QVERIFY2((audioInput.elapsedUSecs() > 0), "elapsedUSecs() is still zero after start()"); qint64 totalBytesRead = 0; bool firstBuffer = true; QByteArray buffer(AUDIO_BUFFER, 0); qint64 len = (testFormats.at(i).frequency()*testFormats.at(i).channels()*(testFormats.at(i).sampleSize()/8)*2); // 2 seconds while (totalBytesRead < len) { if (audioInput.bytesReady() >= audioInput.periodSize()) { qint64 bytesRead = feed->read(buffer.data(), audioInput.periodSize()); audioFiles.at(i)->write(buffer.constData(),bytesRead); totalBytesRead+=bytesRead; if (firstBuffer && bytesRead) { // Check for transition to ActiveState when data is provided QVERIFY2((stateSignal.count() == 1),"didn't emit ActiveState signal on data"); QVERIFY2((audioInput.state() == QAudio::ActiveState), "didn't transition to ActiveState after data"); QVERIFY2((audioInput.error() == QAudio::NoError), "error state is not equal to QAudio::NoError after start()"); firstBuffer = false; } } else QTest::qWait(20); } QTest::qWait(1000); stateSignal.clear(); qint64 processedUs = audioInput.processedUSecs(); audioInput.stop(); QTest::qWait(40); QVERIFY2((stateSignal.count() == 1), QString("didn't emit StoppedState signal after stop(), got %1 signals instead").arg(stateSignal.count()).toLocal8Bit().constData()); QVERIFY2((audioInput.state() == QAudio::StoppedState), "didn't transitions to StoppedState after stop()"); QVERIFY2((processedUs > 1800000 && processedUs < 2200000), QString("processedUSecs() doesn't fall in acceptable range, should be 2040000 (%1)").arg(processedUs).toLocal8Bit().constData()); QVERIFY2((audioInput.error() == QAudio::NoError), "error() is not QAudio::NoError after stop()"); QVERIFY2((audioInput.elapsedUSecs() == (qint64)0), "elapsedUSecs() not equal to zero in StoppedState"); QVERIFY2((notifySignal.count() > 20 && notifySignal.count() < 40), QString("notify() signals emitted (%1) should be 30").arg(notifySignal.count()).toLocal8Bit().constData()); WavHeader::writeDataLength(*audioFiles.at(i),audioFiles.at(i)->pos()-WavHeader::headerLength()); audioFiles.at(i)->close(); } } void tst_QAudioInput::pushSuspendResume() { for(int i=0; i<audioFiles.count(); i++) { QAudioInput audioInput(testFormats.at(i), this); audioInput.setNotifyInterval(100); QSignalSpy notifySignal(&audioInput, SIGNAL(notify())); QSignalSpy stateSignal(&audioInput, SIGNAL(stateChanged(QAudio::State))); // Check that we are in the default state before calling start QVERIFY2((audioInput.state() == QAudio::StoppedState), "state() was not set to StoppedState before start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError before start()"); QVERIFY2((audioInput.elapsedUSecs() == qint64(0)),"elapsedUSecs() not zero on creation"); audioFiles.at(i)->close(); audioFiles.at(i)->open(QIODevice::WriteOnly); WavHeader wavHeader(testFormats.at(i)); QVERIFY(wavHeader.write(*audioFiles.at(i))); QIODevice* feed = audioInput.start(); // Check that QAudioInput immediately transitions to IdleState QTRY_VERIFY2((stateSignal.count() == 1),"didn't emit IdleState signal on start()"); QVERIFY2((audioInput.state() == QAudio::IdleState), "didn't transition to IdleState after start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error state is not equal to QAudio::NoError after start()"); QVERIFY(audioInput.periodSize() > 0); stateSignal.clear(); // Check that 'elapsed' increases QTest::qWait(40); QVERIFY2((audioInput.elapsedUSecs() > 0), "elapsedUSecs() is still zero after start()"); qint64 totalBytesRead = 0; bool firstBuffer = true; QByteArray buffer(AUDIO_BUFFER, 0); qint64 len = (testFormats.at(i).frequency()*testFormats.at(i).channels()*(testFormats.at(i).sampleSize()/8)); // 1 seconds while (totalBytesRead < len) { if (audioInput.bytesReady() >= audioInput.periodSize()) { qint64 bytesRead = feed->read(buffer.data(), audioInput.periodSize()); audioFiles.at(i)->write(buffer.constData(),bytesRead); totalBytesRead+=bytesRead; if (firstBuffer && bytesRead) { // Check for transition to ActiveState when data is provided QVERIFY2((stateSignal.count() == 1),"didn't emit ActiveState signal on data"); QVERIFY2((audioInput.state() == QAudio::ActiveState), "didn't transition to ActiveState after data"); QVERIFY2((audioInput.error() == QAudio::NoError), "error state is not equal to QAudio::NoError after start()"); firstBuffer = false; } } else QTest::qWait(20); } stateSignal.clear(); audioInput.suspend(); // Give backends running in separate threads a chance to suspend QTest::qWait(100); QVERIFY2((stateSignal.count() == 1), QString("didn't emit SuspendedState signal after suspend(), got %1 signals instead").arg(stateSignal.count()).toLocal8Bit().constData()); QVERIFY2((audioInput.state() == QAudio::SuspendedState), "didn't transitions to SuspendedState after stop()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() is not QAudio::NoError after stop()"); stateSignal.clear(); // Check that only 'elapsed', and not 'processed' increases while suspended qint64 elapsedUs = audioInput.elapsedUSecs(); qint64 processedUs = audioInput.processedUSecs(); QTest::qWait(1000); QVERIFY(audioInput.elapsedUSecs() > elapsedUs); QVERIFY(audioInput.processedUSecs() == processedUs); audioInput.resume(); // Give backends running in separate threads a chance to resume. QTest::qWait(100); // Check that QAudioInput immediately transitions to Active or IdleState QVERIFY2((stateSignal.count() > 0),"didn't emit signals on resume()"); QVERIFY2((audioInput.state() == QAudio::ActiveState || audioInput.state() == QAudio::IdleState), "didn't transition to ActiveState or IdleState after resume()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error state is not equal to QAudio::NoError after resume()"); QVERIFY(audioInput.periodSize() > 0); // Let it play out what is in buffer and go to Idle before continue QTest::qWait(1000); stateSignal.clear(); // Read another seconds worth totalBytesRead = 0; firstBuffer = true; while (totalBytesRead < len) { if (audioInput.bytesReady() >= audioInput.periodSize()) { qint64 bytesRead = feed->read(buffer.data(), audioInput.periodSize()); audioFiles.at(i)->write(buffer.constData(),bytesRead); totalBytesRead+=bytesRead; } else QTest::qWait(20); } stateSignal.clear(); processedUs = audioInput.processedUSecs(); audioInput.stop(); QTest::qWait(40); QVERIFY2((stateSignal.count() == 1), QString("didn't emit StoppedState signal after stop(), got %1 signals instead").arg(stateSignal.count()).toLocal8Bit().constData()); QVERIFY2((audioInput.state() == QAudio::StoppedState), "didn't transitions to StoppedState after stop()"); QVERIFY2((processedUs > 1800000 && processedUs < 2200000), QString("processedUSecs() doesn't fall in acceptable range, should be 2040000 (%1)").arg(processedUs).toLocal8Bit().constData()); QVERIFY2((audioInput.elapsedUSecs() == (qint64)0), "elapsedUSecs() not equal to zero in StoppedState"); WavHeader::writeDataLength(*audioFiles.at(i),audioFiles.at(i)->pos()-WavHeader::headerLength()); audioFiles.at(i)->close(); } } void tst_QAudioInput::reset() { for(int i=0; i<audioFiles.count(); i++) { // Try both push/pull.. the vagaries of Active vs Idle are tested elsewhere { QAudioInput audioInput(testFormats.at(i), this); audioInput.setNotifyInterval(100); QSignalSpy notifySignal(&audioInput, SIGNAL(notify())); QSignalSpy stateSignal(&audioInput, SIGNAL(stateChanged(QAudio::State))); // Check that we are in the default state before calling start QVERIFY2((audioInput.state() == QAudio::StoppedState), "state() was not set to StoppedState before start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError before start()"); QVERIFY2((audioInput.elapsedUSecs() == qint64(0)),"elapsedUSecs() not zero on creation"); QIODevice* device = audioInput.start(); // Check that QAudioInput immediately transitions to IdleState QTRY_VERIFY2((stateSignal.count() == 1),"didn't emit IdleState signal on start()"); QVERIFY2((audioInput.state() == QAudio::IdleState), "didn't transition to IdleState after start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error state is not equal to QAudio::NoError after start()"); QVERIFY(audioInput.periodSize() > 0); QTRY_VERIFY2((audioInput.bytesReady() > 0), "no bytes available after starting"); // Trigger a read QByteArray data = device->read(1); QTRY_VERIFY2((audioInput.state() == QAudio::ActiveState), "didn't transition to ActiveState after read()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error state is not equal to QAudio::NoError after start()"); stateSignal.clear(); audioInput.reset(); QTRY_VERIFY2((stateSignal.count() == 1),"didn't emit StoppedState signal after reset()"); QVERIFY2((audioInput.state() == QAudio::StoppedState), "didn't transitions to StoppedState after reset()"); QVERIFY2((audioInput.bytesReady() == 0), "buffer not cleared after reset()"); } { QAudioInput audioInput(testFormats.at(i), this); QBuffer buffer; audioInput.setNotifyInterval(100); QSignalSpy notifySignal(&audioInput, SIGNAL(notify())); QSignalSpy stateSignal(&audioInput, SIGNAL(stateChanged(QAudio::State))); // Check that we are in the default state before calling start QVERIFY2((audioInput.state() == QAudio::StoppedState), "state() was not set to StoppedState before start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error() was not set to QAudio::NoError before start()"); QVERIFY2((audioInput.elapsedUSecs() == qint64(0)),"elapsedUSecs() not zero on creation"); audioInput.start(&buffer); // Check that QAudioInput immediately transitions to ActiveState QTRY_VERIFY2((stateSignal.count() >= 1),"didn't emit state changed signal on start()"); QTRY_VERIFY2((audioInput.state() == QAudio::ActiveState), "didn't transition to ActiveState after start()"); QVERIFY2((audioInput.error() == QAudio::NoError), "error state is not equal to QAudio::NoError after start()"); QVERIFY(audioInput.periodSize() > 0); QTRY_VERIFY2((audioInput.bytesReady() > 0), "no bytes available after starting"); stateSignal.clear(); audioInput.reset(); QTRY_VERIFY2((stateSignal.count() == 1),"didn't emit StoppedState signal after reset()"); QVERIFY2((audioInput.state() == QAudio::StoppedState), "didn't transitions to StoppedState after reset()"); QVERIFY2((audioInput.bytesReady() == 0), "buffer not cleared after reset()"); } } } void tst_QAudioInput::cleanupTestCase() { QFile* file; foreach (file, audioFiles) { file->remove(); delete file; } } QTEST_MAIN(tst_QAudioInput) #include "tst_qaudioinput.moc"
package org.jboss.jca.core.spi.transaction.xa; import javax.resource.spi.work.Work; import javax.resource.spi.work.<API key>; import javax.transaction.xa.Xid; /** * Extends XATerminator to include registration calls * * @author <a href="abrock@redhat.com">Adrian Brock</a> * @author <a href="jesper.pedersen@ironjacamar.org">Jesper Pedersen</a> */ public interface XATerminator extends javax.resource.spi.XATerminator { /** * Invoked for transaction inflow of work * * @param work The work starting * @param xid The xid of the work * @param timeout The transaction timeout * @throws <API key> with error code WorkException.<API key> * when work is already present for the xid or whose completion is in progress, only * the global part of the xid must be used for this check. */ public void registerWork(Work work, Xid xid, long timeout) throws <API key>; /** * Invoked for transaction inflow of work * * @param work The work starting * @param xid The xid of the work * @throws <API key> With error code WorkException.TX_RECREATE_FAILED if it is unable * to recreate the transaction context */ public void startWork(Work work, Xid xid) throws <API key>; /** * Invoked when transaction inflow work ends * * @param work The work ending * @param xid The xid of the work */ public void endWork(Work work, Xid xid); /** * Invoked when the work fails * * @param work The work ending * @param xid The xid of the work */ public void cancelWork(Work work, Xid xid); }
#include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdlib.h> #include <string.h> #include <papi.h> #include <config.h> #include <errno.h> #include <cairo.h> #include <cairo-ps.h> #include <glib/gi18n-lib.h> #include "gtk.h" #include "gtkprintbackendpapi.h" #include "gtkprinterpapi.h" #include "gtkprinter-private.h" typedef struct <API key> <API key>; #define <API key>(klass) (<API key> ((klass), <API key>, <API key>)) #define <API key>(klass) (<API key> ((klass), <API key>)) #define <API key>(obj) (<API key> ((obj), <API key>, <API key>)) #define <API key> 8192 static GType <API key> = 0; struct <API key> { <API key> parent_class; }; struct <API key> { GtkPrintBackend parent_instance; char *default_printer; }; typedef struct { GtkPrinter *printer; } _PrinterStatus; static GObjectClass *<API key>; static void <API key> (<API key> *class); static void <API key> (GtkPrintBackendPapi *impl); static void <API key> (GObject *object); static void <API key> (GObject *object); static void <API key> (GtkPrintBackend *print_backend); static gboolean <API key> (GtkPrintBackendPapi *papi_backend); static void <API key> (GtkPrinter *printer); static <API key> <API key> (GtkPrinter *printer); static void <API key> (GtkPrinter *printer, GtkPrinterOptionSet *options, GtkPrintSettings *settings); static GtkPrinterOptionSet *<API key> (GtkPrinter *printer, GtkPrintSettings *settings, GtkPageSetup *page_setup, <API key> capabilities); static void <API key> (GtkPrinter *printer, GtkPrintJob *print_job, GtkPrintSettings *settings, GtkPageSetup *page_setup); static cairo_surface_t * <API key> (GtkPrinter *printer, GtkPrintSettings *settings, gdouble width, gdouble height, GIOChannel *cache_io); static void <API key> (GtkPrintBackend *print_backend, GtkPrintJob *job, GIOChannel *data_io, <API key> callback, gpointer user_data, GDestroyNotify dnotify); static gboolean <API key> (gpointer user_data); static void <API key> (gpointer user_data); static void <API key> (GTypeModule *module) { const GTypeInfo <API key> = { sizeof (<API key>), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) <API key>, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (GtkPrintBackendPapi), 0, /* n_preallocs */ (GInstanceInitFunc) <API key>, }; <API key> = <API key> (module, <API key>, "GtkPrintBackendPapi", &<API key>, 0); } G_MODULE_EXPORT void pb_module_init (GTypeModule *module) { <API key> (module); <API key> (module); } G_MODULE_EXPORT void pb_module_exit (void) { } G_MODULE_EXPORT GtkPrintBackend * pb_module_create (void) { return <API key> (); } /* * GtkPrintBackendPapi */ GType <API key> (void) { return <API key>; } /** * <API key>: * * Creates a new #GtkPrintBackendPapi object. #GtkPrintBackendPapi * implements the #GtkPrintBackend interface with direct access to * the filesystem using Unix/Linux API calls * * Return value: the new #GtkPrintBackendPapi object **/ GtkPrintBackend * <API key> (void) { return g_object_new (<API key>, NULL); } static void <API key> (<API key> *class) { GObjectClass *gobject_class = G_OBJECT_CLASS (class); <API key> *backend_class = <API key> (class); <API key> = <API key> (class); gobject_class->finalize = <API key>; gobject_class->dispose = <API key>; backend_class-><API key> = <API key>; backend_class-><API key> = <API key>; backend_class-><API key> = <API key>; backend_class->printer_get_options = <API key>; backend_class-><API key> = <API key>; backend_class-><API key> = <API key>; backend_class-><API key> = <API key>; backend_class->print_stream = <API key>; } static cairo_status_t _cairo_write (void *closure, const unsigned char *data, unsigned int length) { GIOChannel *io = (GIOChannel *)closure; gsize written; GError *error = NULL; GTK_NOTE (PRINTING, g_print ("PAPI Backend: Writting %i byte chunk to temp file\n", length)); while (length > 0) { <API key> (io, (char *)data, length, &written, &error); if (error != NULL) { GTK_NOTE (PRINTING, g_print ("PAPI Backend: Error writting to temp file, %s\n", error->message)); g_error_free (error); return <API key>; } GTK_NOTE (PRINTING, g_print ("PAPI Backend: Wrote %i bytes to temp file\n", written)); data += written; length -= written; } return <API key>; } static cairo_surface_t * <API key> (GtkPrinter *printer, GtkPrintSettings *settings, gdouble width, gdouble height, GIOChannel *cache_io) { cairo_surface_t *surface; surface = <API key> (_cairo_write, cache_io, width, height); <API key> (surface, 2.0 * <API key> (settings), 2.0 * <API key> (settings)); return surface; } typedef struct { GtkPrintBackend *backend; <API key> callback; GtkPrintJob *job; gpointer user_data; GDestroyNotify dnotify; papi_service_t service; papi_stream_t stream; } _PrintStreamData; static void papi_print_cb (GtkPrintBackendPapi *print_backend, GError *error, gpointer user_data) { _PrintStreamData *ps = (_PrintStreamData *) user_data; if (ps->callback) ps->callback (ps->job, ps->user_data, error); if (ps->dnotify) ps->dnotify (ps->user_data); <API key> (ps->job, error ? <API key> : <API key>); if (ps->job) g_object_unref (ps->job); g_free (ps); } static gboolean papi_write (GIOChannel *source, GIOCondition con, gpointer user_data) { gchar buf[<API key>]; gsize bytes_read; GError *error; GIOStatus status; _PrintStreamData *ps = (_PrintStreamData *) user_data; papi_job_t job = NULL; error = NULL; status = <API key> (source, buf, <API key>, &bytes_read, &error); /* Keep writing to PAPI input stream while there are data */ if (status != G_IO_STATUS_ERROR) { papiJobStreamWrite (ps->service, ps->stream, buf, bytes_read); } /* Finish reading input stream data. Closing the stream and handle to service */ if (bytes_read == 0) { papiJobStreamClose (ps->service, ps->stream, &job); ps->stream = NULL; papiJobFree (job); papiServiceDestroy (ps->service); ps->service = NULL; } if (error != NULL || status == G_IO_STATUS_EOF) { papi_print_cb (<API key> (ps->backend), error, user_data); if (error) g_error_free (error); if (error != NULL) { GTK_NOTE (PRINTING, g_print ("PAPI Backend: %s\n", error->message)); g_error_free (error); } return FALSE; } GTK_NOTE (PRINTING, g_print ("PAPI Backend: Writting %i byte chunk to papi pipe\n", bytes_read)); return TRUE; } static void <API key> (GtkPrintBackend *print_backend, GtkPrintJob *job, GIOChannel *data_io, <API key> callback, gpointer user_data, GDestroyNotify dnotify) { GError *print_error = NULL; GtkPrinterPapi *printer; _PrintStreamData *ps; GtkPrintSettings *settings; gint argc; gint in_fd; gchar **argv = NULL; const gchar *title; char *prtnm = NULL; GtkPrintDuplex val; papi_status_t pstatus = NULL; papi_attribute_t **attrs = NULL; papi_job_ticket_t *ticket = NULL; printer = GTK_PRINTER_PAPI (<API key> (job)); settings = <API key> (job); /* FIXME - the title should be set as the job-name */ title = <API key> (job); ps = g_new0 (_PrintStreamData, 1); ps->callback = callback; ps->user_data = user_data; ps->dnotify = dnotify; ps->job = g_object_ref (job); ps->service = NULL; ps->stream = NULL; /* This cannot be queried yet with the current API */ <API key> (&attrs, PAPI_ATTR_EXCL, "document-format", "application/postscript"); val = <API key> (settings) ; if (val == <API key>) <API key> (&attrs, PAPI_ATTR_EXCL, "Duplex", "DuplexNoTumble"); else if (val == <API key>) <API key> (&attrs, PAPI_ATTR_EXCL, "Duplex", "DuplexTumble"); if (job->num_copies > 1) { <API key> (&attrs, PAPI_ATTR_EXCL, "copies", job->num_copies); } prtnm = strdup (<API key> (GTK_PRINTER(printer))); if (papiServiceCreate (&(ps->service), prtnm, NULL, NULL, NULL, PAPI_ENCRYPT_NEVER, NULL) != PAPI_OK) return; pstatus = papiJobStreamOpen (ps->service, prtnm, attrs, ticket, &(ps->stream)); if (pstatus != PAPI_OK) { papiServiceDestroy (ps->service); ps->service = NULL; return; } /* Everything set up fine, so get ready to wait for input data stream */ g_io_add_watch (data_io, G_IO_IN | G_IO_PRI | G_IO_ERR | G_IO_HUP, (GIOFunc) papi_write, ps); } static void <API key> (GtkPrintBackendPapi *backend) { char *def_printer = NULL; char *_default_attr[] = { "printer-name", NULL }; papi_service_t service = NULL; papi_printer_t default_printer = NULL; papi_attribute_t **attrs = NULL; if (papiServiceCreate (&service, NULL, NULL, NULL, NULL, PAPI_ENCRYPT_NEVER, NULL) != PAPI_OK) return; if (papiPrinterQuery (service, "_default", _default_attr, NULL, &default_printer) == PAPI_OK) { if (default_printer != NULL) { attrs = <API key> (default_printer); if (attrs != NULL) if (<API key> (attrs, NULL, "printer-name", &def_printer) == PAPI_OK) { backend->default_printer = strdup (def_printer); } } } papiPrinterFree (default_printer); papiServiceDestroy (service); } static void <API key> (GtkPrintBackendPapi *backend) { <API key> (backend); } static void <API key> (GObject *object) { GtkPrintBackendPapi *backend_papi; GTK_NOTE (PRINTING, g_print ("PAPI Backend: finalizing PAPI backend module\n")); backend_papi = <API key> (object); g_free (backend_papi->default_printer); backend_papi->default_printer = NULL; <API key>->finalize (object); } static void <API key> (GObject *object) { GtkPrintBackendPapi *backend_papi; GTK_NOTE (PRINTING, g_print ("PAPI Backend: %s\n", G_STRFUNC)); backend_papi = <API key> (object); <API key>->dispose (object); } char ** get_all_list(papi_service_t svc) { papi_status_t status; papi_printer_t printer = NULL; char *attr[] = { "member-names", NULL }; char **names = NULL; status = papiPrinterQuery(svc, "_all", attr, NULL, &printer); if ((status == PAPI_OK) && (printer != NULL)) { papi_attribute_t **attributes = <API key>(printer); if (attributes != NULL) { void *iter = NULL; char *member = NULL; for (status = <API key>(attributes, &iter, "member-names", &member); status == PAPI_OK; status = <API key>(attributes, &iter, NULL, &member)) list_append(&names, strdup(member)); } papiPrinterFree(printer); } return (names); } static char ** get_printers_list(papi_service_t svc) { papi_status_t status; papi_printer_t *printers = NULL; char *keys[] = { "printer-name", "<API key>", NULL }; char **names = NULL; status = papiPrintersList(svc, keys, NULL, &printers); if ((status == PAPI_OK) && (printers != NULL)) { int i; for (i = 0; printers[i] != NULL; i++) { papi_attribute_t **attributes = <API key>(printers[i]); char *name = NULL; (void) <API key>(attributes, NULL, "printer-name", &name); if ((name != NULL) && (strcmp(name, "_default") != 0)) list_append(&names, strdup(name)); } papiPrinterListFree(printers); } return (names); } static void <API key> (GtkPrintBackend *backend) { GtkPrintBackendPapi *papi_backend; papi_backend = <API key> (backend); /* Get the list of printers using papi API */ <API key> (papi_backend); } static gboolean <API key> (GtkPrintBackendPapi *papi_backend) { int i; const char *attributes[] = /* Attributes we're interested in */ { "printer-name", "<API key>", NULL }; papi_status_t status, status2; papi_service_t service = NULL; char **printers = NULL; GtkPrinter *printer; GtkPrinterPapi *papi_printer; GList *<API key>; GtkPrintBackend *backend = GTK_PRINT_BACKEND (papi_backend); if ((status = papiServiceCreate (&service, NULL, NULL, NULL, NULL, PAPI_ENCRYPT_NEVER, NULL)) != PAPI_OK) return FALSE; if ((printers = get_all_list (service)) == NULL) { printers = get_printers_list (service); } if (printers == NULL) { papiServiceDestroy (service); return FALSE; } for (i = 0; printers[i] != NULL; i++) { GtkPrinter *printer; char *name = NULL, *url = NULL; papi_attribute_t **attrs = NULL; printer = <API key> (backend, printers[i]); if (!printer) { /* skip null printer name just in case */ if (printers[i] == NULL) continue; /* skip the alias _default and _all printers */ if (strcmp(printers[i], "_default")==0 || strcmp(printers[i], "_all")==0) continue; papi_printer = <API key> (printers[i], backend); printer = GTK_PRINTER (papi_printer); /* Only marked default printer to not have details so that the request_details method will be called at start up */ if (papi_backend->default_printer != NULL) if (strcmp (printers[i], papi_backend->default_printer)==0) { <API key> (printer, TRUE); } <API key> (printer, "printer"); <API key> (backend, printer); <API key> (printer, TRUE); /* <API key> (printer, TRUE); */ } else g_object_ref (printer); if (!<API key> (printer)) { <API key> (printer, TRUE); <API key> (printer, TRUE); } if (gtk_printer_is_new (printer)) { <API key> (backend, "printer-added", printer); <API key> (printer, FALSE); } g_object_unref (printer); } free (printers); papiServiceDestroy (service); /* To set that the list of printers added is complete */ <API key> (backend); return TRUE; } static void <API key> (GtkPrinter *printer) { GtkPrintBackend *backend; GtkPrinterPapi *papi_printer; gboolean status_changed = FALSE; backend = <API key> (printer); papi_printer = GTK_PRINTER_PAPI (printer); /* if (status_changed) */ <API key> (GTK_PRINT_BACKEND (backend), "<API key>", printer); } static GtkPrinterOptionSet * <API key> (GtkPrinter *printer, GtkPrintSettings *settings, GtkPageSetup *page_setup, <API key> capabilities) { GtkPrinterOptionSet *set; GtkPrinterOption *option; int i; char *print_at[] = { "now", "on-hold" }; char *n_up[] = {"1"}; /* Update the printer status before the printer options are displayed */ <API key> (printer); set = <API key> (); /* non-ppd related settings */ /* This maps to number-up-supported in PAPI. FIXME * number-up-default is the default value. * number-up-supported is the list of number of able to print per page */ option = <API key> ("gtk-n-up", "Pages Per Sheet", <API key>); <API key> (option, G_N_ELEMENTS (n_up), n_up, n_up); <API key> (option, "1"); <API key> (set, option); g_object_unref (option); /* This maps to <API key> and <API key> in PAPI - FIXME*/ /* This relates to <API key> in PAPI FIXME*/ /* This relates to <API key> in PAPI */ option = <API key> ("gtk-print-time", "Print at", <API key>); <API key> (option, G_N_ELEMENTS (print_at), print_at, print_at); <API key> (option, "now"); <API key> (set, option); g_object_unref (option); return set; } static void <API key> (GtkPrinter *printer, GtkPrinterOptionSet *options, GtkPrintSettings *settings) { GtkPrinterOption *option; option = <API key> (options, "gtk-n-up"); if (option) <API key> (settings, <API key>, option->value); } static void <API key> (GtkPrinter *printer, GtkPrintJob *print_job, GtkPrintSettings *settings, GtkPageSetup *page_setup) { GtkPageSet page_set; double scale; GtkPaperSize *papersize = NULL; char *ppd_paper_name; print_job->print_pages = <API key> (settings); print_job->page_ranges = NULL; print_job->num_page_ranges = 0; if (print_job->print_pages == <API key>) print_job->page_ranges = <API key> (settings, &print_job->num_page_ranges); print_job->collate = <API key> (settings); print_job->reverse = <API key> (settings); print_job->num_copies = <API key> (settings); scale = <API key> (settings); if (scale != 100.0) print_job->scale = scale/100.0; papersize = <API key> (page_setup); ppd_paper_name = <API key> (papersize); page_set = <API key> (settings); if (page_set == GTK_PAGE_SET_EVEN) print_job->page_set = GTK_PAGE_SET_EVEN; else if (page_set == GTK_PAGE_SET_ODD) print_job->page_set = GTK_PAGE_SET_ODD; else print_job->page_set = GTK_PAGE_SET_ALL; print_job-><API key> = TRUE; } gboolean is_local_printer (gchar *printer_uri) { if (strncmp (printer_uri, "lpsched:", 8) == 0) return TRUE; else return FALSE; } void merge_ppd_data (papi_attribute_t ***attributes, gchar *ppdfile) { get_ppd_attrs (attributes, ppdfile); } static void <API key> (gpointer user_data) { GtkPrinter *printer = (GtkPrinter *) user_data; GtkPrinterPapi *papi_printer; <API key> (printer, "details-acquired", TRUE); papi_printer = GTK_PRINTER_PAPI (printer); return; } #define IDLE 3 #define PROCESSING 4 #define STOPPED 5 static gboolean <API key> (gpointer user_data) { GtkPrinter *printer = (GtkPrinter *) user_data; GtkPrinterPapi *papi_printer; gchar *loc, *printer_uri, *ppdfile; int state; papi_service_t service; papi_attribute_t **attrs = NULL; papi_printer_t current_printer = NULL; static int count = 0; papi_printer = GTK_PRINTER_PAPI (printer); if (papiServiceCreate (&service, NULL, NULL, NULL, NULL, PAPI_ENCRYPT_NEVER, NULL) != PAPI_OK) return FALSE; if (papiPrinterQuery (service, papi_printer->printer_name, NULL, NULL, &current_printer) != PAPI_OK) { /* SUN_BRANDING */ <API key> (printer, _("printer offline")); } if (current_printer != NULL) { attrs = <API key> (current_printer); } if (<API key> (attrs, NULL, "printer-info", &loc) == PAPI_OK) { <API key> (printer, loc); } if (<API key> (attrs, NULL, "printer-state", &state) == PAPI_OK) { switch (state) { /* SUN_BRANDING */ case IDLE: <API key> (printer, _("ready to print")); break; /* SUN_BRANDING */ case PROCESSING: <API key> (printer, _("processing job")); break; /* SUN_BRANDING */ case STOPPED: <API key> (printer, _("paused")); break; /* SUN_BRANDING */ default: <API key> (printer, _("unknown")); break; } } papiPrinterFree (current_printer); papiServiceDestroy (service); <API key> (printer, TRUE); return FALSE; } static void <API key> (GtkPrinter *printer) { g_idle_add_full (<API key>, <API key>, printer, <API key>); } static <API key> <API key> (GtkPrinter *printer) { return <API key> | <API key> ; }
#include <QtGui> #include "gvbwidget.h" GvbWidget::GvbWidget(QGraphicsItem * parent, Qt::WindowFlags wFlags) : QGraphicsWidget(parent, wFlags) { } GvbWidget::~GvbWidget() { } void GvbWidget::keyPressEvent(QKeyEvent *event) { Q_UNUSED(event) }
package org.teiid.query.function; import java.io.Serializable; import java.lang.reflect.Array; import java.lang.reflect.<API key>; import java.lang.reflect.Method; import java.util.Arrays; import org.teiid.api.exception.query.<API key>; import org.teiid.common.buffer.BlockedException; import org.teiid.core.CoreConstants; import org.teiid.core.<API key>; import org.teiid.core.types.ArrayImpl; import org.teiid.core.types.BinaryType; import org.teiid.core.types.DataTypeManager; import org.teiid.core.types.<API key>; import org.teiid.core.util.PropertiesUtils; import org.teiid.metadata.<API key>; import org.teiid.metadata.FunctionMethod; import org.teiid.metadata.FunctionMethod.Determinism; import org.teiid.metadata.FunctionMethod.PushDown; import org.teiid.query.QueryPlugin; import org.teiid.query.util.CommandContext; /** * The FunctionDescriptor describes a particular function instance enough * to invoke the function. */ public class FunctionDescriptor implements Serializable, Cloneable { private static final long serialVersionUID = <API key>; private static final boolean ALLOW_NAN_INFINITY = PropertiesUtils.getBooleanProperty(System.getProperties(), "org.teiid.allowNanInfinity", false); //$NON-NLS-1$ private Class<?>[] types; private Class<?> returnType; private boolean requiresContext; private FunctionMethod method; private String schema; //TODO: remove me - we need to create a proper schema for udf and system functions private boolean hasWrappedArgs; private boolean <API key>; //TODO: could store this on the function and pass to invoke // This is transient as it would be useless to invoke this method in // a different VM. This function descriptor can be used to look up // the real VM descriptor for execution. private transient Method invocationMethod; FunctionDescriptor() { } FunctionDescriptor(FunctionMethod method, Class<?>[] types, Class<?> outputType, Method invocationMethod, boolean requiresContext) { this.types = types; this.returnType = outputType; this.invocationMethod = invocationMethod; this.requiresContext = requiresContext; this.method = method; } public Object newInstance() { try { return invocationMethod.getDeclaringClass().newInstance(); } catch (<API key> e) { throw new <API key>(QueryPlugin.Event.TEIID30602, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30602, method.getName(), method.getInvocationClass())); } catch (<API key> e) { throw new <API key>(QueryPlugin.Event.TEIID30602, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30602, method.getName(), method.getInvocationClass())); } } public void setHasWrappedArgs(boolean hasWrappedArgs) { this.hasWrappedArgs = hasWrappedArgs; } public String getSchema() { return schema; } public void setSchema(String schema) { this.schema = schema; } public String getName() { return this.method.getName(); } public String getFullName() { if (CoreConstants.SYSTEM_MODEL.equals(this.schema)) { return getName(); } return this.schema + <API key>.NAME_DELIM_CHAR + getName(); } public PushDown getPushdown() { return this.method.getPushdown(); } public Class<?>[] getTypes() { return this.types; } public Class<?> getReturnType() { return this.returnType; } Method getInvocationMethod() { return this.invocationMethod; } public boolean requiresContext() { return this.requiresContext; } @Override public String toString() { StringBuffer str = new StringBuffer(this.method.getName()); str.append("("); //$NON-NLS-1$ for(int i=0; i<types.length; i++) { if(types[i] != null) { str.append(types[i].getName()); } else { str.append("null"); //$NON-NLS-1$ } if(i<(types.length-1)) { str.append(", "); //$NON-NLS-1$ } } str.append(") : "); //$NON-NLS-1$ if(returnType == null) { str.append("null"); //$NON-NLS-1$ } else { str.append(returnType.getName()); } return str.toString(); } public boolean isNullDependent() { return !this.method.isNullOnNull(); } public Determinism getDeterministic() { return this.method.getDeterminism(); } @Override public FunctionDescriptor clone() { try { return (FunctionDescriptor) super.clone(); } catch (<API key> e) { throw new <API key>(QueryPlugin.Event.TEIID30381, e); } } public FunctionMethod getMethod() { return method; } void setReturnType(Class<?> returnType) { this.returnType = returnType; } /** * Invoke the function described in the function descriptor, using the * values provided. Return the result of the function. * @param values Values that should match 1-to-1 with the types described in the * function descriptor * @param context * @param functionTarget TODO * @param fd Function descriptor describing the name and types of the arguments * @return Result of invoking the function */ public Object invokeFunction(Object[] values, CommandContext context, Object functionTarget) throws <API key>, BlockedException { if (!isNullDependent()) { for (int i = requiresContext?1:0; i < values.length; i++) { if (values[i] == null) { return null; } } } // If descriptor is missing invokable method, find this VM's descriptor // give name and types from fd if(invocationMethod == null) { throw new <API key>(QueryPlugin.Event.TEIID30382, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30382, getFullName())); } // Invoke the method and return the result try { if (hasWrappedArgs) { for (int i = 0; i < values.length; i++) { Object val = values[i]; if (val != null && types[i] == DataTypeManager.DefaultDataClasses.VARBINARY) { values[i] = ((BinaryType)val).getBytesDirect(); } } } if (method.isVarArgs()) { if (<API key>) { ArrayImpl av = (ArrayImpl)values[values.length -1]; if (av != null) { Object[] vals = av.getValues(); values[values.length - 1] = vals; if (hasWrappedArgs && types[types.length - 1] == DataTypeManager.DefaultDataClasses.VARBINARY) { vals = Arrays.copyOf(vals, vals.length); for (int i = 0; i < vals.length; i++) { if (vals[i] != null) { vals[i] = ((BinaryType)vals[i]).getBytesDirect(); } } values[values.length - 1] = vals; } Class<?> arrayType = invocationMethod.getParameterTypes()[types.length - 1]; if (arrayType.getComponentType() != Object.class && vals.getClass() != arrayType) { Object varArgs = Array.newInstance(arrayType.getComponentType(), vals.length); for (int i = 0; i < vals.length; i++) { Array.set(varArgs, i, vals[i]); } values[values.length -1] = varArgs; } } } else { int i = invocationMethod.getParameterTypes().length; Object[] newValues = Arrays.copyOf(values, i); Object varArgs = null; if (invocationMethod.getParameterTypes()[i - 1].getComponentType() != Object.class) { int varArgCount = values.length - i + 1; varArgs = Array.newInstance(invocationMethod.getParameterTypes()[i - 1].getComponentType(), varArgCount); for (int j = 0; j < varArgCount; j++) { Array.set(varArgs, j, values[i-1+j]); } } else { varArgs = Arrays.copyOfRange(values, i - 1, values.length); } newValues[i - 1] = varArgs; values = newValues; } } Object result = invocationMethod.invoke(functionTarget, values); if (context != null && getDeterministic().ordinal() <= Determinism.USER_DETERMINISTIC.ordinal()) { context.setDeterminismLevel(getDeterministic()); } return importValue(result, getReturnType()); } catch(ArithmeticException e) { throw new <API key>(QueryPlugin.Event.TEIID30384, e, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30384, getFullName())); } catch(<API key> e) { if (e.getTargetException() instanceof BlockedException) { throw (BlockedException)e.getTargetException(); } throw new <API key>(QueryPlugin.Event.TEIID30384, e.getTargetException(), QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30384, getFullName())); } catch(<API key> e) { throw new <API key>(QueryPlugin.Event.TEIID30385, e, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID30385, method.toString())); } catch (<API key> e) { throw new <API key>(e); } } public static Object importValue(Object result, Class<?> expectedType) throws ArithmeticException, <API key> { if (!ALLOW_NAN_INFINITY) { if (result instanceof Double) { Double floatVal = (Double)result; if (Double.isInfinite(floatVal) || Double.isNaN(floatVal)) { throw new ArithmeticException("Infinite or invalid result"); //$NON-NLS-1$ } } else if (result instanceof Float) { Float floatVal = (Float)result; if (Float.isInfinite(floatVal) || Float.isNaN(floatVal)) { throw new ArithmeticException("Infinite or invalid result"); //$NON-NLS-1$ } } } result = DataTypeManager.<API key>(result, expectedType != DataTypeManager.DefaultDataClasses.OBJECT); if (expectedType.isArray() && result instanceof ArrayImpl) { return result; } result = DataTypeManager.transformValue(result, expectedType); if (result instanceof String) { String s = (String)result; if (s.length() > DataTypeManager.MAX_STRING_LENGTH) { return s.substring(0, DataTypeManager.MAX_STRING_LENGTH); } } return result; } public boolean <API key>() { return <API key>; } public void <API key>(boolean <API key>) { this.<API key> = <API key>; } public boolean isSystemFunction(String name) { return this.getName().equalsIgnoreCase(name) && CoreConstants.SYSTEM_MODEL.equals(this.getSchema()); } }
#ifndef INCLUDE_path_h__ #define INCLUDE_path_h__ #include "common.h" #include "posix.h" #include "buffer.h" #include "vector.h" /** * Path manipulation utils * * These are path utilities that munge paths without actually * looking at the real filesystem. */ /* * The dirname() function shall take a pointer to a character string * that contains a pathname, and return a pointer to a string that is a * pathname of the parent directory of that file. Trailing '/' characters * in the path are not counted as part of the path. * * If path does not contain a '/', then dirname() shall return a pointer to * the string ".". If path is a null pointer or points to an empty string, * dirname() shall return a pointer to the string "." . * * The `git_path_dirname` implementation is thread safe. The returned * string must be manually free'd. * * The `git_path_dirname_r` implementation writes the dirname to a `git_buf` * if the buffer pointer is not NULL. * It returns an error code < 0 if there is an allocation error, otherwise * the length of the dirname (which will be > 0). */ extern char *git_path_dirname(const char *path); extern int git_path_dirname_r(git_buf *buffer, const char *path); /* * This function returns the basename of the file, which is the last * part of its full name given by fname, with the drive letter and * leading directories stripped off. For example, the basename of * c:/foo/bar/file.ext is file.ext, and the basename of a:foo is foo. * * Trailing slashes and backslashes are significant: the basename of * c:/foo/bar/ is an empty string after the rightmost slash. * * The `git_path_basename` implementation is thread safe. The returned * string must be manually free'd. * * The `git_path_basename_r` implementation writes the basename to a `git_buf`. * It returns an error code < 0 if there is an allocation error, otherwise * the length of the basename (which will be >= 0). */ extern char *git_path_basename(const char *path); extern int git_path_basename_r(git_buf *buffer, const char *path); /* Return the offset of the start of the basename. Unlike the other * basename functions, this returns 0 if the path is empty. */ extern size_t <API key>(git_buf *buffer); extern const char *git_path_topdir(const char *path); /** * Find offset to root of path if path has one. * * This will return a number >= 0 which is the offset to the start of the * path, if the path is rooted (i.e. "/rooted/path" returns 0 and * "c:/windows/rooted/path" returns 2). If the path is not rooted, this * returns < 0. */ extern int git_path_root(const char *path); /** * Ensure path has a trailing '/'. */ extern int git_path_to_dir(git_buf *path); /** * Ensure string has a trailing '/' if there is space for it. */ extern void <API key>(char* path, size_t size); /** * Taken from git.git; returns nonzero if the given path is "." or "..". */ GIT_INLINE(int) <API key>(const char *name) { return (name[0] == '.' && (name[1] == '\0' || (name[1] == '.' && name[2] == '\0'))); } #ifdef GIT_WIN32 GIT_INLINE(int) <API key>(const wchar_t *name) { return (name[0] == L'.' && (name[1] == L'\0' || (name[1] == L'.' && name[2] == L'\0'))); } /** * Convert backslashes in path to forward slashes. */ GIT_INLINE(void) git_path_mkposix(char *path) { while (*path) { if (*path == '\\') *path = '/'; path++; } } #else # define git_path_mkposix(p) /* blank */ #endif /** * Check if string is a relative path (i.e. starts with "./" or "../") */ GIT_INLINE(int) <API key>(const char *p) { return (p[0] == '.' && (p[1] == '/' || (p[1] == '.' && p[2] == '/'))); } /** * Check if string is at end of path segment (i.e. looking at '/' or '\0') */ GIT_INLINE(int) <API key>(const char *p) { return !*p || *p == '/'; } extern int git__percent_decode(git_buf *decoded_out, const char *input); /** * Extract path from file:// URL. */ extern int git_path_fromurl(git_buf *local_path_out, const char *file_url); /** * Path filesystem utils * * These are path utilities that actually access the filesystem. */ /** * Check if a file exists and can be accessed. * @return true or false */ extern bool git_path_exists(const char *path); /** * Check if the given path points to a directory. * @return true or false */ extern bool git_path_isdir(const char *path); /** * Check if the given path points to a regular file. * @return true or false */ extern bool git_path_isfile(const char *path); /** * Check if the given path is a directory, and is empty. */ extern bool <API key>(const char *path); /** * Stat a file and/or link and set error if needed. */ extern int git_path_lstat(const char *path, struct stat *st); /** * Check if the parent directory contains the item. * * @param dir Directory to check. * @param item Item that might be in the directory. * @return 0 if item exists in directory, <0 otherwise. */ extern bool git_path_contains(git_buf *dir, const char *item); /** * Check if the given path contains the given subdirectory. * * @param parent Directory path that might contain subdir * @param subdir Subdirectory name to look for in parent * @return true if subdirectory exists, false otherwise. */ extern bool <API key>(git_buf *parent, const char *subdir); /** * Make the path relative to the given parent path. * * @param path The path to make relative * @param parent The parent path to make path relative to * @return 0 if path was made relative, GIT_ENOTFOUND * if there was not common root between the paths, * or <0. */ extern int <API key>(git_buf *path, const char *parent); /** * Check if the given path contains the given file. * * @param dir Directory path that might contain file * @param file File name to look for in parent * @return true if file exists, false otherwise. */ extern bool <API key>(git_buf *dir, const char *file); /** * Prepend base to unrooted path or just copy path over. * * This will optionally return the index into the path where the "root" * is, either the end of the base directory prefix or the path root. */ extern int <API key>( git_buf *path_out, const char *path, const char *base, ssize_t *root_at); /** * Clean up path, prepending base if it is not already rooted. */ extern int git_path_prettify(git_buf *path_out, const char *path, const char *base); /** * Clean up path, prepending base if it is not already rooted and * appending a slash. */ extern int <API key>(git_buf *path_out, const char *path, const char *base); /** * Get a directory from a path. * * If path is a directory, this acts like `<API key>` * (cleaning up path and appending a '/'). If path is a normal file, * this prettifies it, then removed the filename a la dirname and * appends the trailing '/'. If the path does not exist, it is * treated like a regular filename. */ extern int git_path_find_dir(git_buf *dir, const char *path, const char *base); /** * Resolve relative references within a path. * * This eliminates "./" and "../" relative references inside a path, * as well as condensing multiple slashes into single ones. It will * not touch the path before the "ceiling" length. * * Additionally, this will recognize an "c:/" drive prefix or a "xyz://" URL * prefix and not touch that part of the path. */ extern int <API key>(git_buf *path, size_t ceiling); /** * Apply a relative path to base path. * * Note that the base path could be a filename or a URL and this * should still work. The relative path is walked segment by segment * with three rules: series of slashes will be condensed to a single * slash, "." will be eaten with no change, and ".." will remove a * segment from the base path. */ extern int <API key>(git_buf *target, const char *relpath); enum { <API key> = (1u << 0), <API key> = (1u << 1), }; /** * Walk each directory entry, except '.' and '..', calling fn(state). * * @param pathbuf Buffer the function reads the initial directory * path from, and updates with each successive entry's name. * @param flags Combination of GIT_PATH_DIR flags. * @param callback Callback for each entry. Passed the `payload` and each * successive path inside the directory as a full path. This may * safely append text to the pathbuf if needed. Return non-zero to * cancel iteration (and return value will be propagated back). * @param payload Passed to callback as first argument. * @return 0 on success or error code from OS error or from callback */ extern int git_path_direach( git_buf *pathbuf, uint32_t flags, int (*callback)(void *payload, git_buf *path), void *payload); /** * Sort function to order two paths */ extern int git_path_cmp( const char *name1, size_t len1, int isdir1, const char *name2, size_t len2, int isdir2, int (*compare)(const char *, const char *, size_t)); /** * Invoke callback up path directory by directory until the ceiling is * reached (inclusive of a final call at the root_path). * * Returning anything other than 0 from the callback function * will stop the iteration and propogate the error to the caller. * * @param pathbuf Buffer the function reads the directory from and * and updates with each successive name. * @param ceiling Prefix of path at which to stop walking up. If NULL, * this will walk all the way up to the root. If not a prefix of * pathbuf, the callback will be invoked a single time on the * original input path. * @param callback Function to invoke on each path. Passed the `payload` * and the buffer containing the current path. The path should not * be modified in any way. Return non-zero to stop iteration. * @param state Passed to fn as the first ath. */ extern int git_path_walk_up( git_buf *pathbuf, const char *ceiling, int (*callback)(void *payload, const char *path), void *payload); /** * Load all directory entries (except '.' and '..') into a vector. * * For cases where `git_path_direach()` is not appropriate, this * allows you to load the filenames in a directory into a vector * of strings. That vector can then be sorted, iterated, or whatever. * Remember to free alloc of the allocated strings when you are done. * * @param path The directory to read from. * @param prefix_len When inserting entries, the trailing part of path * will be prefixed after this length. I.e. given path "/a/b" and * prefix_len 3, the entries will look like "b/e1", "b/e2", etc. * @param alloc_extra Extra bytes to add to each string allocation in * case you want to append anything funny. * @param flags Combination of GIT_PATH_DIR flags. * @param contents Vector to fill with directory entry names. */ extern int git_path_dirload( const char *path, size_t prefix_len, size_t alloc_extra, uint32_t flags, git_vector *contents); typedef struct { struct stat st; size_t path_len; char path[GIT_FLEX_ARRAY]; } git_path_with_stat; extern int <API key>(const void *a, const void *b); extern int <API key>(const void *a, const void *b); /** * Load all directory entries along with stat info into a vector. * * This adds four things on top of plain `git_path_dirload`: * * 1. Each entry in the vector is a `git_path_with_stat` struct that * contains both the path and the stat info * 2. The entries will be sorted alphabetically * 3. Entries that are directories will be suffixed with a '/' * 4. Optionally, you can be a start and end prefix and only elements * after the start and before the end (inclusively) will be stat'ed. * * @param path The directory to read from * @param prefix_len The trailing part of path to prefix to entry paths * @param flags GIT_PATH_DIR flags from above * @param start_stat As optimization, only stat values after this prefix * @param end_stat As optimization, only stat values before this prefix * @param contents Vector to fill with git_path_with_stat structures */ extern int <API key>( const char *path, size_t prefix_len, uint32_t flags, const char *start_stat, const char *end_stat, git_vector *contents); enum { GIT_PATH_NOTEQUAL = 0, GIT_PATH_EQUAL = 1, GIT_PATH_PREFIX = 2 }; /* * Determines if a path is equal to or potentially a child of another. * @param parent The possible parent * @param child The possible child */ GIT_INLINE(int) <API key>( const char *parent, const char *child) { const char *p = parent, *c = child; while (*p && *c) { if (*p++ != *c++) return GIT_PATH_NOTEQUAL; } if (*p != '\0') return GIT_PATH_NOTEQUAL; if (*c == '\0') return GIT_PATH_EQUAL; if (*c == '/') return GIT_PATH_PREFIX; return GIT_PATH_NOTEQUAL; } /* translate errno to libgit2 error code and set error message */ extern int git_path_set_error( int errno_value, const char *path, const char *action); /* check if non-ascii characters are present in filename */ extern bool <API key>(const char *path, size_t pathlen); #define <API key> "UTF-8" #ifdef __APPLE__ #define <API key> "UTF-8-MAC" #else #define <API key> "UTF-8" #endif #ifdef GIT_USE_ICONV #include <iconv.h> typedef struct { iconv_t map; git_buf buf; } git_path_iconv_t; #define GIT_PATH_ICONV_INIT { (iconv_t)-1, GIT_BUF_INIT } /* Init iconv data for converting decomposed UTF-8 to precomposed */ extern int <API key>(git_path_iconv_t *ic); /* Clear allocated iconv data */ extern void <API key>(git_path_iconv_t *ic); /* * Rewrite `in` buffer using iconv map if necessary, replacing `in` * pointer internal iconv buffer if rewrite happened. The `in` pointer * will be left unchanged if no rewrite was needed. */ extern int git_path_iconv(git_path_iconv_t *ic, char **in, size_t *inlen); #endif /* GIT_USE_ICONV */ extern bool <API key>(const char *root); /* Used for paths to repositories on the filesystem */ extern bool <API key>(const char *file_url); extern int <API key>(git_buf *local_path_out, const char *url_or_path); #endif
package org.languagetool.dev.eval; import org.apache.commons.io.IOUtils; import org.languagetool.JLanguageTool; import org.languagetool.Language; import org.languagetool.language.AmericanEnglish; import org.languagetool.language.BritishEnglish; import org.languagetool.language.English; import org.languagetool.languagemodel.LanguageModel; import org.languagetool.languagemodel.LuceneLanguageModel; import org.languagetool.rules.*; import org.languagetool.rules.en.<API key>; import org.languagetool.rules.ngrams.<API key>; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.*; /** * Runs LanguageTool's confusion rule on Wikipedia-extracted sentences that we assume to be correct. * @since 2.7 */ class <API key> { private static final boolean EVAL_MODE = true; // set to false to get data for homophones-info.txt private static final int MAX_SENTENCES = 1000; private static final int MAX_ERROR_DISPLAY = 50; // the minimum number of sentences in homophones-info.txt, items with less sentences will be ignored (eval mode only): private static final int MIN_SENTENCES = 0; // maximum error rate of a homophone in homophones-info.txt, items with a larger error rate will be ignored (eval mode only): private static final float MAX_ERROR_RATE = 10; private final JLanguageTool lt; private final <API key> confusionRule; private final Map<String,List<ConfusionPair>> confusionPairs; private final LanguageModel languageModel; private int globalSentenceCount; private int globalRuleMatches; <API key>(File <API key>) throws IOException { Language lang = new AmericanEnglish(); try (InputStream inputStream = JLanguageTool.getDataBroker().<API key>("/en/confusion_sets.txt")) { ConfusionSetLoader confusionSetLoader = new ConfusionSetLoader(lang); confusionPairs = confusionSetLoader.loadConfusionPairs(inputStream); } lt = new JLanguageTool(new BritishEnglish()); List<Rule> rules = lt.getAllActiveRules(); for (Rule rule : rules) { lt.disableRule(rule.getId()); } languageModel = new LuceneLanguageModel(<API key>); confusionRule = new <API key>(JLanguageTool.getMessageBundle(), languageModel, lang); lt.addRule(confusionRule); } void close() { if (languageModel != null) { languageModel.close(); } } void run(File dir) throws IOException { if (EVAL_MODE) { System.out.println("Running in eval mode, no 'DATA' lines will be printed, only a subset of the homophones will be used."); } else { System.out.println("grep for '^DATA;' to get results in CVS format:"); System.out.println("DATA;word;sentence_count;errors_found;errors_percent"); } File[] files = dir.listFiles(); //noinspection ConstantConditions int fileCount = 1; for (File file : files) { if (!file.getName().endsWith(".txt")) { System.out.println("Ignoring " + file + ", does not match *.txt"); continue; } try (FileInputStream fis = new FileInputStream(file)) { System.out.println("===== Working on " + file.getName() + " (" + fileCount + "/" + files.length + ") ====="); checkLines(IOUtils.readLines(fis), file.getName().replace(".txt", "")); fileCount++; } } System.out.println("=============================="); System.out.println(globalSentenceCount + " sentences checked"); System.out.println(globalRuleMatches + " errors found"); float percentage = (float)globalRuleMatches/(float)globalSentenceCount*100; System.out.printf("%.2f%% of sentences have a match\n", percentage); } private void checkLines(List<String> lines, String name) throws IOException { List<ConfusionPair> subConfusionPair = confusionPairs.get(name); if (subConfusionPair == null) { System.out.println("Skipping '" + name + "', homophone not loaded"); return; } if (subConfusionPair.size() > 1) { System.err.println("WARN: will only use first confusion set of " + subConfusionPair.size() + ": " + subConfusionPair.get(0)); } confusionRule.setConfusionPair(subConfusionPair.get(0)); int sentenceCount = 0; int ruleMatches = 0; for (String line : lines) { List<RuleMatch> matches = lt.check(line); sentenceCount++; globalSentenceCount++; if (matches.size() > 0) { Set<String> suggestions = new HashSet<>(); for (RuleMatch match : matches) { //System.out.println(" " + match + ": " + match.<API key>()); suggestions.addAll(match.<API key>()); ruleMatches++; globalRuleMatches++; } if (ruleMatches <= MAX_ERROR_DISPLAY) { System.out.println("[" + name + "] " + line + " => " + suggestions); } } if (sentenceCount > MAX_SENTENCES) { System.out.println("Max sentences (" + MAX_SENTENCES + ") reached, stopping"); break; } } System.out.println(sentenceCount + " sentences checked"); System.out.println(ruleMatches + " errors found"); float percentage = (float)ruleMatches/(float)sentenceCount*100; System.out.printf("%.2f%% of sentences have a match\n", percentage); if (!EVAL_MODE) { System.out.printf(Locale.ENGLISH, "DATA;%s;%d;%d;%.2f\n\n", name, sentenceCount, ruleMatches, percentage); } } public static void main(String[] args) throws IOException { if (args.length != 2) { System.out.println("Usage: " + <API key>.class.getSimpleName() + " <languageModel> <sentenceDirectory>"); System.out.println(" <languageModel> is a Lucene index with ngram frequency information"); System.out.println(" <sentenceDirectory> is a directory with filenames like 'xx.txt' where 'xx' is the homophone"); System.exit(1); } <API key> evaluator = new <API key>(new File(args[0])); File dir = new File(args[1]); if (!dir.isDirectory()) { throw new RuntimeException("Not a directory: " + dir); } evaluator.run(dir); evaluator.close(); } }
#include "config.h" #define _XOPEN_SOURCE #define <API key> 1 /* strptime is XPG4v2 */ #include <time.h> #include <string.h> #include <stdio.h> #include <libtracker-common/tracker-utils.h> #include <libtracker-common/tracker-date-time.h> #include "tracker-utils.h" #ifndef HAVE_GETLINE #include <stddef.h> #include <stdlib.h> #include <limits.h> #include <errno.h> #undef getdelim #undef getline #define GROW_BY 80 #endif /* HAVE_GETLINE */ #define DATE_FORMAT_ISO8601 "%Y-%m-%dT%H:%M:%S%z" /** * SECTION:tracker-utils * @title: Data utilities * @short_description: Functions for coalescing, merging, date * handling and normalizing * @stability: Stable * @include: libtracker-extract/tracker-extract.h * * This API is provided to facilitate common more general functions * which extractors may find useful. These functions are also used by * the in-house extractors quite frequently. **/ static const char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; static const char imonths[] = { '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '1', '2' }; /** * <API key>: * @n_values: the number of @... supplied * @...: the string pointers to coalesce * * This function iterates through a series of string pointers passed * using @... and returns the first which is not %NULL, not empty * (i.e. "") and not comprised of one or more spaces (i.e. " "). * * The returned value is stripped using g_strstrip(). It is MOST * important NOT to pass constant string pointers to this function! * * Returns: the first string pointer from those provided which * matches, otherwise %NULL. * * Since: 0.10 **/ const gchar * <API key> (gint n_values, ) { va_list args; gint i; const gchar *result = NULL; va_start (args, n_values); for (i = 0; i < n_values; i++) { gchar *value; value = va_arg (args, gchar *); if (!result && !<API key> (value)) { result = (const gchar *) g_strstrip (value); break; } } va_end (args); return result; } // LCOV_EXCL_START /** * tracker_coalesce: * @n_values: the number of @Varargs supplied * @...: the string pointers to coalesce * * This function iterates through a series of string pointers passed * using @... and returns the first which is not %NULL, not empty * (i.e. "") and not comprised of one or more spaces (i.e. " "). * * The returned value is stripped using g_strstrip(). All other values * supplied are freed. It is MOST important NOT to pass constant * string pointers to this function! * * Returns: the first string pointer from those provided which * matches, otherwise %NULL. * * Since: 0.8 * * Deprecated: 0.10: Use <API key>() instead. * **/ gchar * tracker_coalesce (gint n_values, ) { va_list args; gint i; gchar *result = NULL; va_start (args, n_values); for (i = 0; i < n_values; i++) { gchar *value; value = va_arg (args, gchar *); if (!result && !<API key> (value)) { result = g_strstrip (value); } else { g_free (value); } } va_end (args); return result; } // LCOV_EXCL_STOP /** * tracker_merge_const: * @delimiter: the delimiter to use when merging * @n_values: the number of @... supplied * @...: the string pointers to merge * * This function iterates through a series of string pointers passed * using @... and returns a newly allocated string of the merged * strings. * * The @delimiter can be %NULL. If specified, it will be used in * between each merged string in the result. * * Returns: a newly-allocated string holding the result which should * be freed with g_free() when finished with, otherwise %NULL. * * Since: 0.10 **/ gchar * tracker_merge_const (const gchar *delimiter, gint n_values, ) { va_list args; gint i; GString *str = NULL; va_start (args, n_values); for (i = 0; i < n_values; i++) { gchar *value; value = va_arg (args, gchar *); if (value) { if (!str) { str = g_string_new (value); } else { if (delimiter) { g_string_append (str, delimiter); } g_string_append (str, value); } } } va_end (args); if (!str) { return NULL; } return g_string_free (str, FALSE); } // LCOV_EXCL_START /** * tracker_merge: * @delimiter: the delimiter to use when merging * @n_values: the number of @... supplied * @...: the string pointers to merge * * This function iterates through a series of string pointers passed * using @... and returns a newly allocated string of the merged * strings. All passed strings are freed (don't pass const values)/ * * The @delimiter can be %NULL. If specified, it will be used in * between each merged string in the result. * * Returns: a newly-allocated string holding the result which should * be freed with g_free() when finished with, otherwise %NULL. * * Since: 0.8 * * Deprecated: 0.10: Use tracker_merge_const() instead. **/ gchar * tracker_merge (const gchar *delimiter, gint n_values, ) { va_list args; gint i; GString *str = NULL; va_start (args, n_values); for (i = 0; i < n_values; i++) { gchar *value; value = va_arg (args, gchar *); if (value) { if (!str) { str = g_string_new (value); } else { if (delimiter) { g_string_append (str, delimiter); } g_string_append (str, value); } g_free (value); } } va_end (args); if (!str) { return NULL; } return g_string_free (str, FALSE); } /** * <API key>: * @text: the text to normalize * @max_words: the maximum words of @text to normalize * @n_words: the number of words actually normalized * * This function iterates through @text checking for UTF-8 validity * using <API key>(). For each character found, the * %GUnicodeType is checked to make sure it is one fo the following * values: * <itemizedlist> * <listitem><para>%<API key></para></listitem> * <listitem><para>%<API key></para></listitem> * <listitem><para>%<API key></para></listitem> * <listitem><para>%<API key></para></listitem> * <listitem><para>%<API key></para></listitem> * </itemizedlist> * * All other symbols, punctuation, marks, numbers and separators are * stripped. A regular space (i.e. " ") is used to separate the words * in the returned string. * * The @n_words can be %NULL. If specified, it will be populated with * the number of words that were normalized in the result. * * Returns: a newly-allocated string holding the result which should * be freed with g_free() when finished with, otherwise %NULL. * * Since: 0.8 * * Deprecated: 0.10: Use <API key>() instead. **/ gchar * <API key> (const gchar *text, guint max_words, guint *n_words) { GString *string; gboolean in_break = TRUE; gunichar ch; gint words = 0; string = g_string_new (NULL); while ((ch = <API key> (text, -1)) > 0) { GUnicodeType type; type = g_unichar_type (ch); if (type == <API key> || type == <API key> || type == <API key> || type == <API key> || type == <API key>) { /* Append regular chars */ <API key> (string, ch); in_break = FALSE; } else if (!in_break) { /* Non-regular char found, treat as word break */ g_string_append_c (string, ' '); in_break = TRUE; words++; if (words > max_words) { break; } } text = <API key> (text, NULL); } if (n_words) { if (!in_break) { /* Count the last word */ words += 1; } *n_words = words; } return g_string_free (string, FALSE); } // LCOV_EXCL_STOP /** * <API key>: * @text: the text to validate * @text_len: length of @text, or -1 if NUL-terminated * @str: the string where to place the validated UTF-8 characters, or %NULL if * not needed. * @valid_len: Output number of valid UTF-8 bytes found, or %NULL if not needed * * This function iterates through @text checking for UTF-8 validity * using g_utf8_validate(), appends the first chunk of valid characters * to @str, and gives the number of valid UTF-8 bytes in @valid_len. * * Returns: %TRUE if some bytes were found to be valid, %FALSE otherwise. * * Since: 0.10 **/ gboolean <API key> (const gchar *text, gssize text_len, GString **str, gsize *valid_len) { gsize len_to_validate; <API key> (text, FALSE); len_to_validate = text_len >= 0 ? text_len : strlen (text); if (len_to_validate > 0) { const gchar *end = text; /* Validate string, getting the pointer to first non-valid character * (if any) or to the end of the string. */ g_utf8_validate (text, len_to_validate, &end); if (end > text) { /* If str output required... */ if (str) { /* Create string to output if not already as input */ *str = (*str == NULL ? g_string_new_len (text, end - text) : g_string_append_len (*str, text, end - text)); } /* If utf8 len output required... */ if (valid_len) { *valid_len = end - text; } return TRUE; } } return FALSE; } /** * <API key>: * @date_string: the date in a string pointer * @format: the format of the @date_string * * This function uses strptime() to create a time tm structure using * @date_string and @format. * * Returns: a newly-allocated string with the time represented in * ISO8601 date format which should be freed with g_free() when * finished with, otherwise %NULL. * * Since: 0.8 **/ gchar * <API key> (const gchar *date_string, const gchar *format) { gchar *result; struct tm date_tm = { 0 }; <API key> (date_string != NULL, NULL); <API key> (format != NULL, NULL); if (strptime (date_string, format, &date_tm) == 0) { return NULL; } /* If the input format string doesn't parse timezone information with * either %z or %Z, strptime() won't set the tm_gmtoff member in the * broken-down time, and the value during initialization (0) will be * left. This effectively means that every broken-down time obtained * with strptime() without parsing timezone information will be based * on UTC, instead of being treated as localtime. In order to fix this * and set the correct value for the offset w.r.t gmt, we can just * use mktime() to fill in the daylight saving flag as well as the * gmt offset value. */ if (!strstr (format, "%z") && !strstr (format, "%Z")) { /* tm_isdst not set by strptime(), we set -1 on it in order to ask * mktime to 'normalize' its contents and fill in the gmt offset * and daylight saving time information */ date_tm.tm_isdst = -1; /* Note: no real problem if mktime() fails. In this case, tm_isdst * will be -1, and therefore strftime() will not write the timezone * information, which is equally right to represent localtime. */ mktime (&date_tm); } result = g_malloc (sizeof (char) * 25); strftime (result, 25, DATE_FORMAT_ISO8601 , &date_tm); return result; } static gboolean is_int (const gchar *str) { gint i, len; if (!str || str[0] == '\0') { return FALSE; } len = strlen (str); for (i = 0; i < len; i++) { if (!g_ascii_isdigit (str[i])) { return FALSE; } } return TRUE ; } static gint parse_month (const gchar *month) { gint i; for (i = 0; i < 12; i++) { if (!strncmp (month, months[i], 3)) { return i; } } return -1; } /* Determine date format and convert to ISO 8601 format */ /* FIXME We should handle all the fractions here (see ISO 8601), as well as YYYY:DDD etc */ /** * tracker_date_guess: * @date_string: the date in a string pointer * * This function uses a number of methods to try and guess the date * held in @date_string. The @date_string must be at least 5 * characters in length or longer for any guessing to be attempted. * Some of the string formats guessed include: * * <itemizedlist> * <listitem><para>"YYYY-MM-DD" (Simple format)</para></listitem> * <listitem><para>"20050315113224-08'00'" (PDF format)</para></listitem> * <listitem><para>"20050216111533Z" (PDF format)</para></listitem> * <listitem><para>"Mon Feb 9 10:10:00 2004" (Microsoft Office format)</para></listitem> * <listitem><para>"2005:04:29 14:56:54" (Exif format)</para></listitem> * <listitem><para>"YYYY-MM-DDThh:mm:ss.ff+zz:zz</para></listitem> * </itemizedlist> * * Returns: a newly-allocated string with the time represented in * ISO8601 date format which should be freed with g_free() when * finished with, otherwise %NULL. * * Since: 0.8 **/ gchar * tracker_date_guess (const gchar *date_string) { gchar buf[30]; gint len; GError *error = NULL; if (!date_string) { return NULL; } len = strlen (date_string); /* We cannot format a date without at least a four digit * year. */ if (len < 4) { return NULL; } /* Check for year only dates (EG ID3 music tags might have * Audio.ReleaseDate as 4 digit year) */ if (len == 4) { if (is_int (date_string)) { buf[0] = date_string[0]; buf[1] = date_string[1]; buf[2] = date_string[2]; buf[3] = date_string[3]; buf[4] = '-'; buf[5] = '0'; buf[6] = '1'; buf[7] = '-'; buf[8] = '0'; buf[9] = '1'; buf[10] = 'T'; buf[11] = '0'; buf[12] = '0'; buf[13] = ':'; buf[14] = '0'; buf[15] = '0'; buf[16] = ':'; buf[17] = '0'; buf[18] = '0'; buf[19] = 'Z'; buf[20] = '\0'; <API key> (buf, NULL, &error); if (error != NULL) { g_error_free (error); return NULL; } return g_strdup (buf); } else { return NULL; } } else if (len == 10) { /* Check for date part only YYYY-MM-DD */ buf[0] = date_string[0]; buf[1] = date_string[1]; buf[2] = date_string[2]; buf[3] = date_string[3]; buf[4] = '-'; buf[5] = date_string[5]; buf[6] = date_string[6]; buf[7] = '-'; buf[8] = date_string[8]; buf[9] = date_string[9]; buf[10] = 'T'; buf[11] = '0'; buf[12] = '0'; buf[13] = ':'; buf[14] = '0'; buf[15] = '0'; buf[16] = ':'; buf[17] = '0'; buf[18] = '0'; buf[19] = '\0'; <API key> (buf, NULL, &error); if (error != NULL) { g_error_free (error); return NULL; } return g_strdup (buf); } else if (len == 14) { /* Check for pdf format EG 20050315113224-08'00' or * 20050216111533Z */ buf[0] = date_string[0]; buf[1] = date_string[1]; buf[2] = date_string[2]; buf[3] = date_string[3]; buf[4] = '-'; buf[5] = date_string[4]; buf[6] = date_string[5]; buf[7] = '-'; buf[8] = date_string[6]; buf[9] = date_string[7]; buf[10] = 'T'; buf[11] = date_string[8]; buf[12] = date_string[9]; buf[13] = ':'; buf[14] = date_string[10]; buf[15] = date_string[11]; buf[16] = ':'; buf[17] = date_string[12]; buf[18] = date_string[13]; buf[19] = '\0'; <API key> (buf, NULL, &error); if (error != NULL) { g_error_free (error); return NULL; } return g_strdup (buf); } else if (len == 15 && date_string[14] == 'Z') { buf[0] = date_string[0]; buf[1] = date_string[1]; buf[2] = date_string[2]; buf[3] = date_string[3]; buf[4] = '-'; buf[5] = date_string[4]; buf[6] = date_string[5]; buf[7] = '-'; buf[8] = date_string[6]; buf[9] = date_string[7]; buf[10] = 'T'; buf[11] = date_string[8]; buf[12] = date_string[9]; buf[13] = ':'; buf[14] = date_string[10]; buf[15] = date_string[11]; buf[16] = ':'; buf[17] = date_string[12]; buf[18] = date_string[13]; buf[19] = 'Z'; buf[20] = '\0'; <API key> (buf, NULL, &error); if (error != NULL) { g_error_free (error); return NULL; } return g_strdup (buf); } else if (len == 21 && (date_string[14] == '-' || date_string[14] == '+' )) { buf[0] = date_string[0]; buf[1] = date_string[1]; buf[2] = date_string[2]; buf[3] = date_string[3]; buf[4] = '-'; buf[5] = date_string[4]; buf[6] = date_string[5]; buf[7] = '-'; buf[8] = date_string[6]; buf[9] = date_string[7]; buf[10] = 'T'; buf[11] = date_string[8]; buf[12] = date_string[9]; buf[13] = ':'; buf[14] = date_string[10]; buf[15] = date_string[11]; buf[16] = ':'; buf[17] = date_string[12]; buf[18] = date_string[13]; buf[19] = date_string[14]; buf[20] = date_string[15]; buf[21] = date_string[16]; buf[22] = ':'; buf[23] = date_string[18]; buf[24] = date_string[19]; buf[25] = '\0'; <API key> (buf, NULL, &error); if (error != NULL) { g_error_free (error); return NULL; } return g_strdup (buf); } else if ((len == 24) && (date_string[3] == ' ')) { /* Check for msoffice date format "Mon Feb 9 10:10:00 2004" */ gint num_month; gchar mon1; gchar day1; num_month = parse_month (date_string + 4); if (num_month < 0) { return NULL; } mon1 = imonths[num_month]; if (date_string[8] == ' ') { day1 = '0'; } else { day1 = date_string[8]; } buf[0] = date_string[20]; buf[1] = date_string[21]; buf[2] = date_string[22]; buf[3] = date_string[23]; buf[4] = '-'; if (num_month < 10) { buf[5] = '0'; buf[6] = mon1; } else { buf[5] = '1'; buf[6] = mon1; } buf[7] = '-'; buf[8] = day1; buf[9] = date_string[9]; buf[10] = 'T'; buf[11] = date_string[11]; buf[12] = date_string[12]; buf[13] = ':'; buf[14] = date_string[14]; buf[15] = date_string[15]; buf[16] = ':'; buf[17] = date_string[17]; buf[18] = date_string[18]; buf[19] = '\0'; <API key> (buf, NULL, &error); if (error != NULL) { g_error_free (error); return NULL; } return g_strdup (buf); } else if ((len == 19) && (date_string[4] == ':') && (date_string[7] == ':')) { /* Check for Exif date format "2005:04:29 14:56:54" */ buf[0] = date_string[0]; buf[1] = date_string[1]; buf[2] = date_string[2]; buf[3] = date_string[3]; buf[4] = '-'; buf[5] = date_string[5]; buf[6] = date_string[6]; buf[7] = '-'; buf[8] = date_string[8]; buf[9] = date_string[9]; buf[10] = 'T'; buf[11] = date_string[11]; buf[12] = date_string[12]; buf[13] = ':'; buf[14] = date_string[14]; buf[15] = date_string[15]; buf[16] = ':'; buf[17] = date_string[17]; buf[18] = date_string[18]; buf[19] = '\0'; <API key> (buf, NULL, &error); if (error != NULL) { g_error_free (error); return NULL; } return g_strdup (buf); } <API key> (date_string, NULL, &error); if (error != NULL) { g_error_free (error); return NULL; } return g_strdup (date_string); } #ifndef HAVE_GETLINE static gint my_igetdelim (gchar **linebuf, guint *linebufsz, gint delimiter, FILE *file) { gint ch; gint idx; if ((file == NULL || linebuf == NULL || *linebuf == NULL || *linebufsz == 0) && !(*linebuf == NULL && *linebufsz == 0)) { errno = EINVAL; return -1; } if (*linebuf == NULL && *linebufsz == 0) { *linebuf = g_malloc (GROW_BY); if (!*linebuf) { errno = ENOMEM; return -1; } *linebufsz += GROW_BY; } idx = 0; while ((ch = fgetc (file)) != EOF) { /* Grow the line buffer as necessary */ while (idx > *linebufsz - 2) { *linebuf = g_realloc (*linebuf, *linebufsz += GROW_BY); if (!*linebuf) { errno = ENOMEM; return -1; } } (*linebuf)[idx++] = (gchar) ch; if ((gchar) ch == delimiter) { break; } } if (idx != 0) { (*linebuf)[idx] = 0; } else if ( ch == EOF ) { return -1; } return idx; } #endif /* HAVE_GETLINE */ /** * tracker_getline: * @lineptr: Buffer to write into * @n: Max bytes of linebuf * @stream: Filestream to read from * * Reads an entire line from stream, storing the address of the buffer * containing the text into *lineptr. The buffer is null-terminated * and includes the newline character, if one was found. * * Read GNU getline()'s manpage for more information * * Returns: the number of characters read, including the delimiter * character, but not including the terminating %NULL byte. This value * can be used to handle embedded %NULL bytes in the line read. Upon * failure, -1 is returned. * * Since: 0.10 **/ gssize tracker_getline (gchar **lineptr, gsize *n, FILE *stream) { #ifndef HAVE_GETLINE return my_igetdelim (lineptr, n, '\n', stream); #else /* HAVE_GETLINE */ return getline (lineptr, n, stream); #endif /* HAVE_GETLINE */ } /** * <API key>: * @store: Array where to store the keywords * @keywords: Keywords line to parse * * Parses a keywords line into store, avoiding duplicates and stripping leading * and trailing spaces from keywords. Allowed delimiters are , and ; * * Since: 0.10 **/ void <API key> (GPtrArray *store, const gchar *keywords) { gchar *orig, *keywords_d; char *saveptr, *p; size_t len; keywords_d = orig = g_strdup (keywords); p = keywords_d; keywords_d = strchr (keywords_d, '"'); if (keywords_d) { keywords_d++; } else { keywords_d = p; } len = strlen (keywords_d); if (len > 0 && keywords_d[len - 1] == '"') { keywords_d[len - 1] = '\0'; } for (p = strtok_r (keywords_d, ",;", &saveptr); p; p = strtok_r (NULL, ",;", &saveptr)) { guint i; gboolean found = FALSE; gchar *p_do = g_strdup (p); gchar *p_dup = p_do; guint len = strlen (p_dup); if (*p_dup == ' ') p_dup++; if (p_dup[len-1] == ' ') p_dup[len-1] = '\0'; /* ignore keywords containing invalid UTF-8 */ if (!g_utf8_validate (p_dup, -1, NULL)) { g_free (p_do); continue; } for (i = 0; i < store->len; i++) { const gchar *earlier = g_ptr_array_index (store, i); if (g_strcmp0 (earlier, p_dup) == 0) { found = TRUE; break; } } if (!found) { g_ptr_array_add (store, g_strdup (p_dup)); } g_free (p_do); } g_free (orig); }
package noconflict.org.bouncycastle.crypto.digests; /** * implementation of RIPEMD 320. * <p> * <b>Note:</b> this implementation offers the same level of security * as RIPEMD 160. */ public class RIPEMD320Digest extends GeneralDigest { private static final int DIGEST_LENGTH = 40; private int H0, H1, H2, H3, H4, H5, H6, H7, H8, H9; // IV's private int[] X = new int[16]; private int xOff; /** * Standard constructor */ public RIPEMD320Digest() { reset(); } /** * Copy constructor. This will copy the state of the provided * message digest. */ public RIPEMD320Digest(RIPEMD320Digest t) { super(t); H0 = t.H0; H1 = t.H1; H2 = t.H2; H3 = t.H3; H4 = t.H4; H5 = t.H5; H6 = t.H6; H7 = t.H7; H8 = t.H8; H9 = t.H9; System.arraycopy(t.X, 0, X, 0, t.X.length); xOff = t.xOff; } public String getAlgorithmName() { return "RIPEMD320"; } public int getDigestSize() { return DIGEST_LENGTH; } protected void processWord( byte[] in, int inOff) { X[xOff++] = (in[inOff] & 0xff) | ((in[inOff + 1] & 0xff) << 8) | ((in[inOff + 2] & 0xff) << 16) | ((in[inOff + 3] & 0xff) << 24); if (xOff == 16) { processBlock(); } } protected void processLength( long bitLength) { if (xOff > 14) { processBlock(); } X[14] = (int)(bitLength & 0xffffffff); X[15] = (int)(bitLength >>> 32); } private void unpackWord( int word, byte[] out, int outOff) { out[outOff] = (byte)word; out[outOff + 1] = (byte)(word >>> 8); out[outOff + 2] = (byte)(word >>> 16); out[outOff + 3] = (byte)(word >>> 24); } public int doFinal( byte[] out, int outOff) { finish(); unpackWord(H0, out, outOff); unpackWord(H1, out, outOff + 4); unpackWord(H2, out, outOff + 8); unpackWord(H3, out, outOff + 12); unpackWord(H4, out, outOff + 16); unpackWord(H5, out, outOff + 20); unpackWord(H6, out, outOff + 24); unpackWord(H7, out, outOff + 28); unpackWord(H8, out, outOff + 32); unpackWord(H9, out, outOff + 36); reset(); return DIGEST_LENGTH; } /** * reset the chaining variables to the IV values. */ public void reset() { super.reset(); H0 = 0x67452301; H1 = 0xefcdab89; H2 = 0x98badcfe; H3 = 0x10325476; H4 = 0xc3d2e1f0; H5 = 0x76543210; H6 = 0xFEDCBA98; H7 = 0x89ABCDEF; H8 = 0x01234567; H9 = 0x3C2D1E0F; xOff = 0; for (int i = 0; i != X.length; i++) { X[i] = 0; } } /* * rotate int x left n bits. */ private int RL( int x, int n) { return (x << n) | (x >>> (32 - n)); } /* * f1,f2,f3,f4,f5 are the basic RIPEMD160 functions. */ /* * rounds 0-15 */ private int f1( int x, int y, int z) { return x ^ y ^ z; } /* * rounds 16-31 */ private int f2( int x, int y, int z) { return (x & y) | (~x & z); } /* * rounds 32-47 */ private int f3( int x, int y, int z) { return (x | ~y) ^ z; } /* * rounds 48-63 */ private int f4( int x, int y, int z) { return (x & z) | (y & ~z); } /* * rounds 64-79 */ private int f5( int x, int y, int z) { return x ^ (y | ~z); } protected void processBlock() { int a, aa; int b, bb; int c, cc; int d, dd; int e, ee; int t; a = H0; b = H1; c = H2; d = H3; e = H4; aa = H5; bb = H6; cc = H7; dd = H8; ee = H9; // Rounds 1 - 16 // left a = RL(a + f1(b,c,d) + X[ 0], 11) + e; c = RL(c, 10); e = RL(e + f1(a,b,c) + X[ 1], 14) + d; b = RL(b, 10); d = RL(d + f1(e,a,b) + X[ 2], 15) + c; a = RL(a, 10); c = RL(c + f1(d,e,a) + X[ 3], 12) + b; e = RL(e, 10); b = RL(b + f1(c,d,e) + X[ 4], 5) + a; d = RL(d, 10); a = RL(a + f1(b,c,d) + X[ 5], 8) + e; c = RL(c, 10); e = RL(e + f1(a,b,c) + X[ 6], 7) + d; b = RL(b, 10); d = RL(d + f1(e,a,b) + X[ 7], 9) + c; a = RL(a, 10); c = RL(c + f1(d,e,a) + X[ 8], 11) + b; e = RL(e, 10); b = RL(b + f1(c,d,e) + X[ 9], 13) + a; d = RL(d, 10); a = RL(a + f1(b,c,d) + X[10], 14) + e; c = RL(c, 10); e = RL(e + f1(a,b,c) + X[11], 15) + d; b = RL(b, 10); d = RL(d + f1(e,a,b) + X[12], 6) + c; a = RL(a, 10); c = RL(c + f1(d,e,a) + X[13], 7) + b; e = RL(e, 10); b = RL(b + f1(c,d,e) + X[14], 9) + a; d = RL(d, 10); a = RL(a + f1(b,c,d) + X[15], 8) + e; c = RL(c, 10); // right aa = RL(aa + f5(bb,cc,dd) + X[ 5] + 0x50a28be6, 8) + ee; cc = RL(cc, 10); ee = RL(ee + f5(aa,bb,cc) + X[14] + 0x50a28be6, 9) + dd; bb = RL(bb, 10); dd = RL(dd + f5(ee,aa,bb) + X[ 7] + 0x50a28be6, 9) + cc; aa = RL(aa, 10); cc = RL(cc + f5(dd,ee,aa) + X[ 0] + 0x50a28be6, 11) + bb; ee = RL(ee, 10); bb = RL(bb + f5(cc,dd,ee) + X[ 9] + 0x50a28be6, 13) + aa; dd = RL(dd, 10); aa = RL(aa + f5(bb,cc,dd) + X[ 2] + 0x50a28be6, 15) + ee; cc = RL(cc, 10); ee = RL(ee + f5(aa,bb,cc) + X[11] + 0x50a28be6, 15) + dd; bb = RL(bb, 10); dd = RL(dd + f5(ee,aa,bb) + X[ 4] + 0x50a28be6, 5) + cc; aa = RL(aa, 10); cc = RL(cc + f5(dd,ee,aa) + X[13] + 0x50a28be6, 7) + bb; ee = RL(ee, 10); bb = RL(bb + f5(cc,dd,ee) + X[ 6] + 0x50a28be6, 7) + aa; dd = RL(dd, 10); aa = RL(aa + f5(bb,cc,dd) + X[15] + 0x50a28be6, 8) + ee; cc = RL(cc, 10); ee = RL(ee + f5(aa,bb,cc) + X[ 8] + 0x50a28be6, 11) + dd; bb = RL(bb, 10); dd = RL(dd + f5(ee,aa,bb) + X[ 1] + 0x50a28be6, 14) + cc; aa = RL(aa, 10); cc = RL(cc + f5(dd,ee,aa) + X[10] + 0x50a28be6, 14) + bb; ee = RL(ee, 10); bb = RL(bb + f5(cc,dd,ee) + X[ 3] + 0x50a28be6, 12) + aa; dd = RL(dd, 10); aa = RL(aa + f5(bb,cc,dd) + X[12] + 0x50a28be6, 6) + ee; cc = RL(cc, 10); t = a; a = aa; aa = t; // Rounds 16-31 // left e = RL(e + f2(a,b,c) + X[ 7] + 0x5a827999, 7) + d; b = RL(b, 10); d = RL(d + f2(e,a,b) + X[ 4] + 0x5a827999, 6) + c; a = RL(a, 10); c = RL(c + f2(d,e,a) + X[13] + 0x5a827999, 8) + b; e = RL(e, 10); b = RL(b + f2(c,d,e) + X[ 1] + 0x5a827999, 13) + a; d = RL(d, 10); a = RL(a + f2(b,c,d) + X[10] + 0x5a827999, 11) + e; c = RL(c, 10); e = RL(e + f2(a,b,c) + X[ 6] + 0x5a827999, 9) + d; b = RL(b, 10); d = RL(d + f2(e,a,b) + X[15] + 0x5a827999, 7) + c; a = RL(a, 10); c = RL(c + f2(d,e,a) + X[ 3] + 0x5a827999, 15) + b; e = RL(e, 10); b = RL(b + f2(c,d,e) + X[12] + 0x5a827999, 7) + a; d = RL(d, 10); a = RL(a + f2(b,c,d) + X[ 0] + 0x5a827999, 12) + e; c = RL(c, 10); e = RL(e + f2(a,b,c) + X[ 9] + 0x5a827999, 15) + d; b = RL(b, 10); d = RL(d + f2(e,a,b) + X[ 5] + 0x5a827999, 9) + c; a = RL(a, 10); c = RL(c + f2(d,e,a) + X[ 2] + 0x5a827999, 11) + b; e = RL(e, 10); b = RL(b + f2(c,d,e) + X[14] + 0x5a827999, 7) + a; d = RL(d, 10); a = RL(a + f2(b,c,d) + X[11] + 0x5a827999, 13) + e; c = RL(c, 10); e = RL(e + f2(a,b,c) + X[ 8] + 0x5a827999, 12) + d; b = RL(b, 10); // right ee = RL(ee + f4(aa,bb,cc) + X[ 6] + 0x5c4dd124, 9) + dd; bb = RL(bb, 10); dd = RL(dd + f4(ee,aa,bb) + X[11] + 0x5c4dd124, 13) + cc; aa = RL(aa, 10); cc = RL(cc + f4(dd,ee,aa) + X[ 3] + 0x5c4dd124, 15) + bb; ee = RL(ee, 10); bb = RL(bb + f4(cc,dd,ee) + X[ 7] + 0x5c4dd124, 7) + aa; dd = RL(dd, 10); aa = RL(aa + f4(bb,cc,dd) + X[ 0] + 0x5c4dd124, 12) + ee; cc = RL(cc, 10); ee = RL(ee + f4(aa,bb,cc) + X[13] + 0x5c4dd124, 8) + dd; bb = RL(bb, 10); dd = RL(dd + f4(ee,aa,bb) + X[ 5] + 0x5c4dd124, 9) + cc; aa = RL(aa, 10); cc = RL(cc + f4(dd,ee,aa) + X[10] + 0x5c4dd124, 11) + bb; ee = RL(ee, 10); bb = RL(bb + f4(cc,dd,ee) + X[14] + 0x5c4dd124, 7) + aa; dd = RL(dd, 10); aa = RL(aa + f4(bb,cc,dd) + X[15] + 0x5c4dd124, 7) + ee; cc = RL(cc, 10); ee = RL(ee + f4(aa,bb,cc) + X[ 8] + 0x5c4dd124, 12) + dd; bb = RL(bb, 10); dd = RL(dd + f4(ee,aa,bb) + X[12] + 0x5c4dd124, 7) + cc; aa = RL(aa, 10); cc = RL(cc + f4(dd,ee,aa) + X[ 4] + 0x5c4dd124, 6) + bb; ee = RL(ee, 10); bb = RL(bb + f4(cc,dd,ee) + X[ 9] + 0x5c4dd124, 15) + aa; dd = RL(dd, 10); aa = RL(aa + f4(bb,cc,dd) + X[ 1] + 0x5c4dd124, 13) + ee; cc = RL(cc, 10); ee = RL(ee + f4(aa,bb,cc) + X[ 2] + 0x5c4dd124, 11) + dd; bb = RL(bb, 10); t = b; b = bb; bb = t; // Rounds 32-47 // left d = RL(d + f3(e,a,b) + X[ 3] + 0x6ed9eba1, 11) + c; a = RL(a, 10); c = RL(c + f3(d,e,a) + X[10] + 0x6ed9eba1, 13) + b; e = RL(e, 10); b = RL(b + f3(c,d,e) + X[14] + 0x6ed9eba1, 6) + a; d = RL(d, 10); a = RL(a + f3(b,c,d) + X[ 4] + 0x6ed9eba1, 7) + e; c = RL(c, 10); e = RL(e + f3(a,b,c) + X[ 9] + 0x6ed9eba1, 14) + d; b = RL(b, 10); d = RL(d + f3(e,a,b) + X[15] + 0x6ed9eba1, 9) + c; a = RL(a, 10); c = RL(c + f3(d,e,a) + X[ 8] + 0x6ed9eba1, 13) + b; e = RL(e, 10); b = RL(b + f3(c,d,e) + X[ 1] + 0x6ed9eba1, 15) + a; d = RL(d, 10); a = RL(a + f3(b,c,d) + X[ 2] + 0x6ed9eba1, 14) + e; c = RL(c, 10); e = RL(e + f3(a,b,c) + X[ 7] + 0x6ed9eba1, 8) + d; b = RL(b, 10); d = RL(d + f3(e,a,b) + X[ 0] + 0x6ed9eba1, 13) + c; a = RL(a, 10); c = RL(c + f3(d,e,a) + X[ 6] + 0x6ed9eba1, 6) + b; e = RL(e, 10); b = RL(b + f3(c,d,e) + X[13] + 0x6ed9eba1, 5) + a; d = RL(d, 10); a = RL(a + f3(b,c,d) + X[11] + 0x6ed9eba1, 12) + e; c = RL(c, 10); e = RL(e + f3(a,b,c) + X[ 5] + 0x6ed9eba1, 7) + d; b = RL(b, 10); d = RL(d + f3(e,a,b) + X[12] + 0x6ed9eba1, 5) + c; a = RL(a, 10); // right dd = RL(dd + f3(ee,aa,bb) + X[15] + 0x6d703ef3, 9) + cc; aa = RL(aa, 10); cc = RL(cc + f3(dd,ee,aa) + X[ 5] + 0x6d703ef3, 7) + bb; ee = RL(ee, 10); bb = RL(bb + f3(cc,dd,ee) + X[ 1] + 0x6d703ef3, 15) + aa; dd = RL(dd, 10); aa = RL(aa + f3(bb,cc,dd) + X[ 3] + 0x6d703ef3, 11) + ee; cc = RL(cc, 10); ee = RL(ee + f3(aa,bb,cc) + X[ 7] + 0x6d703ef3, 8) + dd; bb = RL(bb, 10); dd = RL(dd + f3(ee,aa,bb) + X[14] + 0x6d703ef3, 6) + cc; aa = RL(aa, 10); cc = RL(cc + f3(dd,ee,aa) + X[ 6] + 0x6d703ef3, 6) + bb; ee = RL(ee, 10); bb = RL(bb + f3(cc,dd,ee) + X[ 9] + 0x6d703ef3, 14) + aa; dd = RL(dd, 10); aa = RL(aa + f3(bb,cc,dd) + X[11] + 0x6d703ef3, 12) + ee; cc = RL(cc, 10); ee = RL(ee + f3(aa,bb,cc) + X[ 8] + 0x6d703ef3, 13) + dd; bb = RL(bb, 10); dd = RL(dd + f3(ee,aa,bb) + X[12] + 0x6d703ef3, 5) + cc; aa = RL(aa, 10); cc = RL(cc + f3(dd,ee,aa) + X[ 2] + 0x6d703ef3, 14) + bb; ee = RL(ee, 10); bb = RL(bb + f3(cc,dd,ee) + X[10] + 0x6d703ef3, 13) + aa; dd = RL(dd, 10); aa = RL(aa + f3(bb,cc,dd) + X[ 0] + 0x6d703ef3, 13) + ee; cc = RL(cc, 10); ee = RL(ee + f3(aa,bb,cc) + X[ 4] + 0x6d703ef3, 7) + dd; bb = RL(bb, 10); dd = RL(dd + f3(ee,aa,bb) + X[13] + 0x6d703ef3, 5) + cc; aa = RL(aa, 10); t = c; c = cc; cc = t; // Rounds 48-63 // left c = RL(c + f4(d,e,a) + X[ 1] + 0x8f1bbcdc, 11) + b; e = RL(e, 10); b = RL(b + f4(c,d,e) + X[ 9] + 0x8f1bbcdc, 12) + a; d = RL(d, 10); a = RL(a + f4(b,c,d) + X[11] + 0x8f1bbcdc, 14) + e; c = RL(c, 10); e = RL(e + f4(a,b,c) + X[10] + 0x8f1bbcdc, 15) + d; b = RL(b, 10); d = RL(d + f4(e,a,b) + X[ 0] + 0x8f1bbcdc, 14) + c; a = RL(a, 10); c = RL(c + f4(d,e,a) + X[ 8] + 0x8f1bbcdc, 15) + b; e = RL(e, 10); b = RL(b + f4(c,d,e) + X[12] + 0x8f1bbcdc, 9) + a; d = RL(d, 10); a = RL(a + f4(b,c,d) + X[ 4] + 0x8f1bbcdc, 8) + e; c = RL(c, 10); e = RL(e + f4(a,b,c) + X[13] + 0x8f1bbcdc, 9) + d; b = RL(b, 10); d = RL(d + f4(e,a,b) + X[ 3] + 0x8f1bbcdc, 14) + c; a = RL(a, 10); c = RL(c + f4(d,e,a) + X[ 7] + 0x8f1bbcdc, 5) + b; e = RL(e, 10); b = RL(b + f4(c,d,e) + X[15] + 0x8f1bbcdc, 6) + a; d = RL(d, 10); a = RL(a + f4(b,c,d) + X[14] + 0x8f1bbcdc, 8) + e; c = RL(c, 10); e = RL(e + f4(a,b,c) + X[ 5] + 0x8f1bbcdc, 6) + d; b = RL(b, 10); d = RL(d + f4(e,a,b) + X[ 6] + 0x8f1bbcdc, 5) + c; a = RL(a, 10); c = RL(c + f4(d,e,a) + X[ 2] + 0x8f1bbcdc, 12) + b; e = RL(e, 10); // right cc = RL(cc + f2(dd,ee,aa) + X[ 8] + 0x7a6d76e9, 15) + bb; ee = RL(ee, 10); bb = RL(bb + f2(cc,dd,ee) + X[ 6] + 0x7a6d76e9, 5) + aa; dd = RL(dd, 10); aa = RL(aa + f2(bb,cc,dd) + X[ 4] + 0x7a6d76e9, 8) + ee; cc = RL(cc, 10); ee = RL(ee + f2(aa,bb,cc) + X[ 1] + 0x7a6d76e9, 11) + dd; bb = RL(bb, 10); dd = RL(dd + f2(ee,aa,bb) + X[ 3] + 0x7a6d76e9, 14) + cc; aa = RL(aa, 10); cc = RL(cc + f2(dd,ee,aa) + X[11] + 0x7a6d76e9, 14) + bb; ee = RL(ee, 10); bb = RL(bb + f2(cc,dd,ee) + X[15] + 0x7a6d76e9, 6) + aa; dd = RL(dd, 10); aa = RL(aa + f2(bb,cc,dd) + X[ 0] + 0x7a6d76e9, 14) + ee; cc = RL(cc, 10); ee = RL(ee + f2(aa,bb,cc) + X[ 5] + 0x7a6d76e9, 6) + dd; bb = RL(bb, 10); dd = RL(dd + f2(ee,aa,bb) + X[12] + 0x7a6d76e9, 9) + cc; aa = RL(aa, 10); cc = RL(cc + f2(dd,ee,aa) + X[ 2] + 0x7a6d76e9, 12) + bb; ee = RL(ee, 10); bb = RL(bb + f2(cc,dd,ee) + X[13] + 0x7a6d76e9, 9) + aa; dd = RL(dd, 10); aa = RL(aa + f2(bb,cc,dd) + X[ 9] + 0x7a6d76e9, 12) + ee; cc = RL(cc, 10); ee = RL(ee + f2(aa,bb,cc) + X[ 7] + 0x7a6d76e9, 5) + dd; bb = RL(bb, 10); dd = RL(dd + f2(ee,aa,bb) + X[10] + 0x7a6d76e9, 15) + cc; aa = RL(aa, 10); cc = RL(cc + f2(dd,ee,aa) + X[14] + 0x7a6d76e9, 8) + bb; ee = RL(ee, 10); t = d; d = dd; dd = t; // Rounds 64-79 // left b = RL(b + f5(c,d,e) + X[ 4] + 0xa953fd4e, 9) + a; d = RL(d, 10); a = RL(a + f5(b,c,d) + X[ 0] + 0xa953fd4e, 15) + e; c = RL(c, 10); e = RL(e + f5(a,b,c) + X[ 5] + 0xa953fd4e, 5) + d; b = RL(b, 10); d = RL(d + f5(e,a,b) + X[ 9] + 0xa953fd4e, 11) + c; a = RL(a, 10); c = RL(c + f5(d,e,a) + X[ 7] + 0xa953fd4e, 6) + b; e = RL(e, 10); b = RL(b + f5(c,d,e) + X[12] + 0xa953fd4e, 8) + a; d = RL(d, 10); a = RL(a + f5(b,c,d) + X[ 2] + 0xa953fd4e, 13) + e; c = RL(c, 10); e = RL(e + f5(a,b,c) + X[10] + 0xa953fd4e, 12) + d; b = RL(b, 10); d = RL(d + f5(e,a,b) + X[14] + 0xa953fd4e, 5) + c; a = RL(a, 10); c = RL(c + f5(d,e,a) + X[ 1] + 0xa953fd4e, 12) + b; e = RL(e, 10); b = RL(b + f5(c,d,e) + X[ 3] + 0xa953fd4e, 13) + a; d = RL(d, 10); a = RL(a + f5(b,c,d) + X[ 8] + 0xa953fd4e, 14) + e; c = RL(c, 10); e = RL(e + f5(a,b,c) + X[11] + 0xa953fd4e, 11) + d; b = RL(b, 10); d = RL(d + f5(e,a,b) + X[ 6] + 0xa953fd4e, 8) + c; a = RL(a, 10); c = RL(c + f5(d,e,a) + X[15] + 0xa953fd4e, 5) + b; e = RL(e, 10); b = RL(b + f5(c,d,e) + X[13] + 0xa953fd4e, 6) + a; d = RL(d, 10); // right bb = RL(bb + f1(cc,dd,ee) + X[12], 8) + aa; dd = RL(dd, 10); aa = RL(aa + f1(bb,cc,dd) + X[15], 5) + ee; cc = RL(cc, 10); ee = RL(ee + f1(aa,bb,cc) + X[10], 12) + dd; bb = RL(bb, 10); dd = RL(dd + f1(ee,aa,bb) + X[ 4], 9) + cc; aa = RL(aa, 10); cc = RL(cc + f1(dd,ee,aa) + X[ 1], 12) + bb; ee = RL(ee, 10); bb = RL(bb + f1(cc,dd,ee) + X[ 5], 5) + aa; dd = RL(dd, 10); aa = RL(aa + f1(bb,cc,dd) + X[ 8], 14) + ee; cc = RL(cc, 10); ee = RL(ee + f1(aa,bb,cc) + X[ 7], 6) + dd; bb = RL(bb, 10); dd = RL(dd + f1(ee,aa,bb) + X[ 6], 8) + cc; aa = RL(aa, 10); cc = RL(cc + f1(dd,ee,aa) + X[ 2], 13) + bb; ee = RL(ee, 10); bb = RL(bb + f1(cc,dd,ee) + X[13], 6) + aa; dd = RL(dd, 10); aa = RL(aa + f1(bb,cc,dd) + X[14], 5) + ee; cc = RL(cc, 10); ee = RL(ee + f1(aa,bb,cc) + X[ 0], 15) + dd; bb = RL(bb, 10); dd = RL(dd + f1(ee,aa,bb) + X[ 3], 13) + cc; aa = RL(aa, 10); cc = RL(cc + f1(dd,ee,aa) + X[ 9], 11) + bb; ee = RL(ee, 10); bb = RL(bb + f1(cc,dd,ee) + X[11], 11) + aa; dd = RL(dd, 10); // do (e, ee) swap as part of assignment. H0 += a; H1 += b; H2 += c; H3 += d; H4 += ee; H5 += aa; H6 += bb; H7 += cc; H8 += dd; H9 += e; // reset the offset and clean out the word buffer. xOff = 0; for (int i = 0; i != X.length; i++) { X[i] = 0; } } }
# Include the 'gfx-config' file to get all the correct build settings include ../gfx-config SRCS = t-vec.cxx t-img.cxx t-gui.cxx t-glimg.cxx t-script.cxx t-glext.cxx ALL = $(SRCS:.cxx=) all: $(ALL) t-vec: t-vec.cxx $(CXX) -o $@ $^ $(CXXFLAGS) $(LDFLAGS) -lgfx -lm t-script: t-script.cxx $(CXX) -o $@ $^ $(CXXFLAGS) $(LDFLAGS) -lgfx -lm t-img: t-img.cxx $(CXX) -o $@ $^ $(CXXFLAGS) $(LDFLAGS) -lgfx $(IMG_LIBS) -lm # GUI programs should make the appropriate post-build call to # $(FLTKCONFIG). On most platforms, this does nothing, but under # Mac OS X, it is essential to make GUI programs launch correctly. t-gui: t-gui.cxx $(CXX) -o $@ $^ $(CXXFLAGS) $(LDFLAGS) -lgfx $(GUI_LIBS) -lm $(FLTKCONFIG) --post $@ t-glext: t-glext.cxx $(CXX) -o $@ $^ $(CXXFLAGS) $(LDFLAGS) -lgfx $(GUI_LIBS) -lm $(FLTKCONFIG) --post $@ t-glimg: t-glimg.cxx $(CXX) -o $@ $^ $(CXXFLAGS) $(LDFLAGS) -lgfx $(GUI_LIBS) -lm $(FLTKCONFIG) --post $@ # This is just a standard mechanism to correctly track the dependencies # of the source files. depend: $(CXX_DEPEND) $(SRCS) > Makefile.dep -include Makefile.dep
#ifndef __TAPI_NETTEXT_H__ #define __TAPI_NETTEXT_H__ #if defined(DEVICE_JET) #include "device/jet/tapi_nettext.h" #elif defined(DEVICE_WAVE) #include "device/wave/tapi_nettext.h" #endif /** * All the TAPI Nettext (sms) context structures generic to all Mocha devices will be defined here */ typedef struct { uint32_t ext_cb; uint32_t ext_cb_enable; uint32_t <API key>; uint32_t <API key>; uint32_t <API key>; uint16_t cb_info[40]; } __attribute__((__packed__)) <API key>; typedef struct { uint8_t msgType; uint8_t bearer; uint8_t unknown0[2]; /* Here starts 0x8C bytes block memcopied from bada internal struct from offset 0x10 */ /* Info about sending number */ uint8_t msgRef; uint8_t NPI_FromNumber; /* Numbering Plan Identification */ uint8_t TON_FromNumber; /* Type Of Number */ uint8_t lengthFromNumber; /* Length of Number */ char szFromNumber[21]; /* Info about receiving number */ uint8_t NPI_ToNumber; /* Numbering Plan Identification */ uint8_t TON_ToNumber; /* Type Of Number */ uint8_t lengthToNumber; /* Length of Number */ char szToNumber [24]; uint32_t scTime; /* <API key> (TP-SCTS) */ uint8_t priority; uint8_t NPI_SMSC; /* Numbering Plan Identification */ uint8_t TON_SMSC; /* Type Of Number */ uint8_t lengthSMSC; /* Length of Number */ char SMSC [24]; uint32_t bReject; uint32_t replyPath; /* TP-Reply-Path (TP-RP) */ uint32_t bUDHI; /*<API key> (TP-UDHI) */ uint32_t bSRR; /* <API key> (TP-SRR)*/ uint32_t unknown3; uint32_t dischargeTime; /* used only in SMS-STATUS-REPORT PDU */ uint32_t statusReport; uint8_t validityType; /*<API key> (TP-VPF) */ uint8_t <API key>; uint8_t unknown4[2]; /* Padding probably */ uint32_t validityValue; /* TP-Validy-Period TP-VP) */ uint32_t bMsgClassSet; uint32_t bFlash; uint32_t bMsgIndActive; uint8_t codingGroupType; uint8_t waitingType; uint8_t alphabetType; /* <API key> (TP-DCS) */ uint8_t classType; uint32_t time_zone; /* part of TP-SCTS */ /* end of 0x8C memcpied block */ uint32_t hNetTextInfo; /* Value from nettextinfo offset 0x4 */ uint8_t nUDH; uint8_t messageLength; uint8_t messageBody[160]; } __attribute__((__packed__)) tapiNettextInfo; typedef struct { uint32_t unknown1; uint32_t status; } __attribute__((__packed__)) tapiNettextCallBack; void tapi_nettext_parser(uint16_t tapiNettextType, uint32_t tapiNettextLength, uint8_t *tapiNettextData); void tapi_nettext_send(uint8_t* <API key>); void <API key>(uint32_t bMemAvail); void <API key>(uint8_t preferredMemory); void <API key>(uint32_t bNetBurstEnabled); void <API key>(<API key>* cb_sett_buf); #endif
#ifndef <API key> #define <API key> // mapnik #include <mapnik/box2d.hpp> // boost #include <boost/ptr_container/ptr_vector.hpp> #include <boost/noncopyable.hpp> // stl #include <vector> #include <cstring> namespace mapnik { template <typename T> class quad_tree : boost::noncopyable { struct node { typedef T value_t; typedef std::vector<T> cont_t; typedef typename cont_t::iterator iterator; typedef typename cont_t::const_iterator const_iterator; box2d<double> extent_; cont_t cont_; node * children_[4]; explicit node(box2d<double> const& ext) : extent_(ext) { std::memset(children_,0,4*sizeof(node*)); } box2d<double> const& extent() const { return extent_; } iterator begin() { return cont_.begin(); } const_iterator begin() const { return cont_.begin(); } iterator end() { return cont_.end(); } const_iterator end() const { return cont_.end(); } ~node () {} }; typedef boost::ptr_vector<node> nodes_t; typedef typename node::cont_t cont_t; typedef typename cont_t::iterator node_data_iterator; public: typedef typename nodes_t::iterator iterator; typedef typename nodes_t::const_iterator const_iterator; typedef typename boost::ptr_vector<T,boost::<API key>> result_t; typedef typename result_t::iterator query_iterator; explicit quad_tree(box2d<double> const& ext, unsigned int max_depth = 8, double ratio = 0.55) : max_depth_(max_depth), ratio_(ratio), query_result_(), nodes_() { nodes_.push_back(new node(ext)); root_ = &nodes_[0]; } void insert(T data, box2d<double> const& box) { unsigned int depth=0; do_insert_data(data,box,root_,depth); } query_iterator query_in_box(box2d<double> const& box) { query_result_.clear(); query_node(box,query_result_,root_); return query_result_.begin(); } query_iterator query_end() { return query_result_.end(); } const_iterator begin() const { return nodes_.begin(); } const_iterator end() const { return nodes_.end(); } void clear () { box2d<double> ext = root_->extent_; nodes_.clear(); nodes_.push_back(new node(ext)); root_ = &nodes_[0]; } box2d<double> const& extent() const { return root_->extent_; } private: void query_node(box2d<double> const& box, result_t & result, node * node_) const { if (node_) { box2d<double> const& node_extent = node_->extent(); if (box.intersects(node_extent)) { node_data_iterator i=node_->begin(); node_data_iterator end=node_->end(); while ( i!=end) { result.push_back(&(*i)); ++i; } for (int k = 0; k < 4; ++k) { query_node(box,result,node_->children_[k]); } } } } void do_insert_data(T data, box2d<double> const& box, node * n, unsigned int& depth) { if (++depth >= max_depth_) { n->cont_.push_back(data); } else { box2d<double> const& node_extent = n->extent(); box2d<double> ext[4]; split_box(node_extent,ext); for (int i=0;i<4;++i) { if (ext[i].contains(box)) { if (!n->children_[i]) { nodes_.push_back(new node(ext[i])); n->children_[i]=&nodes_.back(); } do_insert_data(data,box,n->children_[i],depth); return; } } n->cont_.push_back(data); } } void split_box(box2d<double> const& node_extent,box2d<double> * ext) { //coord2d c=node_extent.center(); double width=node_extent.width(); double height=node_extent.height(); double lox=node_extent.minx(); double loy=node_extent.miny(); double hix=node_extent.maxx(); double hiy=node_extent.maxy(); ext[0]=box2d<double>(lox,loy,lox + width * ratio_,loy + height * ratio_); ext[1]=box2d<double>(hix - width * ratio_,loy,hix,loy + height * ratio_); ext[2]=box2d<double>(lox,hiy - height*ratio_,lox + width * ratio_,hiy); ext[3]=box2d<double>(hix - width * ratio_,hiy - height*ratio_,hix,hiy); } const unsigned int max_depth_; const double ratio_; result_t query_result_; nodes_t nodes_; node * root_; }; } #endif // <API key>
// This file was generated by the Gtk# code generator. // Any changes made will be lost if regenerated. namespace Gst { using System; using System.Runtime.InteropServices; #region Autogenerated code [GLib.GType (typeof (Gst.<API key>))] public enum TypeFindProbability { None = 0, Minimum = 1, Possible = 50, Likely = 80, NearlyCertain = 99, Maximum = 100, } internal class <API key> { [DllImport ("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr <API key> (); public static GLib.GType GType { get { return new GLib.GType (<API key> ()); } } } #endregion }
#include "qbuiltintypes_p.h" #include "qitem_p.h" #include "qvalidationerror_p.h" #include "qinteger_p.h" QT_BEGIN_NAMESPACE using namespace QPatternist; Item Integer::fromValue(const xsInteger num) { return toItem(Integer::Ptr(new Integer(num))); } AtomicValue::Ptr Integer::fromLexical(const QString &strNumeric) { bool conversionOk = false; const xsInteger num = strNumeric.toLongLong(&conversionOk); if(conversionOk) return AtomicValue::Ptr(new Integer(num)); else return ValidationError::createError(); } Integer::Integer(const xsInteger num) : m_value(num) { } bool Integer::evaluateEBV(const <API key><DynamicContext> &) const { return m_value != 0; } QString Integer::stringValue() const { return QString::number(m_value); } ItemType::Ptr Integer::type() const { return BuiltinTypes::xsInteger; } xsDouble Integer::toDouble() const { return static_cast<xsDouble>(m_value); } xsInteger Integer::toInteger() const { return m_value; } xsFloat Integer::toFloat() const { return static_cast<xsFloat>(m_value); } xsDecimal Integer::toDecimal() const { return static_cast<xsDecimal>(m_value); } Numeric::Ptr Integer::round() const { /* xs:integerS never has a mantissa. */ return Numeric::Ptr(const_cast<Integer *>(this)); } Numeric::Ptr Integer::roundHalfToEven(const xsInteger /*scale*/) const { return Numeric::Ptr(const_cast<Integer *>(this)); } Numeric::Ptr Integer::floor() const { return Numeric::Ptr(const_cast<Integer *>(this)); } Numeric::Ptr Integer::ceiling() const { return Numeric::Ptr(const_cast<Integer *>(this)); } Numeric::Ptr Integer::abs() const { /* No reason to allocate an Integer if we're already absolute. */ if(m_value < 0) return Numeric::Ptr(new Integer(qAbs(m_value))); else return Numeric::Ptr(const_cast<Integer *>(this)); } bool Integer::isNaN() const { return false; } bool Integer::isInf() const { return false; } Item Integer::toNegated() const { return fromValue(-m_value); } bool Integer::isSigned() const { return true; } qulonglong Integer::toUnsignedInteger() const { Q_ASSERT_X(false, Q_FUNC_INFO, "It makes no sense to call this function, see Numeric::toUnsignedInteger()."); return 0; } QT_END_NAMESPACE
/** * @{ * * @file * @author Martine Lenders <mlenders@inf.fu-berlin.de> */ #include <stddef.h> #include "od.h" #include "net/l2filter.h" #include "net/gnrc.h" #include "net/ieee802154.h" #include "net/gnrc/netdev/ieee802154.h" #define ENABLE_DEBUG (0) #include "debug.h" static gnrc_pktsnip_t *_recv(gnrc_netdev_t *gnrc_netdev); static int _send(gnrc_netdev_t *gnrc_netdev, gnrc_pktsnip_t *pkt); #if MODULE_GNRC_LASMAC static int _send_dataReq(gnrc_netdev_t *gnrc_netdev); #endif int <API key>(gnrc_netdev_t *gnrc_netdev, netdev_ieee802154_t *dev) { gnrc_netdev->send = _send; #if MODULE_GNRC_LASMAC gnrc_netdev->send_dataReq = _send_dataReq; #endif gnrc_netdev->recv = _recv; gnrc_netdev->dev = (netdev_t *)dev; return 0; } static gnrc_pktsnip_t *_make_netif_hdr(uint8_t *mhr) { gnrc_pktsnip_t *snip; uint8_t src[<API key>], dst[<API key>]; int src_len, dst_len; le_uint16_t _pan_tmp; /* TODO: hand-up PAN IDs to GNRC? */ dst_len = ieee802154_get_dst(mhr, dst, &_pan_tmp); src_len = ieee802154_get_src(mhr, src, &_pan_tmp); if ((dst_len < 0) || (src_len < 0)) { DEBUG("_make_netif_hdr: unable to get addresses\n"); return NULL; } /* allocate space for header */ snip = <API key>(src, (size_t)src_len, dst, (size_t)dst_len); if (snip == NULL) { DEBUG("_make_netif_hdr: no space left in packet buffer\n"); return NULL; } /* set broadcast flag for broadcast destination */ if ((dst_len == 2) && (dst[0] == 0xff) && (dst[1] == 0xff)) { gnrc_netif_hdr_t *hdr = snip->data; hdr->flags |= <API key>; } return snip; } static gnrc_pktsnip_t *_recv(gnrc_netdev_t *gnrc_netdev) { netdev_t *netdev = gnrc_netdev->dev; <API key> rx_info; netdev_ieee802154_t *state = (netdev_ieee802154_t *)gnrc_netdev->dev; gnrc_pktsnip_t *pkt = NULL; int bytes_expected = netdev->driver->recv(netdev, NULL, 0, NULL); if (bytes_expected > 0) { int nread; pkt = gnrc_pktbuf_add(NULL, NULL, bytes_expected, GNRC_NETTYPE_UNDEF); if (pkt == NULL) { DEBUG("_recv_ieee802154: cannot allocate pktsnip.\n"); return NULL; } nread = netdev->driver->recv(netdev, pkt->data, bytes_expected, &rx_info); if (nread <= 0) { gnrc_pktbuf_release(pkt); return NULL; } if (!(state->flags & <API key>)) { gnrc_pktsnip_t *ieee802154_hdr, *netif_hdr; gnrc_netif_hdr_t *hdr; #if ENABLE_DEBUG char src_str[<API key>]; #endif size_t mhr_len = <API key>(pkt->data); if (mhr_len == 0) { DEBUG("_recv_ieee802154: illegally formatted frame received\n"); gnrc_pktbuf_release(pkt); return NULL; } nread -= mhr_len; /* mark IEEE 802.15.4 header */ ieee802154_hdr = gnrc_pktbuf_mark(pkt, mhr_len, GNRC_NETTYPE_UNDEF); if (ieee802154_hdr == NULL) { DEBUG("_recv_ieee802154: no space left in packet buffer\n"); gnrc_pktbuf_release(pkt); return NULL; } netif_hdr = _make_netif_hdr(ieee802154_hdr->data); if (netif_hdr == NULL) { DEBUG("_recv_ieee802154: no space left in packet buffer\n"); gnrc_pktbuf_release(pkt); return NULL; } hdr = netif_hdr->data; #ifdef MODULE_L2FILTER if (!l2filter_pass(netdev->filter, <API key>(hdr), hdr->src_l2addr_len)) { gnrc_pktbuf_release(pkt); gnrc_pktbuf_release(netif_hdr); DEBUG("_recv_ieee802154: packet dropped by l2filter\n"); return NULL; } #endif hdr->lqi = rx_info.lqi; hdr->rssi = rx_info.rssi; hdr->if_pid = thread_getpid(); pkt->type = state->proto; #if ENABLE_DEBUG DEBUG("_recv_ieee802154: received packet from %s of length %u\n", <API key>(src_str, sizeof(src_str), <API key>(hdr), hdr->src_l2addr_len), nread); #if defined(MODULE_OD) od_hex_dump(pkt->data, nread, OD_WIDTH_DEFAULT); #endif #endif <API key>(pkt, ieee802154_hdr); LL_APPEND(pkt, netif_hdr); } DEBUG("_recv_ieee802154: reallocating.\n"); <API key>(pkt, nread); } return pkt; } static int _send(gnrc_netdev_t *gnrc_netdev, gnrc_pktsnip_t *pkt) { netdev_t *netdev = gnrc_netdev->dev; netdev_ieee802154_t *state = (netdev_ieee802154_t *)gnrc_netdev->dev; gnrc_netif_hdr_t *netif_hdr; gnrc_pktsnip_t *vec_snip; const uint8_t *src, *dst = NULL; int res = 0; size_t n, src_len, dst_len; uint8_t mhr[<API key>]; uint8_t flags = (uint8_t)(state->flags & <API key>); le_uint16_t dev_pan = byteorder_btols(byteorder_htons(state->pan)); flags |= <API key>; if (pkt == NULL) { DEBUG("_send_ieee802154: pkt was NULL\n"); return -EINVAL; } if (pkt->type != GNRC_NETTYPE_NETIF) { DEBUG("_send_ieee802154: first header is not generic netif header\n"); return -EBADMSG; } netif_hdr = pkt->data; /* prepare destination address */ if (netif_hdr->flags & /* If any of these flags is set so this is correct */ (<API key> | <API key>)) { dst = <API key>; dst_len = <API key>; } else { dst = <API key>(netif_hdr); dst_len = netif_hdr->dst_l2addr_len; } src_len = netif_hdr->src_l2addr_len; if (src_len > 0) { src = <API key>(netif_hdr); } else if (state->flags & <API key>) { src_len = <API key>; src = state->long_addr; } else { src_len = <API key>; src = state->short_addr; } /* fill MAC header, seq should be set by device */ if ((res = <API key>(mhr, src, src_len, dst, dst_len, dev_pan, dev_pan, flags, state->seq++)) == 0) { DEBUG("_send_ieee802154: Error preperaring frame\n"); return -EINVAL; } /* prepare packet for sending */ vec_snip = <API key>(pkt, &n); if (vec_snip != NULL) { struct iovec *vector; pkt = vec_snip; /* reassign for later release; vec_snip is prepended to pkt */ vector = (struct iovec *)pkt->data; vector[0].iov_base = mhr; vector[0].iov_len = (size_t)res; #ifdef MODULE_NETSTATS_L2 if (netif_hdr->flags & (<API key> | <API key>)) { gnrc_netdev->dev->stats.tx_mcast_count++; } else { gnrc_netdev->dev->stats.tx_unicast_count++; } #endif #ifdef MODULE_GNRC_MAC if (gnrc_netdev->mac_info & <API key>) { res = <API key>(netdev, vector, n, &gnrc_netdev->csma_conf); } else { res = netdev->driver->send(netdev, vector, n); } #else res = netdev->driver->send(netdev, vector, n); #endif } else { return -ENOBUFS; } /* release old data */ gnrc_pktbuf_release(pkt); return res; } #ifdef MODULE_GNRC_LASMAC static int _send_dataReq(gnrc_netdev_t *gnrc_netdev) { netdev_t *netdev = gnrc_netdev->dev; netdev_ieee802154_t *state = (netdev_ieee802154_t *)gnrc_netdev->dev; struct iovec vector; const uint8_t *src, *dst = NULL; int res = 0; size_t src_len, dst_len; uint8_t mhr[<API key>+1]; uint8_t command_id = 4; /* Data request commnad ID */ uint8_t flags = (uint8_t)(state->flags & <API key>); le_uint16_t dev_pan = byteorder_btols(byteorder_htons(state->pan)); flags |= (<API key> | <API key>); src_len = <API key>; src = state->short_addr; /* ToDo: Current version does not use a neighbor discovery protocol, which cannot support unicast. We can manually set a destination (router's address) here */ dst_len = <API key>; int16_t ddd = 0x166d;; dst = (uint8_t*)&ddd; /* fill MAC header, seq should be set by device */ if ((res = <API key>(mhr, src, src_len, dst, dst_len, dev_pan, dev_pan, flags, state->seq++)) == 0) { DEBUG("_send_ieee802154: Error preperaring frame\n"); return -EINVAL; } mhr[res++] = command_id; /* MAC command ID: Data Request */ DEBUG("[Tx DataReq] %u/%2x%2x->%u/%2x%2x, flag %2x, seq %u\n", src_len, src[0],src[1], dst_len, dst[0],dst[1], flags, state->seq-1); /* prepare packet for sending */ vector.iov_base = mhr; vector.iov_len = (size_t)res; res = netdev->driver->send(netdev, &vector, 1); return res; } #endif
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.11"/> <title>CoreGTK: CGTKSpinButton Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { init_search(); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">CoreGTK &#160;<span id="projectnumber">3.18.0</span> </div> <div id="projectbrief">CoreGTK is an Objective-C language binding for the GTK+ widget toolkit</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.11 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class&#160;List</span></a></li> <li><a href="classes.html"><span>Class&#160;Index</span></a></li> <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li> <li><a href="functions.html"><span>Class&#160;Members</span></a></li> </ul> </div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('<API key>.html','');}); </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="<API key>"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Instance Methods</a> &#124; <a href="<API key>.html">List of all members</a> </div> <div class="headertitle"> <div class="title">CGTKSpinButton Class Reference</div> </div> </div><!--header <div class="contents"> <div class="dynheader"> Inheritance diagram for CGTKSpinButton:</div> <div class="dyncontent"> <div class="center"><img src="<API key>.png" border="0" usemap="#<API key>" alt="Inheritance graph"/></div> <map name="<API key>" id="<API key>"> <area shape="rect" id="node2" href="<API key>.html" title="CGTKEntry" alt="" coords="21,229,112,256"/> <area shape="rect" id="node3" href="<API key>.html" title="CGTKWidget" alt="" coords="17,155,117,181"/> <area shape="rect" id="node4" href="<API key>.html" title="CGTKBase" alt="" coords="22,80,111,107"/> </map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for CGTKSpinButton:</div> <div class="dyncontent"> <div class="center"><img src="<API key>.png" border="0" usemap="#<API key>" alt="Collaboration graph"/></div> <map name="<API key>" id="<API key>"> <area shape="rect" id="node2" href="<API key>.html" title="CGTKEntry" alt="" coords="21,229,112,256"/> <area shape="rect" id="node3" href="<API key>.html" title="CGTKWidget" alt="" coords="17,155,117,181"/> <area shape="rect" id="node4" href="<API key>.html" title="CGTKBase" alt="" coords="22,80,111,107"/> </map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Instance Methods</h2></td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(id)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">initWithAdjustment:andClimbRate:andDigits:</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="<API key>"></a> (id)&#160;</td><td class="memItemRight" valign="bottom">- <b><API key>:andMax:andStep:</b></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(GtkSpinButton *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">SPINBUTTON</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andClimbRate:andDigits:</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(GtkAdjustment *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getAdjustment</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(guint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getDigits</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andPage:</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getNumeric</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getRangeWithMin:andMax:</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getSnapToTicks</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(<API key>)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getUpdatePolicy</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(gdouble)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getValue</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getValueAsInt</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getWrap</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setAdjustment:</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setDigits:</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andPage:</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setNumeric:</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setRangeWithMin:andMax:</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setSnapToTicks:</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setUpdatePolicy:</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setValue:</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setWrap:</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">spinWithDirection:andIncrement:</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">update</a></td></tr> <tr class="separator:<API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="inherit_header <API key>"><td colspan="2" onclick="javascript:toggleInherit('<API key>')"><img src="closed.png" alt="-"/>&#160;Instance Methods inherited from <a class="el" href="<API key>.html">CGTKEntry</a></td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(id)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">init</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="<API key>"></a> (id)&#160;</td><td class="memItemRight" valign="bottom">- <b>initWithBuffer:</b></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkEntry *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">ENTRY</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getActivatesDefault</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gfloat)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getAlignment</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(PangoAttrList *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getAttributes</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkEntryBuffer *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getBuffer</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkEntryCompletion *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getCompletion</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkAdjustment *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getHasFrame</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getIconActivatable:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andIconArea:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getIconAtPosWithX:andY:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GIcon *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getIconGicon:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getIconName:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkPixbuf *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getIconPixbuf:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getIconSensitive:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getIconStock:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkImageType)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getIconStorageType:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getIconTooltipText:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(const GtkBorder *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getInnerBorder</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkInputHints)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getInputHints</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkInputPurpose)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getInputPurpose</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gunichar)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getInvisibleChar</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(PangoLayout *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getLayout</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andY:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getMaxLength</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getMaxWidthChars</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getOverwriteMode</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getPlaceholderText</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gdouble)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getProgressFraction</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gdouble)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(PangoTabArray *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getTabs</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getText</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getTextArea:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(guint16)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getTextLength</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getVisibility</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getWidthChars</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">progressPulse</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">resetImContext</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setActivatesDefault:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setAlignment:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setAttributes:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setBuffer:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setCompletion:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setHasFrame:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andActivatable:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andTargetList:andActions:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andIcon:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andIconName:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andPixbuf:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andStockId:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andSensitive:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andTooltip:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andTooltip:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setInnerBorder:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setInputHints:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setInputPurpose:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setInvisibleChar:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setMaxLength:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setMaxWidthChars:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setOverwriteMode:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setPlaceholderText:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setProgressFraction:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setTabs:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setText:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setVisibility:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setWidthChars:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">unsetInvisibleChar</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="inherit_header <API key>"><td colspan="2" onclick="javascript:toggleInherit('<API key>')"><img src="closed.png" alt="-"/>&#160;Instance Methods inherited from <a class="el" href="<API key>.html">CGTKWidget</a></td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkWidget *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">WIDGET</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">activate</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andAccelGroup:andAccelKey:andAccelMods:andAccelFlags:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andEvents:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">addEvents:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">addMnemonicLabel:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(guint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andUserData:andNotify:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">canActivateAccel:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">childFocus:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">childNotify:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andPath:andPathReversed:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">computeExpand:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(PangoContext *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">createPangoContext</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(PangoLayout *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">createPangoLayout:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">destroy</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">destroyed:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">deviceIsShadowed:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkDragContext *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andActions:andButton:andEvent:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkDragContext *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andActions:andButton:andEvent:andX:andY:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andStartY:andCurrentX:andCurrentY:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkAtom)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andTargetList:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkTargetList *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andTargets:andNtargets:andActions:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andProtocol:andUseCoordinates:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">gtkDragDestUnset</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andTarget:andTime:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">gtkDragHighlight</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkTargetList *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andTargets:andNtargets:andActions:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">gtkDragSourceUnset</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">gtkDragUnhighlight</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">draw:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">ensureStyle</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">errorBell</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">event:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">freezeChildNotify</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(AtkObject *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getAccessible</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GActionGroup *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getActionGroup:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(int)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(int)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getAllocatedHeight</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(int)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getAllocatedWidth</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getAllocation:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(<a class="el" href="<API key>.html">CGTKWidget</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getAncestor:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getAppPaintable</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getCanDefault</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getCanFocus</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getChildRequisition:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getChildVisible</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getClip:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkClipboard *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getClipboard:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getCompositeName</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getDeviceEnabled:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkEventMask)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getDeviceEvents:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkTextDirection)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getDirection</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkDisplay *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getDisplay</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getDoubleBuffered</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getEvents</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(PangoFontMap *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getFontMap</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(const <API key> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getFontOptions</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkFrameClock *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getFrameClock</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkAlign)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getHalign</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getHasTooltip</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getHasWindow</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getHexpand</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getHexpandSet</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getMapped</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getMarginBottom</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getMarginEnd</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getMarginLeft</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getMarginRight</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getMarginStart</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getMarginTop</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkModifierType)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getModifierMask:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkRcStyle *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getModifierStyle</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getName</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getNoShowAll</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(double)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getOpacity</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(PangoContext *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getPangoContext</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(<a class="el" href="<API key>.html">CGTKWidget</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getParent</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkWindow *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getParentWindow</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkWidgetPath *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getPath</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getPointerWithX:andY:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andNaturalHeight:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andMinimumHeight:andNaturalHeight:andMinimumBaseline:andNaturalBaseline:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andMinimumHeight:andNaturalHeight:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andNaturalSize:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andNaturalWidth:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andMinimumWidth:andNaturalWidth:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getRealized</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getReceivesDefault</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkSizeRequestMode)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getRequestMode</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getRequisition:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkWindow *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getRootWindow</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getScaleFactor</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkScreen *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getScreen</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getSensitive</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkSettings *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getSettings</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andHeight:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkStateType)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getState</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkStateFlags)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getStateFlags</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkStyle *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getStyle</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkStyleContext *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getStyleContext</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GObject *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andName:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getTooltipMarkup</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getTooltipText</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkWindow *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getTooltipWindow</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(<a class="el" href="<API key>.html">CGTKWidget</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getToplevel</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkAlign)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getValign</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkAlign)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key></a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getVexpand</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getVexpandSet</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getVisible</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkVisual *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getVisual</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkWindow *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">getWindow</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">gtkGrabAdd</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">grabDefault</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">grabFocus</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">gtkGrabRemove</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">hasDefault</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">hasFocus</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">hasGrab</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">hasRcStyle</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">hasScreen</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">hasVisibleFocus</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">hide</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">hideOnDelete</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">inDestruction</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">initTemplate</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andGroup:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">intersectWithArea:andIntersection:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">isAncestor:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">isComposited</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">isDrawable</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">isFocus</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">isSensitive</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">isToplevel</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">isVisible</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">keynavFailed:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GList *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">listAccelClosures</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(const gchar **)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">listActionPrefixes</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GList *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">listMnemonicLabels</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">map</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">mnemonicActivate:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">modifyBaseWithState:andColor:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">modifyBgWithState:andColor:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andSecondary:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">modifyFgWithState:andColor:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">modifyFont:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">modifyStyle:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">modifyTextWithState:andColor:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andColor:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andColor:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andSecondaryCursor:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">overrideFont:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andColor:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">pathWithPathLength:andPath:andPathReversed:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">queueComputeExpand</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">queueDraw</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">queueDrawAreaWithX:andY:andWidth:andHeight:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">queueDrawRegion:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">queueResize</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">queueResizeNoRedraw</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">realize</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(cairo_region_t *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">regionIntersect:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">registerWindow:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andAccelKey:andAccelMods:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">removeMnemonicLabel:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">removeTickCallback:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkPixbuf *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andSize:andDetail:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GdkPixbuf *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andSize:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">reparent:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">resetRcStyles</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">resetStyle</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(gint)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">sendExpose:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">sendFocusChange:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andAccelGroup:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setAllocation:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setAppPaintable:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setCanDefault:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setCanFocus:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setChildVisible:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setClip:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setCompositeName:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andEnabled:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andEvents:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setDirection:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setDoubleBuffered:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setEvents:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setFontMap:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setFontOptions:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setHalign:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setHasTooltip:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setHasWindow:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setHexpand:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setHexpandSet:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setMapped:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setMarginBottom:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setMarginEnd:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setMarginLeft:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setMarginRight:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setMarginStart:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setMarginTop:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setName:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setNoShowAll:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setOpacity:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setParent:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setParentWindow:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setRealized:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setReceivesDefault:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setRedrawOnAllocate:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setSensitive:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andHeight:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setState:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andClear:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setStyle:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setTooltipMarkup:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setTooltipText:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setTooltipWindow:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setValign:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setVexpand:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setVexpandSet:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setVisible:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setVisual:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setWindow:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">shapeCombineRegion:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">show</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">showAll</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">showNow</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">sizeAllocate:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andBaseline:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">sizeRequest:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">styleAttach</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andValue:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andVarArgs:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">thawChildNotify</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>"><API key>:andSrcX:andSrcY:andDestX:andDestY:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">triggerTooltipQuery</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">unmap</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">unparent</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">unrealize</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">unregisterWindow:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">unsetStateFlags:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="inherit_header <API key>"><td colspan="2" onclick="javascript:toggleInherit('<API key>')"><img src="closed.png" alt="-"/>&#160;Instance Methods inherited from <a class="el" href="<API key>.html">CGTKBase</a></td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(id)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">initWithGObject:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">setGObject:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GObject *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="<API key>.html#<API key>">GOBJECT</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header <API key>"><td colspan="2" onclick="javascript:toggleInherit('<API key>')"><img src="closed.png" alt="-"/>&#160;Class Methods inherited from <a class="el" href="<API key>.html">CGTKWidget</a></td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(GtkTextDirection)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="<API key>.html#<API key>">getDefaultDirection</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="<API key>"></a> (GtkStyle *)&#160;</td><td class="memItemRight" valign="bottom">+ <b>getDefaultStyle</b></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="<API key>"></a> (void)&#160;</td><td class="memItemRight" valign="bottom">+ <b>popCompositeChild</b></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="<API key>"></a> (void)&#160;</td><td class="memItemRight" valign="bottom">+ <b>pushCompositeChild</b></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="<API key>"></a> (void)&#160;</td><td class="memItemRight" valign="bottom">+ <b>setDefaultDirection:</b></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="inherit_header <API key>"><td colspan="2" onclick="javascript:toggleInherit('<API key>')"><img src="closed.png" alt="-"/>&#160;Class Methods inherited from <a class="el" href="<API key>.html">CGTKBase</a></td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">(<a class="el" href="<API key>.html">CGTKBase</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="<API key>.html#<API key>">withGObject:</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="inherit_header <API key>"><td colspan="2" onclick="javascript:toggleInherit('<API key>')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="<API key>.html">CGTKBase</a></td></tr> <tr class="memitem:<API key> inherit <API key>"><td class="memItemLeft" align="right" valign="top">GObject *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="<API key>.html#<API key>">__gObject</a></td></tr> <tr class="separator:<API key> inherit <API key>"><td class="memSeparator" colspan="2">&#160;</td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"> <p>Definition at line <a class="el" href="<API key>.html#l00034">34</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.h</a>.</p> </div><h2 class="groupheader">Method Documentation</h2> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) <API key>: </td> <td></td> <td class="paramtype">(GtkAdjustment*)&#160;</td> <td class="paramname"><em>adjustment</em></td> </tr> <tr> <td class="paramkey">andClimbRate:</td> <td></td> <td class="paramtype">(gdouble)&#160;</td> <td class="paramname"><em>climbRate</em></td> </tr> <tr> <td class="paramkey">andDigits:</td> <td></td> <td class="paramtype">(guint)&#160;</td> <td class="paramname"><em>digits</em>&#160;</td> </tr> <tr> <td></td> <td></td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>-(void*)<API key>:(GtkAdjustment*) adjustment andClimbRate:(gdouble) climbRate andDigits:(guint) digits;</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">adjustment</td><td></td></tr> <tr><td class="paramname">climbRate</td><td></td></tr> <tr><td class="paramname">digits</td><td></td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="<API key>.html#l00065">65</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (GtkAdjustment *) getAdjustment </td> <td></td> <td class="paramname"></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(GtkAdjustment**)getAdjustment;</p> <dl class="section return"><dt>Returns</dt><dd>GtkAdjustment* </dd></dl> <p>Definition at line <a class="el" href="<API key>.html#l00070">70</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (guint) getDigits </td> <td></td> <td class="paramname"></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(guint*)getDigits;</p> <dl class="section return"><dt>Returns</dt><dd>guint </dd></dl> <p>Definition at line <a class="el" href="<API key>.html#l00075">75</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) <API key>: </td> <td></td> <td class="paramtype">(gdouble*)&#160;</td> <td class="paramname"><em>step</em></td> </tr> <tr> <td class="paramkey">andPage:</td> <td></td> <td class="paramtype">(gdouble*)&#160;</td> <td class="paramname"><em>page</em>&#160;</td> </tr> <tr> <td></td> <td></td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>-(void*)<API key>:(gdouble*) step andPage:(gdouble*) page;</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">step</td><td></td></tr> <tr><td class="paramname">page</td><td></td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="<API key>.html#l00080">80</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (BOOL) getNumeric </td> <td></td> <td class="paramname"></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(BOOL*)getNumeric;</p> <dl class="section return"><dt>Returns</dt><dd>BOOL </dd></dl> <p>Definition at line <a class="el" href="<API key>.html#l00085">85</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) getRangeWithMin: </td> <td></td> <td class="paramtype">(gdouble*)&#160;</td> <td class="paramname"><em>min</em></td> </tr> <tr> <td class="paramkey">andMax:</td> <td></td> <td class="paramtype">(gdouble*)&#160;</td> <td class="paramname"><em>max</em>&#160;</td> </tr> <tr> <td></td> <td></td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>-(void*)getRangeWithMin:(gdouble*) min andMax:(gdouble*) max;</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">min</td><td></td></tr> <tr><td class="paramname">max</td><td></td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="<API key>.html#l00090">90</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (BOOL) getSnapToTicks </td> <td></td> <td class="paramname"></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(BOOL*)getSnapToTicks;</p> <dl class="section return"><dt>Returns</dt><dd>BOOL </dd></dl> <p>Definition at line <a class="el" href="<API key>.html#l00095">95</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (<API key>) getUpdatePolicy </td> <td></td> <td class="paramname"></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(<API key>*)getUpdatePolicy;</p> <dl class="section return"><dt>Returns</dt><dd><API key> </dd></dl> <p>Definition at line <a class="el" href="<API key>.html#l00100">100</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (gdouble) getValue </td> <td></td> <td class="paramname"></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(gdouble*)getValue;</p> <dl class="section return"><dt>Returns</dt><dd>gdouble </dd></dl> <p>Definition at line <a class="el" href="<API key>.html#l00105">105</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (gint) getValueAsInt </td> <td></td> <td class="paramname"></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(gint*)getValueAsInt;</p> <dl class="section return"><dt>Returns</dt><dd>gint </dd></dl> <p>Definition at line <a class="el" href="<API key>.html#l00110">110</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (BOOL) getWrap </td> <td></td> <td class="paramname"></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(BOOL*)getWrap;</p> <dl class="section return"><dt>Returns</dt><dd>BOOL </dd></dl> <p>Definition at line <a class="el" href="<API key>.html#l00115">115</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (id) initWithAdjustment: </td> <td></td> <td class="paramtype">(GtkAdjustment*)&#160;</td> <td class="paramname"><em>adjustment</em></td> </tr> <tr> <td class="paramkey">andClimbRate:</td> <td></td> <td class="paramtype">(gdouble)&#160;</td> <td class="paramname"><em>climbRate</em></td> </tr> <tr> <td class="paramkey">andDigits:</td> <td></td> <td class="paramtype">(guint)&#160;</td> <td class="paramname"><em>digits</em>&#160;</td> </tr> <tr> <td></td> <td></td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructors </p> <p>Definition at line <a class="el" href="<API key>.html#l00036">36</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) setAdjustment: </td> <td></td> <td class="paramtype">(GtkAdjustment*)&#160;</td> <td class="paramname"><em>adjustment</em></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(void*)<a class="el" href="<API key>.html#<API key>">setAdjustment:</a> adjustment;</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">adjustment</td><td></td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="<API key>.html#l00120">120</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) setDigits: </td> <td></td> <td class="paramtype">(guint)&#160;</td> <td class="paramname"><em>digits</em></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(void*)<a class="el" href="<API key>.html#<API key>">setDigits:</a> digits;</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">digits</td><td></td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="<API key>.html#l00125">125</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) <API key>: </td> <td></td> <td class="paramtype">(gdouble)&#160;</td> <td class="paramname"><em>step</em></td> </tr> <tr> <td class="paramkey">andPage:</td> <td></td> <td class="paramtype">(gdouble)&#160;</td> <td class="paramname"><em>page</em>&#160;</td> </tr> <tr> <td></td> <td></td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>-(void*)<API key>:(gdouble) step andPage:(gdouble) page;</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">step</td><td></td></tr> <tr><td class="paramname">page</td><td></td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="<API key>.html#l00130">130</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) setNumeric: </td> <td></td> <td class="paramtype">(BOOL)&#160;</td> <td class="paramname"><em>numeric</em></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(void*)<a class="el" href="<API key>.html#<API key>">setNumeric:</a> numeric;</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">numeric</td><td></td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="<API key>.html#l00135">135</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) setRangeWithMin: </td> <td></td> <td class="paramtype">(gdouble)&#160;</td> <td class="paramname"><em>min</em></td> </tr> <tr> <td class="paramkey">andMax:</td> <td></td> <td class="paramtype">(gdouble)&#160;</td> <td class="paramname"><em>max</em>&#160;</td> </tr> <tr> <td></td> <td></td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>-(void*)setRangeWithMin:(gdouble) min andMax:(gdouble) max;</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">min</td><td></td></tr> <tr><td class="paramname">max</td><td></td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="<API key>.html#l00140">140</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) setSnapToTicks: </td> <td></td> <td class="paramtype">(BOOL)&#160;</td> <td class="paramname"><em>snapToTicks</em></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(void*)<a class="el" href="<API key>.html#<API key>">setSnapToTicks:</a> snapToTicks;</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">snapToTicks</td><td></td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="<API key>.html#l00145">145</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) setUpdatePolicy: </td> <td></td> <td class="paramtype">(<API key>)&#160;</td> <td class="paramname"><em>policy</em></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(void*)<a class="el" href="<API key>.html#<API key>">setUpdatePolicy:</a> policy;</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">policy</td><td></td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="<API key>.html#l00150">150</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) setValue: </td> <td></td> <td class="paramtype">(gdouble)&#160;</td> <td class="paramname"><em>value</em></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(void*)<a class="el" href="<API key>.html#<API key>">setValue:</a> value;</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">value</td><td></td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="<API key>.html#l00155">155</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) setWrap: </td> <td></td> <td class="paramtype">(BOOL)&#160;</td> <td class="paramname"><em>wrap</em></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(void*)<a class="el" href="<API key>.html#<API key>">setWrap:</a> wrap;</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">wrap</td><td></td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="<API key>.html#l00160">160</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (GtkSpinButton *) SPINBUTTON </td> <td></td> <td class="paramname"></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Methods </p> <p>Definition at line <a class="el" href="<API key>.html#l00060">60</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) spinWithDirection: </td> <td></td> <td class="paramtype">(GtkSpinType)&#160;</td> <td class="paramname"><em>direction</em></td> </tr> <tr> <td class="paramkey">andIncrement:</td> <td></td> <td class="paramtype">(gdouble)&#160;</td> <td class="paramname"><em>increment</em>&#160;</td> </tr> <tr> <td></td> <td></td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>-(void*)spinWithDirection:(GtkSpinType) direction andIncrement:(gdouble) increment;</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">direction</td><td></td></tr> <tr><td class="paramname">increment</td><td></td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="<API key>.html#l00165">165</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <a class="anchor" id="<API key>"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) update </td> <td></td> <td class="paramname"></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>-(void*)update; </p> <p>Definition at line <a class="el" href="<API key>.html#l00170">170</a> of file <a class="el" href="<API key>.html">CGTKSpinButton.m</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="<API key>.html">CGTKSpinButton.h</a></li> <li><a class="el" href="<API key>.html">CGTKSpinButton.m</a></li> </ul> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="<API key>.html">CGTKSpinButton</a></li> <li class="footer">Generated on Mon Dec 12 2016 20:54:45 for CoreGTK by <a href="http: <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li> </ul> </div> </body> </html>
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>CQRS.NET: Member List</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ extensions: ["tex2jax.js"], jax: ["input/TeX","output/HTML-CSS"], }); </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectlogo"><img alt="Logo" src="<API key>.png"/></td> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">CQRS.NET &#160;<span id="projectnumber">2.0</span> </div> <div id="projectbrief">A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('<API key>.html','');}); </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="<API key>"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="headertitle"> <div class="title">Cqrs.EventStore.IEventBuilder&lt; <API key> &gt; Member List</div> </div> </div><!--header <div class="contents"> <p>This is the complete list of members for <a class="el" href="<API key>.html">Cqrs.EventStore.IEventBuilder&lt; <API key> &gt;</a>, including all inherited members.</p> <table class="directory"> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>"><API key></a>(string clientName)</td><td class="entry"><a class="el" href="<API key>.html">Cqrs.EventStore.IEventBuilder&lt; <API key> &gt;</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>"><API key></a>(string eventDataBody)</td><td class="entry"><a class="el" href="<API key>.html">Cqrs.EventStore.IEventBuilder&lt; <API key> &gt;</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>"><API key></a>(IEvent&lt; <API key> &gt; eventData)</td><td class="entry"><a class="el" href="<API key>.html">Cqrs.EventStore.IEventBuilder&lt; <API key> &gt;</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="<API key>.html#<API key>"><API key></a>(string type, IEvent&lt; <API key> &gt; eventData)</td><td class="entry"><a class="el" href="<API key>.html">Cqrs.EventStore.IEventBuilder&lt; <API key> &gt;</a></td><td class="entry"></td></tr> <tr class="even"><td class="entry"><a class="el" href="<API key>.html#<API key>"><API key></a>(string type, string eventDataBody)</td><td class="entry"><a class="el" href="<API key>.html">Cqrs.EventStore.IEventBuilder&lt; <API key> &gt;</a></td><td class="entry"></td></tr> </table></div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="footer">Generated by <a href="http: <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> </ul> </div> </body> </html>
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>Content-Centric Networking in Java: Member List</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main&nbsp;Page</span></a></li> <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li> <li><a href="namespaces.html"><span>Packages</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li> <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li> <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>org.ccnx.ccn.io.content.WrappingKeyName Member List</h1>This is the complete list of members for <a class="el" href="<API key>.html">org.ccnx.ccn.io.content.WrappingKeyName</a>, including all inherited members.<table> <tr bgcolor="#f0f0f0"><td><b>_components</b> (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [protected]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">append</a>(ContentName other)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">append</a>(String postfix)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>compareTo</b>(ContentName o) (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">component</a>(int i)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>"><API key></a>(String name)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">componentParseURI</a>(String name)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>"><API key></a>(byte[] bs)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">componentPrintURI</a>(byte[] bs, int offset, int length)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">componentPrintURI</a>(byte[] bs)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">components</a>()</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">componentStartsWith</a>(byte[] value)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>"><API key></a>(byte[] value)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">contains</a>(String str)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>contains</b>(byte[] component) (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>contains</b>(ComponentProvider cp) (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">containsWhere</a>(String str)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>containsWhere</b>(ComponentProvider cp) (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">containsWhere</a>(byte[] component)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">ContentName</a>()</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>ContentName</b>(ArrayList&lt; byte[]&gt; components) (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [protected]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">ContentName</a>(byte[] component)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">ContentName</a>(Object...args)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>ContentName</b>(ContentName parent, byte[] component) (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>ContentName</b>(ContentName parent, ContentNameProvider cnp) (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>ContentName</b>(ContentName parent, String component) (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>ContentName</b>(ContentName parent, ComponentProvider cprov) (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">ContentName</a>(byte components[][])</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">ContentName</a>(ContentName parent, byte[][] childComponents)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">ContentName</a>(ContentName parent, ArrayList&lt; byte[]&gt; childComponents)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">ContentName</a>(ContentName parent, int start, ArrayList&lt; byte[]&gt; childComponents)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">ContentName</a>(int count, byte components[][])</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">ContentName</a>(int count, ArrayList&lt; byte[]&gt;components)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">ContentName</a>(int start, int count, ArrayList&lt; byte[]&gt;components)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">ContentName</a>(ContentName otherName)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">copy</a>(int nameComponentCount)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">count</a>()</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">cut</a>(int componentCount)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">cut</a>(byte[] component)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">cut</a>(String component)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">decode</a>(XMLDecoder decoder)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">org::ccnx::ccn::impl::encoding::GenericXMLEncodable.decode</a>(InputStream istream)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.impl.encoding.GenericXMLEncodable</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">org::ccnx::ccn::impl::encoding::GenericXMLEncodable.decode</a>(InputStream istream, String codec)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.impl.encoding.GenericXMLEncodable</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">org::ccnx::ccn::impl::encoding::GenericXMLEncodable.decode</a>(byte[] content)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.impl.encoding.GenericXMLEncodable</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">org::ccnx::ccn::impl::encoding::GenericXMLEncodable.decode</a>(byte[] content, String codec)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.impl.encoding.GenericXMLEncodable</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>decode</b>(byte[] content, XMLDecoder decoder) (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.impl.encoding.GenericXMLEncodable</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.impl.encoding.GenericXMLEncodable</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">encode</a>(XMLEncoder encoder)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">org::ccnx::ccn::impl::encoding::GenericXMLEncodable.encode</a>(OutputStream ostream)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.impl.encoding.GenericXMLEncodable</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">org::ccnx::ccn::impl::encoding::GenericXMLEncodable.encode</a>(OutputStream ostream, String codec)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.impl.encoding.GenericXMLEncodable</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">org::ccnx::ccn::impl::encoding::GenericXMLEncodable.encode</a>()</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.impl.encoding.GenericXMLEncodable</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">org::ccnx::ccn::impl::encoding::GenericXMLEncodable.encode</a>(String codec)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.impl.encoding.GenericXMLEncodable</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>equals</b>(Object obj) (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">fromNative</a>(String name)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">fromNative</a>(ContentName parent, String name)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">fromNative</a>(ContentName parent, byte[] name)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">fromNative</a>(ContentName parent, String name1, String name2)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">fromNative</a>(String[] parts)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">fromNative</a>(ContentName parent, String[] parts)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">fromURI</a>(String name)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">fromURI</a>(String parts[])</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">fromURI</a>(ContentName parent, String name)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">GenericXMLEncodable</a>()</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.impl.encoding.GenericXMLEncodable</a></td><td><code> [protected]</code></td></tr> <tr bgcolor="#f0f0f0"><td><b>getContentName</b>() (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">getElementLabel</a>()</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.io.content.WrappingKeyName</a></td><td><code> [virtual]</code></td></tr> <tr bgcolor="#f0f0f0"><td><b>hashCode</b>() (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">hexPrint</a>(byte[] bs)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">isPrefixOf</a>(ContentName name)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">isPrefixOf</a>(ContentName name, int count)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">isPrefixOf</a>(ContentObject other)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>isPrefixOf</b>(ContentObject other, int count) (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">iterator</a>()</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">lastComponent</a>()</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">matchLength</a>(ContentName name)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">ORIGINAL_SCHEME</a></td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">parent</a>()</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">parse</a>(String str)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">postfix</a>(ContentName prefix)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">right</a>(int position)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>ROOT</b> (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">SCHEME</a></td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr bgcolor="#f0f0f0"><td><b>SEPARATOR</b> (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">startsWith</a>(byte[] value)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">startsWithWhere</a>(byte[] value)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">stringComponent</a>(int i)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">subname</a>(int start, int end)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">toString</a>()</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">toURIString</a>()</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">validate</a>()</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td><code> [virtual]</code></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">whereLast</a>(String str)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="<API key>.html#<API key>">whereLast</a>(byte[] component)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>whereLast</b>(ComponentProvider cp) (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.protocol.ContentName</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>WrappingKeyName</b>(ContentName name) (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.io.content.WrappingKeyName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.io.content.WrappingKeyName</a></td><td></td></tr> <tr bgcolor="#f0f0f0"><td><b>WrappingKeyName</b>() (defined in <a class="el" href="<API key>.html">org.ccnx.ccn.io.content.WrappingKeyName</a>)</td><td><a class="el" href="<API key>.html">org.ccnx.ccn.io.content.WrappingKeyName</a></td><td></td></tr> </table></div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Feb 4 11:59:00 2013 for Content-Centric Networking in Java by&nbsp; <a href="http: <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>Content-Centric Networking in Java: org.ccnx.ccn.impl.security.crypto.<API key> Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main&nbsp;Page</span></a></li> <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li> <li><a href="namespaces.html"><span>Packages</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li> <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li> <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li> </ul> </div> <div class="navpath"><b>org</b>.<b>ccnx</b>.<b>ccn</b>.<a class="el" href="<API key>.html">impl</a>.<b>security</b>.<b>crypto</b>.<a class="el" href="classorg_1_1ccnx_1_1ccn_1_1impl_1_1security_1_1crypto_1_1_unbuffered_cipher_input_stream.html"><API key></a> </div> </div> <div class="contents"> <h1>org.ccnx.ccn.impl.security.crypto.<API key> Class Reference</h1><!-- doxytag: class="org::ccnx::ccn::impl::security::crypto::<API key>" --><!-- doxytag: inherits="javax::crypto::CipherInputStream" --> <p>Hides block-related boundaries in buffering. <a href="#_details">More...</a></p> <p><a href="classorg_1_1ccnx_1_1ccn_1_1impl_1_1security_1_1crypto_1_1_unbuffered_cipher_input_stream-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="<API key>"></a><!-- doxytag: member="org::ccnx::ccn::impl::security::crypto::<API key>::<API key>" ref="<API key>" args="(InputStream in, Cipher c)" --> &nbsp;</td><td class="memItemRight" valign="bottom"><b><API key></b> (InputStream in, Cipher c)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="<API key>"></a><!-- doxytag: member="org::ccnx::ccn::impl::security::crypto::<API key>::read" ref="<API key>" args="(byte[] data, int off, int len)" --> int&nbsp;</td><td class="memItemRight" valign="bottom"><b>read</b> (byte[] data, int off, int len) throws IOException </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="<API key>"></a><!-- doxytag: member="org::ccnx::ccn::impl::security::crypto::<API key>::available" ref="<API key>" args="()" --> int&nbsp;</td><td class="memItemRight" valign="bottom"><b>available</b> () throws IOException </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="<API key>"></a><!-- doxytag: member="org::ccnx::ccn::impl::security::crypto::<API key>::skip" ref="<API key>" args="(long bytes)" --> long&nbsp;</td><td class="memItemRight" valign="bottom"><b>skip</b> (long bytes) throws IOException </td></tr> <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="<API key>"></a><!-- doxytag: member="org::ccnx::ccn::impl::security::crypto::<API key>::blockSize" ref="<API key>" args="" --> int&nbsp;</td><td class="memItemRight" valign="bottom"><b>blockSize</b></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Hides block-related boundaries in buffering. </p> <p>Java's javax.crypto.CipherInputStream exposes the buffering done to accommodate a block Cipher, and hence reads/skip/available only return the data available in the current Cipher block, rather than the perhaps larger amount of data expected from the underlying stream. This class wraps javax.crypto.CipherInputStream to provide more natural semantics, and avoids having repeated code to handle incomplete reads/etc. </p> <hr/>The documentation for this class was generated from the following file:<ul> <li>src/org/ccnx/ccn/impl/security/crypto/<API key>.java</li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Feb 4 11:58:55 2013 for Content-Centric Networking in Java by&nbsp; <a href="http: <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>
#if !defined(__COGL_H_INSIDE__) && !defined(CLUTTER_COMPILATION) #error "Only <cogl/cogl.h> can be included directly." #endif #ifndef <API key> #define <API key> #include <cogl/cogl-types.h> G_BEGIN_DECLS #define <API key> <API key> /** * <API key>: * @path: The path to clip with. * * Sets a new clipping area using @path. The clipping area is intersected * with the previous clipping area. To restore the previous clipping area, * call cogl_clip_pop(). * * Since: 1.8 * Stability: Unstable */ void <API key> (CoglPath *path); G_END_DECLS #endif /* <API key> */
#ifdef HAVE_CONFIG_H # include "config.h" #endif #include <stdlib.h> #include <glib.h> #ifdef G_OS_WIN32 #undef DATADIR #include <windows.h> extern int main (int argc, char **argv); /* In case we build this as a windowed application */ #ifdef __GNUC__ # ifndef _stdcall # define _stdcall __attribute__((stdcall)) # endif #endif int _stdcall WinMain (struct HINSTANCE__ *hInstance, struct HINSTANCE__ *hPrevInstance, char *lpszCmdLine, int nCmdShow) { int ret; ret = main (__argc, __argv); return ret; } #endif
#ifndef QLLCPSERVER_P_H #define QLLCPSERVER_P_H #include <qmobilityglobal.h> #include "qllcpserver.h" QTM_BEGIN_NAMESPACE class QLlcpServerPrivate { Q_DECLARE_PUBLIC(QLlcpServer) public: QLlcpServerPrivate(QLlcpServer *q); ~QLlcpServerPrivate(); bool listen(const QString &serviceUri); bool isListening() const; void close(); QString serviceUri() const; quint8 serverPort() const; bool <API key>() const; QLlcpSocket *<API key>(); QLlcpSocket::SocketError serverError() const; private: QLlcpServer *q_ptr; }; QTM_END_NAMESPACE #endif // QLLCPSERVER_P_H
/** * Read properties from file - grain or element * Input file syntax: prop1 prop2 etc. See test. * For grain level, voronoi tesellation with random grain centers are generated; * Element center points used for assigning properties * Usable for generated mesh */ class <API key> : public GeneralUserObject { public: static InputParameters validParams(); <API key>(const InputParameters & parameters); virtual ~<API key>() {} virtual void initialize() {} virtual void execute() {} virtual void finalize() {} /** * This function reads element data from file */ void readElementData(); /** * This function Read grain data from file */ virtual void readGrainData(); /** * This function generates grain center point * Presently random generated */ virtual void <API key>(); /** * This function assign property data to elements */ Real getData(const Elem *, unsigned int) const; /** * This function assign properties to element read from file with element based properties */ Real getElementData(const Elem *, unsigned int) const; /** * This function assign properties to element read from file with grain based properties * Grain distribution in the RVE can be Periodic or non-periodic (default) */ Real getGrainData(const Elem *, unsigned int) const; /** * This function calculates minimum distance between 2 points * considering periodicity of the simulation volume */ Real minPeriodicDistance(Point, Point) const; protected: Name of file containing property values std::string _prop_file_name; Store property values read from file std::vector<Real> _data; Number of properties in a row unsigned int _nprop; Number of grains (for property read based on grains) unsigned int _ngrain; Type of read - element or grain MooseEnum _read_type; Random seed - used for generating grain centers unsigned int _rand_seed; Type of grain structure - non-periodic default MooseEnum _rve_type; MooseMesh & _mesh; std::vector<Point> _center; private: unsigned int _nelem; Point _top_right; Point _bottom_left; Point _range; Real _max_range; };
import Control.Monad import Control.Monad.Trans.Resource import System.IO import System.Exit import System.Environment import Data.Conduit import qualified Data.Conduit.List as CL import qualified Data.Conduit.Binary as CB import qualified Data.ByteString.Char8 as BS import Data.Conduit.ZMQ3 (zmqSource) import System.ZMQ3.Monad (makeSocket, runZMQ) import qualified System.ZMQ3.Monad as ZMQ main :: IO () main = do args <- getArgs when (length args < 1) $ do hPutStrLn stderr "usage: display <address> [<address>, ...]" exitFailure runResourceT $ runZMQ 1 $ do s <- makeSocket ZMQ.Sub ZMQ.subscribe s "" mapM_ (ZMQ.connect s) args zmqSource s $= CL.map (`BS.append` newline) $$ CB.sinkHandle stdout where newline = BS.pack "\n"
#ifndef __FSTREENODE_HH__ #define __FSTREENODE_HH__ #include <QLinkedList> // TODO: the FSTreeNode objects are in this case representing image // directories that include images (and subdirectories as FSTreeNodes) - // a node should contain list of its image children in the case of // furious destruction class FSTreeNode { public: virtual ~FSTreeNode(); const char *name() const; const char *path() const; void addChild(FSTreeNode *node); FSTreeNode *directChild(const char *name) const; bool isUnderPath(const char *path); protected: FSTreeNode(const char *path); FSTreeNode *parent; QLinkedList<FSTreeNode *> children; private: char *m_path; // contains full path const char *m_name; // pointer to characted after last '/' in full path }; #endif // __FSTREENODE_HH__
// Import section // AIRINV #include <airinv/bom/BomAbstract.hpp> namespace AIRINV { }
#include "servicetest.h" #include "sconnect.h" #include "service.h" #include "property.h" #include <QtTest/QtTest> #include <QProcess> #include <QStringList> #include <string> #define SERVICE_NAME "org.maemo.contextkit.testProvider" int serviceNameIx = 0; namespace ContextProvider { void ServiceTest::initTestCase() { } void ServiceTest::cleanupTestCase() { } // Before each test void ServiceTest::init() { // Initialize test program state isReadyToRead = false; // Start the client client = new QProcess(); sconnect(client, SIGNAL(<API key>()), this, SLOT(readStandardOutput())); client->start("client"); // Record whether the client was successfully started clientStarted = client->waitForStarted(); } // After each test void ServiceTest::cleanup() { // Stop the client if (clientStarted) { client->kill(); client->waitForFinished(); } delete client; client = NULL; } void ServiceTest::startStopStart() { // Check that the initialization went well. // Doing this only in init() is not enough; doesn't stop the test case. QVERIFY(clientStarted); // Use a different service name in each test; this way the ServiceBackends QString serviceName = QString::number(serviceNameIx).prepend(SERVICE_NAME); writeToClient(("assign session " + serviceName + " service\n").toStdString().c_str()); ++serviceNameIx; // Test: create a Service and an associated Property Service* service = new Service(QDBusConnection::SessionBus, serviceName); Property* property = new Property(*service, "Test.Property"); // Test: command client to subscribe QString actual = writeToClient("subscribe service Test.Property\n"); // Expected result: service is started automatically and Subscribe works QString expected = "Subscribe returned: Unknown"; QCOMPARE(actual.simplified(), expected.simplified()); // Test: stop the service and try to subscribe again service->stop(); actual = writeToClient("subscribe service Test.Property\n"); // Expected result: the client can no more subscribe expected = "Subscribe error: org.freedesktop.DBus.Error.ServiceUnknown"; QCOMPARE(actual.simplified(), expected.simplified()); // Test: start the service and try to subscribe again service->start(); actual = writeToClient("subscribe service Test.Property\n"); // Expected result: service is started and Subscribe works expected = "Subscribe returned: Unknown"; QCOMPARE(actual.simplified(), expected.simplified()); delete service; delete property; } void ServiceTest::recreate() { // Check that the initialization went well. // Doing this only in init() is not enough; doesn't stop the test case. QVERIFY(clientStarted); // Use a different service name in each test; this way the ServiceBackends QString serviceName = QString::number(serviceNameIx).prepend(SERVICE_NAME); writeToClient(("assign session " + serviceName + " service\n").toStdString().c_str()); ++serviceNameIx; // Test: create a Service and an associated Property Service* service = new Service(QDBusConnection::SessionBus, serviceName); Property* property = new Property(*service, "Test.Property"); // Test: command client to subscribe QString actual = writeToClient("subscribe service Test.Property\n"); // Expected result: service is started automatically and Subscribe works QString expected = "Subscribe returned: Unknown"; QCOMPARE(actual.simplified(), expected.simplified()); // Test: delete the property and the service delete property; delete service; actual = writeToClient("subscribe service Test.Property\n"); // Expected result: the client can no more subscribe expected = "Subscribe error: org.freedesktop.DBus.Error.ServiceUnknown"; QCOMPARE(actual.simplified(), expected.simplified()); // Test: recreate the service and try to subscribe again service = new Service(QDBusConnection::SessionBus, serviceName); property = new Property(*service, "Test.Property"); actual = writeToClient("subscribe service Test.Property\n"); // Expected result: service is started and Subscribe works expected = "Subscribe returned: Unknown"; QCOMPARE(actual.simplified(), expected.simplified()); delete service; delete property; } void ServiceTest::multiStart() { // Check that the initialization went well. // Doing this only in init() is not enough; doesn't stop the test case. QVERIFY(clientStarted); // Use a different service name in each test; this way the ServiceBackends QString serviceName = QString::number(serviceNameIx).prepend(SERVICE_NAME); writeToClient(("assign session " + serviceName + " service\n").toStdString().c_str()); ++serviceNameIx; // Test: create a Service and an associated Property Service* service = new Service(QDBusConnection::SessionBus, serviceName); Property* property = new Property(*service, "Test.Property"); // Test: command client to subscribe QString actual = writeToClient("subscribe service Test.Property\n"); // Expected result: service is started automatically and Subscribe works QString expected = "Subscribe returned: Unknown"; QCOMPARE(actual.simplified(), expected.simplified()); // Start listening to signals (we already have one subscriber) QSignalSpy firstSpy(property, SIGNAL(<API key>(const QString&))); QSignalSpy lastSpy(property, SIGNAL(<API key>(const QString&))); // Test: start the service again (even though it's started) service->start(); // Expected result: the service is still there, and remembers the client actual = writeToClient("subscribe service Test.Property\n"); expected = "Subscribe returned: Unknown"; QCOMPARE(actual.simplified(), expected.simplified()); // (so we don't get a signal) QTest::qWait(1000); QCOMPARE(firstSpy.count(), 0); QCOMPARE(lastSpy.count(), 0); delete service; delete property; } void ServiceTest::defaultService() { // Check that the initialization went well. // Doing this only in init() is not enough; doesn't stop the test case. QVERIFY(clientStarted); // Use a different service name in each test; this way the ServiceBackends QString serviceName = QString::number(serviceNameIx).prepend(SERVICE_NAME); writeToClient(("assign session " + serviceName + " service\n").toStdString().c_str()); ++serviceNameIx; // Test: create a Service. Set the Service as default. Then create // a Property without a Service. Service* service = new Service(QDBusConnection::SessionBus, serviceName); service->setAsDefault(); Property* property = new Property("Test.Property"); // Expected result: the Property got associated with the default // Service. // Test: command client to subscribe QString actual = writeToClient("subscribe service Test.Property\n"); // Expected result: Subscribe works QString expected = "Subscribe returned: Unknown"; QCOMPARE(actual.simplified(), expected.simplified()); delete service; delete property; } void ServiceTest::recreateProperty() { // Check that the initialization went well. // Doing this only in init() is not enough; doesn't stop the test case. QVERIFY(clientStarted); // Use a different service name in each test; this way the ServiceBackends QString serviceName = QString::number(serviceNameIx).prepend(SERVICE_NAME); writeToClient(("assign session " + serviceName + " service\n").toStdString().c_str()); ++serviceNameIx; // Test: create a Service and an associated Property. Set a value // to the property. Service* service = new Service(QDBusConnection::SessionBus, serviceName); Property* property = new Property(*service, "Test.Property"); property->setValue("keep this value"); // Test: delete the property and create it again delete property; property = new Property(*service, "Test.Property"); // Expeted result: the Property has kept its value QCOMPARE(property->value(), QVariant("keep this value")); delete property; delete service; } void ServiceTest::readStandardOutput() { isReadyToRead = true; } // Note: input must end with \n QString ServiceTest::writeToClient(const char* input) { isReadyToRead = false; client->write(input); client->waitForBytesWritten(); // Blocking for reading operation is bad idea since the client // expects provider to reply to dbus calls while (!isReadyToRead) { QCoreApplication::processEvents(QEventLoop::AllEvents); } // Return the output from the client return client->readAll(); } } // end namespace QTEST_MAIN(ContextProvider::ServiceTest);
html, body { height: 100%; margin: 0; } iframe { height: 480; width: 100%; } #header,#footer,#content { position: absolute; right: 0; left: 0; } #header { background:#FFFFFF; box-shadow: 0px 10px 5px #888; height: 63px; top: 0; width: 100%; z-index: 1; } #header img { height: 100%; } #kurentoLogo { float: left; } #fiWareLogo { float: right; } #content { bottom: 63px; background: #DBEAF9; overflow: auto; top: 63px; } .panel { box-shadow: 10px 10px 5px #888; position: fixed; width: 47%; } #videoPanel { background:#00ff00; } #viewer { left: 50%; } #txtUri { width: 100%; } #video { width: 100%; } #console { overflow: auto; width: 100%; } #footer { background:#FFFFFF; bottom: 0; box-shadow: 0px -10px 5px #888; height: 63px; width: 100%; } #footer #UrjcLogo { float: left; } #footer #<API key> { float: right; } #footer img { height: 100%; } #footer p { text-align: center; }
/** * @{ * * @file */ #include "net/ipv6.h" #include "net/gnrc/icmpv6.h" #include "net/gnrc/netif.h" #include "net/gnrc/pktbuf.h" #include "net/gnrc/icmpv6/error.h" #define ENABLE_DEBUG (0) #include "debug.h" /* all error messages are basically the same size and format */ #define ICMPV6_ERROR_SZ (sizeof(<API key>)) #define <API key>(data, value) \ ((<API key> *)(data))->mtu = byteorder_htonl(value) #define MIN(a, b) ((a) < (b)) ? (a) : (b) /** * @brief Get packet fit. * * Get's the minimum size for an ICMPv6 error message packet, based on the * invoking packet's size and the interface the invoking packet came over. * * @param[in] orig_pkt The invoking packet * * @return The supposed size of the ICMPv6 error message. */ static size_t _fit(const gnrc_pktsnip_t *orig_pkt) { /* discarding const qualifier is safe here */ gnrc_pktsnip_t *netif_hdr = <API key>( (gnrc_pktsnip_t *)orig_pkt, GNRC_NETTYPE_NETIF ); size_t pkt_len = gnrc_pkt_len(orig_pkt) + ICMPV6_ERROR_SZ + sizeof(ipv6_hdr_t); if (netif_hdr) { gnrc_netif_t *netif = <API key>(netif_hdr->data); pkt_len -= netif_hdr->size; DEBUG("gnrc_icmpv6_error: fitting to MTU of iface %u (%u)\n", netif->pid, netif->ipv6.mtu); return MIN(pkt_len, netif->ipv6.mtu - sizeof(ipv6_hdr_t)); } else { /* packet does not have a netif header (most likely because it did not * came from remote) => just assume pkt_len as ideal */ DEBUG("gnrc_icmpv6_error: copying whole packet\n"); return pkt_len; } } static inline bool _in_orig_pkt(const gnrc_pktsnip_t *orig_pkt) { return (orig_pkt != NULL) && (orig_pkt->type != GNRC_NETTYPE_NETIF); } static size_t _copy_rcv_snip(gnrc_pktsnip_t *pkt, const gnrc_pktsnip_t *orig_snip) { /* always skip ICMPv6 error header */ size_t offset = ICMPV6_ERROR_SZ; const gnrc_pktsnip_t *ptr = orig_snip; while (_in_orig_pkt(ptr->next)) { offset += ptr->next->size; ptr = ptr->next; } if (offset < pkt->size) { uint8_t *data = pkt->data; memcpy(data + offset, orig_snip->data, MIN(pkt->size - offset, orig_snip->size)); } return offset; } static inline bool _check_send_order(const gnrc_pktsnip_t *pkt) { /* sent packets in IPv6 start either with netif header or * with IPv6 header (but then the NETIF header doesn't follow) */ return (pkt->type == GNRC_NETTYPE_NETIF) || ((pkt->type == GNRC_NETTYPE_IPV6) && ((pkt->next == NULL) || (pkt->next->type != GNRC_NETTYPE_NETIF))); } /* Build a generic error message */ static gnrc_pktsnip_t *_icmpv6_error_build(uint8_t type, uint8_t code, const gnrc_pktsnip_t *orig_pkt, uint32_t value) { gnrc_pktsnip_t *pkt = gnrc_icmpv6_build(NULL, type, code, _fit(orig_pkt)); /* copy as much of the originating packet into error message as fits the * message's size */ if (pkt != NULL) { <API key>(pkt->data, value); if (_check_send_order(orig_pkt)) { const gnrc_pktsnip_t *ptr = (orig_pkt->type == GNRC_NETTYPE_NETIF) ? orig_pkt->next : orig_pkt; size_t offset = ICMPV6_ERROR_SZ; while ((ptr != NULL) && (offset < pkt->size)) { uint8_t *data = pkt->data; memcpy(data + offset, ptr->data, MIN(pkt->size - offset, ptr->size)); offset += ptr->size; ptr = ptr->next; } } else { while (_in_orig_pkt(orig_pkt)) { _copy_rcv_snip(pkt, orig_pkt); orig_pkt = orig_pkt->next; } } } return pkt; } static inline gnrc_pktsnip_t *_dst_unr_build(uint8_t code, const gnrc_pktsnip_t *orig_pkt) { return _icmpv6_error_build(ICMPV6_DST_UNR, code, orig_pkt, 0); } static inline gnrc_pktsnip_t *_pkt_too_big_build(uint32_t mtu, const gnrc_pktsnip_t *orig_pkt) { return _icmpv6_error_build(ICMPV6_PKT_TOO_BIG, 0, orig_pkt, mtu); } static inline gnrc_pktsnip_t *_time_exc_build(uint8_t code, const gnrc_pktsnip_t *orig_pkt) { return _icmpv6_error_build(ICMPV6_TIME_EXC, code, orig_pkt, 0); } static inline bool _in_range(uint8_t *ptr, uint8_t *start, size_t sz) { return (ptr >= start) && (ptr < (start + sz)); } static gnrc_pktsnip_t *_param_prob_build(uint8_t code, void *ptr, const gnrc_pktsnip_t *orig_pkt) { gnrc_pktsnip_t *pkt = gnrc_icmpv6_build(NULL, ICMPV6_PARAM_PROB, code, _fit(orig_pkt)); /* copy as much of the originating packet into error message and * determine relative *ptr* offset */ if (pkt != NULL) { <API key> *hdr = pkt->data; uint32_t ptr_offset = 0U; while (_in_orig_pkt(orig_pkt)) { /* copy as long as it fits into packet; parameter problem can only * come from received packets */ size_t offset = _copy_rcv_snip(pkt, orig_pkt); if (_in_range(ptr, orig_pkt->data, orig_pkt->size)) { ptr_offset = (uint32_t)(((uint8_t *)ptr) - ((uint8_t *)orig_pkt->data) + (offset - ICMPV6_ERROR_SZ)); } orig_pkt = orig_pkt->next; } /* set "pointer" field to relative pointer offset */ hdr->ptr = byteorder_htonl(ptr_offset); } return pkt; } static void _send(gnrc_pktsnip_t *pkt, const gnrc_pktsnip_t *orig_pkt, gnrc_pktsnip_t *ipv6) { if (pkt != NULL) { /* discarding const qualifier is safe here */ gnrc_pktsnip_t *netif = <API key>((gnrc_pktsnip_t *)orig_pkt, GNRC_NETTYPE_NETIF); assert(ipv6 != NULL); ipv6_hdr_t *ipv6_hdr = ipv6->data; /* overwrite ipv6 parameter pointer ... we don't need it after this */ ipv6 = gnrc_ipv6_hdr_build(pkt, NULL, &ipv6_hdr->src); if (ipv6 == NULL) { DEBUG("gnrc_icmpv6_error: No space in packet buffer left\n"); gnrc_pktbuf_release(pkt); return; } pkt = ipv6; if (netif) { /* copy interface from original netif header to assure packet * goes out where it came from */ gnrc_netif_t *iface = <API key>(netif->data); netif = <API key>(NULL, 0, NULL, 0); if (netif == NULL) { DEBUG("gnrc_icmpv6_error: No space in packet buffer left\n"); gnrc_pktbuf_release(pkt); return; } <API key>(netif->data, iface); LL_PREPEND(pkt, netif); } if (!<API key>(GNRC_NETTYPE_IPV6, <API key>, pkt)) { DEBUG("gnrc_icmpv6_error: No send handler found.\n"); gnrc_pktbuf_release(pkt); } } else { DEBUG("gnrc_icmpv6_error: No space in packet buffer left\n"); } } static gnrc_pktsnip_t *_check_ipv6_hdr(const gnrc_pktsnip_t *orig_pkt) { /* discarding const qualifier is safe here */ gnrc_pktsnip_t *ipv6 = <API key>((gnrc_pktsnip_t *)orig_pkt, GNRC_NETTYPE_IPV6); assert(ipv6 != NULL); const ipv6_hdr_t *ipv6_hdr = ipv6->data; if (<API key>(&ipv6_hdr->src) || <API key>(&ipv6_hdr->dst)) { ipv6 = NULL; } return ipv6; } void <API key>(uint8_t code, const gnrc_pktsnip_t *orig_pkt) { gnrc_pktsnip_t *ipv6 = _check_ipv6_hdr(orig_pkt); if (ipv6 != NULL) { gnrc_pktsnip_t *pkt = _dst_unr_build(code, orig_pkt); DEBUG("gnrc_icmpv6_error: trying to send destination unreachable error\n"); _send(pkt, orig_pkt, ipv6); } } void <API key>(uint32_t mtu, const gnrc_pktsnip_t *orig_pkt) { gnrc_pktsnip_t *ipv6 = _check_ipv6_hdr(orig_pkt); if (ipv6 != NULL) { gnrc_pktsnip_t *pkt = _pkt_too_big_build(mtu, orig_pkt); DEBUG("gnrc_icmpv6_error: trying to send packet too big error\n"); _send(pkt, orig_pkt, ipv6); } } void <API key>(uint8_t code, const gnrc_pktsnip_t *orig_pkt) { gnrc_pktsnip_t *ipv6 = _check_ipv6_hdr(orig_pkt); if (ipv6 != NULL) { gnrc_pktsnip_t *pkt = _time_exc_build(code, orig_pkt); DEBUG("gnrc_icmpv6_error: trying to send time exceeded error\n"); _send(pkt, orig_pkt, ipv6); } } void <API key>(uint8_t code, void *ptr, const gnrc_pktsnip_t *orig_pkt) { gnrc_pktsnip_t *ipv6 = _check_ipv6_hdr(orig_pkt); if (ipv6 != NULL) { gnrc_pktsnip_t *pkt = _param_prob_build(code, ptr, orig_pkt); DEBUG("gnrc_icmpv6_error: trying to send parameter problem error\n"); _send(pkt, orig_pkt, ipv6); } }
// This file is part of the deal.II library. // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // the top level of the deal.II distribution. #include <deal.II/base/quadrature_lib.h> #include <deal.II/base/qprojector.h> #include <deal.II/base/table.h> #include <deal.II/grid/tria.h> #include <deal.II/grid/tria_iterator.h> #include <deal.II/dofs/dof_accessor.h> #include <deal.II/fe/fe.h> #include <deal.II/fe/mapping.h> #include <deal.II/fe/fe_rt_bubbles.h> #include <deal.II/fe/fe_values.h> #include <deal.II/fe/fe_tools.h> #include <sstream> #include <deal.II/base/std_cxx14/memory.h> <API key> template <int dim> FE_RT_Bubbles<dim>::FE_RT_Bubbles (const unsigned int deg) : FE_PolyTensor<<API key><dim>, dim> ( deg, FiniteElementData<dim>(get_dpo_vector(deg), dim, deg+1, FiniteElementData<dim>::Hdiv), get_ria_vector (deg), std::vector<ComponentMask>(<API key><dim>::compute_n_pols(deg), std::vector<bool>(dim,true))) { Assert (dim >= 2, ExcImpossibleInDim(dim)); Assert (deg >= 1, ExcMessage("Lowest order RT_Bubbles element is degree 1, but you requested for degree 0")); const unsigned int n_dofs = this->dofs_per_cell; this->mapping_type = <API key>; // Initialize support points and quadrature weights <API key>(deg); // Compute the inverse node matrix to get // the correct basis functions FullMatrix<double> M = FETools::compute_node_matrix(*this); this->inverse_node_matrix.reinit(n_dofs, n_dofs); this->inverse_node_matrix.invert(M); // Reinit the vectors of prolongation matrices to the // right sizes. There are no restriction matrices implemented for (unsigned int ref_case=RefinementCase<dim>::cut_x; ref_case<RefinementCase<dim>::<API key>+1; ++ref_case) { const unsigned int nc = GeometryInfo<dim>::n_children(RefinementCase<dim>(ref_case)); for (unsigned int i=0; i<nc; ++i) this->prolongation[ref_case-1][i].reinit (n_dofs, n_dofs); } // Fill prolongation matrices with embedding operators // set tolerance to 1, as embedding error accumulate quickly FETools::<API key> (*this, this->prolongation, true, 1.0); FullMatrix<double> face_embeddings[GeometryInfo<dim>::<API key>]; for (unsigned int i=0; i<GeometryInfo<dim>::<API key>; ++i) face_embeddings[i].reinit (this->dofs_per_face, this->dofs_per_face); FETools::<API key><dim,double>(*this, face_embeddings, 0, 0); this-><API key>.reinit((1<<(dim-1)) * this->dofs_per_face, this->dofs_per_face); unsigned int target_row=0; for (unsigned int d=0; d<GeometryInfo<dim>::<API key>; ++d) for (unsigned int i=0; i<face_embeddings[d].m(); ++i) { for (unsigned int j=0; j<face_embeddings[d].n(); ++j) this-><API key>(target_row,j) = face_embeddings[d](i,j); ++target_row; } } template <int dim> std::string FE_RT_Bubbles<dim>::get_name () const { // Note: this->degree is the maximal polynomial degree and is thus one higher // than the argument given to the constructor std::ostringstream namebuf; namebuf << "FE_RT_Bubbles<" << dim << ">(" << this->degree << ")"; return namebuf.str(); } template <int dim> std::unique_ptr<FiniteElement<dim,dim> > FE_RT_Bubbles<dim>::clone() const { return std_cxx14::make_unique<FE_RT_Bubbles<dim>>(*this); } // Auxiliary and internal functions template <int dim> void FE_RT_Bubbles<dim>::<API key> (const unsigned int deg) { this-><API key>.resize (this->dofs_per_cell); this-><API key>.resize (this->dofs_per_face); // Index of the point being entered unsigned int current = 0; // On the faces, we choose as many Gauss-Lobatto points // as required to determine the normal component uniquely. // This is the deg of the RT_Bubble element plus one. if (dim>1) { QGaussLobatto<dim-1> face_points (deg+1); Assert (face_points.size() == this->dofs_per_face, ExcInternalError()); for (unsigned int k=0; k<this->dofs_per_face; ++k) this-><API key>[k] = face_points.point(k); Quadrature<dim> faces = QProjector<dim>::<API key>(face_points); for (unsigned int k=0; k<this->dofs_per_face*GeometryInfo<dim>::faces_per_cell; ++k) this-><API key>[k] = faces.point(k+QProjector<dim> ::DataSetDescriptor::face(0, true, false, false, this->dofs_per_face)); current = this->dofs_per_face*GeometryInfo<dim>::faces_per_cell; } if (deg==1) return; // In the interior, we need anisotropic Gauss-Lobatto quadratures, // one for each direction QGaussLobatto<1> high(deg+1); std::vector<Point<1>> pts = high.get_points(); pts.erase(pts.begin()); pts.erase(pts.end()-1); std::vector<double> wts(pts.size(),1); Quadrature<1> low(pts,wts); for (unsigned int d=0; d<dim; ++d) { std::unique_ptr<QAnisotropic<dim> > quadrature; switch (dim) { case 1: quadrature = std_cxx14::make_unique<QAnisotropic<dim>>(high); break; case 2: quadrature = std_cxx14::make_unique<QAnisotropic<dim>>(((d==0) ? low : high), ((d==1) ? low : high)); break; case 3: quadrature = std_cxx14::make_unique<QAnisotropic<dim>>(((d==0) ? low : high), ((d==1) ? low : high), ((d==2) ? low : high)); break; default: Assert(false, ExcNotImplemented()); } for (unsigned int k=0; k<quadrature->size(); ++k) this-><API key>[current++] = quadrature->point(k); } Assert (current == this->dofs_per_cell, ExcInternalError()); } template <int dim> std::vector<unsigned int> FE_RT_Bubbles<dim>::get_dpo_vector (const unsigned int deg) { // We have (deg+1)^(dim-1) DoFs per face... unsigned int dofs_per_face = 1; for (unsigned int d=1; d<dim; ++d) dofs_per_face *= deg+1; // ...plus the interior DoFs for the total of dim*(deg+1)^dim const unsigned int interior_dofs = dim*(deg-1)*pow(deg+1,dim-1); std::vector<unsigned int> dpo(dim+1); dpo[dim-1] = dofs_per_face; dpo[dim] = interior_dofs; return dpo; } template <> std::vector<bool> FE_RT_Bubbles<1>::get_ria_vector (const unsigned int) { Assert (false, ExcImpossibleInDim(1)); return std::vector<bool>(); } template <int dim> std::vector<bool> FE_RT_Bubbles<dim>::get_ria_vector (const unsigned int deg) { const unsigned int dofs_per_cell = <API key><dim>::compute_n_pols(deg); unsigned int dofs_per_face = deg+1; for (unsigned int d=2; d<dim; ++d) dofs_per_face *= deg+1; // All face dofs need to be non-additive, since they have // continuity requirements. The interior dofs are // made additive. std::vector<bool> ret_val(dofs_per_cell,false); for (unsigned int i=GeometryInfo<dim>::faces_per_cell*dofs_per_face; i < dofs_per_cell; ++i) ret_val[i] = true; return ret_val; } template <int dim> void FE_RT_Bubbles<dim>:: <API key>(const std::vector<Vector<double> > &<API key>, std::vector<double> &nodal_values) const { Assert (<API key>.size() == this-><API key>.size(), <API key>(<API key>.size(), this-><API key>.size())); Assert (nodal_values.size() == this->dofs_per_cell, <API key>(nodal_values.size(),this->dofs_per_cell)); Assert (<API key>[0].size() == this->n_components(), <API key>(<API key>[0].size(),this->n_components())); // First do interpolation on faces. There, the component // evaluated depends on the face direction and orientation. unsigned int fbase = 0; unsigned int f=0; for (; f<GeometryInfo<dim>::faces_per_cell; ++f, fbase+=this->dofs_per_face) { for (unsigned int i=0; i<this->dofs_per_face; ++i) { nodal_values[fbase+i] = <API key>[fbase+i](GeometryInfo<dim>::<API key>[f]); } } // The remaining points form dim chunks, one for each component. const unsigned int istep = (this->dofs_per_cell - fbase) / dim; Assert ((this->dofs_per_cell - fbase) % dim == 0, ExcInternalError()); f = 0; while (fbase < this->dofs_per_cell) { for (unsigned int i=0; i<istep; ++i) { nodal_values[fbase+i] = <API key>[fbase+i](f); } fbase+=istep; ++f; } Assert (fbase == this->dofs_per_cell, ExcInternalError()); } // explicit instantiations #include "fe_rt_bubbles.inst" <API key>
// This file is part of the deal.II library. // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // the top level of the deal.II distribution. // check numbers::signaling_nan<Point> // the test only checks that the function can be called. It would have // been nicer to output the tensors (which would also verify the // correct output type, as well as that indeed *each* element is // correctly filled), but outputting a sNaN triggers a floating point // exception as well #include "../tests.h" #include <deal.II/base/logstream.h> #include <deal.II/base/signaling_nan.h> #include <fstream> #include <iomanip> #include <limits> #include <fenv.h> template <typename T> void check () { numbers::signaling_nan<Point<1,T> >(); numbers::signaling_nan<Point<2,T> >(); numbers::signaling_nan<Point<3,T> >(); deallog << "OK" << std::endl; } int main () { std::ofstream logfile("output"); deallog << std::setprecision(3); deallog.attach(logfile); deallog.threshold_double(1.e-10); check<float> (); check<double> (); return 0; }
#! /bin/sh -e test -n "$srcdir" || srcdir=`dirname "$0"` test -n "$srcdir" || srcdir=. mm-common-prepare --force --copy "$srcdir" autoreconf --force --install --warnings=all "$srcdir" test -n "$NOCONFIGURE" || "$srcdir/configure" --<API key> "$@"
#include <stdexcept> #include <QDebug> #include <QFileInfo> #include <QStringList> #include <QTimer> #include "DactMacrosModel.hh" #include "DactMacrosFile.hh" #include "<API key>.hh" const QChar DactMacrosModel::d_symbol('%'); DactMacrosModel::DactMacrosModel(QObject *parent) : QAbstractItemModel(parent) { connect(&d_watcher, SIGNAL(fileChanged(QString const &)), SLOT(loadFileDelayed(QString const &))); } DactMacrosModel::~DactMacrosModel() { } int DactMacrosModel::columnCount(const QModelIndex &parent) const { return 2; // pattern and replacement } int DactMacrosModel::rowCount(const QModelIndex &parent) const { // No index? You must be new here. A row for each macro if (!parent.isValid() && d_file) return d_file->macros().size(); // macro's themselves have no rows return 0; } QVariant DactMacrosModel::headerData(int column, Qt::Orientation orientation, int role) const { if (role != Qt::DisplayRole) return QVariant(); if (orientation != Qt::Horizontal) return QVariant(); switch (column) { case 0: return tr("Pattern"); case 1: return tr("Replacement"); default: return QVariant(); } } QVariant DactMacrosModel::data(const QModelIndex &index, int role) const { if (!index.isValid()) return QVariant(); if (index.row() >= d_file->macros().size() || index.row() < 0 || index.column() > 1) return QVariant(); DactMacro const &macro(d_file->macros().at(index.row())); if (role == Qt::DisplayRole) { switch (index.column()) { case 0: return macro.pattern; case 1: return macro.replacement; } } else if (role == Qt::UserRole) { switch (index.column()) { case 0: return d_symbol + macro.pattern + d_symbol; } } // What is happening here?! //qDebug() << "Data asking for" << index.internalId() << index.row() << index.column() << "which does not exist"; return QVariant(); } QModelIndex DactMacrosModel::index(int row, int column, QModelIndex const &parent) const { // Invalid parent -> coordinates point to a macro if (!parent.isValid() && d_file && row < d_file->macros().size() && column == 0) return createIndex(row, column); return QModelIndex(); } bool DactMacrosModel::isFileBacked() { return d_file; } QModelIndex DactMacrosModel::parent(QModelIndex const &index) const { return QModelIndex(); } void DactMacrosModel::loadFile(QString const &path) { // Clear all previous telephone taps if (d_watcher.files().size() > 0) d_watcher.removePaths(d_watcher.files()); try { readFile(path); // If we can read it now, we should watch it for updates d_watcher.addPath(path); } catch (std::runtime_error &e) { emit readError(QString::fromUtf8(e.what())); } } void DactMacrosModel::reloadFile() { if (!d_file) return; int prevCount = d_file->macros().size(); try { d_file->reload(); dataChanged(index(0, 0), index(prevCount, 0)); } catch (std::runtime_error &e) { emit readError(QString::fromUtf8(e.what())); } } void DactMacrosModel::readFile(QString const &fileName) { int prevCount = 0; if (d_file) prevCount = d_file->macros().size(); d_file = QSharedPointer<DactMacrosFile>(new DactMacrosFile(fileName)); dataChanged(index(0, 0), index(prevCount, 0)); } QString DactMacrosModel::expand(QString const &expression) { QString query(expression); if (d_file) foreach (DactMacro const &macro, d_file->macros()) query = query.replace(d_symbol + macro.pattern + d_symbol, macro.replacement); return query; } void DactMacrosModel::loadFileDelayed(QString const &fileName) { // Some editors seem to cause multiple fileChanged events. I am // looking at you vim and Sublime Text 2! Let's ignore such events // when we are already realoading a/the macro file. // XXX - Maybe we should use a mutex per macro file? if (!d_reloadMutex.tryLock()) return; QTimer::singleShot(500, new <API key>(this, &d_reloadMutex, fileName), SLOT(invokeOnce())); }
import errno import os import tempfile from contextlib import contextmanager from shutil import rmtree def mkdir_p(d): """Python 3.2 has an optional argument to os.makedirs called exist_ok. To support older versions of python we can't use this and need to catch exceptions""" try: os.makedirs(d) except OSError, e: if e.errno == errno.EEXIST and os.path.isdir(d) \ and os.access(d, os.R_OK | os.W_OK): return else: raise @contextmanager def <API key>( suffix='', prefix='tmp', dir=None): # pylint: disable=W0622 dirname = tempfile.mkdtemp(suffix, prefix, dir) try: yield dirname finally: rmtree(dirname) @contextmanager def scoped_curdir(): with <API key>() as tmpdir: olddir = os.path.abspath(os.curdir) os.chdir(tmpdir) try: yield olddir finally: os.chdir(olddir)
#include <fifechan/image.hpp> #include <fifechan/exception.hpp> #include <fifechan/graphics.hpp> #include <fifechan/widgets/container.hpp> #include <fifechan/widgets/icon.hpp> #include <fifechan/widgets/iconprogressbar.hpp> namespace fcn { IconProgressBar::IconProgressBar() : mImage(NULL), mInternalImage(false), mMaxIcons(0), mIconCounter(0), mOrientation(HORIZONTAL), mShouldReset(false) { mContents = new Container; mContents->setPosition(0, 0); add(mContents); } IconProgressBar::IconProgressBar(Image* image, int maxIcons) : mImage(image), mInternalImage(false), mMaxIcons(maxIcons), mIconCounter(0), mOrientation(HORIZONTAL), mShouldReset(false) { mContents = new Container; mContents->setPosition(0, 0); add(mContents); mIcons.reserve(maxIcons); createIcons(maxIcons); arrangeIcons(); } IconProgressBar::IconProgressBar(const std::string& filename, int maxIcons) : mImage(NULL), mInternalImage(true), mMaxIcons(maxIcons), mOrientation(HORIZONTAL), mShouldReset(false) { mImage = Image::load(filename); mContents = new Container; mContents->setPosition(0, 0); add(mContents); mIcons.reserve(maxIcons); createIcons(maxIcons); arrangeIcons(); } IconProgressBar::~IconProgressBar() { delete mContents; destroyIcons(); if(mInternalImage) { delete mImage; } } void IconProgressBar::draw(Graphics* graphics) { mContents->draw(graphics); } Rectangle IconProgressBar::getChildrenArea() { return mContents->getChildrenArea(); } void IconProgressBar::setOpaque(bool opaque) { mContents->setOpaque(opaque); } bool IconProgressBar::isOpaque() const { return mContents->isOpaque(); } void IconProgressBar::setImage(Image* image) { if(mInternalImage) { delete mImage; } mInternalImage = false; mImage = image; for(int i = 0; i < mMaxIcons; i++) { mIcons[i]->setImage(mImage); } arrangeIcons(); } const Image* IconProgressBar::getImage() const { return mImage; } void IconProgressBar::setMaxIcons(int maxIcons) { mMaxIcons = maxIcons; destroyIcons(); createIcons(maxIcons); arrangeIcons(); } int IconProgressBar::getMaxIcons() const { return mMaxIcons; } void IconProgressBar::setOrientation(Orientation orientation) { mOrientation = orientation; arrangeIcons(); } IconProgressBar::Orientation IconProgressBar::getOrientation() const { return mOrientation; } void IconProgressBar::advance() { if(mMaxIcons == 0) return; if(mShouldReset) { reset(); mShouldReset = false; } mIcons[mIconCounter]->setVisible(true); mIconCounter = (mIconCounter + 1) % (mMaxIcons); if(mIconCounter == 0) { mShouldReset = true; } } void IconProgressBar::reset() { mIconCounter = 0; for(int i = 0; i < mMaxIcons; i++) { mIcons[i]->setVisible(false); } } void IconProgressBar::createIcons(int iconCount) { for(int i = 0; i < iconCount; i++) { Icon *icon = mImage? new Icon(mImage) : new Icon; icon->setVisible(false); mIcons.push_back(icon); mContents->add(mIcons[i]); } arrangeIcons(); } void IconProgressBar::destroyIcons() { int totalIcons = mIcons.size(); for(int i = 0; i < totalIcons; i++) { mContents->remove(mIcons[i]); delete mIcons[i]; } mIcons.clear(); } void IconProgressBar::arrangeIcons() { int lastPos = 0; for(int i = 0; i < mMaxIcons; i++) { if(mOrientation == HORIZONTAL) { mIcons[i]->setPosition(lastPos, 0); lastPos = lastPos + mIcons[i]->getWidth(); } else if(mOrientation == VERTICAL) { mIcons[i]->setPosition(0, lastPos); lastPos = lastPos + mIcons[i]->getHeight(); } else { throw FCN_EXCEPTION("Unknown orientation type in IconProgressBar object"); } } mContents->resizeToContent(); resizeToChildren(); } };
\hypertarget{<API key>}{}\section{Cqrs.\+Domain.\+Repository$<$ T\+Authentication\+Token $>$ Class Template Reference} \label{<API key>}\index{Cqrs.\+Domain.\+Repository$<$ T\+Authentication\+Token $>$@{Cqrs.\+Domain.\+Repository$<$ T\+Authentication\+Token $>$}} Inheritance diagram for Cqrs.\+Domain.\+Repository$<$ T\+Authentication\+Token $>$\+:\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=3.000000cm]{<API key>} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \hyperlink{classCqrs_1_1Domain_1_1Repository_ab513757cb27ab3f34a1cd4d5396aa0c1_ab513757cb27ab3f34a1cd4d5396aa0c1}{Repository} (\hyperlink{<API key>}{I\+Aggregate\+Factory} aggregate\+Factory, \hyperlink{<API key>}{I\+Event\+Store}$<$ T\+Authentication\+Token $>$ event\+Store, \hyperlink{<API key>}{I\+Event\+Publisher}$<$ T\+Authentication\+Token $>$ publisher, I\+Correlation\+Id\+Helper correlation\+Id\+Helper) \item virtual void \hyperlink{classCqrs_1_1Domain_1_1Repository_a7795a0bd435022c686306fbc76311694_a7795a0bd435022c686306fbc76311694}{Save$<$ T\+Aggregate\+Root $>$} (T\+Aggregate\+Root aggregate, int? expected\+Version=null) \item virtual T\+Aggregate\+Root \hyperlink{classCqrs_1_1Domain_1_1Repository_ac83c06d643620a087232f5425d7ab1e3_ac83c06d643620a087232f5425d7ab1e3}{Get$<$ T\+Aggregate\+Root $>$} (Guid aggregate\+Id, I\+List$<$ \hyperlink{<API key>}{I\+Event}$<$ T\+Authentication\+Token $>$$>$ events=null) \item virtual void \hyperlink{classCqrs_1_1Domain_1_1Repository_ac634b50cbacdc3ab209f61c042cc6fab_ac634b50cbacdc3ab209f61c042cc6fab}{Load\+Aggregate\+History$<$ T\+Aggregate\+Root $>$} (T\+Aggregate\+Root aggregate, I\+List$<$ \hyperlink{<API key>}{I\+Event}$<$ T\+Authentication\+Token $>$$>$ events=null, bool throw\+Exception\+On\+No\+Events=true) \end{DoxyCompactItemize} \subsection*{Protected Member Functions} \begin{DoxyCompactItemize} \item virtual void \hyperlink{classCqrs_1_1Domain_1_1Repository_aef4df40c39f3edc0f9259089cbd3400e_aef4df40c39f3edc0f9259089cbd3400e}{Publish\+Event} (\hyperlink{<API key>}{I\+Event}$<$ T\+Authentication\+Token $>$ @event) \item virtual T\+Aggregate\+Root \hyperlink{classCqrs_1_1Domain_1_1Repository_a03cce4700e0648a3c4ba65bc33d1fe73_a03cce4700e0648a3c4ba65bc33d1fe73}{Create\+Aggregate$<$ T\+Aggregate\+Root $>$} (Guid id) \item virtual T\+Aggregate\+Root \hyperlink{classCqrs_1_1Domain_1_1Repository_a2ac905ff69a4dc44528de0ee6799474c_a2ac905ff69a4dc44528de0ee6799474c}{Load\+Aggregate$<$ T\+Aggregate\+Root $>$} (Guid id, I\+List$<$ \hyperlink{<API key>}{I\+Event}$<$ T\+Authentication\+Token $>$$>$ events=null) \end{DoxyCompactItemize} \subsection*{Properties} \begin{DoxyCompactItemize} \item \hyperlink{<API key>}{I\+Event\+Store}$<$ T\+Authentication\+Token $>$ \hyperlink{classCqrs_1_1Domain_1_1Repository_a9adbd73546e04ef67c8fb032e9c6d1a8_a9adbd73546e04ef67c8fb032e9c6d1a8}{Event\+Store}\hspace{0.3cm}{\ttfamily \mbox{[}get\mbox{]}} \item \hyperlink{<API key>}{I\+Event\+Publisher}$<$ T\+Authentication\+Token $>$ \hyperlink{classCqrs_1_1Domain_1_1Repository_a11b1d3a66404b212e93ca706e7c5eea4_a11b1d3a66404b212e93ca706e7c5eea4}{Publisher}\hspace{0.3cm}{\ttfamily \mbox{[}get\mbox{]}} \item \hyperlink{<API key>}{I\+Aggregate\+Factory} \hyperlink{classCqrs_1_1Domain_1_1Repository_a02cee15b1d3f603c1ae437b366e83085_a02cee15b1d3f603c1ae437b366e83085}{Aggregate\+Factory}\hspace{0.3cm}{\ttfamily \mbox{[}get\mbox{]}} \item I\+Correlation\+Id\+Helper \hyperlink{classCqrs_1_1Domain_1_1Repository_a3504ed9a3ff1c689ba89c574619893af_a3504ed9a3ff1c689ba89c574619893af}{Correlation\+Id\+Helper}\hspace{0.3cm}{\ttfamily \mbox{[}get\mbox{]}} \end{DoxyCompactItemize} \subsection{Constructor \& Destructor Documentation} \mbox{\Hypertarget{classCqrs_1_1Domain_1_1Repository_ab513757cb27ab3f34a1cd4d5396aa0c1_ab513757cb27ab3f34a1cd4d5396aa0c1}\label{classCqrs_1_1Domain_1_1Repository_ab513757cb27ab3f34a1cd4d5396aa0c1_ab513757cb27ab3f34a1cd4d5396aa0c1}} \index{Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}!Repository@{Repository}} \index{Repository@{Repository}!Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}} \subsubsection{\texorpdfstring{Repository()}{Repository()}} {\footnotesize\ttfamily \hyperlink{<API key>}{Cqrs.\+Domain.\+Repository}$<$ T\+Authentication\+Token $>$.\hyperlink{<API key>}{Repository} (\begin{DoxyParamCaption}\item[{\hyperlink{<API key>}{I\+Aggregate\+Factory}}]{aggregate\+Factory, }\item[{\hyperlink{<API key>}{I\+Event\+Store}$<$ T\+Authentication\+Token $>$}]{event\+Store, }\item[{\hyperlink{<API key>}{I\+Event\+Publisher}$<$ T\+Authentication\+Token $>$}]{publisher, }\item[{I\+Correlation\+Id\+Helper}]{correlation\+Id\+Helper }\end{DoxyParamCaption})} \subsection{Member Function Documentation} \mbox{\Hypertarget{classCqrs_1_1Domain_1_1Repository_a03cce4700e0648a3c4ba65bc33d1fe73_a03cce4700e0648a3c4ba65bc33d1fe73}\label{classCqrs_1_1Domain_1_1Repository_a03cce4700e0648a3c4ba65bc33d1fe73_a03cce4700e0648a3c4ba65bc33d1fe73}} \index{Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}!Create\+Aggregate$<$ T\+Aggregate\+Root $>$@{Create\+Aggregate$<$ T\+Aggregate\+Root $>$}} \index{Create\+Aggregate$<$ T\+Aggregate\+Root $>$@{Create\+Aggregate$<$ T\+Aggregate\+Root $>$}!Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}} \subsubsection{\texorpdfstring{Create\+Aggregate$<$ T\+Aggregate\+Root $>$()}{CreateAggregate< TAggregateRoot >()}} {\footnotesize\ttfamily virtual T\+Aggregate\+Root \hyperlink{<API key>}{Cqrs.\+Domain.\+Repository}$<$ T\+Authentication\+Token $>$.Create\+Aggregate$<$ T\+Aggregate\+Root $>$ (\begin{DoxyParamCaption}\item[{Guid}]{id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}} Reimplemented in \hyperlink{classCqrs_1_1Akka_1_1Domain_1_1AkkaRepository_ad8861fdcfc749c9caae4dacf1284aa7d_ad8861fdcfc749c9caae4dacf1284aa7d}{Cqrs.\+Akka.\+Domain.\+Akka\+Repository$<$ T\+Authentication\+Token $>$}. \begin{Desc} \item[Type Constraints]\begin{description} \item[{\em T\+Aggregate\+Root} : {\em I\+Aggregate\+Root$<$T\+Authentication\+Token$>$}]\end{description} \end{Desc} \mbox{\Hypertarget{classCqrs_1_1Domain_1_1Repository_ac83c06d643620a087232f5425d7ab1e3_ac83c06d643620a087232f5425d7ab1e3}\label{classCqrs_1_1Domain_1_1Repository_ac83c06d643620a087232f5425d7ab1e3_ac83c06d643620a087232f5425d7ab1e3}} \index{Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}!Get$<$ T\+Aggregate\+Root $>$@{Get$<$ T\+Aggregate\+Root $>$}} \index{Get$<$ T\+Aggregate\+Root $>$@{Get$<$ T\+Aggregate\+Root $>$}!Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}} \subsubsection{\texorpdfstring{Get$<$ T\+Aggregate\+Root $>$()}{Get< TAggregateRoot >()}} {\footnotesize\ttfamily virtual T\+Aggregate\+Root \hyperlink{<API key>}{Cqrs.\+Domain.\+Repository}$<$ T\+Authentication\+Token $>$.Get$<$ T\+Aggregate\+Root $>$ (\begin{DoxyParamCaption}\item[{Guid}]{aggregate\+Id, }\item[{I\+List$<$ \hyperlink{<API key>}{I\+Event}$<$ T\+Authentication\+Token $>$$>$}]{events = {\ttfamily null} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}} Implements \hyperlink{interfaceCqrs_1_1Domain_1_1IRepository_a9a6f6fe2ae808009344f1eb8ad96f448_a9a6f6fe2ae808009344f1eb8ad96f448}{Cqrs.\+Domain.\+I\+Repository$<$ T\+Authentication\+Token $>$}. \begin{Desc} \item[Type Constraints]\begin{description} \item[{\em T\+Aggregate\+Root} : {\em I\+Aggregate\+Root$<$T\+Authentication\+Token$>$}]\end{description} \end{Desc} \mbox{\Hypertarget{classCqrs_1_1Domain_1_1Repository_a2ac905ff69a4dc44528de0ee6799474c_a2ac905ff69a4dc44528de0ee6799474c}\label{classCqrs_1_1Domain_1_1Repository_a2ac905ff69a4dc44528de0ee6799474c_a2ac905ff69a4dc44528de0ee6799474c}} \index{Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}!Load\+Aggregate$<$ T\+Aggregate\+Root $>$@{Load\+Aggregate$<$ T\+Aggregate\+Root $>$}} \index{Load\+Aggregate$<$ T\+Aggregate\+Root $>$@{Load\+Aggregate$<$ T\+Aggregate\+Root $>$}!Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}} \subsubsection{\texorpdfstring{Load\+Aggregate$<$ T\+Aggregate\+Root $>$()}{LoadAggregate< TAggregateRoot >()}} {\footnotesize\ttfamily virtual T\+Aggregate\+Root \hyperlink{<API key>}{Cqrs.\+Domain.\+Repository}$<$ T\+Authentication\+Token $>$.Load\+Aggregate$<$ T\+Aggregate\+Root $>$ (\begin{DoxyParamCaption}\item[{Guid}]{id, }\item[{I\+List$<$ \hyperlink{<API key>}{I\+Event}$<$ T\+Authentication\+Token $>$$>$}]{events = {\ttfamily null} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}} \begin{Desc} \item[Type Constraints]\begin{description} \item[{\em T\+Aggregate\+Root} : {\em I\+Aggregate\+Root$<$T\+Authentication\+Token$>$}]\end{description} \end{Desc} \mbox{\Hypertarget{classCqrs_1_1Domain_1_1Repository_ac634b50cbacdc3ab209f61c042cc6fab_ac634b50cbacdc3ab209f61c042cc6fab}\label{classCqrs_1_1Domain_1_1Repository_ac634b50cbacdc3ab209f61c042cc6fab_ac634b50cbacdc3ab209f61c042cc6fab}} \index{Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}!Load\+Aggregate\+History$<$ T\+Aggregate\+Root $>$@{Load\+Aggregate\+History$<$ T\+Aggregate\+Root $>$}} \index{Load\+Aggregate\+History$<$ T\+Aggregate\+Root $>$@{Load\+Aggregate\+History$<$ T\+Aggregate\+Root $>$}!Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}} \subsubsection{\texorpdfstring{Load\+Aggregate\+History$<$ T\+Aggregate\+Root $>$()}{<API key>< TAggregateRoot >()}} {\footnotesize\ttfamily virtual void \hyperlink{<API key>}{Cqrs.\+Domain.\+Repository}$<$ T\+Authentication\+Token $>$.Load\+Aggregate\+History$<$ T\+Aggregate\+Root $>$ (\begin{DoxyParamCaption}\item[{T\+Aggregate\+Root}]{aggregate, }\item[{I\+List$<$ \hyperlink{<API key>}{I\+Event}$<$ T\+Authentication\+Token $>$$>$}]{events = {\ttfamily null}, }\item[{bool}]{throw\+Exception\+On\+No\+Events = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}} \begin{Desc} \item[Type Constraints]\begin{description} \item[{\em T\+Aggregate\+Root} : {\em I\+Aggregate\+Root$<$T\+Authentication\+Token$>$}]\end{description} \end{Desc} \mbox{\Hypertarget{classCqrs_1_1Domain_1_1Repository_aef4df40c39f3edc0f9259089cbd3400e_aef4df40c39f3edc0f9259089cbd3400e}\label{classCqrs_1_1Domain_1_1Repository_aef4df40c39f3edc0f9259089cbd3400e_aef4df40c39f3edc0f9259089cbd3400e}} \index{Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}!Publish\+Event@{Publish\+Event}} \index{Publish\+Event@{Publish\+Event}!Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}} \subsubsection{\texorpdfstring{Publish\+Event()}{PublishEvent()}} {\footnotesize\ttfamily virtual void \hyperlink{<API key>}{Cqrs.\+Domain.\+Repository}$<$ T\+Authentication\+Token $>$.Publish\+Event (\begin{DoxyParamCaption}\item[{\hyperlink{<API key>}{I\+Event}$<$ T\+Authentication\+Token $>$ @}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}} Reimplemented in \hyperlink{classCqrs_1_1Akka_1_1Domain_1_1AkkaRepository_ae0ead40945c7600a3f3f38fa302ef35f_ae0ead40945c7600a3f3f38fa302ef35f}{Cqrs.\+Akka.\+Domain.\+Akka\+Repository$<$ T\+Authentication\+Token $>$}. \mbox{\Hypertarget{classCqrs_1_1Domain_1_1Repository_a7795a0bd435022c686306fbc76311694_a7795a0bd435022c686306fbc76311694}\label{classCqrs_1_1Domain_1_1Repository_a7795a0bd435022c686306fbc76311694_a7795a0bd435022c686306fbc76311694}} \index{Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}!Save$<$ T\+Aggregate\+Root $>$@{Save$<$ T\+Aggregate\+Root $>$}} \index{Save$<$ T\+Aggregate\+Root $>$@{Save$<$ T\+Aggregate\+Root $>$}!Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}} \subsubsection{\texorpdfstring{Save$<$ T\+Aggregate\+Root $>$()}{Save< TAggregateRoot >()}} {\footnotesize\ttfamily virtual void \hyperlink{<API key>}{Cqrs.\+Domain.\+Repository}$<$ T\+Authentication\+Token $>$.Save$<$ T\+Aggregate\+Root $>$ (\begin{DoxyParamCaption}\item[{T\+Aggregate\+Root}]{aggregate, }\item[{int?}]{expected\+Version = {\ttfamily null} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}} Implements \hyperlink{interfaceCqrs_1_1Domain_1_1IRepository_a6086f15a0fef4982da553d24aee04015_a6086f15a0fef4982da553d24aee04015}{Cqrs.\+Domain.\+I\+Repository$<$ T\+Authentication\+Token $>$}. \begin{Desc} \item[Type Constraints]\begin{description} \item[{\em T\+Aggregate\+Root} : {\em I\+Aggregate\+Root$<$T\+Authentication\+Token$>$}]\end{description} \end{Desc} \subsection{Property Documentation} \mbox{\Hypertarget{classCqrs_1_1Domain_1_1Repository_a02cee15b1d3f603c1ae437b366e83085_a02cee15b1d3f603c1ae437b366e83085}\label{classCqrs_1_1Domain_1_1Repository_a02cee15b1d3f603c1ae437b366e83085_a02cee15b1d3f603c1ae437b366e83085}} \index{Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}!Aggregate\+Factory@{Aggregate\+Factory}} \index{Aggregate\+Factory@{Aggregate\+Factory}!Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}} \subsubsection{\texorpdfstring{Aggregate\+Factory}{AggregateFactory}} {\footnotesize\ttfamily \hyperlink{<API key>}{I\+Aggregate\+Factory} \hyperlink{<API key>}{Cqrs.\+Domain.\+Repository}$<$ T\+Authentication\+Token $>$.\hyperlink{<API key>}{Aggregate\+Factory}\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [protected]}} \mbox{\Hypertarget{classCqrs_1_1Domain_1_1Repository_a3504ed9a3ff1c689ba89c574619893af_a3504ed9a3ff1c689ba89c574619893af}\label{classCqrs_1_1Domain_1_1Repository_a3504ed9a3ff1c689ba89c574619893af_a3504ed9a3ff1c689ba89c574619893af}} \index{Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}!Correlation\+Id\+Helper@{Correlation\+Id\+Helper}} \index{Correlation\+Id\+Helper@{Correlation\+Id\+Helper}!Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}} \subsubsection{\texorpdfstring{Correlation\+Id\+Helper}{CorrelationIdHelper}} {\footnotesize\ttfamily I\+Correlation\+Id\+Helper \hyperlink{<API key>}{Cqrs.\+Domain.\+Repository}$<$ T\+Authentication\+Token $>$.Correlation\+Id\+Helper\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [protected]}} \mbox{\Hypertarget{classCqrs_1_1Domain_1_1Repository_a9adbd73546e04ef67c8fb032e9c6d1a8_a9adbd73546e04ef67c8fb032e9c6d1a8}\label{classCqrs_1_1Domain_1_1Repository_a9adbd73546e04ef67c8fb032e9c6d1a8_a9adbd73546e04ef67c8fb032e9c6d1a8}} \index{Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}!Event\+Store@{Event\+Store}} \index{Event\+Store@{Event\+Store}!Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}} \subsubsection{\texorpdfstring{Event\+Store}{EventStore}} {\footnotesize\ttfamily \hyperlink{<API key>}{I\+Event\+Store}$<$T\+Authentication\+Token$>$ \hyperlink{<API key>}{Cqrs.\+Domain.\+Repository}$<$ T\+Authentication\+Token $>$.\hyperlink{<API key>}{Event\+Store}\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [protected]}} \mbox{\Hypertarget{classCqrs_1_1Domain_1_1Repository_a11b1d3a66404b212e93ca706e7c5eea4_a11b1d3a66404b212e93ca706e7c5eea4}\label{classCqrs_1_1Domain_1_1Repository_a11b1d3a66404b212e93ca706e7c5eea4_a11b1d3a66404b212e93ca706e7c5eea4}} \index{Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}!Publisher@{Publisher}} \index{Publisher@{Publisher}!Cqrs\+::\+Domain\+::\+Repository@{Cqrs\+::\+Domain\+::\+Repository}} \subsubsection{\texorpdfstring{Publisher}{Publisher}} {\footnotesize\ttfamily \hyperlink{<API key>}{I\+Event\+Publisher}$<$T\+Authentication\+Token$>$ \hyperlink{<API key>}{Cqrs.\+Domain.\+Repository}$<$ T\+Authentication\+Token $>$.Publisher\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [protected]}}
# Produced at the Lawrence Livermore National Laboratory. # This file is part of Spack. # LLNL-CODE-647188 # This program is free software; you can redistribute it and/or modify # published by the Free Software Foundation) version 2.1, February 1999. # This program is distributed in the hope that it will be useful, but # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and # You should have received a copy of the GNU Lesser General Public # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA from spack import * class PyPsyclone(PythonPackage): """Code generation for the PSyKAl framework from the GungHo project, as used by the LFRic model at the UK Met Office.""" homepage = "https://github.com/stfc/PSyclone" url = "https://github.com/stfc/PSyclone/archive/1.5.1.tar.gz" giturl = "https://github.com/stfc/PSyclone.git" version('1.5.1', git=giturl, commit='<SHA1-like>') version('develop', git=giturl, branch='master') depends_on('py-setuptools', type='build') depends_on('py-pyparsing', type=('build', 'run')) # Test cases fail without compatible versions of py-fparser: depends_on('py-fparser@0.0.5', type=('build', 'run'), when='@1.5.1') depends_on('py-fparser', type=('build', 'run'), when='@1.5.2:') # Dependencies only required for tests: depends_on('py-numpy', type='test') depends_on('py-nose', type='test') depends_on('py-pytest', type='test') @run_after('install') @<API key>(run_tests=True) def check_build(self): # Limit py.test to search inside the build tree: touch('pytest.ini') with working_dir('src'): Executable('py.test')() def setup_environment(self, spack_env, run_env): # Allow testing with installed executables: spack_env.prepend_path('PATH', self.prefix.bin)
// <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> namespace WebBuilder { public partial class DefaultPage { <summary> nameHeading control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Label nameHeading; <summary> nameSection control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Panel nameSection; <summary> formattedNameHelp control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Label formattedNameHelp; <summary> formattedNameLabel control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Label formattedNameLabel; <summary> formattedNameBox control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.TextBox formattedNameBox; <summary> nameHelp control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Label nameHelp; <summary> givenNameLabel control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Label givenNameLabel; <summary> givenNameBox control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.TextBox givenNameBox; <summary> givenNameRequired control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.<API key> givenNameRequired; <summary> familyNameLabel control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Label familyNameLabel; <summary> familyNameBox control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.TextBox familyNameBox; <summary> lastNameRequired control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.<API key> lastNameRequired; <summary> nicknamesHelp control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Label nicknamesHelp; <summary> nicknamesLabel control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Label nicknamesLabel; <summary> nicknamesBox control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.TextBox nicknamesBox; <summary> employmentHeading control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Label employmentHeading; <summary> employmentSection control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Panel employmentSection; <summary> organizationLabel control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Label organizationLabel; <summary> organizationTextBox control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.TextBox organizationTextBox; <summary> titleLabel control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Label titleLabel; <summary> titleTextBox control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.TextBox titleTextBox; <summary> workPhoneLabel control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Label workPhoneLabel; <summary> workPhoneBox control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.TextBox workPhoneBox; <summary> emailSection control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Panel emailSection; <summary> emailHelp control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Label emailHelp; <summary> workEmailLabel control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Label workEmailLabel; <summary> workEmailBox control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.TextBox workEmailBox; <summary> createButton control. </summary> <remarks> Auto-generated field. To modify move field declaration from designer file to code-behind file. </remarks> protected global::System.Web.UI.WebControls.Button createButton; } }
#include "urifor.h" #include <cutelee/exception.h> #include <cutelee/parser.h> #include <Context> #include <Cutelyst/Context> #include <Cutelyst/ParamsMultiMap> #include <QDebug> UriFor::UriFor(const QString &path, const QStringList &args, Cutelee::Parser *parser) : Cutelee::Node(parser) , m_path(path, parser) { bool foundQuery = false; for (const QString &expression : args) { // WE require the QUERY keyword to know when we are dealing with query values if (expression.compare(u"QUERY") == 0) { foundQuery = true; continue; } if (foundQuery) { m_queryExpressions.push_back(Cutelee::FilterExpression(expression, parser)); } else { m_argsExpressions.push_back(Cutelee::FilterExpression(expression, parser)); } } std::reverse(m_queryExpressions.begin(), m_queryExpressions.end()); } std::pair<QString,QString> splitQuery(const QString &query) { std::pair<QString,QString> ret; ret.first = query.section(QLatin1Char('='), 0, 0); ret.second = query.section(QLatin1Char('='), 1); return ret; } void UriFor::render(Cutelee::OutputStream *stream, Cutelee::Context *gc) const { // In case cutelyst context is not set as "c" auto c = gc->lookup(m_cutelystContext).value<Cutelyst::Context *>(); if (!c) { const QVariantHash hash = gc->stackHash(0); auto it = hash.constBegin(); while (it != hash.constEnd()) { if (it.value().userType() == qMetaTypeId<Cutelyst::Context *>()) { c = it.value().value<Cutelyst::Context *>(); if (c) { m_cutelystContext = it.key(); break; } } ++it; } if (!c) { return; } } QString path; QStringList args; Cutelyst::ParamsMultiMap queryValues; QVariant pathVar = m_path.resolve(gc); if (pathVar.userType() == qMetaTypeId<Cutelee::SafeString>()) { path = pathVar.value<Cutelee::SafeString>().get(); } else if (pathVar.type() == QVariant::String) { path = pathVar.toString(); } else { qWarning() << "c_uri_for PATH is not a valid type"; return; } for (const Cutelee::FilterExpression &exp : m_argsExpressions) { QVariant var = exp.resolve(gc); if (var.userType() == qMetaTypeId<Cutelee::SafeString>()) { args << var.value<Cutelee::SafeString>().get(); } else if (var.type() == QVariant::String) { args << var.toString(); } else if (var.type() == QVariant::StringList) { args << var.toStringList(); } } for (const Cutelee::FilterExpression &exp : m_queryExpressions) { QVariant var = exp.resolve(gc); if (var.userType() == qMetaTypeId<Cutelyst::ParamsMultiMap>()) { auto map = var.value<Cutelyst::ParamsMultiMap>(); queryValues.unite(map); } else if (var.userType() == qMetaTypeId<Cutelee::SafeString>()) { auto query = splitQuery(var.value<Cutelee::SafeString>().get()); queryValues.insert(query.first, query.second); } else if (var.type() == QVariant::String) { auto query = splitQuery(var.toString()); queryValues.insert(query.first, query.second); } else if (var.type() == QVariant::StringList) { const auto queries = var.toStringList(); for (const QString &str : queries) { auto query = splitQuery(str); queryValues.insert(query.first, query.second); } } } *stream << c->uriFor(path, args, queryValues).toString(QUrl::FullyEncoded); } Cutelee::Node *UriForTag::getNode(const QString &tagContent, Cutelee::Parser *p) const { // You almost always want to use smartSplit. QStringList parts = smartSplit(tagContent); parts.removeFirst(); // Not interested in the name of the tag. if (parts.isEmpty()) { throw Cutelee::Exception(Cutelee::TagSyntaxError, QStringLiteral("c_uri_for requires at least the path")); } return new UriFor(parts.first(), parts.mid(1), p); } #include "moc_urifor.cpp"
package org.xwiki.security.authorization.testwikis.internal.parser; import java.util.Arrays; import java.util.List; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xwiki.security.authorization.testwikis.TestDefinition; import org.xwiki.security.authorization.testwikis.TestEntity; import org.xwiki.security.authorization.testwikis.internal.entities.<API key>; /** * Root entity factory. * * @version $Id$ * @since 5.0M2 */ public class TestWikisFactory extends <API key><TestDefinition> { /** The entity created for the root. */ private TestDefinition wikis; @Override public List<String> getTagNames() { return Arrays.asList("wikis"); } @Override TestDefinition getNewInstance(ElementParser parser, String name, TestEntity parent, Attributes attributes) throws SAXException { if (wikis != null) { throw new SAXException(parser.getLocatedMessage("Only one root element is allowed per file.")); } wikis = new <API key>(); return wikis; } @Override protected void registerFactories(ElementParser parser, TestDefinition entity) { parser.register(new TestWikiFactory(wikis)); } /** * @return the entity created for the root. */ TestDefinition getWikis() { return wikis; } }
$(document).ready(function(){$projectile.ready(function(){ //jQuery.filer options var _filerOpts = $projectile._config._filerOpts; _filerOpts.theme = 'table'; _filerOpts.templates.item = '<div class="table-row files-item uploading">\ <div class="table-col"><i class="icon-jfi-reload files-item-icon"></i></div>\ <div class="table-col"><span title="{{fi-name}}">{{fi-name | limitTo: 45}}</span></div>\ <div class="table-col">{{fi-size2}}</div>\ <div class="table-col"></div>\ <div class="table-col"></div>\ <div class="table-col"></div>\ <div class="files-item-actions table-col" style="display:block">\ <ul class="list-inline">\ <li><a class="icon-jfi-ban item-trash-action" title="'+$projectile.captions.remove+'"></a></li>\ </ul>\ </div>\ {{fi-progressBar}}\ </div>'; _filerOpts.templates.itemAppended = '<div class="table-row files-item" data-file-id="{{fi-fId}}" <API key>="{{fi-rId}}" data-file-type="{{fi-type}}" data-file-extension="{{fi-extension}}" data-file-name="{{fi-name}}" data-file-user="{{fi-createdByName}}" data-file-size="{{fi-size}}" data-file-date="{{fi-created}}" data-file-orderKey="{{fi-orderKey}}">\ <div class="table-col _fcli"><input type="checkbox" class="file-item-check" id="files-item-{{fi-fId}}"><label for="files-item-{{fi-fId}}"></label></div>\ <div class="table-col"><a href="{{fi-file}}" target="_blank" class="<API key> files-item-title ns-underline" title="{{fi-name}}">{{fi-icon}} <span>{{fi-name | limitTo: 45}}</span></a></div>\ <div class="table-col">{{fi-size2}}</div>\ <div class="table-col">{{fi-date}}</div>\ <div class="table-col">{{fi-createdByName}}</div>\ <div class="table-col file-comment">{{fi-comment}}</div>\ <div class="table-col files-item-actions">\ <ul class="list-inline">\ <li><a href="{{fi-file}}" target="_blank" class="icon-jfi-download-o <API key>" title="'+$projectile.captions.download+'"'+($projectile.supportDownload?' download="{{fi-name}}"':'')+'></a></li>\ {{fi-versionsButton}}\ {{fi-lockIcon}}\ <li><a class="icon-jfi-pencil <API key>" title="'+$projectile.captions.change_comment+'"></a></li>\ <li><a class="icon-jfi-trash item-trash-action" title="'+$projectile.captions.remove+'"></a></li>\ </ul>\ </div>\ </div>'; _filerOpts.uploadFile.success = function(data, el, l, o, p, s){ if( !data || !data.Entries ) { _filerOpts.uploadFile.error( el ); modal( { type: 'error', title: $projectile.captions.errorTitle, text: data.Message } ); return false; } var val = data.Entries[0], data = [], revisionsFind = function(id){ var items = $($projectile._config.item_selector + "[data-file-id='"+id+"']"); if(items && items.length > 0){ var matches = $.grep($projectile.files, function(a,b){ return a.fId == id; }); items.remove(); return matches; } return []; }, lockFind = function(id){ var items = $($projectile._config.item_selector + "[data-file-id='"+id+"']"); if(items && items.length > 0){ var matches = $.grep($projectile.files, function(a,b){ return a.fId == id; }); if(matches[0] && matches[0].locked){ return true; } } return false; } val.name = val.fileName; val.date = $projectile.dateFormat(val.created); val.type = val.mimeType; val.file = $projectile.restUrl + "api/binary/" + $projectile.clientId + "/filerevisions/" + val.id; val.rId = val.id; val.orderKey = $projectile.files.length.toString(); val.fId = val.fileHistory; val.locked = lockFind(val.fId); val.lockIcon = '<li><a class="icon-jfi-'+(val.locked ? "unlock" : "lock")+' item-lock-action dropdown" title="'+(val.locked ? $projectile.captions.unlock : $projectile.captions.lock)+'"></a></li>'; val.revisions = revisionsFind(val.fId); val.versionsButton = (val.revisions.length > 0 ? '<li><a href="'+$projectile._location.addParameter("file",val.fId)+'" class="item-versions-show dropdown" title="'+$projectile.captions.versions+'"><i class="icon-jfi-history"></i></a></li>' : ''); val.forList = true; data.push(val); $projectile.files.push(val); data.callback = function(list){ el.removeClass("animated"); el.find('.jFiler-jProgressBar').fadeOut("slow", function(){ var parent = el, inner = parent, newItem = $(list[0]), progress = $(this); inner.fadeOut("slow", function(){ parent.html(newItem.html()); for (i = 0; i < newItem[0].attributes.length; i++){ var a = newItem[0].attributes[i]; if(a.name == "data-jfiler-index"){continue} parent.attr(a.name, a.value); } inner.fadeIn("slow"); }); }); el.removeClass("uploading"); } $($projectile._config.input_selector).trigger("filer.generateList", {data: data}); if(p.next().attr("id") == "filerComment"){ var comment = p.next("#filerComment").find("textarea"); if(comment){ comment.val(""); } } } _filerOpts.uploadFile.error = function(el){ el.removeClass('uploading'); el.find('.jFiler-jProgressBar').fadeOut("slow", function(){ $(this).closest(".table-row").find(".files-item-icon").parent().html('<i class="<API key> files-item-icon" style="color: #d9534f"></i>'); setTimeout(function(){ el.fadeOut("slow", function(){$(this).remove()}) }, 1500); $(this).remove(); }) } // run jQuery.filer $($projectile._config.input_selector).filer(_filerOpts); // modify files for(key in $projectile.files){ var val = $projectile.files[key]; val.name = val.fileName; val.date = $projectile.dateFormat(val.created); val.type = val.mimeType; val.file = $projectile.restUrl + "api/binary/" + $projectile.clientId + "/filerevisions/" + val.id; val.rId = val.id; val.lockIcon = '<li><a class="icon-jfi-'+(val.locked ? "unlock" : "lock")+' item-lock-action dropdown" title="'+(val.locked ? $projectile.captions.unlock : $projectile.captions.lock)+'"></a></li>'; val.versionsButton = (val.revisions.length > 0 ? '<li><a href="'+$projectile._location.addParameter("file",val.fId)+'" class="item-versions-show dropdown" title="'+$projectile.captions.versions+'"><i class="icon-jfi-history"></i></a></li>' : ''); } // append files $projectile.files.sort($projectile._config.defaultSort); $($projectile._config.input_selector).trigger("filer.append", {data: $projectile.files}); // lock action $(".icon-jfi-unlock.dropdown").dropdown({ template : function(r){ return "<li><a>"+r.text+"</a></li>"; }, buttons:[ { text:'<i class="icon-jfi-unlock"></i> ' + $projectile.captions.unlock, onClick: function(p,e){ p.removeClass('dropdown'); p.trigger("files-item.lock"); return true; } }, {}, { text:'<i class="<API key>"></i> ' + $projectile.captions.infoShow, onClick: function(p,e){ var id = p.closest(".files-item").attr("data-file-orderKey"), el = p, data = $.grep($projectile.files, function(a,b){ return a.orderKey == id; })[0]; modal({ type: "info", title: $projectile.captions.tInfo, text: "<b>"+$projectile.captions.file+":</b><br>" + "<p>" + data.name + "</p>" + "<b>"+$projectile.captions.tUser+":</b><br>" + "<p>" + data.lockedByName + "</p>" + "<b>"+$projectile.captions.tDate+":</b><br>" + "<p>" + $projectile.dateFormat(data.lockTime, true) + "</p>" + "<b>"+$projectile.captions.tComment+":</b><br>" + "<p>" + data.lockComment + "</p>", center: false, size: "small", buttonText: {ok:$projectile.captions.ok,yes:$projectile.captions.yes,cancel:$projectile.captions.cancel}, }); return true; } }, ] }); // run revisions page $projectile._config.version_page(); })});