text
stringlengths
2
1.05M
repo_name
stringlengths
5
101
path
stringlengths
4
991
language
stringclasses
3 values
license
stringclasses
5 values
size
int64
2
1.05M
<!DOCTYPE html><!-- DO NOT EDIT. This file auto-generated by generate_closure_unit_tests.js --><!-- Copyright 2017 The Closure Library Authors. All Rights Reserved. Use of this source code is governed by the Apache License, Version 2.0. See the COPYING file for details. --><html><head><meta charset="UTF-8"> <script src="../../../base.js"></script> <script>goog.require('goog.labs.net.webChannel.webChannelBaseTest');</script> <title>Closure Unit Tests - goog.labs.net.webChannel.webChannelBaseTest</title><!-- Copyright 2017 The Closure Library Authors. All Rights Reserved. Use of this source code is governed by the Apache License, Version 2.0. See the COPYING file for details. --> </head><body><div id="debug" style="font-size: small"> </div></body></html>
scheib/chromium
third_party/google-closure-library/closure/goog/labs/net/webchannel/webchannelbase_test.html
HTML
bsd-3-clause
766
<html> <head> <title>Destroy and Hide Element in Animation End Event</title> <style type="text/css" media="screen"> .box { height: 100px; width: 100px; margin: 10px; background-color: blue; -webkit-animation-duration: 0.2s; -webkit-animation-iteration-count: 2; } @-webkit-keyframes move { from { -webkit-transform: translate(0px, 0px); } to { -webkit-transform: translate(100px, 0px); } } </style> <script type="text/javascript" charset="utf-8"> if (window.testRunner) { testRunner.dumpAsText(); testRunner.waitUntilDone(); } var numDone = 0; function animationIterated() { ++numDone; if (numDone == 2) { if (window.GCController) GCController.collect(); document.getElementById('results').innerHTML = 'Did not crash, so PASSED'; if (window.testRunner) testRunner.notifyDone(); } } function startTest() { var box1 = document.getElementById('box1'); box1.addEventListener('webkitAnimationIteration', function() { box1.parentNode.removeChild(box1); animationIterated(); }, false); box1.style.webkitAnimationName = 'move'; var box2 = document.getElementById('box2'); box2.addEventListener('webkitAnimationIteration', function() { box2.style.display = 'none'; animationIterated(); }, false); box2.style.webkitAnimationName = 'move'; } window.addEventListener('load', startTest, false); </script> </head> <body> <p>Tests element removal and hiding within the webkitAnimationIteration event handler. Should not crash.</p> <div id="container"> <div id="box1" class="box"></div> <div id="box2" class="box"></div> </div> <div id="results"></div> </body> </html>
hgl888/blink-crosswalk-efl
LayoutTests/animations/animation-iteration-event-destroy-renderer.html
HTML
bsd-3-clause
1,846
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct template stability_counter_type</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../heap/reference.html#header.boost.heap.policies_hpp" title="Header &lt;boost/heap/policies.hpp&gt;"> <link rel="prev" href="stable.html" title="Struct template stable"> <link rel="next" href="constant_time_size.html" title="Struct template constant_time_size"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> <td align="center"><a href="../../../../index.html">Home</a></td> <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="stable.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../heap/reference.html#header.boost.heap.policies_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="constant_time_size.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.heap.stability_counter_type"></a><div class="titlepage"></div> <div class="refnamediv"> <h2><span class="refentrytitle">Struct template stability_counter_type</span></h2> <p>boost::heap::stability_counter_type &#8212; Specifies the type for stability counter. </p> </div> <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../heap/reference.html#header.boost.heap.policies_hpp" title="Header &lt;boost/heap/policies.hpp&gt;">boost/heap/policies.hpp</a>&gt; </span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IntType<span class="special">&gt;</span> <span class="keyword">struct</span> <a class="link" href="stability_counter_type.html" title="Struct template stability_counter_type">stability_counter_type</a> <span class="special">{</span> <span class="special">}</span><span class="special">;</span></pre></div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2010, 2011 Tim Blechmann<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="stable.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../heap/reference.html#header.boost.heap.policies_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="constant_time_size.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
NixaSoftware/CVis
venv/bin/doc/html/boost/heap/stability_counter_type.html
HTML
apache-2.0
3,942
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Apache Tomcat Examples</TITLE> <META http-equiv=Content-Type content="text/html"> </HEAD> <BODY> <P> <H3>Apache Tomcat Examples</H3> <P></P> <ul> <li><a href="servlets">Servlets examples</a></li> <li><a href="jsp">JSP Examples</a></li> </ul> </BODY></HTML>
Novemser/TomcatTest
webapps/examples/index.html
HTML
apache-2.0
1,127
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>amMap examples</title> <link rel="stylesheet" href="../ammap/ammap.css" type="text/css"> <script src="../ammap/ammap.js" type="text/javascript"></script> <!-- map file should be included after ammap.js --> <script src="../ammap/maps/js/worldLow.js" type="text/javascript"></script> <link rel="stylesheet" href="style.css" type="text/css"> <script> // svg path for target icon var targetSVG = "M9,0C4.029,0,0,4.029,0,9s4.029,9,9,9s9-4.029,9-9S13.971,0,9,0z M9,15.93 c-3.83,0-6.93-3.1-6.93-6.93S5.17,2.07,9,2.07s6.93,3.1,6.93,6.93S12.83,15.93,9,15.93 M12.5,9c0,1.933-1.567,3.5-3.5,3.5S5.5,10.933,5.5,9S7.067,5.5,9,5.5 S12.5,7.067,12.5,9z"; // svg path for plane icon var planeSVG = "m2,106h28l24,30h72l-44,-133h35l80,132h98c21,0 21,34 0,34l-98,0 -80,134h-35l43,-133h-71l-24,30h-28l15,-47"; var map = AmCharts.makeChart("mapdiv", { type: "map", dataProvider: { map: "worldLow", lines: [{ id: "line1", arc: -0.85, alpha: 0.3, latitudes: [48.8567, 43.8163, 34.3, 23], longitudes: [2.3510, -79.4287, -118.15, -82] }], images: [{ svgPath: targetSVG, title: "Paris", latitude: 48.8567, longitude: 2.3510 }, { svgPath: targetSVG, title: "Toronto", latitude: 43.8163, longitude: -79.4287 }, { svgPath: targetSVG, title: "Los Angeles", latitude: 34.3, longitude: -118.15 }, { svgPath: targetSVG, title: "Havana", latitude: 23, longitude: -82 },{ svgPath: planeSVG, positionOnLine: 0, color: "#585869", animateAlongLine: true, lineId: "line1", flipDirection: true, loop: true, scale: 0.03, positionScale: 1.8 }] }, areasSettings: { unlistedAreasColor: "#8dd9ef" }, imagesSettings: { color: "#585869", rollOverColor: "#585869", selectedColor: "#585869", pauseDuration: 0.2, animationDuration: 2.5, adjustAnimationSpeed: true }, linesSettings: { color: "#585869", alpha: 0.4 } }); </script> </head> <body> <div id="mapdiv" style="width: 100%; background-color:#d5eff7; height: 500px;"></div> <br> <div style="text-align:center; font-size:10px"> <a href="#" onclick="map.setProjection('winkel3')">Winkel 3</a> | <a href="#" onclick="map.setProjection('eckert3')">Eckert 3</a> | <a href="#" onclick="map.setProjection('eckert5')">Eckert 5</a> | <a href="#" onclick="map.setProjection('eckert6')">Eckert 6</a> | <a href="#" onclick="map.setProjection('miller')">Miller</a> | <a href="#" onclick="map.setProjection('equirectangular')">Equirectangular</a> | <a href="#" onclick="map.setProjection('mercator')">Mercator</a> </div> </body> </html>
si-quimera/avante
webroot/bower_components/ammap3/samples/_JSON_changingProjections.html
HTML
mit
4,106
<!DOCTYPE html> <html lang="en"> <head> <title>three.js webgl - raymarching - reflect</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <style type="text/css"> html, body { height: 100%; } body { background-color: black; margin: 0; padding: 0; } a { color: skyblue } #container { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; } #info { position: absolute; color: white; font-size: 13px; bottom: 10px; width: 100%; text-align: center; z-index: 100; } </style> </head> <body> <div id="info"> <a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> - webgl raymarching example - reflect by <a href="https://github.com/gam0022" target="_blank" rel="noopener">gam0022</a> (<a href="http://qiita.com/gam0022/items/03699a07e4a4b5f2d41f" target="_blank" rel="noopener">article</a>) </div> <div id="container"> <canvas id="canvas"></canvas> </div> <script id="fragment_shader" type="x-shader/x-fragment"> precision highp float; uniform vec2 resolution; uniform mat4 viewMatrix; uniform vec3 cameraPosition; uniform mat4 cameraWorldMatrix; uniform mat4 cameraProjectionMatrixInverse; const float EPS = 0.01; const float OFFSET = EPS * 100.0; const vec3 lightDir = vec3( -0.48666426339228763, 0.8111071056538127, -0.3244428422615251 ); // distance functions vec3 opRep( vec3 p, float interval ) { vec2 q = mod( p.xz, interval ) - interval * 0.5; return vec3( q.x, p.y, q.y ); } float sphereDist( vec3 p, float r ) { return length( opRep( p, 3.0 ) ) - r; } float floorDist( vec3 p ){ return dot(p, vec3( 0.0, 1.0, 0.0 ) ) + 1.0; } vec4 minVec4( vec4 a, vec4 b ) { return ( a.a < b.a ) ? a : b; } float checkeredPattern( vec3 p ) { float u = 1.0 - floor( mod( p.x, 2.0 ) ); float v = 1.0 - floor( mod( p.z, 2.0 ) ); if ( ( u == 1.0 && v < 1.0 ) || ( u < 1.0 && v == 1.0 ) ) { return 0.2; } else { return 1.0; } } vec3 hsv2rgb( vec3 c ) { vec4 K = vec4( 1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0 ); vec3 p = abs( fract( c.xxx + K.xyz ) * 6.0 - K.www ); return c.z * mix( K.xxx, clamp( p - K.xxx, 0.0, 1.0 ), c.y ); } float sceneDist( vec3 p ) { return min( sphereDist( p, 1.0 ), floorDist( p ) ); } vec4 sceneColor( vec3 p ) { return minVec4( // 3 * 6 / 2 = 9 vec4( hsv2rgb(vec3( ( p.z + p.x ) / 9.0, 1.0, 1.0 ) ), sphereDist( p, 1.0 ) ), vec4( vec3( 0.5 ) * checkeredPattern( p ), floorDist( p ) ) ); } vec3 getNormal( vec3 p ) { return normalize(vec3( sceneDist(p + vec3( EPS, 0.0, 0.0 ) ) - sceneDist(p + vec3( -EPS, 0.0, 0.0 ) ), sceneDist(p + vec3( 0.0, EPS, 0.0 ) ) - sceneDist(p + vec3( 0.0, -EPS, 0.0 ) ), sceneDist(p + vec3( 0.0, 0.0, EPS ) ) - sceneDist(p + vec3( 0.0, 0.0, -EPS ) ) )); } float getShadow( vec3 ro, vec3 rd ) { float h = 0.0; float c = 0.0; float r = 1.0; float shadowCoef = 0.5; for ( float t = 0.0; t < 50.0; t++ ) { h = sceneDist( ro + rd * c ); if ( h < EPS ) return shadowCoef; r = min( r, h * 16.0 / c ); c += h; } return 1.0 - shadowCoef + r * shadowCoef; } vec3 getRayColor( vec3 origin, vec3 ray, out vec3 pos, out vec3 normal, out bool hit ) { // marching loop float dist; float depth = 0.0; pos = origin; for ( int i = 0; i < 64; i++ ){ dist = sceneDist( pos ); depth += dist; pos = origin + depth * ray; if ( abs(dist) < EPS ) break; } // hit check and calc color vec3 color; if ( abs(dist) < EPS ) { normal = getNormal( pos ); float diffuse = clamp( dot( lightDir, normal ), 0.1, 1.0 ); float specular = pow( clamp( dot( reflect( lightDir, normal ), ray ), 0.0, 1.0 ), 10.0 ); float shadow = getShadow( pos + normal * OFFSET, lightDir ); color = ( sceneColor( pos ).rgb * diffuse + vec3( 0.8 ) * specular ) * max( 0.5, shadow ); hit = true; } else { color = vec3( 0.0 ); } return color - pow( clamp( 0.05 * depth, 0.0, 0.6 ), 2.0 ); } void main(void) { // screen position vec2 screenPos = ( gl_FragCoord.xy * 2.0 - resolution ) / resolution; // ray direction in normalized device coordinate vec4 ndcRay = vec4( screenPos.xy, 1.0, 1.0 ); // convert ray direction from normalized device coordinate to world coordinate vec3 ray = ( cameraWorldMatrix * cameraProjectionMatrixInverse * ndcRay ).xyz; ray = normalize( ray ); // camera position vec3 cPos = cameraPosition; // cast ray vec3 color = vec3( 0.0 ); vec3 pos, normal; bool hit; float alpha = 1.0; for ( int i = 0; i < 3; i++ ) { color += alpha * getRayColor( cPos, ray, pos, normal, hit ); alpha *= 0.3; ray = normalize( reflect( ray, normal ) ); cPos = pos + normal * OFFSET; if ( !hit ) break; } gl_FragColor = vec4( color, 1.0 ); } </script> <script id="vertex_shader" type="x-shader/x-vertex"> attribute vec3 position; void main(void) { gl_Position = vec4(position, 1.0); } </script> <script src="../build/three.js"></script> <script src="js/controls/OrbitControls.js"></script> <script src="js/libs/stats.min.js"></script> <script src="js/libs/dat.gui.min.js"></script> <script> var dolly, camera, scene, renderer; var geometry, material, mesh; var stats; var config = { saveImage: function () { renderer.render( scene, camera ); window.open( canvas.toDataURL() ); }, resolution: '512' }; init(); render(); function init() { renderer = new THREE.WebGLRenderer( { canvas: canvas } ); renderer.setPixelRatio( window.devicePixelRatio ); renderer.setSize( config.resolution, config.resolution ); window.addEventListener( 'resize', onWindowResize ); // Scene scene = new THREE.Scene(); dolly = new THREE.Group(); scene.add( dolly ); camera = new THREE.PerspectiveCamera( 60, canvas.width / canvas.height, 1, 2000 ); camera.position.z = 4; dolly.add( camera ); geometry = new THREE.PlaneBufferGeometry( 2.0, 2.0 ); material = new THREE.RawShaderMaterial( { uniforms: { resolution: { value: new THREE.Vector2( canvas.width, canvas.height ) }, cameraWorldMatrix: { value: camera.matrixWorld }, cameraProjectionMatrixInverse: { value: new THREE.Matrix4().getInverse( camera.projectionMatrix ) } }, vertexShader: document.getElementById( 'vertex_shader' ).textContent, fragmentShader: document.getElementById( 'fragment_shader' ).textContent } ); mesh = new THREE.Mesh( geometry, material ); mesh.frustumCulled = false; scene.add( mesh ); // Controls var controls = new THREE.OrbitControls( camera, canvas ); // GUI var gui = new dat.GUI(); gui.add( config, 'saveImage' ).name( 'Save Image' ); gui.add( config, 'resolution', [ '256', '512', '800', 'full' ] ).name( 'Resolution' ).onChange( onWindowResize ); stats = new Stats(); document.body.appendChild( stats.dom ); } function onWindowResize() { if ( config.resolution === 'full' ) { renderer.setSize( window.innerWidth, window.innerHeight ); } else { renderer.setSize( config.resolution, config.resolution ); } camera.aspect = canvas.width / canvas.height; camera.updateProjectionMatrix(); material.uniforms.resolution.value.set( canvas.width, canvas.height ); material.uniforms.cameraProjectionMatrixInverse.value.getInverse( camera.projectionMatrix ); } function render( time ) { stats.begin(); dolly.position.z = - time / 1000; renderer.render( scene, camera ); stats.end(); requestAnimationFrame( render ); } </script> </body> </html>
jeffgoku/three.js
examples/webgl_raymarching_reflect.html
HTML
mit
8,110
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_26) on Thu Nov 08 03:57:19 PST 2012 --> <TITLE> Uses of Class com.intel.hadoop.graphbuilder.idnormalize.mapreduce.SortDictMR </TITLE> <META NAME="date" CONTENT="2012-11-08"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class com.intel.hadoop.graphbuilder.idnormalize.mapreduce.SortDictMR"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <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/intel/hadoop/graphbuilder/idnormalize/mapreduce/SortDictMR.html" title="class in com.intel.hadoop.graphbuilder.idnormalize.mapreduce"><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-files/index-1.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> </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/intel/hadoop/graphbuilder/idnormalize/mapreduce//class-useSortDictMR.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="SortDictMR.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> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Class<br>com.intel.hadoop.graphbuilder.idnormalize.mapreduce.SortDictMR</B></H2> </CENTER> No usage of com.intel.hadoop.graphbuilder.idnormalize.mapreduce.SortDictMR <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <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="navbar_bottom_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/intel/hadoop/graphbuilder/idnormalize/mapreduce/SortDictMR.html" title="class in com.intel.hadoop.graphbuilder.idnormalize.mapreduce"><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-files/index-1.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> </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/intel/hadoop/graphbuilder/idnormalize/mapreduce//class-useSortDictMR.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="SortDictMR.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> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
jy4618272/graphbuilder
doc/com/intel/hadoop/graphbuilder/idnormalize/mapreduce/class-use/SortDictMR.html
HTML
apache-2.0
6,266
<!DOCTYPE html> <html lang="en"> <head> <title>three.js canvas - point light</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <style> body { background-color: #000000; margin: 0px; overflow: hidden; } #info { position: absolute; top: 0px; width: 100%; color: #ffffff; padding: 5px; font-family: Monospace; font-size: 13px; text-align: center; } a { color: #ff0080; text-decoration: none; } a:hover { color: #0080ff; } </style> </head> <body> <div id="container"></div> <div id="info"> <a href="http://threejs.org" target="_blank">three.js</a> - point lights demo.<br /> Walt Disney head by <a href="http://davidoreilly.com/post/18087489343/disneyhead" target="_blank">David OReilly</a> </div> <script src="../build/three.min.js"></script> <script> var camera, scene, renderer, light1, light2, light3, loader, mesh; init(); animate(); function init() { var container = document.getElementById( 'container' ); camera = new THREE.PerspectiveCamera( 60, window.innerWidth / window.innerHeight, 1, 1000 ); camera.position.set( 0, - 6, 100 ); scene = new THREE.Scene(); scene.add( new THREE.AmbientLight( 0x00020 ) ); light1 = new THREE.PointLight( 0xff0040, 1, 50 ); scene.add( light1 ); light2 = new THREE.PointLight( 0x0040ff, 1, 50 ); scene.add( light2 ); light3 = new THREE.PointLight( 0x80ff80, 1, 50 ); scene.add( light3 ); var PI2 = Math.PI * 2; var program = function ( context ) { context.beginPath(); context.arc( 0, 0, 0.5, 0, PI2, true ); context.fill(); } var sprite = new THREE.Sprite( new THREE.SpriteCanvasMaterial( { color: 0xff0040, program: program } ) ); light1.add( sprite ); var sprite = new THREE.Sprite( new THREE.SpriteCanvasMaterial( { color: 0x0040ff, program: program } ) ); light2.add( sprite ); var sprite = new THREE.Sprite( new THREE.SpriteCanvasMaterial( { color: 0x80ff80, program: program } ) ); light3.add( sprite ); loader = new THREE.JSONLoader(); loader.load( 'obj/WaltHeadLo.js', function ( geometry ) { mesh = new THREE.Mesh( geometry, new THREE.MeshLambertMaterial( { color: 0xffffff, shading: THREE.FlatShading, overdraw: 0.5 } ) ); scene.add( mesh ); } ); renderer = new THREE.CanvasRenderer(); renderer.setSize( window.innerWidth, window.innerHeight ); container.appendChild( renderer.domElement ); // window.addEventListener( 'resize', onWindowResize, false ); } function onWindowResize() { camera.aspect = window.innerWidth / window.innerHeight; camera.updateProjectionMatrix(); renderer.setSize( window.innerWidth, window.innerHeight ); } // function animate() { requestAnimationFrame( animate ); render(); } function render() { var time = Date.now() * 0.0005; if ( mesh ) mesh.rotation.y -= 0.01; light1.position.x = Math.sin( time * 0.7 ) * 30; light1.position.y = Math.cos( time * 0.5 ) * 40; light1.position.z = Math.cos( time * 0.3 ) * 30; light2.position.x = Math.cos( time * 0.3 ) * 30; light2.position.y = Math.sin( time * 0.5 ) * 40; light2.position.z = Math.sin( time * 0.7 ) * 30; light3.position.x = Math.sin( time * 0.7 ) * 30; light3.position.y = Math.cos( time * 0.3 ) * 40; light3.position.z = Math.sin( time * 0.5 ) * 30; renderer.render( scene, camera ); } </script> </body> </html>
camellhf/three.js.sourcecode
org/examples/canvas_lights_pointlights.html
HTML
apache-2.0
3,635
<!DOCTYPE html> <title>@scroll-timeline: Element-based offsets</title> <link rel="help" src="https://drafts.csswg.org/scroll-animations-1/#scroll-timeline-at-rule"> <link rel="help" src="https://drafts.csswg.org/scroll-animations-1/#element-based-offset-section"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/web-animations/testcommon.js"></script> <style> #scroller { overflow: scroll; width: 100px; height: 100px; } .filler { height: 150px; background-color: darkgray; } .offset { height: 50px; background-color: green; } @keyframes expand { from { width: 100px; } to { width: 200px; } } @scroll-timeline timeline_start_start { source: selector(#scroller); start: selector(#offset1); end: selector(#offset2); } @scroll-timeline timeline_end_end { source: selector(#scroller); start: selector(#offset1) end; end: selector(#offset2) end; } @scroll-timeline timeline_end_start { source: selector(#scroller); start: selector(#offset1) end; end: selector(#offset2) start; } @scroll-timeline timeline_end_1_end { source: selector(#scroller); start: selector(#offset1) end 1; end: selector(#offset2) end; } @scroll-timeline timeline_end_start_05 { source: selector(#scroller); start: selector(#offset1) end; end: selector(#offset2) 0.5; } @scroll-timeline timeline_start_400px { source: selector(#scroller); start: selector(#offset1); end: 400px; } @scroll-timeline timeline_50px_end { source: selector(#scroller); start: 50px; end: selector(#offset2) end; } @scroll-timeline timeline_outside { source: selector(#scroller); start: selector(#offset_outside); end: auto; } @scroll-timeline timeline_display_none { source: selector(#scroller); start: selector(#offset_display_none); end: auto; } @scroll-timeline timeline_null_target { source: selector(#scroller); start: selector(#no_such_id); end: selector(#no_such_id); } #container > div { width: 0px; animation-name: expand; animation-duration: 10s; animation-timing-function: linear; } /* Ensure stable expectations if feature is not supported */ @supports not (animation-timeline:foo) { #container > div { animation-play-state: paused; } } #element_start_start { animation-timeline: timeline_start_start; } #element_end_end { animation-timeline: timeline_end_end; } #element_end_start { animation-timeline: timeline_end_start; } #element_end_1_end { animation-timeline: timeline_end_1_end; } #element_end_start_05 { animation-timeline: timeline_end_start_05; } #element_start_400px { animation-timeline: timeline_start_400px; } #element_50px_end { animation-timeline: timeline_50px_end; } #element_outside { animation-timeline: timeline_outside; } #element_display_none { animation-timeline: timeline_display_none; } #element_null_target { animation-timeline: timeline_null_target; } </style> <div id=scroller> <div id=contents> <div class=filler></div> <div class=offset id=offset1></div> <div class=filler></div> <div class=offset id=offset2></div> <div class=filler></div> </div> </div> <div id=offset_outside></div> <div id=offset_display_none style="display:none"></div> <div id=container> <div id=element_start_start></div> <div id=element_end_end></div> <div id=element_end_start></div> <div id=element_end_1_end></div> <div id=element_end_start_05></div> <div id=element_start_400px></div> <div id=element_50px_end></div> <div id=element_outside></div> <div id=element_display_none></div> <div id=element_null_target></div> </div> <script> // The contents of the scroller looks approximately like this: // // +-------+ // | | // | 150px | filler // | | // +-------+ // +-------+ // | 50px | #offset1 // +-------+ // +-------+ // | | // | 150px | filler // | | // +-------+ // +-------+ // | 50px | #offset2 // +-------+ // +-------+ // | | // | 150px | filler // | | // +-------+ // // The height of the scrollport is 100px. // Scrolls top to 'offset', waits for a frame, then call the provided // assertions function. function test_scroll(element, offset, assertions, description) { promise_test(async (t) => { scroller.scrollTop = offset; await waitForNextFrame(); assertions(); }, `${description} [${element.id}]`); } // Tests that the computed value of 'width' on element is the expected value // after scrolling top to the specifed offset. function test_width_at_scroll_top(element, offset, expected) { test_scroll(element, offset, () => { assert_equals(getComputedStyle(element).width, expected); }, `Scroll at offset ${offset} updates animation correctly`); } // [200, 400] test_width_at_scroll_top(element_start_start, 0, '0px'); test_width_at_scroll_top(element_start_start, 199, '0px'); test_width_at_scroll_top(element_start_start, 200, '100px'); test_width_at_scroll_top(element_start_start, 300, '150px'); test_width_at_scroll_top(element_start_start, 398, '199px'); test_width_at_scroll_top(element_start_start, 400, '0px'); // [50, 250] test_width_at_scroll_top(element_end_end, 0, '0px'); test_width_at_scroll_top(element_end_end, 49, '0px'); test_width_at_scroll_top(element_end_end, 50, '100px'); test_width_at_scroll_top(element_end_end, 150, '150px'); test_width_at_scroll_top(element_end_end, 248, '199px'); test_width_at_scroll_top(element_end_end, 250, '0px'); // [50, 400] test_width_at_scroll_top(element_end_start, 0, '0px'); test_width_at_scroll_top(element_end_start, 49, '0px'); test_width_at_scroll_top(element_end_start, 50, '100px'); test_width_at_scroll_top(element_end_start, 225, '150px'); test_width_at_scroll_top(element_end_start, 393, '198px'); test_width_at_scroll_top(element_end_start, 400, '0px'); // [100, 250] test_width_at_scroll_top(element_end_1_end, 0, '0px'); test_width_at_scroll_top(element_end_1_end, 99, '0px'); test_width_at_scroll_top(element_end_1_end, 100, '100px'); test_width_at_scroll_top(element_end_1_end, 175, '150px'); test_width_at_scroll_top(element_end_1_end, 247, '198px'); test_width_at_scroll_top(element_end_1_end, 250, '0px'); // [50, 375] test_width_at_scroll_top(element_end_start_05, 0, '0px'); test_width_at_scroll_top(element_end_start_05, 49, '0px'); test_width_at_scroll_top(element_end_start_05, 50, '100px'); test_width_at_scroll_top(element_end_start_05, 206, '148px'); test_width_at_scroll_top(element_end_start_05, 362, '196px'); test_width_at_scroll_top(element_end_start_05, 375, '0px'); // [200, 300] test_width_at_scroll_top(element_start_400px, 0, '0px'); test_width_at_scroll_top(element_start_400px, 199, '0px'); test_width_at_scroll_top(element_start_400px, 200, '100px'); test_width_at_scroll_top(element_start_400px, 300, '150px'); test_width_at_scroll_top(element_start_400px, 398, '199px'); test_width_at_scroll_top(element_start_400px, 400, '0px'); // [50, 250] test_width_at_scroll_top(element_50px_end, 0, '0px'); test_width_at_scroll_top(element_50px_end, 49, '0px'); test_width_at_scroll_top(element_50px_end, 50, '100px'); test_width_at_scroll_top(element_50px_end, 150, '150px'); test_width_at_scroll_top(element_50px_end, 248, '199px'); test_width_at_scroll_top(element_50px_end, 250, '0px'); // Offset not a decendant of scroller (=> no effect value) test_width_at_scroll_top(element_outside, 0, '0px'); test_width_at_scroll_top(element_outside, 100, '0px'); test_width_at_scroll_top(element_outside, 200, '0px'); test_width_at_scroll_top(element_outside, 300, '0px'); test_width_at_scroll_top(element_outside, 400, '0px'); test_width_at_scroll_top(element_outside, 450, '0px'); // Target of element-based offset has no layout box (=> no effect value) test_width_at_scroll_top(element_display_none, 0, '0px'); test_width_at_scroll_top(element_display_none, 100, '0px'); test_width_at_scroll_top(element_display_none, 200, '0px'); test_width_at_scroll_top(element_display_none, 300, '0px'); test_width_at_scroll_top(element_display_none, 400, '0px'); test_width_at_scroll_top(element_display_none, 450, '0px'); // Target of element-based offset is null (=> no effect value) test_width_at_scroll_top(element_null_target, 0, '0px'); test_width_at_scroll_top(element_null_target, 100, '0px'); test_width_at_scroll_top(element_null_target, 200, '0px'); test_width_at_scroll_top(element_null_target, 300, '0px'); test_width_at_scroll_top(element_null_target, 400, '0px'); test_width_at_scroll_top(element_null_target, 450, '0px'); </script>
scheib/chromium
third_party/blink/web_tests/external/wpt/scroll-animations/css/at-scroll-timeline-element-offsets.html
HTML
bsd-3-clause
8,899
<!DOCTYPE html> <meta charset=utf-8> <title>Document.implementation</title> <link rel=help href="https://dom.spec.whatwg.org/#dom-document-implementation"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <div id="log"></div> <script> test(function() { var implementation = document.implementation; assert_true(implementation instanceof DOMImplementation, "implementation should implement DOMImplementation"); assert_equals(document.implementation, implementation); }, "Getting implementation off the same document"); test(function() { var doc = document.implementation.createHTMLDocument(); assert_not_equals(document.implementation, doc.implementation); }, "Getting implementation off different documents"); </script>
youtube/cobalt
third_party/web_platform_tests/dom/nodes/Document-implementation.html
HTML
bsd-3-clause
802
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_34) on Mon Jun 03 22:20:33 BST 2013 --> <TITLE> Uses of Interface org.newdawn.slick.command.InputProviderListener (Slick - The 2D Library) </TITLE> <META NAME="date" CONTENT="2013-06-03"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Interface org.newdawn.slick.command.InputProviderListener (Slick - The 2D Library)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <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="../../../../../org/newdawn/slick/command/InputProviderListener.html" title="interface in org.newdawn.slick.command"><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> </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?org/newdawn/slick/command//class-useInputProviderListener.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="InputProviderListener.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> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Interface<br>org.newdawn.slick.command.InputProviderListener</B></H2> </CENTER> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Packages that use <A HREF="../../../../../org/newdawn/slick/command/InputProviderListener.html" title="interface in org.newdawn.slick.command">InputProviderListener</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.newdawn.slick.command"><B>org.newdawn.slick.command</B></A></TD> <TD>Provides abstract input by mapping physical device inputs (mouse, keyboard and controllers) to abstract commands that are relevant to a particular game.&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.newdawn.slick.tests"><B>org.newdawn.slick.tests</B></A></TD> <TD>Tests for the facilities provided by the library.&nbsp;</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.newdawn.slick.command"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../../org/newdawn/slick/command/InputProviderListener.html" title="interface in org.newdawn.slick.command">InputProviderListener</A> in <A HREF="../../../../../org/newdawn/slick/command/package-summary.html">org.newdawn.slick.command</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/newdawn/slick/command/package-summary.html">org.newdawn.slick.command</A> with parameters of type <A HREF="../../../../../org/newdawn/slick/command/InputProviderListener.html" title="interface in org.newdawn.slick.command">InputProviderListener</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B>InputProvider.</B><B><A HREF="../../../../../org/newdawn/slick/command/InputProvider.html#addListener(org.newdawn.slick.command.InputProviderListener)">addListener</A></B>(<A HREF="../../../../../org/newdawn/slick/command/InputProviderListener.html" title="interface in org.newdawn.slick.command">InputProviderListener</A>&nbsp;listener)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a listener to the provider.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B>InputProvider.</B><B><A HREF="../../../../../org/newdawn/slick/command/InputProvider.html#removeListener(org.newdawn.slick.command.InputProviderListener)">removeListener</A></B>(<A HREF="../../../../../org/newdawn/slick/command/InputProviderListener.html" title="interface in org.newdawn.slick.command">InputProviderListener</A>&nbsp;listener)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove a listener from this provider.</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.newdawn.slick.tests"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../../org/newdawn/slick/command/InputProviderListener.html" title="interface in org.newdawn.slick.command">InputProviderListener</A> in <A HREF="../../../../../org/newdawn/slick/tests/package-summary.html">org.newdawn.slick.tests</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../org/newdawn/slick/tests/package-summary.html">org.newdawn.slick.tests</A> that implement <A HREF="../../../../../org/newdawn/slick/command/InputProviderListener.html" title="interface in org.newdawn.slick.command">InputProviderListener</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/newdawn/slick/tests/InputProviderTest.html" title="class in org.newdawn.slick.tests">InputProviderTest</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A test for abstract input via InputProvider</TD> </TR> </TABLE> &nbsp; <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <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="navbar_bottom_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="../../../../../org/newdawn/slick/command/InputProviderListener.html" title="interface in org.newdawn.slick.command"><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> </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?org/newdawn/slick/command//class-useInputProviderListener.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="InputProviderListener.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> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> <i>Copyright &#169; 2006 New Dawn Software. All Rights Reserved.</i> </BODY> </HTML>
j-dong/trashjam2017
libs/slick2d/javadoc/org/newdawn/slick/command/class-use/InputProviderListener.html
HTML
mit
10,570
<!DOCTYPE html> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <div id='container'> <div id='element'></div> </div> <script> var element = document.getElementById('element'); var container = document.getElementById('container'); test(function() { element.style.fontSize = '10px'; var player = element.animate([{verticalAlign: '3em'}, {verticalAlign: '5em'}], 10); player.pause(); player.currentTime = 5; element.style.fontSize = '20px'; assert_equals(getComputedStyle(element).verticalAlign, '80px'); }, 'verticalAlign responsive to style changes'); </script>
chromium/chromium
third_party/blink/web_tests/external/wpt/web-animations/responsive/verticalAlign.html
HTML
bsd-3-clause
647
<!DOCTYPE html> <!-- Copyright (c) 2014 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the original copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this work without specific prior written permission. THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: Cao, Jun <[email protected]> --> <html> <head> <title>WebGL Test: webglrenderingcontext_SHADER_TYPE_value</title> <link rel="author" title="Intel" href="http://www.intel.com" /> <link rel="help" href="https://www.khronos.org/registry/webgl/specs/1.0/" /> <meta name="flags" content="" /> <meta name="assert" content="Check if WebGLRenderingContext.SHADER_TYPE constant value is 0x8B4F"/> <script src="../resources/testharness.js"></script> <script src="../resources/testharnessreport.js"></script> <script src="support/webgl.js"></script> </head> <body> <div id="log"></div> <canvas id="canvas" width="200" height="100" style="border:1px solid #c3c3c3;"> Your browser does not support the canvas element. </canvas> <script> getwebgl(); webgl_constant_value(webgl, 'SHADER_TYPE', 0x8B4F); </script> </body> </html>
hgl888/web-testing-service
wts/tests/webgl/webglrenderingcontext_SHADER_TYPE_value.html
HTML
bsd-3-clause
2,363
<!-- Copyright (c) Microsoft Corporation. All rights reserved --> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <link rel="stylesheet" href="/css/scenario2_Polling.css" /> <script src="/js/scenario2_Polling.js"></script> </head> <body> <div> <p>Polls for inclinometer data and displays the pitch, roll and yaw values at a set interval.</p> <button class="action" id="scenario2Open">Enable</button> <button class="action secondary" id="scenario2Revoke">Disable</button> <br /> <br /> X: <a id="readingOutputX">no data</a> <br /> Y: <a id="readingOutputY">no data</a> <br /> Z: <a id="readingOutputZ">no data</a> <br /> Yaw Accuracy: <a id="eventOutputYawAccuracy">no data</a> <br /> </div> </body> </html>
gforguru/Windows-universal-samples
inclinometer/js/html/scenario2_polling.html
HTML
mit
881
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>ublas: boost::numeric::ublas::scalar_matrix&lt; T, ALLOC &gt;::const_iterator2 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.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="pages.html"><span>Related&nbsp;Pages</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> </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>boost</b>::<b>numeric</b>::<b>ublas</b>::<a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix.html">scalar_matrix</a>::<a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator2.html">const_iterator2</a> </div> </div> <div class="contents"> <h1>boost::numeric::ublas::scalar_matrix&lt; T, ALLOC &gt;::const_iterator2 Class Reference</h1><!-- doxytag: class="boost::numeric::ublas::scalar_matrix::const_iterator2" --> <p><a href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator2-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a401f7012cf659e653f44ab78b77e8186"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::value_type" ref="a401f7012cf659e653f44ab78b77e8186" args="" --> typedef scalar_matrix::value_type&nbsp;</td><td class="memItemRight" valign="bottom"><b>value_type</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af7c8953bd8dd0af72dc201bb321564ef"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::difference_type" ref="af7c8953bd8dd0af72dc201bb321564ef" args="" --> typedef <br class="typebreak"/> scalar_matrix::difference_type&nbsp;</td><td class="memItemRight" valign="bottom"><b>difference_type</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10808afc0f5adffe69c85602bb850e8f"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::reference" ref="a10808afc0f5adffe69c85602bb850e8f" args="" --> typedef <br class="typebreak"/> scalar_matrix::const_reference&nbsp;</td><td class="memItemRight" valign="bottom"><b>reference</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a02e76e1b04856b04fa4360f0fc3b9497"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::pointer" ref="a02e76e1b04856b04fa4360f0fc3b9497" args="" --> typedef <br class="typebreak"/> scalar_matrix::const_pointer&nbsp;</td><td class="memItemRight" valign="bottom"><b>pointer</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e125acee0d98bcfd91877cca29aa4bd"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::dual_iterator_type" ref="a5e125acee0d98bcfd91877cca29aa4bd" args="" --> typedef <a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator1.html">const_iterator1</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>dual_iterator_type</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7f4b705686dd4a15f4b519e0a960ee3b"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::dual_reverse_iterator_type" ref="a7f4b705686dd4a15f4b519e0a960ee3b" args="" --> typedef const_reverse_iterator1&nbsp;</td><td class="memItemRight" valign="bottom"><b>dual_reverse_iterator_type</b></td></tr> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c34f596077d98fd95a1c35949a3631d"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::const_iterator2" ref="a3c34f596077d98fd95a1c35949a3631d" args="(const scalar_matrix &amp;m, const const_subiterator_type &amp;it1, const const_subiterator_type &amp;it2)" --> BOOST_UBLAS_INLINE&nbsp;</td><td class="memItemRight" valign="bottom"><b>const_iterator2</b> (const <a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix.html">scalar_matrix</a> &amp;m, const const_subiterator_type &amp;it1, const const_subiterator_type &amp;it2)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a29094383d57f5802c72d87581a95d05b"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::operator++" ref="a29094383d57f5802c72d87581a95d05b" args="()" --> BOOST_UBLAS_INLINE <br class="typebreak"/> <a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator2.html">const_iterator2</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator++</b> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af99a055acc057228251e093e76683f62"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::operator&#45;&#45;" ref="af99a055acc057228251e093e76683f62" args="()" --> BOOST_UBLAS_INLINE <br class="typebreak"/> <a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator2.html">const_iterator2</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator--</b> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad4ce5b70c7465455af393b184970f8d0"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::operator+=" ref="ad4ce5b70c7465455af393b184970f8d0" args="(difference_type n)" --> BOOST_UBLAS_INLINE <br class="typebreak"/> <a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator2.html">const_iterator2</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator+=</b> (difference_type n)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acfb22ed8b9df08fd4b1d5c52957ee99f"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::operator&#45;=" ref="acfb22ed8b9df08fd4b1d5c52957ee99f" args="(difference_type n)" --> BOOST_UBLAS_INLINE <br class="typebreak"/> <a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator2.html">const_iterator2</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator-=</b> (difference_type n)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7eaf6128a65f8943e79443a926c36b5"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::operator&#45;" ref="ab7eaf6128a65f8943e79443a926c36b5" args="(const const_iterator2 &amp;it) const " --> BOOST_UBLAS_INLINE difference_type&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator-</b> (const <a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator2.html">const_iterator2</a> &amp;it) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb547fd84e58983c0dc6f04f6572c1ba"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::operator*" ref="aeb547fd84e58983c0dc6f04f6572c1ba" args="() const " --> BOOST_UBLAS_INLINE const_reference&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator*</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2a8719f206f708d101b21c1ca621ddd0"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::operator[]" ref="a2a8719f206f708d101b21c1ca621ddd0" args="(difference_type n) const " --> BOOST_UBLAS_INLINE const_reference&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (difference_type n) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5bc1708e5b0bd227c70d912ad87e3744"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::begin" ref="a5bc1708e5b0bd227c70d912ad87e3744" args="() const " --> BOOST_UBLAS_INLINE <a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator1.html">const_iterator1</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>begin</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab5a745a2f400a2940d111cc384143780"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::end" ref="ab5a745a2f400a2940d111cc384143780" args="() const " --> BOOST_UBLAS_INLINE <a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator1.html">const_iterator1</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>end</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6ef9a6d5d3ff3d12a6a8bd58da97d55b"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::rbegin" ref="a6ef9a6d5d3ff3d12a6a8bd58da97d55b" args="() const " --> BOOST_UBLAS_INLINE <br class="typebreak"/> const_reverse_iterator1&nbsp;</td><td class="memItemRight" valign="bottom"><b>rbegin</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8f4288c81a02f5f97aef2a253c117cc7"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::rend" ref="a8f4288c81a02f5f97aef2a253c117cc7" args="() const " --> BOOST_UBLAS_INLINE <br class="typebreak"/> const_reverse_iterator1&nbsp;</td><td class="memItemRight" valign="bottom"><b>rend</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9315e93cf5ee5a6cde93777960f2bf28"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::index1" ref="a9315e93cf5ee5a6cde93777960f2bf28" args="() const " --> BOOST_UBLAS_INLINE size_type&nbsp;</td><td class="memItemRight" valign="bottom"><b>index1</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afa522f31c3cb6375b79e78e16889abf4"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::index2" ref="afa522f31c3cb6375b79e78e16889abf4" args="() const " --> BOOST_UBLAS_INLINE size_type&nbsp;</td><td class="memItemRight" valign="bottom"><b>index2</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a54e7279d6ab5932b307da42699525182"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::operator=" ref="a54e7279d6ab5932b307da42699525182" args="(const const_iterator2 &amp;it)" --> BOOST_UBLAS_INLINE <br class="typebreak"/> <a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator2.html">const_iterator2</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator2.html">const_iterator2</a> &amp;it)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b370faad5fb0983bcd47c752a3db1e6"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::operator==" ref="a6b370faad5fb0983bcd47c752a3db1e6" args="(const const_iterator2 &amp;it) const " --> BOOST_UBLAS_INLINE bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (const <a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator2.html">const_iterator2</a> &amp;it) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad4ec764444421dd412d3c81cb42497bf"></a><!-- doxytag: member="boost::numeric::ublas::scalar_matrix::const_iterator2::operator&lt;" ref="ad4ec764444421dd412d3c81cb42497bf" args="(const const_iterator2 &amp;it) const " --> BOOST_UBLAS_INLINE bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator&lt;</b> (const <a class="el" href="classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator2.html">const_iterator2</a> &amp;it) const </td></tr> </table> <h3>template&lt;class T, class ALLOC&gt;<br/> class boost::numeric::ublas::scalar_matrix&lt; T, ALLOC &gt;::const_iterator2</h3> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Jul 4 20:31:06 2010 for ublas by&nbsp; <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>
NixaSoftware/CVis
venv/bin/libs/numeric/ublas/doc/html/classboost_1_1numeric_1_1ublas_1_1scalar__matrix_1_1const__iterator2.html
HTML
apache-2.0
13,170
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>Skinning a Chart Example</title> <style type="text/css"> /*margin and padding on body element can introduce errors in determining element position and are not recommended; we turn them off as a foundation for YUI CSS treatments. */ body { margin:0; padding:0; } </style> <link rel="stylesheet" type="text/css" href="../../build/fonts/fonts-min.css" /> <script type="text/javascript" src="../../build/yahoo-dom-event/yahoo-dom-event.js"></script> <script type="text/javascript" src="../../build/json/json-min.js"></script> <script type="text/javascript" src="../../build/element/element-min.js"></script> <script type="text/javascript" src="../../build/datasource/datasource-min.js"></script> <script type="text/javascript" src="../../build/swf/swf-min.js"></script> <script type="text/javascript" src="../../build/charts/charts-min.js"></script> <!--begin custom header content for this example--> <style type="text/css"> #chart { width: 580px; height: 400px; } .chart_title { display: block; font-size: 1.2em; font-weight: bold; margin-bottom: 0.4em; } </style> <!--end custom header content for this example--> </head> <body class="yui-skin-sam"> <h1>Skinning a Chart Example</h1> <div class="exampleIntro"> <p>This example demonstrates how to modify the <a href="http://developer.yahoo.com/yui/charts/">YUI Charts Control</a>'s styles to give it a custom appearance.</p> <p>Please note: The YUI Charts Control requires Flash Player 9.0.45 or higher. The latest version of Flash Player is available at the <a href="http://www.adobe.com/go/getflashplayer">Adobe Flash Player Download Center</a>.</p> </div> <!--BEGIN SOURCE CODE FOR EXAMPLE =============================== --> <span class="chart_title">Wilson's Supermarket - Product Comparison</span> <div id="chart">Unable to load Flash content. The YUI Charts Control requires Flash Player 9.0.45 or higher. You can download the latest version of Flash Player from the <a href="http://www.adobe.com/go/getflashplayer">Adobe Flash Player Download Center</a>.</p></div> <script type="text/javascript"> YAHOO.widget.Chart.SWFURL = "../../build/charts/assets/charts.swf"; //--- data YAHOO.example.salesComparison = [ { month: "Oct", pork: 1354, beef: 1442 }, { month: "Nov", pork: 1326, beef: 1496 }, { month: "Dec", pork: 1292, beef: 1582 }, { month: "Jan", pork: 1387, beef: 1597 }, { month: "Feb", pork: 1376, beef: 1603 } ]; var salesData = new YAHOO.util.DataSource( YAHOO.example.salesComparison ); salesData.responseType = YAHOO.util.DataSource.TYPE_JSARRAY; salesData.responseSchema = { fields: [ "month", "pork", "beef" ] }; //--- chart var seriesDef = [ { yField: "pork", displayName: "Sales of Pork", style: { image: "assets/tube.png", mode: "no-repeat", color: 0x2e434d, size: 40 } }, { yField: "beef", displayName: "Sales of Beef", style: { image: "assets/tube.png", mode: "no-repeat", color: 0xc2d81e, size: 40 } } ]; var mychart = new YAHOO.widget.ColumnChart( "chart", salesData, { series: seriesDef, xField: "month", style: { border: {color: 0x96acb4, size: 12}, font: {name: "Arial Black", size: 14, color: 0x586b71}, dataTip: { border: {color: 0x2e434d, size: 2}, font: {name: "Arial Black", size: 13, color: 0x586b71} }, xAxis: { color: 0x2e434d }, yAxis: { color: 0x2e434d, majorTicks: {color: 0x2e434d, length: 4}, minorTicks: {color: 0x2e434d, length: 2}, majorGridLines: {size: 0} } } }); </script> <!--END SOURCE CODE FOR EXAMPLE =============================== --> </body> </html>
recap/weevilscout
yui/examples/charts/charts-skins_clean.html
HTML
apache-2.0
3,862
<!DOCTYPE html> <html> <head> <title></title> <script type="text/javascript" src="../jquery-1.11.3.js"></script> </head> <body> <header> <h1>The Header</h1> </header> <section> <div id="content"> <strong>Messages: </strong> <ul id="message-list"> </ul> </div> </section> <aside class="widget"> <h2>Widget 1</h2> <ul> <li> <a href="#">Item 1</a> </li> <li> <a href="#">Item 1</a> </li> <li> <a href="#">Item 1</a> </li> </ul> </aside> <script type="text/javascript"> function printContent(text) { $("#message-list").append("<li>Message: <strong>" + text + "</strong></li>"); } var $items = $("ul li"); printContent($items.length); printContent($(".widget").text()); </script> </body> </html>
TelerikAcademy/JavaScript-UI-and-DOM
Topics/08. jQuery Overview/demos/1. selection/1. selectors.html
HTML
mit
987
<!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>TinyXml: tinyxml.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li> </ul></div> <h1>tinyxml.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment">www.sourceforge.net/projects/tinyxml</span> <a name="l00003"></a>00003 <span class="comment">Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com)</span> <a name="l00004"></a>00004 <span class="comment"></span> <a name="l00005"></a>00005 <span class="comment">This software is provided 'as-is', without any express or implied</span> <a name="l00006"></a>00006 <span class="comment">warranty. In no event will the authors be held liable for any</span> <a name="l00007"></a>00007 <span class="comment">damages arising from the use of this software.</span> <a name="l00008"></a>00008 <span class="comment"></span> <a name="l00009"></a>00009 <span class="comment">Permission is granted to anyone to use this software for any</span> <a name="l00010"></a>00010 <span class="comment">purpose, including commercial applications, and to alter it and</span> <a name="l00011"></a>00011 <span class="comment">redistribute it freely, subject to the following restrictions:</span> <a name="l00012"></a>00012 <span class="comment"></span> <a name="l00013"></a>00013 <span class="comment">1. The origin of this software must not be misrepresented; you must</span> <a name="l00014"></a>00014 <span class="comment">not claim that you wrote the original software. If you use this</span> <a name="l00015"></a>00015 <span class="comment">software in a product, an acknowledgment in the product documentation</span> <a name="l00016"></a>00016 <span class="comment">would be appreciated but is not required.</span> <a name="l00017"></a>00017 <span class="comment"></span> <a name="l00018"></a>00018 <span class="comment">2. Altered source versions must be plainly marked as such, and</span> <a name="l00019"></a>00019 <span class="comment">must not be misrepresented as being the original software.</span> <a name="l00020"></a>00020 <span class="comment"></span> <a name="l00021"></a>00021 <span class="comment">3. This notice may not be removed or altered from any source</span> <a name="l00022"></a>00022 <span class="comment">distribution.</span> <a name="l00023"></a>00023 <span class="comment">*/</span> <a name="l00024"></a>00024 <a name="l00025"></a>00025 <a name="l00026"></a>00026 <span class="preprocessor">#ifndef TINYXML_INCLUDED</span> <a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#define TINYXML_INCLUDED</span> <a name="l00028"></a>00028 <span class="preprocessor"></span> <a name="l00029"></a>00029 <span class="preprocessor">#ifdef _MSC_VER</span> <a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#pragma warning( push )</span> <a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#pragma warning( disable : 4530 )</span> <a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#pragma warning( disable : 4786 )</span> <a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00034"></a>00034 <span class="preprocessor"></span> <a name="l00035"></a>00035 <span class="preprocessor">#include &lt;ctype.h&gt;</span> <a name="l00036"></a>00036 <span class="preprocessor">#include &lt;stdio.h&gt;</span> <a name="l00037"></a>00037 <span class="preprocessor">#include &lt;stdlib.h&gt;</span> <a name="l00038"></a>00038 <span class="preprocessor">#include &lt;string.h&gt;</span> <a name="l00039"></a>00039 <span class="preprocessor">#include &lt;assert.h&gt;</span> <a name="l00040"></a>00040 <a name="l00041"></a>00041 <span class="comment">// Help out windows:</span> <a name="l00042"></a>00042 <span class="preprocessor">#if defined( _DEBUG ) &amp;&amp; !defined( DEBUG )</span> <a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#define DEBUG</span> <a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00045"></a>00045 <span class="preprocessor"></span> <a name="l00046"></a>00046 <span class="preprocessor">#ifdef TIXML_USE_STL</span> <a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor"> #include &lt;string&gt;</span> <a name="l00048"></a>00048 <span class="preprocessor"> #include &lt;iostream&gt;</span> <a name="l00049"></a>00049 <span class="preprocessor"> #include &lt;sstream&gt;</span> <a name="l00050"></a>00050 <span class="preprocessor"> #define TIXML_STRING std::string</span> <a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor"> #include "tinystr.h"</span> <a name="l00053"></a>00053 <span class="preprocessor"> #define TIXML_STRING TiXmlString</span> <a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00055"></a>00055 <span class="preprocessor"></span> <a name="l00056"></a>00056 <span class="comment">// Deprecated library function hell. Compilers want to use the</span> <a name="l00057"></a>00057 <span class="comment">// new safe versions. This probably doesn't fully address the problem,</span> <a name="l00058"></a>00058 <span class="comment">// but it gets closer. There are too many compilers for me to fully</span> <a name="l00059"></a>00059 <span class="comment">// test. If you get compilation troubles, undefine TIXML_SAFE</span> <a name="l00060"></a>00060 <span class="preprocessor">#define TIXML_SAFE</span> <a name="l00061"></a>00061 <span class="preprocessor"></span> <a name="l00062"></a>00062 <span class="preprocessor">#ifdef TIXML_SAFE</span> <a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor"> #if defined(_MSC_VER) &amp;&amp; (_MSC_VER &gt;= 1400 )</span> <a name="l00064"></a>00064 <span class="preprocessor"></span> <span class="comment">// Microsoft visual studio, version 2005 and higher.</span> <a name="l00065"></a>00065 <span class="preprocessor"> #define TIXML_SNPRINTF _snprintf_s</span> <a name="l00066"></a>00066 <span class="preprocessor"></span><span class="preprocessor"> #define TIXML_SNSCANF _snscanf_s</span> <a name="l00067"></a>00067 <span class="preprocessor"></span><span class="preprocessor"> #define TIXML_SSCANF sscanf_s</span> <a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor"> #elif defined(_MSC_VER) &amp;&amp; (_MSC_VER &gt;= 1200 )</span> <a name="l00069"></a>00069 <span class="preprocessor"></span> <span class="comment">// Microsoft visual studio, version 6 and higher.</span> <a name="l00070"></a>00070 <span class="comment">//#pragma message( "Using _sn* functions." )</span> <a name="l00071"></a>00071 <span class="preprocessor"> #define TIXML_SNPRINTF _snprintf</span> <a name="l00072"></a>00072 <span class="preprocessor"></span><span class="preprocessor"> #define TIXML_SNSCANF _snscanf</span> <a name="l00073"></a>00073 <span class="preprocessor"></span><span class="preprocessor"> #define TIXML_SSCANF sscanf</span> <a name="l00074"></a>00074 <span class="preprocessor"></span><span class="preprocessor"> #elif defined(__GNUC__) &amp;&amp; (__GNUC__ &gt;= 3 )</span> <a name="l00075"></a>00075 <span class="preprocessor"></span> <span class="comment">// GCC version 3 and higher.s</span> <a name="l00076"></a>00076 <span class="comment">//#warning( "Using sn* functions." )</span> <a name="l00077"></a>00077 <span class="preprocessor"> #define TIXML_SNPRINTF snprintf</span> <a name="l00078"></a>00078 <span class="preprocessor"></span><span class="preprocessor"> #define TIXML_SNSCANF snscanf</span> <a name="l00079"></a>00079 <span class="preprocessor"></span><span class="preprocessor"> #define TIXML_SSCANF sscanf</span> <a name="l00080"></a>00080 <span class="preprocessor"></span><span class="preprocessor"> #else</span> <a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor"> #define TIXML_SSCANF sscanf</span> <a name="l00082"></a>00082 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> <a name="l00083"></a>00083 <span class="preprocessor"></span><span class="preprocessor">#endif </span> <a name="l00084"></a>00084 <span class="preprocessor"></span> <a name="l00085"></a>00085 <span class="keyword">class </span><a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>; <a name="l00086"></a>00086 <span class="keyword">class </span><a class="code" href="classTiXmlElement.html">TiXmlElement</a>; <a name="l00087"></a>00087 <span class="keyword">class </span><a class="code" href="classTiXmlComment.html">TiXmlComment</a>; <a name="l00088"></a>00088 <span class="keyword">class </span><a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>; <a name="l00089"></a>00089 <span class="keyword">class </span><a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>; <a name="l00090"></a>00090 <span class="keyword">class </span><a class="code" href="classTiXmlText.html">TiXmlText</a>; <a name="l00091"></a>00091 <span class="keyword">class </span><a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>; <a name="l00092"></a>00092 <span class="keyword">class </span>TiXmlParsingData; <a name="l00093"></a>00093 <a name="l00094"></a>00094 <span class="keyword">const</span> <span class="keywordtype">int</span> TIXML_MAJOR_VERSION = 2; <a name="l00095"></a>00095 <span class="keyword">const</span> <span class="keywordtype">int</span> TIXML_MINOR_VERSION = 5; <a name="l00096"></a>00096 <span class="keyword">const</span> <span class="keywordtype">int</span> TIXML_PATCH_VERSION = 3; <a name="l00097"></a>00097 <a name="l00098"></a>00098 <span class="comment">/* Internal structure for tracking location of items </span> <a name="l00099"></a>00099 <span class="comment"> in the XML file.</span> <a name="l00100"></a>00100 <span class="comment">*/</span> <a name="l00101"></a>00101 <span class="keyword">struct </span>TiXmlCursor <a name="l00102"></a>00102 { <a name="l00103"></a>00103 TiXmlCursor() { Clear(); } <a name="l00104"></a>00104 <span class="keywordtype">void</span> Clear() { row = col = -1; } <a name="l00105"></a>00105 <a name="l00106"></a>00106 <span class="keywordtype">int</span> row; <span class="comment">// 0 based.</span> <a name="l00107"></a>00107 <span class="keywordtype">int</span> col; <span class="comment">// 0 based.</span> <a name="l00108"></a>00108 }; <a name="l00109"></a>00109 <a name="l00110"></a>00110 <a name="l00129"></a><a class="code" href="classTiXmlVisitor.html">00129</a> <span class="keyword">class </span><a class="code" href="classTiXmlVisitor.html">TiXmlVisitor</a> <a name="l00130"></a>00130 { <a name="l00131"></a>00131 <span class="keyword">public</span>: <a name="l00132"></a>00132 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlVisitor.html">TiXmlVisitor</a>() {} <a name="l00133"></a>00133 <a name="l00135"></a><a class="code" href="classTiXmlVisitor.html#07baecb52dd7d8716ae2a48ad0956ee0">00135</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#07baecb52dd7d8716ae2a48ad0956ee0">VisitEnter</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>&amp; <span class="comment">/*doc*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } <a name="l00137"></a><a class="code" href="classTiXmlVisitor.html#a0ade4f27087447e93974e975c3246ad">00137</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#a0ade4f27087447e93974e975c3246ad">VisitExit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>&amp; <span class="comment">/*doc*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } <a name="l00138"></a>00138 <a name="l00140"></a><a class="code" href="classTiXmlVisitor.html#f6c6178ffa517bbdba95d70490875fff">00140</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#07baecb52dd7d8716ae2a48ad0956ee0">VisitEnter</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>&amp; <span class="comment">/*element*/</span>, <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <span class="comment">/*firstAttribute*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } <a name="l00142"></a><a class="code" href="classTiXmlVisitor.html#ec2b1f8116226d52f3a1b95dafd3a32c">00142</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#a0ade4f27087447e93974e975c3246ad">VisitExit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>&amp; <span class="comment">/*element*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } <a name="l00143"></a>00143 <a name="l00145"></a><a class="code" href="classTiXmlVisitor.html#fad71c71ce6473fb9b4b64cd92de4a19">00145</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#fad71c71ce6473fb9b4b64cd92de4a19">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>&amp; <span class="comment">/*declaration*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } <a name="l00147"></a><a class="code" href="classTiXmlVisitor.html#399b8ebca5cd14664974a32d2ce029e5">00147</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#fad71c71ce6473fb9b4b64cd92de4a19">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlText.html">TiXmlText</a>&amp; <span class="comment">/*text*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } <a name="l00149"></a><a class="code" href="classTiXmlVisitor.html#53a60e7a528627b31af3161972cc7fa2">00149</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#fad71c71ce6473fb9b4b64cd92de4a19">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html">TiXmlComment</a>&amp; <span class="comment">/*comment*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } <a name="l00151"></a><a class="code" href="classTiXmlVisitor.html#7e284d607d275c51dac1adb58159ce28">00151</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlVisitor.html#fad71c71ce6473fb9b4b64cd92de4a19">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>&amp; <span class="comment">/*unknown*/</span> ) { <span class="keywordflow">return</span> <span class="keyword">true</span>; } <a name="l00152"></a>00152 }; <a name="l00153"></a>00153 <a name="l00154"></a>00154 <span class="comment">// Only used by Attribute::Query functions</span> <a name="l00155"></a>00155 <span class="keyword">enum</span> <a name="l00156"></a>00156 { <a name="l00157"></a>00157 TIXML_SUCCESS, <a name="l00158"></a>00158 TIXML_NO_ATTRIBUTE, <a name="l00159"></a>00159 TIXML_WRONG_TYPE <a name="l00160"></a>00160 }; <a name="l00161"></a>00161 <a name="l00162"></a>00162 <a name="l00163"></a>00163 <span class="comment">// Used by the parsing routines.</span> <a name="l00164"></a>00164 <span class="keyword">enum</span> TiXmlEncoding <a name="l00165"></a>00165 { <a name="l00166"></a>00166 TIXML_ENCODING_UNKNOWN, <a name="l00167"></a>00167 TIXML_ENCODING_UTF8, <a name="l00168"></a>00168 TIXML_ENCODING_LEGACY <a name="l00169"></a>00169 }; <a name="l00170"></a>00170 <a name="l00171"></a>00171 <span class="keyword">const</span> TiXmlEncoding TIXML_DEFAULT_ENCODING = TIXML_ENCODING_UNKNOWN; <a name="l00172"></a>00172 <a name="l00195"></a><a class="code" href="classTiXmlBase.html">00195</a> <span class="keyword">class </span><a class="code" href="classTiXmlBase.html">TiXmlBase</a> <a name="l00196"></a>00196 { <a name="l00197"></a>00197 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlNode.html">TiXmlNode</a>; <a name="l00198"></a>00198 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlElement.html">TiXmlElement</a>; <a name="l00199"></a>00199 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>; <a name="l00200"></a>00200 <a name="l00201"></a>00201 <span class="keyword">public</span>: <a name="l00202"></a>00202 <a class="code" href="classTiXmlBase.html">TiXmlBase</a>() : <a class="code" href="classTiXmlBase.html#b242c01590191f644569fa89a080d97c">userData</a>(0) {} <a name="l00203"></a>00203 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlBase.html">TiXmlBase</a>() {} <a name="l00204"></a>00204 <a name="l00214"></a>00214 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlBase.html#0de56b3f2ef14c65091a3b916437b512">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const </span>= 0; <a name="l00215"></a>00215 <a name="l00222"></a><a class="code" href="classTiXmlBase.html#0f799ec645bfb8d8a969e83478f379c1">00222</a> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlBase.html#0f799ec645bfb8d8a969e83478f379c1">SetCondenseWhiteSpace</a>( <span class="keywordtype">bool</span> condense ) { condenseWhiteSpace = condense; } <a name="l00223"></a>00223 <a name="l00225"></a><a class="code" href="classTiXmlBase.html#d4b1472531c647a25b1840a87ae42438">00225</a> <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlBase.html#d4b1472531c647a25b1840a87ae42438">IsWhiteSpaceCondensed</a>() { <span class="keywordflow">return</span> condenseWhiteSpace; } <a name="l00226"></a>00226 <a name="l00245"></a><a class="code" href="classTiXmlBase.html#024bceb070188df92c2a8d8852dd0853">00245</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlBase.html#024bceb070188df92c2a8d8852dd0853">Row</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> location.row + 1; } <a name="l00246"></a><a class="code" href="classTiXmlBase.html#b54bfb9b70fe6dd276e7b279cab7f003">00246</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlBase.html#b54bfb9b70fe6dd276e7b279cab7f003">Column</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> location.col + 1; } <a name="l00247"></a>00247 <a name="l00248"></a><a class="code" href="classTiXmlBase.html#c6b3e0f790930d4970ec30764e937b5d">00248</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlBase.html#c6b3e0f790930d4970ec30764e937b5d">SetUserData</a>( <span class="keywordtype">void</span>* user ) { <a class="code" href="classTiXmlBase.html#b242c01590191f644569fa89a080d97c">userData</a> = user; } <a name="l00249"></a><a class="code" href="classTiXmlBase.html#6559a530ca6763fc301a14d77ed28c17">00249</a> <span class="keywordtype">void</span>* <a class="code" href="classTiXmlBase.html#6559a530ca6763fc301a14d77ed28c17">GetUserData</a>() { <span class="keywordflow">return</span> <a class="code" href="classTiXmlBase.html#b242c01590191f644569fa89a080d97c">userData</a>; } <a name="l00250"></a><a class="code" href="classTiXmlBase.html#d0120210e4680ef2088601753ce0ede4">00250</a> <span class="keyword">const</span> <span class="keywordtype">void</span>* <a class="code" href="classTiXmlBase.html#6559a530ca6763fc301a14d77ed28c17">GetUserData</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlBase.html#b242c01590191f644569fa89a080d97c">userData</a>; } <a name="l00251"></a>00251 <a name="l00252"></a>00252 <span class="comment">// Table that returs, for a given lead byte, the total number of bytes</span> <a name="l00253"></a>00253 <span class="comment">// in the UTF-8 sequence.</span> <a name="l00254"></a>00254 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> utf8ByteTable[256]; <a name="l00255"></a>00255 <a name="l00256"></a>00256 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlDocument.html#17ebabe36926ef398e78dec0d0ad0378">Parse</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, <a name="l00257"></a>00257 TiXmlParsingData* data, <a name="l00258"></a>00258 TiXmlEncoding encoding <span class="comment">/*= TIXML_ENCODING_UNKNOWN */</span> ) = 0; <a name="l00259"></a>00259 <a name="l00263"></a>00263 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlBase.html#6bd8c315c1acb09e34107b8736505948">EncodeString</a>( <span class="keyword">const</span> TIXML_STRING&amp; str, TIXML_STRING* out ); <a name="l00264"></a>00264 <a name="l00265"></a>00265 <span class="keyword">enum</span> <a name="l00266"></a>00266 { <a name="l00267"></a>00267 TIXML_NO_ERROR = 0, <a name="l00268"></a>00268 TIXML_ERROR, <a name="l00269"></a>00269 TIXML_ERROR_OPENING_FILE, <a name="l00270"></a>00270 TIXML_ERROR_OUT_OF_MEMORY, <a name="l00271"></a>00271 TIXML_ERROR_PARSING_ELEMENT, <a name="l00272"></a>00272 TIXML_ERROR_FAILED_TO_READ_ELEMENT_NAME, <a name="l00273"></a>00273 TIXML_ERROR_READING_ELEMENT_VALUE, <a name="l00274"></a>00274 TIXML_ERROR_READING_ATTRIBUTES, <a name="l00275"></a>00275 TIXML_ERROR_PARSING_EMPTY, <a name="l00276"></a>00276 TIXML_ERROR_READING_END_TAG, <a name="l00277"></a>00277 TIXML_ERROR_PARSING_UNKNOWN, <a name="l00278"></a>00278 TIXML_ERROR_PARSING_COMMENT, <a name="l00279"></a>00279 TIXML_ERROR_PARSING_DECLARATION, <a name="l00280"></a>00280 TIXML_ERROR_DOCUMENT_EMPTY, <a name="l00281"></a>00281 TIXML_ERROR_EMBEDDED_NULL, <a name="l00282"></a>00282 TIXML_ERROR_PARSING_CDATA, <a name="l00283"></a>00283 TIXML_ERROR_DOCUMENT_TOP_ONLY, <a name="l00284"></a>00284 <a name="l00285"></a>00285 TIXML_ERROR_STRING_COUNT <a name="l00286"></a>00286 }; <a name="l00287"></a>00287 <a name="l00288"></a>00288 <span class="keyword">protected</span>: <a name="l00289"></a>00289 <a name="l00290"></a>00290 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* SkipWhiteSpace( <span class="keyword">const</span> <span class="keywordtype">char</span>*, TiXmlEncoding encoding ); <a name="l00291"></a>00291 <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> IsWhiteSpace( <span class="keywordtype">char</span> c ) <a name="l00292"></a>00292 { <a name="l00293"></a>00293 <span class="keywordflow">return</span> ( isspace( (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>) c ) || c == <span class="charliteral">'\n'</span> || c == <span class="charliteral">'\r'</span> ); <a name="l00294"></a>00294 } <a name="l00295"></a>00295 <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> IsWhiteSpace( <span class="keywordtype">int</span> c ) <a name="l00296"></a>00296 { <a name="l00297"></a>00297 <span class="keywordflow">if</span> ( c &lt; 256 ) <a name="l00298"></a>00298 <span class="keywordflow">return</span> IsWhiteSpace( (<span class="keywordtype">char</span>) c ); <a name="l00299"></a>00299 <span class="keywordflow">return</span> <span class="keyword">false</span>; <span class="comment">// Again, only truly correct for English/Latin...but usually works.</span> <a name="l00300"></a>00300 } <a name="l00301"></a>00301 <a name="l00302"></a>00302 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l00303"></a>00303 <span class="preprocessor"></span> <span class="keyword">static</span> <span class="keywordtype">bool</span> StreamWhiteSpace( std::istream * in, TIXML_STRING * tag ); <a name="l00304"></a>00304 <span class="keyword">static</span> <span class="keywordtype">bool</span> StreamTo( std::istream * in, <span class="keywordtype">int</span> character, TIXML_STRING * tag ); <a name="l00305"></a>00305 <span class="preprocessor"> #endif</span> <a name="l00306"></a>00306 <span class="preprocessor"></span> <a name="l00307"></a>00307 <span class="comment">/* Reads an XML name into the string provided. Returns</span> <a name="l00308"></a>00308 <span class="comment"> a pointer just past the last character of the name,</span> <a name="l00309"></a>00309 <span class="comment"> or 0 if the function has an error.</span> <a name="l00310"></a>00310 <span class="comment"> */</span> <a name="l00311"></a>00311 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* ReadName( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TIXML_STRING* name, TiXmlEncoding encoding ); <a name="l00312"></a>00312 <a name="l00313"></a>00313 <span class="comment">/* Reads text. Returns a pointer past the given end tag.</span> <a name="l00314"></a>00314 <span class="comment"> Wickedly complex options, but it keeps the (sensitive) code in one place.</span> <a name="l00315"></a>00315 <span class="comment"> */</span> <a name="l00316"></a>00316 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* ReadText( <span class="keyword">const</span> <span class="keywordtype">char</span>* in, <span class="comment">// where to start</span> <a name="l00317"></a>00317 TIXML_STRING* text, <span class="comment">// the string read</span> <a name="l00318"></a>00318 <span class="keywordtype">bool</span> ignoreWhiteSpace, <span class="comment">// whether to keep the white space</span> <a name="l00319"></a>00319 <span class="keyword">const</span> <span class="keywordtype">char</span>* endTag, <span class="comment">// what ends this text</span> <a name="l00320"></a>00320 <span class="keywordtype">bool</span> ignoreCase, <span class="comment">// whether to ignore case in the end tag</span> <a name="l00321"></a>00321 TiXmlEncoding encoding ); <span class="comment">// the current encoding</span> <a name="l00322"></a>00322 <a name="l00323"></a>00323 <span class="comment">// If an entity has been found, transform it into a character.</span> <a name="l00324"></a>00324 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetEntity( <span class="keyword">const</span> <span class="keywordtype">char</span>* in, <span class="keywordtype">char</span>* value, <span class="keywordtype">int</span>* length, TiXmlEncoding encoding ); <a name="l00325"></a>00325 <a name="l00326"></a>00326 <span class="comment">// Get a character, while interpreting entities.</span> <a name="l00327"></a>00327 <span class="comment">// The length can be from 0 to 4 bytes.</span> <a name="l00328"></a>00328 <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetChar( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, <span class="keywordtype">char</span>* _value, <span class="keywordtype">int</span>* length, TiXmlEncoding encoding ) <a name="l00329"></a>00329 { <a name="l00330"></a>00330 assert( p ); <a name="l00331"></a>00331 <span class="keywordflow">if</span> ( encoding == TIXML_ENCODING_UTF8 ) <a name="l00332"></a>00332 { <a name="l00333"></a>00333 *length = utf8ByteTable[ *((<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>*)p) ]; <a name="l00334"></a>00334 assert( *length &gt;= 0 &amp;&amp; *length &lt; 5 ); <a name="l00335"></a>00335 } <a name="l00336"></a>00336 <span class="keywordflow">else</span> <a name="l00337"></a>00337 { <a name="l00338"></a>00338 *length = 1; <a name="l00339"></a>00339 } <a name="l00340"></a>00340 <a name="l00341"></a>00341 <span class="keywordflow">if</span> ( *length == 1 ) <a name="l00342"></a>00342 { <a name="l00343"></a>00343 <span class="keywordflow">if</span> ( *p == <span class="charliteral">'&amp;'</span> ) <a name="l00344"></a>00344 <span class="keywordflow">return</span> GetEntity( p, _value, length, encoding ); <a name="l00345"></a>00345 *_value = *p; <a name="l00346"></a>00346 <span class="keywordflow">return</span> p+1; <a name="l00347"></a>00347 } <a name="l00348"></a>00348 <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( *length ) <a name="l00349"></a>00349 { <a name="l00350"></a>00350 <span class="comment">//strncpy( _value, p, *length ); // lots of compilers don't like this function (unsafe),</span> <a name="l00351"></a>00351 <span class="comment">// and the null terminator isn't needed</span> <a name="l00352"></a>00352 <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0; p[i] &amp;&amp; i&lt;*length; ++i ) { <a name="l00353"></a>00353 _value[i] = p[i]; <a name="l00354"></a>00354 } <a name="l00355"></a>00355 <span class="keywordflow">return</span> p + (*length); <a name="l00356"></a>00356 } <a name="l00357"></a>00357 <span class="keywordflow">else</span> <a name="l00358"></a>00358 { <a name="l00359"></a>00359 <span class="comment">// Not valid text.</span> <a name="l00360"></a>00360 <span class="keywordflow">return</span> 0; <a name="l00361"></a>00361 } <a name="l00362"></a>00362 } <a name="l00363"></a>00363 <a name="l00364"></a>00364 <span class="comment">// Return true if the next characters in the stream are any of the endTag sequences.</span> <a name="l00365"></a>00365 <span class="comment">// Ignore case only works for english, and should only be relied on when comparing</span> <a name="l00366"></a>00366 <span class="comment">// to English words: StringEqual( p, "version", true ) is fine.</span> <a name="l00367"></a>00367 <span class="keyword">static</span> <span class="keywordtype">bool</span> StringEqual( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, <a name="l00368"></a>00368 <span class="keyword">const</span> <span class="keywordtype">char</span>* endTag, <a name="l00369"></a>00369 <span class="keywordtype">bool</span> ignoreCase, <a name="l00370"></a>00370 TiXmlEncoding encoding ); <a name="l00371"></a>00371 <a name="l00372"></a>00372 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* errorString[ TIXML_ERROR_STRING_COUNT ]; <a name="l00373"></a>00373 <a name="l00374"></a>00374 TiXmlCursor location; <a name="l00375"></a>00375 <a name="l00377"></a><a class="code" href="classTiXmlBase.html#b242c01590191f644569fa89a080d97c">00377</a> <span class="keywordtype">void</span>* <a class="code" href="classTiXmlBase.html#b242c01590191f644569fa89a080d97c">userData</a>; <a name="l00378"></a>00378 <a name="l00379"></a>00379 <span class="comment">// None of these methods are reliable for any language except English.</span> <a name="l00380"></a>00380 <span class="comment">// Good for approximation, not great for accuracy.</span> <a name="l00381"></a>00381 <span class="keyword">static</span> <span class="keywordtype">int</span> IsAlpha( <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> anyByte, TiXmlEncoding encoding ); <a name="l00382"></a>00382 <span class="keyword">static</span> <span class="keywordtype">int</span> IsAlphaNum( <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> anyByte, TiXmlEncoding encoding ); <a name="l00383"></a>00383 <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">int</span> ToLower( <span class="keywordtype">int</span> v, TiXmlEncoding encoding ) <a name="l00384"></a>00384 { <a name="l00385"></a>00385 <span class="keywordflow">if</span> ( encoding == TIXML_ENCODING_UTF8 ) <a name="l00386"></a>00386 { <a name="l00387"></a>00387 <span class="keywordflow">if</span> ( v &lt; 128 ) <span class="keywordflow">return</span> tolower( v ); <a name="l00388"></a>00388 <span class="keywordflow">return</span> v; <a name="l00389"></a>00389 } <a name="l00390"></a>00390 <span class="keywordflow">else</span> <a name="l00391"></a>00391 { <a name="l00392"></a>00392 <span class="keywordflow">return</span> tolower( v ); <a name="l00393"></a>00393 } <a name="l00394"></a>00394 } <a name="l00395"></a>00395 <span class="keyword">static</span> <span class="keywordtype">void</span> ConvertUTF32ToUTF8( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> input, <span class="keywordtype">char</span>* output, <span class="keywordtype">int</span>* length ); <a name="l00396"></a>00396 <a name="l00397"></a>00397 <span class="keyword">private</span>: <a name="l00398"></a>00398 <a class="code" href="classTiXmlBase.html">TiXmlBase</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlBase.html">TiXmlBase</a>&amp; ); <span class="comment">// not implemented.</span> <a name="l00399"></a>00399 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlBase.html">TiXmlBase</a>&amp; base ); <span class="comment">// not allowed.</span> <a name="l00400"></a>00400 <a name="l00401"></a>00401 <span class="keyword">struct </span>Entity <a name="l00402"></a>00402 { <a name="l00403"></a>00403 <span class="keyword">const</span> <span class="keywordtype">char</span>* str; <a name="l00404"></a>00404 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> strLength; <a name="l00405"></a>00405 <span class="keywordtype">char</span> chr; <a name="l00406"></a>00406 }; <a name="l00407"></a>00407 <span class="keyword">enum</span> <a name="l00408"></a>00408 { <a name="l00409"></a>00409 NUM_ENTITY = 5, <a name="l00410"></a>00410 MAX_ENTITY_LENGTH = 6 <a name="l00411"></a>00411 <a name="l00412"></a>00412 }; <a name="l00413"></a>00413 <span class="keyword">static</span> Entity entity[ NUM_ENTITY ]; <a name="l00414"></a>00414 <span class="keyword">static</span> <span class="keywordtype">bool</span> condenseWhiteSpace; <a name="l00415"></a>00415 }; <a name="l00416"></a>00416 <a name="l00417"></a>00417 <a name="l00424"></a><a class="code" href="classTiXmlNode.html">00424</a> <span class="keyword">class </span><a class="code" href="classTiXmlNode.html">TiXmlNode</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlBase.html">TiXmlBase</a> <a name="l00425"></a>00425 { <a name="l00426"></a>00426 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>; <a name="l00427"></a>00427 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlElement.html">TiXmlElement</a>; <a name="l00428"></a>00428 <a name="l00429"></a>00429 <span class="keyword">public</span>: <a name="l00430"></a>00430 <span class="preprocessor"> #ifdef TIXML_USE_STL </span> <a name="l00431"></a>00431 <span class="preprocessor"></span> <a name="l00435"></a>00435 <span class="keyword">friend</span> std::istream&amp; <a class="code" href="classTiXmlNode.html#b57bd426563c926844f65a78412e18b9">operator &gt;&gt; </a>(std::istream&amp; in, <a class="code" href="classTiXmlNode.html">TiXmlNode</a>&amp; base); <a name="l00436"></a>00436 <a name="l00453"></a>00453 <span class="keyword">friend</span> std::ostream&amp; <a class="code" href="classTiXmlNode.html#86cd49cfb17a844c0010b3136ac966c7">operator&lt;&lt; </a>(std::ostream&amp; out, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>&amp; base); <a name="l00454"></a>00454 <a name="l00456"></a>00456 <span class="keyword">friend</span> std::string&amp; <a class="code" href="classTiXmlNode.html#86cd49cfb17a844c0010b3136ac966c7">operator&lt;&lt; </a>(std::string&amp; out, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>&amp; base ); <a name="l00457"></a>00457 <a name="l00458"></a>00458 <span class="preprocessor"> #endif</span> <a name="l00459"></a>00459 <span class="preprocessor"></span> <a name="l00463"></a><a class="code" href="classTiXmlNode.html#836eded4920ab9e9ef28496f48cd95a2">00463</a> <span class="keyword">enum</span> <a class="code" href="classTiXmlNode.html#836eded4920ab9e9ef28496f48cd95a2">NodeType</a> <a name="l00464"></a>00464 { <a name="l00465"></a>00465 DOCUMENT, <a name="l00466"></a>00466 ELEMENT, <a name="l00467"></a>00467 COMMENT, <a name="l00468"></a>00468 UNKNOWN, <a name="l00469"></a>00469 TEXT, <a name="l00470"></a>00470 DECLARATION, <a name="l00471"></a>00471 TYPECOUNT <a name="l00472"></a>00472 }; <a name="l00473"></a>00473 <a name="l00474"></a>00474 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlNode.html">TiXmlNode</a>(); <a name="l00475"></a>00475 <a name="l00488"></a><a class="code" href="classTiXmlNode.html#77943eb90d12c2892b1337a9f5918b41">00488</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classTiXmlNode.html#77943eb90d12c2892b1337a9f5918b41">Value</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value.c_str (); } <a name="l00489"></a>00489 <a name="l00490"></a>00490 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l00491"></a>00491 <span class="preprocessor"></span> <a name="l00495"></a><a class="code" href="classTiXmlNode.html#6d9e505619d39bf50bfd9609c9169ea5">00495</a> <span class="keyword">const</span> std::string&amp; <a class="code" href="classTiXmlNode.html#6d9e505619d39bf50bfd9609c9169ea5">ValueStr</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value; } <a name="l00496"></a>00496 <span class="preprocessor"> #endif</span> <a name="l00497"></a>00497 <span class="preprocessor"></span> <a name="l00498"></a>00498 <span class="keyword">const</span> TIXML_STRING&amp; ValueTStr()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value; } <a name="l00499"></a>00499 <a name="l00509"></a><a class="code" href="classTiXmlNode.html#2a38329ca5d3f28f98ce932b8299ae90">00509</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlNode.html#2a38329ca5d3f28f98ce932b8299ae90">SetValue</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * _value) { value = _value;} <a name="l00510"></a>00510 <a name="l00511"></a>00511 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l00513"></a><a class="code" href="classTiXmlNode.html#2598d5f448042c1abbeae4503dd45ff2">00513</a> <span class="preprocessor"> void SetValue( const std::string&amp; _value ) { value = _value; }</span> <a name="l00514"></a>00514 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> <a name="l00515"></a>00515 <span class="preprocessor"></span> <a name="l00517"></a>00517 <span class="keywordtype">void</span> <a class="code" href="classTiXmlNode.html#708e7f953df61d4d2d12f73171550a4b">Clear</a>(); <a name="l00518"></a>00518 <a name="l00520"></a><a class="code" href="classTiXmlNode.html#b643043132ffd794f8602685d34a982e">00520</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#b643043132ffd794f8602685d34a982e">Parent</a>() { <span class="keywordflow">return</span> parent; } <a name="l00521"></a>00521 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#b643043132ffd794f8602685d34a982e">Parent</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> parent; } <a name="l00522"></a>00522 <a name="l00523"></a><a class="code" href="classTiXmlNode.html#44c8eee26bbe2d1b2762038df9dde2f0">00523</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> firstChild; } <a name="l00524"></a>00524 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a>() { <span class="keywordflow">return</span> firstChild; } <a name="l00525"></a>00525 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value ) <span class="keyword">const</span>; <a name="l00526"></a>00526 <a name="l00527"></a><a class="code" href="classTiXmlNode.html#bc8bf32be6419ec453a731868de19554">00527</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * _value ) { <a name="l00528"></a>00528 <span class="comment">// Call through to the const version - safe since nothing is changed. Exiting syntax: cast this to a const (always safe)</span> <a name="l00529"></a>00529 <span class="comment">// call the method, cast the return back to non-const.</span> <a name="l00530"></a>00530 <span class="keywordflow">return</span> const_cast&lt; TiXmlNode* &gt; ((const_cast&lt; const TiXmlNode* &gt;(<span class="keyword">this</span>))-&gt;FirstChild( _value )); <a name="l00531"></a>00531 } <a name="l00532"></a>00532 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* LastChild()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> lastChild; } <a name="l00533"></a><a class="code" href="classTiXmlNode.html#6432d2b2495f6caf9cb4278df706a031">00533</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* LastChild() { <span class="keywordflow">return</span> lastChild; } <a name="l00534"></a>00534 <a name="l00535"></a>00535 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* LastChild( <span class="keyword">const</span> <span class="keywordtype">char</span> * value ) <span class="keyword">const</span>; <a name="l00536"></a><a class="code" href="classTiXmlNode.html#bad5bf1059c48127b958711ef89e8e5d">00536</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* LastChild( <span class="keyword">const</span> <span class="keywordtype">char</span> * _value ) { <a name="l00537"></a>00537 <span class="keywordflow">return</span> const_cast&lt; TiXmlNode* &gt; ((const_cast&lt; const TiXmlNode* &gt;(<span class="keyword">this</span>))-&gt;LastChild( _value )); <a name="l00538"></a>00538 } <a name="l00539"></a>00539 <a name="l00540"></a>00540 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l00541"></a><a class="code" href="classTiXmlNode.html#07f6200a5956c723c5b52d70f29c46f6">00541</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a>( <span class="keyword">const</span> std::string&amp; _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a> (_value.c_str ()); } <a name="l00542"></a><a class="code" href="classTiXmlNode.html#10d2669ccb5e29e02fcb0e4408685ef6">00542</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a>( <span class="keyword">const</span> std::string&amp; _value ) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#44c8eee26bbe2d1b2762038df9dde2f0">FirstChild</a> (_value.c_str ()); } <a name="l00543"></a><a class="code" href="classTiXmlNode.html#256d0cdbfcfeccae83f3a1c9747a8b63">00543</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* LastChild( <span class="keyword">const</span> std::string&amp; _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> LastChild (_value.c_str ()); } <a name="l00544"></a><a class="code" href="classTiXmlNode.html#69772c9202f70553f940b15c06b07be3">00544</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* LastChild( <span class="keyword">const</span> std::string&amp; _value ) { <span class="keywordflow">return</span> LastChild (_value.c_str ()); } <a name="l00545"></a>00545 <span class="preprocessor"> #endif</span> <a name="l00546"></a>00546 <span class="preprocessor"></span> <a name="l00563"></a>00563 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#8621196ba3705fa226bef4a761cc51b6">IterateChildren</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* previous ) <span class="keyword">const</span>; <a name="l00564"></a>00564 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#8621196ba3705fa226bef4a761cc51b6">IterateChildren</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* previous ) { <a name="l00565"></a>00565 <span class="keywordflow">return</span> const_cast&lt; TiXmlNode* &gt;( (const_cast&lt; const TiXmlNode* &gt;(<span class="keyword">this</span>))-&gt;IterateChildren( previous ) ); <a name="l00566"></a>00566 } <a name="l00567"></a>00567 <a name="l00569"></a>00569 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#8621196ba3705fa226bef4a761cc51b6">IterateChildren</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* previous ) <span class="keyword">const</span>; <a name="l00570"></a>00570 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#8621196ba3705fa226bef4a761cc51b6">IterateChildren</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * _value, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* previous ) { <a name="l00571"></a>00571 <span class="keywordflow">return</span> const_cast&lt; TiXmlNode* &gt;( (const_cast&lt; const TiXmlNode* &gt;(<span class="keyword">this</span>))-&gt;IterateChildren( _value, previous ) ); <a name="l00572"></a>00572 } <a name="l00573"></a>00573 <a name="l00574"></a>00574 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l00575"></a><a class="code" href="classTiXmlNode.html#1cbaaf8e82c09ad763d52616d75724df">00575</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#8621196ba3705fa226bef4a761cc51b6">IterateChildren</a>( <span class="keyword">const</span> std::string&amp; _value, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* previous )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#8621196ba3705fa226bef4a761cc51b6">IterateChildren</a> (_value.c_str (), previous); } <a name="l00576"></a><a class="code" href="classTiXmlNode.html#16e9ad53e2f5445b14bf325c90aa862c">00576</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#8621196ba3705fa226bef4a761cc51b6">IterateChildren</a>( <span class="keyword">const</span> std::string&amp; _value, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* previous ) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#8621196ba3705fa226bef4a761cc51b6">IterateChildren</a> (_value.c_str (), previous); } <a name="l00577"></a>00577 <span class="preprocessor"> #endif</span> <a name="l00578"></a>00578 <span class="preprocessor"></span> <a name="l00582"></a>00582 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#d7d4630e1a2a916edda16be22448a8ba">InsertEndChild</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>&amp; addThis ); <a name="l00583"></a>00583 <a name="l00584"></a>00584 <a name="l00594"></a>00594 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#5d29442ae46de6d0168429156197bfc6">LinkEndChild</a>( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* addThis ); <a name="l00595"></a>00595 <a name="l00599"></a>00599 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#0c146fa2fff0157b681594102f48cbc7">InsertBeforeChild</a>( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* beforeThis, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>&amp; addThis ); <a name="l00600"></a>00600 <a name="l00604"></a>00604 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#d9b75e54ec19301c8b4d5ff583d0b3d5">InsertAfterChild</a>( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* afterThis, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>&amp; addThis ); <a name="l00605"></a>00605 <a name="l00609"></a>00609 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#0c49e739a17b9938050c22cd89617fbd">ReplaceChild</a>( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* replaceThis, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>&amp; withThis ); <a name="l00610"></a>00610 <a name="l00612"></a>00612 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlNode.html#e19d8510efc90596552f4feeac9a8fbf">RemoveChild</a>( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* removeThis ); <a name="l00613"></a>00613 <a name="l00615"></a><a class="code" href="classTiXmlNode.html#c2cd892768726270e511b2ab32de4d10">00615</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#c2cd892768726270e511b2ab32de4d10">PreviousSibling</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> prev; } <a name="l00616"></a>00616 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#c2cd892768726270e511b2ab32de4d10">PreviousSibling</a>() { <span class="keywordflow">return</span> prev; } <a name="l00617"></a>00617 <a name="l00619"></a>00619 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#c2cd892768726270e511b2ab32de4d10">PreviousSibling</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * ) <span class="keyword">const</span>; <a name="l00620"></a>00620 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#c2cd892768726270e511b2ab32de4d10">PreviousSibling</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *_prev ) { <a name="l00621"></a>00621 <span class="keywordflow">return</span> const_cast&lt; TiXmlNode* &gt;( (const_cast&lt; const TiXmlNode* &gt;(<span class="keyword">this</span>))-&gt;PreviousSibling( _prev ) ); <a name="l00622"></a>00622 } <a name="l00623"></a>00623 <a name="l00624"></a>00624 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l00625"></a><a class="code" href="classTiXmlNode.html#658276f57d35d5d4256d1dc1a2c398ab">00625</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#c2cd892768726270e511b2ab32de4d10">PreviousSibling</a>( <span class="keyword">const</span> std::string&amp; _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#c2cd892768726270e511b2ab32de4d10">PreviousSibling</a> (_value.c_str ()); } <a name="l00626"></a><a class="code" href="classTiXmlNode.html#cc8a0434c7f401d4a3b6dee77c1a5912">00626</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#c2cd892768726270e511b2ab32de4d10">PreviousSibling</a>( <span class="keyword">const</span> std::string&amp; _value ) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#c2cd892768726270e511b2ab32de4d10">PreviousSibling</a> (_value.c_str ()); } <a name="l00627"></a><a class="code" href="classTiXmlNode.html#1b94d2f7fa7ab25a5a8e8d4340c449c9">00627</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#f854baeba384f5fe9859f5aee03b548e">NextSibling</a>( <span class="keyword">const</span> std::string&amp; _value)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#f854baeba384f5fe9859f5aee03b548e">NextSibling</a> (_value.c_str ()); } <a name="l00628"></a><a class="code" href="classTiXmlNode.html#1757c1f4d01e8c9596ffdbd561c76aea">00628</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#f854baeba384f5fe9859f5aee03b548e">NextSibling</a>( <span class="keyword">const</span> std::string&amp; _value) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#f854baeba384f5fe9859f5aee03b548e">NextSibling</a> (_value.c_str ()); } <a name="l00629"></a>00629 <span class="preprocessor"> #endif</span> <a name="l00630"></a>00630 <span class="preprocessor"></span> <a name="l00632"></a><a class="code" href="classTiXmlNode.html#f854baeba384f5fe9859f5aee03b548e">00632</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#f854baeba384f5fe9859f5aee03b548e">NextSibling</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> next; } <a name="l00633"></a>00633 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#f854baeba384f5fe9859f5aee03b548e">NextSibling</a>() { <span class="keywordflow">return</span> next; } <a name="l00634"></a>00634 <a name="l00636"></a>00636 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#f854baeba384f5fe9859f5aee03b548e">NextSibling</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * ) <span class="keyword">const</span>; <a name="l00637"></a>00637 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#f854baeba384f5fe9859f5aee03b548e">NextSibling</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _next ) { <a name="l00638"></a>00638 <span class="keywordflow">return</span> const_cast&lt; TiXmlNode* &gt;( (const_cast&lt; const TiXmlNode* &gt;(<span class="keyword">this</span>))-&gt;NextSibling( _next ) ); <a name="l00639"></a>00639 } <a name="l00640"></a>00640 <a name="l00645"></a>00645 <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a>() <span class="keyword">const</span>; <a name="l00646"></a>00646 <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a>() { <a name="l00647"></a>00647 <span class="keywordflow">return</span> const_cast&lt; TiXmlElement* &gt;( (const_cast&lt; const TiXmlNode* &gt;(<span class="keyword">this</span>))-&gt;NextSiblingElement() ); <a name="l00648"></a>00648 } <a name="l00649"></a>00649 <a name="l00654"></a>00654 <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * ) <span class="keyword">const</span>; <a name="l00655"></a>00655 <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *_next ) { <a name="l00656"></a>00656 <span class="keywordflow">return</span> const_cast&lt; TiXmlElement* &gt;( (const_cast&lt; const TiXmlNode* &gt;(<span class="keyword">this</span>))-&gt;NextSiblingElement( _next ) ); <a name="l00657"></a>00657 } <a name="l00658"></a>00658 <a name="l00659"></a>00659 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l00660"></a><a class="code" href="classTiXmlNode.html#7572d0af9d1e696ee3f05d8bb5ebb463">00660</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a>( <span class="keyword">const</span> std::string&amp; _value)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a> (_value.c_str ()); } <a name="l00661"></a><a class="code" href="classTiXmlNode.html#506958e34406729a4e4c5326ea39d081">00661</a> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a>( <span class="keyword">const</span> std::string&amp; _value) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#73acf929d49d10bd0e5fb3d31b0372d1">NextSiblingElement</a> (_value.c_str ()); } <a name="l00662"></a>00662 <span class="preprocessor"> #endif</span> <a name="l00663"></a>00663 <span class="preprocessor"></span> <a name="l00665"></a>00665 <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#f4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>() <span class="keyword">const</span>; <a name="l00666"></a>00666 <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#f4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>() { <a name="l00667"></a>00667 <span class="keywordflow">return</span> const_cast&lt; TiXmlElement* &gt;( (const_cast&lt; const TiXmlNode* &gt;(<span class="keyword">this</span>))-&gt;FirstChildElement() ); <a name="l00668"></a>00668 } <a name="l00669"></a>00669 <a name="l00671"></a>00671 <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#f4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * _value ) <span class="keyword">const</span>; <a name="l00672"></a>00672 <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#f4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * _value ) { <a name="l00673"></a>00673 <span class="keywordflow">return</span> const_cast&lt; TiXmlElement* &gt;( (const_cast&lt; const TiXmlNode* &gt;(<span class="keyword">this</span>))-&gt;FirstChildElement( _value ) ); <a name="l00674"></a>00674 } <a name="l00675"></a>00675 <a name="l00676"></a>00676 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l00677"></a><a class="code" href="classTiXmlNode.html#327ad4bbd90073c5dfc931b07314f5f7">00677</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#f4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>( <span class="keyword">const</span> std::string&amp; _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#f4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a> (_value.c_str ()); } <a name="l00678"></a><a class="code" href="classTiXmlNode.html#7f1d7291880534c1e5cdeb392d8c1f45">00678</a> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#f4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>( <span class="keyword">const</span> std::string&amp; _value ) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#f4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a> (_value.c_str ()); } <a name="l00679"></a>00679 <span class="preprocessor"> #endif</span> <a name="l00680"></a>00680 <span class="preprocessor"></span> <a name="l00685"></a><a class="code" href="classTiXmlNode.html#57b99d5c97d67a42b9752f5210a1ba5e">00685</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlNode.html#57b99d5c97d67a42b9752f5210a1ba5e">Type</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> type; } <a name="l00686"></a>00686 <a name="l00690"></a>00690 <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* <a class="code" href="classTiXmlNode.html#80e397fa973cf5323e33b07154b024f3">GetDocument</a>() <span class="keyword">const</span>; <a name="l00691"></a>00691 <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* <a class="code" href="classTiXmlNode.html#80e397fa973cf5323e33b07154b024f3">GetDocument</a>() { <a name="l00692"></a>00692 <span class="keywordflow">return</span> const_cast&lt; TiXmlDocument* &gt;( (const_cast&lt; const TiXmlNode* &gt;(<span class="keyword">this</span>))-&gt;GetDocument() ); <a name="l00693"></a>00693 } <a name="l00694"></a>00694 <a name="l00696"></a><a class="code" href="classTiXmlNode.html#eed21ad30630ef6e7faf096127edc9f3">00696</a> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlNode.html#eed21ad30630ef6e7faf096127edc9f3">NoChildren</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !firstChild; } <a name="l00697"></a>00697 <a name="l00698"></a><a class="code" href="classTiXmlNode.html#8a4cda4b15c29f64cff419309aebed08">00698</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* <a class="code" href="classTiXmlNode.html#8a4cda4b15c29f64cff419309aebed08">ToDocument</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; } <a name="l00699"></a><a class="code" href="classTiXmlNode.html#72abed96dc9667ab9e0a2a275301bb1c">00699</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#72abed96dc9667ab9e0a2a275301bb1c">ToElement</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; } <a name="l00700"></a><a class="code" href="classTiXmlNode.html#a0a5086f9eaee910bbfdc7f975e26574">00700</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html">TiXmlComment</a>* <a class="code" href="classTiXmlNode.html#a0a5086f9eaee910bbfdc7f975e26574">ToComment</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; } <a name="l00701"></a><a class="code" href="classTiXmlNode.html#fd7205cf31d7a376929f8a36930627a2">00701</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>* <a class="code" href="classTiXmlNode.html#fd7205cf31d7a376929f8a36930627a2">ToUnknown</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; } <a name="l00702"></a><a class="code" href="classTiXmlNode.html#95a46a52c525992d6b4ee08beb14cd69">00702</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlText.html">TiXmlText</a>* <a class="code" href="classTiXmlNode.html#95a46a52c525992d6b4ee08beb14cd69">ToText</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; } <a name="l00703"></a><a class="code" href="classTiXmlNode.html#9f43e6984fc7d4afd6eb32714c6b7b72">00703</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>* <a class="code" href="classTiXmlNode.html#9f43e6984fc7d4afd6eb32714c6b7b72">ToDeclaration</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; } <a name="l00704"></a>00704 <a name="l00705"></a><a class="code" href="classTiXmlNode.html#6a4c8ac28ee7a745d059db6691e03bae">00705</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* <a class="code" href="classTiXmlNode.html#8a4cda4b15c29f64cff419309aebed08">ToDocument</a>() { <span class="keywordflow">return</span> 0; } <a name="l00706"></a><a class="code" href="classTiXmlNode.html#a65d000223187d22a4dcebd7479e9ebc">00706</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#72abed96dc9667ab9e0a2a275301bb1c">ToElement</a>() { <span class="keywordflow">return</span> 0; } <a name="l00707"></a><a class="code" href="classTiXmlNode.html#383e06a0787f7063953934867990f849">00707</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlComment.html">TiXmlComment</a>* <a class="code" href="classTiXmlNode.html#a0a5086f9eaee910bbfdc7f975e26574">ToComment</a>() { <span class="keywordflow">return</span> 0; } <a name="l00708"></a><a class="code" href="classTiXmlNode.html#06de5af852668c7e4af0d09c205f0b0d">00708</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>* <a class="code" href="classTiXmlNode.html#fd7205cf31d7a376929f8a36930627a2">ToUnknown</a>() { <span class="keywordflow">return</span> 0; } <a name="l00709"></a><a class="code" href="classTiXmlNode.html#3ddfbcac78fbea041fad57e5c6d60a03">00709</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlText.html">TiXmlText</a>* <a class="code" href="classTiXmlNode.html#95a46a52c525992d6b4ee08beb14cd69">ToText</a>() { <span class="keywordflow">return</span> 0; } <a name="l00710"></a><a class="code" href="classTiXmlNode.html#4027136ca820ff4a636b607231b6a6df">00710</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>* <a class="code" href="classTiXmlNode.html#9f43e6984fc7d4afd6eb32714c6b7b72">ToDeclaration</a>() { <span class="keywordflow">return</span> 0; } <a name="l00711"></a>00711 <a name="l00715"></a>00715 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#4508cc3a2d7a98e96a54cc09c37a78a4">Clone</a>() <span class="keyword">const </span>= 0; <a name="l00716"></a>00716 <a name="l00739"></a>00739 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlNode.html#cc0f88b7462c6cb73809d410a4f5bb86">Accept</a>( <a class="code" href="classTiXmlVisitor.html">TiXmlVisitor</a>* visitor ) <span class="keyword">const </span>= 0; <a name="l00740"></a>00740 <a name="l00741"></a>00741 <span class="keyword">protected</span>: <a name="l00742"></a>00742 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>( <a class="code" href="classTiXmlNode.html#836eded4920ab9e9ef28496f48cd95a2">NodeType</a> _type ); <a name="l00743"></a>00743 <a name="l00744"></a>00744 <span class="comment">// Copy to the allocated object. Shared functionality between Clone, Copy constructor,</span> <a name="l00745"></a>00745 <span class="comment">// and the assignment operator.</span> <a name="l00746"></a>00746 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* target ) <span class="keyword">const</span>; <a name="l00747"></a>00747 <a name="l00748"></a>00748 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l00749"></a>00749 <span class="preprocessor"></span> <span class="comment">// The real work of the input operator.</span> <a name="l00750"></a>00750 <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( std::istream* in, TIXML_STRING* tag ) = 0; <a name="l00751"></a>00751 <span class="preprocessor"> #endif</span> <a name="l00752"></a>00752 <span class="preprocessor"></span> <a name="l00753"></a>00753 <span class="comment">// Figure out what is at *p, and parse it. Returns null if it is not an xml node.</span> <a name="l00754"></a>00754 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* Identify( <span class="keyword">const</span> <span class="keywordtype">char</span>* start, TiXmlEncoding encoding ); <a name="l00755"></a>00755 <a name="l00756"></a>00756 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* parent; <a name="l00757"></a>00757 <a class="code" href="classTiXmlNode.html#836eded4920ab9e9ef28496f48cd95a2">NodeType</a> type; <a name="l00758"></a>00758 <a name="l00759"></a>00759 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* firstChild; <a name="l00760"></a>00760 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* lastChild; <a name="l00761"></a>00761 <a name="l00762"></a>00762 TIXML_STRING value; <a name="l00763"></a>00763 <a name="l00764"></a>00764 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* prev; <a name="l00765"></a>00765 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* next; <a name="l00766"></a>00766 <a name="l00767"></a>00767 <span class="keyword">private</span>: <a name="l00768"></a>00768 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>&amp; ); <span class="comment">// not implemented.</span> <a name="l00769"></a>00769 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>&amp; base ); <span class="comment">// not allowed.</span> <a name="l00770"></a>00770 }; <a name="l00771"></a>00771 <a name="l00772"></a>00772 <a name="l00780"></a><a class="code" href="classTiXmlAttribute.html">00780</a> <span class="keyword">class </span><a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlBase.html">TiXmlBase</a> <a name="l00781"></a>00781 { <a name="l00782"></a>00782 <span class="keyword">friend</span> <span class="keyword">class </span>TiXmlAttributeSet; <a name="l00783"></a>00783 <a name="l00784"></a>00784 <span class="keyword">public</span>: <a name="l00786"></a><a class="code" href="classTiXmlAttribute.html#9cfa3c8179873fd485d83003b114f8e1">00786</a> <a class="code" href="classTiXmlAttribute.html#9cfa3c8179873fd485d83003b114f8e1">TiXmlAttribute</a>() : <a class="code" href="classTiXmlBase.html">TiXmlBase</a>() <a name="l00787"></a>00787 { <a name="l00788"></a>00788 document = 0; <a name="l00789"></a>00789 prev = next = 0; <a name="l00790"></a>00790 } <a name="l00791"></a>00791 <a name="l00792"></a>00792 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l00794"></a><a class="code" href="classTiXmlAttribute.html#052213522caac3979960e0714063861d">00794</a> <span class="preprocessor"> TiXmlAttribute( const std::string&amp; _name, const std::string&amp; _value )</span> <a name="l00795"></a>00795 <span class="preprocessor"></span> { <a name="l00796"></a>00796 name = _name; <a name="l00797"></a>00797 value = _value; <a name="l00798"></a>00798 document = 0; <a name="l00799"></a>00799 prev = next = 0; <a name="l00800"></a>00800 } <a name="l00801"></a>00801 <span class="preprocessor"> #endif</span> <a name="l00802"></a>00802 <span class="preprocessor"></span> <a name="l00804"></a><a class="code" href="classTiXmlAttribute.html#759d0b76fb8fcf765ecab243bc14f05e">00804</a> <a class="code" href="classTiXmlAttribute.html#9cfa3c8179873fd485d83003b114f8e1">TiXmlAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * _name, <span class="keyword">const</span> <span class="keywordtype">char</span> * _value ) <a name="l00805"></a>00805 { <a name="l00806"></a>00806 name = _name; <a name="l00807"></a>00807 value = _value; <a name="l00808"></a>00808 document = 0; <a name="l00809"></a>00809 prev = next = 0; <a name="l00810"></a>00810 } <a name="l00811"></a>00811 <a name="l00812"></a><a class="code" href="classTiXmlAttribute.html#298a57287d305904ba6bd96ae6f78d3d">00812</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlAttribute.html#298a57287d305904ba6bd96ae6f78d3d">Name</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name.c_str(); } <a name="l00813"></a><a class="code" href="classTiXmlAttribute.html#0f874490eac8ca00ee0070765d0e97e3">00813</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlAttribute.html#0f874490eac8ca00ee0070765d0e97e3">Value</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value.c_str(); } <a name="l00814"></a>00814 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l00815"></a><a class="code" href="classTiXmlAttribute.html#87705c3ccf9ee9417beb4f7cbacd4d33">00815</a> <span class="preprocessor"></span> <span class="keyword">const</span> std::string&amp; <a class="code" href="classTiXmlAttribute.html#87705c3ccf9ee9417beb4f7cbacd4d33">ValueStr</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value; } <a name="l00816"></a>00816 <span class="preprocessor"> #endif</span> <a name="l00817"></a>00817 <span class="preprocessor"></span> <span class="keywordtype">int</span> <a class="code" href="classTiXmlAttribute.html#a1a20ad59dc7e89a0ab265396360d50f">IntValue</a>() <span class="keyword">const</span>; <a name="l00818"></a>00818 <span class="keywordtype">double</span> <a class="code" href="classTiXmlAttribute.html#2880ddef53fc7522c99535273954d230">DoubleValue</a>() <span class="keyword">const</span>; <a name="l00819"></a>00819 <a name="l00820"></a>00820 <span class="comment">// Get the tinyxml string representation</span> <a name="l00821"></a>00821 <span class="keyword">const</span> TIXML_STRING&amp; NameTStr()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name; } <a name="l00822"></a>00822 <a name="l00832"></a>00832 <span class="keywordtype">int</span> <a class="code" href="classTiXmlAttribute.html#d6c93088ee21af41a107931223339344">QueryIntValue</a>( <span class="keywordtype">int</span>* _value ) <span class="keyword">const</span>; <a name="l00834"></a>00834 <span class="keywordtype">int</span> <a class="code" href="classTiXmlAttribute.html#c87b2a8489906a5d7aa2875f20be3513">QueryDoubleValue</a>( <span class="keywordtype">double</span>* _value ) <span class="keyword">const</span>; <a name="l00835"></a>00835 <a name="l00836"></a><a class="code" href="classTiXmlAttribute.html#b7fa3d21ff8d7c5764cf9af15b667a99">00836</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#b7fa3d21ff8d7c5764cf9af15b667a99">SetName</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _name ) { name = _name; } <a name="l00837"></a><a class="code" href="classTiXmlAttribute.html#2dae44178f668b3cb48101be4f2236a0">00837</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#2dae44178f668b3cb48101be4f2236a0">SetValue</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _value ) { value = _value; } <a name="l00838"></a>00838 <a name="l00839"></a>00839 <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#7e065df640116a62ea4f4b7da5449cc8">SetIntValue</a>( <span class="keywordtype">int</span> _value ); <a name="l00840"></a>00840 <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#0316da31373496c4368ad549bf711394">SetDoubleValue</a>( <span class="keywordtype">double</span> _value ); <a name="l00841"></a>00841 <a name="l00842"></a>00842 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l00844"></a><a class="code" href="classTiXmlAttribute.html#b296ff0c9a8c701055cd257a8a976e57">00844</a> <span class="preprocessor"> void SetName( const std::string&amp; _name ) { name = _name; } </span> <a name="l00846"></a><a class="code" href="classTiXmlAttribute.html#b43f67a0cc3ec1d80e62606500f0925f">00846</a> <span class="preprocessor"> void SetValue( const std::string&amp; _value ) { value = _value; }</span> <a name="l00847"></a>00847 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> <a name="l00848"></a>00848 <span class="preprocessor"></span> <a name="l00850"></a>00850 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <a class="code" href="classTiXmlAttribute.html#1c78e92e223a40843f644ba48ef69f67">Next</a>() <span class="keyword">const</span>; <a name="l00851"></a>00851 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <a class="code" href="classTiXmlAttribute.html#1c78e92e223a40843f644ba48ef69f67">Next</a>() { <a name="l00852"></a>00852 <span class="keywordflow">return</span> const_cast&lt; TiXmlAttribute* &gt;( (const_cast&lt; const TiXmlAttribute* &gt;(<span class="keyword">this</span>))-&gt;Next() ); <a name="l00853"></a>00853 } <a name="l00854"></a>00854 <a name="l00856"></a>00856 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <a class="code" href="classTiXmlAttribute.html#6ebbfe333fe76cd834bd6cbcca3130cf">Previous</a>() <span class="keyword">const</span>; <a name="l00857"></a>00857 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <a class="code" href="classTiXmlAttribute.html#6ebbfe333fe76cd834bd6cbcca3130cf">Previous</a>() { <a name="l00858"></a>00858 <span class="keywordflow">return</span> const_cast&lt; TiXmlAttribute* &gt;( (const_cast&lt; const TiXmlAttribute* &gt;(<span class="keyword">this</span>))-&gt;Previous() ); <a name="l00859"></a>00859 } <a name="l00860"></a>00860 <a name="l00861"></a>00861 <span class="keywordtype">bool</span> operator==( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>&amp; rhs )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> rhs.<a class="code" href="classTiXmlAttribute.html#fcbe165f33f08cf9b24daa33f0ee951a">name</a> == name; } <a name="l00862"></a>00862 <span class="keywordtype">bool</span> operator&lt;( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>&amp; rhs )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name &lt; rhs.<a class="code" href="classTiXmlAttribute.html#fcbe165f33f08cf9b24daa33f0ee951a">name</a>; } <a name="l00863"></a>00863 <span class="keywordtype">bool</span> operator&gt;( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>&amp; rhs )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name &gt; rhs.<a class="code" href="classTiXmlAttribute.html#fcbe165f33f08cf9b24daa33f0ee951a">name</a>; } <a name="l00864"></a>00864 <a name="l00865"></a>00865 <span class="comment">/* Attribute parsing starts: first letter of the name</span> <a name="l00866"></a>00866 <span class="comment"> returns: the next char after the value end quote</span> <a name="l00867"></a>00867 <span class="comment"> */</span> <a name="l00868"></a>00868 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding ); <a name="l00869"></a>00869 <a name="l00870"></a>00870 <span class="comment">// Prints this Attribute to a FILE stream.</span> <a name="l00871"></a><a class="code" href="classTiXmlAttribute.html#cc04956c1d5c4c31fe74f7a7528d109a">00871</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#cc04956c1d5c4c31fe74f7a7528d109a">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth )<span class="keyword"> const </span>{ <a name="l00872"></a>00872 <a class="code" href="classTiXmlAttribute.html#cc04956c1d5c4c31fe74f7a7528d109a">Print</a>( cfile, depth, 0 ); <a name="l00873"></a>00873 } <a name="l00874"></a>00874 <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#cc04956c1d5c4c31fe74f7a7528d109a">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth, TIXML_STRING* str ) <span class="keyword">const</span>; <a name="l00875"></a>00875 <a name="l00876"></a>00876 <span class="comment">// [internal use]</span> <a name="l00877"></a>00877 <span class="comment">// Set the document pointer so the attribute can report errors.</span> <a name="l00878"></a>00878 <span class="keywordtype">void</span> SetDocument( <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* doc ) { document = doc; } <a name="l00879"></a>00879 <a name="l00880"></a>00880 <span class="keyword">private</span>: <a name="l00881"></a>00881 <a class="code" href="classTiXmlAttribute.html#9cfa3c8179873fd485d83003b114f8e1">TiXmlAttribute</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>&amp; ); <span class="comment">// not implemented.</span> <a name="l00882"></a>00882 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>&amp; base ); <span class="comment">// not allowed.</span> <a name="l00883"></a>00883 <a name="l00884"></a>00884 <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* document; <span class="comment">// A pointer back to a document, for error reporting.</span> <a name="l00885"></a>00885 TIXML_STRING name; <a name="l00886"></a>00886 TIXML_STRING value; <a name="l00887"></a>00887 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* prev; <a name="l00888"></a>00888 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* next; <a name="l00889"></a>00889 }; <a name="l00890"></a>00890 <a name="l00891"></a>00891 <a name="l00892"></a>00892 <span class="comment">/* A class used to manage a group of attributes.</span> <a name="l00893"></a>00893 <span class="comment"> It is only used internally, both by the ELEMENT and the DECLARATION.</span> <a name="l00894"></a>00894 <span class="comment"> </span> <a name="l00895"></a>00895 <span class="comment"> The set can be changed transparent to the Element and Declaration</span> <a name="l00896"></a>00896 <span class="comment"> classes that use it, but NOT transparent to the Attribute</span> <a name="l00897"></a>00897 <span class="comment"> which has to implement a next() and previous() method. Which makes</span> <a name="l00898"></a>00898 <span class="comment"> it a bit problematic and prevents the use of STL.</span> <a name="l00899"></a>00899 <span class="comment"></span> <a name="l00900"></a>00900 <span class="comment"> This version is implemented with circular lists because:</span> <a name="l00901"></a>00901 <span class="comment"> - I like circular lists</span> <a name="l00902"></a>00902 <span class="comment"> - it demonstrates some independence from the (typical) doubly linked list.</span> <a name="l00903"></a>00903 <span class="comment">*/</span> <a name="l00904"></a>00904 <span class="keyword">class </span>TiXmlAttributeSet <a name="l00905"></a>00905 { <a name="l00906"></a>00906 <span class="keyword">public</span>: <a name="l00907"></a>00907 TiXmlAttributeSet(); <a name="l00908"></a>00908 ~TiXmlAttributeSet(); <a name="l00909"></a>00909 <a name="l00910"></a>00910 <span class="keywordtype">void</span> Add( <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* attribute ); <a name="l00911"></a>00911 <span class="keywordtype">void</span> Remove( <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* attribute ); <a name="l00912"></a>00912 <a name="l00913"></a>00913 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* First()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( sentinel.next == &amp;sentinel ) ? 0 : sentinel.next; } <a name="l00914"></a>00914 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* First() { <span class="keywordflow">return</span> ( sentinel.next == &amp;sentinel ) ? 0 : sentinel.next; } <a name="l00915"></a>00915 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* Last()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( sentinel.prev == &amp;sentinel ) ? 0 : sentinel.prev; } <a name="l00916"></a>00916 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* Last() { <span class="keywordflow">return</span> ( sentinel.prev == &amp;sentinel ) ? 0 : sentinel.prev; } <a name="l00917"></a>00917 <a name="l00918"></a>00918 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* Find( <span class="keyword">const</span> <span class="keywordtype">char</span>* _name ) <span class="keyword">const</span>; <a name="l00919"></a>00919 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* Find( <span class="keyword">const</span> <span class="keywordtype">char</span>* _name ) { <a name="l00920"></a>00920 <span class="keywordflow">return</span> const_cast&lt; TiXmlAttribute* &gt;( (const_cast&lt; const TiXmlAttributeSet* &gt;(<span class="keyword">this</span>))-&gt;Find( _name ) ); <a name="l00921"></a>00921 } <a name="l00922"></a>00922 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l00923"></a>00923 <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* Find( <span class="keyword">const</span> std::string&amp; _name ) <span class="keyword">const</span>; <a name="l00924"></a>00924 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* Find( <span class="keyword">const</span> std::string&amp; _name ) { <a name="l00925"></a>00925 <span class="keywordflow">return</span> const_cast&lt; TiXmlAttribute* &gt;( (const_cast&lt; const TiXmlAttributeSet* &gt;(<span class="keyword">this</span>))-&gt;Find( _name ) ); <a name="l00926"></a>00926 } <a name="l00927"></a>00927 <a name="l00928"></a>00928 <span class="preprocessor"> #endif</span> <a name="l00929"></a>00929 <span class="preprocessor"></span> <a name="l00930"></a>00930 <span class="keyword">private</span>: <a name="l00931"></a>00931 <span class="comment">//*ME: Because of hidden/disabled copy-construktor in TiXmlAttribute (sentinel-element),</span> <a name="l00932"></a>00932 <span class="comment">//*ME: this class must be also use a hidden/disabled copy-constructor !!!</span> <a name="l00933"></a>00933 TiXmlAttributeSet( <span class="keyword">const</span> TiXmlAttributeSet&amp; ); <span class="comment">// not allowed</span> <a name="l00934"></a>00934 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> TiXmlAttributeSet&amp; ); <span class="comment">// not allowed (as TiXmlAttribute)</span> <a name="l00935"></a>00935 <a name="l00936"></a>00936 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a> sentinel; <a name="l00937"></a>00937 }; <a name="l00938"></a>00938 <a name="l00939"></a>00939 <a name="l00944"></a><a class="code" href="classTiXmlElement.html">00944</a> <span class="keyword">class </span><a class="code" href="classTiXmlElement.html">TiXmlElement</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a> <a name="l00945"></a>00945 { <a name="l00946"></a>00946 <span class="keyword">public</span>: <a name="l00948"></a>00948 <a class="code" href="classTiXmlElement.html#01bc3ab372d35da08efcbbe65ad90c60">TiXmlElement</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> * in_value); <a name="l00949"></a>00949 <a name="l00950"></a>00950 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l00952"></a>00952 <span class="preprocessor"> TiXmlElement( const std::string&amp; _value );</span> <a name="l00953"></a>00953 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> <a name="l00954"></a>00954 <span class="preprocessor"></span> <a name="l00955"></a>00955 <a class="code" href="classTiXmlElement.html#01bc3ab372d35da08efcbbe65ad90c60">TiXmlElement</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>&amp; ); <a name="l00956"></a>00956 <a name="l00957"></a>00957 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>&amp; base ); <a name="l00958"></a>00958 <a name="l00959"></a>00959 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlElement.html">TiXmlElement</a>(); <a name="l00960"></a>00960 <a name="l00964"></a>00964 <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlElement.html#e419a442a9701a62b0c3d8fd1cbdd12d">Attribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name ) <span class="keyword">const</span>; <a name="l00965"></a>00965 <a name="l00972"></a>00972 <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlElement.html#e419a442a9701a62b0c3d8fd1cbdd12d">Attribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">int</span>* i ) <span class="keyword">const</span>; <a name="l00973"></a>00973 <a name="l00980"></a>00980 <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlElement.html#e419a442a9701a62b0c3d8fd1cbdd12d">Attribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">double</span>* d ) <span class="keyword">const</span>; <a name="l00981"></a>00981 <a name="l00989"></a>00989 <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#ea0bfe471380f281c5945770ddbf52b9">QueryIntAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">int</span>* _value ) <span class="keyword">const</span>; <a name="l00991"></a>00991 <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#898d7730ecc341f0bffc7a9dadbf1ce7">QueryDoubleAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">double</span>* _value ) <span class="keyword">const</span>; <a name="l00993"></a><a class="code" href="classTiXmlElement.html#a04d3af11601ef5a5f88295203a843be">00993</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#a04d3af11601ef5a5f88295203a843be">QueryFloatAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">float</span>* _value )<span class="keyword"> const </span>{ <a name="l00994"></a>00994 <span class="keywordtype">double</span> d; <a name="l00995"></a>00995 <span class="keywordtype">int</span> result = <a class="code" href="classTiXmlElement.html#898d7730ecc341f0bffc7a9dadbf1ce7">QueryDoubleAttribute</a>( name, &amp;d ); <a name="l00996"></a>00996 <span class="keywordflow">if</span> ( result == TIXML_SUCCESS ) { <a name="l00997"></a>00997 *_value = (float)d; <a name="l00998"></a>00998 } <a name="l00999"></a>00999 <span class="keywordflow">return</span> result; <a name="l01000"></a>01000 } <a name="l01001"></a>01001 <a name="l01002"></a>01002 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l01003"></a>01003 <span class="preprocessor"></span> <a name="l01011"></a><a class="code" href="classTiXmlElement.html#e3b9a03b0a56663a40801c7256683576">01011</a> <span class="keyword">template</span>&lt; <span class="keyword">typename</span> T &gt; <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#e3b9a03b0a56663a40801c7256683576">QueryValueAttribute</a>( <span class="keyword">const</span> std::string&amp; name, T* outValue )<span class="keyword"> const</span> <a name="l01012"></a>01012 <span class="keyword"> </span>{ <a name="l01013"></a>01013 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* node = attributeSet.Find( name ); <a name="l01014"></a>01014 <span class="keywordflow">if</span> ( !node ) <a name="l01015"></a>01015 <span class="keywordflow">return</span> TIXML_NO_ATTRIBUTE; <a name="l01016"></a>01016 <a name="l01017"></a>01017 std::stringstream sstream( node-&gt;<a class="code" href="classTiXmlAttribute.html#87705c3ccf9ee9417beb4f7cbacd4d33">ValueStr</a>() ); <a name="l01018"></a>01018 sstream &gt;&gt; *outValue; <a name="l01019"></a>01019 <span class="keywordflow">if</span> ( !sstream.fail() ) <a name="l01020"></a>01020 <span class="keywordflow">return</span> TIXML_SUCCESS; <a name="l01021"></a>01021 <span class="keywordflow">return</span> TIXML_WRONG_TYPE; <a name="l01022"></a>01022 } <a name="l01023"></a>01023 <span class="comment">/*</span> <a name="l01024"></a>01024 <span class="comment"> This is - in theory - a bug fix for "QueryValueAtribute returns truncated std::string"</span> <a name="l01025"></a>01025 <span class="comment"> but template specialization is hard to get working cross-compiler. Leaving the bug for now.</span> <a name="l01026"></a>01026 <span class="comment"> </span> <a name="l01027"></a>01027 <span class="comment"> // The above will fail for std::string because the space character is used as a seperator.</span> <a name="l01028"></a>01028 <span class="comment"> // Specialize for strings. Bug [ 1695429 ] QueryValueAtribute returns truncated std::string</span> <a name="l01029"></a>01029 <span class="comment"> template&lt;&gt; int QueryValueAttribute( const std::string&amp; name, std::string* outValue ) const</span> <a name="l01030"></a>01030 <span class="comment"> {</span> <a name="l01031"></a>01031 <span class="comment"> const TiXmlAttribute* node = attributeSet.Find( name );</span> <a name="l01032"></a>01032 <span class="comment"> if ( !node )</span> <a name="l01033"></a>01033 <span class="comment"> return TIXML_NO_ATTRIBUTE;</span> <a name="l01034"></a>01034 <span class="comment"> *outValue = node-&gt;ValueStr();</span> <a name="l01035"></a>01035 <span class="comment"> return TIXML_SUCCESS;</span> <a name="l01036"></a>01036 <span class="comment"> }</span> <a name="l01037"></a>01037 <span class="comment"> */</span> <a name="l01038"></a>01038 <span class="preprocessor"> #endif</span> <a name="l01039"></a>01039 <span class="preprocessor"></span> <a name="l01043"></a>01043 <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#bf0b3bd7f0e4c746a89ec6e7f101fc32">SetAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <span class="keywordtype">char</span> * _value ); <a name="l01044"></a>01044 <a name="l01045"></a>01045 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l01046"></a>01046 <span class="preprocessor"></span> <span class="keyword">const</span> std::string* <a class="code" href="classTiXmlElement.html#e419a442a9701a62b0c3d8fd1cbdd12d">Attribute</a>( <span class="keyword">const</span> std::string&amp; name ) <span class="keyword">const</span>; <a name="l01047"></a>01047 <span class="keyword">const</span> std::string* <a class="code" href="classTiXmlElement.html#e419a442a9701a62b0c3d8fd1cbdd12d">Attribute</a>( <span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">int</span>* i ) <span class="keyword">const</span>; <a name="l01048"></a>01048 <span class="keyword">const</span> std::string* <a class="code" href="classTiXmlElement.html#e419a442a9701a62b0c3d8fd1cbdd12d">Attribute</a>( <span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">double</span>* d ) <span class="keyword">const</span>; <a name="l01049"></a>01049 <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#ea0bfe471380f281c5945770ddbf52b9">QueryIntAttribute</a>( <span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">int</span>* _value ) <span class="keyword">const</span>; <a name="l01050"></a>01050 <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#898d7730ecc341f0bffc7a9dadbf1ce7">QueryDoubleAttribute</a>( <span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">double</span>* _value ) <span class="keyword">const</span>; <a name="l01051"></a>01051 <a name="l01053"></a>01053 <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#bf0b3bd7f0e4c746a89ec6e7f101fc32">SetAttribute</a>( <span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> std::string&amp; _value ); <a name="l01055"></a>01055 <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#bf0b3bd7f0e4c746a89ec6e7f101fc32">SetAttribute</a>( <span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">int</span> _value ); <a name="l01056"></a>01056 <span class="preprocessor"> #endif</span> <a name="l01057"></a>01057 <span class="preprocessor"></span> <a name="l01061"></a>01061 <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#bf0b3bd7f0e4c746a89ec6e7f101fc32">SetAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * name, <span class="keywordtype">int</span> value ); <a name="l01062"></a>01062 <a name="l01066"></a>01066 <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#0d1dd975d75496778177e35abfe0ec0b">SetDoubleAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * name, <span class="keywordtype">double</span> value ); <a name="l01067"></a>01067 <a name="l01070"></a>01070 <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#56979767deca794376b1dfa69a525b2a">RemoveAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * name ); <a name="l01071"></a>01071 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l01072"></a><a class="code" href="classTiXmlElement.html#1afa6aea716511326a608e4c05df4f3a">01072</a> <span class="preprocessor"></span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#56979767deca794376b1dfa69a525b2a">RemoveAttribute</a>( <span class="keyword">const</span> std::string&amp; name ) { <a class="code" href="classTiXmlElement.html#56979767deca794376b1dfa69a525b2a">RemoveAttribute</a> (name.c_str ()); } <a name="l01073"></a>01073 <span class="preprocessor"> #endif</span> <a name="l01074"></a>01074 <span class="preprocessor"></span> <a name="l01075"></a><a class="code" href="classTiXmlElement.html#516054c9073647d6cb29b6abe9fa0592">01075</a> <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <a class="code" href="classTiXmlElement.html#516054c9073647d6cb29b6abe9fa0592">FirstAttribute</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> attributeSet.First(); } <a name="l01076"></a>01076 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <a class="code" href="classTiXmlElement.html#516054c9073647d6cb29b6abe9fa0592">FirstAttribute</a>() { <span class="keywordflow">return</span> attributeSet.First(); } <a name="l01077"></a><a class="code" href="classTiXmlElement.html#86191b49f9177be132b85b14655f1381">01077</a> <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <a class="code" href="classTiXmlElement.html#86191b49f9177be132b85b14655f1381">LastAttribute</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> attributeSet.Last(); } <a name="l01078"></a>01078 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <a class="code" href="classTiXmlElement.html#86191b49f9177be132b85b14655f1381">LastAttribute</a>() { <span class="keywordflow">return</span> attributeSet.Last(); } <a name="l01079"></a>01079 <a name="l01112"></a>01112 <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlElement.html#f3282294986cdb216646ea1f67af2c87">GetText</a>() <span class="keyword">const</span>; <a name="l01113"></a>01113 <a name="l01115"></a>01115 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlElement.html#a464535ea1994db337cb6a8ce4b588b5">Clone</a>() <span class="keyword">const</span>; <a name="l01116"></a>01116 <span class="comment">// Print the Element to a FILE stream.</span> <a name="l01117"></a>01117 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#fbf52736e70fc91ec9d760721d6f4fd2">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span>; <a name="l01118"></a>01118 <a name="l01119"></a>01119 <span class="comment">/* Attribtue parsing starts: next char past '&lt;'</span> <a name="l01120"></a>01120 <span class="comment"> returns: next char past '&gt;'</span> <a name="l01121"></a>01121 <span class="comment"> */</span> <a name="l01122"></a>01122 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding ); <a name="l01123"></a>01123 <a name="l01124"></a><a class="code" href="classTiXmlElement.html#c5b8d0e25fa23fd9acbb6d146082901c">01124</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlElement.html#c5b8d0e25fa23fd9acbb6d146082901c">ToElement</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span>; } <a name="l01125"></a><a class="code" href="classTiXmlElement.html#9def86337ea7a755eb41cac980f60c7a">01125</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlElement.html#c5b8d0e25fa23fd9acbb6d146082901c">ToElement</a>() { <span class="keywordflow">return</span> <span class="keyword">this</span>; } <a name="l01126"></a>01126 <a name="l01129"></a>01129 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlElement.html#71a81b2afb0d42be1543d1c404dee6f5">Accept</a>( <a class="code" href="classTiXmlVisitor.html">TiXmlVisitor</a>* visitor ) <span class="keyword">const</span>; <a name="l01130"></a>01130 <a name="l01131"></a>01131 <span class="keyword">protected</span>: <a name="l01132"></a>01132 <a name="l01133"></a>01133 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* target ) <span class="keyword">const</span>; <a name="l01134"></a>01134 <span class="keywordtype">void</span> ClearThis(); <span class="comment">// like clear, but initializes 'this' object as well</span> <a name="l01135"></a>01135 <a name="l01136"></a>01136 <span class="comment">// Used to be public [internal use]</span> <a name="l01137"></a>01137 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l01138"></a>01138 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( std::istream * in, TIXML_STRING * tag ); <a name="l01139"></a>01139 <span class="preprocessor"> #endif</span> <a name="l01140"></a>01140 <span class="preprocessor"></span> <span class="comment">/* [internal use]</span> <a name="l01141"></a>01141 <span class="comment"> Reads the "value" of the element -- another element, or text.</span> <a name="l01142"></a>01142 <span class="comment"> This should terminate with the current end tag.</span> <a name="l01143"></a>01143 <span class="comment"> */</span> <a name="l01144"></a>01144 <span class="keyword">const</span> <span class="keywordtype">char</span>* ReadValue( <span class="keyword">const</span> <span class="keywordtype">char</span>* in, TiXmlParsingData* prevData, TiXmlEncoding encoding ); <a name="l01145"></a>01145 <a name="l01146"></a>01146 <span class="keyword">private</span>: <a name="l01147"></a>01147 <a name="l01148"></a>01148 TiXmlAttributeSet attributeSet; <a name="l01149"></a>01149 }; <a name="l01150"></a>01150 <a name="l01151"></a>01151 <a name="l01154"></a><a class="code" href="classTiXmlComment.html">01154</a> <span class="keyword">class </span><a class="code" href="classTiXmlComment.html">TiXmlComment</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a> <a name="l01155"></a>01155 { <a name="l01156"></a>01156 <span class="keyword">public</span>: <a name="l01158"></a><a class="code" href="classTiXmlComment.html#aa3252031d3e8bd3a2bf51a1c61201b7">01158</a> <a class="code" href="classTiXmlComment.html#aa3252031d3e8bd3a2bf51a1c61201b7">TiXmlComment</a>() : <a class="code" href="classTiXmlNode.html">TiXmlNode</a>( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>::COMMENT ) {} <a name="l01160"></a><a class="code" href="classTiXmlComment.html#37e7802ef17bc03ebe5ae79bf0713d47">01160</a> <a class="code" href="classTiXmlComment.html#aa3252031d3e8bd3a2bf51a1c61201b7">TiXmlComment</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _value ) : <a class="code" href="classTiXmlNode.html">TiXmlNode</a>( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>::COMMENT ) { <a name="l01161"></a>01161 <a class="code" href="classTiXmlNode.html#2a38329ca5d3f28f98ce932b8299ae90">SetValue</a>( _value ); <a name="l01162"></a>01162 } <a name="l01163"></a>01163 <a class="code" href="classTiXmlComment.html#aa3252031d3e8bd3a2bf51a1c61201b7">TiXmlComment</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html">TiXmlComment</a>&amp; ); <a name="l01164"></a>01164 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html">TiXmlComment</a>&amp; base ); <a name="l01165"></a>01165 <a name="l01166"></a>01166 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlComment.html">TiXmlComment</a>() {} <a name="l01167"></a>01167 <a name="l01169"></a>01169 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlComment.html#0d6662bdc52488b9e12b3c7a0453d028">Clone</a>() <span class="keyword">const</span>; <a name="l01170"></a>01170 <span class="comment">// Write this Comment to a FILE stream.</span> <a name="l01171"></a>01171 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlComment.html#6b316527aaa8da0370cd68c22a5a0f5f">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span>; <a name="l01172"></a>01172 <a name="l01173"></a>01173 <span class="comment">/* Attribtue parsing starts: at the ! of the !--</span> <a name="l01174"></a>01174 <span class="comment"> returns: next char past '&gt;'</span> <a name="l01175"></a>01175 <span class="comment"> */</span> <a name="l01176"></a>01176 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding ); <a name="l01177"></a>01177 <a name="l01178"></a><a class="code" href="classTiXmlComment.html#00fb4215c20a2399ea05ac9b9e7e68a0">01178</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html">TiXmlComment</a>* <a class="code" href="classTiXmlComment.html#00fb4215c20a2399ea05ac9b9e7e68a0">ToComment</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span>; } <a name="l01179"></a><a class="code" href="classTiXmlComment.html#cc7c7e07e13c23f17797d642981511df">01179</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlComment.html">TiXmlComment</a>* <a class="code" href="classTiXmlComment.html#00fb4215c20a2399ea05ac9b9e7e68a0">ToComment</a>() { <span class="keywordflow">return</span> <span class="keyword">this</span>; } <a name="l01180"></a>01180 <a name="l01183"></a>01183 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlComment.html#f3ac1b99fbbe9ea4fb6e14146156e43e">Accept</a>( <a class="code" href="classTiXmlVisitor.html">TiXmlVisitor</a>* visitor ) <span class="keyword">const</span>; <a name="l01184"></a>01184 <a name="l01185"></a>01185 <span class="keyword">protected</span>: <a name="l01186"></a>01186 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlComment.html">TiXmlComment</a>* target ) <span class="keyword">const</span>; <a name="l01187"></a>01187 <a name="l01188"></a>01188 <span class="comment">// used to be public</span> <a name="l01189"></a>01189 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l01190"></a>01190 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( std::istream * in, TIXML_STRING * tag ); <a name="l01191"></a>01191 <span class="preprocessor"> #endif</span> <a name="l01192"></a>01192 <span class="preprocessor"></span><span class="comment">// virtual void StreamOut( TIXML_OSTREAM * out ) const;</span> <a name="l01193"></a>01193 <a name="l01194"></a>01194 <span class="keyword">private</span>: <a name="l01195"></a>01195 <a name="l01196"></a>01196 }; <a name="l01197"></a>01197 <a name="l01198"></a>01198 <a name="l01204"></a><a class="code" href="classTiXmlText.html">01204</a> <span class="keyword">class </span><a class="code" href="classTiXmlText.html">TiXmlText</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a> <a name="l01205"></a>01205 { <a name="l01206"></a>01206 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlElement.html">TiXmlElement</a>; <a name="l01207"></a>01207 <span class="keyword">public</span>: <a name="l01212"></a><a class="code" href="classTiXmlText.html#f659e77c6b87d684827f35a8f4895960">01212</a> <a class="code" href="classTiXmlText.html#f659e77c6b87d684827f35a8f4895960">TiXmlText</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> * initValue ) : <a class="code" href="classTiXmlNode.html">TiXmlNode</a> (<a class="code" href="classTiXmlNode.html">TiXmlNode</a>::TEXT) <a name="l01213"></a>01213 { <a name="l01214"></a>01214 <a class="code" href="classTiXmlNode.html#2a38329ca5d3f28f98ce932b8299ae90">SetValue</a>( initValue ); <a name="l01215"></a>01215 cdata = <span class="keyword">false</span>; <a name="l01216"></a>01216 } <a name="l01217"></a>01217 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlText.html">TiXmlText</a>() {} <a name="l01218"></a>01218 <a name="l01219"></a>01219 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l01221"></a><a class="code" href="classTiXmlText.html#439792f6183a3d3fb6f2bc2b16fa5691">01221</a> <span class="preprocessor"> TiXmlText( const std::string&amp; initValue ) : TiXmlNode (TiXmlNode::TEXT)</span> <a name="l01222"></a>01222 <span class="preprocessor"></span> { <a name="l01223"></a>01223 <a class="code" href="classTiXmlNode.html#2a38329ca5d3f28f98ce932b8299ae90">SetValue</a>( initValue ); <a name="l01224"></a>01224 cdata = <span class="keyword">false</span>; <a name="l01225"></a>01225 } <a name="l01226"></a>01226 <span class="preprocessor"> #endif</span> <a name="l01227"></a>01227 <span class="preprocessor"></span> <a name="l01228"></a>01228 <a class="code" href="classTiXmlText.html#f659e77c6b87d684827f35a8f4895960">TiXmlText</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlText.html">TiXmlText</a>&amp; copy ) : <a class="code" href="classTiXmlNode.html">TiXmlNode</a>( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>::TEXT ) { copy.<a class="code" href="classTiXmlText.html#dcec7d9b6fccfc5777452bb97e6031c1">CopyTo</a>( <span class="keyword">this</span> ); } <a name="l01229"></a>01229 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlText.html">TiXmlText</a>&amp; base ) { base.<a class="code" href="classTiXmlText.html#dcec7d9b6fccfc5777452bb97e6031c1">CopyTo</a>( <span class="keyword">this</span> ); } <a name="l01230"></a>01230 <a name="l01231"></a>01231 <span class="comment">// Write this text object to a FILE stream.</span> <a name="l01232"></a>01232 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlText.html#0cafbf6f236c7f02d12b2bffc2b7976b">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span>; <a name="l01233"></a>01233 <a name="l01235"></a><a class="code" href="classTiXmlText.html#d1a6a6b83fa2271022dd97c072a2b586">01235</a> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlText.html#d1a6a6b83fa2271022dd97c072a2b586">CDATA</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> cdata; } <a name="l01237"></a><a class="code" href="classTiXmlText.html#cb17ff7c5d09b2c839393445a3de5ea9">01237</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlText.html#cb17ff7c5d09b2c839393445a3de5ea9">SetCDATA</a>( <span class="keywordtype">bool</span> _cdata ) { cdata = _cdata; } <a name="l01238"></a>01238 <a name="l01239"></a>01239 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding ); <a name="l01240"></a>01240 <a name="l01241"></a><a class="code" href="classTiXmlText.html#895bf34ffad17f7439ab2a52b9651648">01241</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlText.html">TiXmlText</a>* <a class="code" href="classTiXmlText.html#895bf34ffad17f7439ab2a52b9651648">ToText</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span>; } <a name="l01242"></a><a class="code" href="classTiXmlText.html#e7c3a8fd3e4dbf6c0c4363a943d72f5b">01242</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlText.html">TiXmlText</a>* <a class="code" href="classTiXmlText.html#895bf34ffad17f7439ab2a52b9651648">ToText</a>() { <span class="keywordflow">return</span> <span class="keyword">this</span>; } <a name="l01243"></a>01243 <a name="l01246"></a>01246 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlText.html#8483d4415ce9de6c4fa8f63d067d5de6">Accept</a>( <a class="code" href="classTiXmlVisitor.html">TiXmlVisitor</a>* content ) <span class="keyword">const</span>; <a name="l01247"></a>01247 <a name="l01248"></a>01248 <span class="keyword">protected</span> : <a name="l01250"></a>01250 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlText.html#0c411e93a27537369479d034cc82da3b">Clone</a>() <span class="keyword">const</span>; <a name="l01251"></a>01251 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlText.html">TiXmlText</a>* target ) <span class="keyword">const</span>; <a name="l01252"></a>01252 <a name="l01253"></a>01253 <span class="keywordtype">bool</span> Blank() <span class="keyword">const</span>; <span class="comment">// returns true if all white space and new lines</span> <a name="l01254"></a>01254 <span class="comment">// [internal use]</span> <a name="l01255"></a>01255 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l01256"></a>01256 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( std::istream * in, TIXML_STRING * tag ); <a name="l01257"></a>01257 <span class="preprocessor"> #endif</span> <a name="l01258"></a>01258 <span class="preprocessor"></span> <a name="l01259"></a>01259 <span class="keyword">private</span>: <a name="l01260"></a>01260 <span class="keywordtype">bool</span> cdata; <span class="comment">// true if this should be input and output as a CDATA style text element</span> <a name="l01261"></a>01261 }; <a name="l01262"></a>01262 <a name="l01263"></a>01263 <a name="l01277"></a><a class="code" href="classTiXmlDeclaration.html">01277</a> <span class="keyword">class </span><a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a> <a name="l01278"></a>01278 { <a name="l01279"></a>01279 <span class="keyword">public</span>: <a name="l01281"></a><a class="code" href="classTiXmlDeclaration.html#a0484d059bea0ea1acb47c9094382d79">01281</a> <a class="code" href="classTiXmlDeclaration.html#a0484d059bea0ea1acb47c9094382d79">TiXmlDeclaration</a>() : <a class="code" href="classTiXmlNode.html">TiXmlNode</a>( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>::DECLARATION ) {} <a name="l01282"></a>01282 <a name="l01283"></a>01283 <span class="preprocessor">#ifdef TIXML_USE_STL</span> <a name="l01285"></a>01285 <span class="preprocessor"> TiXmlDeclaration( const std::string&amp; _version,</span> <a name="l01286"></a>01286 <span class="preprocessor"></span> <span class="keyword">const</span> std::string&amp; _encoding, <a name="l01287"></a>01287 <span class="keyword">const</span> std::string&amp; _standalone ); <a name="l01288"></a>01288 <span class="preprocessor">#endif</span> <a name="l01289"></a>01289 <span class="preprocessor"></span> <a name="l01291"></a>01291 <a class="code" href="classTiXmlDeclaration.html#a0484d059bea0ea1acb47c9094382d79">TiXmlDeclaration</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _version, <a name="l01292"></a>01292 <span class="keyword">const</span> <span class="keywordtype">char</span>* _encoding, <a name="l01293"></a>01293 <span class="keyword">const</span> <span class="keywordtype">char</span>* _standalone ); <a name="l01294"></a>01294 <a name="l01295"></a>01295 <a class="code" href="classTiXmlDeclaration.html#a0484d059bea0ea1acb47c9094382d79">TiXmlDeclaration</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>&amp; copy ); <a name="l01296"></a>01296 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>&amp; copy ); <a name="l01297"></a>01297 <a name="l01298"></a>01298 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>() {} <a name="l01299"></a>01299 <a name="l01301"></a><a class="code" href="classTiXmlDeclaration.html#02ee557b1a4545c3219ed377c103ec76">01301</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classTiXmlDeclaration.html#02ee557b1a4545c3219ed377c103ec76">Version</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> version.c_str (); } <a name="l01303"></a><a class="code" href="classTiXmlDeclaration.html#5d974231f9e9a2f0542f15f3a46cdb76">01303</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classTiXmlDeclaration.html#5d974231f9e9a2f0542f15f3a46cdb76">Encoding</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> encoding.c_str (); } <a name="l01305"></a><a class="code" href="classTiXmlDeclaration.html#9ff06afc033d7ef730ec7c6825b97ad9">01305</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classTiXmlDeclaration.html#9ff06afc033d7ef730ec7c6825b97ad9">Standalone</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> standalone.c_str (); } <a name="l01306"></a>01306 <a name="l01308"></a>01308 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlDeclaration.html#7cf459186040141cda7a180a6585ce2e">Clone</a>() <span class="keyword">const</span>; <a name="l01309"></a>01309 <span class="comment">// Print this declaration to a FILE stream.</span> <a name="l01310"></a>01310 <span class="keyword">virtual</span> <span class="keywordtype">void</span> Print( FILE* cfile, <span class="keywordtype">int</span> depth, TIXML_STRING* str ) <span class="keyword">const</span>; <a name="l01311"></a><a class="code" href="classTiXmlDeclaration.html#bf6303db4bd05b5be554036817ff1cb4">01311</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> Print( FILE* cfile, <span class="keywordtype">int</span> depth )<span class="keyword"> const </span>{ <a name="l01312"></a>01312 Print( cfile, depth, 0 ); <a name="l01313"></a>01313 } <a name="l01314"></a>01314 <a name="l01315"></a>01315 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding ); <a name="l01316"></a>01316 <a name="l01317"></a><a class="code" href="classTiXmlDeclaration.html#1e085d3fefd1dbf5ccdbff729931a967">01317</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>* <a class="code" href="classTiXmlDeclaration.html#1e085d3fefd1dbf5ccdbff729931a967">ToDeclaration</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span>; } <a name="l01318"></a><a class="code" href="classTiXmlDeclaration.html#6bd3d1daddcaeb9543c24bfd090969ce">01318</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>* <a class="code" href="classTiXmlDeclaration.html#1e085d3fefd1dbf5ccdbff729931a967">ToDeclaration</a>() { <span class="keywordflow">return</span> <span class="keyword">this</span>; } <a name="l01319"></a>01319 <a name="l01322"></a>01322 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDeclaration.html#22315a535983b86535cdba3458669e3e">Accept</a>( <a class="code" href="classTiXmlVisitor.html">TiXmlVisitor</a>* visitor ) <span class="keyword">const</span>; <a name="l01323"></a>01323 <a name="l01324"></a>01324 <span class="keyword">protected</span>: <a name="l01325"></a>01325 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>* target ) <span class="keyword">const</span>; <a name="l01326"></a>01326 <span class="comment">// used to be public</span> <a name="l01327"></a>01327 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l01328"></a>01328 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( std::istream * in, TIXML_STRING * tag ); <a name="l01329"></a>01329 <span class="preprocessor"> #endif</span> <a name="l01330"></a>01330 <span class="preprocessor"></span> <a name="l01331"></a>01331 <span class="keyword">private</span>: <a name="l01332"></a>01332 <a name="l01333"></a>01333 TIXML_STRING version; <a name="l01334"></a>01334 TIXML_STRING encoding; <a name="l01335"></a>01335 TIXML_STRING standalone; <a name="l01336"></a>01336 }; <a name="l01337"></a>01337 <a name="l01338"></a>01338 <a name="l01346"></a><a class="code" href="classTiXmlUnknown.html">01346</a> <span class="keyword">class </span><a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a> <a name="l01347"></a>01347 { <a name="l01348"></a>01348 <span class="keyword">public</span>: <a name="l01349"></a>01349 <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>() : <a class="code" href="classTiXmlNode.html">TiXmlNode</a>( TiXmlNode::UNKNOWN ) {} <a name="l01350"></a>01350 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>() {} <a name="l01351"></a>01351 <a name="l01352"></a>01352 <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>&amp; copy ) : <a class="code" href="classTiXmlNode.html">TiXmlNode</a>( TiXmlNode::UNKNOWN ) { copy.<a class="code" href="classTiXmlUnknown.html#08ca7b225a2bcb604d3c72e199d33408">CopyTo</a>( <span class="keyword">this</span> ); } <a name="l01353"></a>01353 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>&amp; copy ) { copy.<a class="code" href="classTiXmlUnknown.html#08ca7b225a2bcb604d3c72e199d33408">CopyTo</a>( <span class="keyword">this</span> ); } <a name="l01354"></a>01354 <a name="l01356"></a>01356 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlUnknown.html#0960bb7428b3f341da46244229604d73">Clone</a>() <span class="keyword">const</span>; <a name="l01357"></a>01357 <span class="comment">// Print this Unknown to a FILE stream.</span> <a name="l01358"></a>01358 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlUnknown.html#31ba089a40fb5a1869750fce09b0bacb">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span>; <a name="l01359"></a>01359 <a name="l01360"></a>01360 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding ); <a name="l01361"></a>01361 <a name="l01362"></a><a class="code" href="classTiXmlUnknown.html#b0313e5fe77987d746ac1a97a254419d">01362</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>* <a class="code" href="classTiXmlUnknown.html#b0313e5fe77987d746ac1a97a254419d">ToUnknown</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span>; } <a name="l01363"></a><a class="code" href="classTiXmlUnknown.html#67c9fd22940e8c47f706a72cdd2e332c">01363</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>* <a class="code" href="classTiXmlUnknown.html#b0313e5fe77987d746ac1a97a254419d">ToUnknown</a>() { <span class="keywordflow">return</span> <span class="keyword">this</span>; } <a name="l01364"></a>01364 <a name="l01367"></a>01367 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlUnknown.html#d7122e5135581b3c832a1a3217760a93">Accept</a>( <a class="code" href="classTiXmlVisitor.html">TiXmlVisitor</a>* content ) <span class="keyword">const</span>; <a name="l01368"></a>01368 <a name="l01369"></a>01369 <span class="keyword">protected</span>: <a name="l01370"></a>01370 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>* target ) <span class="keyword">const</span>; <a name="l01371"></a>01371 <a name="l01372"></a>01372 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l01373"></a>01373 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( std::istream * in, TIXML_STRING * tag ); <a name="l01374"></a>01374 <span class="preprocessor"> #endif</span> <a name="l01375"></a>01375 <span class="preprocessor"></span> <a name="l01376"></a>01376 <span class="keyword">private</span>: <a name="l01377"></a>01377 <a name="l01378"></a>01378 }; <a name="l01379"></a>01379 <a name="l01380"></a>01380 <a name="l01385"></a><a class="code" href="classTiXmlDocument.html">01385</a> <span class="keyword">class </span><a class="code" href="classTiXmlDocument.html">TiXmlDocument</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a> <a name="l01386"></a>01386 { <a name="l01387"></a>01387 <span class="keyword">public</span>: <a name="l01389"></a>01389 <a class="code" href="classTiXmlDocument.html#9f5e84335708fde98400230f9f12659c">TiXmlDocument</a>(); <a name="l01391"></a>01391 <a class="code" href="classTiXmlDocument.html#9f5e84335708fde98400230f9f12659c">TiXmlDocument</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * documentName ); <a name="l01392"></a>01392 <a name="l01393"></a>01393 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l01395"></a>01395 <span class="preprocessor"> TiXmlDocument( const std::string&amp; documentName );</span> <a name="l01396"></a>01396 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> <a name="l01397"></a>01397 <span class="preprocessor"></span> <a name="l01398"></a>01398 <a class="code" href="classTiXmlDocument.html#9f5e84335708fde98400230f9f12659c">TiXmlDocument</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>&amp; copy ); <a name="l01399"></a>01399 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>&amp; copy ); <a name="l01400"></a>01400 <a name="l01401"></a>01401 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>() {} <a name="l01402"></a>01402 <a name="l01407"></a>01407 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#4c852a889c02cf251117fd1d9fe1845f">LoadFile</a>( TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ); <a name="l01409"></a>01409 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#21c0aeb0d0a720169ad4ac89523ebe93">SaveFile</a>() <span class="keyword">const</span>; <a name="l01411"></a>01411 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#4c852a889c02cf251117fd1d9fe1845f">LoadFile</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * filename, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ); <a name="l01413"></a>01413 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#21c0aeb0d0a720169ad4ac89523ebe93">SaveFile</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * filename ) <span class="keyword">const</span>; <a name="l01419"></a>01419 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#4c852a889c02cf251117fd1d9fe1845f">LoadFile</a>( FILE*, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ); <a name="l01421"></a>01421 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#21c0aeb0d0a720169ad4ac89523ebe93">SaveFile</a>( FILE* ) <span class="keyword">const</span>; <a name="l01422"></a>01422 <a name="l01423"></a>01423 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l01424"></a><a class="code" href="classTiXmlDocument.html#18ae6ed34fed7991ebc220862dfac884">01424</a> <span class="preprocessor"></span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#4c852a889c02cf251117fd1d9fe1845f">LoadFile</a>( <span class="keyword">const</span> std::string&amp; filename, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ) <a name="l01425"></a>01425 { <a name="l01426"></a>01426 <span class="comment">// StringToBuffer f( filename );</span> <a name="l01427"></a>01427 <span class="comment">// return ( f.buffer &amp;&amp; LoadFile( f.buffer, encoding ));</span> <a name="l01428"></a>01428 <span class="keywordflow">return</span> <a class="code" href="classTiXmlDocument.html#4c852a889c02cf251117fd1d9fe1845f">LoadFile</a>( filename.c_str(), encoding ); <a name="l01429"></a>01429 } <a name="l01430"></a><a class="code" href="classTiXmlDocument.html#3d4fae0463f3f03679ba0b7cf6f2df52">01430</a> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#21c0aeb0d0a720169ad4ac89523ebe93">SaveFile</a>( <span class="keyword">const</span> std::string&amp; filename ) <span class="keyword">const</span> <a name="l01431"></a>01431 { <a name="l01432"></a>01432 <span class="comment">// StringToBuffer f( filename );</span> <a name="l01433"></a>01433 <span class="comment">// return ( f.buffer &amp;&amp; SaveFile( f.buffer ));</span> <a name="l01434"></a>01434 <span class="keywordflow">return</span> <a class="code" href="classTiXmlDocument.html#21c0aeb0d0a720169ad4ac89523ebe93">SaveFile</a>( filename.c_str() ); <a name="l01435"></a>01435 } <a name="l01436"></a>01436 <span class="preprocessor"> #endif</span> <a name="l01437"></a>01437 <span class="preprocessor"></span> <a name="l01442"></a>01442 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlDocument.html#17ebabe36926ef398e78dec0d0ad0378">Parse</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data = 0, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING ); <a name="l01443"></a>01443 <a name="l01448"></a><a class="code" href="classTiXmlDocument.html#d09d17927f908f40efb406af2fb873be">01448</a> <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlDocument.html#d09d17927f908f40efb406af2fb873be">RootElement</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#f4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>(); } <a name="l01449"></a>01449 <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlDocument.html#d09d17927f908f40efb406af2fb873be">RootElement</a>() { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#f4fb652f6bd79ae0d5ce7d0f7d3c0fba">FirstChildElement</a>(); } <a name="l01450"></a>01450 <a name="l01456"></a><a class="code" href="classTiXmlDocument.html#6dfc01a6e5d58e56acd537dfd3bdeb29">01456</a> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#6dfc01a6e5d58e56acd537dfd3bdeb29">Error</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> error; } <a name="l01457"></a>01457 <a name="l01459"></a><a class="code" href="classTiXmlDocument.html#9d0f689f6e09ea494ea547be8d79c25e">01459</a> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="classTiXmlDocument.html#9d0f689f6e09ea494ea547be8d79c25e">ErrorDesc</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> errorDesc.c_str (); } <a name="l01460"></a>01460 <a name="l01464"></a><a class="code" href="classTiXmlDocument.html#f96fc2f3f9ec6422782bfe916c9e778f">01464</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlDocument.html#f96fc2f3f9ec6422782bfe916c9e778f">ErrorId</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> errorId; } <a name="l01465"></a>01465 <a name="l01473"></a><a class="code" href="classTiXmlDocument.html#f30efc75e804aa2e92fb8be3a8cb676e">01473</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlDocument.html#f30efc75e804aa2e92fb8be3a8cb676e">ErrorRow</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> errorLocation.row+1; } <a name="l01474"></a><a class="code" href="classTiXmlDocument.html#a90bc630ee5203c6109ca5fad3323649">01474</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlDocument.html#a90bc630ee5203c6109ca5fad3323649">ErrorCol</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> errorLocation.col+1; } <a name="l01475"></a>01475 <a name="l01500"></a><a class="code" href="classTiXmlDocument.html#51dac56316f89b35bdb7d0d433ba988e">01500</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlDocument.html#51dac56316f89b35bdb7d0d433ba988e">SetTabSize</a>( <span class="keywordtype">int</span> _tabsize ) { tabsize = _tabsize; } <a name="l01501"></a>01501 <a name="l01502"></a>01502 <span class="keywordtype">int</span> TabSize()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> tabsize; } <a name="l01503"></a>01503 <a name="l01507"></a><a class="code" href="classTiXmlDocument.html#c66b8c28db86363315712a3574e87c35">01507</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlDocument.html#c66b8c28db86363315712a3574e87c35">ClearError</a>() { error = <span class="keyword">false</span>; <a name="l01508"></a>01508 errorId = 0; <a name="l01509"></a>01509 errorDesc = <span class="stringliteral">""</span>; <a name="l01510"></a>01510 errorLocation.row = errorLocation.col = 0; <a name="l01511"></a>01511 <span class="comment">//errorLocation.last = 0; </span> <a name="l01512"></a>01512 } <a name="l01513"></a>01513 <a name="l01515"></a><a class="code" href="classTiXmlDocument.html#f08389ec70ee9b2de7f800e206a18510">01515</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlDocument.html#f08389ec70ee9b2de7f800e206a18510">Print</a>()<span class="keyword"> const </span>{ <a class="code" href="classTiXmlDocument.html#f08389ec70ee9b2de7f800e206a18510">Print</a>( stdout, 0 ); } <a name="l01516"></a>01516 <a name="l01517"></a>01517 <span class="comment">/* Write the document to a string using formatted printing ("pretty print"). This</span> <a name="l01518"></a>01518 <span class="comment"> will allocate a character array (new char[]) and return it as a pointer. The</span> <a name="l01519"></a>01519 <span class="comment"> calling code pust call delete[] on the return char* to avoid a memory leak.</span> <a name="l01520"></a>01520 <span class="comment"> */</span> <a name="l01521"></a>01521 <span class="comment">//char* PrintToMemory() const; </span> <a name="l01522"></a>01522 <a name="l01524"></a>01524 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlDocument.html#f08389ec70ee9b2de7f800e206a18510">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth = 0 ) <span class="keyword">const</span>; <a name="l01525"></a>01525 <span class="comment">// [internal use]</span> <a name="l01526"></a>01526 <span class="keywordtype">void</span> SetError( <span class="keywordtype">int</span> err, <span class="keyword">const</span> <span class="keywordtype">char</span>* errorLocation, TiXmlParsingData* prevData, TiXmlEncoding encoding ); <a name="l01527"></a>01527 <a name="l01528"></a><a class="code" href="classTiXmlDocument.html#1dc977bde3e4fe85a8eb9d88a35ef5a4">01528</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* <a class="code" href="classTiXmlDocument.html#1dc977bde3e4fe85a8eb9d88a35ef5a4">ToDocument</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span>; } <a name="l01529"></a><a class="code" href="classTiXmlDocument.html#1025d942a1f328fd742d545e37efdd42">01529</a> <span class="keyword">virtual</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* <a class="code" href="classTiXmlDocument.html#1dc977bde3e4fe85a8eb9d88a35ef5a4">ToDocument</a>() { <span class="keywordflow">return</span> <span class="keyword">this</span>; } <a name="l01530"></a>01530 <a name="l01533"></a>01533 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a545aae325d9752ad64120bc4ecf939a">Accept</a>( <a class="code" href="classTiXmlVisitor.html">TiXmlVisitor</a>* content ) <span class="keyword">const</span>; <a name="l01534"></a>01534 <a name="l01535"></a>01535 <span class="keyword">protected</span> : <a name="l01536"></a>01536 <span class="comment">// [internal use]</span> <a name="l01537"></a>01537 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlDocument.html#4968661cab4a1f44a23329c6f8db1907">Clone</a>() <span class="keyword">const</span>; <a name="l01538"></a>01538 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l01539"></a>01539 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( std::istream * in, TIXML_STRING * tag ); <a name="l01540"></a>01540 <span class="preprocessor"> #endif</span> <a name="l01541"></a>01541 <span class="preprocessor"></span> <a name="l01542"></a>01542 <span class="keyword">private</span>: <a name="l01543"></a>01543 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* target ) <span class="keyword">const</span>; <a name="l01544"></a>01544 <a name="l01545"></a>01545 <span class="keywordtype">bool</span> error; <a name="l01546"></a>01546 <span class="keywordtype">int</span> errorId; <a name="l01547"></a>01547 TIXML_STRING errorDesc; <a name="l01548"></a>01548 <span class="keywordtype">int</span> tabsize; <a name="l01549"></a>01549 TiXmlCursor errorLocation; <a name="l01550"></a>01550 <span class="keywordtype">bool</span> useMicrosoftBOM; <span class="comment">// the UTF-8 BOM were found when read. Note this, and try to write.</span> <a name="l01551"></a>01551 }; <a name="l01552"></a>01552 <a name="l01553"></a>01553 <a name="l01634"></a><a class="code" href="classTiXmlHandle.html">01634</a> <span class="keyword">class </span><a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a name="l01635"></a>01635 { <a name="l01636"></a>01636 <span class="keyword">public</span>: <a name="l01638"></a><a class="code" href="classTiXmlHandle.html#ba18fd7bdefb942ecdea4bf4b8e29ec8">01638</a> <a class="code" href="classTiXmlHandle.html#ba18fd7bdefb942ecdea4bf4b8e29ec8">TiXmlHandle</a>( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* _node ) { this-&gt;node = _node; } <a name="l01640"></a><a class="code" href="classTiXmlHandle.html#236d7855e1e56ccc7b980630c48c7fd7">01640</a> <a class="code" href="classTiXmlHandle.html#ba18fd7bdefb942ecdea4bf4b8e29ec8">TiXmlHandle</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a>&amp; ref ) { this-&gt;node = ref.<a class="code" href="classTiXmlHandle.html#c5429de14bb78b16288bac5bf33c6858">node</a>; } <a name="l01641"></a>01641 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a>&amp; ref ) { this-&gt;node = ref.<a class="code" href="classTiXmlHandle.html#c5429de14bb78b16288bac5bf33c6858">node</a>; <span class="keywordflow">return</span> *<span class="keyword">this</span>; } <a name="l01642"></a>01642 <a name="l01644"></a>01644 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#cdb1faaf88a700b40ca2c8d9aee21139">FirstChild</a>() <span class="keyword">const</span>; <a name="l01646"></a>01646 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#cdb1faaf88a700b40ca2c8d9aee21139">FirstChild</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value ) <span class="keyword">const</span>; <a name="l01648"></a>01648 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#24d1112e995e937e4dddb202d4113d4a">FirstChildElement</a>() <span class="keyword">const</span>; <a name="l01650"></a>01650 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#24d1112e995e937e4dddb202d4113d4a">FirstChildElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value ) <span class="keyword">const</span>; <a name="l01651"></a>01651 <a name="l01655"></a>01655 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#072492b4be1acdb0db2d03cd8f71ccc4">Child</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* value, <span class="keywordtype">int</span> index ) <span class="keyword">const</span>; <a name="l01659"></a>01659 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#072492b4be1acdb0db2d03cd8f71ccc4">Child</a>( <span class="keywordtype">int</span> index ) <span class="keyword">const</span>; <a name="l01664"></a>01664 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#979a3f850984a176ee884e394c7eed2d">ChildElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* value, <span class="keywordtype">int</span> index ) <span class="keyword">const</span>; <a name="l01669"></a>01669 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#979a3f850984a176ee884e394c7eed2d">ChildElement</a>( <span class="keywordtype">int</span> index ) <span class="keyword">const</span>; <a name="l01670"></a>01670 <a name="l01671"></a>01671 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l01672"></a>01672 <span class="preprocessor"></span> <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#cdb1faaf88a700b40ca2c8d9aee21139">FirstChild</a>( <span class="keyword">const</span> std::string&amp; _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#cdb1faaf88a700b40ca2c8d9aee21139">FirstChild</a>( _value.c_str() ); } <a name="l01673"></a>01673 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#24d1112e995e937e4dddb202d4113d4a">FirstChildElement</a>( <span class="keyword">const</span> std::string&amp; _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#24d1112e995e937e4dddb202d4113d4a">FirstChildElement</a>( _value.c_str() ); } <a name="l01674"></a>01674 <a name="l01675"></a>01675 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#072492b4be1acdb0db2d03cd8f71ccc4">Child</a>( <span class="keyword">const</span> std::string&amp; _value, <span class="keywordtype">int</span> index )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#072492b4be1acdb0db2d03cd8f71ccc4">Child</a>( _value.c_str(), index ); } <a name="l01676"></a>01676 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#979a3f850984a176ee884e394c7eed2d">ChildElement</a>( <span class="keyword">const</span> std::string&amp; _value, <span class="keywordtype">int</span> index )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#979a3f850984a176ee884e394c7eed2d">ChildElement</a>( _value.c_str(), index ); } <a name="l01677"></a>01677 <span class="preprocessor"> #endif</span> <a name="l01678"></a>01678 <span class="preprocessor"></span> <a name="l01681"></a><a class="code" href="classTiXmlHandle.html#f678e5088e83be67baf76f699756f2c3">01681</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlHandle.html#f678e5088e83be67baf76f699756f2c3">ToNode</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> node; } <a name="l01684"></a><a class="code" href="classTiXmlHandle.html#bc6e7ed383a5fe1e52b0c0004b457b9e">01684</a> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlHandle.html#bc6e7ed383a5fe1e52b0c0004b457b9e">ToElement</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( ( node &amp;&amp; node-&gt;<a class="code" href="classTiXmlNode.html#72abed96dc9667ab9e0a2a275301bb1c">ToElement</a>() ) ? node-&gt;<a class="code" href="classTiXmlNode.html#72abed96dc9667ab9e0a2a275301bb1c">ToElement</a>() : 0 ); } <a name="l01687"></a><a class="code" href="classTiXmlHandle.html#4ac53a652296203a5b5e13854d923586">01687</a> <a class="code" href="classTiXmlText.html">TiXmlText</a>* <a class="code" href="classTiXmlHandle.html#4ac53a652296203a5b5e13854d923586">ToText</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( ( node &amp;&amp; node-&gt;<a class="code" href="classTiXmlNode.html#95a46a52c525992d6b4ee08beb14cd69">ToText</a>() ) ? node-&gt;<a class="code" href="classTiXmlNode.html#95a46a52c525992d6b4ee08beb14cd69">ToText</a>() : 0 ); } <a name="l01690"></a><a class="code" href="classTiXmlHandle.html#1381c17507a130767b1e23afc93b3674">01690</a> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>* <a class="code" href="classTiXmlHandle.html#1381c17507a130767b1e23afc93b3674">ToUnknown</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( ( node &amp;&amp; node-&gt;<a class="code" href="classTiXmlNode.html#fd7205cf31d7a376929f8a36930627a2">ToUnknown</a>() ) ? node-&gt;<a class="code" href="classTiXmlNode.html#fd7205cf31d7a376929f8a36930627a2">ToUnknown</a>() : 0 ); } <a name="l01691"></a>01691 <a name="l01695"></a><a class="code" href="classTiXmlHandle.html#b44b723a8dc9af72838a303c079d0376">01695</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlHandle.html#b44b723a8dc9af72838a303c079d0376">Node</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#f678e5088e83be67baf76f699756f2c3">ToNode</a>(); } <a name="l01699"></a><a class="code" href="classTiXmlHandle.html#cb5fe8388a526289ea65e817a51e05e7">01699</a> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlHandle.html#cb5fe8388a526289ea65e817a51e05e7">Element</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#bc6e7ed383a5fe1e52b0c0004b457b9e">ToElement</a>(); } <a name="l01703"></a><a class="code" href="classTiXmlHandle.html#9fc739c8a18d160006f82572fc143d13">01703</a> <a class="code" href="classTiXmlText.html">TiXmlText</a>* <a class="code" href="classTiXmlHandle.html#9fc739c8a18d160006f82572fc143d13">Text</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#4ac53a652296203a5b5e13854d923586">ToText</a>(); } <a name="l01707"></a><a class="code" href="classTiXmlHandle.html#49675b74357ba2aae124657a9a1ef465">01707</a> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>* <a class="code" href="classTiXmlHandle.html#49675b74357ba2aae124657a9a1ef465">Unknown</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#1381c17507a130767b1e23afc93b3674">ToUnknown</a>(); } <a name="l01708"></a>01708 <a name="l01709"></a>01709 <span class="keyword">private</span>: <a name="l01710"></a>01710 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* node; <a name="l01711"></a>01711 }; <a name="l01712"></a>01712 <a name="l01713"></a>01713 <a name="l01733"></a><a class="code" href="classTiXmlPrinter.html">01733</a> <span class="keyword">class </span><a class="code" href="classTiXmlPrinter.html">TiXmlPrinter</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlVisitor.html">TiXmlVisitor</a> <a name="l01734"></a>01734 { <a name="l01735"></a>01735 <span class="keyword">public</span>: <a name="l01736"></a>01736 <a class="code" href="classTiXmlPrinter.html">TiXmlPrinter</a>() : depth( 0 ), simpleTextPrint( <span class="keyword">false</span> ), <a name="l01737"></a>01737 buffer(), indent( <span class="stringliteral">" "</span> ), lineBreak( <span class="stringliteral">"\n"</span> ) {} <a name="l01738"></a>01738 <a name="l01739"></a>01739 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#799f4f0388570cbb54c0d3c345fef7c1">VisitEnter</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>&amp; doc ); <a name="l01740"></a>01740 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#66b33edd76c538b462f789b797a4fdf2">VisitExit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>&amp; doc ); <a name="l01741"></a>01741 <a name="l01742"></a>01742 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#799f4f0388570cbb54c0d3c345fef7c1">VisitEnter</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>&amp; element, <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* firstAttribute ); <a name="l01743"></a>01743 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#66b33edd76c538b462f789b797a4fdf2">VisitExit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>&amp; element ); <a name="l01744"></a>01744 <a name="l01745"></a>01745 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#ce1b14d33eede2575c0743e2350f6a38">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>&amp; declaration ); <a name="l01746"></a>01746 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#ce1b14d33eede2575c0743e2350f6a38">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlText.html">TiXmlText</a>&amp; text ); <a name="l01747"></a>01747 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#ce1b14d33eede2575c0743e2350f6a38">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html">TiXmlComment</a>&amp; comment ); <a name="l01748"></a>01748 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlPrinter.html#ce1b14d33eede2575c0743e2350f6a38">Visit</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>&amp; unknown ); <a name="l01749"></a>01749 <a name="l01753"></a><a class="code" href="classTiXmlPrinter.html#213377a4070c7e625bae59716b089e5e">01753</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlPrinter.html#213377a4070c7e625bae59716b089e5e">SetIndent</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _indent ) { indent = _indent ? _indent : <span class="stringliteral">""</span> ; } <a name="l01755"></a><a class="code" href="classTiXmlPrinter.html#bb33ec7d4bad6aaeb57f4304394b133d">01755</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlPrinter.html#bb33ec7d4bad6aaeb57f4304394b133d">Indent</a>() { <span class="keywordflow">return</span> indent.c_str(); } <a name="l01760"></a><a class="code" href="classTiXmlPrinter.html#4be1e37e69e3858c59635aa947174fe6">01760</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlPrinter.html#4be1e37e69e3858c59635aa947174fe6">SetLineBreak</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _lineBreak ) { lineBreak = _lineBreak ? _lineBreak : <span class="stringliteral">""</span>; } <a name="l01762"></a><a class="code" href="classTiXmlPrinter.html#11f1b4804a460b175ec244eb5724d96d">01762</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlPrinter.html#11f1b4804a460b175ec244eb5724d96d">LineBreak</a>() { <span class="keywordflow">return</span> lineBreak.c_str(); } <a name="l01763"></a>01763 <a name="l01767"></a><a class="code" href="classTiXmlPrinter.html#b23a90629e374cb1cadca090468bbd19">01767</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlPrinter.html#b23a90629e374cb1cadca090468bbd19">SetStreamPrinting</a>() { indent = <span class="stringliteral">""</span>; <a name="l01768"></a>01768 lineBreak = <span class="stringliteral">""</span>; <a name="l01769"></a>01769 } <a name="l01771"></a><a class="code" href="classTiXmlPrinter.html#859eede9597d3e0355b77757be48735e">01771</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlPrinter.html#859eede9597d3e0355b77757be48735e">CStr</a>() { <span class="keywordflow">return</span> buffer.c_str(); } <a name="l01773"></a><a class="code" href="classTiXmlPrinter.html#d01375ae9199bd2f48252eaddce3039d">01773</a> size_t <a class="code" href="classTiXmlPrinter.html#d01375ae9199bd2f48252eaddce3039d">Size</a>() { <span class="keywordflow">return</span> buffer.size(); } <a name="l01774"></a>01774 <a name="l01775"></a>01775 <span class="preprocessor"> #ifdef TIXML_USE_STL</span> <a name="l01777"></a><a class="code" href="classTiXmlPrinter.html#3bd4daf44309b41f5813a833caa0d1c9">01777</a> <span class="preprocessor"> const std::string&amp; Str() { return buffer; }</span> <a name="l01778"></a>01778 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> <a name="l01779"></a>01779 <span class="preprocessor"></span> <a name="l01780"></a>01780 <span class="keyword">private</span>: <a name="l01781"></a>01781 <span class="keywordtype">void</span> DoIndent() { <a name="l01782"></a>01782 <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0; i&lt;depth; ++i ) <a name="l01783"></a>01783 buffer += indent; <a name="l01784"></a>01784 } <a name="l01785"></a>01785 <span class="keywordtype">void</span> DoLineBreak() { <a name="l01786"></a>01786 buffer += lineBreak; <a name="l01787"></a>01787 } <a name="l01788"></a>01788 <a name="l01789"></a>01789 <span class="keywordtype">int</span> depth; <a name="l01790"></a>01790 <span class="keywordtype">bool</span> simpleTextPrint; <a name="l01791"></a>01791 TIXML_STRING buffer; <a name="l01792"></a>01792 TIXML_STRING indent; <a name="l01793"></a>01793 TIXML_STRING lineBreak; <a name="l01794"></a>01794 }; <a name="l01795"></a>01795 <a name="l01796"></a>01796 <a name="l01797"></a>01797 <span class="preprocessor">#ifdef _MSC_VER</span> <a name="l01798"></a>01798 <span class="preprocessor"></span><span class="preprocessor">#pragma warning( pop )</span> <a name="l01799"></a>01799 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l01800"></a>01800 <span class="preprocessor"></span> <a name="l01801"></a>01801 <span class="preprocessor">#endif</span> <a name="l01802"></a>01802 <span class="preprocessor"></span> </pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun May 6 15:41:23 2007 for TinyXml by&nbsp; <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>
wubenqi/zutils
zutils/base2/xml/third_party/tinyxml/docs/tinyxml_8h-source.html
HTML
apache-2.0
169,690
GetVersionTest test PASSED
aakashysharma/opengse
testing/client-side/java/watchdog/resources/servlet-golden/javax_servlet_http/Cookie/GetVersionTest.html
HTML
apache-2.0
27
<!-- @license Copyright (c) 2014 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> <!doctype html> <html> <head> <title>polymer api</title> <style> html, body { font-family: Arial, sans-serif; white-space: nowrap; overflow: hidden; } [noviewer] [ifnoviewer] { display: block; } [detector], [ifnoviewer], [noviewer] [ifviewer] { display: none; } [ifviewer], [ifnoviewer] { position: absolute; top: 0; right: 0; bottom: 0; left: 0; } iframe { border: none; margin: 0; width: 100%; height: 100%; } #remote { position: absolute; top: 0; right: 0; } </style> <script src="../platform/platform.js"></script> <link rel="import" href="../polymer-home-page/polymer-home-page.html"> </head> <body> <img detector src="../polymer-home-page/bowager-logo.png" onerror="noviewer()"> <polymer-home-page ifviewer></polymer-home-page> <div ifnoviewer> <span id="remote">[remote]</span> <iframe></iframe> </div> <!-- --> <script> var remoteDocs = 'http://turbogadgetry.com/bowertopia/components/'; // if no local info viewer, load it remotely function noviewer() { document.body.setAttribute('noviewer', ''); var path = location.pathname.split('/'); var module = path.pop() || path.pop(); document.querySelector('iframe').src = remoteDocs + module; document.querySelector('title').textContent = module; } // for testing only var opts = window.location.search; if (opts.indexOf('noviewer') >= 0) { noviewer(); } </script> </body> </html>
PolymerLabs/x-inspector
index.html
HTML
bsd-3-clause
2,125
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Grid Layout Test: Self-Alignment and stretch on fixed-sized tracks</title> <link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:[email protected]"> <link rel="help" href="https://drafts.csswg.org/css-grid-1/#alignment"> <link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-align-self"> <link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-justify-self"> <link rel="help" href="https://drafts.csswg.org/css-align/#valdef-justify-self-stretch"> <link rel="help" href="https://drafts.csswg.org/css-align/#valdef-align-self-stretch"> <meta name="assert" content="Orthogonal grid items with 'stretch' value for align-self and/or justify-self are stretched along the column and/or row axis respectively; they will be sized as fit-content otherwise."> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <style> .grid { position: relative; display: inline-grid; grid-template-columns: 100px 150px; grid-template-rows: 150px 100px; font: 10px/1 Ahem; background: grey; } .grid > div { writing-mode: vertical-lr; } .firstRowFirstColumn { grid-row: 1; grid-column: 1; background: green; justify-self: stretch; align-self: start; } .firstRowSecondColumn { grid-row: 1; grid-column: 2; background: blue; justify-self: start; align-self: stretch; } .secondRowFirstColumn { grid-row: 2; grid-column: 1; background: yellow; justify-self: start; align-self: start; } .secondRowSecondColumn { grid-row: 2; grid-column: 2; background: red; justify-self: stretch; align-self: stretch; } </style> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/resources/check-layout-th.js"></script> <script type="text/javascript"> setup({ explicit_done: true }); </script> <body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })"> <div class="grid"> <div data-offset-x="0" data-offset-y="0" data-expected-width="100" data-expected-height="60" class="firstRowFirstColumn">X XX X</div> <div data-offset-x="100" data-offset-y="0" data-expected-width="40" data-expected-height="150" class="firstRowSecondColumn">XX X<br>X XXX<br>X<br>XX XXX</div> <div data-offset-x="0" data-offset-y="150" data-expected-width="10" data-expected-height="60" class="secondRowFirstColumn">X XX X</div> <div data-offset-x="100" data-offset-y="150" data-expected-width="150" data-expected-height="100" class="secondRowSecondColumn">XX X<br>X XXX<br>X<br>XX XXX</div> </div>
chromium/chromium
third_party/blink/web_tests/external/wpt/css/css-grid/alignment/grid-self-alignment-stretch-005.html
HTML
bsd-3-clause
2,595
<!DOCTYPE html> <!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. --> <title>Canvas test: 2d.path.arcTo.zero.1</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/html/canvas/resources/canvas-tests.js"></script> <link rel="stylesheet" href="/html/canvas/resources/canvas-tests.css"> <body class="show_output"> <h1>2d.path.arcTo.zero.1</h1> <p class="desc">arcTo() with zero radius draws a straight line from P0 to P1</p> <p class="output">Actual output:</p> <canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas> <p class="output expectedtext">Expected output:<p><img src="/images/green-100x50.png" class="output expected" id="expected" alt=""> <ul id="d"></ul> <script> var t = async_test("arcTo() with zero radius draws a straight line from P0 to P1"); _addTest(function(canvas, ctx) { ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.lineWidth = 50; ctx.strokeStyle = '#0f0'; ctx.beginPath(); ctx.moveTo(0, 25); ctx.arcTo(100, 25, 100, 100, 0); ctx.stroke(); ctx.strokeStyle = '#f00'; ctx.beginPath(); ctx.moveTo(0, -25); ctx.arcTo(50, -25, 50, 50, 0); ctx.stroke(); _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); }); </script>
scheib/chromium
third_party/blink/web_tests/external/wpt/html/canvas/element/path-objects/2d.path.arcTo.zero.1.html
HTML
bsd-3-clause
1,331
<div class="row"> <div class="col-sm-2 hidden-xs"> </div> <div class="col-sm-8"> <div class="w-xl w-auto-xs center-block"> <div class="btn-group btn-group-justified text-center text-sm"> <div class="btn-group"> <a class="wrapper-xs block"> <i class="block text-md m-t-xs icon-user"></i> <span class="text-sm">Account</span> </a> </div> <div class="btn-group"> <a class="wrapper-xs block"> <i class="block text-md m-t-xs icon-cloud-upload"></i> <span class="text-sm">Upload</span> </a> </div> <div class="btn-group"> <a class="wrapper-xs block"> <i class="block text-md m-t-xs icon-clock"></i> <span class="text-sm">Watch</span> </a> </div> <div class="btn-group"> <a class="wrapper-xs block"> <i class="block text-md m-t-xs icon-bag"></i> <span class="text-sm">Shopping</span> </a> </div> </div> </div> </div> <div class="col-sm-2 hidden-xs"> </div> </div>
lovechuck/ng2net
web/wwwroot/angulr/tpl/layout_footer_mobile.html
HTML
mit
1,134
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>RakNet: RakNet::NetworkIDObject 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="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 style="padding-left: 0.5em;"> <div id="projectname">RakNet &#160;<span id="projectnumber">4.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.2 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="pages.html"><span>Related&#160;Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</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> </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="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li> <li><a href="functions.html"><span>Class&#160;Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceRakNet.html">RakNet</a></li><li class="navelem"><a class="el" href="classRakNet_1_1NetworkIDObject.html">NetworkIDObject</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> &#124; <a href="#pro-attribs">Protected Attributes</a> &#124; <a href="classRakNet_1_1NetworkIDObject-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">RakNet::NetworkIDObject Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Unique shared ids for each object instance. <a href="classRakNet_1_1NetworkIDObject.html#details">More...</a></p> <p><code>#include &lt;NetworkIDObject.h&gt;</code></p> <div class="dynheader"> Inheritance diagram for RakNet::NetworkIDObject:</div> <div class="dyncontent"> <div class="center"> <img src="classRakNet_1_1NetworkIDObject.png" usemap="#RakNet::NetworkIDObject_map" alt=""/> <map id="RakNet::NetworkIDObject_map" name="RakNet::NetworkIDObject_map"> <area href="classRakNet_1_1Replica3.html" title="Base class for your replicated objects for the ReplicaManager3 system." alt="RakNet::Replica3" shape="rect" coords="0,56,256,80"/> <area href="classRakNet_1_1Replica3Composite.html" title="Use Replica3 through composition instead of inheritance by containing an instance of this templated c..." alt="RakNet::Replica3Composite&lt; parent_type &gt;" shape="rect" coords="0,112,256,136"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:abb1048648224a0c27fea7cb04f444310"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1NetworkIDObject.html#abb1048648224a0c27fea7cb04f444310">SetNetworkIDManager</a> (<a class="el" href="classRakNet_1_1NetworkIDManager.html">NetworkIDManager</a> *manager)</td></tr> <tr class="separator:abb1048648224a0c27fea7cb04f444310"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ac3be9f98153dfb91a16d16a8a63aca3d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3be9f98153dfb91a16d16a8a63aca3d"></a> virtual <a class="el" href="classRakNet_1_1NetworkIDManager.html">NetworkIDManager</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1NetworkIDObject.html#ac3be9f98153dfb91a16d16a8a63aca3d">GetNetworkIDManager</a> (void) const </td></tr> <tr class="memdesc:ac3be9f98153dfb91a16d16a8a63aca3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns what was passed to SetNetworkIDManager. <br/></td></tr> <tr class="separator:ac3be9f98153dfb91a16d16a8a63aca3d"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a4e2454899578ba16379491fc0aa45bb6"><td class="memItemLeft" align="right" valign="top">virtual NetworkID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1NetworkIDObject.html#a4e2454899578ba16379491fc0aa45bb6">GetNetworkID</a> (void)</td></tr> <tr class="separator:a4e2454899578ba16379491fc0aa45bb6"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a5ebfffe7c5bb1a87888b9c3bd940cf35"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1NetworkIDObject.html#a5ebfffe7c5bb1a87888b9c3bd940cf35">SetNetworkID</a> (NetworkID id)</td></tr> <tr class="separator:a5ebfffe7c5bb1a87888b9c3bd940cf35"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a4cc5a498e4cd73194d7406350dd7a4c6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1NetworkIDObject.html#a4cc5a498e4cd73194d7406350dd7a4c6">SetParent</a> (void *_parent)</td></tr> <tr class="separator:a4cc5a498e4cd73194d7406350dd7a4c6"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a6f48e0e1854cbc49cde9e9c9f7d3f679"><td class="memItemLeft" align="right" valign="top">virtual void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1NetworkIDObject.html#a6f48e0e1854cbc49cde9e9c9f7d3f679">GetParent</a> (void) const </td></tr> <tr class="separator:a6f48e0e1854cbc49cde9e9c9f7d3f679"><td class="memSeparator" colspan="2">&#160;</td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr class="memitem:aa88968a38decf8659bc5e55e8193818b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa88968a38decf8659bc5e55e8193818b"></a> NetworkID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1NetworkIDObject.html#aa88968a38decf8659bc5e55e8193818b">networkID</a></td></tr> <tr class="memdesc:aa88968a38decf8659bc5e55e8193818b"><td class="mdescLeft">&#160;</td><td class="mdescRight">The network ID of this object. <br/></td></tr> <tr class="separator:aa88968a38decf8659bc5e55e8193818b"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a0df64530ef4626519c4e9999ad753a77"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0df64530ef4626519c4e9999ad753a77"></a> void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRakNet_1_1NetworkIDObject.html#a0df64530ef4626519c4e9999ad753a77">parent</a></td></tr> <tr class="memdesc:a0df64530ef4626519c4e9999ad753a77"><td class="mdescLeft">&#160;</td><td class="mdescRight">The parent set by <a class="el" href="classRakNet_1_1NetworkIDObject.html#a4cc5a498e4cd73194d7406350dd7a4c6">SetParent()</a> <br/></td></tr> <tr class="separator:a0df64530ef4626519c4e9999ad753a77"><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>Unique shared ids for each object instance. </p> <p>A class you can derive from to make it easier to represent every networked object with an integer. This way you can refer to objects over the network. One system should return true for IsNetworkIDAuthority() and the rest should return false. When an object needs to be created, have the the one system create the object. Then have that system send a message to all other systems, and include the value returned from <a class="el" href="classRakNet_1_1NetworkIDObject.html#a4e2454899578ba16379491fc0aa45bb6">GetNetworkID()</a> in that packet. All other systems should then create the same class of object, and call <a class="el" href="classRakNet_1_1NetworkIDObject.html#a5ebfffe7c5bb1a87888b9c3bd940cf35">SetNetworkID()</a> on that class with the NetworkID in the packet. </p> <dl class="section see"><dt>See Also</dt><dd>the manual for more information on this. </dd></dl> </div><h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a4e2454899578ba16379491fc0aa45bb6"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual NetworkID RakNet::NetworkIDObject::GetNetworkID </td> <td>(</td> <td class="paramtype">void&#160;</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns the NetworkID that you can use to refer to this object over the network. </p> <dl class="section pre"><dt>Precondition</dt><dd>You must first call SetNetworkIDManager before using this function </dd></dl> <dl class="retval"><dt>Return values</dt><dd> <table class="retval"> <tr><td class="paramname">UNASSIGNED_NETWORK_ID</td><td>UNASSIGNED_NETWORK_ID is returned IsNetworkIDAuthority() is false and <a class="el" href="classRakNet_1_1NetworkIDObject.html#a5ebfffe7c5bb1a87888b9c3bd940cf35">SetNetworkID()</a> was not previously called. This is also returned if you call this function in the constructor. </td></tr> <tr><td class="paramname">0-65534</td><td>Any other value is a valid NetworkID. NetworkIDs start at 0 and go to 65534, wrapping at that point. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a6f48e0e1854cbc49cde9e9c9f7d3f679"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void* RakNet::NetworkIDObject::GetParent </td> <td>(</td> <td class="paramtype">void&#160;</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return what was passed to SetParent </p> <dl class="section return"><dt>Returns</dt><dd>The value passed to SetParent, or 0 if it was never called. </dd></dl> </div> </div> <a class="anchor" id="a5ebfffe7c5bb1a87888b9c3bd940cf35"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void RakNet::NetworkIDObject::SetNetworkID </td> <td>(</td> <td class="paramtype">NetworkID&#160;</td> <td class="paramname"><em>id</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Sets the NetworkID for this instance. Usually this is called by the clients and determined from the servers. However, if you save multiplayer games you would likely use This on load as well. </p> </div> </div> <a class="anchor" id="abb1048648224a0c27fea7cb04f444310"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void RakNet::NetworkIDObject::SetNetworkIDManager </td> <td>(</td> <td class="paramtype"><a class="el" href="classRakNet_1_1NetworkIDManager.html">NetworkIDManager</a> *&#160;</td> <td class="paramname"><em>manager</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Sets the manager class from which to request unique network IDs Unlike previous versions, the <a class="el" href="classRakNet_1_1NetworkIDObject.html" title="Unique shared ids for each object instance.">NetworkIDObject</a> relies on a manager class to provide IDs, rather than using statics, So you can have more than one set of IDs on the same system. </p> </div> </div> <a class="anchor" id="a4cc5a498e4cd73194d7406350dd7a4c6"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void RakNet::NetworkIDObject::SetParent </td> <td>(</td> <td class="paramtype">void *&#160;</td> <td class="paramname"><em>_parent</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Your class does not have to derive from <a class="el" href="classRakNet_1_1NetworkIDObject.html" title="Unique shared ids for each object instance.">NetworkIDObject</a>, although that is the easiest way to implement this. If you want this to be a member object of another class, rather than inherit, then call <a class="el" href="classRakNet_1_1NetworkIDObject.html#a4cc5a498e4cd73194d7406350dd7a4c6">SetParent()</a> with a pointer to the parent class instance. GET_OBJECT_FROM_ID will then return the parent rather than this instance. </p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>D:/temp/RakNet_PC/Source/<a class="el" href="NetworkIDObject_8h.html">NetworkIDObject.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Mon Jun 2 2014 20:10:28 for RakNet by &#160;<a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.2 </small></address> </body> </html>
JayStilla/AIEComplexSystems
dep/RakNet/Help/Doxygen/html/classRakNet_1_1NetworkIDObject.html
HTML
mit
14,906
<!DOCTYPE html> <title>Should not crash when inserting an element inside a :first-line pseudo.</title> <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-pseudo"> <style> p:first-line, p:first-letter { font-family: serif; } </style> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <p id=target> test<sup>sup</sup> </p> <script> test(()=>{ const target = document.getElementById('target'); target.insertBefore(document.createElement('img'), target.lastChild) }); </script>
scheib/chromium
third_party/blink/web_tests/external/wpt/css/css-pseudo/first-line-first-letter-insert-crash.html
HTML
bsd-3-clause
560
<dom-module id="x-basic"> <template> <div id="boundChild" value="{{ value }}" negvalue="{{!bool}}" attrvalue$="{{attrvalue}}" computedvalue="{{computedvalue}}" computedvaluetwo="{{computedvaluetwo}}" camel-case="{{value}}" computed-inline="{{computeInline(value,add, divide)}}" computed-inline2="{{computeInline(value, add,divide)}}" computedattribute$="{{computeInline(value, add,divide)}}" neg-computed-inline="{{!computeInline(value,add,divide)}}" computed-negative-number="{{computeNegativeNumber(-1)}}" computed-negative-literal="{{computeNegativeNumber(-A)}}" style$="{{boundStyle}}" data-id$="{{dataSetId}}" custom-event-value="{{customEventValue::custom}}" custom-event-object-value="{{customEventObject.value::change}}" computed-from-mixed-literals='{{computeFromLiterals(3, "foo", bool)}}' computed-from-pure-literals='{{computeFromLiterals( 3, "foo")}}' computed-from-tricky-function='{{$computeTrickyFunctionFromLiterals( 3, "foo")}}' computed-from-tricky-literals="{{computeFromTrickyLiterals(3, 'tricky\,\'zot\'')}}" computed-from-tricky-literals2='{{computeFromTrickyLiterals(3,"tricky\,&#39;zot&#39;" )}}' computed-from-no-args="{{computeFromNoArgs( )}}" no-computed="{{foobared(noInlineComputed)}}" > Test </div> <span id="boundText">{{text}}</span> <span idtest id="{{boundId}}"></span> <s id="computedContent">{{computeFromTrickyLiterals(3, 'tricky\,\'zot\'')}}</s> <input id="boundInput" value="{{text::input}}"> </template> <script> Polymer({ is: 'x-basic', properties: { value: { type: Number, observer: 'valueChanged', value: 10 }, computedvalue: { computed: 'computeValue(value)', observer: 'computedvalueChanged' }, computedvaluetwo: { computed: 'computeValue(valuetwo)', observer: 'computedvaluetwoChanged' }, notifyingvalue: { type: Number, notify: true, observer: 'notifyingvalueChanged' }, notifyingvalueWithDefault: { notify: true, value: 99 }, computednotifyingvalue: { type: Number, notify: true, // Naming here is to test that a private setter is not created for // computed properties computed: '_setComputednotifyingvalue(notifyingvalue)' }, computedFromMultipleValues: { type: Number, notify: true, computed: 'computeFromMultipleValues(sum1, sum2, divide)', observer: 'computedFromMultipleValuesChanged' }, camelNotifyingValue: { type: Number, notify: true }, readonlyvalue: { type: Number, readOnly: true, notify: true, observer: 'readonlyvalueChanged' }, notifierWithoutComputing: { type: Number, observer: 'notifierWithoutComputingChanged', notify: true, value: 0 }, add: { value: 20 }, divide: { value: 2 }, customEventValue: { type: Number, observer: 'customEventValueChanged' }, customEventObject: { type: Object, value: function() { return {}; } }, boundId: { type: String, value: 'span' }, noObserver: { observer: 'foobared' }, noComputedProp: { computed: 'foobared(noComputed)' } }, observers: [ 'multipleDepChangeHandler(dep1, dep2, dep3)', 'customEventObjectValueChanged(customEventObject.value)', 'foobared(noComplexObserver.*)' ], created: function() { this.observerCounts = { valueChanged: 0, computedvalueChanged: 0, computedvaluetwoChanged: 0, notifyingvalueChanged: 0, readonlyvalueChanged: 0, computedFromMultipleValuesChanged: 0, multipleDepChangeHandler: 0, customEventValueChanged: 0, customEventObjectValueChanged: 0, notifierWithoutComputingChanged: 0 }; }, clearObserverCounts: function() { for (var i in this.observerCounts) { this.observerCounts[i] = 0; } }, valueChanged: function(val, old) { this.observerCounts.valueChanged++; assert.equal(arguments.length, 2, 'observer argument length wrong'); assert.equal(val, this.value, 'observer value argument wrong'); assert.equal(old, this._value, 'observer old argument wrong'); this._value = val; }, computeValue: function(val) { return val + 1; }, computedvalueChanged: function(val, old) { this.observerCounts.computedvalueChanged++; assert.equal(arguments.length, 2, 'observer argument length wrong'); assert.equal(val, this.computedvalue, 'observer value argument wrong'); assert.equal(old, this._computedvalue, 'observer old argument wrong'); this._computedvalue = val; }, computedvaluetwoChanged: function(val, old) { this.observerCounts.computedvaluetwoChanged++; assert.equal(arguments.length, 2, 'observer argument length wrong'); assert.equal(val, this.computedvaluetwo, 'observer value argument wrong'); assert.equal(old, this._computedvaluetwo, 'observer old argument wrong'); this._computedvaluetwo = val; }, notifyingvalueChanged: function(val, old) { this.observerCounts.notifyingvalueChanged++; assert.equal(arguments.length, 2, 'observer argument length wrong'); assert.equal(val, this.notifyingvalue, 'observer value argument wrong'); assert.equal(old, this._notifyingvalue, 'observer old argument wrong'); this._notifyingvalue = val; }, readonlyvalueChanged: function(val, old) { this.observerCounts.readonlyvalueChanged++; assert.equal(arguments.length, 2, 'observer argument length wrong'); assert.equal(val, this.readonlyvalue, 'observer value argument wrong'); assert.equal(old, this._readonlyvalue, 'observer old argument wrong'); this._readonlyvalue = val; }, notifierWithoutComputingChanged: function() { this.observerCounts.notifierWithoutComputingChanged++; }, _setComputednotifyingvalue: function(val) { return val + 2; }, computeFromMultipleValues: function(sum1, sum2, divide) { assert.equal(arguments.length, 3, 'observer argument length wrong'); assert.equal(sum1, this.sum1, 'observer value argument wrong'); assert.equal(sum2, this.sum2, 'observer value argument wrong'); assert.equal(divide, this.divide, 'observer value argument wrong'); return (sum1 + sum2) / divide; }, computedFromMultipleValuesChanged: function(val, old) { this.observerCounts.computedFromMultipleValuesChanged++; assert.equal(arguments.length, 2, 'observer argument length wrong'); assert.equal(val, this.computedFromMultipleValues, 'observer value argument wrong'); assert.equal(old, this._computedFromMultipleValues, 'observer old argument wrong'); this._computedFromMultipleValues = val; }, multipleDepChangeHandler: function(dep1, dep2, dep3) { this.observerCounts.multipleDepChangeHandler++; assert.equal(arguments.length, 3, 'observer argument length wrong'); assert.equal(dep1, this.dep1, 'dependency 1 argument wrong'); assert.equal(dep2, this.dep2, 'dependency 2 argument wrong'); assert.equal(dep3, this.dep3, 'dependency 3 argument wrong'); }, computeInline: function(value, add, divide) { assert.equal(arguments.length, 3, 'observer argument length wrong'); assert.equal(value, this.value, 'dependency 1 argument wrong'); assert.equal(add, this.add, 'dependency 2 argument wrong'); assert.equal(divide, this.divide, 'dependency 3 argument wrong'); return (value + add) / divide; }, customEventValueChanged: function(val, old) { this.observerCounts.customEventValueChanged++; assert.equal(arguments.length, 2, 'observer argument length wrong'); assert.equal(val, this.customEventValue, 'observer value argument wrong'); assert.equal(old, this._customEventValue, 'observer old argument wrong'); this._customEventValue = val; }, customEventObjectValueChanged: function(val) { this.observerCounts.customEventObjectValueChanged++; assert.equal(arguments.length, 1, 'observer argument length wrong'); assert.equal(val, this.customEventObject.value, 'observer value argument wrong'); // note, no `old` argument for path observers }, computeFromLiterals: function(num, str) { assert.equal(num, 3); assert.equal(str, 'foo'); return num + str; }, $computeTrickyFunctionFromLiterals: function(num, str) { return this.computeFromLiterals(num, str); }, computeFromTrickyLiterals: function(a, b) { return a + b; }, computeFromNoArgs: function() { return 'no args!'; }, computeNegativeNumber: function (num) { return num; } }); </script> </dom-module> <dom-module id="x-compose"> <template> <x-basic id="basic1" value="{{boundvalue}}" notifyingvalue="{{boundnotifyingvalue}}" notifyingvalue-with-default="{{boundnotifyingvalueWithDefault}}" camel-notifying-value="{{boundnotifyingvalue}}" computedvalue="{{boundcomputedvalue}}" computednotifyingvalue="{{boundcomputednotifyingvalue}}" readonlyvalue="{{boundreadonlyvalue}}"> </x-basic> <x-basic id="basic2" value="[[boundvalue]]" notifyingvalue="[[boundnotifyingvalue]]" computedvalue="[[boundcomputedvalue]]" computednotifyingvalue="[[boundcomputednotifyingvalue]]"> </x-basic> <x-basic id="basic3" notifyingvalue="{{computedValue}}" computedvalue="{{value}}"> </x-basic> </template> <script> Polymer({ is: 'x-compose', observers: [ 'boundvalueChanged(boundvalue)', 'boundnotifyingvalueChanged(boundnotifyingvalue)', 'boundcomputedvalueChanged(boundcomputedvalue)', 'boundcomputednotifyingvalueChanged(boundcomputednotifyingvalue)', 'boundreadonlyvalueChanged(boundreadonlyvalue)' ], properties: { a: { value: 10 }, b: { value: 20 }, computedValue: { computed: 'computeComputedValue(a, b)' } }, created: function() { this.observerCounts = { boundvalueChanged: 0, boundnotifyingvalueChanged: 0, boundcomputedvalueChanged: 0, boundcomputednotifyingvalueChanged: 0, boundreadonlyvalueChanged: 0 }; }, computeComputedValue: function(a, b) { return a + b; }, clearObserverCounts: function() { for (var i in this.observerCounts) { this.observerCounts[i] = 0; } }, boundvalueChanged: function() { this.observerCounts.boundvalueChanged++; }, boundnotifyingvalueChanged: function() { this.observerCounts.boundnotifyingvalueChanged++; }, boundcomputedvalueChanged: function() { this.observerCounts.boundcomputedvalueChanged++; }, boundcomputednotifyingvalueChanged: function() { this.observerCounts.boundcomputednotifyingvalueChanged++; }, boundreadonlyvalueChanged: function() { this.observerCounts.boundreadonlyvalueChanged++; } }); </script> </dom-module> <script> Polymer({ is: 'x-reflect', properties: { reflectedobject: { type: Object, reflectToAttribute: true }, reflectedarray: { type: Array, reflectToAttribute: true }, reflectedNumber: { type: Number, reflectToAttribute: true }, reflectedstring: { type: String, reflectToAttribute: true }, reflectedboolean: { type: Boolean, reflectToAttribute: true }, reflecteddate: { type: Date, reflectToAttribute: true } } }); </script> <script> Polymer({ is: 'x-notifies1', properties: { notifies: { notify: true } }, ready: function() { this.notifies = 'readyValue'; } }); </script> <dom-module id="x-notifies2"> <template> <x-notifies1 id="notifies1" notifies="{{shouldChange}}"></x-notifies1> </template> </dom-module> <script> Polymer({ is: 'x-notifies2', properties: { notifies: { notify: true } } }); </script> <dom-module id="x-notifies3"> <template> <x-notifies2 id="notifies2" notifies="{{shouldNotChange}}"></x-notifies2> </template> </dom-module> <script> Polymer({ is: 'x-notifies3', properties: { shouldNotChange: { observer: 'shouldNotChangeChanged' } }, shouldNotChangeChanged: function() { } }); </script> <dom-module id="x-entity-and-binding"> <template> <p>&copy;</p> <p id="binding">{{myText}}</p> </template> </dom-module> <script> Polymer({ is: "x-entity-and-binding", properties: { myText: { type: String, value: 'binding' } } }); </script>
kristianmandrup/polymer
test/unit/bind-elements.html
HTML
bsd-3-clause
13,835
<!DOCTYPE html> <html ng-app="myApp"> <head> <title>GoogleMap-Based App</title> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <script src="https://maps.google.com/maps/api/js?sensor=false"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.5/angular.js"></script> <!-- <script src="../build/scripts/ng-map.min.js"></script> --> <script src="../app.js"></script> <script src="../directives/map_controller.js"></script> <script src="../directives/map.js"></script> <script src="../directives/marker.js"></script> <script src="../directives/shape.js"></script> <script src="../services/geo_coder.js"></script> <script src="../services/navigator_geolocation.js"></script> <script src="../services/street_view.js"></script> <script src="../services/attr2_options.js"></script> <script src="scripts/markerclusterer.js"></script> <script> var app = angular.module('myApp', ['ngMap']); app.controller('mapController', function($scope, $http, StreetView) { $scope.map; $scope.stores = []; $scope.$on('mapInitialized', function(event, evtMap) { map = evtMap; $scope.map = map; console.log('loading scripts/starbucks.json'); $http.get('scripts/starbucks.json').success( function(stores) { for (var i=0; i<stores.length; i++) { var store = stores[i]; store.position = new google.maps.LatLng(store.latitude,store.longitude); store.title = store.name; var marker = new google.maps.Marker(store); google.maps.event.addListener(marker, 'click', function() { $scope.store = this; StreetView.getPanorama(map).then(function(panoId) { $scope.panoId = panoId; }); map.setZoom(18); map.setCenter(this.getPosition()); $scope.storeInfo.show(); }); google.maps.event.addListener(map, 'click', function() { $scope.storeInfo.hide(); }); $scope.stores.push(marker); } console.log('finished loading scripts/starbucks.json', '$scope.stores', $scope.stores.length); $scope.markerClusterer = new MarkerClusterer(map, $scope.stores, {}); $scope.fullScreenToggle.click(); }); }); $scope.showStreetView = function() { StreetView.setPanorama(map, $scope.panoId); $scope.storeInfo.hide(); }; $scope.showHybridView = function() { map.setMapTypeId(google.maps.MapTypeId.HYBRID); map.setTilt(45); $scope.storeInfo.hide(); } }); app.directive('fullScreenToggle', function() { return { link: function(scope, e, a) { this.click = function() { e.parent().toggleClass('full-screen'); e.text( e.parent().hasClass('full-screen') ? 'Exit Full Screen' : 'Full Screen' ); google.maps.event.trigger(scope.map, 'resize'); }; e.on('click', this.click); scope.fullScreenToggle = this; } } }); app.directive('storeInfo', function() { var StoreInfo = function(s, e, a) { this.scope = s; this.element = e; this.attrs = a; this.show = function() { this.element.css('display', 'block'); this.scope.$apply(); } this.hide = function() { this.element.css('display', 'none'); } }; return { templateUrl: 'store-info.html', link: function(scope, e, a) { scope.storeInfo= new StoreInfo(scope, e, a); } } }); </script> <style> html, body {width:100%; height: 100%; margin: 0} div#map-container {width: 600px; height: 400px; position: relative; color: rgb(86, 86, 86); font-family: Roboto, Arial, sans-serif; -webkit-user-select: none; font-size: 11px; } div#map-container div.custom-control { z-index: 1; direction: ltr; overflow: hidden; text-align: center; padding: 1px 6px; border-bottom-right-radius: 2px; border-top-right-radius: 2px; -webkit-background-clip: padding-box; border-width: 1px 1px 1px 0px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-top-color: rgba(0, 0, 0, 0.14902); border-right-color: rgba(0, 0, 0, 0.14902); border-bottom-color: rgba(0, 0, 0, 0.14902); -webkit-box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px; box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px; min-width: 41px; background-color: rgb(255, 255, 255); background-clip: padding-box; } div#map-container.full-screen {position:absolute; display:block; width:100%; height:100%; top: 0; left: 0} div#map-container div[full-screen-toggle] { cursor: pointer; position: absolute; top: 5px; right: 100px; } div#map-container div[store-info] { position: absolute; display: none; top: 5px; right: 5px; bottom: 5px; width: 40% } div#map-container div[store-info] a.hide-link { float:right } div#map-container div[store-info] table { width: 100% } div#map-container div[store-info] table td { text-align: left; padding: 5px; border: 1px solid #ccc } map {display:block; width:100%; height:100%;} </style> <script type="text/ng-template" id="store-info.html"> <a class="hide-link" ng-click="storeInfo.hide()" href="">x</a> <h3> {{store.name}} </h3> <table> <tr> <td> Address </td> <td> {{store.street_combined}} <br/> {{store.city}} {{store.postal_code}} {{store.country}} <br/> </td> </tr> <tr> <td> Coordinates </td> <td> Latitude: {{store.latitude}} <br/> Longitude: {{store.longitude}} </td> </tr> </table> <a ng-show="panoId" href="" ng-click="showStreetView()">Street View</a> <a href="" ng-click="showHybridView()">Satellite View</a> </script> </head> <body> <h1>GoogleMap-Based App</h1> <hr /> <div id="map-container" ng-controller="mapController"> <map zoom="2" center="[45.518970, -122.672899]"></map> <div full-screen-toggle class="custom-control">Full Screen</div> <div store-info class="custom-control">Store Info</div> </div> </body> </html>
itsmemz53/Project-DB
www/lib/ngmap/testapp/map_app.html
HTML
mit
6,144
{% extends base_template %} {% block content %} <div class="container"> <div class="row" style="margin-top: 40px; margin-bottom: 20px"> <div class="col-sm-offset-3 col-sm-6"> <div class="panel panel-default"> <div class="panel-heading"> <h4><i class="icon-key"></i> Reset Password</h4> </div> <div class="panel-body"> <div class="form-group"> <input id="old_password" type="password" class="form-control" placeholder="Old Password"> </div> <div class="form-group"> <input id="new_password" type="password" class="form-control" placeholder="New Password"> </div> <div class="form-group"> <button type="submit" id="update" class="btn btn-primary">Update</button> </div> </div> </div> </div> </div> </div> <script> $(document).ready(function() { if(get_url_arg("key")) { $("#old_password").parent().toggle(false); } $("#new_password").on("keypress", function(e) { if(e.which===13) $("#update").click(); }) $("#update").click(function() { var args = { key: get_url_arg("key") || "", old_password: $("#old_password").val(), new_password: $("#new_password").val() } if(!args.old_password && !args.key) { wn.msgprint("Old Password Required."); return; } if(!args.new_password) { wn.msgprint("New Password Required.") return; } wn.call({ type: "POST", method: "core.doctype.profile.profile.update_password", btn: $("#update"), args: args, callback: function(r) { if(r.message) { $("input").val(""); var dialog = wn.msgprint(r.message); dialog.on("hide.bs.modal", function() { window.location.href = "login"; }); } } }) }) }); </script> {% endblock %}
saurabh6790/medsyn-lib
website/templates/pages/update-password.html
HTML
mit
1,757
<script> function frameLoaded() { if (window.opener) window.opener.postMessage('done', '*'); } </script> <iframe onload="frameLoaded()" src="data:text/html,<html><iframe src='http://127.0.0.1:8080/security/mixedContent/resources/boring.html'></iframe></html>"></iframe>
joone/chromium-crosswalk
third_party/WebKit/LayoutTests/http/tests/security/mixedContent/resources/frame-with-data-url-frame-with-frame.html
HTML
bsd-3-clause
276
{{extend 'default.mobile/layout.html'}} <script> function delkey(id) { jQuery('#'+id).hide(); jQuery('#'+id+' INPUT').val(String.fromCharCode(127)); jQuery('#'+id+' TEXTAREA').val(String.fromCharCode(127)); return false; } </script> {{block sectionclass}}edit_language{{end}} <h2>{{=T('Editing Language file')}} "{{=filename}}"</h2> <div> {{=form}} </div>
pouyana/teireader
webui/applications/admin/views/default.mobile/edit_language.html
HTML
mit
371
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Stateful Array Grid Example</title> <!-- ** CSS ** --> <!-- base library --> <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" /> <!-- overrides to base library --> <!-- page specific --> <link rel="stylesheet" type="text/css" href="../shared/examples.css" /> <link rel="stylesheet" type="text/css" href="grid-examples.css" /> <style type=text/css> /* style rows on mouseover */ .x-grid3-row-over .x-grid3-cell-inner { font-weight: bold; } /* style for the "buy" ActionColumn icon */ .x-action-col-cell img.buy-col { height: 16px; width: 16px; background-image: url(../shared/icons/fam/accept.png); } /* style for the "alert" ActionColumn icon */ .x-action-col-cell img.alert-col { height: 16px; width: 16px; background-image: url(../shared/icons/fam/error.png); } </style> <!-- ** Javascript ** --> <!-- ExtJS library: base/adapter --> <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script> <!-- ExtJS library: all widgets --> <script type="text/javascript" src="../../ext-all.js"></script> <!-- overrides to base library --> <!-- page specific --> <script type="text/javascript" src="array-grid.js"></script> </head> <body> <h1>Stateful Array Grid Example</h1> <p>This example shows how to create a grid from Array data.</p> <p>The grid is stateful so you can move or hide columns, reload the page, and come back to the grid in the same state you left it in.</p> <p>Note that the js is not minified so it is readable. See <a href="array-grid.js">array-grid.js</a>.</p> <div id="grid-example"></div> </body> </html>
dinubalti/FirstSymfony
web/public/js/lib/ext-3.4.1/examples/grid/array-grid.html
HTML
mit
1,930
<!DOCTYPE html> <html> <!-- Copyright 2011 The Closure Library Authors. All Rights Reserved. Use of this source code is governed by the Apache License, Version 2.0. See the COPYING file for details. --> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta charset="UTF-8" /> <title> Closure Unit Tests - goog.dom.style </title> <script src="../base.js"> </script> <script> goog.require('goog.style.webkitScrollbarsTest'); </script> <style> /* * Note that we have to apply these styles when the page is loaded or the * scrollbars might not pick them up. */ ::-webkit-scrollbar { width: 16px; height: 16px; } .otherScrollBar::-webkit-scrollbar { width: 10px; height: 10px; } </style> </head> <body> <div id="test-scrollbarwidth" style="background-color: orange; width: 100px; height: 100px; overflow: auto;"> <div style="width: 200px; height: 200px; background-color: red"> Test Scroll bar width with scroll </div> </div> </body> </html>
LeoLombardi/tos-laimas-compass
tos-laimas-compass-win32-x64/resources/app/node_modules/closure-util/.deps/library/b06c979ecae7d78dd1ac4f7b09adec643baac308/closure/goog/style/style_webkit_scrollbars_test.html
HTML
mit
1,013
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Security-Policy" content="style-src 'unsafe-inline'; script-src 'unsafe-inline'"> <style> .target { background-color: blue; } </style> <script> if (window.testRunner) testRunner.dumpAsText(); </script> </head> <body class="target"> <script> document.write(document.styleSheets.length > 0 ? 'PASS' : 'FAIL'); </script> </body> </html>
danakj/chromium
third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-allowed.html
HTML
bsd-3-clause
398
<!doctype html> <html lang=en> <head> <meta charset=utf-8> <title>CSS Reftest Reference</title> <link rel="author" title="Yusuf Sermet" href="mailto:[email protected]"> <style> rb, rbc, rt, rtc { background-color: yellow; font-size: 2em; } rbc { display: ruby-base-container; } .contained { width: 50px; height: 10px; background-color: blue; top: 0; left: 0; position: fixed; } .wrapper { display: inline-block; } </style> </head> <body> <div class="wrapper"><ruby><rt>&emsp;<div class="contained"></div></rt></ruby></div> <div class="wrapper"><ruby><rtc>&emsp;<div class="contained"></div></rtc></ruby></div> <div class="wrapper"><ruby><rb>&emsp;<div class="contained"></div></rb></ruby></div> <div class="wrapper"><ruby><rbc>&emsp;<div class="contained"></div></rbc></ruby></div> </body> </html>
scheib/chromium
third_party/blink/web_tests/external/wpt/css/css-contain/contain-paint-ignored-cases-ruby-containing-block-001-ref.html
HTML
bsd-3-clause
990
<!DOCTYPE html> <script> if (window.testRunner) testRunner.dumpAsText(); </script> <style> #invalid-spanner { display:none; -webkit-column-span:all; } </style> Test passes if it does not CRASH. <div style="-webkit-column-count:1;"> <div> <span id="inline" style="display:none;"></span> <div id="invalid-spanner"></div> </div> </div> <script> document.body.offsetTop; document.getElementById("inline").style.display = "inline"; // Note that a table-caption isn't allowed to become a spanner. document.getElementById("invalid-spanner").style.display = "table-caption"; onload = function() { document.body.offsetTop; document.getElementById("invalid-spanner").style.webkitColumnSpan = "none"; } </script>
scheib/chromium
third_party/blink/web_tests/fast/multicol/span/table-caption-crash.html
HTML
bsd-3-clause
782
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Gentelella Alela! | </title> <!-- Bootstrap --> <link href="../vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- Font Awesome --> <link href="../vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet"> <!-- NProgress --> <link href="../vendors/nprogress/nprogress.css" rel="stylesheet"> <!-- Custom styling plus plugins --> <link href="../build/css/custom.min.css" rel="stylesheet"> </head> <body class="nav-md"> <div class="container body"> <div class="main_container"> <div class="col-md-3 left_col"> <div class="left_col scroll-view"> <div class="navbar nav_title" style="border: 0;"> <a href="index.html" class="site_title"><i class="fa fa-paw"></i> <span>Gentelella Alela!</span></a> </div> <div class="clearfix"></div> <!-- menu profile quick info --> <div class="profile clearfix"> <div class="profile_pic"> <img src="images/img.jpg" alt="..." class="img-circle profile_img"> </div> <div class="profile_info"> <span>Welcome,</span> <h2>John Doe</h2> </div> </div> <!-- /menu profile quick info --> <br /> <!-- sidebar menu --> <div id="sidebar-menu" class="main_menu_side hidden-print main_menu"> <div class="menu_section"> <h3>General</h3> <ul class="nav side-menu"> <li><a><i class="fa fa-home"></i> Home <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu"> <li><a href="index.html">Dashboard</a></li> <li><a href="index2.html">Dashboard2</a></li> <li><a href="index3.html">Dashboard3</a></li> </ul> </li> <li><a><i class="fa fa-edit"></i> Forms <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu"> <li><a href="form.html">General Form</a></li> <li><a href="form_advanced.html">Advanced Components</a></li> <li><a href="form_validation.html">Form Validation</a></li> <li><a href="form_wizards.html">Form Wizard</a></li> <li><a href="form_upload.html">Form Upload</a></li> <li><a href="form_buttons.html">Form Buttons</a></li> </ul> </li> <li><a><i class="fa fa-desktop"></i> UI Elements <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu"> <li><a href="general_elements.html">General Elements</a></li> <li><a href="media_gallery.html">Media Gallery</a></li> <li><a href="typography.html">Typography</a></li> <li><a href="icons.html">Icons</a></li> <li><a href="glyphicons.html">Glyphicons</a></li> <li><a href="widgets.html">Widgets</a></li> <li><a href="invoice.html">Invoice</a></li> <li><a href="inbox.html">Inbox</a></li> <li><a href="calendar.html">Calendar</a></li> </ul> </li> <li><a><i class="fa fa-table"></i> Tables <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu"> <li><a href="tables.html">Tables</a></li> <li><a href="tables_dynamic.html">Table Dynamic</a></li> </ul> </li> <li><a><i class="fa fa-bar-chart-o"></i> Data Presentation <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu"> <li><a href="chartjs.html">Chart JS</a></li> <li><a href="chartjs2.html">Chart JS2</a></li> <li><a href="morisjs.html">Moris JS</a></li> <li><a href="echarts.html">ECharts</a></li> <li><a href="other_charts.html">Other Charts</a></li> </ul> </li> <li><a><i class="fa fa-clone"></i>Layouts <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu"> <li><a href="fixed_sidebar.html">Fixed Sidebar</a></li> <li><a href="fixed_footer.html">Fixed Footer</a></li> </ul> </li> </ul> </div> <div class="menu_section"> <h3>Live On</h3> <ul class="nav side-menu"> <li><a><i class="fa fa-bug"></i> Additional Pages <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu"> <li><a href="e_commerce.html">E-commerce</a></li> <li><a href="projects.html">Projects</a></li> <li><a href="project_detail.html">Project Detail</a></li> <li><a href="contacts.html">Contacts</a></li> <li><a href="profile.html">Profile</a></li> </ul> </li> <li><a><i class="fa fa-windows"></i> Extras <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu"> <li><a href="page_403.html">403 Error</a></li> <li><a href="page_404.html">404 Error</a></li> <li><a href="page_500.html">500 Error</a></li> <li><a href="plain_page.html">Plain Page</a></li> <li><a href="login.html">Login Page</a></li> <li><a href="pricing_tables.html">Pricing Tables</a></li> </ul> </li> <li><a><i class="fa fa-sitemap"></i> Multilevel Menu <span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu"> <li><a href="#level1_1">Level One</a> <li><a>Level One<span class="fa fa-chevron-down"></span></a> <ul class="nav child_menu"> <li class="sub_menu"><a href="level2.html">Level Two</a> </li> <li><a href="#level2_1">Level Two</a> </li> <li><a href="#level2_2">Level Two</a> </li> </ul> </li> <li><a href="#level1_2">Level One</a> </li> </ul> </li> <li><a href="javascript:void(0)"><i class="fa fa-laptop"></i> Landing Page <span class="label label-success pull-right">Coming Soon</span></a></li> </ul> </div> </div> <!-- /sidebar menu --> <!-- /menu footer buttons --> <div class="sidebar-footer hidden-small"> <a data-toggle="tooltip" data-placement="top" title="Settings"> <span class="glyphicon glyphicon-cog" aria-hidden="true"></span> </a> <a data-toggle="tooltip" data-placement="top" title="FullScreen"> <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span> </a> <a data-toggle="tooltip" data-placement="top" title="Lock"> <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span> </a> <a data-toggle="tooltip" data-placement="top" title="Logout" href="login.html"> <span class="glyphicon glyphicon-off" aria-hidden="true"></span> </a> </div> <!-- /menu footer buttons --> </div> </div> <!-- top navigation --> <div class="top_nav"> <div class="nav_menu"> <nav> <div class="nav toggle"> <a id="menu_toggle"><i class="fa fa-bars"></i></a> </div> <ul class="nav navbar-nav navbar-right"> <li class=""> <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> <img src="images/img.jpg" alt="">John Doe <span class=" fa fa-angle-down"></span> </a> <ul class="dropdown-menu dropdown-usermenu pull-right"> <li><a href="javascript:;"> Profile</a></li> <li> <a href="javascript:;"> <span class="badge bg-red pull-right">50%</span> <span>Settings</span> </a> </li> <li><a href="javascript:;">Help</a></li> <li><a href="login.html"><i class="fa fa-sign-out pull-right"></i> Log Out</a></li> </ul> </li> <li role="presentation" class="dropdown"> <a href="javascript:;" class="dropdown-toggle info-number" data-toggle="dropdown" aria-expanded="false"> <i class="fa fa-envelope-o"></i> <span class="badge bg-green">6</span> </a> <ul id="menu1" class="dropdown-menu list-unstyled msg_list" role="menu"> <li> <a> <span class="image"><img src="images/img.jpg" alt="Profile Image" /></span> <span> <span>John Smith</span> <span class="time">3 mins ago</span> </span> <span class="message"> Film festivals used to be do-or-die moments for movie makers. They were where... </span> </a> </li> <li> <a> <span class="image"><img src="images/img.jpg" alt="Profile Image" /></span> <span> <span>John Smith</span> <span class="time">3 mins ago</span> </span> <span class="message"> Film festivals used to be do-or-die moments for movie makers. They were where... </span> </a> </li> <li> <a> <span class="image"><img src="images/img.jpg" alt="Profile Image" /></span> <span> <span>John Smith</span> <span class="time">3 mins ago</span> </span> <span class="message"> Film festivals used to be do-or-die moments for movie makers. They were where... </span> </a> </li> <li> <a> <span class="image"><img src="images/img.jpg" alt="Profile Image" /></span> <span> <span>John Smith</span> <span class="time">3 mins ago</span> </span> <span class="message"> Film festivals used to be do-or-die moments for movie makers. They were where... </span> </a> </li> <li> <div class="text-center"> <a> <strong>See All Alerts</strong> <i class="fa fa-angle-right"></i> </a> </div> </li> </ul> </li> </ul> </nav> </div> </div> <!-- /top navigation --> <!-- page content --> <div class="right_col" role="main"> <div class=""> <div class="page-title"> <div class="title_left"> <h3> Media Gallery <small> gallery design</small> </h3> </div> <div class="title_right"> <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search"> <div class="input-group"> <input type="text" class="form-control" placeholder="Search for..."> <span class="input-group-btn"> <button class="btn btn-default" type="button">Go!</button> </span> </div> </div> </div> </div> <div class="clearfix"></div> <div class="row"> <div class="col-md-12"> <div class="x_panel"> <div class="x_title"> <h2>Media Gallery <small> gallery design </small></h2> <ul class="nav navbar-right panel_toolbox"> <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a> <ul class="dropdown-menu" role="menu"> <li><a href="#">Settings 1</a> </li> <li><a href="#">Settings 2</a> </li> </ul> </li> <li><a class="close-link"><i class="fa fa-close"></i></a> </li> </ul> <div class="clearfix"></div> </div> <div class="x_content"> <div class="row"> <p>Media gallery design emelents</p> <div class="col-md-55"> <div class="thumbnail"> <div class="image view view-first"> <img style="width: 100%; display: block;" src="images/media.jpg" alt="image" /> <div class="mask"> <p>Your Text</p> <div class="tools tools-bottom"> <a href="#"><i class="fa fa-link"></i></a> <a href="#"><i class="fa fa-pencil"></i></a> <a href="#"><i class="fa fa-times"></i></a> </div> </div> </div> <div class="caption"> <p>Snow and Ice Incoming for the South</p> </div> </div> </div> <div class="col-md-55"> <div class="thumbnail"> <div class="image view view-first"> <img style="width: 100%; display: block;" src="images/media.jpg" alt="image" /> <div class="mask"> <p>Your Text</p> <div class="tools tools-bottom"> <a href="#"><i class="fa fa-link"></i></a> <a href="#"><i class="fa fa-pencil"></i></a> <a href="#"><i class="fa fa-times"></i></a> </div> </div> </div> <div class="caption"> <p>Snow and Ice Incoming for the South</p> </div> </div> </div> <div class="col-md-55"> <div class="thumbnail"> <div class="image view view-first"> <img style="width: 100%; display: block;" src="images/media.jpg" alt="image" /> <div class="mask"> <p>Your Text</p> <div class="tools tools-bottom"> <a href="#"><i class="fa fa-link"></i></a> <a href="#"><i class="fa fa-pencil"></i></a> <a href="#"><i class="fa fa-times"></i></a> </div> </div> </div> <div class="caption"> <p>Snow and Ice Incoming for the South</p> </div> </div> </div> <div class="col-md-55"> <div class="thumbnail"> <div class="image view view-first"> <img style="width: 100%; display: block;" src="images/media.jpg" alt="image" /> <div class="mask"> <p>Your Text</p> <div class="tools tools-bottom"> <a href="#"><i class="fa fa-link"></i></a> <a href="#"><i class="fa fa-pencil"></i></a> <a href="#"><i class="fa fa-times"></i></a> </div> </div> </div> <div class="caption"> <p>Snow and Ice Incoming for the South</p> </div> </div> </div> <div class="col-md-55"> <div class="thumbnail"> <div class="image view view-first"> <img style="width: 100%; display: block;" src="images/media.jpg" alt="image" /> <div class="mask"> <p>Your Text</p> <div class="tools tools-bottom"> <a href="#"><i class="fa fa-link"></i></a> <a href="#"><i class="fa fa-pencil"></i></a> <a href="#"><i class="fa fa-times"></i></a> </div> </div> </div> <div class="caption"> <p>Snow and Ice Incoming for the South</p> </div> </div> </div> <div class="col-md-55"> <div class="thumbnail"> <div class="image view view-first"> <img style="width: 100%; display: block;" src="images/media.jpg" alt="image" /> <div class="mask no-caption"> <div class="tools tools-bottom"> <a href="#"><i class="fa fa-link"></i></a> <a href="#"><i class="fa fa-pencil"></i></a> <a href="#"><i class="fa fa-times"></i></a> </div> </div> </div> <div class="caption"> <p><strong>Image Name</strong> </p> <p>Snow and Ice Incoming</p> </div> </div> </div> <div class="col-md-55"> <div class="thumbnail"> <div class="image view view-first"> <img style="width: 100%; display: block;" src="images/media.jpg" alt="image" /> <div class="mask no-caption"> <div class="tools tools-bottom"> <a href="#"><i class="fa fa-link"></i></a> <a href="#"><i class="fa fa-pencil"></i></a> <a href="#"><i class="fa fa-times"></i></a> </div> </div> </div> <div class="caption"> <p><strong>Image Name</strong> </p> <p>Snow and Ice Incoming</p> </div> </div> </div> <div class="col-md-55"> <div class="thumbnail"> <div class="image view view-first"> <img style="width: 100%; display: block;" src="images/media.jpg" alt="image" /> <div class="mask no-caption"> <div class="tools tools-bottom"> <a href="#"><i class="fa fa-link"></i></a> <a href="#"><i class="fa fa-pencil"></i></a> <a href="#"><i class="fa fa-times"></i></a> </div> </div> </div> <div class="caption"> <p><strong>Image Name</strong> </p> <p>Snow and Ice Incoming</p> </div> </div> </div> <div class="col-md-55"> <div class="thumbnail"> <div class="image view view-first"> <img style="width: 100%; display: block;" src="images/media.jpg" alt="image" /> <div class="mask no-caption"> <div class="tools tools-bottom"> <a href="#"><i class="fa fa-link"></i></a> <a href="#"><i class="fa fa-pencil"></i></a> <a href="#"><i class="fa fa-times"></i></a> </div> </div> </div> <div class="caption"> <p><strong>Image Name</strong> </p> <p>Snow and Ice Incoming</p> </div> </div> </div> <div class="col-md-55"> <div class="thumbnail"> <div class="image view view-first"> <img style="width: 100%; display: block;" src="images/media.jpg" alt="image" /> <div class="mask no-caption"> <div class="tools tools-bottom"> <a href="#"><i class="fa fa-link"></i></a> <a href="#"><i class="fa fa-pencil"></i></a> <a href="#"><i class="fa fa-times"></i></a> </div> </div> </div> <div class="caption"> <p><strong>Image Name</strong> </p> <p>Snow and Ice Incoming</p> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <!-- /page content --> <!-- footer content --> <footer> <div class="pull-right"> Gentelella - Bootstrap Admin Template by <a href="https://colorlib.com">Colorlib</a> </div> <div class="clearfix"></div> </footer> <!-- /footer content --> </div> </div> <!-- jQuery --> <script src="../vendors/jquery/dist/jquery.min.js"></script> <!-- Bootstrap --> <script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script> <!-- FastClick --> <script src="../vendors/fastclick/lib/fastclick.js"></script> <!-- NProgress --> <script src="../vendors/nprogress/nprogress.js"></script> <!-- Custom Theme Scripts --> <script src="../build/js/custom.min.js"></script> </body> </html>
ka215/WP-Gentelella
vendors/gentelella/production/media_gallery.html
HTML
mit
25,729
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CSS Background and Borders Test: background-clip: padding-box with background-color</title> <link rel="author" title="Julien Chaffraix" href="mailto:[email protected]"> <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-09 --> <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-clip" title="3.7. Painting Area: the 'background-clip' property"> <meta name="flags" content=""> <meta name="assert" content="When 'background-clip' is set to 'padding-box', then the background painting area is clipped at the edges of the padding of the element. In this test, the padding box is 0px tall and as wide as the body element; therefore, red should not be visible."> <link rel="match" href="reference/ref-if-there-is-no-red.xht"> <style> div { background-clip: padding-box; background-color: red; border: transparent solid 50px; height: auto; padding: 0px; width: auto; } </style> </head> <body> <p>Test passes if there is <strong>no red</strong>.</p> <div></div> </body> </html>
scheib/chromium
third_party/blink/web_tests/external/wpt/css/css-backgrounds/background-clip-008.html
HTML
bsd-3-clause
1,304
<!DOCTYPE html> <html> <head> <link href='../dist/fullcalendar.css' rel='stylesheet' /> <link href='../dist/fullcalendar.print.css' rel='stylesheet' media='print' /> <script src='../lib/jquery/dist/jquery.js'></script> <script src='../lib/moment/moment.js'></script> <script src='../dist/fullcalendar.js'></script> <script src='../dist/gcal.js'></script> <script> /* TODO: this file demonstrates a bug, unrelated to triggers, where starting off in a small window, changing to agendaWeek, maximizing the window, switching to month causes the last column of events to be misaligned (don't stretch all the way right) this happens due to agendaWeek being taller than month before the switch back */ var date = new Date(); var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); $(document).ready(function() { $('#calendar').fullCalendar({ //weekends: false, //defaultView: 'agendaWeek', header: { left: 'prev,next today', center: 'title', right: 'month,agendaWeek,basicWeek,agendaDay,basicDay' }, editable: true, weekMode: 'variable', //isRTL: true, viewDisplay: function(view) { console.log('viewDisplay'); console.log(view.start + ' - ' + view.end); console.log(view.visStart + ' - ' + view.visEnd); //console.log(view); //console.log(this); }, eventAfterAllRender: function(view) { console.log('all rendered', view); }, //loading: // see sources.html windowResize: function(view) { console.log('windowResize - ' + view.title); //console.log(this); }, minTime: '5', maxTime: '21:30', dayClick: function(dayDate, allDay, ev, view) { //alert(dayDate); console.log('dayClick - ' + dayDate + ', allDay:' + allDay + ' - ' + view.title); //console.log(ev); console.log(this); }, selectable: true, select: function(start, end, allDay) { console.log('select', start, end, allDay); }, unselect: function() { console.log('unselect'); }, eventRender: function(event, element, view) { if (event.id == 888) { return false; } else if (event.id == 777) { return $("<div style='background:green'>").text(event.title); } else if (event.id == 999) { element.css('border-color', 'red'); //console.log('renderEvent (' + event.title + ') - ' + view.title); } }, eventAfterRender: function(event, element, view) { //console.log('after render for "' + event.title + '":'); //console.log(element); }, eventClick: function(event, jsEvent, view) { console.log('EVENT CLICK ' + event.title); //console.log(jsEvent); //console.log(view); //console.log(this); //return false; }, eventMouseover: function(event, jsEvent, view) { console.log('MOUSEOVER ' + event.title); //console.log(jsEvent); //console.log(view); //console.log(this); }, eventMouseout: function(event, jsEvent, view) { console.log('MOUSEOUT ' + event.title); //console.log(jsEvent); //console.log(view); //console.log(this); }, eventDragStart: function(event, jsEvent, ui, view) { console.log('DRAG START ' + event.title); console.log(this); }, eventDragStop: function(event, jsEvent, ui, view) { console.log('DRAG STOP ' + event.title); console.log(this); }, eventDrop: function(event, dayDelta, minuteDelta, allDay, revertFunc, jsEvent, ui, view) { console.log('DROP ' + event.title); console.log(dayDelta + ' days'); console.log(minuteDelta + ' minutes'); console.log('allday: ' + allDay); //setTimeout(function() { // revertFunc(); //}, 2000); //console.log(jsEvent); //console.log(ui); //console.log(view.title); //console.log(this); }, eventResizeStart: function(event, jsEvent, ui, view) { console.log('RESIZE START ' + event.title); //console.log(this); }, eventResizeStop: function(event, jsEvent, ui, view) { console.log('RESIZE STOP ' + event.title); //console.log(this); }, eventResize: function(event, dayDelta, minuteDelta, revertFunc, jsEvent, ui, view) { console.log('RESIZE!! ' + event.title); console.log(dayDelta + ' days'); console.log(minuteDelta + ' minutes'); //setTimeout(function() { // revertFunc(); //}, 2000); //console.log(jsEvent); //console.log(ui); //console.log(view.title); //console.log(this); }, /* for testing eventAfterAllRender events: { url: "http://www.google.com/calendar/feeds/usa__en%40holiday.calendar.google.com/public/basic", editable: true, className: 'holiday' }, */ events: [ { title: 'All Day Event', start: new Date(y, m, 1) }, { title: 'Long Event', start: new Date(y, m, d-5), end: new Date(y, m, d-2) }, { id: 999, title: 'Repeating Event', start: new Date(y, m, d-3, 16, 0), allDay: false }, { id: 999, title: 'Repeating Event', start: new Date(y, m, d+4, 16, 0), allDay: false }, { id: 888, title: 'Meeting', start: new Date(y, m, d, 10, 30), allDay: false }, { id: 777, title: 'Lunch', start: new Date(y, m, d, 12, 0), end: new Date(y, m, d, 14, 0), allDay: false }, { title: 'Birthday Party', start: new Date(y, m, d+1, 19, 0), end: new Date(y, m, d+1, 22, 30), allDay: false }, { title: 'Click for Google', start: new Date(y, m, 28), end: new Date(y, m, 29), url: 'http://google.com/' } ] }); }); </script> </head> <body style='font-size:12px'> <div id='calendar' style='width:75%;margin:20px auto 0;font-family:arial'></div> </body> </html>
microuser/HTML4PHP
webroot/resources/fullcalendar/tests/triggers.html
HTML
mit
5,805
<html> <body> Reports <b>enum</b> classes. Such statements are not supported under Java 1.4 or earlier JVMs. <!-- tooltip end --> <p> </body> </html>
Yihy/resources_cn
src/main/resources/inspectionDescriptions/EnumClass.html
HTML
apache-2.0
150
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Blockly Demo: Toolbox</title> <script src="../../blockly_compressed.js"></script> <script src="../../blocks_compressed.js"></script> <script src="../../msg/js/en.js"></script> <style> body { background-color: #fff; font-family: sans-serif; } h1 { font-weight: normal; font-size: 140%; } </style> </head> <body> <h1><a href="https://developers.google.com/blockly/">Blockly</a> &gt; <a href="../index.html">Demos</a> &gt; Toolbox</h1> <p>This is a demo of a complex category structure for the toolbox.</p> <p>&rarr; More info on the <a href="https://developers.google.com/blockly/installation/toolbox">Toolbox</a>...</p> <div id="blocklyDiv" style="height: 600px; width: 800px;"></div> <xml id="toolbox" style="display: none"> <category name="Logic"> <category name="If"> <block type="controls_if"></block> <block type="controls_if"> <mutation else="1"></mutation> </block> <block type="controls_if"> <mutation elseif="1" else="1"></mutation> </block> </category> <category name="Boolean"> <block type="logic_compare"></block> <block type="logic_operation"></block> <block type="logic_negate"></block> <block type="logic_boolean"></block> <block type="logic_null"></block> <block type="logic_ternary"></block> </category> </category> <category name="Loops"> <block type="controls_repeat_ext"> <value name="TIMES"> <block type="math_number"> <field name="NUM">10</field> </block> </value> </block> <block type="controls_whileUntil"></block> <block type="controls_for"> <field name="VAR">i</field> <value name="FROM"> <block type="math_number"> <field name="NUM">1</field> </block> </value> <value name="TO"> <block type="math_number"> <field name="NUM">10</field> </block> </value> <value name="BY"> <block type="math_number"> <field name="NUM">1</field> </block> </value> </block> <block type="controls_forEach"></block> <block type="controls_flow_statements"></block> </category> <category name="Math"> <block type="math_number"></block> <block type="math_arithmetic"></block> <block type="math_single"></block> <block type="math_trig"></block> <block type="math_constant"></block> <block type="math_number_property"></block> <block type="math_change"> <value name="DELTA"> <block type="math_number"> <field name="NUM">1</field> </block> </value> </block> <block type="math_round"></block> <block type="math_on_list"></block> <block type="math_modulo"></block> <block type="math_constrain"> <value name="LOW"> <block type="math_number"> <field name="NUM">1</field> </block> </value> <value name="HIGH"> <block type="math_number"> <field name="NUM">100</field> </block> </value> </block> <block type="math_random_int"> <value name="FROM"> <block type="math_number"> <field name="NUM">1</field> </block> </value> <value name="TO"> <block type="math_number"> <field name="NUM">100</field> </block> </value> </block> <block type="math_random_float"></block> </category> <category name="Lists"> <block type="lists_create_empty"></block> <block type="lists_create_with"></block> <block type="lists_repeat"> <value name="NUM"> <block type="math_number"> <field name="NUM">5</field> </block> </value> </block> <block type="lists_length"></block> <block type="lists_isEmpty"></block> <block type="lists_indexOf"></block> <block type="lists_getIndex"></block> <block type="lists_setIndex"></block> </category> <category name="Variables" custom="VARIABLE"></category> <category name="Functions" custom="PROCEDURE"></category> <sep></sep> <category name="Library" expanded="true"> <category name="Randomize"> <block type="procedures_defnoreturn"> <mutation> <arg name="list"></arg> </mutation> <field name="NAME">randomize</field> <statement name="STACK"> <block type="controls_for" inline="true"> <field name="VAR">x</field> <value name="FROM"> <block type="math_number"> <field name="NUM">1</field> </block> </value> <value name="TO"> <block type="lists_length" inline="false"> <value name="VALUE"> <block type="variables_get"> <field name="VAR">list</field> </block> </value> </block> </value> <value name="BY"> <block type="math_number"> <field name="NUM">1</field> </block> </value> <statement name="DO"> <block type="variables_set" inline="false"> <field name="VAR">y</field> <value name="VALUE"> <block type="math_random_int" inline="true"> <value name="FROM"> <block type="math_number"> <field name="NUM">1</field> </block> </value> <value name="TO"> <block type="lists_length" inline="false"> <value name="VALUE"> <block type="variables_get"> <field name="VAR">list</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" inline="false"> <field name="VAR">temp</field> <value name="VALUE"> <block type="lists_getIndex" inline="true"> <mutation statement="false" at="true"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="AT"> <block type="variables_get"> <field name="VAR">y</field> </block> </value> <value name="VALUE"> <block type="variables_get"> <field name="VAR">list</field> </block> </value> </block> </value> <next> <block type="lists_setIndex" inline="false"> <value name="AT"> <block type="variables_get"> <field name="VAR">y</field> </block> </value> <value name="LIST"> <block type="variables_get"> <field name="VAR">list</field> </block> </value> <value name="TO"> <block type="lists_getIndex" inline="true"> <mutation statement="false" at="true"></mutation> <field name="MODE">GET</field> <field name="WHERE">FROM_START</field> <value name="AT"> <block type="variables_get"> <field name="VAR">x</field> </block> </value> <value name="VALUE"> <block type="variables_get"> <field name="VAR">list</field> </block> </value> </block> </value> <next> <block type="lists_setIndex" inline="false"> <value name="AT"> <block type="variables_get"> <field name="VAR">x</field> </block> </value> <value name="LIST"> <block type="variables_get"> <field name="VAR">list</field> </block> </value> <value name="TO"> <block type="variables_get"> <field name="VAR">temp</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </category> <category name="Jabberwocky"> <block type="text_print"> <value name="TEXT"> <block type="text"> <field name="TEXT">'Twas brillig, and the slithy toves</field> </block> </value> <next> <block type="text_print"> <value name="TEXT"> <block type="text"> <field name="TEXT"> Did gyre and gimble in the wabe:</field> </block> </value> <next> <block type="text_print"> <value name="TEXT"> <block type="text"> <field name="TEXT">All mimsy were the borogroves,</field> </block> </value> <next> <block type="text_print"> <value name="TEXT"> <block type="text"> <field name="TEXT"> And the mome raths outgrabe.</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> <block type="text_print"> <value name="TEXT"> <block type="text"> <field name="TEXT">"Beware the Jabberwock, my son!</field> </block> </value> <next> <block type="text_print"> <value name="TEXT"> <block type="text"> <field name="TEXT"> The jaws that bite, the claws that catch!</field> </block> </value> <next> <block type="text_print"> <value name="TEXT"> <block type="text"> <field name="TEXT">Beware the Jubjub bird, and shun</field> </block> </value> <next> <block type="text_print"> <value name="TEXT"> <block type="text"> <field name="TEXT"> The frumious Bandersnatch!"</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </category> </category> </xml> <script> var workspace = Blockly.inject('blocklyDiv', {media: '../../media/', toolbox: document.getElementById('toolbox')}); </script> </body> </html>
ChildrenOfUr/Ilmenscript
web/blockly/demos/toolbox/index.html
HTML
bsd-3-clause
12,710
<html> <head> <title>{{.Title}}</title> <link rel="stylesheet" type="text/css" href="res/style.css" /> <link rel="icon" type="image/ico" href="res/favicon.ico" /> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script> <script type="text/javascript" src="res/third_party/jquery.tablednd.js"></script> <script type="text/javascript"> "use strict"; var issues = {{.BugsJson}}; var edited = {}; function edit_label(bug_id, old_value, new_value) { console.log("issue[" + bug_id + "]: " + old_value + " -> " + new_value); if (!edited[bug_id]) { edited[bug_id] = JSON.parse(JSON.stringify(issues[bug_id])); } var old_index = edited[bug_id]["labels"].indexOf(old_value); if (old_index > -1) { edited[bug_id]["labels"][old_index] = new_value; } else { edited[bug_id]["labels"].push(new_value) } if (JSON.stringify(issues[bug_id]) == JSON.stringify(edited[bug_id])) { console.log("Not changing " + bug_id); delete edited[bug_id] } document.getElementById("all_edits").value = JSON.stringify(edited); } </script> </head> <body> <h1>BugChomper</h1> <form method="post"> <input type="hidden" name="all_edits" id="all_edits" value="{}" /> <input type="submit" value="Submit changes to issue tracker" /> </form> <table id="buglist"> <thead> <tr id="table_header" class="nodrag tr_head"> <td colspan=3><h2>Open bugs for {{.User}}</h2></td> </tr> <tr id="table_subheader" class="nodrag tr_head"> <td>ID</td> <td>Priority</td> <td>Title</td> </tr> </thead> <tbody> {{with $all_data := .}} {{range $index, $priority := index $all_data.Priorities}} <tr id="priority_{{$priority}}" class="{{if eq $index 0}}nodrop{{else}}{{end}} nodrag priority_row priority_{{$priority}}" > <td colspan=3 class="priority_td">Priority {{$priority}}</td> </tr> {{range $index, $bug := index $all_data.BugsByPriority $priority}} <tr id="{{$bug.Id}}" class="priority_{{$priority}}"> <td id="id_{{$bug.Id}}"> <a href="{{$bug.URL}}" target="_blank">{{$bug.Id}}</a> </td> <td id="priority_{{$bug.Id}}">{{$priority}}</td> <td id="title_{{$bug.Id}}">{{$bug.Title}}</td> </tr> {{end}} {{end}} {{end}} </tbody> </table> <script type="text/javascript"> $(document).ready(function() { $("#buglist").tableDnD({ onDrop: function(table, dropped_row) { var id = dropped_row.id; var css_priority_prefix = "priority_" var new_priority = null; var dropped_index = null; var thead_rows = table.tHead.rows; var tbody_rows = table.tBodies[0].rows; var all_rows = []; for (var i = 0; i < thead_rows.length; i++) { all_rows.push(thead_rows[i]); } for (var i = 0; i < tbody_rows.length; i++) { all_rows.push(tbody_rows[i]); } for (var i = 0; i < all_rows.length; i++) { if (all_rows[i].id) { if (all_rows[i].id.indexOf(css_priority_prefix) == 0) { new_priority = all_rows[i].id.substring(css_priority_prefix.length); } if (all_rows[i].id == id) { break; } } else { console.warn("No id for:"); console.warn(all_rows[i]); } } if (new_priority) { priority_td = document.getElementById(css_priority_prefix + id); old_priority = priority_td.innerHTML; if (priority_td && new_priority != old_priority) { priority_td.innerHTML = new_priority; document.getElementById(id).className = css_priority_prefix + new_priority; edit_label(id, "{{.PriorityPrefix}}" + old_priority, "{{.PriorityPrefix}}" + new_priority); } } } }); }); </script> </body> </html>
ench0/external_skia
tools/bug_chomper/templates/bug_chomper.html
HTML
bsd-3-clause
4,205
<html> <head> <title>Tremor - function - ov_test_open</title> <link rel=stylesheet href="style.css" type="text/css"> </head> <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff"> <table border=0 width=100%> <tr> <td><p class=tiny>Tremor documentation</p></td> <td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td> </tr> </table> <h1>ov_test_open</h1> <p><i>declared in "ivorbisfile.h";</i></p> <p> Finish opening a file partially opened with <a href="ov_test.html">ov_test()</a> or <a href="ov_test_callbacks.html">ov_test_callbacks()</a>. <p> <table border=0 color=black cellspacing=0 cellpadding=7> <tr bgcolor=#cccccc> <td> <pre><b> int ov_test_open(<a href="OggVorbis_File.html">OggVorbis_File</a> *vf); </b></pre> </td> </tr> </table> <h3>Parameters</h3> <dl> <dt><i>vf</i></dt> <dd>A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisidec functions. Once this has been called, the same <tt>OggVorbis_File</tt> struct should be passed to all the libvorbisidec functions.</dd> </dl> <h3>Return Values</h3> <blockquote> <li> 0 for success</li> <li>less than zero for failure:</li> <ul> <li>OV_EREAD - A read from media returned an error.</li> <li>OV_ENOTVORBIS - Bitstream is not Vorbis data.</li> <li>OV_EVERSION - Vorbis version mismatch.</li> <li>OV_EBADHEADER - Invalid Vorbis bitstream header.</li> <li>OV_EFAULT - Internal logic fault; indicates a bug or heap/stack corruption.</li> </ul> </blockquote> <p> <br><br> <hr noshade> <table border=0 width=100%> <tr valign=top> <td><p class=tiny>copyright &copy; 2002 Xiph.org</p></td> <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></p></td> </tr><tr> <td><p class=tiny>Tremor documentation</p></td> <td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td> </tr> </table> </body> </html>
kyleconroy/golds
vendor/sdl2_mixer/external/libvorbisidec-1.2.1/doc/ov_test_open.html
HTML
mit
1,901
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-example6-debug</title> <script src="../../../angular.js"></script> <script src="app.js"></script> </head> <body ng-app="spicyApp1"> <div ng-controller="SpicyController"> <button ng-click="chiliSpicy()">Chili</button> <button ng-click="jalapenoSpicy()">Jalapeño</button> <p>The food is {{spice}} spicy!</p> </div> </body> </html>
marcoR80/simple-app-mobile
www/vendor/angular-1.3.9/docs/examples/example-example6/index-debug.html
HTML
mit
441
<!DOCTYPE html> <html class="reftest-wait"> <title>WebVTT rendering, ::cue(c), outline properties</title> <link rel="match" href="class_outline_properties-ref.html"> <style> html { overflow:hidden } body { margin:0 } ::cue(c) { font-family: sans-serif; outline-style: solid; outline-color: #00f; outline-width: 2px; } </style> <script src="/common/reftest-wait.js"></script> <video width="320" height="180" autoplay onplaying="this.onplaying = null; this.pause(); takeScreenshot();"> <source src="/media/white.webm" type="video/webm"> <source src="/media/white.mp4" type="video/mp4"> <track src="../../../support/test_class.vtt"> <script> document.getElementsByTagName('track')[0].track.mode = 'showing'; </script> </video> </html>
scheib/chromium
third_party/blink/web_tests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/class_object/class_outline_properties.html
HTML
bsd-3-clause
772
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>testing - The Go Programming Language</title> <link type="text/css" rel="stylesheet" href="/doc/style.css"> <script type="text/javascript" src="/doc/godocs.js"></script> <link rel="search" type="application/opensearchdescription+xml" title="godoc" href="/opensearch.xml" /> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(["_setAccount", "UA-11222381-2"]); _gaq.push(["_trackPageview"]); </script> </head> <body> <div id="topbar"><div class="container wide"> <form method="GET" action="/search"> <div id="menu"> <a href="/doc/">Documents</a> <a href="/ref/">References</a> <a href="/pkg/">Packages</a> <a href="/project/">The Project</a> <a href="/help/">Help</a> <input type="text" id="search" name="q" class="inactive" value="Search"> </div> <div id="heading"><a href="/">The Go Programming Language</a></div> </form> </div></div> <div id="page" class="wide"> <div id="plusone"><g:plusone size="small" annotation="none"></g:plusone></div> <h1>Package testing</h1> <div id="nav"></div> <!-- Copyright 2009 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <div id="short-nav"> <dl> <dd><code>import "testing"</code></dd> </dl> <dl> <dd><a href="#overview" class="overviewLink">Overview</a></dd> <dd><a href="#index">Index</a></dd> <dd><a href="#subdirectories">Subdirectories</a></dd> </dl> </div> <!-- The package's Name is printed as title by the top-level template --> <div id="overview" class="toggleVisible"> <div class="collapsed"> <h2 class="toggleButton" title="Click to show Overview section">Overview ▹</h2> </div> <div class="expanded"> <h2 class="toggleButton" title="Click to hide Overview section">Overview ▾</h2> <p> Package testing provides support for automated testing of Go packages. It is intended to be used in concert with the &ldquo;go test&rdquo; command, which automates execution of any function of the form </p> <pre>func TestXxx(*testing.T) </pre> <p> where Xxx can be any alphanumeric string (but the first letter must not be in [a-z]) and serves to identify the test routine. These TestXxx routines should be declared within the package they are testing. </p> <p> Functions of the form </p> <pre>func BenchmarkXxx(*testing.B) </pre> <p> are considered benchmarks, and are executed by the &#34;go test&#34; command when the -test.bench flag is provided. </p> <p> A sample benchmark function looks like this: </p> <pre>func BenchmarkHello(b *testing.B) { for i := 0; i &lt; b.N; i++ { fmt.Sprintf(&#34;hello&#34;) } } </pre> <p> The benchmark package will vary b.N until the benchmark function lasts long enough to be timed reliably. The output </p> <pre>testing.BenchmarkHello 10000000 282 ns/op </pre> <p> means that the loop ran 10000000 times at a speed of 282 ns per loop. </p> <p> If a benchmark needs some expensive setup before running, the timer may be stopped: </p> <pre>func BenchmarkBigLen(b *testing.B) { b.StopTimer() big := NewBig() b.StartTimer() for i := 0; i &lt; b.N; i++ { big.Len() } } </pre> <p> The package also runs and verifies example code. Example functions may include a concluding comment that begins with &#34;Output:&#34; and is compared with the standard output of the function when the tests are run, as in these examples of an example: </p> <pre>func ExampleHello() { fmt.Println(&#34;hello&#34;) // Output: hello } func ExampleSalutations() { fmt.Println(&#34;hello, and&#34;) fmt.Println(&#34;goodbye&#34;) // Output: // hello, and // goodbye } </pre> <p> Example functions without output comments are compiled but not executed. </p> <p> The naming convention to declare examples for a function F, a type T and method M on type T are: </p> <pre>func ExampleF() { ... } func ExampleT() { ... } func ExampleT_M() { ... } </pre> <p> Multiple example functions for a type/function/method may be provided by appending a distinct suffix to the name. The suffix must start with a lower-case letter. </p> <pre>func ExampleF_suffix() { ... } func ExampleT_suffix() { ... } func ExampleT_M_suffix() { ... } </pre> <p> The entire test file is presented as the example when it contains a single example function, at least one other function, type, variable, or constant declaration, and no test or benchmark functions. </p> </div> </div> <h2 id="index">Index</h2> <!-- Table of contents for API; must be named manual-nav to turn off auto nav. --> <div id="manual-nav"> <dl> <dd><a href="#Main">func Main(matchString func(pat, str string) (bool, error), tests []InternalTest, benchmarks []InternalBenchmark, examples []InternalExample)</a></dd> <dd><a href="#RunBenchmarks">func RunBenchmarks(matchString func(pat, str string) (bool, error), benchmarks []InternalBenchmark)</a></dd> <dd><a href="#RunExamples">func RunExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ok bool)</a></dd> <dd><a href="#RunTests">func RunTests(matchString func(pat, str string) (bool, error), tests []InternalTest) (ok bool)</a></dd> <dd><a href="#Short">func Short() bool</a></dd> <dd><a href="#B">type B</a></dd> <dd>&nbsp; &nbsp; <a href="#B.Error">func (c *B) Error(args ...interface{})</a></dd> <dd>&nbsp; &nbsp; <a href="#B.Errorf">func (c *B) Errorf(format string, args ...interface{})</a></dd> <dd>&nbsp; &nbsp; <a href="#B.Fail">func (c *B) Fail()</a></dd> <dd>&nbsp; &nbsp; <a href="#B.FailNow">func (c *B) FailNow()</a></dd> <dd>&nbsp; &nbsp; <a href="#B.Failed">func (c *B) Failed() bool</a></dd> <dd>&nbsp; &nbsp; <a href="#B.Fatal">func (c *B) Fatal(args ...interface{})</a></dd> <dd>&nbsp; &nbsp; <a href="#B.Fatalf">func (c *B) Fatalf(format string, args ...interface{})</a></dd> <dd>&nbsp; &nbsp; <a href="#B.Log">func (c *B) Log(args ...interface{})</a></dd> <dd>&nbsp; &nbsp; <a href="#B.Logf">func (c *B) Logf(format string, args ...interface{})</a></dd> <dd>&nbsp; &nbsp; <a href="#B.ResetTimer">func (b *B) ResetTimer()</a></dd> <dd>&nbsp; &nbsp; <a href="#B.SetBytes">func (b *B) SetBytes(n int64)</a></dd> <dd>&nbsp; &nbsp; <a href="#B.StartTimer">func (b *B) StartTimer()</a></dd> <dd>&nbsp; &nbsp; <a href="#B.StopTimer">func (b *B) StopTimer()</a></dd> <dd><a href="#BenchmarkResult">type BenchmarkResult</a></dd> <dd>&nbsp; &nbsp; <a href="#Benchmark">func Benchmark(f func(b *B)) BenchmarkResult</a></dd> <dd>&nbsp; &nbsp; <a href="#BenchmarkResult.NsPerOp">func (r BenchmarkResult) NsPerOp() int64</a></dd> <dd>&nbsp; &nbsp; <a href="#BenchmarkResult.String">func (r BenchmarkResult) String() string</a></dd> <dd><a href="#InternalBenchmark">type InternalBenchmark</a></dd> <dd><a href="#InternalExample">type InternalExample</a></dd> <dd><a href="#InternalTest">type InternalTest</a></dd> <dd><a href="#T">type T</a></dd> <dd>&nbsp; &nbsp; <a href="#T.Error">func (c *T) Error(args ...interface{})</a></dd> <dd>&nbsp; &nbsp; <a href="#T.Errorf">func (c *T) Errorf(format string, args ...interface{})</a></dd> <dd>&nbsp; &nbsp; <a href="#T.Fail">func (c *T) Fail()</a></dd> <dd>&nbsp; &nbsp; <a href="#T.FailNow">func (c *T) FailNow()</a></dd> <dd>&nbsp; &nbsp; <a href="#T.Failed">func (c *T) Failed() bool</a></dd> <dd>&nbsp; &nbsp; <a href="#T.Fatal">func (c *T) Fatal(args ...interface{})</a></dd> <dd>&nbsp; &nbsp; <a href="#T.Fatalf">func (c *T) Fatalf(format string, args ...interface{})</a></dd> <dd>&nbsp; &nbsp; <a href="#T.Log">func (c *T) Log(args ...interface{})</a></dd> <dd>&nbsp; &nbsp; <a href="#T.Logf">func (c *T) Logf(format string, args ...interface{})</a></dd> <dd>&nbsp; &nbsp; <a href="#T.Parallel">func (t *T) Parallel()</a></dd> </dl> <h4>Package files</h4> <p> <span style="font-size:90%"> <a href="/src/pkg/testing/benchmark.go">benchmark.go</a> <a href="/src/pkg/testing/example.go">example.go</a> <a href="/src/pkg/testing/testing.go">testing.go</a> </span> </p> <h2 id="Main">func <a href="/src/pkg/testing/testing.go?s=9750:9890#L268">Main</a></h2> <pre>func Main(matchString func(pat, str string) (bool, error), tests []InternalTest, benchmarks []InternalBenchmark, examples []InternalExample)</pre> <p> An internal function but exported because it is cross-package; part of the implementation of the &#34;go test&#34; command. </p> <h2 id="RunBenchmarks">func <a href="/src/pkg/testing/benchmark.go?s=5365:5464#L207">RunBenchmarks</a></h2> <pre>func RunBenchmarks(matchString func(pat, str string) (bool, error), benchmarks []InternalBenchmark)</pre> <p> An internal function but exported because it is cross-package; part of the implementation of the &#34;go test&#34; command. </p> <h2 id="RunExamples">func <a href="/src/pkg/testing/example.go?s=314:417#L12">RunExamples</a></h2> <pre>func RunExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ok bool)</pre> <h2 id="RunTests">func <a href="/src/pkg/testing/testing.go?s=10486:10580#L297">RunTests</a></h2> <pre>func RunTests(matchString func(pat, str string) (bool, error), tests []InternalTest) (ok bool)</pre> <h2 id="Short">func <a href="/src/pkg/testing/testing.go?s=4859:4876#L117">Short</a></h2> <pre>func Short() bool</pre> <p> Short reports whether the -test.short flag is set. </p> <h2 id="B">type <a href="/src/pkg/testing/benchmark.go?s=743:872#L17">B</a></h2> <pre>type B struct { N int <span class="comment">// contains filtered or unexported fields</span> }</pre> <p> B is a type passed to Benchmark functions to manage benchmark timing and to specify the number of iterations to run. </p> <h3 id="B.Error">func (*B) <a href="/src/pkg/testing/testing.go?s=8110:8153#L209">Error</a></h3> <pre>func (c *B) Error(args ...interface{})</pre> <p> Error is equivalent to Log() followed by Fail(). </p> <h3 id="B.Errorf">func (*B) <a href="/src/pkg/testing/testing.go?s=8253:8312#L215">Errorf</a></h3> <pre>func (c *B) Errorf(format string, args ...interface{})</pre> <p> Errorf is equivalent to Logf() followed by Fail(). </p> <h3 id="B.Fail">func (*B) <a href="/src/pkg/testing/testing.go?s=6270:6293#L163">Fail</a></h3> <pre>func (c *B) Fail()</pre> <p> Fail marks the function as having failed but continues execution. </p> <h3 id="B.FailNow">func (*B) <a href="/src/pkg/testing/testing.go?s=6548:6574#L170">FailNow</a></h3> <pre>func (c *B) FailNow()</pre> <p> FailNow marks the function as having failed and stops its execution. Execution will continue at the next test or benchmark. </p> <h3 id="B.Failed">func (*B) <a href="/src/pkg/testing/testing.go?s=6366:6396#L166">Failed</a></h3> <pre>func (c *B) Failed() bool</pre> <p> Failed returns whether the function has failed. </p> <h3 id="B.Fatal">func (*B) <a href="/src/pkg/testing/testing.go?s=8420:8463#L221">Fatal</a></h3> <pre>func (c *B) Fatal(args ...interface{})</pre> <p> Fatal is equivalent to Log() followed by FailNow(). </p> <h3 id="B.Fatalf">func (*B) <a href="/src/pkg/testing/testing.go?s=8569:8628#L227">Fatalf</a></h3> <pre>func (c *B) Fatalf(format string, args ...interface{})</pre> <p> Fatalf is equivalent to Logf() followed by FailNow(). </p> <h3 id="B.Log">func (*B) <a href="/src/pkg/testing/testing.go?s=7763:7804#L202">Log</a></h3> <pre>func (c *B) Log(args ...interface{})</pre> <p> Log formats its arguments using default formatting, analogous to Println(), and records the text in the error log. </p> <h3 id="B.Logf">func (*B) <a href="/src/pkg/testing/testing.go?s=7959:8016#L206">Logf</a></h3> <pre>func (c *B) Logf(format string, args ...interface{})</pre> <p> Logf formats its arguments according to the format, analogous to Printf(), and records the text in the error log. </p> <h3 id="B.ResetTimer">func (*B) <a href="/src/pkg/testing/benchmark.go?s=1503:1527#L48">ResetTimer</a></h3> <pre>func (b *B) ResetTimer()</pre> <p> ResetTimer sets the elapsed benchmark time to zero. It does not affect whether the timer is running. </p> <h3 id="B.SetBytes">func (*B) <a href="/src/pkg/testing/benchmark.go?s=1728:1757#L57">SetBytes</a></h3> <pre>func (b *B) SetBytes(n int64)</pre> <p> SetBytes records the number of bytes processed in a single operation. If this is called, the benchmark will report ns/op and MB/s. </p> <h3 id="B.StartTimer">func (*B) <a href="/src/pkg/testing/benchmark.go?s=1047:1071#L29">StartTimer</a></h3> <pre>func (b *B) StartTimer()</pre> <p> StartTimer starts timing a test. This function is called automatically before a benchmark starts, but it can also used to resume timing after a call to StopTimer. </p> <h3 id="B.StopTimer">func (*B) <a href="/src/pkg/testing/benchmark.go?s=1288:1311#L39">StopTimer</a></h3> <pre>func (b *B) StopTimer()</pre> <p> StopTimer stops timing a test. This can be used to pause the timer while performing complex initialization that you don&#39;t want to measure. </p> <h2 id="BenchmarkResult">type <a href="/src/pkg/testing/benchmark.go?s=4206:4391#L165">BenchmarkResult</a></h2> <pre>type BenchmarkResult struct { N int <span class="comment">// The number of iterations.</span> T time.Duration <span class="comment">// The total time taken.</span> Bytes int64 <span class="comment">// Bytes processed in one iteration.</span> }</pre> <p> The results of a benchmark run. </p> <h3 id="Benchmark">func <a href="/src/pkg/testing/benchmark.go?s=7545:7589#L275">Benchmark</a></h3> <pre>func Benchmark(f func(b *B)) BenchmarkResult</pre> <p> Benchmark benchmarks a single function. Useful for creating custom benchmarks that do not use the &#34;go test&#34; command. </p> <h3 id="BenchmarkResult.NsPerOp">func (BenchmarkResult) <a href="/src/pkg/testing/benchmark.go?s=4393:4433#L171">NsPerOp</a></h3> <pre>func (r BenchmarkResult) NsPerOp() int64</pre> <h3 id="BenchmarkResult.String">func (BenchmarkResult) <a href="/src/pkg/testing/benchmark.go?s=4677:4717#L185">String</a></h3> <pre>func (r BenchmarkResult) String() string</pre> <h2 id="InternalBenchmark">type <a href="/src/pkg/testing/benchmark.go?s=555:618#L10">InternalBenchmark</a></h2> <pre>type InternalBenchmark struct { Name string F func(b *B) }</pre> <p> An internal type but exported because it is cross-package; part of the implementation of the &#34;go test&#34; command. </p> <h2 id="InternalExample">type <a href="/src/pkg/testing/example.go?s=236:312#L6">InternalExample</a></h2> <pre>type InternalExample struct { Name string F func() Output string }</pre> <h2 id="InternalTest">type <a href="/src/pkg/testing/testing.go?s=9065:9121#L241">InternalTest</a></h2> <pre>type InternalTest struct { Name string F func(*T) }</pre> <p> An internal type but exported because it is cross-package; part of the implementation of the &#34;go test&#34; command. </p> <h2 id="T">type <a href="/src/pkg/testing/testing.go?s=6070:6199#L156">T</a></h2> <pre>type T struct { <span class="comment">// contains filtered or unexported fields</span> }</pre> <p> T is a type passed to Test functions to manage test state and support formatted test logs. Logs are accumulated during execution and dumped to standard error when done. </p> <h3 id="T.Error">func (*T) <a href="/src/pkg/testing/testing.go?s=8110:8153#L209">Error</a></h3> <pre>func (c *T) Error(args ...interface{})</pre> <p> Error is equivalent to Log() followed by Fail(). </p> <h3 id="T.Errorf">func (*T) <a href="/src/pkg/testing/testing.go?s=8253:8312#L215">Errorf</a></h3> <pre>func (c *T) Errorf(format string, args ...interface{})</pre> <p> Errorf is equivalent to Logf() followed by Fail(). </p> <h3 id="T.Fail">func (*T) <a href="/src/pkg/testing/testing.go?s=6270:6293#L163">Fail</a></h3> <pre>func (c *T) Fail()</pre> <p> Fail marks the function as having failed but continues execution. </p> <h3 id="T.FailNow">func (*T) <a href="/src/pkg/testing/testing.go?s=6548:6574#L170">FailNow</a></h3> <pre>func (c *T) FailNow()</pre> <p> FailNow marks the function as having failed and stops its execution. Execution will continue at the next test or benchmark. </p> <h3 id="T.Failed">func (*T) <a href="/src/pkg/testing/testing.go?s=6366:6396#L166">Failed</a></h3> <pre>func (c *T) Failed() bool</pre> <p> Failed returns whether the function has failed. </p> <h3 id="T.Fatal">func (*T) <a href="/src/pkg/testing/testing.go?s=8420:8463#L221">Fatal</a></h3> <pre>func (c *T) Fatal(args ...interface{})</pre> <p> Fatal is equivalent to Log() followed by FailNow(). </p> <h3 id="T.Fatalf">func (*T) <a href="/src/pkg/testing/testing.go?s=8569:8628#L227">Fatalf</a></h3> <pre>func (c *T) Fatalf(format string, args ...interface{})</pre> <p> Fatalf is equivalent to Logf() followed by FailNow(). </p> <h3 id="T.Log">func (*T) <a href="/src/pkg/testing/testing.go?s=7763:7804#L202">Log</a></h3> <pre>func (c *T) Log(args ...interface{})</pre> <p> Log formats its arguments using default formatting, analogous to Println(), and records the text in the error log. </p> <h3 id="T.Logf">func (*T) <a href="/src/pkg/testing/testing.go?s=7959:8016#L206">Logf</a></h3> <pre>func (c *T) Logf(format string, args ...interface{})</pre> <p> Logf formats its arguments according to the format, analogous to Printf(), and records the text in the error log. </p> <h3 id="T.Parallel">func (*T) <a href="/src/pkg/testing/testing.go?s=8809:8831#L234">Parallel</a></h3> <pre>func (t *T) Parallel()</pre> <p> Parallel signals that this test is to be run in parallel with (and only with) other parallel tests in this CPU group. </p> </div> <h2 id="subdirectories">Subdirectories</h2> <table class="dir"> <tr> <th>Name</th> <th>&nbsp;&nbsp;&nbsp;&nbsp;</th> <th style="text-align: left; width: auto">Synopsis</th> </tr> <tr> <td><a href="..">..</a></td> </tr> <tr> <td class="name"><a href="iotest">iotest</a></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td style="width: auto">Package iotest implements Readers and Writers useful mainly for testing.</td> </tr> <tr> <td class="name"><a href="quick">quick</a></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td style="width: auto">Package quick implements utility functions to help with black box testing.</td> </tr> </table> </div> <div id="footer"> Build version go1.0.2.<br> Except as <a href="http://code.google.com/policies.html#restrictions">noted</a>, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code is licensed under a <a href="/LICENSE">BSD license</a>.<br> <a href="/doc/tos.html">Terms of Service</a> | <a href="http://www.google.com/intl/en/privacy/privacy-policy.html">Privacy Policy</a> </div> <script type="text/javascript"> (function() { var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true; ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s); })(); </script> </body> <script type="text/javascript"> (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script> </html>
cmars/ltt
vendor/src/github.com/PuerkitoBio/goquery/testdata/gotesting.html
HTML
mit
21,397
{% load rest_framework %} <fieldset> {% if field.label %} <div class="form-group" style="border-bottom: 1px solid #e5e5e5"> <legend class="control-label col-sm-2 {% if style.hide_label %}sr-only{% endif %}" style="border-bottom: 0"> {{ field.label }} </legend> </div> {% endif %} <p>Lists are not currently supported in HTML input.</p> </fieldset>
OpenWinCon/OpenWinNet
web-gui/myvenv/lib/python3.4/site-packages/rest_framework/templates/rest_framework/horizontal/list_fieldset.html
HTML
apache-2.0
384
<html> <head> <script src="npapi.js"></script> <script> function DeletePluginWithinScript() { var plugin_div = document.getElementById("PluginDiv"); plugin_div.innerHTML = "Object Deleted"; onSuccess("execute_script_delete_in_paint", 1); } </script> </head> <body> <div id="statusPanel" style="border: 1px solid red; width: 100%"> Test running.... </div> NPObject Proxy Test<p> Tests the case where a plugin instance is deleted in the context of a synchronous paint. <DIV ID=PluginDiv> <embed type="application/vnd.npapi-test" src="foo" name="execute_script_delete_in_paint" id="1" mode="np_embed" > </DIV> <script> var height = document.body.offsetHeight; </script> </body> </html>
plxaye/chromium
src/content/test/data/npapi/execute_script_delete_in_paint.html
HTML
apache-2.0
709
<p>Here&#39;s a simple block:</p> <div> foo </div> <p>This should be a code block, though:</p> <pre><code>&lt;div&gt; foo &lt;/div&gt; </code></pre> <p>As should this:</p> <pre><code>&lt;div&gt;foo&lt;/div&gt; </code></pre> <p>Now, nested:</p> <div> <div> <div> foo </div> </div> </div> <p>This should just be an HTML comment:</p> <!-- Comment --> <p>Multiline:</p> <!-- Blah Blah --> <p>Code block:</p> <pre><code>&lt;!-- Comment --&gt; </code></pre> <p>Just plain comment, with trailing spaces on the line:</p> <!-- foo --> <p>Code:</p> <pre><code>&lt;hr&gt; </code></pre> <p>Hr&#39;s:</p> <hr> <hr> <hr> <hr> <hr> <hr> <hr class="foo" id="bar" /> <hr class="foo" id="bar"/> <hr class="foo" id="bar" >
puyanLiu/LPYFramework
前端练习/11面向对象/document/14 ES6和面向对象/es6入门 浏览器版本/app/bower_components/marked/test/tests/inline_html_simple.html
HTML
apache-2.0
784
<body> <a id="link" href="joint-session-history-grandchild2.html">Grandchild1</a>. </body> <script> window.onload = function() { document.getElementById("link").click(); } </script>
scheib/chromium
third_party/blink/web_tests/external/wpt/html/browsers/history/joint-session-history/joint-session-history-grandchild1.html
HTML
bsd-3-clause
192
<!DOCTYPE html> <meta charset="utf-8"> <title>brand-checks.js dedicated worker wrapper file</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script> 'use strict'; fetch_tests_from_worker(new Worker('brand-checks.js')); </script>
youtube/cobalt
third_party/web_platform_tests/streams/writable-streams/brand-checks.dedicatedworker.html
HTML
bsd-3-clause
297
<!DOCTYPE html> <html ng-app="ionic"> <head> <script src="../../dist/js/ionic.bundle.js"></script> <meta charset="utf-8"> <title>Buttons</title> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"> <link href="../../dist/css/ionic.css" rel="stylesheet"> <style> body { position: absolute;; } </style> </head> <body> <header class="bar bar-header bar-dark"> <h1 class="title">Buttons: pseudo and &lt;i&gt; icon compare</h1> </header> <div class="content has-header"> <button class="button icon-left ion-home">Default</button> .button.icon-left.ion-home<br> <button class="button"><i class="icon ion-home"></i> Default</button> .button > .icon.ion-home<br> <button class="button icon icon-right ion-home">Default</button> .button.icon-right.ion-home<br> <button class="button">Default <i class="icon ion-home"></i></button> .button > .icon.ion-home<br> <button class="button icon-left ion-home">Default</button> .button.icon-left.ion-home<br> <button class="button"><i class="icon ion-home"></i> Default</button> .button > .icon.ion-home<br> <button class="button button-small icon icon-left ion-home">Small</button> .button.button-small.icon-left.ion-home<br> <button class="button button-small"><i class="icon ion-home"></i> Small</button> .button.button-small > .icon.ion-home<br> <button class="button button-large icon icon-left ion-home">Large</button> .button.button-large.icon-left.ion-home<br> <button class="button button-large"><i class="icon ion-home"></i> Large</button> .button.button-large > .icon.ion-home<br> <button class="button icon ion-home"></button> .button.icon.ion-home<br> <button class="button"><i class="icon ion-home"></i></button> .button > .icon.ion-home<br> <button class="button button-icon icon ion-home"></button> .button.button-icon.ion-home<br> <button class="button button-icon"><i class="icon ion-home"></i></button> .button > .button-icon.ion-home<br> </div> </body> </html>
Testoni/ionic
test/css/buttons-pseudo-icon-compare.html
HTML
mit
2,136
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-algebra-tactics: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet"> <link href="../../../../../bootstrap-custom.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <script src="../../../../../moment.min.js"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="../..">clean / released</a></li> <li class="active"><a href="">8.6 / mathcomp-algebra-tactics - 0.2.0</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> mathcomp-algebra-tactics <small> 0.2.0 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2022-01-18 12:47:20 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-18 12:47:20 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-num base Num library distributed with the OCaml compiler base-threads base base-unix base camlp5 7.14 Preprocessor-pretty-printer of OCaml conf-findutils 1 Virtual package relying on findutils conf-perl 1 Virtual package relying on perl coq 8.6 Formal proof management system num 0 The Num library for arbitrary-precision integer and rational arithmetic ocaml 4.04.2 The OCaml compiler (virtual package) ocaml-base-compiler 4.04.2 Official 4.04.2 release ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.1 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;[email protected]&quot; homepage: &quot;https://github.com/math-comp/algebra-tactics&quot; dev-repo: &quot;git+https://github.com/math-comp/algebra-tactics.git&quot; bug-reports: &quot;https://github.com/math-comp/algebra-tactics/issues&quot; license: &quot;CECILL-B&quot; synopsis: &quot;Ring and field tactics for Mathematical Components&quot; description: &quot;&quot;&quot; This library provides `ring` and `field` tactics for Mathematical Components, that work with any `comRingType` and `fieldType` instances, respectively. Their instance resolution is done through canonical structure inference. Therefore, they work with abstract rings and do not require `Add Ring` and `Add Field` commands. Another key feature of this library is that they automatically push down ring morphisms and additive functions to leaves of ring/field expressions before normalization to the Horner form.&quot;&quot;&quot; build: [make &quot;-j%{jobs}%&quot; ] install: [make &quot;install&quot;] depends: [ &quot;coq&quot; {(&gt;= &quot;8.13&quot; &amp; &lt; &quot;8.16~&quot;)} &quot;coq-mathcomp-algebra&quot; {(&gt;= &quot;1.12&quot; &amp; &lt; &quot;1.14~&quot;)} &quot;coq-mathcomp-zify&quot; {(&gt;= &quot;1.1.0&quot;)} &quot;coq-elpi&quot; {(&gt;= &quot;1.10.1&quot;)} ] tags: [ &quot;logpath:mathcomp.algebra_tactics&quot; ] authors: [ &quot;Kazuhiko Sakaguchi&quot; ] url { src: &quot;https://github.com/math-comp/algebra-tactics/archive/refs/tags/0.2.0.tar.gz&quot; checksum: &quot;sha256=940484199a317bb325aed7a12ae96b958dddab34a66df12aeeda93d6e34cc13e&quot; } </pre> <h2>Lint</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Dry install 🏜️</h2> <p>Dry install with the current Coq version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam install -y --show-action coq-mathcomp-algebra-tactics.0.2.0 coq.8.6</code></dd> <dt>Return code</dt> <dd>5120</dd> <dt>Output</dt> <dd><pre>[NOTE] Package coq is already installed (current version is 8.6). The following dependencies couldn&#39;t be met: - coq-mathcomp-algebra-tactics -&gt; coq &gt;= 8.13 -&gt; ocaml &gt;= 4.05.0 base of this switch (use `--unlock-base&#39; to force) No solution found, exiting </pre></dd> </dl> <p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-mathcomp-algebra-tactics.0.2.0</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Install dependencies</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Install 🚀</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Installation size</h2> <p>No files were installed.</p> <h2>Uninstall 🧹</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Missing removes</dt> <dd> none </dd> <dt>Wrong removes</dt> <dd> none </dd> </dl> </div> </div> </div> <hr/> <div class="footer"> <p class="text-center"> Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣 </p> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="../../../../../bootstrap.min.js"></script> </body> </html>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.04.2-2.0.5/released/8.6/mathcomp-algebra-tactics/0.2.0.html
HTML
mit
7,482
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>gappa: 1 m 11 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet"> <link href="../../../../../bootstrap-custom.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <script src="../../../../../moment.min.js"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="../..">clean / released</a></li> <li class="active"><a href="">8.12.1 / gappa - 1.4.4</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> gappa <small> 1.4.4 <span class="label label-success">1 m 11 s 🏆</span> </small> </h1> <p>📅 <em><script>document.write(moment("2021-11-05 05:36:06 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-11-05 05:36:06 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base conf-findutils 1 Virtual package relying on findutils coq 8.12.1 Formal proof management system num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.07.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.07.1 Official release 4.07.1 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.1 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;[email protected]&quot; homepage: &quot;https://gappa.gitlabpages.inria.fr/&quot; dev-repo: &quot;git+https://gitlab.inria.fr/gappa/coq.git&quot; bug-reports: &quot;https://gitlab.inria.fr/gappa/coq/issues&quot; license: &quot;LGPL-3.0-or-later&quot; patches: [ &quot;remake.patch&quot; ] build: [ [&quot;autoconf&quot;] {dev} [&quot;./configure&quot;] [&quot;./remake&quot; &quot;-j%{jobs}%&quot;] ] install: [&quot;./remake&quot; &quot;install&quot;] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.8.1&quot; &amp; &lt; &quot;8.13~&quot;} &quot;coq-flocq&quot; {&gt;= &quot;3.0&quot;} &quot;conf-autoconf&quot; {build &amp; dev} (&quot;conf-g++&quot; {build} | &quot;conf-clang&quot; {build}) ] tags: [ &quot;keyword:floating-point arithmetic&quot; &quot;keyword:interval arithmetic&quot; &quot;keyword:decision procedure&quot; &quot;category:Computer Science/Decision Procedures and Certified Algorithms/Decision procedures&quot; &quot;logpath:Gappa&quot; &quot;date:2020-06-13&quot; ] authors: [ &quot;Guillaume Melquiond &lt;[email protected]&gt;&quot; ] synopsis: &quot;A Coq tactic for discharging goals about floating-point arithmetic and round-off errors using the Gappa prover&quot; url { src: &quot;https://gappa.gitlabpages.inria.fr/releases/gappalib-coq-1.4.4.tar.gz&quot; checksum: &quot;sha512=910cb7d8f084fc93a8e59c2792093f252f1c8e9f7b63aa408c03de41dced1ff64b4cf2c9ee9610729f7885bdf42dd68c85a9a844c63781ba9fe8cfdfc5192665&quot; } </pre> <h2>Lint</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Dry install 🏜️</h2> <p>Dry install with the current Coq version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam install -y --show-action coq-gappa.1.4.4 coq.8.12.1</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Install dependencies</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-gappa.1.4.4 coq.8.12.1</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>6 m 11 s</dd> </dl> <h2>Install 🚀</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-gappa.1.4.4 coq.8.12.1</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>1 m 11 s</dd> </dl> <h2>Installation size</h2> <p>Total: 2 M</p> <ul> <li>560 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_tactic.vo</code></li> <li>296 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_tree.vo</code></li> <li>186 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/gappatac.cmxs</code></li> <li>174 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_float.vo</code></li> <li>111 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_round.vo</code></li> <li>103 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_pred_rel.vo</code></li> <li>96 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_rewriting.vo</code></li> <li>94 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_pred_bnd.vo</code></li> <li>89 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_real.vo</code></li> <li>87 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_pred_fixflt.vo</code></li> <li>71 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_dyadic.vo</code></li> <li>70 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_pred_abs.vo</code></li> <li>60 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_fixed.vo</code></li> <li>55 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_round_def.vo</code></li> <li>53 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_decimal.vo</code></li> <li>53 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_round_aux.vo</code></li> <li>50 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_user.vo</code></li> <li>49 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_definitions.vo</code></li> <li>46 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_pred_nzr.vo</code></li> <li>45 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_library.vo</code></li> <li>44 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_common.vo</code></li> <li>40 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/gappatac.cmo</code></li> <li>8 K <code>../ocaml-base-compiler.4.07.1/lib/coq/user-contrib/Gappa/Gappa_obfuscate.vo</code></li> </ul> <h2>Uninstall 🧹</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam remove -y coq-gappa.1.4.4</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Missing removes</dt> <dd> none </dd> <dt>Wrong removes</dt> <dd> none </dd> </dl> </div> </div> </div> <hr/> <div class="footer"> <p class="text-center"> Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣 </p> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="../../../../../bootstrap.min.js"></script> </body> </html>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/released/8.12.1/gappa/1.4.4.html
HTML
mit
9,574
<head> <html xmlns="http://www.w3.org/1999/xhtml" lang="zh-cmn-Hans" xml:lang="zh-cmn-Hans"> <meta charset="utf-8"> <meta name="X-UA-Compatible" content="IE=edge"> <meta name="content-language" content="zh"> <meta name="Content-Security-Policy" content=""> <meta name="viewport" content="width=device-width initial-scale=1"> <title> {% if page.title %} {{ page.title }} | {{ site.title }} {% elsif post.title %} {{ post.title }} | {{ site.title }} {% else %} {{ site.title }} | {{ site.tagline }} {% endif %} </title> <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> <meta name="keywords" content="{{ site.keywords }}"> <meta property="og:title" content="DBA@Robin, MySQL DBA" /> <meta property="og:type" content="Blog, Focus on Database." /> <meta property="og:url" content="https://waynesun.xyz/" /> <meta property="og:image" content="https://waynesun.xyz/images/waynesun.png" /> <meta name="twitter:card" content="summary"> <meta name="twitter:site" content="@{{ site.twitter_username }}"> <meta name="twitter:creator" content="@{{ site.twitter_username }}"> <meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"> <meta name="twitter:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> <meta name="twitter:url" content="{{ page.url | replace:'index.html','' | prepend: site.url }}"> <link rel="icon" href="{{site.favicon| prepend:site.baseurl}}"> <link rel="stylesheet" href="{{ "https://waynesun.xyz/css/main.css" | prepend: site.baseurl }}"> <link rel="stylesheet" type="text/css" href="https://waynesun.xyz/assets/css/wayne.css"> <!-- <link rel="stylesheet" type="text/css" href="/assets/css/fonts-open-sans.css"> --> <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.url }}"> <link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.url }}" /> <!-- Force using https. --> <!-- <script type="text/javascript"> var host = "waynesun.xyz"; if ((host == window.location.host) && (window.location.protocol != "https:")) window.location.protocol = "https"; </script> --> <!-- Google Adsense. --> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-3101170268085793", enable_page_level_ads: true }); </script> <!-- GoStats JavaScript Based Code --> <!-- <div style="display:none"> <script type="text/javascript" src="https://ssl.gostats.com/js/counter.js"></script> <script type="text/javascript">_gos='monster.gostats.cn';_goa=482888; _got=5;_goi=1;_gol='流量统计分析';_GoStatsRun();</script> <noscript><a target="_blank" title="流量统计分析" href="http://gostats.cn"><img alt="流量统计分析" src="https://ssl.gostats.com/bin/count/a_482888/t_5/i_1/ssl_monster.gostats.cn/counter.png" style="border-width:0" /></a></noscript> </div> --> <!-- End GoStats JavaScript Based Code --> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-57297247-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-57297247-1'); </script> {% include google_search.js %} </head>
sunswayne/javawayne
_includes/head.html
HTML
mit
3,600
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>GLM_GTX_matrix_cross_product: Cross product matrix form</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.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="pages.html"><span>Related&#160;Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">GLM_GTX_matrix_cross_product: Cross product matrix form</div> </div> <div class="ingroups"><a class="el" href="a00142.html">GTX Extensions (Experimental)</a></div></div> <div class="contents"> <p>Build cross product matrices. <a href="#details">More...</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00180.html#gae2c820ce601a444ab4376809f31ea4d7">matrixCross3</a> (detail::tvec3&lt; T &gt; const &amp;x)</td></tr> <tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00180.html#ga385f11d872a17579113b474263f94780">matrixCross4</a> (detail::tvec3&lt; T &gt; const &amp;x)</td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <p>Build cross product matrices. </p> <p>&lt;<a class="el" href="a00069.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtx/matrix_cross_product.hpp</a>&gt; need to be included to use these functionalities. </p> <hr/><h2>Function Documentation</h2> <a class="anchor" id="gae2c820ce601a444ab4376809f31ea4d7"></a><!-- doxytag: member="glm::matrixCross3" ref="gae2c820ce601a444ab4376809f31ea4d7" args="(detail::tvec3&lt; T &gt; const &amp;x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">detail::tmat3x3&lt;T&gt; glm::matrixCross3 </td> <td>(</td> <td class="paramtype">detail::tvec3&lt; T &gt; const &amp;&#160;</td> <td class="paramname"><em>x</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Build a cross product matrix. </p> <p>From GLM_GTX_matrix_cross_product extension. </p> </div> </div> <a class="anchor" id="ga385f11d872a17579113b474263f94780"></a><!-- doxytag: member="glm::matrixCross4" ref="ga385f11d872a17579113b474263f94780" args="(detail::tvec3&lt; T &gt; const &amp;x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">detail::tmat4x4&lt;T&gt; glm::matrixCross4 </td> <td>(</td> <td class="paramtype">detail::tvec3&lt; T &gt; const &amp;&#160;</td> <td class="paramname"><em>x</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Build a cross product matrix. </p> <p>From GLM_GTX_matrix_cross_product extension. </p> </div> </div> </div> <hr class="footer"/><address class="footer"><small>Generated by&#160; <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>
kiwaiii/pbc
src/external/glm-0.9.2.4/doc/html/a00180.html
HTML
mit
4,298
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_152-release) on Mon Dec 04 08:54:34 MST 2017 --> <title>H-Index</title> <meta name="date" content="2017-12-04"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <script type="text/javascript" src="../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="H-Index"; } } catch(err) { } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../ca/ualberta/cmput301f17t08/habitrabbit/package-summary.html">Package</a></li> <li>Class</li> <li><a href="../ca/ualberta/cmput301f17t08/habitrabbit/package-tree.html">Tree</a></li> <li><a href="../deprecated-list.html">Deprecated</a></li> <li class="navBarCell1Rev">Index</li> <li><a href="../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="index-7.html">Prev Letter</a></li> <li><a href="index-9.html">Next Letter</a></li> </ul> <ul class="navList"> <li><a href="../index.html?index-files/index-8.html" target="_top">Frames</a></li> <li><a href="index-8.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">H</a>&nbsp;<a href="index-9.html">I</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a href="index-22.html">Z</a>&nbsp;<a name="I:H"> <!-- --> </a> <h2 class="title">H</h2> <dl> <dt><a href="../ca/ualberta/cmput301f17t08/habitrabbit/Habit.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit"><span class="typeNameLink">Habit</span></a> - Class in <a href="../ca/ualberta/cmput301f17t08/habitrabbit/package-summary.html">ca.ualberta.cmput301f17t08.habitrabbit</a></dt> <dd> <div class="block">The class for a habit, has all the properties for a habit</div> </dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/Habit.html#Habit--">Habit()</a></span> - Constructor for class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/Habit.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">Habit</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/Habit.html#Habit-java.lang.String-java.lang.String-java.util.Date-java.util.ArrayList-">Habit(String, String, Date, ArrayList&lt;Integer&gt;)</a></span> - Constructor for class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/Habit.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">Habit</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#habit_comment_field">habit_comment_field</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#habit_date_selector">habit_date_selector</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.layout.html#habit_item">habit_item</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.layout.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.layout</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#habit_list">habit_list</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#habit_name">habit_name</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.layout.html#habit_name_card">habit_name_card</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.layout.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.layout</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#habit_name_field">habit_name_field</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#habit_percentage">habit_percentage</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#habit_reason">habit_reason</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#habit_reason_field">habit_reason_field</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#habit_recyclerview">habit_recyclerview</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#habit_start_date">habit_start_date</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.layout.html#habit_stats">habit_stats</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.layout.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.layout</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#habit_title_field">habit_title_field</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEvent.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit"><span class="typeNameLink">HabitEvent</span></a> - Class in <a href="../ca/ualberta/cmput301f17t08/habitrabbit/package-summary.html">ca.ualberta.cmput301f17t08.habitrabbit</a></dt> <dd> <div class="block">The class for habit event, it has date and other properties for habit event</div> </dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEvent.html#HabitEvent--">HabitEvent()</a></span> - Constructor for class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEvent.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">HabitEvent</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEvent.html#HabitEvent-java.lang.String-java.lang.String-java.util.Date-java.lang.String-android.location.Location-android.graphics.Bitmap-">HabitEvent(String, String, Date, String, Location, Bitmap)</a></span> - Constructor for class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEvent.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">HabitEvent</a></dt> <dd>&nbsp;</dd> <dt><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEventListAdapter.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit"><span class="typeNameLink">HabitEventListAdapter</span></a> - Class in <a href="../ca/ualberta/cmput301f17t08/habitrabbit/package-summary.html">ca.ualberta.cmput301f17t08.habitrabbit</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEventListAdapter.html#HabitEventListAdapter-java.util.ArrayList-android.app.Activity-">HabitEventListAdapter(ArrayList&lt;HabitEvent&gt;, Activity)</a></span> - Constructor for class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEventListAdapter.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">HabitEventListAdapter</a></dt> <dd>&nbsp;</dd> <dt><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEventListAdapter.ViewHolder.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit"><span class="typeNameLink">HabitEventListAdapter.ViewHolder</span></a> - Class in <a href="../ca/ualberta/cmput301f17t08/habitrabbit/package-summary.html">ca.ualberta.cmput301f17t08.habitrabbit</a></dt> <dd>&nbsp;</dd> <dt><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEventUnitTest.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit"><span class="typeNameLink">HabitEventUnitTest</span></a> - Class in <a href="../ca/ualberta/cmput301f17t08/habitrabbit/package-summary.html">ca.ualberta.cmput301f17t08.habitrabbit</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEventUnitTest.html#HabitEventUnitTest--">HabitEventUnitTest()</a></span> - Constructor for class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEventUnitTest.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">HabitEventUnitTest</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#habitLayout">habitLayout</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/User.html#HabitMissed-ca.ualberta.cmput301f17t08.habitrabbit.Habit-">HabitMissed(Habit)</a></span> - Method in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/User.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">User</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEventListAdapter.ViewHolder.html#habitName">habitName</a></span> - Variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEventListAdapter.ViewHolder.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">HabitEventListAdapter.ViewHolder</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/FilterAdapter.ViewHolder.html#habitNameLabel">habitNameLabel</a></span> - Variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/FilterAdapter.ViewHolder.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">FilterAdapter.ViewHolder</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitsAdapter.ViewHolder.html#habitNameLabel">habitNameLabel</a></span> - Variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitsAdapter.ViewHolder.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">HabitsAdapter.ViewHolder</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/TodayAdapter.ViewHolder.html#habitNameLabel">habitNameLabel</a></span> - Variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/TodayAdapter.ViewHolder.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">TodayAdapter.ViewHolder</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitsAdapter.ViewHolder.html#habitReasonLabel">habitReasonLabel</a></span> - Variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitsAdapter.ViewHolder.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">HabitsAdapter.ViewHolder</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/TodayAdapter.ViewHolder.html#habitReasonLabel">habitReasonLabel</a></span> - Variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/TodayAdapter.ViewHolder.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">TodayAdapter.ViewHolder</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.drawable.html#habits">habits</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.drawable.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.drawable</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#habits_button">habits_button</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitsAdapter.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit"><span class="typeNameLink">HabitsAdapter</span></a> - Class in <a href="../ca/ualberta/cmput301f17t08/habitrabbit/package-summary.html">ca.ualberta.cmput301f17t08.habitrabbit</a></dt> <dd> <div class="block">The adapter for defined habit view</div> </dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitsAdapter.html#HabitsAdapter-java.util.ArrayList-android.app.Activity-">HabitsAdapter(ArrayList&lt;Habit&gt;, Activity)</a></span> - Constructor for class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitsAdapter.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">HabitsAdapter</a></dt> <dd>&nbsp;</dd> <dt><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitsAdapter.ViewHolder.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit"><span class="typeNameLink">HabitsAdapter.ViewHolder</span></a> - Class in <a href="../ca/ualberta/cmput301f17t08/habitrabbit/package-summary.html">ca.ualberta.cmput301f17t08.habitrabbit</a></dt> <dd>&nbsp;</dd> <dt><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitStatsActivity.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit"><span class="typeNameLink">HabitStatsActivity</span></a> - Class in <a href="../ca/ualberta/cmput301f17t08/habitrabbit/package-summary.html">ca.ualberta.cmput301f17t08.habitrabbit</a></dt> <dd> <div class="block">The activity for habit statistic</div> </dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitStatsActivity.html#HabitStatsActivity--">HabitStatsActivity()</a></span> - Constructor for class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitStatsActivity.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">HabitStatsActivity</a></dt> <dd>&nbsp;</dd> <dt><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitUnitTest.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit"><span class="typeNameLink">HabitUnitTest</span></a> - Class in <a href="../ca/ualberta/cmput301f17t08/habitrabbit/package-summary.html">ca.ualberta.cmput301f17t08.habitrabbit</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitUnitTest.html#HabitUnitTest--">HabitUnitTest()</a></span> - Constructor for class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitUnitTest.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">HabitUnitTest</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/User.html#hasFollower-ca.ualberta.cmput301f17t08.habitrabbit.User-">hasFollower(User)</a></span> - Method in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/User.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">User</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/User.html#hasHabit-java.lang.String-">hasHabit(String)</a></span> - Method in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/User.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">User</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.drawable.html#heart">heart</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.drawable.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.drawable</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.attr.html#height">height</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.attr.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.attr</a></dt> <dd> <div class="block">May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".</div> </dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.attr.html#hideOnContentScroll">hideOnContentScroll</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.attr.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.attr</a></dt> <dd> <div class="block">May be a boolean value, such as "<code>true</code>" or "<code>false</code>".</div> </dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.dimen.html#highlight_alpha_material_colored">highlight_alpha_material_colored</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.dimen.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.dimen</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.dimen.html#highlight_alpha_material_dark">highlight_alpha_material_dark</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.dimen.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.dimen</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.dimen.html#highlight_alpha_material_light">highlight_alpha_material_light</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.dimen.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.dimen</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.color.html#highlighted_text_material_dark">highlighted_text_material_dark</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.color.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.color</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.color.html#highlighted_text_material_light">highlighted_text_material_light</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.color.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.color</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.dimen.html#hint_alpha_material_dark">hint_alpha_material_dark</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.dimen.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.dimen</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.dimen.html#hint_alpha_material_light">hint_alpha_material_light</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.dimen.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.dimen</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.dimen.html#hint_pressed_alpha_material_dark">hint_pressed_alpha_material_dark</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.dimen.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.dimen</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.dimen.html#hint_pressed_alpha_material_light">hint_pressed_alpha_material_light</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.dimen.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.dimen</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.drawable.html#history">history</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.drawable.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.drawable</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.layout.html#history">history</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.layout.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.layout</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#history_button">history_button</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><a href="../ca/ualberta/cmput301f17t08/habitrabbit/historyActivity.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit"><span class="typeNameLink">historyActivity</span></a> - Class in <a href="../ca/ualberta/cmput301f17t08/habitrabbit/package-summary.html">ca.ualberta.cmput301f17t08.habitrabbit</a></dt> <dd> <div class="block">The activity for history page</div> </dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/historyActivity.html#historyActivity--">historyActivity()</a></span> - Constructor for class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/historyActivity.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">historyActivity</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEventListAdapter.ViewHolder.html#historyDate">historyDate</a></span> - Variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/HabitEventListAdapter.ViewHolder.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">HabitEventListAdapter.ViewHolder</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#holo_dark">holo_dark</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#holo_light">holo_light</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#home">home</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#homeAsUp">homeAsUp</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.attr.html#homeAsUpIndicator">homeAsUpIndicator</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.attr.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.attr</a></dt> <dd> <div class="block">May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme attribute in the form "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>".</div> </dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.attr.html#homeLayout">homeLayout</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.attr.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.attr</a></dt> <dd> <div class="block">May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme attribute in the form "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>".</div> </dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#html">html</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> <dt><span class="memberNameLink"><a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html#hybrid">hybrid</a></span> - Static variable in class ca.ualberta.cmput301f17t08.habitrabbit.<a href="../ca/ualberta/cmput301f17t08/habitrabbit/R.id.html" title="class in ca.ualberta.cmput301f17t08.habitrabbit">R.id</a></dt> <dd>&nbsp;</dd> </dl> <a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">H</a>&nbsp;<a href="index-9.html">I</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a href="index-22.html">Z</a>&nbsp;</div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../ca/ualberta/cmput301f17t08/habitrabbit/package-summary.html">Package</a></li> <li>Class</li> <li><a href="../ca/ualberta/cmput301f17t08/habitrabbit/package-tree.html">Tree</a></li> <li><a href="../deprecated-list.html">Deprecated</a></li> <li class="navBarCell1Rev">Index</li> <li><a href="../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="index-7.html">Prev Letter</a></li> <li><a href="index-9.html">Next Letter</a></li> </ul> <ul class="navList"> <li><a href="../index.html?index-files/index-8.html" target="_top">Frames</a></li> <li><a href="index-8.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>
CMPUT301F17T08/habit_rabbit
docs/JavaDoc/index-files/index-8.html
HTML
mit
32,192
<!doctype html> <html> <head> <title>Example Domain</title> <meta charset="utf-8" /> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script type="application/ld+json"> { "@context": "https://json-ld.org/contexts/person.jsonld", "@id": "http://dbpedia.org/resource/John_Lennon", "name": "John Lennon", "born": "1940-10-09", "spouse": "http://dbpedia.org/resource/Cynthia_Lennon" } </script> </head> <body> <div> <h1>Example Domain</h1> </div> </body> </html>
meedan/pender
test/data/page-with-json-ld.html
HTML
mit
634
<html><body> <h4>Windows 10 x64 (18363.778)</h4><br> <h2>_WHEA_ERROR_RECORD_HEADER_VALIDBITS</h2> <font face="arial"> +0x000 PlatformId : Pos 0, 1 Bit<br> +0x000 Timestamp : Pos 1, 1 Bit<br> +0x000 PartitionId : Pos 2, 1 Bit<br> +0x000 Reserved : Pos 3, 29 Bits<br> +0x000 AsULONG : Uint4B<br> </font></body></html>
epikcraw/ggool
public/Windows 10 x64 (18363.778)/_WHEA_ERROR_RECORD_HEADER_VALIDBITS.html
HTML
mit
372
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> </head> <body> <h1 class="title">Title</h1> <p class="description">Lorem ipsum</p> <p class="textnodes"> Line0<br> Line1 </p> <p class="deep-textnodes"> <span> Line0<br> Line1 </span> Line2 </p> <p class="date">1988-01-01</p> <ul class="features"> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> <li>6</li> </ul> <div class="nested"> <span>Foo</span> <div class="level1"> <span>1</span> <div class="level2"> <span>2</span> </div> </div> </div> <table id='detail'> <thead> <tr> <th> <div id="start-A" class="city">Sydney</div> </th> <th> <div class="col-two-head">info</div> </th> </tr> </thead> <tbody> <tr> <td><a href="../1234" class="address">one way street</a> </td> <td> <div class="col-two">info-1</div> </td> </tr> <tr> <td><a href="../4567" class="address">GT Road</a> </td> <td> <div class="col-two">info-2</div> </td> </tr> </tbody> </table> </body> </html>
IonicaBizau/scrape-it
test/public/index.html
HTML
mit
1,806
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta name="Content-Type" content="text/html; charset=UTF-8" /> <title>Class: Kennedy::Granter</title> <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" /> <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" /> <script type="text/javascript" charset="utf-8"> relpath = '..'; if (relpath != '') relpath += '/'; </script> <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script> <script type="text/javascript" charset="utf-8" src="../js/app.js"></script> </head> <body> <div id="header"> <div id="menu"> <a href="../_index.html">Index (G)</a> &raquo; <a title="Kennedy" href="../Kennedy.html">Kennedy</a> &raquo; <span class="title">Granter</span> </div> <div id="search"> <a id="class_list_link" href="#">Namespace List</a> <a id="method_list_link" href="#">Method List</a> <a id ="file_list_link" href="#">File List</a> </div> <div class="clear"></div> </div> <iframe id="search_frame"></iframe> <div id="content"><h1>Class: Kennedy::Granter </h1> <dl class="box"> <dt class="r1">Inherits:</dt> <dd class="r1"> <span class="inheritName">Object</span> </dd> <dt class="r2 last">Defined in:</dt> <dd class="r2 last">lib/kennedy/granter.rb</dd> </dl> <div class="clear"></div> <h2>Overview</h2><div class="docstring"> <div class="discussion"> <p> Granter is used to authenticate credentials and grant tickets to services once a client has been authenticated. </p> </div> </div> <div class="tags"> </div> <h2>Method Summary</h2> <ul class="summary"> <li class="public "> <span class="summary_signature"><a title="#authenticate (instance method)" href="#authenticate-instance_method">- (true) <strong>authenticate</strong>(args = {}) </a> </span> <span class="summary_desc"> Authenticates the given credentials against the current backend. </span> </li> <li class="public "> <span class="summary_signature"><a title="#generate_ticket (instance method)" href="#generate_ticket-instance_method">- (Kennedy::Ticket) <strong>generate_ticket</strong>(args = {}) </a> </span> <span class="summary_desc"> Generates a ticket object to pass back to clients requesting authentication. </span> </li> <li class="public "> <span class="summary_signature"><a title="#initialize (instance method)" href="#initialize-instance_method">- (Granter) <strong>initialize</strong>(args = {}) </a> </span> <span class="summary_desc"> A new instance of <tt>Granter</tt>. </span> </li> <li class="public "> <span class="summary_signature"><a title="#read_ticket (instance method)" href="#read_ticket-instance_method">- (Object) <strong>read_ticket</strong>(args = {}) </a> </span> <span class="summary_desc"></span> </li> </ul> <div id="constructor_details"> <h2>Constructor Details</h2> <div class="method_details first"> <p class="signature first" id="initialize-instance_method"> - (<tt><a title="Granter" href="">Granter</a></tt>) <strong>initialize</strong>(args = {}) </p><div class="docstring"> <div class="discussion"> <p> A new instance of <tt>Granter</tt> </p> </div> </div> <div class="tags"> <h3>Parameters:</h3> <ul class="param"> <li> <span class='type'>(<tt>Hash</tt>)</span> <span class='name'>args</span> <em class="default">(defaults to: <tt>{}</tt>)</em> &mdash; The arguments to create the granter with </li> </ul> <h3>Options Hash (<tt>args</tt>):</h3> <ul class="option"> <li> <span class="type">(<tt>String</tt>)</span> <span class="name">:iv</span> <span class="default"> <span class="na">N/A</span> </span> &mdash; The AES-256 initialization vector to use for encryption and decryption </tr> <li> <span class="type">(<tt>String</tt>)</span> <span class="name">:passphrase</span> <span class="default"> <span class="na">N/A</span> </span> &mdash; The AES-256 passphrase to use for encryption and decryption </tr> <li> <span class="type">(<tt>Object</tt>)</span> <span class="name">:backend</span> <span class="default"> <span class="na">N/A</span> </span> &mdash; An instance of a backend to use for authentication </tr> </ul> <h3>Returns:</h3> <ul class="return"> <li> <span class='type'>(<tt><a title="Granter" href="">Granter</a></tt>)</span> &mdash; a new instance of <tt>Granter</tt> </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> 12 13 14 15 16</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/kennedy/granter.rb', line 12</span> <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='args identifier id'>args</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span> <span class='@iv ivar id'>@iv</span> <span class='assign token'>=</span> <span class='args identifier id'>args</span><span class='lbrack token'>[</span><span class='symbol val'>:iv</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='raise identifier id'>raise</span><span class='lparen token'>(</span><span class='ArgumentError constant id'>ArgumentError</span><span class='comma token'>,</span> <span class='string val'>&quot;Encryption IV must be given as :iv&quot;</span><span class='rparen token'>)</span> <span class='@passphrase ivar id'>@passphrase</span> <span class='assign token'>=</span> <span class='args identifier id'>args</span><span class='lbrack token'>[</span><span class='symbol val'>:passphrase</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='raise identifier id'>raise</span><span class='lparen token'>(</span><span class='ArgumentError constant id'>ArgumentError</span><span class='comma token'>,</span> <span class='string val'>&quot;Encryption passphrase must be given as :passphrase&quot;</span><span class='rparen token'>)</span> <span class='@backend ivar id'>@backend</span> <span class='assign token'>=</span> <span class='args identifier id'>args</span><span class='lbrack token'>[</span><span class='symbol val'>:backend</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='raise identifier id'>raise</span><span class='lparen token'>(</span><span class='ArgumentError constant id'>ArgumentError</span><span class='comma token'>,</span> <span class='string val'>&quot;Authentication backend must be given as :backend&quot;</span><span class='rparen token'>)</span> <span class='end end kw'>end</span> </pre> </td> </tr> </table> </div> </div> <div id="method_details"> <h2>Method Details</h2> <div class="method_details first"> <p class="signature first" id="authenticate-instance_method"> - (<tt>true</tt>) <strong>authenticate</strong>(args = {}) </p><div class="docstring"> <div class="discussion"> <p> Authenticates the given credentials against the current backend </p> </div> </div> <div class="tags"> <h3>Parameters:</h3> <ul class="param"> <li> <span class='type'>(<tt>Hash</tt>)</span> <span class='name'>args</span> <em class="default">(defaults to: <tt>{}</tt>)</em> &mdash; The arguments to authenticate with </li> </ul> <h3>Options Hash (<tt>args</tt>):</h3> <ul class="option"> <li> <span class="type">(<tt>String</tt>)</span> <span class="name">:identifier</span> <span class="default"> <span class="na">N/A</span> </span> &mdash; The identifier (email address, for example) to use for authentication </tr> <li> <span class="type">(<tt>String</tt>)</span> <span class="name">:password</span> <span class="default"> <span class="na">N/A</span> </span> &mdash; The password to use for authentication </tr> </ul> <h3>Returns:</h3> <ul class="return"> <li> <span class='type'>(<tt>true</tt>, <tt>false</tt>)</span> &mdash; A boolean indication of whether authentication was successful or not </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> 23 24 25</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/kennedy/granter.rb', line 23</span> <span class='def def kw'>def</span> <span class='authenticate identifier id'>authenticate</span><span class='lparen token'>(</span><span class='args identifier id'>args</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span> <span class='notop op'>!</span><span class='notop op'>!</span><span class='@backend ivar id'>@backend</span><span class='dot token'>.</span><span class='authenticate identifier id'>authenticate</span><span class='lparen token'>(</span><span class='args identifier id'>args</span><span class='lbrack token'>[</span><span class='symbol val'>:identifier</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='args identifier id'>args</span><span class='lbrack token'>[</span><span class='symbol val'>:password</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='end end kw'>end</span> </pre> </td> </tr> </table> </div> <div class="method_details "> <p class="signature " id="generate_ticket-instance_method"> - (<tt><a title="Kennedy::Ticket" href="Ticket.html">Kennedy::Ticket</a></tt>) <strong>generate_ticket</strong>(args = {}) </p><div class="docstring"> <div class="discussion"> <p> Generates a ticket object to pass back to clients requesting authentication </p> </div> </div> <div class="tags"> <h3>Parameters:</h3> <ul class="param"> <li> <span class='type'>(<tt>Hash</tt>)</span> <span class='name'>args</span> <em class="default">(defaults to: <tt>{}</tt>)</em> &mdash; The arguments to generate the ticket with </li> </ul> <h3>Options Hash (<tt>args</tt>):</h3> <ul class="option"> <li> <span class="type">(<tt>String</tt>)</span> <span class="name">:identifier</span> <span class="default"> <span class="na">N/A</span> </span> &mdash; The identifier (email address, for example) the ticket grants access for </tr> </ul> <h3>Returns:</h3> <ul class="return"> <li> <span class='type'>(<tt><a title="Kennedy::Ticket" href="Ticket.html">Kennedy::Ticket</a></tt>)</span> &mdash; A Kennedy::Ticket object </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> 31 32 33 34</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/kennedy/granter.rb', line 31</span> <span class='def def kw'>def</span> <span class='generate_ticket identifier id'>generate_ticket</span><span class='lparen token'>(</span><span class='args identifier id'>args</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span> <span class='identifier identifier id'>identifier</span> <span class='assign token'>=</span> <span class='args identifier id'>args</span><span class='lbrack token'>[</span><span class='symbol val'>:identifier</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='raise identifier id'>raise</span><span class='lparen token'>(</span><span class='ArgumentError constant id'>ArgumentError</span><span class='comma token'>,</span> <span class='string val'>&quot;An identifier must be given as :identifier&quot;</span><span class='rparen token'>)</span> <span class='new_ticket identifier id'>new_ticket</span><span class='lparen token'>(</span><span class='identifier identifier id'>identifier</span><span class='rparen token'>)</span> <span class='end end kw'>end</span> </pre> </td> </tr> </table> </div> <div class="method_details "> <p class="signature " id="read_ticket-instance_method"> - (<tt>Object</tt>) <strong>read_ticket</strong>(args = {}) </p><table class="source_code"> <tr> <td> <pre class="lines"> 36 37 38 39</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/kennedy/granter.rb', line 36</span> <span class='def def kw'>def</span> <span class='read_ticket identifier id'>read_ticket</span><span class='lparen token'>(</span><span class='args identifier id'>args</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span> <span class='data identifier id'>data</span> <span class='assign token'>=</span> <span class='args identifier id'>args</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='raise identifier id'>raise</span><span class='lparen token'>(</span><span class='ArgumentError constant id'>ArgumentError</span><span class='comma token'>,</span> <span class='string val'>&quot;Data must be given as :data&quot;</span><span class='rparen token'>)</span> <span class='decrypt_ticket identifier id'>decrypt_ticket</span><span class='lparen token'>(</span><span class='args identifier id'>args</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='end end kw'>end</span> </pre> </td> </tr> </table> </div> </div> </div> <div id="footer"> Generated on Tue Dec 8 16:39:39 2009 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a> 0.4.0 (ruby-1.8.7). </div> </body> </html>
abloom/kennedy
doc/Kennedy/Granter.html
HTML
mit
15,429
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_35) on Sun Mar 31 19:35:55 BST 2013 --> <TITLE> uk.ac.ed.inf.proj.xmlnormaliser.parser.fd Class Hierarchy </TITLE> <META NAME="date" CONTENT="2013-03-31"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="uk.ac.ed.inf.proj.xmlnormaliser.parser.fd Class Hierarchy"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <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"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&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-files/index-1.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> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../../../../../../uk/ac/ed/inf/proj/xmlnormaliser/parser/dtd/package-tree.html"><B>PREV</B></A>&nbsp; &nbsp;<A HREF="../../../../../../../../uk/ac/ed/inf/proj/xmlnormaliser/validator/package-tree.html"><B>NEXT</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../../../index.html?uk/ac/ed/inf/proj/xmlnormaliser/parser/fd/package-tree.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="package-tree.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> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> Hierarchy For Package uk.ac.ed.inf.proj.xmlnormaliser.parser.fd </H2> </CENTER> <DL> <DT><B>Package Hierarchies:</B><DD><A HREF="../../../../../../../../overview-tree.html">All Packages</A></DL> <HR> <H2> Class Hierarchy </H2> <UL> <LI TYPE="circle">java.lang.Object<UL> <LI TYPE="circle">java.util.AbstractCollection&lt;E&gt; (implements java.util.Collection&lt;E&gt;) <UL> <LI TYPE="circle">java.util.AbstractSet&lt;E&gt; (implements java.util.Set&lt;E&gt;) <UL> <LI TYPE="circle">java.util.HashSet&lt;E&gt; (implements java.lang.Cloneable, java.io.Serializable, java.util.Set&lt;E&gt;) <UL> <LI TYPE="circle">uk.ac.ed.inf.proj.xmlnormaliser.parser.fd.<A HREF="../../../../../../../../uk/ac/ed/inf/proj/xmlnormaliser/parser/fd/FDPath.html" title="class in uk.ac.ed.inf.proj.xmlnormaliser.parser.fd"><B>FDPath</B></A></UL> </UL> </UL> <LI TYPE="circle">uk.ac.ed.inf.proj.xmlnormaliser.parser.fd.<A HREF="../../../../../../../../uk/ac/ed/inf/proj/xmlnormaliser/parser/fd/FDParser.html" title="class in uk.ac.ed.inf.proj.xmlnormaliser.parser.fd"><B>FDParser</B></A><LI TYPE="circle">uk.ac.ed.inf.proj.xmlnormaliser.parser.fd.<A HREF="../../../../../../../../uk/ac/ed/inf/proj/xmlnormaliser/parser/fd/FDParserTestCompany.html" title="class in uk.ac.ed.inf.proj.xmlnormaliser.parser.fd"><B>FDParserTestCompany</B></A><LI TYPE="circle">uk.ac.ed.inf.proj.xmlnormaliser.parser.fd.<A HREF="../../../../../../../../uk/ac/ed/inf/proj/xmlnormaliser/parser/fd/FDParserTestDB.html" title="class in uk.ac.ed.inf.proj.xmlnormaliser.parser.fd"><B>FDParserTestDB</B></A></UL> </UL> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <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="navbar_bottom_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"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT>&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-files/index-1.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> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../../../../../../uk/ac/ed/inf/proj/xmlnormaliser/parser/dtd/package-tree.html"><B>PREV</B></A>&nbsp; &nbsp;<A HREF="../../../../../../../../uk/ac/ed/inf/proj/xmlnormaliser/validator/package-tree.html"><B>NEXT</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../../../index.html?uk/ac/ed/inf/proj/xmlnormaliser/parser/fd/package-tree.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="package-tree.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> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
tomtau/xml_normaliser
doc/uk/ac/ed/inf/proj/xmlnormaliser/parser/fd/package-tree.html
HTML
mit
7,600
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title>date.py</title> <link rel="stylesheet" href="pycco.css"> </head> <body> <div id="background"></div> <div id='container'> <div class='section'> <div class='docs'><h1>date.py</h1></div> </div> <div class='clearall'> <div class='section' id='section-0'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-0'>#</a> </div> <p>Copyright (C) 2010 Google Inc.</p> <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at</p> <pre><code> http://www.apache.org/licenses/LICENSE-2.0 </code></pre> <p>Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Classes and functions for manipulating strings into dates.</p> </div> <div class='code'> <div class="highlight"><pre></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-1'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-1'>#</a> </div> <p>Some parts are specific to Google Calendar."""</p> <p><strong>author</strong> = '[email protected] (Tom Miller)' import datetime import re import googlecl.base import time import logging</p> <p>LOG = logging.getLogger("date.py") QUERY_DATE_FORMAT = '%Y-%m-%dT%H:%M:%S.000Z'</p> <p>ACCEPTED_DAY_TIME_FORMAT = '%Y-%m-%dT%H:%M:%S' ACCEPTED_DAY_FORMATS = ['%Y-%m-%d', '%m/%d', '%m/%d/%Y', '%m/%d/%y', '%b %d', '%B %d', '%b %d %Y', '%B %d %Y'] ACCEPTED_TIME_FORMATS = ['%I%p', '%I %p', '%I:%M%p', '%I:%M %p', '%H:%M']</p> <h1>Regular expression for strings that specify a time that could be afternoon or</h1> <h1>morning. First group will be the hour, second the minutes.</h1> <p>AMBIGUOUS_TIME_REGEX = '((?:1[0-2])|(?:[1-9]))?(?::([0-9]{2}))?$'</p> <p>_DAY_TIME_TOKENIZERS = ['@', ' at '] _RANGE_TOKENIZERS = [',']</p> <p>class Error(Exception): Base error for this module.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">pass</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-2'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-2'>#</a> </div> <p>Failed to parse a token.</p> </div> <div class='code'> <div class="highlight"><pre><span class="k">class</span> <span class="nc">ParsingError</span><span class="p">(</span><span class="n">Error</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-3'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-3'>#</a> </div> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">token</span><span class="p">):</span> <span class="bp">self</span><span class="o">.</span><span class="n">token</span> <span class="o">=</span> <span class="n">token</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-4'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-4'>#</a> </div> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">__str__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> <span class="k">return</span> <span class="s">&#39;Failed to parse &quot;</span><span class="si">%s</span><span class="s">&quot;&#39;</span> <span class="o">%</span> <span class="bp">self</span><span class="o">.</span><span class="n">token</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-5'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-5'>#</a> </div> <p>Creates a datetime object with zeroed-out time parameters.</p> </div> <div class='code'> <div class="highlight"><pre><span class="k">def</span> <span class="nf">datetime_today</span><span class="p">():</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-6'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-6'>#</a> </div> </div> <div class='code'> <div class="highlight"><pre> <span class="k">return</span> <span class="n">datetime</span><span class="o">.</span><span class="n">datetime</span><span class="o">.</span><span class="n">now</span><span class="p">()</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="n">hour</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span> <span class="n">minute</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span> <span class="n">second</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span> <span class="n">microsecond</span><span class="o">=</span><span class="mi">0</span><span class="p">)</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-7'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-7'>#</a> </div> <p>Determines a duration from a non-time token.</p> </div> <div class='code'> <div class="highlight"><pre><span class="k">def</span> <span class="nf">determine_duration</span><span class="p">(</span><span class="n">duration_token</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-8'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-8'>#</a> </div> <p>Args: duration_token: String of hours and minutes.</p> <p>Returns: Timedelta object representing positive offset of hours and minutes.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">hour</span><span class="p">,</span> <span class="n">minute</span> <span class="o">=</span> <span class="n">parse_ambiguous_time</span><span class="p">(</span><span class="n">duration_token</span><span class="p">)</span> <span class="k">if</span> <span class="ow">not</span> <span class="p">(</span><span class="n">hour</span> <span class="ow">or</span> <span class="n">minute</span><span class="p">):</span> <span class="n">LOG</span><span class="o">.</span><span class="n">error</span><span class="p">(</span><span class="s">&#39;Duration must be in form of [hours][:minutes]&#39;</span><span class="p">)</span> <span class="k">return</span> <span class="bp">None</span> <span class="k">return</span> <span class="n">datetime</span><span class="o">.</span><span class="n">timedelta</span><span class="p">(</span><span class="n">hours</span><span class="o">=</span><span class="n">hour</span><span class="p">,</span> <span class="n">minutes</span><span class="o">=</span><span class="n">minute</span><span class="p">)</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-9'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-9'>#</a> </div> <p>Return the UTC offset of local zone at present time as a timedelta.</p> </div> <div class='code'> <div class="highlight"><pre><span class="k">def</span> <span class="nf">get_utc_timedelta</span><span class="p">():</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-10'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-10'>#</a> </div> </div> <div class='code'> <div class="highlight"><pre> <span class="k">if</span> <span class="n">time</span><span class="o">.</span><span class="n">localtime</span><span class="p">()</span><span class="o">.</span><span class="n">tm_isdst</span> <span class="ow">and</span> <span class="n">time</span><span class="o">.</span><span class="n">daylight</span><span class="p">:</span> <span class="k">return</span> <span class="n">datetime</span><span class="o">.</span><span class="n">timedelta</span><span class="p">(</span><span class="n">hours</span><span class="o">=</span><span class="n">time</span><span class="o">.</span><span class="n">altzone</span><span class="o">/</span><span class="mi">3600</span><span class="p">)</span> <span class="k">else</span><span class="p">:</span> <span class="k">return</span> <span class="n">datetime</span><span class="o">.</span><span class="n">timedelta</span><span class="p">(</span><span class="n">hours</span><span class="o">=</span><span class="n">time</span><span class="o">.</span><span class="n">timezone</span><span class="o">/</span><span class="mi">3600</span><span class="p">)</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-11'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-11'>#</a> </div> <p>Parses an ambiguous time into an hour and minute value.</p> </div> <div class='code'> <div class="highlight"><pre><span class="k">def</span> <span class="nf">parse_ambiguous_time</span><span class="p">(</span><span class="n">time_token</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-12'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-12'>#</a> </div> <p>Args: time_token: Ambiguous time to be parsed. "Ambiguous" means it could be before noon or after noon. For example, "5:30" or "12".</p> <p>Returns: Tuple of (hour, minute). The hour is still not on a 24 hour clock.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">ambiguous_time</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">match</span><span class="p">(</span><span class="n">AMBIGUOUS_TIME_REGEX</span><span class="p">,</span> <span class="n">time_token</span><span class="p">)</span> <span class="k">if</span> <span class="ow">not</span> <span class="n">ambiguous_time</span><span class="p">:</span> <span class="k">return</span> <span class="bp">None</span><span class="p">,</span> <span class="bp">None</span> <span class="n">hour_text</span> <span class="o">=</span> <span class="n">ambiguous_time</span><span class="o">.</span><span class="n">group</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span> <span class="n">minute_text</span> <span class="o">=</span> <span class="n">ambiguous_time</span><span class="o">.</span><span class="n">group</span><span class="p">(</span><span class="mi">2</span><span class="p">)</span> <span class="k">if</span> <span class="n">hour_text</span><span class="p">:</span> <span class="n">hour</span> <span class="o">=</span> <span class="nb">int</span><span class="p">(</span><span class="n">hour_text</span><span class="p">)</span> <span class="k">else</span><span class="p">:</span> <span class="n">hour</span> <span class="o">=</span> <span class="mi">0</span> <span class="k">if</span> <span class="n">minute_text</span><span class="p">:</span> <span class="n">minute</span> <span class="o">=</span> <span class="nb">int</span><span class="p">(</span><span class="n">minute_text</span><span class="p">)</span> <span class="k">else</span><span class="p">:</span> <span class="n">minute</span> <span class="o">=</span> <span class="mi">0</span> <span class="k">return</span> <span class="n">hour</span><span class="p">,</span> <span class="n">minute</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-13'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-13'>#</a> </div> <p>Splits a string based on a list of potential substrings.</p> </div> <div class='code'> <div class="highlight"><pre><span class="k">def</span> <span class="nf">split_string</span><span class="p">(</span><span class="n">string</span><span class="p">,</span> <span class="n">tokenizers</span><span class="o">=</span><span class="bp">None</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-14'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-14'>#</a> </div> <p>Strings will only be split once, if at all. That is, at most two tokens can be returned, even if a tokenizer is found in multiple positions. The left-most tokenizer will be used to split.</p> <p>Args: string: String to split. tokenizers: List of strings that should act as a point to split around. Default None to use range tokenizers defined in this module.</p> <p>Returns: Tuple of (left_token, [True|False], right_token). The middle element is True if a tokenizer was found in the provided string, and is False otherwise.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">if</span> <span class="ow">not</span> <span class="n">string</span><span class="p">:</span> <span class="k">return</span> <span class="p">(</span><span class="s">&#39;&#39;</span><span class="p">,</span> <span class="bp">False</span><span class="p">,</span> <span class="s">&#39;&#39;</span><span class="p">)</span> <span class="k">if</span> <span class="ow">not</span> <span class="n">tokenizers</span><span class="p">:</span> <span class="n">tokenizers</span> <span class="o">=</span> <span class="n">_RANGE_TOKENIZERS</span> <span class="k">for</span> <span class="n">tokenizer</span> <span class="ow">in</span> <span class="n">tokenizers</span><span class="p">:</span> <span class="k">if</span> <span class="n">string</span><span class="o">.</span><span class="n">find</span><span class="p">(</span><span class="n">tokenizer</span><span class="p">)</span> <span class="o">!=</span> <span class="o">-</span><span class="mi">1</span><span class="p">:</span> <span class="n">left_token</span><span class="p">,</span> <span class="n">_</span><span class="p">,</span> <span class="n">right_token</span> <span class="o">=</span> <span class="n">string</span><span class="o">.</span><span class="n">partition</span><span class="p">(</span><span class="n">tokenizer</span><span class="p">)</span> <span class="k">return</span> <span class="p">(</span><span class="n">left_token</span><span class="o">.</span><span class="n">strip</span><span class="p">(),</span> <span class="bp">True</span><span class="p">,</span> <span class="n">right_token</span><span class="o">.</span><span class="n">strip</span><span class="p">())</span> <span class="k">return</span> <span class="p">(</span><span class="n">string</span><span class="o">.</span><span class="n">strip</span><span class="p">(),</span> <span class="bp">False</span><span class="p">,</span> <span class="s">&#39;&#39;</span><span class="p">)</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-15'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-15'>#</a> </div> </div> <div class='code'> <div class="highlight"><pre><span class="k">class</span> <span class="nc">Date</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-16'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-16'>#</a> </div> <p>Initializes the object.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">local_datetime</span><span class="o">=</span><span class="bp">None</span><span class="p">,</span> <span class="n">utc_datetime</span><span class="o">=</span><span class="bp">None</span><span class="p">,</span> <span class="n">all_day</span><span class="o">=</span><span class="bp">False</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-17'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-17'>#</a> </div> <p>The datetime objects passed in are treated as naive -- no timezone info will be read from them.</p> <p>Args: local_datetime: A datetime object that specifies the date and time in the local timezone. Default None to set off utc_datetime. utc_datetime: Datetime object that specifies date and time in Coordinated Universal Time (UTC). Default None to set off local_datetime. all_day: Set True to indicate this Date is associated with an all day, or "time-less" date. Default False.</p> <p>Raises: Error: local_datetime and utc_datetime are both left undefined.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">if</span> <span class="ow">not</span> <span class="p">(</span><span class="n">local_datetime</span> <span class="ow">or</span> <span class="n">utc_datetime</span><span class="p">):</span> <span class="k">raise</span> <span class="n">Error</span><span class="p">(</span><span class="s">&#39;Need to provide a local or UTC datetime&#39;</span><span class="p">)</span> <span class="k">if</span> <span class="n">local_datetime</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">local</span> <span class="o">=</span> <span class="n">local_datetime</span> <span class="k">if</span> <span class="ow">not</span> <span class="n">utc_datetime</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">utc</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">local</span> <span class="o">+</span> <span class="n">get_utc_timedelta</span><span class="p">()</span> <span class="k">if</span> <span class="n">utc_datetime</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">utc</span> <span class="o">=</span> <span class="n">utc_datetime</span> <span class="k">if</span> <span class="ow">not</span> <span class="n">local_datetime</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">local</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">utc</span> <span class="o">-</span> <span class="n">get_utc_timedelta</span><span class="p">()</span> <span class="bp">self</span><span class="o">.</span><span class="n">all_day</span> <span class="o">=</span> <span class="n">all_day</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-18'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-18'>#</a> </div> <p>Returns a Date with other added to its time.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">__add__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">other</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-19'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-19'>#</a> </div> </div> <div class='code'> <div class="highlight"><pre> <span class="k">return</span> <span class="n">Date</span><span class="p">(</span><span class="n">utc_datetime</span><span class="o">=</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">utc</span> <span class="o">+</span> <span class="n">other</span><span class="p">),</span> <span class="n">all_day</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">all_day</span><span class="p">)</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-20'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-20'>#</a> </div> <p>Returns a Date with other subtracted from its time.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">__sub__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">other</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-21'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-21'>#</a> </div> </div> <div class='code'> <div class="highlight"><pre> <span class="k">return</span> <span class="n">Date</span><span class="p">(</span><span class="n">utc_datetime</span><span class="o">=</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">utc</span> <span class="o">-</span> <span class="n">other</span><span class="p">),</span> <span class="n">all_day</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">all_day</span><span class="p">)</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-22'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-22'>#</a> </div> <p>Formats local datetime info into human-friendly string.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">__str__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-23'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-23'>#</a> </div> </div> <div class='code'> <div class="highlight"><pre> <span class="n">basic_string_format</span> <span class="o">=</span> <span class="s">&#39;%m/</span><span class="si">%d</span><span class="s">/%Y&#39;</span> <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">all_day</span><span class="p">:</span> <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">local</span><span class="o">.</span><span class="n">strftime</span><span class="p">(</span><span class="n">basic_string_format</span><span class="p">)</span> <span class="k">else</span><span class="p">:</span> <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">local</span><span class="o">.</span><span class="n">strftime</span><span class="p">(</span><span class="n">basic_string_format</span> <span class="o">+</span> <span class="s">&#39; %H:%M&#39;</span><span class="p">)</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-24'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-24'>#</a> </div> <p>Converts UTC data to specific format string.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">to_format</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">format_string</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-25'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-25'>#</a> </div> </div> <div class='code'> <div class="highlight"><pre> <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">utc</span><span class="o">.</span><span class="n">strftime</span><span class="p">(</span><span class="n">format_string</span><span class="p">)</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-26'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-26'>#</a> </div> <p>Converts UTC data to query-friendly, date-inclusive string.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">to_inclusive_query</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-27'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-27'>#</a> </div> <p>Note: This behavior is specific to Google Calendar.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">all_day</span><span class="p">:</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-28'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-28'>#</a> </div> <p>If it's an all-day date, we need to boost the time by a day to make it inclusive.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">new_datetime</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">utc</span> <span class="o">+</span> <span class="n">datetime</span><span class="o">.</span><span class="n">timedelta</span><span class="p">(</span><span class="n">hours</span><span class="o">=</span><span class="mi">24</span><span class="p">)</span> <span class="k">else</span><span class="p">:</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-29'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-29'>#</a> </div> <p>The smallest unit Calendar appears to concern itself with is minutes, so add a minute to make it inclusive.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">new_datetime</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">utc</span> <span class="o">+</span> <span class="n">datetime</span><span class="o">.</span><span class="n">timedelta</span><span class="p">(</span><span class="n">minutes</span><span class="o">=</span><span class="mi">1</span><span class="p">)</span> <span class="k">return</span> <span class="n">new_datetime</span><span class="o">.</span><span class="n">strftime</span><span class="p">(</span><span class="n">QUERY_DATE_FORMAT</span><span class="p">)</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-30'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-30'>#</a> </div> <p>Converts UTC data to a query-friendly string.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">to_query</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-31'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-31'>#</a> </div> </div> <div class='code'> <div class="highlight"><pre> <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">to_format</span><span class="p">(</span><span class="n">QUERY_DATE_FORMAT</span><span class="p">)</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-32'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-32'>#</a> </div> <p>Converts UTC data to timestamp in seconds.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">to_timestamp</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-33'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-33'>#</a> </div> <p>Returns: Seconds since the epoch as a float.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">return</span> <span class="n">time</span><span class="o">.</span><span class="n">mktime</span><span class="p">(</span><span class="n">time</span><span class="o">.</span><span class="n">strptime</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">utc</span><span class="o">.</span><span class="n">strftime</span><span class="p">(</span><span class="n">format_string</span><span class="p">),</span> <span class="s">&#39;%Y-%m-</span><span class="si">%d</span><span class="s">T%H:%M&#39;</span><span class="p">))</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-34'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-34'>#</a> </div> <p>Returns datetime info formatted to Google Calendar "when" style.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">to_when</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-35'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-35'>#</a> </div> </div> <div class='code'> <div class="highlight"><pre> <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">all_day</span><span class="p">:</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-36'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-36'>#</a> </div> <p>All day events must leave off hour data.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">to_format</span><span class="p">(</span><span class="s">&#39;%Y-%m-</span><span class="si">%d</span><span class="s">&#39;</span><span class="p">)</span> <span class="k">else</span><span class="p">:</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-37'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-37'>#</a> </div> <p>Otherwise, treated like a query string.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">to_query</span><span class="p">()</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-38'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-38'>#</a> </div> <p>Produces Date objects given data.</p> </div> <div class='code'> <div class="highlight"><pre><span class="k">class</span> <span class="nc">DateParser</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-39'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-39'>#</a> </div> </div> <div class='code'> <div class="highlight"><pre></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-40'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-40'>#</a> </div> <p>Initializes the DateParser object.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">today</span><span class="o">=</span><span class="bp">None</span><span class="p">,</span> <span class="n">now</span><span class="o">=</span><span class="bp">None</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-41'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-41'>#</a> </div> <p>Args: today: Function capable of giving the current local date. Default None to use datetime_today now: Function capable of giving the current local time. Default None to use datetime.datetime.now</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">if</span> <span class="n">today</span> <span class="ow">is</span> <span class="bp">None</span><span class="p">:</span> <span class="n">today</span> <span class="o">=</span> <span class="n">datetime_today</span> <span class="k">if</span> <span class="n">now</span> <span class="ow">is</span> <span class="bp">None</span><span class="p">:</span> <span class="n">now</span> <span class="o">=</span> <span class="n">datetime</span><span class="o">.</span><span class="n">datetime</span><span class="o">.</span><span class="n">now</span> <span class="bp">self</span><span class="o">.</span><span class="n">today</span> <span class="o">=</span> <span class="n">today</span> <span class="bp">self</span><span class="o">.</span><span class="n">now</span> <span class="o">=</span> <span class="n">now</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-42'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-42'>#</a> </div> <p>Parses text into a Date object.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">parse</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">text</span><span class="p">,</span> <span class="n">base</span><span class="o">=</span><span class="bp">None</span><span class="p">,</span> <span class="n">shift_dates</span><span class="o">=</span><span class="bp">True</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-43'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-43'>#</a> </div> <p>Args: text: String representation of one date, or an offset from a date. Will be interpreted as local time, unless "UTC" appears somewhere in the text. base: Starting point for this Date. Used if the text represents an hour, or an offset. shift_dates: If the date is earlier than self.today(), and the year is not specified, shift it to the future. True by default. Set to False if you want to set a day in the past without referencing the year. For example, today is 10/25/2010. Parsing "10/24" with shift_dates=True will return a date of 10/24/2011. If shift_dates=False, will return a date of 10/24/2010.</p> <p>Returns: Date object.</p> <p>Raises: ParsingError: Given text could not be parsed.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">local_datetime</span> <span class="o">=</span> <span class="bp">None</span> <span class="n">day</span> <span class="o">=</span> <span class="bp">None</span> <span class="n">all_day</span> <span class="o">=</span> <span class="bp">False</span> <span class="k">try</span><span class="p">:</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-44'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-44'>#</a> </div> <p>Unlikely anyone uses this, but if so, it's done in one shot</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">all_info</span> <span class="o">=</span> <span class="n">datetime</span><span class="o">.</span><span class="n">datetime</span><span class="o">.</span><span class="n">strptime</span><span class="p">(</span><span class="n">text</span><span class="p">,</span> <span class="n">ACCEPTED_DAY_TIME_FORMAT</span><span class="p">)</span> <span class="k">except</span> <span class="ne">ValueError</span><span class="p">:</span> <span class="k">pass</span> <span class="k">else</span><span class="p">:</span> <span class="k">return</span> <span class="n">Date</span><span class="p">(</span><span class="n">local_datetime</span><span class="o">=</span><span class="n">all_info</span><span class="p">,</span> <span class="n">all_day</span><span class="o">=</span><span class="bp">False</span><span class="p">)</span> <span class="n">day_token</span><span class="p">,</span> <span class="n">_</span><span class="p">,</span> <span class="n">time_token</span> <span class="o">=</span> <span class="n">split_string</span><span class="p">(</span><span class="n">text</span><span class="p">,</span> <span class="n">_DAY_TIME_TOKENIZERS</span><span class="p">)</span> <span class="k">if</span> <span class="ow">not</span> <span class="p">(</span><span class="n">day_token</span> <span class="ow">or</span> <span class="n">time_token</span><span class="p">):</span> <span class="k">raise</span> <span class="n">ParsingError</span><span class="p">(</span><span class="n">text</span><span class="p">)</span> <span class="n">past_time_to_tomorrow</span> <span class="o">=</span> <span class="bp">False</span> <span class="k">if</span> <span class="n">day_token</span><span class="p">:</span> <span class="n">day</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">determine_day</span><span class="p">(</span><span class="n">day_token</span><span class="p">,</span> <span class="n">shift_dates</span><span class="p">)</span> <span class="k">if</span> <span class="n">day</span> <span class="ow">is</span> <span class="bp">None</span><span class="p">:</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-45'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-45'>#</a> </div> <p>If we couldn't figure out the day... ...Calendar will shift times that already happened to tomorrow</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">past_time_to_tomorrow</span> <span class="o">=</span> <span class="bp">True</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-46'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-46'>#</a> </div> <p>...Maybe the day_token is actually a time_token</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">time_token</span> <span class="o">=</span> <span class="n">day_token</span> <span class="k">if</span> <span class="n">base</span><span class="p">:</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-47'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-47'>#</a> </div> <p>... and we'll use the starting point passed in.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">day</span> <span class="o">=</span> <span class="n">base</span> <span class="k">else</span><span class="p">:</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-48'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-48'>#</a> </div> <p>If there's no time token, we're parsing an all day date.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">all_day</span> <span class="o">=</span> <span class="ow">not</span> <span class="nb">bool</span><span class="p">(</span><span class="n">time_token</span><span class="p">)</span> <span class="k">if</span> <span class="n">time_token</span><span class="p">:</span> <span class="k">if</span> <span class="n">time_token</span><span class="o">.</span><span class="n">startswith</span><span class="p">(</span><span class="s">&#39;+&#39;</span><span class="p">):</span> <span class="n">delta</span> <span class="o">=</span> <span class="n">determine_duration</span><span class="p">(</span><span class="n">time_token</span><span class="o">.</span><span class="n">lstrip</span><span class="p">(</span><span class="s">&#39;+&#39;</span><span class="p">))</span> <span class="k">if</span> <span class="n">delta</span> <span class="ow">and</span> <span class="ow">not</span> <span class="n">day</span><span class="p">:</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-49'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-49'>#</a> </div> <p>Durations go off of right now.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">day</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">now</span><span class="p">()</span> <span class="k">else</span><span class="p">:</span> <span class="n">time_offset</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">determine_time</span><span class="p">(</span><span class="n">time_token</span><span class="p">)</span> <span class="k">if</span> <span class="n">time_offset</span> <span class="ow">is</span> <span class="bp">None</span><span class="p">:</span> <span class="n">delta</span> <span class="o">=</span> <span class="bp">None</span> <span class="k">else</span><span class="p">:</span> <span class="k">if</span> <span class="n">past_time_to_tomorrow</span> <span class="ow">and</span> <span class="bp">self</span><span class="o">.</span><span class="n">_time_has_passed</span><span class="p">(</span><span class="n">time_offset</span><span class="p">):</span> <span class="n">delta</span> <span class="o">=</span> <span class="n">datetime</span><span class="o">.</span><span class="n">timedelta</span><span class="p">(</span><span class="n">hours</span><span class="o">=</span><span class="n">time_offset</span><span class="o">.</span><span class="n">hour</span> <span class="o">+</span> <span class="mi">24</span><span class="p">,</span> <span class="n">minutes</span><span class="o">=</span><span class="n">time_offset</span><span class="o">.</span><span class="n">minute</span><span class="p">)</span> <span class="k">else</span><span class="p">:</span> <span class="n">delta</span> <span class="o">=</span> <span class="n">datetime</span><span class="o">.</span><span class="n">timedelta</span><span class="p">(</span><span class="n">hours</span><span class="o">=</span><span class="n">time_offset</span><span class="o">.</span><span class="n">hour</span><span class="p">,</span> <span class="n">minutes</span><span class="o">=</span><span class="n">time_offset</span><span class="o">.</span><span class="n">minute</span><span class="p">)</span> <span class="k">if</span> <span class="ow">not</span> <span class="n">day</span><span class="p">:</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-50'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-50'>#</a> </div> <p>Hour/minutes (i.e. not durations) go off of the date.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">day</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">today</span><span class="p">()</span> <span class="k">if</span> <span class="n">delta</span> <span class="ow">is</span> <span class="ow">not</span> <span class="bp">None</span><span class="p">:</span> <span class="n">local_datetime</span> <span class="o">=</span> <span class="n">day</span> <span class="o">+</span> <span class="n">delta</span> <span class="k">else</span><span class="p">:</span> <span class="n">local_datetime</span> <span class="o">=</span> <span class="n">day</span> <span class="k">if</span> <span class="n">local_datetime</span><span class="p">:</span> <span class="k">return</span> <span class="n">Date</span><span class="p">(</span><span class="n">local_datetime</span><span class="o">=</span><span class="n">local_datetime</span><span class="p">,</span> <span class="n">all_day</span><span class="o">=</span><span class="n">all_day</span><span class="p">)</span> <span class="k">else</span><span class="p">:</span> <span class="k">raise</span> <span class="n">ParsingError</span><span class="p">(</span><span class="n">text</span><span class="p">)</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-51'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-51'>#</a> </div> <p>"Checks to see if date has passed.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">_day_has_passed</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">date</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-52'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-52'>#</a> </div> <p>Args: date: Datetime object to compare to today.</p> <p>Returns: True if date is earlier than today, False otherwise.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">today</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">today</span><span class="p">()</span> <span class="k">return</span> <span class="p">(</span><span class="n">date</span><span class="o">.</span><span class="n">month</span> <span class="o">&lt;</span> <span class="n">today</span><span class="o">.</span><span class="n">month</span> <span class="ow">or</span> <span class="p">(</span><span class="n">date</span><span class="o">.</span><span class="n">month</span> <span class="o">==</span> <span class="n">today</span><span class="o">.</span><span class="n">month</span> <span class="ow">and</span> <span class="n">date</span><span class="o">.</span><span class="n">day</span> <span class="o">&lt;</span> <span class="n">today</span><span class="o">.</span><span class="n">day</span><span class="p">))</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-53'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-53'>#</a> </div> <p>Parses day token into a date.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">determine_day</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">day_token</span><span class="p">,</span> <span class="n">shift_dates</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-54'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-54'>#</a> </div> <p>Args: day_token: String to be interpreted as a year, month, and day. shift_dates: Indicates if past dates should be shifted to next year. Set True to move the date to next year if the date has already occurred this year, False otherwise.</p> <p>Returns: Datetime object with year, month, and day fields filled in if the day_token could be parsed. Otherwise, None.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">if</span> <span class="n">day_token</span> <span class="o">==</span> <span class="s">&#39;tomorrow&#39;</span><span class="p">:</span> <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">today</span><span class="p">()</span> <span class="o">+</span> <span class="n">datetime</span><span class="o">.</span><span class="n">timedelta</span><span class="p">(</span><span class="n">hours</span><span class="o">=</span><span class="mi">24</span><span class="p">)</span> <span class="k">elif</span> <span class="n">day_token</span> <span class="o">==</span> <span class="s">&#39;today&#39;</span><span class="p">:</span> <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">today</span><span class="p">()</span> <span class="k">else</span><span class="p">:</span> <span class="n">date</span><span class="p">,</span> <span class="n">valid_format</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">_extract_time</span><span class="p">(</span><span class="n">day_token</span><span class="p">,</span> <span class="n">ACCEPTED_DAY_FORMATS</span><span class="p">)</span> <span class="k">if</span> <span class="ow">not</span> <span class="n">date</span><span class="p">:</span> <span class="n">LOG</span><span class="o">.</span><span class="n">debug</span><span class="p">(</span><span class="s">&#39;</span><span class="si">%s</span><span class="s"> did not match any expected day formats&#39;</span> <span class="o">%</span> <span class="n">day_token</span><span class="p">)</span> <span class="k">return</span> <span class="bp">None</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-55'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-55'>#</a> </div> <p>If the year was not explicitly mentioned... (strptime will set a default year of 1900)</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">if</span> <span class="n">valid_format</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span><span class="o">.</span><span class="n">find</span><span class="p">(</span><span class="s">&#39;%y&#39;</span><span class="p">)</span> <span class="o">==</span> <span class="o">-</span><span class="mi">1</span><span class="p">:</span> <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">_day_has_passed</span><span class="p">(</span><span class="n">date</span><span class="p">)</span> <span class="ow">and</span> <span class="n">shift_dates</span><span class="p">:</span> <span class="n">date</span> <span class="o">=</span> <span class="n">date</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="n">year</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">today</span><span class="p">()</span><span class="o">.</span><span class="n">year</span> <span class="o">+</span> <span class="mi">1</span><span class="p">)</span> <span class="k">else</span><span class="p">:</span> <span class="n">date</span> <span class="o">=</span> <span class="n">date</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="n">year</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">today</span><span class="p">()</span><span class="o">.</span><span class="n">year</span><span class="p">)</span> <span class="k">return</span> <span class="n">date</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-56'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-56'>#</a> </div> <p>Parses time token into a time.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">determine_time</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">time_token</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-57'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-57'>#</a> </div> <p>Note: ambiguous times like "6" are converted according to how Google Calendar interprets them. So "1" - "6" are converted to 13-18 on a 24 hour clock.</p> <p>Args: time_token: String to be interpreted as an hour and minute.</p> <p>Returns: Time object with hour and minute fields filled in if the time_token could be parsed. Otherwise, None.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">hour</span><span class="p">,</span> <span class="n">minute</span> <span class="o">=</span> <span class="n">parse_ambiguous_time</span><span class="p">(</span><span class="n">time_token</span><span class="p">)</span> <span class="k">if</span> <span class="p">(</span><span class="n">hour</span> <span class="ow">or</span> <span class="n">minute</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-58'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-58'>#</a> </div> <p>The ambiguous hours arranged in order, according to Google Calendar: 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">if</span> <span class="mi">1</span> <span class="o">&lt;=</span> <span class="n">hour</span> <span class="ow">and</span> <span class="n">hour</span> <span class="o">&lt;=</span> <span class="mi">6</span><span class="p">:</span> <span class="n">hour</span> <span class="o">+=</span> <span class="mi">12</span> <span class="k">else</span><span class="p">:</span> <span class="n">tmp</span><span class="p">,</span> <span class="n">_</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">_extract_time</span><span class="p">(</span><span class="n">time_token</span><span class="p">,</span> <span class="n">ACCEPTED_TIME_FORMATS</span><span class="p">)</span> <span class="k">if</span> <span class="ow">not</span> <span class="n">tmp</span><span class="p">:</span> <span class="n">LOG</span><span class="o">.</span><span class="n">debug</span><span class="p">(</span><span class="s">&#39;</span><span class="si">%s</span><span class="s"> did not match any expected time formats&#39;</span><span class="p">)</span> <span class="k">return</span> <span class="bp">None</span> <span class="n">hour</span> <span class="o">=</span> <span class="n">tmp</span><span class="o">.</span><span class="n">hour</span> <span class="n">minute</span> <span class="o">=</span> <span class="n">tmp</span><span class="o">.</span><span class="n">minute</span> <span class="k">return</span> <span class="n">datetime</span><span class="o">.</span><span class="n">time</span><span class="p">(</span><span class="n">hour</span><span class="o">=</span><span class="n">hour</span><span class="p">,</span> <span class="n">minute</span><span class="o">=</span><span class="n">minute</span><span class="p">)</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-59'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-59'>#</a> </div> <p>Returns date data contained in a string.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">_extract_time</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">time_string</span><span class="p">,</span> <span class="n">possible_formats</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-60'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-60'>#</a> </div> <p>Args: time_string: String representing a date and/or time. possible_formats: List of possible formats "time" may be in.</p> <p>Returns: Tuple of (datetime, format) with the datetime object populated by data found in "time" according to the returned format, or (None, None) if no formats matched.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">for</span> <span class="n">time_format</span> <span class="ow">in</span> <span class="n">possible_formats</span><span class="p">:</span> <span class="k">try</span><span class="p">:</span> <span class="n">date</span> <span class="o">=</span> <span class="n">datetime</span><span class="o">.</span><span class="n">datetime</span><span class="o">.</span><span class="n">strptime</span><span class="p">(</span><span class="n">time_string</span><span class="p">,</span> <span class="n">time_format</span><span class="p">)</span> <span class="k">except</span> <span class="ne">ValueError</span><span class="p">,</span> <span class="n">err</span><span class="p">:</span> <span class="k">continue</span> <span class="k">else</span><span class="p">:</span> <span class="k">return</span> <span class="n">date</span><span class="p">,</span> <span class="n">time_format</span> <span class="k">return</span> <span class="bp">None</span><span class="p">,</span> <span class="bp">None</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-61'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-61'>#</a> </div> <p>Checks if time has already passed the current time.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">_time_has_passed</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">time_container</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-62'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-62'>#</a> </div> <p>Args: time_container: Object with hour and minute fields.</p> <p>Returns: True if the given time has passed, False otherwise.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">now</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">now</span><span class="p">()</span> <span class="k">return</span> <span class="p">(</span><span class="n">time_container</span><span class="o">.</span><span class="n">hour</span> <span class="o">&lt;</span> <span class="n">now</span><span class="o">.</span><span class="n">hour</span> <span class="ow">or</span> <span class="p">(</span><span class="n">time_container</span><span class="o">.</span><span class="n">hour</span> <span class="o">==</span> <span class="n">now</span><span class="o">.</span><span class="n">hour</span> <span class="ow">and</span> <span class="n">time_container</span><span class="o">.</span><span class="n">minute</span> <span class="o">&lt;</span> <span class="n">now</span><span class="o">.</span><span class="n">minute</span><span class="p">))</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-63'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-63'>#</a> </div> <p>Holds info on a range of dates entered by the user.</p> </div> <div class='code'> <div class="highlight"><pre><span class="k">class</span> <span class="nc">DateRange</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-64'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-64'>#</a> </div> <p>Initializes the object.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">start</span><span class="p">,</span> <span class="n">end</span><span class="p">,</span> <span class="n">is_range</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-65'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-65'>#</a> </div> <p>Args: start: Start of the range. end: End of the range. is_range: Set True if the user specified this range as a range, False if it was interpreted as a range.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="bp">self</span><span class="o">.</span><span class="n">start</span> <span class="o">=</span> <span class="n">start</span> <span class="bp">self</span><span class="o">.</span><span class="n">end</span> <span class="o">=</span> <span class="n">end</span> <span class="bp">self</span><span class="o">.</span><span class="n">specified_as_range</span> <span class="o">=</span> <span class="n">is_range</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-66'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-66'>#</a> </div> <p>Returns Google Calendar friendly text for "when" attribute.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">to_when</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-67'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-67'>#</a> </div> <p>Raises: Error: starting point or ending point are not defined.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">if</span> <span class="ow">not</span> <span class="bp">self</span><span class="o">.</span><span class="n">start</span> <span class="ow">or</span> <span class="ow">not</span> <span class="bp">self</span><span class="o">.</span><span class="n">end</span><span class="p">:</span> <span class="k">raise</span> <span class="n">Error</span><span class="p">(</span><span class="s">&#39;Cannot convert range of dates without start and end points.&#39;</span><span class="p">)</span> <span class="k">else</span><span class="p">:</span> <span class="n">start</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">start</span> <span class="k">if</span> <span class="ow">not</span> <span class="bp">self</span><span class="o">.</span><span class="n">specified_as_range</span><span class="p">:</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-68'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-68'>#</a> </div> <p>If only a start date was given...</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">start</span><span class="o">.</span><span class="n">all_day</span><span class="p">:</span> <span class="n">end</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">start</span> <span class="o">+</span> <span class="n">datetime</span><span class="o">.</span><span class="n">timedelta</span><span class="p">(</span><span class="n">hours</span><span class="o">=</span><span class="mi">24</span><span class="p">)</span> <span class="k">else</span><span class="p">:</span> <span class="n">end</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">start</span> <span class="o">+</span> <span class="n">datetime</span><span class="o">.</span><span class="n">timedelta</span><span class="p">(</span><span class="n">hours</span><span class="o">=</span><span class="mi">1</span><span class="p">)</span> <span class="k">else</span><span class="p">:</span> <span class="n">end</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">end</span> <span class="k">return</span> <span class="n">start</span><span class="o">.</span><span class="n">to_when</span><span class="p">(),</span> <span class="n">end</span><span class="o">.</span><span class="n">to_when</span><span class="p">()</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-69'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-69'>#</a> </div> <p>Parser that treats strings as ranges.</p> </div> <div class='code'> <div class="highlight"><pre><span class="k">class</span> <span class="nc">DateRangeParser</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-70'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-70'>#</a> </div> </div> <div class='code'> <div class="highlight"><pre></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-71'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-71'>#</a> </div> <p>Initializes the object.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">today</span><span class="o">=</span><span class="bp">None</span><span class="p">,</span> <span class="n">now</span><span class="o">=</span><span class="bp">None</span><span class="p">,</span> <span class="n">range_tokenizers</span><span class="o">=</span><span class="bp">None</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-72'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-72'>#</a> </div> <p>Args: today: Callback that returns the date. now: Callback that returns the date and time. range_tokenizers: List of strings that will be used to split date strings into tokens. Default None to use module default.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="bp">self</span><span class="o">.</span><span class="n">date_parser</span> <span class="o">=</span> <span class="n">DateParser</span><span class="p">(</span><span class="n">today</span><span class="p">,</span> <span class="n">now</span><span class="p">)</span> <span class="k">if</span> <span class="n">range_tokenizers</span> <span class="ow">is</span> <span class="bp">None</span><span class="p">:</span> <span class="n">range_tokenizers</span> <span class="o">=</span> <span class="n">_RANGE_TOKENIZERS</span> <span class="bp">self</span><span class="o">.</span><span class="n">range_tokenizers</span> <span class="o">=</span> <span class="n">range_tokenizers</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-73'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-73'>#</a> </div> <p>"Parses a string into a start and end date.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="k">def</span> <span class="nf">parse</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">date_string</span><span class="p">,</span> <span class="n">shift_dates</span><span class="o">=</span><span class="bp">False</span><span class="p">):</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-74'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-74'>#</a> </div> <p>Note: This is Google Calendar specific. If date_string does not contain a range tokenizer, it will be treated as the starting date of a one day range.</p> <p>Args: date_string: String to parse. shift_dates: Whether or not to shift a date to next year if it has occurred earlier than today. See documentation for DateParser. Default False.</p> <p>Returns: Tuple of (start_date, end_date), representing start and end dates of the range. Either may be None, in which case it is an open range (i.e. from start until the distant future, or from the distant past until the end date.) If date_string is empty or None, this will be (None, None).</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">start_date</span> <span class="o">=</span> <span class="bp">None</span> <span class="n">end_date</span> <span class="o">=</span> <span class="bp">None</span> <span class="n">start_text</span><span class="p">,</span> <span class="n">is_range</span><span class="p">,</span> <span class="n">end_text</span> <span class="o">=</span> <span class="n">split_string</span><span class="p">(</span><span class="n">date_string</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">range_tokenizers</span><span class="p">)</span> <span class="k">if</span> <span class="n">start_text</span><span class="p">:</span> <span class="n">start_date</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">date_parser</span><span class="o">.</span><span class="n">parse</span><span class="p">(</span><span class="n">start_text</span><span class="p">,</span> <span class="n">shift_dates</span><span class="o">=</span><span class="n">shift_dates</span><span class="p">)</span> <span class="k">if</span> <span class="n">end_text</span><span class="p">:</span> <span class="k">if</span> <span class="n">start_date</span><span class="p">:</span> <span class="n">base</span> <span class="o">=</span> <span class="n">start_date</span><span class="o">.</span><span class="n">local</span> <span class="k">else</span><span class="p">:</span> <span class="n">base</span> <span class="o">=</span> <span class="bp">None</span> <span class="n">end_date</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">date_parser</span><span class="o">.</span><span class="n">parse</span><span class="p">(</span><span class="n">end_text</span><span class="p">,</span> <span class="n">base</span><span class="o">=</span><span class="n">base</span><span class="p">,</span> <span class="n">shift_dates</span><span class="o">=</span><span class="n">shift_dates</span><span class="p">)</span> <span class="k">elif</span> <span class="ow">not</span> <span class="n">is_range</span><span class="p">:</span></pre></div> </div> </div> <div class='clearall'></div> <div class='section' id='section-75'> <div class='docs'> <div class='octowrap'> <a class='octothorpe' href='#section-75'>#</a> </div> <p>If no range tokenizer was given, the end date is effectively the day after the given date.</p> </div> <div class='code'> <div class="highlight"><pre> <span class="n">end_date</span> <span class="o">=</span> <span class="n">start_date</span> <span class="k">return</span> <span class="n">DateRange</span><span class="p">(</span><span class="n">start_date</span><span class="p">,</span> <span class="n">end_date</span><span class="p">,</span> <span class="n">is_range</span><span class="p">)</span> </pre></div> </div> </div> <div class='clearall'></div> </div> </body>
charany1/googlecl
docs/date.html
HTML
mit
75,699
<div id="footer"> <div class="footerleft"> &copy; 2009 by Owners. Some rights reserved. </div> <div class="footerright"> <a href="http://www.djangoproject.com"><img alt="Made With Django" src="{{ MEDIA_URL }}img/madewithdjango.gif" /></a> </div> </div>
tarequeh/little-ebay
example/templates/footer.html
HTML
mit
284
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>W29217_text</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;"> <div style="float: left;"> <a href="index.html">&laquo;</a> </div> <div style="float: right;"> </div> </div> <hr/> <div style="position: absolute; margin-left: 1171px; margin-top: 191px;"> <p class="styleSans8.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>"></p> </div> <div style="position: absolute; margin-left: 1234px; margin-top: 191px;"> <p class="styleSans9.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">Gyrodata Directional </p> </div> <div style="position: absolute; margin-left: 1906px; margin-top: 191px;"> <p class="styleSans8.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">Survey </p> </div> <div style="position: absolute; margin-left: 276px; margin-top: 255px;"> <p class="styleSans11.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">ConocoPhillips <br/>Lease: CCU North Coast Well: 4—8-23MBH, 5" Drill Pipe Location: Precision #567, Dunn County, North Dakota Job Number: RM1014GDM591 </p> </div> <div style="position: absolute; margin-left: 276px; margin-top: 532px;"> <p class="styleSans8.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">MEASURED DEPTH feet </p> </div> <div style="position: absolute; margin-left: 612px; margin-top: 532px;"> <p class="styleSans9.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">INCL <br/>deg. </p> </div> <div style="position: absolute; margin-left: 780px; margin-top: 532px;"> <p class="styleSans8.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">AZIMUTH <br/>deg. </p> </div> <div style="position: absolute; margin-left: 340px; margin-top: 873px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">7756.58 7850.23 7944.20 </p> </div> <div style="position: absolute; margin-left: 276px; margin-top: 2257px;"> <p class="styleSans9.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">Page 6 of6 </p> </div> <div style="position: absolute; margin-left: 1086px; margin-top: 532px;"> <p class="styleSans11.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">DOGLEG SEVERITY deg./ 100 ft. </p> </div> <div style="position: absolute; margin-left: 1359px; margin-top: 532px;"> <p class="styleSans11.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">VERTICAL CLOSURE DEPTH DIST. AZIMUTH feet feet deg. </p> </div> <div style="position: absolute; margin-left: 617px; margin-top: 873px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">20.38 20.32 20.40 </p> </div> <div style="position: absolute; margin-left: 2151px; margin-top: 532px;"> <p class="styleSans9.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">HORIZONTAL COORDINATES </p> </div> <div style="position: absolute; margin-left: 2300px; margin-top: 639px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">feet </p> </div> <div style="position: absolute; margin-left: 873px; margin-top: 873px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">91.48 95.06 96.03 </p> </div> <div style="position: absolute; margin-left: 1171px; margin-top: 873px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">0.09 1.33 0.37 </p> </div> <div style="position: absolute; margin-left: 2385px; margin-top: 1639px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">2013.12 E </p> </div> <div style="position: absolute; margin-left: 1426px; margin-top: 873px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">7484.38 7572.18 7660.28 </p> </div> <div style="position: absolute; margin-left: 276px; margin-top: 1065px;"> <p class="styleSans8.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">8038.17 20.29 101.03 <br/>8132.12 20.31 105.48 8226.12 20.20 109.17 8319.95 20.13 111.16 8413.98 20.25 105.43 8507.60 20.31 103.47 8601.52 20.27 102.83 8695.12 20.28 102.22 8789.20 20.22 103.27 8882.92 20.30 98.50 8945.61 20.34 93.62 <br/>Final Station Closure: Distance: 2029.26 ft </p> </div> <div style="position: absolute; margin-left: 1095px; margin-top: 1065px;"> <p class="styleSans9.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">1.85 1.64 1.36 0.73 2.11 <br/>0.73 0.24 0.23 0.39 1.76 <br/>2.70 <br/>A2: 97.23 deg. </p> </div> <div style="position: absolute; margin-left: 1431px; margin-top: 1065px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">7748.40 7836.52 7924.71 8012.79 8101.05 <br/>8188.87 8276.96 8364.76 8453.02 8540.95 <br/>8599.75 </p> </div> <div style="position: absolute; margin-left: 1725px; margin-top: 873px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">1620.7 1653.2 1685.9 </p> </div> <div style="position: absolute; margin-left: 1893px; margin-top: 873px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">96.0 95.9 95.9 </p> </div> <div style="position: absolute; margin-left: 1725px; margin-top: 1065px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">1718.5 1750.8 1782.8 1814.2 1845.9 <br/>1878.1 1910.5 1942.7 1975.1 2007.5 <br/>2029.3 </p> </div> <div style="position: absolute; margin-left: 1893px; margin-top: 1065px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">96.0 96.1 96.3 96.6 96.8 <br/>96.9 97.0 97.1 97.2 97.2 <br/>97.2 </p> </div> <div style="position: absolute; margin-left: 2130px; margin-top: 873px;"> <p class="styleSans8.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">168.95 S 170.81 S 173.97 S </p> </div> <div style="position: absolute; margin-left: 2130px; margin-top: 1065px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">178.80 186.27 195.96 207.10 217.28 <br/>225.37 232.78 239.81 247.00 253.12 <br/>255.41 <br/>mmmmm <br/>mmmmm </p> </div> <div style="position: absolute; margin-left: 2385px; margin-top: 873px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">1611.87 1644.37 1676.91 </p> </div> <div style="position: absolute; margin-left: 2553px; margin-top: 873px;"> <p class="styleSans1.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">mmm </p> </div> <div style="position: absolute; margin-left: 2385px; margin-top: 1065px;"> <p class="styleSans7.0000<enum PANGO_WEIGHT_NORMAL of type PangoWeight><enum PANGO_STYLE_NORMAL of type PangoStyle>">1709.20 E 1740.90 E 1771.95 E 1802.31 E 1833.09 E <br/>1864.51 E 1896.22 E 1927.89 E 1959.64 E 1991.49 E </p> </div> </body> </html>
datamade/elpc_bakken
ocr_extracted/W29217_text/page2.html
HTML
mit
8,186
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>spgl.grandom</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <script type="text/javascript" src="epydoc.js"></script> </head> <body bgcolor="white" text="black" link="blue" vlink="#204080" alink="#204080"> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Home link --> <th>&nbsp;&nbsp;&nbsp;<a href="spgl-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th> <!-- Tree link --> <th>&nbsp;&nbsp;&nbsp;<a href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th> <!-- Index link --> <th>&nbsp;&nbsp;&nbsp;<a href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th> <!-- Help link --> <th>&nbsp;&nbsp;&nbsp;<a href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th> <th class="navbar" width="100%"></th> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td width="100%"> <span class="breadcrumbs"> <a href="spgl-module.html">Package&nbsp;spgl</a> :: Module&nbsp;grandom </span> </td> <td> <table cellpadding="0" cellspacing="0"> <!-- hide/show private --> <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr> <tr><td align="right"><span class="options" >[<a href="frames.html" target="_top">frames</a >]&nbsp;|&nbsp;<a href="spgl.grandom-pysrc.html" target="_top">no&nbsp;frames</a>]</span></td></tr> </table> </td> </tr> </table> <h1 class="epydoc">Source Code for <a href="spgl.grandom-module.html">Module spgl.grandom</a></h1> <pre class="py-src"> <a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-docstring">'''</tt> </tt> <a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-docstring">This file exports functions for generating pseudorandom numbers.</tt> </tt> <a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-docstring">'''</tt> </tt> <a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">random</tt> </tt> <a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"> </tt> <a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt id="link-0" class="py-name" targets="Variable spgl.grandom.__INITIALIZED__=spgl.grandom-module.html#__INITIALIZED__"><a title="spgl.grandom.__INITIALIZED__" class="py-name" href="#" onclick="return doclink('link-0', '__INITIALIZED__', 'link-0');">__INITIALIZED__</a></tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> <tt class="py-comment">#: Flag to check if seeded</tt> </tt> <a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"> </tt> <a name="initRandomSeed"></a><div id="initRandomSeed-def"><a name="L8"></a><tt class="py-lineno"> 8</tt> <a class="py-toggle" href="#" id="initRandomSeed-toggle" onclick="return toggle('initRandomSeed');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="spgl.grandom-module.html#initRandomSeed">initRandomSeed</a><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="initRandomSeed-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="initRandomSeed-expanded"><a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"> <tt class="py-docstring">'''</tt> </tt> <a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"><tt class="py-docstring"> Internal function</tt> </tt> <a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"><tt class="py-docstring"> '''</tt> </tt> <a name="L12"></a><tt class="py-lineno">12</tt> <tt class="py-line"> <tt class="py-keyword">global</tt> <tt id="link-1" class="py-name"><a title="spgl.grandom.__INITIALIZED__" class="py-name" href="#" onclick="return doclink('link-1', '__INITIALIZED__', 'link-0');">__INITIALIZED__</a></tt> </tt> <a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"> <tt class="py-keyword">if</tt><tt class="py-op">(</tt><tt id="link-2" class="py-name"><a title="spgl.grandom.__INITIALIZED__" class="py-name" href="#" onclick="return doclink('link-2', '__INITIALIZED__', 'link-0');">__INITIALIZED__</a></tt> <tt class="py-op">==</tt> <tt class="py-name">False</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> <a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"> <tt class="py-name">random</tt><tt class="py-op">.</tt><tt class="py-name">seed</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"> <tt id="link-3" class="py-name"><a title="spgl.grandom.__INITIALIZED__" class="py-name" href="#" onclick="return doclink('link-3', '__INITIALIZED__', 'link-0');">__INITIALIZED__</a></tt> <tt class="py-op">=</tt> <tt class="py-name">True</tt> </tt> </div><a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> </tt> <a name="randomInteger"></a><div id="randomInteger-def"><a name="L17"></a><tt class="py-lineno">17</tt> <a class="py-toggle" href="#" id="randomInteger-toggle" onclick="return toggle('randomInteger');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="spgl.grandom-module.html#randomInteger">randomInteger</a><tt class="py-op">(</tt><tt class="py-param">low</tt><tt class="py-op">,</tt> <tt class="py-param">high</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="randomInteger-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="randomInteger-expanded"><a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"> <tt class="py-docstring">'''</tt> </tt> <a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"><tt class="py-docstring"> Returns a random integer in the range low to</tt> </tt> <a name="L20"></a><tt class="py-lineno">20</tt> <tt class="py-line"><tt class="py-docstring"> high, inclusive.</tt> </tt> <a name="L21"></a><tt class="py-lineno">21</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt> <a name="L22"></a><tt class="py-lineno">22</tt> <tt class="py-line"><tt class="py-docstring"> @type low: int</tt> </tt> <a name="L23"></a><tt class="py-lineno">23</tt> <tt class="py-line"><tt class="py-docstring"> @param low: lower bound</tt> </tt> <a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"><tt class="py-docstring"> @type high: int</tt> </tt> <a name="L25"></a><tt class="py-lineno">25</tt> <tt class="py-line"><tt class="py-docstring"> @param high: upper bound</tt> </tt> <a name="L26"></a><tt class="py-lineno">26</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: int</tt> </tt> <a name="L27"></a><tt class="py-lineno">27</tt> <tt class="py-line"><tt class="py-docstring"> '''</tt> </tt> <a name="L28"></a><tt class="py-lineno">28</tt> <tt class="py-line"> <tt id="link-4" class="py-name" targets="Function spgl.grandom.initRandomSeed()=spgl.grandom-module.html#initRandomSeed"><a title="spgl.grandom.initRandomSeed" class="py-name" href="#" onclick="return doclink('link-4', 'initRandomSeed', 'link-4');">initRandomSeed</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L29"></a><tt class="py-lineno">29</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">random</tt><tt class="py-op">.</tt><tt class="py-name">randint</tt><tt class="py-op">(</tt><tt class="py-name">low</tt><tt class="py-op">,</tt> <tt class="py-name">high</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt> </div><a name="L30"></a><tt class="py-lineno">30</tt> <tt class="py-line"> </tt> <a name="randomReal"></a><div id="randomReal-def"><a name="L31"></a><tt class="py-lineno">31</tt> <a class="py-toggle" href="#" id="randomReal-toggle" onclick="return toggle('randomReal');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="spgl.grandom-module.html#randomReal">randomReal</a><tt class="py-op">(</tt><tt class="py-param">low</tt><tt class="py-op">,</tt> <tt class="py-param">high</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="randomReal-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="randomReal-expanded"><a name="L32"></a><tt class="py-lineno">32</tt> <tt class="py-line"> <tt class="py-docstring">'''</tt> </tt> <a name="L33"></a><tt class="py-lineno">33</tt> <tt class="py-line"><tt class="py-docstring"> Returns a random real number in the half-open interval</tt> </tt> <a name="L34"></a><tt class="py-lineno">34</tt> <tt class="py-line"><tt class="py-docstring"> [low&amp;nbsp;..&amp;nbsp;high). A half-open</tt> </tt> <a name="L35"></a><tt class="py-lineno">35</tt> <tt class="py-line"><tt class="py-docstring"> interval includes the first endpoint but not the second, which</tt> </tt> <a name="L36"></a><tt class="py-lineno">36</tt> <tt class="py-line"><tt class="py-docstring"> means that the result is always greater than or equal to</tt> </tt> <a name="L37"></a><tt class="py-lineno">37</tt> <tt class="py-line"><tt class="py-docstring"> low but strictly less than high.</tt> </tt> <a name="L38"></a><tt class="py-lineno">38</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt> <a name="L39"></a><tt class="py-lineno">39</tt> <tt class="py-line"><tt class="py-docstring"> @type low: float</tt> </tt> <a name="L40"></a><tt class="py-lineno">40</tt> <tt class="py-line"><tt class="py-docstring"> @param low: lower bound</tt> </tt> <a name="L41"></a><tt class="py-lineno">41</tt> <tt class="py-line"><tt class="py-docstring"> @type high: float</tt> </tt> <a name="L42"></a><tt class="py-lineno">42</tt> <tt class="py-line"><tt class="py-docstring"> @param high: upper bound</tt> </tt> <a name="L43"></a><tt class="py-lineno">43</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: float</tt> </tt> <a name="L44"></a><tt class="py-lineno">44</tt> <tt class="py-line"><tt class="py-docstring"> '''</tt> </tt> <a name="L45"></a><tt class="py-lineno">45</tt> <tt class="py-line"> <tt id="link-5" class="py-name"><a title="spgl.grandom.initRandomSeed" class="py-name" href="#" onclick="return doclink('link-5', 'initRandomSeed', 'link-4');">initRandomSeed</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L46"></a><tt class="py-lineno">46</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">random</tt><tt class="py-op">.</tt><tt class="py-name">uniform</tt><tt class="py-op">(</tt><tt class="py-name">low</tt><tt class="py-op">,</tt> <tt class="py-name">high</tt><tt class="py-op">)</tt> </tt> </div><a name="L47"></a><tt class="py-lineno">47</tt> <tt class="py-line"> </tt> <a name="randomChance"></a><div id="randomChance-def"><a name="L48"></a><tt class="py-lineno">48</tt> <a class="py-toggle" href="#" id="randomChance-toggle" onclick="return toggle('randomChance');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="spgl.grandom-module.html#randomChance">randomChance</a><tt class="py-op">(</tt><tt class="py-param">p</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="randomChance-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="randomChance-expanded"><a name="L49"></a><tt class="py-lineno">49</tt> <tt class="py-line"> <tt class="py-docstring">'''</tt> </tt> <a name="L50"></a><tt class="py-lineno">50</tt> <tt class="py-line"><tt class="py-docstring"> Returns true with the probability indicated by p.</tt> </tt> <a name="L51"></a><tt class="py-lineno">51</tt> <tt class="py-line"><tt class="py-docstring"> The argument p must be a floating-point number between</tt> </tt> <a name="L52"></a><tt class="py-lineno">52</tt> <tt class="py-line"><tt class="py-docstring"> 0 (never) and 1 (always). For example, calling</tt> </tt> <a name="L53"></a><tt class="py-lineno">53</tt> <tt class="py-line"><tt class="py-docstring"> randomChance(.30) returns true 30 percent</tt> </tt> <a name="L54"></a><tt class="py-lineno">54</tt> <tt class="py-line"><tt class="py-docstring"> of the time.</tt> </tt> <a name="L55"></a><tt class="py-lineno">55</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt> <a name="L56"></a><tt class="py-lineno">56</tt> <tt class="py-line"><tt class="py-docstring"> @type p: float</tt> </tt> <a name="L57"></a><tt class="py-lineno">57</tt> <tt class="py-line"><tt class="py-docstring"> @param p: percent chance of being true</tt> </tt> <a name="L58"></a><tt class="py-lineno">58</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: boolean</tt> </tt> <a name="L59"></a><tt class="py-lineno">59</tt> <tt class="py-line"><tt class="py-docstring"> '''</tt> </tt> <a name="L60"></a><tt class="py-lineno">60</tt> <tt class="py-line"> <tt id="link-6" class="py-name"><a title="spgl.grandom.initRandomSeed" class="py-name" href="#" onclick="return doclink('link-6', 'initRandomSeed', 'link-4');">initRandomSeed</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L61"></a><tt class="py-lineno">61</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt id="link-7" class="py-name" targets="Function spgl.grandom.randomReal()=spgl.grandom-module.html#randomReal"><a title="spgl.grandom.randomReal" class="py-name" href="#" onclick="return doclink('link-7', 'randomReal', 'link-7');">randomReal</a></tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">,</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> <tt class="py-op">&lt;</tt> <tt class="py-name">p</tt><tt class="py-op">)</tt> </tt> </div><a name="L62"></a><tt class="py-lineno">62</tt> <tt class="py-line"> </tt> <a name="setRandomSeed"></a><div id="setRandomSeed-def"><a name="L63"></a><tt class="py-lineno">63</tt> <a class="py-toggle" href="#" id="setRandomSeed-toggle" onclick="return toggle('setRandomSeed');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="spgl.grandom-module.html#setRandomSeed">setRandomSeed</a><tt class="py-op">(</tt><tt class="py-param">seed</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="setRandomSeed-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="setRandomSeed-expanded"><a name="L64"></a><tt class="py-lineno">64</tt> <tt class="py-line"> <tt class="py-docstring">'''</tt> </tt> <a name="L65"></a><tt class="py-lineno">65</tt> <tt class="py-line"><tt class="py-docstring"> Sets the internal random number seed to the specified value. You</tt> </tt> <a name="L66"></a><tt class="py-lineno">66</tt> <tt class="py-line"><tt class="py-docstring"> can use this function to set a specific starting point for the</tt> </tt> <a name="L67"></a><tt class="py-lineno">67</tt> <tt class="py-line"><tt class="py-docstring"> pseudorandom sequence or to ensure that program behavior is</tt> </tt> <a name="L68"></a><tt class="py-lineno">68</tt> <tt class="py-line"><tt class="py-docstring"> repeatable during the debugging phase.</tt> </tt> <a name="L69"></a><tt class="py-lineno">69</tt> <tt class="py-line"><tt class="py-docstring"> </tt> </tt> <a name="L70"></a><tt class="py-lineno">70</tt> <tt class="py-line"><tt class="py-docstring"> @type seed: Hashable</tt> </tt> <a name="L71"></a><tt class="py-lineno">71</tt> <tt class="py-line"><tt class="py-docstring"> @param seed: seed value</tt> </tt> <a name="L72"></a><tt class="py-lineno">72</tt> <tt class="py-line"><tt class="py-docstring"> @rtype: void</tt> </tt> <a name="L73"></a><tt class="py-lineno">73</tt> <tt class="py-line"><tt class="py-docstring"> '''</tt> </tt> <a name="L74"></a><tt class="py-lineno">74</tt> <tt class="py-line"> <tt id="link-8" class="py-name"><a title="spgl.grandom.initRandomSeed" class="py-name" href="#" onclick="return doclink('link-8', 'initRandomSeed', 'link-4');">initRandomSeed</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L75"></a><tt class="py-lineno">75</tt> <tt class="py-line"> <tt class="py-name">random</tt><tt class="py-op">.</tt><tt class="py-name">seed</tt><tt class="py-op">(</tt><tt class="py-name">seed</tt><tt class="py-op">)</tt> </tt> </div><a name="L76"></a><tt class="py-lineno">76</tt> <tt class="py-line"> </tt><script type="text/javascript"> <!-- expandto(location.href); // --> </script> </pre> <br /> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Home link --> <th>&nbsp;&nbsp;&nbsp;<a href="spgl-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th> <!-- Tree link --> <th>&nbsp;&nbsp;&nbsp;<a href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th> <!-- Index link --> <th>&nbsp;&nbsp;&nbsp;<a href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th> <!-- Help link --> <th>&nbsp;&nbsp;&nbsp;<a href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th> <th class="navbar" width="100%"></th> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%%"> <tr> <td align="left" class="footer"> Generated by Epydoc 3.0.1 on Fri May 10 02:58:16 2013 </td> <td align="right" class="footer"> <a target="mainFrame" href="http://epydoc.sourceforge.net" >http://epydoc.sourceforge.net</a> </td> </tr> </table> <script type="text/javascript"> <!-- // Private objects are initially displayed (because if // javascript is turned off then we want them to be // visible); but by default, we want to hide them. So hide // them unless we have a cookie that says to show them. checkCookie(); // --> </script> </body> </html>
SarahPythonista/acmpy
docs/spgl.grandom-pysrc.html
HTML
mit
18,762
--- layout: default --- <article class="post" id="post"> <header class="post-header"> <h1 class="post-title">{{ page.title }}</h1> <!-- <hr class="separator" /> --> {% if page.sub_title %} <h2 class="post-sub-title">{{ page.sub_title }}</h2> {% endif %} </header> {% assign pages = site.pages | sort: 'page_rank' %} {% for my_page in pages %} <div class="books-book"> {% if my_page.title != null and my_page.show_in_books != null %} {% if my_page.is_parent %} <a href="{{ my_page.url | prepend: site.baseurl }}"> <h3 class="books-series-title">{{ my_page.title }}</h3> </a> <p> {{ my_page.desc_short}} </p> <!-- <div class="series-book-list" id="series-books"> <h2>Books in reading order</h2> {% include separator-narrow.html %} <ul> {% assign pages = site.pages | sort: 'page_rank' %} {% for child_page in pages %} {% if child_page.title != null and child_page.show_in_books != null and child_page.parent == my_page.id %} <li> <a href="{{ child_page.url | prepend: site.baseurl }}"> {{ child_page.title }} </a> </li> {% endif %} {% endfor %} </ul> </div> --> {% endif %} {% if my_page.is_child %} <h4>{{ my_page.book_number }}. <a href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a></h4> <!-- <h4>{{ my_page.sub_title }}</h4> --> <!-- <div class="books-container"> <div class="books-column books-col1"> <a href="{{ my_page.url | prepend: site.baseurl }}" title="{{ my_page.title }}"> <div class="img" style="background: url('{{ site.basebookimgurl }}{{ my_page.hero_twitter }}'); background-size: cover;"> </div> </a> </div> <div class="books-column books-col2"> {{ my_page.desc_short }} </div> </div> --> {% endif %} {% endif %} </div> {% endfor %} <div class="post-content"> {{ content }} </div> </article>
andrewserong/annamcilwraith
_layouts/books_page.html
HTML
mit
2,010
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>BWE Rocks</title> <meta name="description" content="Development, no bullshit"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,300,100italic"> <link rel="stylesheet" href="css/main.css"> <script src="js/vendor/modernizr-2.6.2.min.js"></script> </head> <body> <!--[if lt IE 7]> <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <![endif]--> <header class="PageHeader"> <div class="Wrapper"> <div class="PageHeader-Content"> <h1 class="PageHeader-Title"> <figure> <img class="Img--responsive" src="img/bbbwwweee.png"> <figcaption class="PageHeader-Title-Heading"> BWE - Digital Development Agency - No Bulls**t Since 2014 </figcaption> </figure> </h1> </div> </div> </header> <main class="PageContent"> <div class="Wrapper"> <div class="PageContent-Content"> <p> BWE é uma agência digital focada em criação e desenvolvimento de sites multiplataformas, sistemas e aplicativos web. </p> <p> Nosso método de trabalho inclui análise, UX/UI/AI, Design e Desenvolvimento (PHP, HTML JavaScript, CSS). </p> <a class="SocialLink" href="mailto:[email protected]"> <img class="SocialLink-Icon" src="img/icon-mail.png"> [email protected] </a> <a class="SocialLink" href="http://ello.co/bwe" rel="external"> <img class="SocialLink-Icon" src="img/icon-ello.png"> ello.co/bwe </a> <form action="https://docs.google.com/forms/d/1CjUesN_zybXPpuPNGhhnPx05aeDpSkDzumfsxIVMdd4/formResponse" class="Form js-contact-form"> <legend class="Form-Legend">Deseja mais informações? Entre em contato:</legend> <fieldset> <label class="Form-Label"> <span>Nome (obrigatório)</span> <input class="Form-Input" type="text" placeholder="Nome (obrigatório)" name="entry.1883657676"> </label> <label class="Form-Label"> <span>E-mail (obrigatório)</span> <input class="Form-Input" type="email" placeholder="E-mail (obrigatório)" name="entry.156984000"> </label> <label class="Form-Label Form-Label--full"> <span>Mensagem (obrigatório)</span> <textarea class="Form-Input" placeholder="Mensagem (obrigatório)" name="entry.1358955039" rows="3"></textarea> </label> <button class="Form-Button Bt Bt--primary" type="submit">Enviar</button> </fieldset> </form> </div> </div> </main> <footer class="PageFooter"> © BWE - Digital.Development.Agency - No Bullsh**t since 2014 </footer> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.2.min.js"><\/script>')</script> <script src="js/plugins.js"></script> <script src="js/main.js"></script> <!-- Google Analytics: change UA-XXXXX-X to be your site's ID. --> <script> (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]= function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date; e=o.createElement(i);r=o.getElementsByTagName(i)[0]; e.src='//www.google-analytics.com/analytics.js'; r.parentNode.insertBefore(e,r)}(window,document,'script','ga')); ga('create','UA-XXXXX-X');ga('send','pageview'); </script> </body> </html>
bwerocks/bwerocks.github.io
index.html
HTML
mit
5,144
<!DOCTYPE html> <html> <meta charset="utf-8"> <head> <title>🐾 Teach Brian How to Code</title> <link rel="stylesheet" href="stylesheets/blog-stylesheet.css" type="text/css"> </head> <body> <div class="sub-div"> <p><a href="../index.html">Back to Home</a></p> </div> <main> <h6>Becoming Javascript Queen</h6> <h2>July 21, 2015</h2> <div class=tech-div> <h4>How to master JavaScript</h4> <p>After two unsuccessful javascript interviews, I decide to take some time and study in depth. Like it or not, JavaScript developer positions are much more than Ruby developer positions and I just can't ignore powerful libraries and their scalability! So What is JavaScript?</p> <p>JS is a single threaded lagnauge. JS is a dynamic, weakly typed, prototype-based language with <strong>first-class functions</strong>. If you think about it, DOM is JavaScript representation of HTML and browser. </p> <p>First, let's see how JS memory and variable works.</p> <img src='Screen-shot/varmemory.png'> <p>In this example, JS created the variable sum as a function and skip the function body. Next, It will create a, b and assigned to number and an object. When it try to create the variable c, it will invoke the function sum and then reads the function body. a and b becomes x and y and then it will return the result, which is 2 + 3 = 5</p> <p>Let's pretend there is a new variable d. If you call d = sum(a,b), what happen?</p> <p>It will still return 5. Because the system will create new variable d apart from c and assigned to sum(a,b) like they don't know nothing about c. </p> <p>As you can guess, if you call c(); it will returns 7. It is because it will bring c value and then execute again.</p> <p>Let's observe weired behavoir of javascript double and triple equal rules</p> <h4> '==' and '===' :The Performance Difference </h4> <div class="text-editor"> 21 == '21' //true undefined == null //true undefined === null //false 21 === 21 //true {} === {} //false - because they only compare the memory address of the two different objects. NaN === NaN //false true == {valueOf: function() {retur "1"}} //true - because they are trying to convert bullean value to ingeter 1. So it becomes a question of 1 == '1' </div> <p>So when we using ==, this will increse look up time dramatically if they have to match different type of things. For instance, if they want to see if true and the function returns '1' are equal(==), then it will first see if true can be validated as something else like integer and then convert to 1. And then it will see if this will be match with the string of '1'. And then finally it will determine 1 and '1' are same thing. So this is about the performance issue, not anything else.</p> <p>Note: I don't think this is super important or anything but 'Method' is function belongs to a object(so it is property of an object), function is just general scope of function</p> <p>There is also term called 'Native Array Method' which is like 'unshift' and 'push' in array. Function on array comes out of box of Javascript. </p> <div class="text-editor"> *Special key word 'arguments' var add = function(a,b) { console.log(arguments); }; add(3, 4, 5) // [3,4,5] in array like format </div> <h4>Scope scope scope!!!</h4> <div class='text-editor'> var extra = 'chocolate'; var blender = function(fruit) { var x = fruit ; var y = 'yogart'; var delic = function() { var ingred = 'milk'; console.log( fruit + ' and '+ y + ' and ' + extra) }; console.log("The x is " + ingred); delic(); } blender('strawberry'); //this will throw ReferenceError: ingred is not defined </div> <p>Conclusion: Parent can't access children's variables(ingred) but children can access parent's variables(x, y).</p> <p> function 'delic' can't be execute outside of the parent function 'blender'. The reason is that delic is a private function of blender. </p> <div class='text-editor'> var outerCounter = 10; var fn = function () { outerCounter = outerCounter + 1; ACTUAL = outerCounter; }; fn(); expect(ACTUAL === 11).to.be.true; console.log(outerCounter) // 11 fn(); expect(ACTUAL === 12).to.be.true; console.log(outerCounter) // 12 </div> <p>Because outerCounter is a global variable, it can be reset from anywhere. Compare with the following exercise</p> <div class='text-editor'> var fn = function () { var innerCounter = innerCounter || 10; innerCounter = innerCounter + 1; ACTUAL = innerCounter; }; fn(); expect(ACTUAL === 11).to.be.true; fn(); expect(ACTUAL === 11).to.be.true; </div> <p>A new variable scope is created for every call to a function. </p> <h4>Closure </h4> <div class=text-editor> var closureAlert = function() { var x = 0; var alerter = function() { alert(++x); } return alerter; } myclosureAlert = closureAlert(); myclosureAlert(); // myclosureAlert is a 'closure'. It holds the reference to the environment. </div> <p>One thing really important to understand is why we use 'closure'. A 'closure' is to store the function inside of the function so it can be called later. So in general, the parent function will 'return' the child function (but it will NOT invoke the function) which can be stored in variable outside of the parent function. Thus it can be invoked later. </p> <p>Let's look at one funny example of how closure works in memory.</p> <img src='Screen-shot/closure.png'> <p> So what a[0]();, a[0]();, a[0](); will return? The answer is 3. Let me walk through this.</p> <ol> <li>The for loop will create 3 different functions. a[0], a[1], a[3]. That's all what the for loop does. Nothing else. </li> <li>At the begining, variable i will start as 0. and then when it create 3 function, it will change to 1 and 2. </li> <li>When it becomes 3, for loop will stop. Because for loop supposed to take i less than 3. But i remained as 3.</li> <li>So when a[0]() or any other two functions called, it alerts '3'. </li> </ol> <h4>Prototype Inheritance. What does 'NEW' keyword do?</h4> <div class=text-editor> var Person = function(name) { this.name = name; }; //object constructor Person.prototype.speak = function() { console.log("Hello")}; </div> <p>The object constructor is there so we can construct similar type of objects. For instance, with Person object constructor, we can create many people like this</p> <div class=text-editor> james = new Person("James"); sarah = new Person("Sarah"); </div> <p>Not a big deal. We know this very well. But what does 'new' keyword do under the hood?</p> <p>Here are the list of things happen when a 'new' keyword was called</p> <ol> <li>Create a new object like james and sarah</li> <li>Set sarah and james's __proto__ to constructors prototype</li> <li>Invoke prototype with functions like arguments like name</li> <li>return an object with all functions that the constructor has like speak, name etc.</li> </ol> <div class=text-editor> var NEW = function(newobj, args) { var sarah = {}; sarah.__proto__ = newobj.prototype newobj.apply(sarah, args); return sarah; }; var sarah = NEW(Person, ['name']) //so our 'NEW' function will create object sarah sarah.speak(); //speak function will be inherited from newobj 'Person' </div> <h2>Call and Apply </h2> <p>Call and Apply are used to invoke function. Call and Apply call a function with a given this value and arguments provided individually.</p> <p>The difference between call and apply is that call takes individual argument and apply takes array of arguments</p> <p> First, using call to chain constructors for an object</p> <div class=text-editor> var Product = function(name, price) { this.name = name; this.price = price; }; var Food = function(name, price) { Product.call(this, name, price); this.category = 'food'; }; Food.prototype = Object.create(Product.prototype); //Create new object and copy the Product.prototype Food.prototype.constructor = Food; //Reset the constructor from Product to Food (single inheritance) </div> <p>Second, using call to invoke an anonymous function</p> <div class=text-editor> var animals = [ { species: 'Lion', name: 'King' }, { species: 'Whale', name: 'Fail' } ]; for (var i=0; i "<" animals.length; i++){ (function(i) { this.print = function() { console.log('#' + i + ' ' + this.species + ': ' + this.name); } this.print(); }).call(animals[i], i); }; //#1 Lion: King //#2 Wale: Fail </div> <p>The first argument of the call is always for 'this'. What we are calling the function on. The second argument is whatever we need to pass on. In this case, 'i'. Otherwise, the print function will not know 'i' and print 'undefined'. </p> </div> </main> <hr> <footer> Sarah Kwak 2015 &#169; copyrights </footer> </body> </html>
sarahkwak/sarahkwak.github.io
blog/t13-js_queen.html
HTML
mit
9,566
<!DOCTYPE html> <html> <head> <title>HeartWinds: A Tale of the Spirit (The Place of Passage Book 4) - Kindle</title> <link rel="shortcut icon" type="image/png" href="https://d3u8ewz6c11pt5.cloudfront.net/static/kshare/0.22/1c2904b8e11a/img/KP_favicon.png" /> <link rel="apple-touch-icon-precomposed" sizes="60x60" type="image/png" href="https://d3u8ewz6c11pt5.cloudfront.net/static/kshare/0.22/1c2904b8e11a/img/Icon-60.png"/> <link rel="apple-touch-icon-precomposed" sizes="120x120" type="image/png" href="https://d3u8ewz6c11pt5.cloudfront.net/static/kshare/0.22/1c2904b8e11a/img/[email protected]"/> <link rel="apple-touch-icon-precomposed" sizes="180x180" type="image/png" href="https://d3u8ewz6c11pt5.cloudfront.net/static/kshare/0.22/1c2904b8e11a/img/[email protected]"/> <link rel="apple-touch-icon-precomposed" sizes="76x76" type="image/png" href="https://d3u8ewz6c11pt5.cloudfront.net/static/kshare/0.22/1c2904b8e11a/img/Icon-76.png"/> <link rel="apple-touch-icon-precomposed" sizes="152x152" type="image/png" href="https://d3u8ewz6c11pt5.cloudfront.net/static/kshare/0.22/1c2904b8e11a/img/[email protected]"/> <meta property="og:type" content="website" /> <meta property="og:url" content="http://jsepia.github.io/ogtest/bb/quote.html" /> <meta property="og:image" content="https://images-na.ssl-images-amazon.com/images/P/B012P7D7UK.01.L.jpg" /> <meta property="og:title" content="HeartWinds: A Tale of the Spirit (The Place of Passage Book 4)" /> <meta property="og:description" content="Shared via Kindle. Description: Have you ever followed your heart seeking to realize a life dream? How often have you experienced setback..." /> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:image" content="https://images-na.ssl-images-amazon.com/images/P/B012P7D7UK.01.L.jpg"> <meta name="twitter:title" content="HeartWinds: A Tale of the Spirit (The Place of Passage Book 4)"> <meta name="twitter:description" content="Quote shared via Kindle: &quot;&quot;"> </head> <body> Lorem ipsum dolor sit amet. Consectetur adipiscing elit. Sed solicitudin meow id lacus efficipurr, quis mattis nunc auctor. Nyan aliquet finibus odio quis catbus. Ut a lorem lacinia, sagittis massa sit amet, tempus yarn. Donec aliquam vel elit sed tempor. Sed egestas nunc non feline tristique auctor. Duis quis dolor et dolor hendrerit whiskers. Quisque condimentum eros leo, vitae interdum augue gravita vel. Nullam sit amet mollis leo. Proin aliquam kitty luctus tempus. </body> </html>
jsepia/ogtest
bb/quote.html
HTML
mit
2,522
{% extends "base.html" %} {% load i18n mezzanine_tags accounts_tags %} {% block meta_title %}{{ profile_user|username_or:"get_full_name" }}{% endblock %} {% block title %}{{ profile_user|username_or:"get_full_name" }}{% endblock %} {% block body_id %}account{% endblock %} {% block extra_head %} {% load static %} <link rel="stylesheet" href="{% static "css/profile/profile.css" %}"> {% endblock %} {% block breadcrumb_menu %} {{ block.super }} <li> {{ profile_user|username_or:"get_full_name" }} </li> {% endblock %} {% block main %} <div class="profileWrapper"> {% if profile_user == request.user %} <div class="fancyProfile"> <div class="avatarFancy"> <div class="avatar"> {% if user.userprofile.user_pic %} <img class="img-thumbnail" src="{{MEDIA_URL}}{{user.userprofile.user_pic}}" alt="avatar"/> {% else %} <img class="img-thumbnail" src="{% static "img/basic/blank.png" %}" alt="avatar"/> {% endif %} </div> </div> <div class="profileInfo"> <legend><h2>{{ profile_user}}</h2></legend> <div class="profile"> <div class="profileTitel"><b>Name</b></div> <div class="profileDetails"> {% if user.first_name and user.last_name %} <p>{{ user.first_name }} {{ user.last_name }}</p> {% else %} <p> None </p> {% endif %} </div> </div> <div class="profile"> <div class="profileTitel"><b>eMail</b></div> <div class="profileDetails"> {% if user.email %} <p>{{ user.email }} </p> {% else %} <p> None </p> {% endif %} </div> </div> <div class="profile"> <div class="profileTitel"><b>Affiliation</b></div> <div class="profileDetails"> <p> {% if user.userprofile.affiliation %} {{user.userprofile.affiliation}}</p> {% else %} None </p> {% endif %} </div> </div> <div class="profile"> <div class="profileTitel"><b>Use case</b></div> <div class="profileDetails_usecase"> {% if user.userprofile.use_case == "1" %} <p>Use Case 1: Comparison between stratospheric ozone model output and satellite observations</p> {% elif user.userprofile.use_case == "2" %} <p>Use Case 2: Model validation tool </p> {% elif user.userprofile.use_case == "3" %} <p>Use Case 3: Characterization of optical and microphysical properties of aerosol</p> {% elif user.userprofile.use_case == "4" %} <p>Use Case 4: ECARE lidar/ CALIPSO Simulation</p> {% elif user.userprofile.use_case == "5" %} <p>Use Case 5: Development of Scientific L2 products based on OMI instruments</p> {% elif user.userprofile.use_case == "6" %} <p>Use Case 6: Model Quality Assessment</p> {% elif user.userprofile.use_case == "7" %} <p>Use Case 7: Re-grid and time average satellite data</p> {% elif user.userprofile.use_case == "8" %} <p>Use Case 8: Model Validation against satellite data (Aerosol NO2, trace gases</p> {% else %} <p> no use case selected </p> {% endif %} </div> </div> <div class="profile"> <div class="profileTitel"><b>Application field(s)</b></div> <div class="profileDetailsColl"> {% if user.userprofile.application_field.all %} {% for app in user.userprofile.application_field.all %} <p>{{ app }}</p> {% endfor %} {% else %} <p>no application selected</p> {% endif %} </div> </div> <div class="profile"> <div class="profileTitel"><b>Group</b></div> <div class="profileDetails"> {% if user.userprofile.group == "G1" %} <p> Group 1 </p> {% elif user.userprofile.group == "G2" %} <p> Group 2 </p> {% elif user.userprofile.group == "G3" %} <p> Group 3 </p> {% else %} <p> no group selected </p> {% endif %} </div> </div> <div class="profile"> <div class="profileTitel"><b>Uploaded collection</b></div> <div class="profileDetails"> {% load data_ingestion_tags %} {% data_recent_upload 1 user.username as data_list %} {% if data_list %} {% for collection in data_list %} <p><a href="{% url 'detail' collection.id %}">{{ collection.name }}</a></p> {% endfor %} {% else %} <p>No collections are available.</p> {% endif %} </div> </div> </div> {% endif %} </div> <div id="updateBtn"> <a class="btn btn-primary" href="{% url 'profile_update' %}">Update profile</a> </div> </div> {% endblock %}
SISTEMAsw/TAMP
gui/theme/templates/accounts/account_profile.html
HTML
mit
4,562
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Category: weekly | Node.js 한국 커뮤니티</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta property="og:type" content="website"> <meta property="og:title" content="Node.js 한국 커뮤니티"> <meta property="og:url" content="https://nodejs.github.io/nodejs-ko/categories/weekly/page/2/index.html"> <meta property="og:site_name" content="Node.js 한국 커뮤니티"> <meta name="twitter:card" content="summary"> <meta name="twitter:title" content="Node.js 한국 커뮤니티"> <meta name="twitter:creator" content="@nodejs_ko"> <link rel="alternate" href="/atom.xml" title="Node.js 한국 커뮤니티" type="application/atom+xml"> <link rel="icon" href="/favicon.png"> <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css"> <link rel="stylesheet" href="/nodejs-ko/css/style.css"> </head> <body> <div id="container"> <div id="wrap"> <header id="header"> <div id="banner"></div> <div id="header-outer" class="outer"> <div id="header-title" class="inner"> <h1 id="logo-wrap"> <a href="/nodejs-ko/" id="logo">Node.js 한국 커뮤니티</a> </h1> <h2 id="subtitle-wrap"> <span id="subtitle"> <a href="https://nodejs.org" target="_blank">Node.js</a> 관련 소식, 정보, 글 등을 한국어로 번역해서 공유합니다. </span> </h2> </div> <div id="header-inner" class="inner"> <nav id="main-nav"> <a id="main-nav-toggle" class="nav-icon"></a> <a class="main-nav-link" href="/nodejs-ko/">Home</a> <a class="main-nav-link" href="/nodejs-ko/archives">Archives</a> </nav> <nav id="sub-nav"> <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a> <a id="nav-search-btn" class="nav-icon" title="Search"></a> </nav> <div id="search-form-wrap"> <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" results="0" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="https://nodejs.github.io/nodejs-ko"></form> </div> </div> </div> </header> <div class="outer"> <section id="main"> <section class="archives-wrap"> <div class="archive-year-wrap"> <a href="/nodejs-ko/archives/2016" class="archive-year">2016</a> </div> <div class="archives"> <article class="archive-article archive-type-post"> <div class="archive-article-inner"> <header class="archive-article-header"> <a href="/nodejs-ko/weekly/2016/03/07/weekly/" class="archive-article-date"> <time datetime="2016-03-06T15:00:00.000Z" itemprop="datePublished">Mar 7</time> </a> <h1 itemprop="name"> <a class="archive-article-title" href="/nodejs-ko/weekly/2016/03/07/weekly/">Node.js 주간 뉴스 2016년 3월 7일</a> </h1> <ul> <li>작성자: <strong>Minwoo Jung (github.com/JungMinu)</strong></li> <li> 원문: <strong><a href="https://nodejs.org/en/blog/weekly-updates/weekly-update.2016-03-07/" taret="_blank"> Weekly Update - Mar 7th, 2016 </a></strong> </li> <li> 번역: <strong><a href="https://github.com/taggon" target="_blank">taggon</a></strong> </li> </ul> </header> </div> </article> <article class="archive-article archive-type-post"> <div class="archive-article-inner"> <header class="archive-article-header"> <a href="/nodejs-ko/weekly/2016/03/01/weekly/" class="archive-article-date"> <time datetime="2016-02-29T15:00:00.000Z" itemprop="datePublished">Mar 1</time> </a> <h1 itemprop="name"> <a class="archive-article-title" href="/nodejs-ko/weekly/2016/03/01/weekly/">Node.js 주간 뉴스 2016년 3월 1일</a> </h1> <ul> <li>작성자: <strong>Minwoo Jung (@jmwsoft)</strong></li> <li> 원문: <strong><a href="https://nodejs.org/en/blog/weekly-updates/weekly-update.2016-03-01/" taret="_blank"> Weekly Update - Mar 1st, 2016 </a></strong> </li> <li> 번역: <strong><a href="https://github.com/taggon" target="_blank">taggon</a></strong> </li> </ul> </header> </div> </article> <article class="archive-article archive-type-post"> <div class="archive-article-inner"> <header class="archive-article-header"> <a href="/nodejs-ko/weekly/2016/02/23/weekly/" class="archive-article-date"> <time datetime="2016-02-22T15:00:00.000Z" itemprop="datePublished">Feb 23</time> </a> <h1 itemprop="name"> <a class="archive-article-title" href="/nodejs-ko/weekly/2016/02/23/weekly/">Node.js 주간 뉴스 2016년 2월 23일</a> </h1> <ul> <li>작성자: <strong>Minwoo Jung (@jmwsoft)</strong></li> <li> 원문: <strong><a href="https://nodejs.org/en/blog/weekly-updates/weekly-update.2016-02-22/" taret="_blank"> Weekly Update - Feb 23rd, 2016 </a></strong> </li> <li> 번역: <strong><a href="https://github.com/napiera" target="_blank">Napier</a></strong> </li> </ul> </header> </div> </article> <article class="archive-article archive-type-post"> <div class="archive-article-inner"> <header class="archive-article-header"> <a href="/nodejs-ko/weekly/2016/02/15/weekly/" class="archive-article-date"> <time datetime="2016-02-14T15:00:00.000Z" itemprop="datePublished">Feb 15</time> </a> <h1 itemprop="name"> <a class="archive-article-title" href="/nodejs-ko/weekly/2016/02/15/weekly/">Node.js 주간 뉴스 2016년 2월 15일</a> </h1> <ul> <li>작성자: <strong>Minwoo Jung (@jmwsoft)</strong></li> <li> 원문: <strong><a href="https://nodejs.org/en/blog/weekly-updates/weekly-update.2016-02-15/" taret="_blank"> Weekly Update - Feb 15th, 2016 </a></strong> </li> <li> 번역: <strong><a href="https://github.com/taggon" target="_blank">taggon</a></strong> </li> </ul> </header> </div> </article> <article class="archive-article archive-type-post"> <div class="archive-article-inner"> <header class="archive-article-header"> <a href="/nodejs-ko/weekly/2016/02/08/weekly/" class="archive-article-date"> <time datetime="2016-02-07T15:00:00.000Z" itemprop="datePublished">Feb 8</time> </a> <h1 itemprop="name"> <a class="archive-article-title" href="/nodejs-ko/weekly/2016/02/08/weekly/">Node.js 주간 뉴스 2016년 2월 8일</a> </h1> <ul> <li>작성자: <strong>Minwoo Jung (@jmwsoft)</strong></li> <li> 원문: <strong><a href="https://nodejs.org/en/blog/weekly-updates/weekly-update.2016-02-08/" taret="_blank"> Weekly Update - Feb 8th, 2016 </a></strong> </li> <li> 번역: <strong><a href="https://github.com/taggon" target="_blank">taggon</a></strong> </li> </ul> </header> </div> </article> <article class="archive-article archive-type-post"> <div class="archive-article-inner"> <header class="archive-article-header"> <a href="/nodejs-ko/weekly/2016/01/29/weekly/" class="archive-article-date"> <time datetime="2016-01-28T15:00:00.000Z" itemprop="datePublished">Jan 29</time> </a> <h1 itemprop="name"> <a class="archive-article-title" href="/nodejs-ko/weekly/2016/01/29/weekly/">Node.js 주간 뉴스 2016년 1월 29일</a> </h1> <ul> <li>작성자: <strong>Minwoo Jung (@jmwsoft)</strong></li> <li> 원문: <strong><a href="https://nodejs.org/en/blog/weekly-updates/weekly-update.2016-01-29/" taret="_blank"> Weekly Update - Jan 29th, 2016 </a></strong> </li> <li> 번역: <strong><a href="https://github.com/taggon" target="_blank">taggon</a></strong> </li> </ul> </header> </div> </article> <article class="archive-article archive-type-post"> <div class="archive-article-inner"> <header class="archive-article-header"> <a href="/nodejs-ko/weekly/2016/01/22/weekly/" class="archive-article-date"> <time datetime="2016-01-21T15:00:00.000Z" itemprop="datePublished">Jan 22</time> </a> <h1 itemprop="name"> <a class="archive-article-title" href="/nodejs-ko/weekly/2016/01/22/weekly/">Node.js 주간 뉴스 2016년 1월 22일</a> </h1> <ul> <li>작성자: <strong>Minwoo Jung (@jmwsoft)</strong></li> <li> 원문: <strong><a href="https://nodejs.org/en/blog/weekly-updates/weekly-update.2016-01-22/" taret="_blank"> Weekly Update - Jan 22th, 2016 </a></strong> </li> <li> 번역: <strong><a href="https://github.com/yous" target="_blank">yous</a></strong> </li> </ul> </header> </div> </article> <article class="archive-article archive-type-post"> <div class="archive-article-inner"> <header class="archive-article-header"> <a href="/nodejs-ko/weekly/2016/01/18/weekly/" class="archive-article-date"> <time datetime="2016-01-17T15:00:00.000Z" itemprop="datePublished">Jan 18</time> </a> <h1 itemprop="name"> <a class="archive-article-title" href="/nodejs-ko/weekly/2016/01/18/weekly/">Node.js 주간 뉴스 2016년 1월 18일</a> </h1> <ul> <li>작성자: <strong>Minwoo Jung (@jmwsoft)</strong></li> <li> 원문: <strong><a href="https://nodejs.org/en/blog/weekly-updates/weekly-update.2016-01-18/" taret="_blank"> Weekly Update - Jan 18th, 2016 </a></strong> </li> <li> 번역: <strong><a href="https://github.com/taggon" target="_blank">taggon</a></strong> </li> </ul> </header> </div> </article> <article class="archive-article archive-type-post"> <div class="archive-article-inner"> <header class="archive-article-header"> <a href="/nodejs-ko/weekly/2016/01/11/weekly/" class="archive-article-date"> <time datetime="2016-01-10T15:00:00.000Z" itemprop="datePublished">Jan 11</time> </a> <h1 itemprop="name"> <a class="archive-article-title" href="/nodejs-ko/weekly/2016/01/11/weekly/">Node.js 주간 뉴스 2016년 1월 11일</a> </h1> <ul> <li>작성자: <strong>Minwoo Jung (@jmwsoft)</strong></li> <li> 원문: <strong><a href="https://nodejs.org/en/blog/weekly-updates/weekly-update.2016-01-11/" taret="_blank"> Weekly Update - Jan 11th, 2016 </a></strong> </li> <li> 번역: <strong><a href="https://github.com/taggon" target="_blank">taggon</a></strong> </li> </ul> </header> </div> </article> <article class="archive-article archive-type-post"> <div class="archive-article-inner"> <header class="archive-article-header"> <a href="/nodejs-ko/weekly/2016/01/01/weekly/" class="archive-article-date"> <time datetime="2015-12-31T15:00:00.000Z" itemprop="datePublished">Jan 1</time> </a> <h1 itemprop="name"> <a class="archive-article-title" href="/nodejs-ko/weekly/2016/01/01/weekly/">Node.js 주간 뉴스 2016년 1월 1일</a> </h1> <ul> <li>작성자: <strong>Minwoo Jung (@jmwsoft)</strong></li> <li> 원문: <strong><a href="https://nodejs.org/en/blog/weekly-updates/weekly-update.2016-01-01/" taret="_blank"> Weekly Update - Jan 1st, 2016 </a></strong> </li> <li> 번역: <strong><a href="https://github.com/taggon" target="_blank">taggon</a></strong> </li> </ul> </header> </div> </article> </div></section> <nav id="page-nav"> <a class="extend prev" rel="prev" href="/nodejs-ko/categories/weekly/">&laquo; Prev</a><a class="page-number" href="/nodejs-ko/categories/weekly/">1</a><span class="page-number current">2</span><a class="page-number" href="/nodejs-ko/categories/weekly/page/3/">3</a><a class="page-number" href="/nodejs-ko/categories/weekly/page/4/">4</a><span class="space">&hellip;</span><a class="page-number" href="/nodejs-ko/categories/weekly/page/7/">7</a><a class="extend next" rel="next" href="/nodejs-ko/categories/weekly/page/3/">Next &raquo;</a> </nav> </section> <aside id="sidebar"> <div class="widget-wrap"> <h3 class="widget-title">Menu</h3> <div class="widget"> <ul class="category-list"> <li class="category-list-item"> <a href="/nodejs-ko/">Home</a> </li> <li class="category-list-item"> <a href="/nodejs-ko/CONTRIBUTING.html">번역 참여 가이드</a> </li> <li class="category-list-item"> <a href="/nodejs-ko/about.html">소개</a> </li> <li class="category-list-item"> <a href="/nodejs-ko/categories/articles">글 모음</a> </li> <li class="category-list-item"> <a href="/nodejs-ko/categories/weekly">주간 뉴스</a> </li> <li class="category-list-item"> <a href="/nodejs-ko/archives">보관함</a> </li> <li class="category-list-item"> <a href="https://github.com/nodejs/nodejs-ko" target="_blank">GitHub project</a> </li> </ul> </div> </div> </aside> </div> <footer id="footer"> <div class="outer"> <div id="footer-info" class="inner"> &copy; 2016 Node.js 한국어 번역팀<br> Powered by <a href="http://hexo.io/" target="_blank">Hexo</a> </div> </div> </footer> </div> <nav id="mobile-nav"> <a href="/nodejs-ko/" class="mobile-nav-link">Home</a> <a href="/nodejs-ko/archives" class="mobile-nav-link">Archives</a> </nav> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> <link rel="stylesheet" href="/nodejs-ko/fancybox/jquery.fancybox.css"> <script src="/nodejs-ko/fancybox/jquery.fancybox.pack.js"></script> <script src="/nodejs-ko/js/script.js"></script> </div> </body> </html>
marocchino/iojs-ko
categories/weekly/page/2/index.html
HTML
mit
14,702
<!doctype html> <html> <head> <meta charset="UTF-8"> <title>MLBStats - Examples</title> </head> <body> <script type="text/javascript" src="../min/MLBStats.min.js"></script> <script> //MANUAL MLBStats.manual(); //MLBStats OBJECT for full list of functions //console.log(MLBStats); //Return VERSION version MLBStats.version((main, sub, patch) => { console.log(`v${main}.${sub}.${patch}`); }); //PITCHER "608566" (German Marquez) MLBStats.player({ search: { playerID: 608566, date: { year: 2017, month: 9, day: 14, game: 1, }, }, }, (players) => { for (let p in players) { if (players[p].Batting.Game.h === 1) { console.log(`${players[p].fullName} has ${players[p].Batting.Game.h} hit.`); } else { console.log(`${players[p].fullName} has ${players[p].Batting.Game.h} hits.`); } } }); //the second parameter "0" is a shortcut for saying the date is today //-1 for yesterday //0 for today //1 for tomorrow, etc... //the third parameter is the callback function where you place your code MLBStats.player({ search: { playerID: 453568, date: { year: 2017, month: 10, day: 4, game: 1, }, }, }, (players) => { for (let p in players) { if(players[p].Batting.Game.ab === 1) { console.log(`${players[p].fullName} had ${players[p].Batting.Game.ab} at bat.`); } else { console.log(`${players[p].fullName} had ${players[p].Batting.Game.ab} at bats.`); } //OUTPUT: NAME had x at bat(s) //SHORTHAND (Same output as above): console.log(`${players[p].fullName} had ${players[p].Batting.Game.ab} at bat${players[p].Batting.Game.ab === 1 ? '' : 's'}.`); } }); //you may also pass in a JavaScript Date Object as the second parameter MLBStats.player({ search: { playerID: 453568, date: new Date(1503980931904), }, }, (players) => { for (let p in players) { console.log( `${players[p].fullName} was\n` + `${players[p].Batting.Season.h} for ${players[p].Batting.Season.ab} or ${players[p].Batting.Season.avg}\n` + `for the season on ${players[p].Date.month}/${players[p].Date.day}/${players[p].Date.year}` ); //180 for 530 or .340 } }); //Note: for up-to-date season stats you must use todays date. If you pass in a //pervious date, the players season stats at that point of the season will be returned //Charlie Blackmon, Mark Renyolds, Gerardo Parra let playersSearch = [{ search: { playerID: 453568, date: { year: 2017, month: 9, day: 1, }, }, }, { search: { playerID: 448602, date: { year: 2017, month: 9, day: 1, }, }, }, { search: { playerID: 467827, date: { year: 2017, month: 9, day: 1, }, }, }]; MLBStats.player(playersSearch, (players) => { //When creating your own functions it's helpful to rember that you //can log item to the console to view what stats you have access to //console.log(players); for (let p in players) { console.log( `${players[p].fullName}\n` + `${players[p].Batting.Game.ab} at bats on ` + `${players[p].Date.month}/${players[p].Date.day}/${players[p].Date.year}` ); //First Name, Last Name //x at bats on given date } }); //Print the bullpen for a given game //{date:{year: 2017, month: 9, day: 16, game: 1},teamID:115} let rq = [{ search: 'gid_2017_09_16_sdnmlb_colmlb_1', }, { search: 'gid_2017_09_17_sdnmlb_colmlb_1', },]; MLBStats.bench(rq, (benches) => { //When creating your own functions it's helpful to rember that you //can log item to the console to view what stats you have access to //console.log(b); for (let b in benches) { let output =`Bench\n` + `${benches[b].away.name} (Away)\n`; for (let item in benches[b].away.pitchers.pitcher) { let player = benches[b].away.pitchers.pitcher[item]; output+=`${player.last}\tThrows ${player.t}\n` + `Record ${player.w} - ${player.l}\n`; } output += `\n${benches[b].home.name} (Home)\n`; for (let item in benches[b].home.pitchers.pitcher) { let player = benches[b].home.pitchers.pitcher[item]; output+=`${player.last}\tThrows ${player.t}\n` + `Record ${player.w} - ${player.l}\n`; } console.log(output); } }); //Although it's not shown in this demo, rember that you can chain functions //allows returned benched playerID's to then searched with the player function let gamesToSearch = [{ search: { teamID: 115, date: {year: 2017, month: 10, day: 1, game: 1}, }, }, { search: { teamID: 'col', date: {year: 2017, month: 9, day: 4, game: 1}, }, }]; MLBStats.game(gamesToSearch, (games) => { //When creating your own functions it's helpful to rember that you //can log item to the console to view what stats you have access to //console.log(g); for (let g in games) { //Print out the away teams city and name and the home teams city and name console.log(`${games[g].away_team_city} ${games[g].away_team_name} @ ${games[g].home_team_city} ${games[g].home_team_name}`); } }); /*MLBStats.game({ search: { teamID: "col", date: 0, } }, (g) => { console.log(g); });*/ //Creating a web app that displays todays games with live info MLBStats.gamesOnDate([ { search: { date: 0,//Shortcut for today }, }, { search: { date: {year: 2017, month: 9, day: 4}, }, },], (dates) => { for (let date in dates) { let day = dates[date]; //console.log(`\n${day}`); for (let game in day) { //console.log(JSON.stringify(day[game], null, 4)); let score = ''; //When creating your own functions it's helpful to rember that you //can log item to the console to view what stats you have access to //console.log(item); if (typeof(day[game].linescore) !== 'undefined') { score = `${day[game].linescore.r.away} - ${day[game].linescore.r.home}\n`; //If game is in progress print inning and inning state with outs if (day[game].status.status === "In Progress") { score += `${day[game].status.inning_state} ${day[game].status.inning}\n`; score += `${day[game].status.o} out(s)`; //Else if the game is over mark the score as final } else { score += day[game].status.status; } //If the game hasn't started, then print the time that the game begins } else { score = `${day[game].time}${day[game].ampm} ${day[game].time_zone}`; } //Print out the away teams city and name and the home teams city and name console.log( `${day[game].away_team_city} ${day[game].away_team_name} @ ` + `${day[game].home_team_city} ${day[game].home_team_name}\n${score}` ); } } }); </script> </body> </html>
jakeehall/MLBStats
examples/index.html
HTML
mit
7,554
<ui-field-row> <tabset> <tab ng-repeat="$tab in vm.tabs track by $index"> <tab-heading> <span ng-class="{ 'text-danger': vm.hasAnyError() }">{{ $tab[vm.labelProperty] | translate }}</span> </tab-heading> <ui-fieldset class="col-sm-11" property="{{ $tab[vm.valueProperty] }}"> <ui-transclude-here></ui-transclude-here> </ui-fieldset> </tab> </tabset> <div ng-if="!vm.tabs.length" translate="ui.form.field.tabs.empty"></div> <ui-form-loading ng-if="vm.loading"></ui-form-loading> </ui-field-row>
kasrakhosravi/angular-ui-form
src/field-tab/field-tab.bs.html
HTML
mit
605
<h1>Home !</h1> <div *ngFor="let section of sections; let i = index;"> <h2>Section {{ i+1 }}</h2> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </p> </div>
LM-G/genesis
src/app/home/home.component.html
HTML
mit
581
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>條目&nbsp;</b></th><td class="std2">疾言厲色</td></tr> <tr><th class="std1"><b>注音&nbsp;</b></th><td class="std2">ㄐ|<sup class="subfont">ˊ</sup> |ㄢ<sup class="subfont">ˊ</sup> ㄌ|<sup class="subfont">ˋ</sup> ㄙㄜ<sup class="subfont">ˋ</sup></td></tr> <tr><th class="std1"><b>漢語拼音&nbsp;</b></th><td class="std2"><font class="english_word">jí yán lì sè</font></td></tr> <tr><th class="std1"><b>釋義&nbsp;</b></th><td class="std2">言語急迫,神色嚴厲。形容人發怒的樣子。明˙沈鯨˙雙珠記˙第十三齣:<img src=/cydic/dicword/fa40.gif border=0 alt=* class=fontimg valign=center>我那時疾言厲色,雖辱罵了他一場,恨藏奸賣俏,真是個人中獸。<img src=/cydic/dicword/fa41.gif border=0 alt=* class=fontimg valign=center>官場現形記˙第五十四回:<img src=/cydic/dicword/fa40.gif border=0 alt=* class=fontimg valign=center>那梅大老爺的臉色,已經平和了許多;就是問話的聲音,也不像先前之疾言厲色了。<img src=/cydic/dicword/fa41.gif border=0 alt=* class=fontimg valign=center></td></tr> <tr><th class="std1"><b><font class="fltypefont">附錄</font>&nbsp;</b></th><td class="std2">修訂本參考資料</td></tr> </td></tr></table></div> <!-- flayoutclass_first --><div class="flayoutclass_second"></div> <!-- flayoutclass_second --></div> <!-- flayoutclass --></td></tr></table>
BuzzAcademy/idioms-moe-unformatted-data
all-data/5000-5999/5892-22.html
HTML
mit
1,731
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./3a53e86e684c0c0d8ec94026a6c6cddd65c4734d1c56be5c3688a365b15b79c7.html">Teleport</a> <hr> <a href="./../../about.md">About</a> (Spoilers! ) <script src="./../../assets/md5.js"></script> <script> window.currentLevel = 7; </script> <script src="./../../assets/script.js"></script> </body> </html>
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/41feaac8099a5ecfc920a64b9ab4843bb27a9299a61d9891afcdd3cecef8f631.html
HTML
mit
550
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./479da3fde049afdcfae688956fbfc53d473182c349512d898e7885cca4670f83.html">Teleport</a> <hr> <a href="./../../about.md">About</a> (Spoilers! ) <script src="./../../assets/md5.js"></script> <script> window.currentLevel = 7; </script> <script src="./../../assets/script.js"></script> </body> </html>
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/22367818b9b4b7a58d90a35202f6857d918cbc2f77ff8e187fc604789c6faec4.html
HTML
mit
550
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="author" content="Open Knowledge"> <meta name="description" content="The Global Open Data Index assesses the state of open government data around the world. "> <meta name="keywords" content="Open Government, Open Data, Government Transparency, Open Knowledge "> <meta property="og:type" content="website"/> <meta property="og:title" content="Open Data Index - Open Knowledge"/> <meta property="og:site_name" content="Open Data Index"/> <meta property="og:description" content="The Global Open Data Index assesses the state of open government data around the world."/> <meta property="og:image" content="/static/images/favicon.ico"/> <title>Trinidad and Tobago / Location datasets (2014) | Global Open Data Index by Open Knowledge</title> <base href="/"> <!--[if lt IE 9]> <script src="/static/vendor/html5shiv.min.js"></script> <![endif]--> <link rel="stylesheet" href="/static/css/site.css"> <link rel="icon" href="/static/images/favicon.ico"> <script> var siteUrl = ''; </script> </head> <body class="na"> <div class="fixed-ok-panel"> <div id="ok-panel" class="closed"> <iframe src="http://assets.okfn.org/themes/okfn/okf-panel.html" scrolling="no"></iframe> </div> <a class="ok-ribbon"><img src="http://okfnlabs.org/ok-panel/assets/images/ok-ribbon.png" alt="Open Knowledge"></a> </div> <header id="header"> <nav class="navbar navbar-default" role="navigation"> <div class="container"> <div> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <div class="logo"> <a href="/"> <img src="/static/images/logo2.png"> <span>Global<br/>Open Data Index</span> </a> </div> </div> <div class="collapse navbar-collapse" id="navbar-collapse"> <ul class="nav navbar-nav" style="margin-right: 132px;"> <li> <a href="/place/" title="About the Open Data Index project"> Places </a> </li> <li> <a href="/dataset/" title="About the Open Data Index project"> Datasets </a> </li> <li> <a href="/download/" title="Download Open Data Index data"> Download </a> </li> <li> <a href="/insights/" title="Insights"> Insights </a> </li> <li> <a href="/methodology/" title="The methodology behind the Open Data Index"> Methodology </a> </li> <li> <a href="/about/" title="About the Open Data Index project"> About </a> </li> <li> <a href="/press/" title="Press information for the Open Data Index"> Press </a> </li> </ul> </div> </div> </div> </nav> </header> <div class="container"> <div class="content"> <div class="row"> <div class="col-md-12"> <ol class="breadcrumb"> <li> <a href="/">Home</a> </li> <li class="active">Trinidad and Tobago / Location datasets (2014)</li> </ol> <header class="page-header"> <h1>Trinidad and Tobago / Location datasets (2014)</h1> </header> <h3>Sorry</h3> <p> There is no data available for Trinidad and Tobago / Location datasets (2014) in the Index. </p> </div> </div> </div> </div> <footer id="footer"> <div class="container"> <div class="row"> <div class="footer-main col-md-8"> <div class="footer-attribution"> <p> <a href="http://opendefinition.org/ossd/" title="Open Online Software Service"> <img src="http://assets.okfn.org/images/ok_buttons/os_80x15_orange_grey.png" alt="" border=""/> </a> <a href="http://opendefinition.org/okd/" title="Open Online Software Service"> <img src="http://assets.okfn.org/images/ok_buttons/od_80x15_blue.png" alt="" border=""/> </a> <a href="http://opendefinition.org/okd/" title="Open Content"> <img src="http://assets.okfn.org/images/ok_buttons/oc_80x15_blue.png" alt="" border=""/> </a> &ndash; <a href="http://creativecommons.org/licenses/by/3.0/" title="Content Licensed under a CC Attribution"></a> <a href="http://opendatacommons.org/licenses/pddl/1.0" title="Data License (Public Domain)">Data License (Public Domain)</a> </p> </div> <div class="footer-meta"> <p> This service is run by <a href="https://okfn.org/" title="Open Knowledge">Open Knowledge</a> </p> <a class="naked" href="http://okfn.org/" title="Open Knowledge"><img src="http://assets.okfn.org/p/okfn/img/okfn-logo-landscape-black-s.png" alt="" height="28"></a> </div> </div> <div class="footer-links col-md-2"> <li><a href="http://okfn.org/" title="Open Knowledge">Open Knowledge</a></li> <li><a href="http://okfn.org/opendata/" title="What is Open Data?">What is Open Data?</a></li> <li><a href="http://census.okfn.org/" title="Run your own Index">Run your own Index</a></li> <li><a href="https://github.com/okfn/opendataindex" title="The source code for Open Data Index">Source Code</a></li> </div> <div class="footer-links col-md-2"> <li><a href="/" title="Open Data Index home">Home</a></li> <li><a href="/download/" title="Download data">Download</a></li> <li><a href="/methodology/" title="The methodology behind the Open Data Index">Methodology</a></li> <li><a href="/faq/" title=" Open Data Index FAQ">FAQ</a></li> <li><a href="/about/" title="About the Open Data Index">About</a></li> <li><a href="/about/" title="Contact us">Contact</a></li> <li><a href="/press/" title="Press">Press</a></li> </div> </div> </div> </footer> <script data-main="/static/scripts/site" src="/static/scripts/require.js"></script> </body> </html>
okfn/opendataindex-2015
place/trinidad-and-tobago/postcodes/2014/index.html
HTML
mit
8,194
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Router</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> </head> <body> <app-root>Loading...</app-root> </body> </html>
struggler-lh/angular-demo
router/router/src/index.html
HTML
mit
293
<html> <head> <title>Scatter</title> <link href="theme.min.css" rel="stylesheet"/> <script src="http://unpkg.com/jquery"></script> <script src="http://unpkg.com/verge"></script> <script src="jquery-overlap.js"></script> </head> <body> <div class="container-fluid constructor"> <div class="append"> </div> <div class="scoreboard"> <div class="combination"> <div class="left"> <div class="number">0</div> <br/> <div class="team">Left</div> </div> <div class="seperator"></div> <div class="right"> <div class="number">0</div> <br/> <div class="team">Right</div> </div> </div> </div> </div> <script src="helper.min.js"></script> <script src="popup.js"></script> </body> </html>
gavinvonk/scatter
popup.html
HTML
mit
1,134
<!DOCTYPE html> <html lang="en-us"> <head> <title>Tag: alsa - Storax</title> <meta charset="utf-8" /> <meta name="author" content="David Zuber" /> <link rel="stylesheet" href="/media/css/main.css" type="text/css"> </head> <body class="container"> <div> <header class="masthead"> <h1 class="masthead-title"><a href="/">Storax</a></h1> <p>Soon to be a major emacs mode.</p> <ul> <li><a href="/blog/">Blog</a></li> <li><a href="/tags/">Tags</a></li> <li><a href="/about/">About</a></li> <li><a href="https://github.com/storax">GitHub</a></li> <li><a href="/rss.xml">RSS</a></li> </ul> <form method="get" id="searchform" action="//www.google.com/search"> <input type="text" class="field" name="q" id="s" placeholder="Search"> <input type="hidden" name="as_sitesearch" value="storax.github.io"> </form> </header> </div> <div> <div class="post"> <h1>Tag: alsa</h1> <ul class="org-ul"> <li><a href="/blog/2016/04/24/xmg-p505-headphone-jack---sounds-easy">XMG P505 Headphone Jack - Sounds Easy</a></li> </ul> </div> </div> <div> <script src="//code.jquery.com/jquery-latest.min.js"></script> <script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> <div class="footer"> <p>Generated by <a href="http://www.gnu.org/software/emacs/">Emacs</a> 24.x (<a href="http://orgmode.org">Org mode</a> 8.x)</p> <p> Copyright &copy; 2012 - <span id="footerYear"></span> <a href="mailto:zuber &lt;dot&gt; david &lt;at&gt; gmx &lt;dot&gt; de">David Zuber</a> &nbsp;&nbsp;-&nbsp;&nbsp; Powered by <a href="https://github.com/kelvinh/org-page" target="_blank">org-page</a> <script type="text/javascript">document.getElementById("footerYear").innerHTML = (new Date()).getFullYear();</script> </p> </div> </div> </body> </html>
storax/storax.github.io
tags/alsa/index.html
HTML
mit
2,058
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `tag_lang_items` constant in crate `rustc_typeck`."> <meta name="keywords" content="rust, rustlang, rust-lang, tag_lang_items"> <title>rustc_typeck::metadata::common::tag_lang_items - Rust</title> <link rel="stylesheet" type="text/css" href="../../../main.css"> <link rel="shortcut icon" href="http://www.rust-lang.org/favicon.ico"> </head> <body class="rustdoc"> <!--[if lte IE 8]> <div class="warning"> This old browser is unsupported and will most likely display funky things. </div> <![endif]--> <section class="sidebar"> <a href='../../../rustc_typeck/index.html'><img src='http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png' alt='' width='100'></a> <p class='location'><a href='../../index.html'>rustc_typeck</a>::<wbr><a href='../index.html'>metadata</a>::<wbr><a href='index.html'>common</a></p><script>window.sidebarCurrent = {name: 'tag_lang_items', ty: 'constant', relpath: ''};</script><script defer src="sidebar-items.js"></script> </section> <nav class="sub"> <form class="search-form js-only"> <div class="search-container"> <input class="search-input" name="search" autocomplete="off" placeholder="Click or press 'S' to search, '?' for more options..." type="search"> </div> </form> </nav> <section id='main' class="content constant"> <h1 class='fqn'><span class='in-band'><a href='../../index.html'>rustc_typeck</a>::<wbr><a href='../index.html'>metadata</a>::<wbr><a href='index.html'>common</a>::<wbr><a class='constant' href=''>tag_lang_items</a><wbr><a class='stability Unstable' title=''>Unstable</a></span><span class='out-of-band'><span id='render-detail'> <a id="collapse-all" href="#">[-]</a>&nbsp;<a id="expand-all" href="#">[+]</a> </span><a id='src-243551' href='../../../rustc/metadata/common/constant.tag_lang_items.html?gotosrc=243551'>[src]</a></span></h1> <pre class='rust const'>pub const tag_lang_items: <a href='../../../std/primitive.usize.html'>usize</a><code> = </code><code>263</code></pre></section> <section id='search' class="content hidden"></section> <section class="footer"></section> <div id="help" class="hidden"> <div class="shortcuts"> <h1>Keyboard shortcuts</h1> <dl> <dt>?</dt> <dd>Show this help dialog</dd> <dt>S</dt> <dd>Focus the search field</dd> <dt>&larrb;</dt> <dd>Move up in search results</dd> <dt>&rarrb;</dt> <dd>Move down in search results</dd> <dt>&#9166;</dt> <dd>Go to active search result</dd> </dl> </div> <div class="infos"> <h1>Search tricks</h1> <p> Prefix searches with a type followed by a colon (e.g. <code>fn:</code>) to restrict the search to a given type. </p> <p> Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>typedef</code> (or <code>tdef</code>). </p> </div> </div> <script> window.rootPath = "../../../"; window.currentCrate = "rustc_typeck"; window.playgroundUrl = ""; </script> <script src="../../../jquery.js"></script> <script src="../../../main.js"></script> <script async src="../../../search-index.js"></script> </body> </html>
ArcherSys/ArcherSys
Rust/share/doc/rust/html/rustc_typeck/metadata/common/constant.tag_lang_items.html
HTML
mit
3,963
<!-- *********************************************************************** media card *********************************************************************** --> <div class="my-subcard" flex="75" layout-padding layout="column" layout-align="center center"> <form ng-submit="vm.onSubmit4()" id="theForm4" name="theForm4" novalidate> <fieldset> <legend>Stories about <span drop="nameDrop4" class="bin" ng-dblClick="vm.showDetails4($index)" id="curUser4" dropall><span>{{vm.data.fullName}}</span></span></legend> <md-input-container> <label>Title</label> <input style="width:500px" type="text" ng-model="vm.data.theTitle" required md-maxlength="150"> </md-input-container> <div class="my-required" layout-padding>*Required</div> <div layout="row" flex layout-align="start center"> <div flex="85" layout="column" layout-align="center center"> <div class="md-title">Compose a Story or Drop a File</div> <!-- <trix-editor id="edit-trix-editor" class="editor trix-content enable-text-selection" style="white-space:pre-line;overflow:scroll" placeholder="Start typing a story or drop a file here." ng-model-options="{ updateOn: 'blur' }" spellcheck="true" ng-model="vm.data.theContent" angular-trix trix-initialize="vm.trixInitialize(e, editor);" trix-change="vm.trixChange(e, editor);" trix-selection-change="vm.trixSelectionChange(e, editor);" trix-focus="vm.trixFocus(e, editor);" trix-blur="vm.trixBlur(e, editor);" trix-file-accept="vm.trixFileAccept(e, editor);"></trix-editor> --> </div> </div> </fieldset> <div style="margin-left:-90px" ui-view="storiesButtons" autoscroll="false"></div> </form> <div ui-view="storyCreatedList" autoscroll="false"></div> </div>
fweber1/Annies-Ancestors
add/templates/stories.view.html
HTML
mit
1,745
<html><body> <h4>Windows 10 x64 (18363.476)</h4><br> <h2>_VF_KE_CRITICAL_REGION_TRACE</h2> <font face="arial"> +0x000 Thread : Ptr64 <a href="./_ETHREAD.html">_ETHREAD</a><br> +0x008 StackTrace : [7] Ptr64 Void<br> </font></body></html>
epikcraw/ggool
public/Windows 10 x64 (18363.476)/_VF_KE_CRITICAL_REGION_TRACE.html
HTML
mit
262
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <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.9.1"/> <title>V8 API Reference Guide for node.js v0.3.2: v8::FunctionTemplate 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="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 style="padding-left: 0.5em;"> <div id="projectname">V8 API Reference Guide for node.js v0.3.2 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.9.1 --> <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><a href="namespaces.html"><span>Namespaces</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><a href="examples.html"><span>Examples</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="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li> <li><a href="functions.html"><span>Class&#160;Members</span></a></li> </ul> </div> <!-- 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="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacev8.html">v8</a></li><li class="navelem"><a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> &#124; <a href="#pub-static-methods">Static Public Member Functions</a> &#124; <a href="#friends">Friends</a> &#124; <a href="classv8_1_1_function_template-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">v8::FunctionTemplate Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include &lt;<a class="el" href="v8_8h_source.html">v8.h</a>&gt;</code></p> <div class="dynheader"> Inheritance diagram for v8::FunctionTemplate:</div> <div class="dyncontent"> <div class="center"> <img src="classv8_1_1_function_template.png" usemap="#v8::FunctionTemplate_map" alt=""/> <map id="v8::FunctionTemplate_map" name="v8::FunctionTemplate_map"> <area href="classv8_1_1_template.html" alt="v8::Template" shape="rect" coords="0,56,131,80"/> <area href="classv8_1_1_data.html" alt="v8::Data" shape="rect" coords="0,0,131,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a3b8e5e214b2ee34c36138961ebac696a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classv8_1_1_local.html">Local</a>&lt; <a class="el" href="classv8_1_1_function.html">Function</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_function_template.html#a3b8e5e214b2ee34c36138961ebac696a">GetFunction</a> ()</td></tr> <tr class="separator:a3b8e5e214b2ee34c36138961ebac696a"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a9eb1c827b17faf398a81068721bf40ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_function_template.html#a9eb1c827b17faf398a81068721bf40ab">SetCallHandler</a> (InvocationCallback callback, <a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_value.html">Value</a> &gt; data=<a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_value.html">Value</a> &gt;())</td></tr> <tr class="separator:a9eb1c827b17faf398a81068721bf40ab"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a00dd9725566908e8fd14064542f5a781"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classv8_1_1_local.html">Local</a>&lt; <a class="el" href="classv8_1_1_object_template.html">ObjectTemplate</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_function_template.html#a00dd9725566908e8fd14064542f5a781">InstanceTemplate</a> ()</td></tr> <tr class="separator:a00dd9725566908e8fd14064542f5a781"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a18f343e7e5749ed886d6e76a1424216e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_function_template.html#a18f343e7e5749ed886d6e76a1424216e">Inherit</a> (<a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a> &gt; parent)</td></tr> <tr class="separator:a18f343e7e5749ed886d6e76a1424216e"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:aa2bcc2652b5f0fdbc666d943ccf72021"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classv8_1_1_local.html">Local</a>&lt; <a class="el" href="classv8_1_1_object_template.html">ObjectTemplate</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_function_template.html#aa2bcc2652b5f0fdbc666d943ccf72021">PrototypeTemplate</a> ()</td></tr> <tr class="separator:aa2bcc2652b5f0fdbc666d943ccf72021"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a10ad6f0d3d1f67823e08fbca7c5dde41"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_function_template.html#a10ad6f0d3d1f67823e08fbca7c5dde41">SetClassName</a> (<a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_string.html">String</a> &gt; name)</td></tr> <tr class="separator:a10ad6f0d3d1f67823e08fbca7c5dde41"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ade426e8a21d777ae6100e6c1aa7bfaee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_function_template.html#ade426e8a21d777ae6100e6c1aa7bfaee">SetHiddenPrototype</a> (bool value)</td></tr> <tr class="separator:ade426e8a21d777ae6100e6c1aa7bfaee"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:aa883e4ab6643498662f7873506098c98"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_function_template.html#aa883e4ab6643498662f7873506098c98">HasInstance</a> (<a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_value.html">Value</a> &gt; object)</td></tr> <tr class="separator:aa883e4ab6643498662f7873506098c98"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="inherit_header pub_methods_classv8_1_1_template"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classv8_1_1_template')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classv8_1_1_template.html">v8::Template</a></td></tr> <tr class="memitem:a8a29557db5d0bc980752084b925a9b01 inherit pub_methods_classv8_1_1_template"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_template.html#a8a29557db5d0bc980752084b925a9b01">Set</a> (<a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_string.html">String</a> &gt; name, <a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_data.html">Data</a> &gt; value, PropertyAttribute attributes=None)</td></tr> <tr class="separator:a8a29557db5d0bc980752084b925a9b01 inherit pub_methods_classv8_1_1_template"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a2efda45d51b493bd30f254941b7c8310 inherit pub_methods_classv8_1_1_template"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2efda45d51b493bd30f254941b7c8310"></a> void&#160;</td><td class="memItemRight" valign="bottom"><b>Set</b> (const char *name, <a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_data.html">Data</a> &gt; value)</td></tr> <tr class="separator:a2efda45d51b493bd30f254941b7c8310 inherit pub_methods_classv8_1_1_template"><td class="memSeparator" colspan="2">&#160;</td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:af9012aee4a102c4018fec8e9532cb996"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classv8_1_1_local.html">Local</a>&lt; <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_function_template.html#af9012aee4a102c4018fec8e9532cb996">New</a> (InvocationCallback callback=0, <a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_value.html">Value</a> &gt; data=<a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_value.html">Value</a> &gt;(), <a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_signature.html">Signature</a> &gt; signature=<a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_signature.html">Signature</a> &gt;())</td></tr> <tr class="separator:af9012aee4a102c4018fec8e9532cb996"><td class="memSeparator" colspan="2">&#160;</td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> Friends</h2></td></tr> <tr class="memitem:ac26c806e60ca4a0547680edb68f6e39b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac26c806e60ca4a0547680edb68f6e39b"></a> class&#160;</td><td class="memItemRight" valign="bottom"><b>Context</b></td></tr> <tr class="separator:ac26c806e60ca4a0547680edb68f6e39b"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a4d28646409234f556983be8a96c06424"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d28646409234f556983be8a96c06424"></a> class&#160;</td><td class="memItemRight" valign="bottom"><b>ObjectTemplate</b></td></tr> <tr class="separator:a4d28646409234f556983be8a96c06424"><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>A <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a> is used to create functions at runtime. There can only be one function created from a <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a> in a context. The lifetime of the created function is equal to the lifetime of the context. So in case the embedder needs to create temporary functions that can be collected using Scripts is preferred.</p> <p>A <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a> can have properties, these properties are added to the function object when it is created.</p> <p>A <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a> has a corresponding instance template which is used to create object instances when the function is used as a constructor. Properties added to the instance template are added to each object instance.</p> <p>A <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a> can have a prototype template. The prototype template is used to create the prototype object of the function.</p> <p>The following example shows how to use a <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a>:</p> <div class="fragment"><div class="line"><a class="code" href="classv8_1_1_local.html">v8::Local&lt;v8::FunctionTemplate&gt;</a> t = <a class="code" href="classv8_1_1_function_template.html#af9012aee4a102c4018fec8e9532cb996">v8::FunctionTemplate::New</a>();</div> <div class="line">t-&gt;<a class="code" href="classv8_1_1_template.html#a8a29557db5d0bc980752084b925a9b01">Set</a>(<span class="stringliteral">&quot;func_property&quot;</span>, v8::Number::New(1));</div> <div class="line"></div> <div class="line"><a class="code" href="classv8_1_1_local.html">v8::Local&lt;v8::Template&gt;</a> proto_t = t-&gt;<a class="code" href="classv8_1_1_function_template.html#aa2bcc2652b5f0fdbc666d943ccf72021">PrototypeTemplate</a>();</div> <div class="line">proto_t-&gt;<a class="code" href="classv8_1_1_template.html#a8a29557db5d0bc980752084b925a9b01">Set</a>(<span class="stringliteral">&quot;proto_method&quot;</span>, <a class="code" href="classv8_1_1_function_template.html#af9012aee4a102c4018fec8e9532cb996">v8::FunctionTemplate::New</a>(InvokeCallback));</div> <div class="line">proto_t-&gt;<a class="code" href="classv8_1_1_template.html#a8a29557db5d0bc980752084b925a9b01">Set</a>(<span class="stringliteral">&quot;proto_const&quot;</span>, v8::Number::New(2));</div> <div class="line"></div> <div class="line"><a class="code" href="classv8_1_1_local.html">v8::Local&lt;v8::ObjectTemplate&gt;</a> instance_t = t-&gt;<a class="code" href="classv8_1_1_function_template.html#a00dd9725566908e8fd14064542f5a781">InstanceTemplate</a>();</div> <div class="line">instance_t-&gt;<a class="code" href="classv8_1_1_object_template.html#a944ce96b6b65d571f8d682407b70d484">SetAccessor</a>(<span class="stringliteral">&quot;instance_accessor&quot;</span>, InstanceAccessorCallback);</div> <div class="line">instance_t-&gt;<a class="code" href="classv8_1_1_object_template.html#aa80e9db593d8b954c4153082dc7a439d">SetNamedPropertyHandler</a>(PropertyHandlerCallback, ...);</div> <div class="line">instance_t-&gt;<a class="code" href="classv8_1_1_template.html#a8a29557db5d0bc980752084b925a9b01">Set</a>(<span class="stringliteral">&quot;instance_property&quot;</span>, Number::New(3));</div> <div class="line"></div> <div class="line"><a class="code" href="classv8_1_1_local.html">v8::Local&lt;v8::Function&gt;</a> <span class="keyword">function</span> = t-&gt;<a class="code" href="classv8_1_1_function_template.html#a3b8e5e214b2ee34c36138961ebac696a">GetFunction</a>();</div> <div class="line"><a class="code" href="classv8_1_1_local.html">v8::Local&lt;v8::Object&gt;</a> instance = <span class="keyword">function</span>-&gt;NewInstance();</div> </div><!-- fragment --><p>Let's use "function" as the JS variable name of the function object and "instance" for the instance object created above. The function and the instance will have the following properties:</p> <div class="fragment"><div class="line">func_property in <span class="keyword">function</span> == <span class="keyword">true</span>;</div> <div class="line"><span class="keyword">function</span>.func_property == 1;</div> <div class="line"></div> <div class="line"><span class="keyword">function</span>.prototype.proto_method() invokes <span class="stringliteral">&#39;InvokeCallback&#39;</span></div> <div class="line"><span class="keyword">function</span>.prototype.proto_const == 2;</div> <div class="line"></div> <div class="line">instance instanceof <span class="keyword">function</span> == <span class="keyword">true</span>;</div> <div class="line">instance.instance_accessor calls <span class="stringliteral">&#39;InstanceAccessorCallback&#39;</span></div> <div class="line">instance.instance_property == 3;</div> </div><!-- fragment --><p>A <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a> can inherit from another one by calling the <a class="el" href="classv8_1_1_function_template.html#a18f343e7e5749ed886d6e76a1424216e">FunctionTemplate::Inherit</a> method. The following graph illustrates the semantics of inheritance:</p> <div class="fragment"><div class="line">FunctionTemplate Parent -&gt; Parent() . prototype -&gt; { }</div> <div class="line"> ^ ^</div> <div class="line"> | <a class="code" href="classv8_1_1_function_template.html#a18f343e7e5749ed886d6e76a1424216e">Inherit</a>(Parent) | .__proto__</div> <div class="line"> | |</div> <div class="line">FunctionTemplate Child -&gt; Child() . prototype -&gt; { }</div> </div><!-- fragment --><p>A <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a> 'Child' inherits from 'Parent', the prototype object of the Child() function has <b>proto</b> pointing to the Parent() function's prototype object. An instance of the Child function has all properties on Parent's instance templates.</p> <p>Let Parent be the <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a> initialized in the previous section and create a Child <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a> by:</p> <div class="fragment"><div class="line">Local&lt;FunctionTemplate&gt; parent = t;</div> <div class="line">Local&lt;FunctionTemplate&gt; child = <a class="code" href="classv8_1_1_function_template.html#af9012aee4a102c4018fec8e9532cb996">FunctionTemplate::New</a>();</div> <div class="line">child-&gt;Inherit(parent);</div> <div class="line"></div> <div class="line">Local&lt;Function&gt; child_function = child-&gt;GetFunction();</div> <div class="line">Local&lt;Object&gt; child_instance = child_function-&gt;NewInstance();</div> </div><!-- fragment --><p>The Child function and Child instance will have the following properties:</p> <div class="fragment"><div class="line">child_func.prototype.__proto__ == <span class="keyword">function</span>.prototype;</div> <div class="line">child_instance.instance_accessor calls <span class="stringliteral">&#39;InstanceAccessorCallback&#39;</span></div> <div class="line">child_instance.instance_property == 3;</div> </div><!-- fragment --> </div><h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a3b8e5e214b2ee34c36138961ebac696a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classv8_1_1_local.html">Local</a>&lt;<a class="el" href="classv8_1_1_function.html">Function</a>&gt; v8::FunctionTemplate::GetFunction </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Returns the unique function instance in the current execution context. </p> </div> </div> <a class="anchor" id="aa883e4ab6643498662f7873506098c98"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool v8::FunctionTemplate::HasInstance </td> <td>(</td> <td class="paramtype"><a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_value.html">Value</a> &gt;&#160;</td> <td class="paramname"><em>object</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Returns true if the given object is an instance of this function template. </p> </div> </div> <a class="anchor" id="a18f343e7e5749ed886d6e76a1424216e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void v8::FunctionTemplate::Inherit </td> <td>(</td> <td class="paramtype"><a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a> &gt;&#160;</td> <td class="paramname"><em>parent</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Causes the function template to inherit from a parent function template. </p> </div> </div> <a class="anchor" id="a00dd9725566908e8fd14064542f5a781"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classv8_1_1_local.html">Local</a>&lt;<a class="el" href="classv8_1_1_object_template.html">ObjectTemplate</a>&gt; v8::FunctionTemplate::InstanceTemplate </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get the InstanceTemplate. </p> </div> </div> <a class="anchor" id="af9012aee4a102c4018fec8e9532cb996"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classv8_1_1_local.html">Local</a>&lt;<a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a>&gt; v8::FunctionTemplate::New </td> <td>(</td> <td class="paramtype">InvocationCallback&#160;</td> <td class="paramname"><em>callback</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_value.html">Value</a> &gt;&#160;</td> <td class="paramname"><em>data</em> = <code><a class="el" href="classv8_1_1_handle.html">Handle</a>&lt;&#160;<a class="el" href="classv8_1_1_value.html">Value</a>&#160;&gt;()</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_signature.html">Signature</a> &gt;&#160;</td> <td class="paramname"><em>signature</em> = <code><a class="el" href="classv8_1_1_handle.html">Handle</a>&lt;&#160;<a class="el" href="classv8_1_1_signature.html">Signature</a>&#160;&gt;()</code>&#160;</td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Creates a function template. </p> </div> </div> <a class="anchor" id="aa2bcc2652b5f0fdbc666d943ccf72021"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classv8_1_1_local.html">Local</a>&lt;<a class="el" href="classv8_1_1_object_template.html">ObjectTemplate</a>&gt; v8::FunctionTemplate::PrototypeTemplate </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>A PrototypeTemplate is the template used to create the prototype object of the function created by this template. </p> </div> </div> <a class="anchor" id="a9eb1c827b17faf398a81068721bf40ab"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void v8::FunctionTemplate::SetCallHandler </td> <td>(</td> <td class="paramtype">InvocationCallback&#160;</td> <td class="paramname"><em>callback</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_value.html">Value</a> &gt;&#160;</td> <td class="paramname"><em>data</em> = <code><a class="el" href="classv8_1_1_handle.html">Handle</a>&lt;&#160;<a class="el" href="classv8_1_1_value.html">Value</a>&#160;&gt;()</code>&#160;</td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set the call-handler callback for a <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a>. This callback is called whenever the function created from this <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a> is called. </p> </div> </div> <a class="anchor" id="a10ad6f0d3d1f67823e08fbca7c5dde41"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void v8::FunctionTemplate::SetClassName </td> <td>(</td> <td class="paramtype"><a class="el" href="classv8_1_1_handle.html">Handle</a>&lt; <a class="el" href="classv8_1_1_string.html">String</a> &gt;&#160;</td> <td class="paramname"><em>name</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the class name of the <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a>. This is used for printing objects created with the function created from the <a class="el" href="classv8_1_1_function_template.html">FunctionTemplate</a> as its constructor. </p> </div> </div> <a class="anchor" id="ade426e8a21d777ae6100e6c1aa7bfaee"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void v8::FunctionTemplate::SetHiddenPrototype </td> <td>(</td> <td class="paramtype">bool&#160;</td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Determines whether the <b>proto</b> accessor ignores instances of the function template. If instances of the function template are ignored, <b>proto</b> skips all instances and instead returns the next object in the prototype chain.</p> <p>Call with a value of true to make the <b>proto</b> accessor ignore instances of the function template. Call with a value of false to make the <b>proto</b> accessor not ignore instances of the function template. By default, instances of a function template are not ignored. </p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>deps/v8/include/<a class="el" href="v8_8h_source.html">v8.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Tue Aug 11 2015 23:46:43 for V8 API Reference Guide for node.js v0.3.2 by &#160;<a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.9.1 </small></address> </body> </html>
v8-dox/v8-dox.github.io
7d425a0/html/classv8_1_1_function_template.html
HTML
mit
28,909
<?xml version="1.0" encoding="utf-8"?> <!-- This comment will force IE7 to go into quirks mode. --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> <link rel="stylesheet" type="text/css" href="../../CSS/Contents.css"></link> <script type="text/javascript" src="../../JS/Common.js"></script> <title>Either&lt;TFirst, TSecond, TThird, TFourth&gt;.Do Method (Action&lt;TFirst&gt;, Action&lt;TSecond&gt;, Action&lt;TThird&gt;, Action&lt;TFourth&gt;)</title> </head> <body> <div id="Header"> <div id="ProjectTitle">Documentation Project</div> <div id="PageTitle">Either&lt;TFirst, TSecond, TThird, TFourth&gt;.Do Method (Action&lt;TFirst&gt;, Action&lt;TSecond&gt;, Action&lt;TThird&gt;, Action&lt;TFourth&gt;)</div> <div id="HeaderShortcuts"> <a href="#SectionHeader0" onclick="javascript: SetSectionVisibility(0, true); SetExpandCollapseAllToCollapseAll();">Syntax</a>&nbsp; </div> <div class="DarkLine"></div> <div class="LightLine"></div> <div id="HeaderToolbar"> <img id="ExpandCollapseAllImg" src="../../GFX/SmallSquareExpanded.gif" alt="" style="vertical-align: top;" onclick="javascript: ToggleAllSectionsVisibility();" /> <span id="ExpandCollapseAllSpan" onclick="javascript: ToggleAllSectionsVisibility();">Collapse All</span> </div> </div> <div id="Contents"> <a id="ContentsAnchor">&nbsp;</a> Perform an action on the encapsulated value. <div id="ItemLocation"> <b>Declaring type:</b> <a href="../../Contents/1/219.html">Either&lt;TFirst, TSecond, TThird, TFourth&gt;</a><br /> <b>Namespace:</b> <a href="../../Contents/1/208.html">Sasa</a><br /> <b>Assembly:</b> <a href="../../Contents/1/1.html">Sasa</a> </div> <div id="SectionHeader0" class="SectionHeader"> <img id="SectionExpanderImg0" src="../../GFX/BigSquareExpanded.gif" alt="Collapse/Expand" onclick="javascript: ToggleSectionVisibility(0);" /> <span class="SectionHeader"> <span class="ArrowCursor" onclick="javascript: ToggleSectionVisibility(0);"> Syntax </span> </span> </div> <div id="SectionContainerDiv0" class="SectionContainer"> <table class="CodeTable"><col width="100%" /><tr class="CodeTable"><th class="CodeTable">C#</th></tr><tr class="CodeTable"><td class="CodeTable"><pre style="margin-left: 2px;">public void Do ( Action&lt;TFirst&gt; <i>first</i>, Action&lt;TSecond&gt; <i>second</i>, Action&lt;TThird&gt; <i>third</i>, Action&lt;TFourth&gt; <i>fourth</i> ) </pre></td></tr></table> <div class="CommentHeader">Parameters</div> <div class="CommentParameterName">first</div> <div class="ParameterCommentContainer"> Function to apply if encapsulated value is of type <span class="Code">TFirst</span>. </div> <div class="CommentParameterName">second</div> <div class="ParameterCommentContainer"> Function to apply if encapsulated value is of type <span class="Code">TSecond</span>. </div> <div class="CommentParameterName">third</div> <div class="ParameterCommentContainer"> Function to apply if encapsulated value is of type <span class="Code">TThird</span>. </div> <div class="CommentParameterName">fourth</div> <div class="ParameterCommentContainer"> Function to apply if encapsulated value is of type <span class="Code">TFourth</span>. </div> <div class="TopLink"><a href="#ContentsAnchor">Top</a></div></div> </div> <div id="Footer"> <span class="Footer">Generated by <a href="http://immdocnet.codeplex.com/" target="_blank">ImmDoc .NET</a></span>. </div> </body> </html>
fschwiet/ManyConsole
lib/Sasa-v0.9.3-docs/Contents/1/351.html
HTML
mit
3,674
<!DOCTYPE html> <!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" dir="ltr"> <!--<![endif]--> <!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open&id=3 (optional: ?Open&page=filename.html&id=x) --> <!-- Created: ; Product Code: 536; Server: stratnotes2.ic.gc.ca --> <head> <!-- Title begins / Début du titre --> <title> Kulina - Complete profile - Canadian Company Capabilities - Industries and Business - Industry Canada </title> <!-- Title ends / Fin du titre --> <!-- Meta-data begins / Début des métadonnées --> <meta charset="utf-8" /> <meta name="dcterms.language" title="ISO639-2" content="eng" /> <meta name="dcterms.title" content="" /> <meta name="description" content="" /> <meta name="dcterms.description" content="" /> <meta name="dcterms.type" content="report, data set" /> <meta name="dcterms.subject" content="businesses, industry" /> <meta name="dcterms.subject" content="businesses, industry" /> <meta name="dcterms.issued" title="W3CDTF" content="" /> <meta name="dcterms.modified" title="W3CDTF" content="" /> <meta name="keywords" content="" /> <meta name="dcterms.creator" content="" /> <meta name="author" content="" /> <meta name="dcterms.created" title="W3CDTF" content="" /> <meta name="dcterms.publisher" content="" /> <meta name="dcterms.audience" title="icaudience" content="" /> <meta name="dcterms.spatial" title="ISO3166-1" content="" /> <meta name="dcterms.spatial" title="gcgeonames" content="" /> <meta name="dcterms.format" content="HTML" /> <meta name="dcterms.identifier" title="ICsiteProduct" content="536" /> <!-- EPI-11240 --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- MCG-202 --> <meta content="width=device-width,initial-scale=1" name="viewport"> <!-- EPI-11567 --> <meta name = "format-detection" content = "telephone=no"> <!-- EPI-12603 --> <meta name="robots" content="noarchive"> <!-- EPI-11190 - Webtrends --> <script> var startTime = new Date(); startTime = startTime.getTime(); </script> <!--[if gte IE 9 | !IE ]><!--> <link href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/favicon.ico" rel="icon" type="image/x-icon"> <link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/wet-boew.min.css"> <!--<![endif]--> <link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/theme.min.css"> <!--[if lt IE 9]> <link href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/favicon.ico" rel="shortcut icon" /> <link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/ie8-wet-boew.min.css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/ie8-wet-boew.min.js"></script> <![endif]--> <!--[if lte IE 9]> <![endif]--> <noscript><link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/noscript.min.css" /></noscript> <!-- Google Tag Manager DO NOT REMOVE OR MODIFY - NE PAS SUPPRIMER OU MODIFIER --> <script>dataLayer1 = [];</script> <!-- End Google Tag Manager --> <!-- EPI-11235 --> <link rel="stylesheet" href="/eic/home.nsf/css/add_WET_4-0_Canada_Apps.css"> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> <link href="/app/ccc/srch/css/print.css" media="print" rel="stylesheet" type="text/css" /> </head> <body class="home" vocab="http://schema.org/" typeof="WebPage"> <!-- EPIC HEADER BEGIN --> <!-- Google Tag Manager DO NOT REMOVE OR MODIFY - NE PAS SUPPRIMER OU MODIFIER --> <noscript><iframe title="Google Tag Manager" src="//www.googletagmanager.com/ns.html?id=GTM-TLGQ9K" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer1'?'&l='+l:'';j.async=true;j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer1','GTM-TLGQ9K');</script> <!-- End Google Tag Manager --> <!-- EPI-12801 --> <span typeof="Organization"><meta property="legalName" content="Department_of_Industry"></span> <ul id="wb-tphp"> <li class="wb-slc"> <a class="wb-sl" href="#wb-cont">Skip to main content</a> </li> <li class="wb-slc visible-sm visible-md visible-lg"> <a class="wb-sl" href="#wb-info">Skip to "About this site"</a> </li> </ul> <header role="banner"> <div id="wb-bnr" class="container"> <section id="wb-lng" class="visible-md visible-lg text-right"> <h2 class="wb-inv">Language selection</h2> <div class="row"> <div class="col-md-12"> <ul class="list-inline mrgn-bttm-0"> <li><a href="nvgt.do?V_TOKEN=1492297383225&V_SEARCH.docsCount=3&V_DOCUMENT.docRank=26004&V_SEARCH.docsStart=26003&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=/prfl.do&lang=fra&redirectUrl=/app/scr/wp-config.php?_flId?_flxKy=e1s1&amp;estblmntNo=234567041301&amp;profileId=61&amp;_evId=bck&amp;lang=eng&amp;V_SEARCH.showStricts=false&amp;prtl=1&amp;_flId?_flId?_flxKy=e1s1" title="Français" lang="fr">Français</a></li> </ul> </div> </div> </section> <div class="row"> <div class="brand col-xs-8 col-sm-9 col-md-6"> <a href="http://www.canada.ca/en/index.html"><object type="image/svg+xml" tabindex="-1" data="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/sig-blk-en.svg"></object><span class="wb-inv"> Government of Canada</span></a> </div> <section class="wb-mb-links col-xs-4 col-sm-3 visible-sm visible-xs" id="wb-glb-mn"> <h2>Search and menus</h2> <ul class="list-inline text-right chvrn"> <li><a href="#mb-pnl" title="Search and menus" aria-controls="mb-pnl" class="overlay-lnk" role="button"><span class="glyphicon glyphicon-search"><span class="glyphicon glyphicon-th-list"><span class="wb-inv">Search and menus</span></span></span></a></li> </ul> <div id="mb-pnl"></div> </section> <!-- Site Search Removed --> </div> </div> <nav role="navigation" id="wb-sm" class="wb-menu visible-md visible-lg" data-trgt="mb-pnl" data-ajax-fetch="//cdn.canada.ca/gcweb-cdn-dev/sitemenu/sitemenu-en.html" typeof="SiteNavigationElement"> <h2 class="wb-inv">Topics menu</h2> <div class="container nvbar"> <div class="row"> <ul class="list-inline menu"> <li><a href="https://www.canada.ca/en/services/jobs.html">Jobs</a></li> <li><a href="http://www.cic.gc.ca/english/index.asp">Immigration</a></li> <li><a href="https://travel.gc.ca/">Travel</a></li> <li><a href="https://www.canada.ca/en/services/business.html">Business</a></li> <li><a href="https://www.canada.ca/en/services/benefits.html">Benefits</a></li> <li><a href="http://healthycanadians.gc.ca/index-eng.php">Health</a></li> <li><a href="https://www.canada.ca/en/services/taxes.html">Taxes</a></li> <li><a href="https://www.canada.ca/en/services.html">More services</a></li> </ul> </div> </div> </nav> <!-- EPIC BODY BEGIN --> <nav role="navigation" id="wb-bc" class="" property="breadcrumb"> <h2 class="wb-inv">You are here:</h2> <div class="container"> <div class="row"> <ol class="breadcrumb"> <li><a href="/eic/site/icgc.nsf/eng/home" title="Home">Home</a></li> <li><a href="/eic/site/icgc.nsf/eng/h_07063.html" title="Industries and Business">Industries and Business</a></li> <li><a href="/eic/site/ccc-rec.nsf/tpl-eng/../eng/home" >Canadian Company Capabilities</a></li> </ol> </div> </div> </nav> </header> <main id="wb-cont" role="main" property="mainContentOfPage" class="container"> <!-- End Header --> <!-- Begin Body --> <!-- Begin Body Title --> <!-- End Body Title --> <!-- Begin Body Head --> <!-- End Body Head --> <!-- Begin Body Content --> <br> <!-- Complete Profile --> <!-- Company Information above tabbed area--> <input id="showMore" type="hidden" value='more'/> <input id="showLess" type="hidden" value='less'/> <h1 id="wb-cont"> Company profile - Canadian Company Capabilities </h1> <div class="profileInfo hidden-print"> <ul class="list-inline"> <li><a href="cccSrch.do?lang=eng&profileId=&prtl=1&key.hitsPerPage=25&searchPage=%252Fapp%252Fccc%252Fsrch%252FcccBscSrch.do%253Flang%253Deng%2526amp%253Bprtl%253D1%2526amp%253Btagid%253D&V_SEARCH.scopeCategory=CCC.Root&V_SEARCH.depth=1&V_SEARCH.showStricts=false&V_SEARCH.sortSpec=title+asc&amp;rstBtn.x=" class="btn btn-link">New Search</a>&nbsp;|</li> <li><form name="searchForm" method="post" action="/app/ccc/srch/bscSrch.do"> <input type="hidden" name="lang" value="eng" /> <input type="hidden" name="profileId" value="" /> <input type="hidden" name="prtl" value="1" /> <input type="hidden" name="searchPage" value="%2Fapp%2Fccc%2Fsrch%2FcccBscSrch.do%3Flang%3Deng%26amp%3Bprtl%3D1%26amp%3Btagid%3D" /> <input type="hidden" name="V_SEARCH.scopeCategory" value="CCC.Root" /> <input type="hidden" name="V_SEARCH.depth" value="1" /> <input type="hidden" name="V_SEARCH.showStricts" value="false" /> <input id="repeatSearchBtn" class="btn btn-link" type="submit" value="Return to search results" /> </form></li> <li>|&nbsp;<a href="nvgt.do?V_SEARCH.docsStart=26002&amp;V_DOCUMENT.docRank=26003&amp;V_SEARCH.docsCount=3&amp;lang=eng&amp;prtl=1&amp;sbPrtl=&amp;profile=cmpltPrfl&amp;V_TOKEN=1492297390529&amp;V_SEARCH.command=navigate&amp;V_SEARCH.resultsJSP=%2fprfl.do&amp;estblmntNo=234567156407&amp;profileId=&amp;key.newSearchLabel=">Previous Company</a></li> <li>|&nbsp;<a href="nvgt.do?V_SEARCH.docsStart=26004&amp;V_DOCUMENT.docRank=26005&amp;V_SEARCH.docsCount=3&amp;lang=eng&amp;prtl=1&amp;sbPrtl=&amp;profile=cmpltPrfl&amp;V_TOKEN=1492297390529&amp;V_SEARCH.command=navigate&amp;V_SEARCH.resultsJSP=%2fprfl.do&amp;estblmntNo=234567044909&amp;profileId=&amp;key.newSearchLabel=">Next Company</a></li> </ul> </div> <details> <summary>Third-Party Information Liability Disclaimer</summary> <p>Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.</p> </details> <h2> Kulina </h2> <div class="row"> <div class="col-md-5"> <h2 class="h5 mrgn-bttm-0">Legal/Operating Name:</h2> <p>Kulina</p> <div class="mrgn-tp-md"></div> <p class="mrgn-bttm-0" ><a href="http://www.kulina.ca" target="_blank" title="Website URL">http://www.kulina.ca</a></p> <p><a href="mailto:[email protected]" title="[email protected]">[email protected]</a></p> </div> <div class="col-md-4 mrgn-sm-sm"> <h2 class="h5 mrgn-bttm-0">Mailing Address:</h2> <address class="mrgn-bttm-md"> 6655, boul. Pierre-Bertrand<br/> QUÉBEC, Quebec<br/> G2J 1R4 <br/> </address> <h2 class="h5 mrgn-bttm-0">Location Address:</h2> <address class="mrgn-bttm-md"> 6655, boul. Pierre-Bertrand<br/> QUÉBEC, Quebec<br/> G2J 1R4 <br/> </address> <p class="mrgn-bttm-0"><abbr title="Telephone">Tel.</abbr>: (418) 626-2600 </p> <p class="mrgn-bttm-lg"><abbr title="Facsimile">Fax</abbr>: </p> </div> <div class="col-md-3 mrgn-tp-md"> </div> </div> <div class="row mrgn-tp-md mrgn-bttm-md"> <div class="col-md-12"> <h2 class="wb-inv">Company Profile</h2> <br> Rénover sa cuisine et sa salle de bain, s’offrir un walk-in à faire rêver, aménager un hall d’entrée, ce sont tous des projets grandioses et stimulants. Chez Kulina, nous pouvons vous accompagner pour que tous vos projets de construction ou de rénovation, petits et grands, se réalisent en toute confiance et quiétude. Kulina, c’est la référence pour vos projets d’armoires de cuisine et salle de bain à Québec ! <br> <br>Notre portfolio virtuel présenté sur iPad, disponible en succursale, vous montre des dizaines de modèles d’armoires de cuisine et salle de bain. De quoi vous donner de l’inspiration pour créer votre propre espace ! Les idées recueillies dans notre portfolio, les revues ou les magazines de décoration ainsi que vos goûts, vos besoins et votre style de vie guideront notre équipe afin de vous concevoir la cuisine sur mesure dont vous rêvez, celle qui deviendra le centre d’attraction de votre foyer. <br> <br>Design adroitement dosé, matériaux de premier choix, couleurs tendances et accessoires ergonomiques seront ingénieusement assemblés et vous seront présentés sur plan 3D photo réaliste. Vous pourrez ainsi visualiser votre espace avec vos choix de couleurs et de matériaux comme si vous y étiez ! Vous serez alors confiants de vos sélections et serez assurés d’un résultat à la hauteur de vos attentes. <br> <br>Service de design personnalisé, fabrication sur mesure, livraison soignée et service d’installation professionnel, autant dans le secteur de la rénovation que de la construction neuve, un clé en main signé Kulina ! <br> </div> </div> <!-- <div class="wb-tabs ignore-session update-hash wb-eqht-off print-active"> --> <div class="wb-tabs ignore-session"> <div class="tabpanels"> <details id="details-panel1"> <summary> Full profile </summary> <!-- Tab 1 --> <h2 class="wb-invisible"> Full profile </h2> <!-- Contact Information --> <h3 class="page-header"> Contact information </h3> <section class="container-fluid"> <div class="row mrgn-tp-lg"> <div class="col-md-3"> <strong> Jean-Philippe Paquet </strong></div> </div> <div class="row mrgn-lft-md"> <div class="col-md-5"> <strong> Title: </strong> </div> <div class="col-md-7"> <!--if client gender is not null or empty we use gender based job title--> Owner </div> </div> <div class="row mrgn-lft-md"> <div class="col-md-5"> <strong> Area of Responsibility: </strong> </div> <div class="col-md-7"> Management Executive. </div> </div> <div class="row mrgn-lft-md"> <div class="col-md-5"> <strong> Telephone: </strong> </div> <div class="col-md-7"> (418) 626-2600 </div> </div> <div class="row mrgn-lft-md"> <div class="col-md-5"> <strong> Email: </strong> </div> <div class="col-md-7"> [email protected] </div> </div> </section> <p class="mrgn-tp-lg text-right small hidden-print"> <a href="#wb-cont">top of page</a> </p> <!-- Company Description --> <h3 class="page-header"> Company description </h3> <section class="container-fluid"> <div class="row"> <div class="col-md-5"> <strong> Country of Ownership: </strong> </div> <div class="col-md-7"> Canada &nbsp; </div> </div> <div class="row"> <div class="col-md-5"> <strong> Exporting: </strong> </div> <div class="col-md-7"> No &nbsp; </div> </div> <div class="row"> <div class="col-md-5"> <strong> Primary Industry (NAICS): </strong> </div> <div class="col-md-7"> 236110 - Residential Building Construction </div> </div> <div class="row"> <div class="col-md-5"> <strong> Primary Business Activity: </strong> </div> <div class="col-md-7"> Services &nbsp; </div> </div> </section> <!-- Products / Services / Licensing --> <h3 class="page-header"> Product / Service / Licensing </h3> <section class="container-fluid"> <div class="row mrgn-bttm-md"> <div class="col-md-3"> <strong> Product Name: </strong> </div> <div class="col-md-9"> Fabrication d&#39;armoires de cuisine et salle de bain<br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-12"> Il est maintenant temps de préparer la mise en production de votre projet afin de l’envoyer à l’usine. La fabrication de vos armoires est effectuée avec des matériaux de première qualité. De plus, elles sont usinées avec de la machinerie numérique contrôlée par ordinateur à la fine pointe de la technologie et offrant une ultime précision.<br> <br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-3"> <strong> Service Name: </strong> </div> <div class="col-md-9"> Rénovation de cuisine<br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-12"> Kulina se distingue par la conception de plans de cuisine 3D lors de la réalisastion de votre projet en rénovation de cuisine. Ces plans permettent de visualiser votre espace avant même le début des rénovations. Nos cuisinistes vous conseillent afin d’harmoniser les matériaux et les couleurs et vous donnent la chance de comparer votre cuisine selon plusieurs styles. Vous hésitez entre une cuisine moderne et une cuisine champêtre? Voyez le résultat final, comme si vous y étiez! Pour une rénovation de cuisine des plus efficaces, optez pour Kulina.<br> <br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-3"> <strong> Service Name: </strong> </div> <div class="col-md-9"> Installation d&#39;armoires de cuisine et salle de bain<br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-12"> Nos installateurs concrétiseront votre projet selon les règles de l’art. Une fois l’installation complétée, étape qui se déroule normalement en une journée pour une cuisine ou salle de bain standard, une inspection finale sera effectuée avec vous afin de s’assurer que tout soit à votre entière satisfaction. Pour une installation d’armoires impeccable, Kulina est un choix sûr.<br> <br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-3"> <strong> Service Name: </strong> </div> <div class="col-md-9"> Design de cuisine et salle de bain<br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-12"> L’équipe de Kulina est composée de designer-cuisinistes spécialisés dans la conception et l’aménagement de cuisine, salle de bain et bien plus. Peu importe votre projet, Kulina saura relever le défi!<br> <br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-3"> <strong> Service Name: </strong> </div> <div class="col-md-9"> Fabrication de meubles sur mesure<br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-12"> Nos talentueux ébénistes fabriqueront vos meubles, selon vos besoins et votre budget. Leurs équipements à la fine pointe de la technologie ne laissent place à aucune erreur de mesure.<br> <br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-3"> <strong> Service Name: </strong> </div> <div class="col-md-9"> Présentation d&#39;un plan 3D<br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-12"> Visualisez-vous dans votre cuisine avant même le début des travaux avec nos plans photoréalistes, comme si vous y étiez!<br> <br> </div> </div> </section> <p class="mrgn-tp-lg text-right small hidden-print"> <a href="#wb-cont">top of page</a> </p> <!-- Technology Profile --> <!-- Market Profile --> <!-- Sector Information --> <details class="mrgn-tp-md mrgn-bttm-md"> <summary> Third-Party Information Liability Disclaimer </summary> <p> Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements. </p> </details> </details> <details id="details-panel2"> <summary> Contacts </summary> <h2 class="wb-invisible"> Contact information </h2> <!-- Contact Information --> <section class="container-fluid"> <div class="row mrgn-tp-lg"> <div class="col-md-3"> <strong> Jean-Philippe Paquet </strong></div> </div> <div class="row mrgn-lft-md"> <div class="col-md-5"> <strong> Title: </strong> </div> <div class="col-md-7"> <!--if client gender is not null or empty we use gender based job title--> Owner </div> </div> <div class="row mrgn-lft-md"> <div class="col-md-5"> <strong> Area of Responsibility: </strong> </div> <div class="col-md-7"> Management Executive. </div> </div> <div class="row mrgn-lft-md"> <div class="col-md-5"> <strong> Telephone: </strong> </div> <div class="col-md-7"> (418) 626-2600 </div> </div> <div class="row mrgn-lft-md"> <div class="col-md-5"> <strong> Email: </strong> </div> <div class="col-md-7"> [email protected] </div> </div> </section> </details> <details id="details-panel3"> <summary> Description </summary> <h2 class="wb-invisible"> Company description </h2> <section class="container-fluid"> <div class="row"> <div class="col-md-5"> <strong> Country of Ownership: </strong> </div> <div class="col-md-7"> Canada &nbsp; </div> </div> <div class="row"> <div class="col-md-5"> <strong> Exporting: </strong> </div> <div class="col-md-7"> No &nbsp; </div> </div> <div class="row"> <div class="col-md-5"> <strong> Primary Industry (NAICS): </strong> </div> <div class="col-md-7"> 236110 - Residential Building Construction </div> </div> <div class="row"> <div class="col-md-5"> <strong> Primary Business Activity: </strong> </div> <div class="col-md-7"> Services &nbsp; </div> </div> </section> </details> <details id="details-panel4"> <summary> Products, services and licensing </summary> <h2 class="wb-invisible"> Product / Service / Licensing </h2> <section class="container-fluid"> <div class="row mrgn-bttm-md"> <div class="col-md-3"> <strong> Product Name: </strong> </div> <div class="col-md-9"> Fabrication d&#39;armoires de cuisine et salle de bain<br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-12"> Il est maintenant temps de préparer la mise en production de votre projet afin de l’envoyer à l’usine. La fabrication de vos armoires est effectuée avec des matériaux de première qualité. De plus, elles sont usinées avec de la machinerie numérique contrôlée par ordinateur à la fine pointe de la technologie et offrant une ultime précision.<br> <br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-3"> <strong> Service Name: </strong> </div> <div class="col-md-9"> Rénovation de cuisine<br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-12"> Kulina se distingue par la conception de plans de cuisine 3D lors de la réalisastion de votre projet en rénovation de cuisine. Ces plans permettent de visualiser votre espace avant même le début des rénovations. Nos cuisinistes vous conseillent afin d’harmoniser les matériaux et les couleurs et vous donnent la chance de comparer votre cuisine selon plusieurs styles. Vous hésitez entre une cuisine moderne et une cuisine champêtre? Voyez le résultat final, comme si vous y étiez! Pour une rénovation de cuisine des plus efficaces, optez pour Kulina.<br> <br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-3"> <strong> Service Name: </strong> </div> <div class="col-md-9"> Installation d&#39;armoires de cuisine et salle de bain<br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-12"> Nos installateurs concrétiseront votre projet selon les règles de l’art. Une fois l’installation complétée, étape qui se déroule normalement en une journée pour une cuisine ou salle de bain standard, une inspection finale sera effectuée avec vous afin de s’assurer que tout soit à votre entière satisfaction. Pour une installation d’armoires impeccable, Kulina est un choix sûr.<br> <br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-3"> <strong> Service Name: </strong> </div> <div class="col-md-9"> Design de cuisine et salle de bain<br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-12"> L’équipe de Kulina est composée de designer-cuisinistes spécialisés dans la conception et l’aménagement de cuisine, salle de bain et bien plus. Peu importe votre projet, Kulina saura relever le défi!<br> <br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-3"> <strong> Service Name: </strong> </div> <div class="col-md-9"> Fabrication de meubles sur mesure<br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-12"> Nos talentueux ébénistes fabriqueront vos meubles, selon vos besoins et votre budget. Leurs équipements à la fine pointe de la technologie ne laissent place à aucune erreur de mesure.<br> <br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-3"> <strong> Service Name: </strong> </div> <div class="col-md-9"> Présentation d&#39;un plan 3D<br> </div> </div> <div class="row mrgn-bttm-md"> <div class="col-md-12"> Visualisez-vous dans votre cuisine avant même le début des travaux avec nos plans photoréalistes, comme si vous y étiez!<br> <br> </div> </div> </section> </details> </div> </div> <div class="row"> <div class="col-md-12 text-right"> Last Update Date 2017-03-17 </div> </div> <!-- - Artifact ID: CBW - IMBS - CCC Search WAR - Group ID: ca.gc.ic.strategis.imbs.ccc.search - Version: 3.26 - Built-By: bamboo - Build Timestamp: 2017-03-02T21:29:28Z --> <!-- End Body Content --> <!-- Begin Body Foot --> <!-- End Body Foot --> <!-- END MAIN TABLE --> <!-- End body --> <!-- Begin footer --> <div class="row pagedetails"> <div class="col-sm-5 col-xs-12 datemod"> <dl id="wb-dtmd"> <dt class=" hidden-print">Date Modified:</dt> <dd class=" hidden-print"> <span><time>2017-03-02</time></span> </dd> </dl> </div> <div class="clear visible-xs"></div> <div class="col-sm-4 col-xs-6"> </div> <div class="col-sm-3 col-xs-6 text-right"> </div> <div class="clear visible-xs"></div> </div> </main> <footer role="contentinfo" id="wb-info"> <nav role="navigation" class="container wb-navcurr"> <h2 class="wb-inv">About government</h2> <!-- EPIC FOOTER BEGIN --> <!-- EPI-11638 Contact us --> <ul class="list-unstyled colcount-sm-2 colcount-md-3"> <li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07026.html#pageid=E048-H00000&amp;from=Industries">Contact us</a></li> <li><a href="https://www.canada.ca/en/government/dept.html">Departments and agencies</a></li> <li><a href="https://www.canada.ca/en/government/publicservice.html">Public service and military</a></li> <li><a href="https://www.canada.ca/en/news.html">News</a></li> <li><a href="https://www.canada.ca/en/government/system/laws.html">Treaties, laws and regulations</a></li> <li><a href="https://www.canada.ca/en/transparency/reporting.html">Government-wide reporting</a></li> <li><a href="http://pm.gc.ca/eng">Prime Minister</a></li> <li><a href="https://www.canada.ca/en/government/system.html">How government works</a></li> <li><a href="http://open.canada.ca/en/">Open government</a></li> </ul> </nav> <div class="brand"> <div class="container"> <div class="row"> <nav class="col-md-10 ftr-urlt-lnk"> <h2 class="wb-inv">About this site</h2> <ul> <li><a href="https://www.canada.ca/en/social.html">Social media</a></li> <li><a href="https://www.canada.ca/en/mobile.html">Mobile applications</a></li> <li><a href="http://www1.canada.ca/en/newsite.html">About Canada.ca</a></li> <li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07033.html">Terms and conditions</a></li> <li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07033.html#p1">Privacy</a></li> </ul> </nav> <div class="col-xs-6 visible-sm visible-xs tofpg"> <a href="#wb-cont">Top of Page <span class="glyphicon glyphicon-chevron-up"></span></a> </div> <div class="col-xs-6 col-md-2 text-right"> <object type="image/svg+xml" tabindex="-1" role="img" data="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/wmms-blk.svg" aria-label="Symbol of the Government of Canada"></object> </div> </div> </div> </div> </footer> <!--[if gte IE 9 | !IE ]><!--> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/wet-boew.min.js"></script> <!--<![endif]--> <!--[if lt IE 9]> <script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/ie8-wet-boew2.min.js"></script> <![endif]--> <script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/theme.min.js"></script> <!-- EPI-10519 --> <span class="wb-sessto" data-wb-sessto='{"inactivity": 1800000, "reactionTime": 180000, "sessionalive": 1800000, "logouturl": "/app/ccc/srch/cccSrch.do?lang=eng&prtl=1"}'></span> <script src="/eic/home.nsf/js/jQuery.externalOpensInNewWindow.js"></script> <!-- EPI-11190 - Webtrends --> <script src="/eic/home.nsf/js/webtrends.js"></script> <script>var endTime = new Date();</script> <noscript> <div><img alt="" id="DCSIMG" width="1" height="1" src="//wt-sdc.ic.gc.ca/dcs6v67hwe0ei7wsv8g9fv50d_3k6i/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=9.4.0&amp;dcssip=www.ic.gc.ca"/></div> </noscript> <!-- /Webtrends --> <!-- JS deps --> <script src="/eic/home.nsf/js/jquery.imagesloaded.js"></script> <!-- EPI-11262 - Util JS --> <script src="/eic/home.nsf/js/_WET_4-0_utils_canada.min.js"></script> <!-- EPI-11383 --> <script src="/eic/home.nsf/js/jQuery.icValidationErrors.js"></script> <span style="display:none;" id='app-info' data-project-groupid='' data-project-artifactid='' data-project-version='' data-project-build-timestamp='' data-issue-tracking='' data-scm-sha1='' data-scm-sha1-abbrev='' data-scm-branch='' data-scm-commit-date=''></span> </body></html> <!-- End Footer --> <!-- - Artifact ID: CBW - IMBS - CCC Search WAR - Group ID: ca.gc.ic.strategis.imbs.ccc.search - Version: 3.26 - Built-By: bamboo - Build Timestamp: 2017-03-02T21:29:28Z -->
GoC-Spending/data-corporations
html/234567167350.html
HTML
mit
55,913
<html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>NVAPI Reference Documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head> <table width="99%" border="0" cellspacing="1" cellpadding="1"> <tr valign="top"> <td rowspan="2" height="100" width="19%"><img src="NV_Gameworks_blk_H.png"></td> <td width="81%" height="51"> <h6 align="left" style="text-align:right"><font face="Arial, Helvetica, sans-serif" size="4">NVAPI Reference Documentation</font> <br /> <font face="Arial, Helvetica, sans-serif" size="4">NVIDIA</font></h6> </td> </tr> <tr> <td width="81%" height="30"> <h6 align="right"><font face="Arial, Helvetica, sans-serif" size="3">Release 337: May 2 </font><font face="Arial, Helvetica, sans-serif" size="+1"> <br /> </font><font size="2" face="Arial, Helvetica, sans-serif">2014 </font></h6> </td> </tr> </table> <hr> <!-- Generated by Doxygen 1.7.6.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="pages.html"><span>Related&#160;Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li> <li><a href="functions.html"><span>Data&#160;Fields</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-attribs">Data Fields</a> </div> <div class="headertitle"> <div class="title">_NV_GSYNC_STATUS_PARAMS Struct Reference<div class="ingroups"><a class="el" href="group__gsyncapi.html">Quadro G-Sync APIs</a></div></div> </div> </div><!--header--> <div class="contents"> <!-- doxytag: class="_NV_GSYNC_STATUS_PARAMS" --> <p><code>#include &lt;nvapi.h&gt;</code></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-attribs"></a> Data Fields</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nvapi__lite__common_8h.html#aaae2f78a3deabb2a061e030085de652c">NvU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vidio.html#ga766de88a83346c63a560b2d6df150d7c">version</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nvapi__lite__common_8h.html#aaae2f78a3deabb2a061e030085de652c">NvU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vidio.html#gada4a7937dae1a29db6f598ac9384104e">refreshRate</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nvapi_8h.html#a19b69275ca313501d19d22f82676cc29">NVAPI_GSYNC_RJ45_IO</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vidio.html#ga758359e23e1235ab7e5b4094691c0c8d">RJ45_IO</a> [<a class="el" href="group__gsyncapi.html#gae690a0b2336a39c43a1b9e9404fe9173">NVAPI_MAX_RJ45_PER_GSYNC</a>]</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nvapi__lite__common_8h.html#aaae2f78a3deabb2a061e030085de652c">NvU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vidio.html#ga001503e736045cba506e9ce0e3da30e6">RJ45_Ethernet</a> [<a class="el" href="group__gsyncapi.html#gae690a0b2336a39c43a1b9e9404fe9173">NVAPI_MAX_RJ45_PER_GSYNC</a>]</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nvapi__lite__common_8h.html#aaae2f78a3deabb2a061e030085de652c">NvU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vidio.html#gac2029936f2db800f38fb492d66f8bb25">houseSyncIncoming</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="nvapi__lite__common_8h.html#aaae2f78a3deabb2a061e030085de652c">NvU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__vidio.html#gafdd700471927eaf577cd438541070695">bHouseSync</a></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Used in <a class="el" href="group__gsyncapi.html#ga6df26d3d01f6b14902bb3c8ce727876f">NvAPI_GSync_GetStatusParameters()</a>. </p> </div><hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="nvapi_8h.html">nvapi.h</a></li> </ul> </div><!-- contents --> <hr size="2" color="lime"> <small> <br> <div align="center"><a href="legal.html"> Copyright (c) 2007-2014 NVIDIA Corporation. All rights reserved.</a></div> <br> <a href="http://www.nvidia.com" target=_blank><div align="center"><img src="nvidia-logo.jpg" alt="NVIDIA" border="0" align="middle"></a></div> </body> </html>
helifax/OGL-3DVision-Wrapper
src/libs/NVAPI_337_old/docs/NVAPI_Reference_Developer_html/struct__NV__GSYNC__STATUS__PARAMS.html
HTML
mit
5,006
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> <title>95233-18-4.smi.png.html</title> </head> <body>ID95233-18-4<br/> <img border="0" src="95233-18-4.smi.png" alt="95233-18-4.smi.png"></img><br/> <br/> <table border="1"> <tr> <td></td><td>ID</td><td>Formula</td><td>FW</td><td>DSSTox_CID</td><td>DSSTox_RID</td><td>DSSTox_GSID</td><td>DSSTox_FileID_Sort</td><td>TS_ChemName</td><td>TS_ChemName_Synonyms</td><td>TS_CASRN</td><td>CASRN_ChemName_Relationship</td><td>TS_Description</td><td>ChemNote</td><td>STRUCTURE_Shown</td><td>STRUCTURE_Formula</td><td>STRUCTURE_MW</td><td>STRUCTURE_ChemType</td><td>STRUCTURE_DefinedOrganicForm</td><td>STRUCTURE_IUPAC</td><td>STRUCTURE_SMILES</td><td>STRUCTURE_SMILES_Desalt</td><td>Substance_modify_yyyymmdd</td></tr> <tr> <td>95233-18-4</td><td>2381</td><td>C22H19ClO3</td><td>366.8375</td><td>2629</td><td>76664</td><td>22629</td><td>1348</td><td>Atovaquone</td><td></td><td>95233-18-4</td><td>primary</td><td>single chemical compound</td><td>stereochem</td><td>tested chemical</td><td>C22H19ClO3</td><td>366.8375</td><td>defined organic</td><td>parent</td><td>2-[trans-4-(4-chlorophenyl)cyclohexyl]-3-hydroxynaphthalene-1,4-dione</td><td>Clc1ccc(cc1)[C@H]2CC[C@@H](CC2)C=4C(=O)c3ccccc3C(=O)C=4O</td><td>Clc1ccc(cc1)[C@H]2CC[C@@H](CC2)C=4C(=O)c3ccccc3C(=O)C=4O</td><td>20080429</td></tr> </table> <br/><br/><font size="-2">(Page generated on Wed Sep 17 01:51:43 2014 by <a href="http://www.embl.de/~gpau/hwriter/index.html">hwriter</a> 1.3)</font><br/> </body></html>
andrewdefries/ToxCast
Figure3/ToxCast_nnm/WorkHere/95233-18-4.smi.png.html
HTML
mit
1,735
<html> <head> <title>OGRE: Member List - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="doxygen.css"> <link type="text/css" rel="stylesheet" href="tabs.css"> </head> <body> <!-- Generated by Doxygen 1.6.2 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</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><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li> <li><a href="classes.html"><span>Class&nbsp;Index</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>Ogre::ShadowVolumeExtrudeProgram Member List</h1>This is the complete list of members for <a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a>, including all inherited members.<table> <tr class="memlist"><td><a class="el" href="classOgre_1_1AllocatedObject.html#a366445eb206e55a2199267b8b9089ebb">AllocatedObject</a>()</td><td><a class="el" href="classOgre_1_1AllocatedObject.html">Ogre::AllocatedObject&lt; Alloc &gt;</a></td><td><code> [explicit]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ade24fd66aff9052fb19403696f28a623abe106ce64f87c499f0f9795d8f179fb4">DIRECTIONAL_LIGHT</a> enum value</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ade24fd66aff9052fb19403696f28a623ab88033d4c3fef76acf231db879dd33a5">DIRECTIONAL_LIGHT_DEBUG</a> enum value</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ade24fd66aff9052fb19403696f28a623a2caab40e2442c76f90b6942629ece2a8">DIRECTIONAL_LIGHT_FINITE</a> enum value</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ade24fd66aff9052fb19403696f28a623a4c4ad12515f7a0d2478e9d1b4713ea88">DIRECTIONAL_LIGHT_FINITE_DEBUG</a> enum value</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a3397ff3db546b9b2337816c783a669a8">frgProgramName</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ac050f98eb30595ce944e14684abf41e5">getDirectionalLightExtruderArbvp1</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a588fe455365043a2753f5a1bda5925e6">getDirectionalLightExtruderArbvp1Debug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a990ce03657ecc3772f87039f61f43b70">getDirectionalLightExtruderArbvp1Finite</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a933bdc6da08c8c7f604c544a1e15b004">getDirectionalLightExtruderArbvp1FiniteDebug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ac5e595c3758db6d51170c18c1a07b55f">getDirectionalLightExtruderVs_1_1</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ac455c2d8ffccf239ab7710b7256e1c34">getDirectionalLightExtruderVs_1_1Debug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a0b891cb31debd7097ec72bea940a111c">getDirectionalLightExtruderVs_1_1Finite</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ab47b4ba53a32ba5cadefff21c052504a">getDirectionalLightExtruderVs_1_1FiniteDebug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a6cc71f8b2b3f4036029dde53be002a6d">getDirectionalLightExtruderVs_4_0</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ae002a43fd55ccaae29acde97174302d5">getDirectionalLightExtruderVs_4_0Debug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a2e2bd719319483708e5e1d3815f9c83c">getDirectionalLightExtruderVs_4_0Finite</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a00f3a947f685e64d1b6cb1cfe115e2f8">getDirectionalLightExtruderVs_4_0FiniteDebug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#af68498e80e2cf9d6640a54a987fd9ca8">getDirectionalLightExtruderVs_glsles</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#aa89fa3696bdc7359f771059c508af19d">getDirectionalLightExtruderVs_glslesDebug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a2ce53fe12c2d6861a3b5b80df8b2466c">getDirectionalLightExtruderVs_glslesFinite</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a2d66161b0b44f9345598bdc8466e9f93">getDirectionalLightExtruderVs_glslesFiniteDebug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a53d30e4fc8035c45edcbfeec3d542425">getPointLightExtruderArbvp1</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a08462c312f24ebdcb85b01d9216de81a">getPointLightExtruderArbvp1Debug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#aabfe751eb718a9640c288990b69dc2d9">getPointLightExtruderArbvp1Finite</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#aa0b615596b5e701a0b1392cd1fb94236">getPointLightExtruderArbvp1FiniteDebug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ac113d70239242bfee84986a8a9b804cd">getPointLightExtruderVs_1_1</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a8f9515284435138237cb10953343fb16">getPointLightExtruderVs_1_1Debug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ab49594367aab6c943d4d83d6c64de771">getPointLightExtruderVs_1_1Finite</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ab90674080062ae986b08cf73e02284f4">getPointLightExtruderVs_1_1FiniteDebug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ad0efcf74f94c3f63b650c0749bb31fd8">getPointLightExtruderVs_4_0</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#aa4720f6c33945e79d7e05510bed7e53b">getPointLightExtruderVs_4_0Debug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a95ca184cf7e7aadaea1bd3b348a835bd">getPointLightExtruderVs_4_0Finite</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a1f973ffcddf21ca3c631a364eb7cf0b5">getPointLightExtruderVs_4_0FiniteDebug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#afbed383b707a3ce6d98c60d1fbf3db77">getPointLightExtruderVs_glsles</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a515f58d75d15531a04d1836ef324390c">getPointLightExtruderVs_glslesDebug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a59610b4608094e0401471c0819ccb5fe">getPointLightExtruderVs_glslesFinite</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#aad89573d514a3a52c9c71ddc2ea4eefc">getPointLightExtruderVs_glslesFiniteDebug</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a6ae520c51786dd71db12fea75eebe85c">getProgramName</a>(Light::LightTypes lightType, bool finite, bool debug)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a3b22127c9818da8528b752fdf60116fc">getProgramSource</a>(Light::LightTypes lightType, const String syntax, bool finite, bool debug)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a4ee5e5d594c0cc21e0cff0ab8eb42aa7">initialise</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#aefc5b5ac5e3255ed2a465cbc905b3195">mDirArbvp1</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ad47342225ab750f67c2d5f76ea215cae">mDirArbvp1Debug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a107e11989da6a8c7e0ba15e96e954f7e">mDirArbvp1Finite</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a0e442c11f0cce78264e19a4cb1ba16e4">mDirArbvp1FiniteDebug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a401d91604ee4e8facae67f0c695f65d6">mDirVs_1_1</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a9303cb3afe98547901fdb352989735af">mDirVs_1_1Debug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a2e47f0ab069147cc872db91a4eeedc13">mDirVs_1_1Finite</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ad56bbecfb0db4059254fa8577e9ffc53">mDirVs_1_1FiniteDebug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a7453e052e87cf7a2ef7d9638ff1a83da">mDirVs_4_0</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a90309ccfad7a4ec293669502ffe7089f">mDirVs_4_0Debug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ace2b4d3940a2d724a397208f7f9f31e5">mDirVs_4_0Finite</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ac84eae4ec715191e162c22f143f9fb2f">mDirVs_4_0FiniteDebug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a206043fcd724b04c378d6d6f01554a15">mDirVs_glsles</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ac5d01ffd7bd5ff89b6089ef000a209a9">mDirVs_glslesDebug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#aa91736a3858f0acb7d939845ca888db9">mDirVs_glslesFinite</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a38720f7627e31e40d675e6f5c67be74a">mDirVs_glslesFiniteDebug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a176e8a89da983ba1f89184bcb6e40406">mGeneralFs_4_0</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ac9357689872da15eec026aa6ed920421">mGeneralFs_glsles</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a44f9f4960f34af1c3c458ef0b3722e57">mInitialised</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ab56197126793da3e040dc150b5fd1e06">mPointArbvp1</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ad20b614bd7f8d02b8ce4f7a6d9191110">mPointArbvp1Debug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a94c3eb59aea5b8e4e736f325a71093ea">mPointArbvp1Finite</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ab1838186657204fbed0362c16ac25ec4">mPointArbvp1FiniteDebug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a5051dc1085926275064659768aea467b">mPointVs_1_1</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a1393918d3278e77c93bc97e9787335ab">mPointVs_1_1Debug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#aefebfc24ddff4f30b0edd1e088f395d5">mPointVs_1_1Finite</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a2eb9b8a45929da482315a49b8f0a1453">mPointVs_1_1FiniteDebug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#af7bcd9953cad1d65e03f12a0e634f0c6">mPointVs_4_0</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a2d1a8fec04e0c75456f228561d9cadb8">mPointVs_4_0Debug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a0e38be7a4dd69839e06b032d9583a941">mPointVs_4_0Finite</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ac86e67c2e5cd2ecdc87a1a78f9efa7e4">mPointVs_4_0FiniteDebug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a3c7f2d44f5ac05f63fffae3b2bb2a3e1">mPointVs_glsles</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a23b9254d7edf2763c9fd58a8d4a4d37d">mPointVs_glslesDebug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#afcf04138996072b827b79c34fce8c181">mPointVs_glslesFinite</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a3d7543dd54bd05428354cc64204772f6">mPointVs_glslesFiniteDebug</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [private, static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1AllocatedObject.html#a8357fe4fb4849772b94baa4bf47c7ded">operator delete</a>(void *ptr)</td><td><a class="el" href="classOgre_1_1AllocatedObject.html">Ogre::AllocatedObject&lt; Alloc &gt;</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1AllocatedObject.html#a1c727e879a260c37b00ce5505fe8e144">operator delete</a>(void *ptr, void *)</td><td><a class="el" href="classOgre_1_1AllocatedObject.html">Ogre::AllocatedObject&lt; Alloc &gt;</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1AllocatedObject.html#acb46d4b0a597156d9ba5abc39d127792">operator delete</a>(void *ptr, const char *, int, const char *)</td><td><a class="el" href="classOgre_1_1AllocatedObject.html">Ogre::AllocatedObject&lt; Alloc &gt;</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1AllocatedObject.html#a93e6a86dde5483c053ca0f2a85bbfd6c">operator delete[]</a>(void *ptr)</td><td><a class="el" href="classOgre_1_1AllocatedObject.html">Ogre::AllocatedObject&lt; Alloc &gt;</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1AllocatedObject.html#a595ea4c05da8aa987d3800e65d23355d">operator delete[]</a>(void *ptr, const char *, int, const char *)</td><td><a class="el" href="classOgre_1_1AllocatedObject.html">Ogre::AllocatedObject&lt; Alloc &gt;</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1AllocatedObject.html#a421b197ca3a38da17e2eb1531a645fa2">operator new</a>(size_t sz, const char *file, int line, const char *func)</td><td><a class="el" href="classOgre_1_1AllocatedObject.html">Ogre::AllocatedObject&lt; Alloc &gt;</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1AllocatedObject.html#ac4bdf968b7b9af8a5239a27da73d5711">operator new</a>(size_t sz)</td><td><a class="el" href="classOgre_1_1AllocatedObject.html">Ogre::AllocatedObject&lt; Alloc &gt;</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1AllocatedObject.html#ab78a921e54419be677839cdf15d1f0b8">operator new</a>(size_t sz, void *ptr)</td><td><a class="el" href="classOgre_1_1AllocatedObject.html">Ogre::AllocatedObject&lt; Alloc &gt;</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1AllocatedObject.html#a4be37baef81876985aa1071ad5acc6dd">operator new[]</a>(size_t sz, const char *file, int line, const char *func)</td><td><a class="el" href="classOgre_1_1AllocatedObject.html">Ogre::AllocatedObject&lt; Alloc &gt;</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1AllocatedObject.html#afa2943846ba6a2b5824a12857139cf5e">operator new[]</a>(size_t sz)</td><td><a class="el" href="classOgre_1_1AllocatedObject.html">Ogre::AllocatedObject&lt; Alloc &gt;</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ade24fd66aff9052fb19403696f28a623aa3e7b73929a3898e4e75d8a6eb53d931">POINT_LIGHT</a> enum value</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ade24fd66aff9052fb19403696f28a623af4d3d45a57d9dfd4eb439e564305d0c5">POINT_LIGHT_DEBUG</a> enum value</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ade24fd66aff9052fb19403696f28a623aa6524c3c7c49f7f93c684cfa3e9f9843">POINT_LIGHT_FINITE</a> enum value</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ade24fd66aff9052fb19403696f28a623a8b6fc01b15aa39d9fb62e07a6673b225">POINT_LIGHT_FINITE_DEBUG</a> enum value</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#acc460f2fd05285222cc1e6b09d72ed66">programNames</a></td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#ade24fd66aff9052fb19403696f28a623">Programs</a> enum name</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html#a983865fbfd1570a76fcfb9dfd5dcf985">shutdown</a>(void)</td><td><a class="el" href="classOgre_1_1ShadowVolumeExtrudeProgram.html">Ogre::ShadowVolumeExtrudeProgram</a></td><td><code> [static]</code></td></tr> <tr class="memlist"><td><a class="el" href="classOgre_1_1AllocatedObject.html#a499773d35ca98b2df7c2699fc8c1bea2">~AllocatedObject</a>()</td><td><a class="el" href="classOgre_1_1AllocatedObject.html">Ogre::AllocatedObject&lt; Alloc &gt;</a></td><td></td></tr> </table></div> <hr> <p> Copyright &copy; 2012 Torus Knot Software Ltd<br /> <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.<br/> <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <Work rdf:about=""> <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> </Work> <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> Last modified Sun Sep 2 08:20:27 2012 </p> </body> </html>
lennonchan/OgreSource
Docs/api/html/classOgre_1_1ShadowVolumeExtrudeProgram-members.html
HTML
mit
32,283
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- saved from url=(0014)about:internet --> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <!-- Smart developers always View Source. This application was built using Adobe Flex, an open source framework for building rich Internet applications that get delivered via the Flash Player or to desktops via Adobe AIR. Learn more about Flex at http://flex.org // --> <head> <title></title> <meta name="google" value="notranslate" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as the percentage of the height of its parent container, which has to be set explicitly. Fix for Firefox 3.6 focus border issues. Initially, don't display flashContent div so it won't show if JavaScript disabled. --> <style type="text/css" media="screen"> html, body { height:100%; } body { margin:0; padding:0; overflow:auto; text-align:center; background-color: #333333; } object:focus { outline:none; } #flashContent { display:none; } </style> <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens --> <!-- BEGIN Browser History required section --> <link rel="stylesheet" type="text/css" href="history/history.css" /> <script type="text/javascript" src="history/history.js"></script> <!-- END Browser History required section --> <script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> // For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. var swfVersionStr = "11.1.0"; // To use express install, set to playerProductInstall.swf, otherwise the empty string. var xiSwfUrlStr = "playerProductInstall.swf"; var flashvars = {}; var params = {}; params.quality = "high"; params.bgcolor = "#333333"; params.allowscriptaccess = "sameDomain"; params.allowfullscreen = "true"; var attributes = {}; attributes.id = "LD28_Warmup2"; attributes.name = "LD28_Warmup2"; attributes.align = "middle"; swfobject.embedSWF( "LD28_Warmup2.swf", "flashContent", "864", "320", swfVersionStr, xiSwfUrlStr, flashvars, params, attributes); // JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. swfobject.createCSS("#flashContent", "display:block;text-align:left;"); </script> </head> <body> <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show when JavaScript is disabled. --> <div id="flashContent"> <p> To view this page ensure that Adobe Flash Player version 11.1.0 or greater is installed. </p> <script type="text/javascript"> var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://"); document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='" + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" ); </script> </div> <noscript> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="864" height="320" id="LD28_Warmup2"> <param name="movie" value="LD28_Warmup2.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#333333" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="true" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="LD28_Warmup2.swf" width="864" height="320"> <param name="quality" value="high" /> <param name="bgcolor" value="#333333" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="true" /> <!--<![endif]--> <!--[if gte IE 6]>--> <p> Either scripts and active content are not permitted to run or Adobe Flash Player version 11.1.0 or greater is not installed. </p> <!--<![endif]--> <a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" /> </a> <!--[if !IE]>--> </object> <!--<![endif]--> </object> </noscript> </body> </html>
SestrenExsis/LD28_Warmup2
bin-debug/LD28_Warmup2.html
HTML
mit
5,666
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>條目&nbsp;</b></th><td class="std2">小器易盈</td></tr> <tr><th class="std1"><b>注音&nbsp;</b></th><td class="std2">ㄒ|ㄠ<sup class="subfont">ˇ</sup> ㄑ|<sup class="subfont">ˋ</sup> |<sup class="subfont">ˋ</sup> |ㄥ<sup class="subfont">ˊ</sup></td></tr> <tr><th class="std1"><b>漢語拼音&nbsp;</b></th><td class="std2"><font class="english_word">xiǎo qì yì yíng</font></td></tr> <tr><th class="std1"><b>釋義&nbsp;</b></th><td class="std2">本指容量小易盈滿。語出文選˙吳質˙在元城與魏太子箋:<img src=/cydic/dicword/fa40.gif border=0 alt=* class=fontimg valign=center>小器易盈,先取沉頓,醒寤之後,不識所言。<img src=/cydic/dicword/fa41.gif border=0 alt=* class=fontimg valign=center>後比喻人的見識狹窄,容易自滿。亦作<img src=/cydic/dicword/fa40.gif border=0 alt=* class=fontimg valign=center>器小易盈<img src=/cydic/dicword/fa41.gif border=0 alt=* class=fontimg valign=center>。</td></tr> <tr><th class="std1"><b><font class="fltypefont">附錄</font>&nbsp;</b></th><td class="std2">修訂本參考資料</td></tr> </td></tr></table></div> <!-- flayoutclass_first --><div class="flayoutclass_second"></div> <!-- flayoutclass_second --></div> <!-- flayoutclass --></td></tr></table>
BuzzAcademy/idioms-moe-unformatted-data
all-data/11000-11999/11753-22.html
HTML
mit
1,607
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="layoutclass_pic"><div class="layoutclass_first_pic"><table class="ztable"><tr><th class="ztd1"><b>成語&nbsp;</b></th><td class="ztd2">考終正寢</td></tr> <tr><th class="ztd1"><b>典故說明&nbsp;</b></th><td class="ztd2"> 此處所列為「壽終正寢」之典故說明,提供參考。</font> 「壽」指年紀很大,「壽終」本是指高壽而死,如《舊唐書.卷一九二.隱逸列傳.李元愷》:「元愷年八十餘,壽終。」後來泛稱壽命結束。「正寢」原作「路寢」,是古時君王、諸侯辦公的地方,《公羊傳.莊公三十二年》記載:「路寢者何?正寢也。」後來則泛指住宅的正室。因舊時男子死後停靈於屋內正室之中,故稱為「壽終正寢」。若為女子享盡天年,在家中自然死亡,則稱為「壽終內寢」,「內」是古時婦女所居住的內室。後來「壽終正寢」也引申用來比喻事物的消亡。</font></td></tr> </td></tr></table></div> <!-- layoutclass_first_pic --><div class="layoutclass_second_pic"></div> <!-- layoutclass_second_pic --></div> <!-- layoutclass_pic --></td></tr></table>
BuzzAcademy/idioms-moe-unformatted-data
all-data/3000-3999/3476-32.html
HTML
mit
1,366
<!-- HTML header for doxygen 1.8.6--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <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.12"/> <title>OpenCV: cv::dnn::CropLayer Class Reference</title> <link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" /> <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="../../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", "TeX/AMSmath.js", "TeX/AMSsymbols.js"], jax: ["input/TeX","output/HTML-CSS"], }); //<![CDATA[ MathJax.Hub.Config( { TeX: { Macros: { matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9], fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4], forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6], vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3], vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9], hdotsfor: ["\\dots", 1], mathbbm: ["\\mathbb{#1}", 1], bordermatrix: ["\\matrix{#1}", 1] } } } ); //]]> </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> <link href="../../stylesheet.css" rel="stylesheet" type="text/css"/> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <!--#include virtual="/google-search.html"--> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td> <td style="padding-left: 0.5em;"> <div id="projectname">OpenCV &#160;<span id="projectnumber">3.2.0</span> </div> <div id="projectbrief">Open Source Computer Vision</div> </td> </tr> </tbody> </table> </div> <script type="text/javascript"> //<![CDATA[ function getLabelName(innerHTML) { var str = innerHTML.toLowerCase(); // Replace all '+' with 'p' str = str.split('+').join('p'); // Replace all ' ' with '_' str = str.split(' ').join('_'); // Replace all '#' with 'sharp' str = str.split('#').join('sharp'); // Replace other special characters with 'ascii' + code for (var i = 0; i < str.length; i++) { var charCode = str.charCodeAt(i); if (!(charCode == 95 || (charCode > 96 && charCode < 123) || (charCode > 47 && charCode < 58))) str = str.substr(0, i) + 'ascii' + charCode + str.substr(i + 1); } return str; } function addToggle() { var $getDiv = $('div.newInnerHTML').last(); var buttonName = $getDiv.html(); var label = getLabelName(buttonName.trim()); $getDiv.attr("title", label); $getDiv.hide(); $getDiv = $getDiv.next(); $getDiv.attr("class", "toggleable_div label_" + label); $getDiv.hide(); } //]]> </script> <!-- end header part --> <!-- Generated by Doxygen 1.8.12 --> <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> <!-- 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="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../df/d57/namespacecv_1_1dnn.html">dnn</a></li><li class="navelem"><a class="el" href="../../d7/d86/classcv_1_1dnn_1_1CropLayer.html">CropLayer</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-static-methods">Static Public Member Functions</a> &#124; <a href="#pub-attribs">Public Attributes</a> &#124; <a href="../../d2/d57/classcv_1_1dnn_1_1CropLayer-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">cv::dnn::CropLayer Class Reference<div class="ingroups"><a class="el" href="../../d6/d0f/group__dnn.html">Deep Neural Network module</a> &raquo; <a class="el" href="../../d6/d87/group__dnnLayerList.html">Partial List of Implemented Layers</a></div></div> </div> </div><!--header--> <div class="contents"> <p><code>#include &quot;all_layers.hpp&quot;</code></p> <div class="dynheader"> Inheritance diagram for cv::dnn::CropLayer:</div> <div class="dyncontent"> <div class="center"> <img src="../../d7/d86/classcv_1_1dnn_1_1CropLayer.png" usemap="#cv::dnn::CropLayer_map" alt=""/> <map id="cv::dnn::CropLayer_map" name="cv::dnn::CropLayer_map"> <area href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html" title="This interface class allows to build new Layers - are building blocks of networks. " alt="cv::dnn::Layer" shape="rect" coords="0,0,120,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:af6fe1e4688af1cfe43cfab810092b9db"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../d0/de7/structcv_1_1Ptr.html">Ptr</a>&lt; <a class="el" href="../../d7/d86/classcv_1_1dnn_1_1CropLayer.html">CropLayer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d86/classcv_1_1dnn_1_1CropLayer.html#af6fe1e4688af1cfe43cfab810092b9db">create</a> (int start_axis, const std::vector&lt; int &gt; &amp;<a class="el" href="../../d7/d86/classcv_1_1dnn_1_1CropLayer.html#a6a1a2589b04a8df5fe8b757941693389">offset</a>)</td></tr> <tr class="separator:af6fe1e4688af1cfe43cfab810092b9db"><td class="memSeparator" colspan="2">&#160;</td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> Public Attributes</h2></td></tr> <tr class="memitem:a6a1a2589b04a8df5fe8b757941693389"><td class="memItemLeft" align="right" valign="top">std::vector&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d86/classcv_1_1dnn_1_1CropLayer.html#a6a1a2589b04a8df5fe8b757941693389">offset</a></td></tr> <tr class="separator:a6a1a2589b04a8df5fe8b757941693389"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ae6e253857b0b66299a2b50810a05106f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d86/classcv_1_1dnn_1_1CropLayer.html#ae6e253857b0b66299a2b50810a05106f">startAxis</a></td></tr> <tr class="separator:ae6e253857b0b66299a2b50810a05106f"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="inherit_header pub_attribs_classcv_1_1dnn_1_1Layer"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classcv_1_1dnn_1_1Layer')"><img src="../../closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html">cv::dnn::Layer</a></td></tr> <tr class="memitem:af3369a2ced6b0be49e960eb0514eab4a inherit pub_attribs_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="../../da/d16/classcv_1_1dnn_1_1Blob.html">Blob</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#af3369a2ced6b0be49e960eb0514eab4a">blobs</a></td></tr> <tr class="memdesc:af3369a2ced6b0be49e960eb0514eab4a inherit pub_attribs_classcv_1_1dnn_1_1Layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of learned parameters must be stored here to allow read them by using <a class="el" href="../../db/d30/classcv_1_1dnn_1_1Net.html#a2b0cf5925539bddb9592f221720ab2fb" title="Returns parameter blob of the layer. ">Net::getParam()</a>. <a href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#af3369a2ced6b0be49e960eb0514eab4a">More...</a><br /></td></tr> <tr class="separator:af3369a2ced6b0be49e960eb0514eab4a inherit pub_attribs_classcv_1_1dnn_1_1Layer"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ab2017c5a2f17d01868393985e3abe457 inherit pub_attribs_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/d8f/classcv_1_1String.html">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#ab2017c5a2f17d01868393985e3abe457">name</a></td></tr> <tr class="memdesc:ab2017c5a2f17d01868393985e3abe457 inherit pub_attribs_classcv_1_1dnn_1_1Layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Name of the layer instance, can be used for logging or other internal purposes. <a href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#ab2017c5a2f17d01868393985e3abe457">More...</a><br /></td></tr> <tr class="separator:ab2017c5a2f17d01868393985e3abe457 inherit pub_attribs_classcv_1_1dnn_1_1Layer"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a5f3cdb2524e281094e14e212a76a2d38 inherit pub_attribs_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/d8f/classcv_1_1String.html">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#a5f3cdb2524e281094e14e212a76a2d38">type</a></td></tr> <tr class="memdesc:a5f3cdb2524e281094e14e212a76a2d38 inherit pub_attribs_classcv_1_1dnn_1_1Layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type name which was used for creating layer by layer factory. <a href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#a5f3cdb2524e281094e14e212a76a2d38">More...</a><br /></td></tr> <tr class="separator:a5f3cdb2524e281094e14e212a76a2d38 inherit pub_attribs_classcv_1_1dnn_1_1Layer"><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 pub_methods_classcv_1_1dnn_1_1Layer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1dnn_1_1Layer')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html">cv::dnn::Layer</a></td></tr> <tr class="memitem:a32c409ae0f071cb1abd38e34592566e0 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#a32c409ae0f071cb1abd38e34592566e0">Layer</a> ()</td></tr> <tr class="separator:a32c409ae0f071cb1abd38e34592566e0 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:af9a80ccb673389ff6664c8b5a94468a5 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#af9a80ccb673389ff6664c8b5a94468a5">Layer</a> (const <a class="el" href="../../db/db6/classcv_1_1dnn_1_1LayerParams.html">LayerParams</a> &amp;params)</td></tr> <tr class="memdesc:af9a80ccb673389ff6664c8b5a94468a5 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes only <a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#ab2017c5a2f17d01868393985e3abe457" title="Name of the layer instance, can be used for logging or other internal purposes. ">name</a>, <a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#a5f3cdb2524e281094e14e212a76a2d38" title="Type name which was used for creating layer by layer factory. ">type</a> and <a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#af3369a2ced6b0be49e960eb0514eab4a" title="List of learned parameters must be stored here to allow read them by using Net::getParam(). ">blobs</a> fields. <a href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#af9a80ccb673389ff6664c8b5a94468a5">More...</a><br /></td></tr> <tr class="separator:af9a80ccb673389ff6664c8b5a94468a5 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:af51333431c711b8ed12ada5dc4824323 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#af51333431c711b8ed12ada5dc4824323">~Layer</a> ()</td></tr> <tr class="separator:af51333431c711b8ed12ada5dc4824323 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a8521f311baad640a1ffe42f82222dee6 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#a8521f311baad640a1ffe42f82222dee6">allocate</a> (const std::vector&lt; <a class="el" href="../../da/d16/classcv_1_1dnn_1_1Blob.html">Blob</a> *&gt; &amp;input, std::vector&lt; <a class="el" href="../../da/d16/classcv_1_1dnn_1_1Blob.html">Blob</a> &gt; &amp;output)=0</td></tr> <tr class="memdesc:a8521f311baad640a1ffe42f82222dee6 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocates internal buffers and output blobs with respect to the shape of inputs. <a href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#a8521f311baad640a1ffe42f82222dee6">More...</a><br /></td></tr> <tr class="separator:a8521f311baad640a1ffe42f82222dee6 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ae06502842607175904bf43ae30f1a1ec inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#ae06502842607175904bf43ae30f1a1ec">allocate</a> (const std::vector&lt; <a class="el" href="../../da/d16/classcv_1_1dnn_1_1Blob.html">Blob</a> &gt; &amp;inputs, std::vector&lt; <a class="el" href="../../da/d16/classcv_1_1dnn_1_1Blob.html">Blob</a> &gt; &amp;outputs)</td></tr> <tr class="separator:ae06502842607175904bf43ae30f1a1ec inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a950de39992ced2e0a7070084a9440ac6 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="../../da/d16/classcv_1_1dnn_1_1Blob.html">Blob</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#a950de39992ced2e0a7070084a9440ac6">allocate</a> (const std::vector&lt; <a class="el" href="../../da/d16/classcv_1_1dnn_1_1Blob.html">Blob</a> &gt; &amp;inputs)</td></tr> <tr class="separator:a950de39992ced2e0a7070084a9440ac6 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ae68a3becf35053d08713f9ae9ad0ae48 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#ae68a3becf35053d08713f9ae9ad0ae48">forward</a> (std::vector&lt; <a class="el" href="../../da/d16/classcv_1_1dnn_1_1Blob.html">Blob</a> *&gt; &amp;input, std::vector&lt; <a class="el" href="../../da/d16/classcv_1_1dnn_1_1Blob.html">Blob</a> &gt; &amp;output)=0</td></tr> <tr class="memdesc:ae68a3becf35053d08713f9ae9ad0ae48 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given the <code>input</code> blobs, computes the output <code>blobs</code>. <a href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#ae68a3becf35053d08713f9ae9ad0ae48">More...</a><br /></td></tr> <tr class="separator:ae68a3becf35053d08713f9ae9ad0ae48 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:aff3fbd804eb1dfef5bc49a19fce6ac81 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#aff3fbd804eb1dfef5bc49a19fce6ac81">forward</a> (const std::vector&lt; <a class="el" href="../../da/d16/classcv_1_1dnn_1_1Blob.html">Blob</a> &gt; &amp;inputs, std::vector&lt; <a class="el" href="../../da/d16/classcv_1_1dnn_1_1Blob.html">Blob</a> &gt; &amp;outputs)</td></tr> <tr class="separator:aff3fbd804eb1dfef5bc49a19fce6ac81 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a93212cf0fe50ace40af0f2b4f42263c4 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#a93212cf0fe50ace40af0f2b4f42263c4">inputNameToIndex</a> (<a class="el" href="../../d1/d8f/classcv_1_1String.html">String</a> inputName)</td></tr> <tr class="memdesc:a93212cf0fe50ace40af0f2b4f42263c4 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns index of input blob into the input array. <a href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#a93212cf0fe50ace40af0f2b4f42263c4">More...</a><br /></td></tr> <tr class="separator:a93212cf0fe50ace40af0f2b4f42263c4 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a0d3f7e88218c31a7d928f78640f655a1 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#a0d3f7e88218c31a7d928f78640f655a1">outputNameToIndex</a> (<a class="el" href="../../d1/d8f/classcv_1_1String.html">String</a> outputName)</td></tr> <tr class="memdesc:a0d3f7e88218c31a7d928f78640f655a1 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns index of output blob in output array. <a href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#a0d3f7e88218c31a7d928f78640f655a1">More...</a><br /></td></tr> <tr class="separator:a0d3f7e88218c31a7d928f78640f655a1 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:aca195d96b334eb3a822ad02f42b05533 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#aca195d96b334eb3a822ad02f42b05533">run</a> (const std::vector&lt; <a class="el" href="../../da/d16/classcv_1_1dnn_1_1Blob.html">Blob</a> &gt; &amp;inputs, std::vector&lt; <a class="el" href="../../da/d16/classcv_1_1dnn_1_1Blob.html">Blob</a> &gt; &amp;outputs)</td></tr> <tr class="memdesc:aca195d96b334eb3a822ad02f42b05533 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocates layer and computes output. <a href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#aca195d96b334eb3a822ad02f42b05533">More...</a><br /></td></tr> <tr class="separator:aca195d96b334eb3a822ad02f42b05533 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ad1bf1e5d77da2f75ea241e588c906177 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#ad1bf1e5d77da2f75ea241e588c906177">setParamsFrom</a> (const <a class="el" href="../../db/db6/classcv_1_1dnn_1_1LayerParams.html">LayerParams</a> &amp;params)</td></tr> <tr class="memdesc:ad1bf1e5d77da2f75ea241e588c906177 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes only <a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#ab2017c5a2f17d01868393985e3abe457" title="Name of the layer instance, can be used for logging or other internal purposes. ">name</a>, <a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#a5f3cdb2524e281094e14e212a76a2d38" title="Type name which was used for creating layer by layer factory. ">type</a> and <a class="el" href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#af3369a2ced6b0be49e960eb0514eab4a" title="List of learned parameters must be stored here to allow read them by using Net::getParam(). ">blobs</a> fields. <a href="../../d3/d6c/classcv_1_1dnn_1_1Layer.html#ad1bf1e5d77da2f75ea241e588c906177">More...</a><br /></td></tr> <tr class="separator:ad1bf1e5d77da2f75ea241e588c906177 inherit pub_methods_classcv_1_1dnn_1_1Layer"><td class="memSeparator" colspan="2">&#160;</td></tr> </table> <h2 class="groupheader">Member Function Documentation</h2> <a id="af6fe1e4688af1cfe43cfab810092b9db"></a> <h2 class="memtitle"><span class="permalink"><a href="#af6fe1e4688af1cfe43cfab810092b9db">&sect;&nbsp;</a></span>create()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="../../d0/de7/structcv_1_1Ptr.html">Ptr</a>&lt;<a class="el" href="../../d7/d86/classcv_1_1dnn_1_1CropLayer.html">CropLayer</a>&gt; cv::dnn::CropLayer::create </td> <td>(</td> <td class="paramtype">int&#160;</td> <td class="paramname"><em>start_axis</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::vector&lt; int &gt; &amp;&#160;</td> <td class="paramname"><em>offset</em>&#160;</td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a id="a6a1a2589b04a8df5fe8b757941693389"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6a1a2589b04a8df5fe8b757941693389">&sect;&nbsp;</a></span>offset</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::vector&lt;int&gt; cv::dnn::CropLayer::offset</td> </tr> </table> </div><div class="memdoc"> </div> </div> <a id="ae6e253857b0b66299a2b50810a05106f"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae6e253857b0b66299a2b50810a05106f">&sect;&nbsp;</a></span>startAxis</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int cv::dnn::CropLayer::startAxis</td> </tr> </table> </div><div class="memdoc"> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>/build/master-contrib_docs-lin64/opencv_contrib/modules/dnn/include/opencv2/dnn/<a class="el" href="../../dd/d6b/all__layers_8hpp.html">all_layers.hpp</a></li> </ul> </div><!-- contents --> <!-- HTML footer for doxygen 1.8.6--> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Dec 23 2016 13:00:29 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/> </a> 1.8.12 </small></address> <script type="text/javascript"> //<![CDATA[ function addButton(label, buttonName) { var b = document.createElement("BUTTON"); b.innerHTML = buttonName; b.setAttribute('class', 'toggleable_button label_' + label); b.onclick = function() { $('.toggleable_button').css({ border: '2px outset', 'border-radius': '4px' }); $('.toggleable_button.label_' + label).css({ border: '2px inset', 'border-radius': '4px' }); $('.toggleable_div').css('display', 'none'); $('.toggleable_div.label_' + label).css('display', 'block'); }; b.style.border = '2px outset'; b.style.borderRadius = '4px'; b.style.margin = '2px'; return b; } function buttonsToAdd($elements, $heading, $type) { if ($elements.length === 0) { $elements = $("" + $type + ":contains(" + $heading.html() + ")").parent().prev("div.newInnerHTML"); } var arr = jQuery.makeArray($elements); var seen = {}; arr.forEach(function(e) { var txt = e.innerHTML; if (!seen[txt]) { $button = addButton(e.title, txt); if (Object.keys(seen).length == 0) { var linebreak1 = document.createElement("br"); var linebreak2 = document.createElement("br"); ($heading).append(linebreak1); ($heading).append(linebreak2); } ($heading).append($button); seen[txt] = true; } }); return; } $("h2").each(function() { $heading = $(this); $smallerHeadings = $(this).nextUntil("h2").filter("h3").add($(this).nextUntil("h2").find("h3")); if ($smallerHeadings.length) { $smallerHeadings.each(function() { var $elements = $(this).nextUntil("h3").filter("div.newInnerHTML"); buttonsToAdd($elements, $(this), "h3"); }); } else { var $elements = $(this).nextUntil("h2").filter("div.newInnerHTML"); buttonsToAdd($elements, $heading, "h2"); } }); $(".toggleable_button").first().click(); var $clickDefault = $('.toggleable_button.label_python').first(); if ($clickDefault.length) { $clickDefault.click(); } $clickDefault = $('.toggleable_button.label_cpp').first(); if ($clickDefault.length) { $clickDefault.click(); } //]]> </script> </body> </html>
lucasbrsa/OpenCV-3.2
docs/3.2/d7/d86/classcv_1_1dnn_1_1CropLayer.html
HTML
mit
27,578
<hr class="hr-line"> <div class="buttons" style="font-size:30px;"> {% if site.github-url %}<a class="social-btn" href="http://github.com/{{ site.github-url }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-github"></i></a>{% endif %} {% if site.instagram %}<a class="social-btn" href="http://instagram.com/{{ site.instagram }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-instagram"></i></a>{% endif %} {% if site.medium %}<a class="social-btn" href="https://medium.com/{{ site.medium }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-medium"></i></a>{% endif %} {% if site.linkedin %}<a class="social-btn" href="http://linkedin.com/in/{{ site.linkedin }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-linkedin-square"></i></a>{% endif %} {% if site.email %}<a class="social-btn" href="mailto:{{ site.email }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-envelope-square"></i></a>{% endif %} {% if site.twitter %}<a class="social-btn" href="http://twitter.com/{{ site.twitter }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-twitter-square"></i></a>{% endif %} {% if site.facebook %}<a class="social-btn" href="http://facebook.com/{{ site.facebook }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-facebook-square"></i></a>{% endif %} {% if site.google.plus %}<a class="social-btn" href="http://plus.google.com/+{{ site.google.plus }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-google-plus-square"></i></a>{% endif %} {% if site.xing %}<a class="social-btn" href="http://www.xing.com/profile/{{ site.xing }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-xing-square"></i></a>{% endif %} {% if site.tumblr %}<a class="social-btn" href="http://{{ site.tumblr }}.tumblr.com" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-tumblr-square"></i></a>{% endif %} {% if site.stackoverflow %}<a class="social-btn" href="http://stackoverflow.com/users/{{ site.stackoverflow }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-stack-overflow"></i></a>{% endif %} {% if site.lastfm %}<a class="social-btn" href="http://lastfm.com/user/{{ site.lastfm }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-music"></i></a>{% endif %} {% if site.dribbble %}<a class="social-btn" href="http://dribbble.com/{{ site.dribbble }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-dribbble"></i></a>{% endif %} {% if site.pinterest %}<a class="social-btn" href="http://www.pinterest.com/{{ site.pinterest }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-pinterest"></i></a>{% endif %} {% if site.foursquare %}<a class="social-btn" href="http://foursquare.com/{{ site.foursquare }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-foursquare"></i></a>{% endif %} {% if site.steam %}<a class="social-btn" href="http://steamcommunity.com/id/{{ site.steam }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-steam-square"></i></a>{% endif %} {% if site.youtube %}<a class="social-btn" href="https://youtube.com/user/{{ site.youtube }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-youtube-square"></i></a>{% endif %} {% if site.youtube-channel %}<a class="social-btn" href="https://youtube.com/channel/{{ site.youtube-channel }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-youtube"></i></a>{% endif %} {% if site.soundcloud %}<a class="social-btn" href="http://soundcloud.com/{{ site.soundcloud }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-soundcloud"></i></a>{% endif %} {% if site.weibo %}<a class="social-btn" href="http://www.weibo.com/{{ site.weibo }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-weibo"></i></a>{% endif %} {% if site.flickr %}<a class="social-btn" href="http://www.flickr.com/{{ site.flickr }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-flickr"></i></a>{% endif %} {% if site.codepen %}<a class="social-btn" href="http://codepen.io/{{ site.codepen }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-codepen"></i></a>{% endif %} {% if site.keybase %}<a class="social-btn" href="https://keybase.io/{{ site.keybase }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-key"></i></a>{% endif %} {% if site.xmpp %}<a class="social-btn" href="xmpp:{{ site.xmpp }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-lightbulb-o"></i></a>{% endif %} {% if site.hackernews %}<a class="social-btn" href="https://news.ycombinator.com/user?id={{ site.hackernews }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-hacker-news"></i></a>{% endif %} </div>
ggggbbybby/ggggbbybby.github.io
_includes/social-links.html
HTML
mit
5,448
{% if site.facebook_app_id %} <br /> <br /> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/ko_KR/sdk.js#xfbml=1&version=v2.6&appId={{ site.facebook_app_id }}"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-comments" data-href="https://brosbj.github.io{{ page.url }}" data-width="100%" data-numposts="5"></div> {% endif %}
brosbj/brosbj.github.io
_includes/facebook.html
HTML
mit
547
<section data-ng-controller="ArtsController" data-ng-init="find()"> <div class="page-header"> <h1>Arts</h1> </div> <div class="list-group"> <a data-ng-repeat="art in arts" data-ng-href="#!/arts/{{art._id}}" class="list-group-item"> <small class="list-group-item-text"> Posted on <span data-ng-bind="art.created | date:'medium'"></span> by <span data-ng-bind="art.user.displayName"></span> </small> <h4 class="list-group-item-heading" data-ng-bind="art.name"></h4> </a> </div> <div class="alert alert-warning text-center" data-ng-hide="!arts.$resolved || arts.length"> No Arts yet, why don't you <a href="/#!/arts/create">create one</a>? </div> </section>
bassemlhm/artBangBang
public/modules/arts/views/list-arts.client.view.html
HTML
mit
732
{% extends "master.html" %} {% from "_formhelpers.html" import render_field_in_row %} {% block title %}New Host Category{% endblock %} {%block tag %}home{% endblock %} {% block content %} <h2>Add host category</h2> <p> Back to <a href="{{ url_for('host_view', host_id=host.id) }}"> {{ host.name }}</a> </p> <p> Hosts carry categories of software. Example Fedora categories include Fedora and Fedora Archive. </p> <form action="{{ url_for('host_category_new', host_id=host.id) }}" method="POST"> <table> {{ render_field_in_row(form.category_id) }} {{ render_field_in_row(form.always_up2date) }} </table> <p class="buttons indent"> <input type="submit" class="submit positive button" value="Create"> <a href="{{ url_for('host_view', host_id=host.id) }}"> <input type="button" value="Cancel" class="button"> </a> {{ form.csrf_token }} </p> </form> {% endblock %}
Devyani-Divs/mirrormanager2
mirrormanager2/templates/fedora/host_category_new.html
HTML
mit
916
--- layout: post title: Enterprise Library 4.1 Released tags: [.NET, Enterprise Library] redirect_from: - /blog/2008/10/enterprise-library-41-released.html --- <p>The latest version of the Enterprise Library can be downloaded <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=1643758B-2986-47F7-B529-3E41584B6CE5&displaylang=en">here</a>. I'm happy to find <a href="/2008/10/enterprise-library-40-xmltracelistener.html">the bug where the XmlLogFormatter was not escaping invalid characters</a> has been <a href="http://www.codeplex.com/entlib/WorkItem/View.aspx?WorkItemId=13269">fixed</a>!</p>
mikeobrien/mikeobrien.github.com
_posts/2008-10-29-enterprise-library-41-released.html
HTML
mit
619
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-solvable: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet"> <link href="../../../../../bootstrap-custom.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <script src="../../../../../moment.min.js"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="../..">clean / extra-dev</a></li> <li class="active"><a href="">8.11.dev / mathcomp-solvable - 1.6.4</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> mathcomp-solvable <small> 1.6.4 <span class="label label-info">Not compatible</span> </small> </h1> <p><em><script>document.write(moment("2020-08-14 07:23:13 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-08-14 07:23:13 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base conf-findutils 1 Virtual package relying on findutils conf-m4 1 Virtual package relying on m4 coq 8.11.dev Formal proof management system num 1.3 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.10.0 The OCaml compiler (virtual package) ocaml-base-compiler 4.10.0 Official release 4.10.0 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.8.1 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; name: &quot;coq-mathcomp-solvable&quot; version: &quot;1.6.4&quot; maintainer: &quot;Mathematical Components &lt;[email protected]&gt;&quot; homepage: &quot;http://math-comp.github.io/math-comp/&quot; bug-reports: &quot;Mathematical Components &lt;[email protected]&gt;&quot; license: &quot;CeCILL-B&quot; build: [ make &quot;-C&quot; &quot;mathcomp/solvable&quot; &quot;-j&quot; &quot;%{jobs}%&quot; ] install: [ make &quot;-C&quot; &quot;mathcomp/solvable&quot; &quot;install&quot; ] remove: [ &quot;sh&quot; &quot;-c&quot; &quot;rm -rf &#39;%{lib}%/coq/user-contrib/mathcomp/solvable&#39;&quot; ] depends: [ &quot;ocaml&quot; &quot;coq-mathcomp-algebra&quot; {= &quot;1.6.4&quot;} ] tags: [ &quot;keyword:finite groups&quot; &quot;keyword:Feit Thompson theorem&quot; &quot;keyword:small scale reflection&quot; &quot;keyword:mathematical components&quot; &quot;keyword:odd order theorem&quot; ] authors: [ &quot;Jeremy Avigad &lt;&gt;&quot; &quot;Andrea Asperti &lt;&gt;&quot; &quot;Stephane Le Roux &lt;&gt;&quot; &quot;Yves Bertot &lt;&gt;&quot; &quot;Laurence Rideau &lt;&gt;&quot; &quot;Enrico Tassi &lt;&gt;&quot; &quot;Ioana Pasca &lt;&gt;&quot; &quot;Georges Gonthier &lt;&gt;&quot; &quot;Sidi Ould Biha &lt;&gt;&quot; &quot;Cyril Cohen &lt;&gt;&quot; &quot;Francois Garillot &lt;&gt;&quot; &quot;Alexey Solovyev &lt;&gt;&quot; &quot;Russell O&#39;Connor &lt;&gt;&quot; &quot;Laurent Théry &lt;&gt;&quot; &quot;Assia Mahboubi &lt;&gt;&quot; ] synopsis: &quot;Mathematical Components Library on finite groups (II)&quot; description: &quot;This library contains more definitions and theorems about finite groups.&quot; url { src: &quot;http://github.com/math-comp/math-comp/archive/mathcomp-1.6.4.tar.gz&quot; checksum: &quot;md5=29362a734d183301e2ce839b0ad14bd9&quot; } </pre> <h2>Lint</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Dry install</h2> <p>Dry install with the current Coq version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam install -y --show-action coq-mathcomp-solvable.1.6.4 coq.8.11.dev</code></dd> <dt>Return code</dt> <dd>5120</dd> <dt>Output</dt> <dd><pre>[NOTE] Package coq is already installed (current version is 8.11.dev). The following dependencies couldn&#39;t be met: - coq-mathcomp-solvable -&gt; coq-mathcomp-algebra = 1.6.4 -&gt; coq-mathcomp-fingroup = 1.6.4 -&gt; coq-mathcomp-ssreflect = 1.6.4 -&gt; coq &lt; 8.8~ -&gt; ocaml &lt; 4.10 base of this switch (use `--unlock-base&#39; to force) Your request can&#39;t be satisfied: - No available version of coq satisfies the constraints No solution found, exiting </pre></dd> </dl> <p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-mathcomp-solvable.1.6.4</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Install dependencies</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Install</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Installation size</h2> <p>No files were installed.</p> <h2>Uninstall</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Missing removes</dt> <dd> none </dd> <dt>Wrong removes</dt> <dd> none </dd> </dl> </div> </div> </div> <hr/> <div class="footer"> <p class="text-center"> <small>Sources are on <a href="https://github.com/coq-bench">GitHub</a>. © Guillaume Claret.</small> </p> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="../../../../../bootstrap.min.js"></script> </body> </html>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.10.0-2.0.6/extra-dev/8.11.dev/mathcomp-solvable/1.6.4.html
HTML
mit
7,697