diff options
author | byrnHDF <byrnHDF@users.noreply.github.com> | 2024-01-29 19:10:27 (GMT) |
---|---|---|
committer | byrnHDF <byrnHDF@users.noreply.github.com> | 2024-01-29 19:10:27 (GMT) |
commit | 63b7d411312cb7c38efd1648363e347f27c24048 (patch) | |
tree | af34e5dc2c0cdb79bc809e2034f7d8c7fed6e2e4 /develop/_l_b_quiz_answers.html | |
parent | 6ba66d0a9efca6f012934bfbeb9bf4ef19465bbd (diff) | |
download | hdf5-63b7d411312cb7c38efd1648363e347f27c24048.zip hdf5-63b7d411312cb7c38efd1648363e347f27c24048.tar.gz hdf5-63b7d411312cb7c38efd1648363e347f27c24048.tar.bz2 |
deploy: 365e23340cd001ee751da366235ae420156ad728
Diffstat (limited to 'develop/_l_b_quiz_answers.html')
-rw-r--r-- | develop/_l_b_quiz_answers.html | 62 |
1 files changed, 33 insertions, 29 deletions
diff --git a/develop/_l_b_quiz_answers.html b/develop/_l_b_quiz_answers.html index a6568a0..115b908 100644 --- a/develop/_l_b_quiz_answers.html +++ b/develop/_l_b_quiz_answers.html @@ -3,7 +3,7 @@ <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.9.1"/> +<meta name="generator" content="Doxygen 1.10.0"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>HDF5: Learning the basics QUIZ with Answers</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> @@ -13,12 +13,13 @@ <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> +<script type="text/javascript" src="cookie.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"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ - $(document).ready(function() { init_search(); }); +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ + $(function() { init_search(); }); /* @license-end */ </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> @@ -37,17 +38,14 @@ <td id="projectlogo"><img alt="Logo" src="HDFG-logo.png"/></td> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname"><a href="https://www.hdfgroup.org">HDF5</a> -  <span id="projectnumber">1.15.0.5f5f5f0</span> +  <span id="projectnumber">1.15.0.365e233</span> </div> <div id="projectbrief">API Reference</div> </td> <td> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> - <img id="MSearchSelect" src="search/mag_sel.svg" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - alt=""/> - <input type="text" id="MSearchField" value="Search" accesskey="S" + <span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()"> </span> + <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> @@ -61,10 +59,10 @@ </table> </div> <!-- end header part --> -<!-- Generated by Doxygen 1.9.1 --> +<!-- Generated by Doxygen 1.10.0 --> <script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search','.html'); +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ +var searchBox = new SearchBox("searchBox", "search/",'.html'); /* @license-end */ </script> </div><!-- top --> @@ -79,8 +77,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search','.html'); </div> </div> <script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(document).ready(function(){initNavTree('_l_b_quiz_answers.html',''); initResizable(); }); +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ +$(function(){initNavTree('_l_b_quiz_answers.html',''); initResizable(); }); /* @license-end */ </script> <div id="doc-content"> @@ -93,14 +91,20 @@ $(document).ready(function(){initNavTree('_l_b_quiz_answers.html',''); initResiz <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> +<div id="MSearchResults"> +<div class="SRPage"> +<div id="SRIndex"> +<div id="SRResults"></div> +<div class="SRStatus" id="Loading">Loading...</div> +<div class="SRStatus" id="Searching">Searching...</div> +<div class="SRStatus" id="NoMatches">No Matches</div> +</div> +</div> +</div> </div> -<div class="PageDoc"><div class="header"> - <div class="headertitle"> -<div class="title">Learning the basics QUIZ with Answers </div> </div> +<div><div class="header"> + <div class="headertitle"><div class="title">Learning the basics QUIZ with Answers</div></div> </div><!--header--> <div class="contents"> <div class="textblock"><p>Navigate back: <a class="el" href="index.html">Main</a> / <a class="el" href="_getting_started.html">Getting Started with HDF5</a> / <a class="el" href="_learn_basics.html">Learning the Basics</a> </p><hr /> @@ -253,14 +257,14 @@ You have a dataset named <code style="background-color:whitesmoke;">moo</code> i <li> Describe a way to access the dataset moo described in the previous section (question 2) using a relative name. Describe a way to access the same dataset using an absolute name. <table class="doxtable"> <tr> -<th><b>Answer</b> </th><td>Access the group /foo and get the group ID. Access the group boo using the group ID obtained in Step 1. Access the dataset moo using the group ID obtained in Step 2. <div class="fragment"><div class="line">gid = <a class="code" href="group___h5_g.html#ga3eca6807deff4f9e51fc5fe0befc2245">H5Gopen</a> (file_id, <span class="stringliteral">"/foo"</span>, 0); <span class="comment">/* absolute path */</span> </div> -<div class="line">gid1 = <a class="code" href="group___h5_g.html#ga3eca6807deff4f9e51fc5fe0befc2245">H5Gopen</a> (gid, <span class="stringliteral">"boo"</span>, 0); <span class="comment">/* relative path */</span> </div> -<div class="line">did = <a class="code" href="_h5version_8h.html#a7dba2e5b2045f31c0932123ffb54f7a3">H5Dopen</a> (gid1, <span class="stringliteral">"moo"</span>); <span class="comment">/* relative path */</span> </div> -<div class="ttc" id="a_h5version_8h_html_a7dba2e5b2045f31c0932123ffb54f7a3"><div class="ttname"><a href="_h5version_8h.html#a7dba2e5b2045f31c0932123ffb54f7a3">H5Dopen</a></div><div class="ttdeci">#define H5Dopen</div><div class="ttdef"><b>Definition:</b> H5version.h:903</div></div> -<div class="ttc" id="agroup___h5_g_html_ga3eca6807deff4f9e51fc5fe0befc2245"><div class="ttname"><a href="group___h5_g.html#ga3eca6807deff4f9e51fc5fe0befc2245">H5Gopen</a></div><div class="ttdeci">#define H5Gopen</div><div class="ttdef"><b>Definition:</b> H5version.h:1008</div></div> -</div><!-- fragment --> Access the group /foo and get the group ID. Access the dataset boo/moo with the group ID just obtained. <div class="fragment"><div class="line">gid = <a class="code" href="group___h5_g.html#ga3eca6807deff4f9e51fc5fe0befc2245">H5Gopen</a> (file_id, <span class="stringliteral">"/foo"</span>, 0); <span class="comment">/* absolute path */</span> </div> -<div class="line">did = <a class="code" href="_h5version_8h.html#a7dba2e5b2045f31c0932123ffb54f7a3">H5Dopen</a> (gid, <span class="stringliteral">"boo/moo"</span>); <span class="comment">/* relative path */</span> </div> -</div><!-- fragment --> Access the dataset with an absolute path. <div class="fragment"><div class="line">did = <a class="code" href="_h5version_8h.html#a7dba2e5b2045f31c0932123ffb54f7a3">H5Dopen</a> (file_id, <span class="stringliteral">"/foo/boo/moo"</span>); <span class="comment">/* absolute path */</span></div> +<th><b>Answer</b> </th><td>Access the group /foo and get the group ID. Access the group boo using the group ID obtained in Step 1. Access the dataset moo using the group ID obtained in Step 2. <div class="fragment"><div class="line">gid = <a class="code hl_define" href="group___h5_g.html#ga3eca6807deff4f9e51fc5fe0befc2245">H5Gopen</a> (file_id, <span class="stringliteral">"/foo"</span>, 0); <span class="comment">/* absolute path */</span> </div> +<div class="line">gid1 = <a class="code hl_define" href="group___h5_g.html#ga3eca6807deff4f9e51fc5fe0befc2245">H5Gopen</a> (gid, <span class="stringliteral">"boo"</span>, 0); <span class="comment">/* relative path */</span> </div> +<div class="line">did = <a class="code hl_define" href="_h5version_8h.html#a7dba2e5b2045f31c0932123ffb54f7a3">H5Dopen</a> (gid1, <span class="stringliteral">"moo"</span>); <span class="comment">/* relative path */</span> </div> +<div class="ttc" id="a_h5version_8h_html_a7dba2e5b2045f31c0932123ffb54f7a3"><div class="ttname"><a href="_h5version_8h.html#a7dba2e5b2045f31c0932123ffb54f7a3">H5Dopen</a></div><div class="ttdeci">#define H5Dopen</div><div class="ttdef"><b>Definition</b> H5version.h:903</div></div> +<div class="ttc" id="agroup___h5_g_html_ga3eca6807deff4f9e51fc5fe0befc2245"><div class="ttname"><a href="group___h5_g.html#ga3eca6807deff4f9e51fc5fe0befc2245">H5Gopen</a></div><div class="ttdeci">#define H5Gopen</div><div class="ttdef"><b>Definition</b> H5version.h:1008</div></div> +</div><!-- fragment --> Access the group /foo and get the group ID. Access the dataset boo/moo with the group ID just obtained. <div class="fragment"><div class="line">gid = <a class="code hl_define" href="group___h5_g.html#ga3eca6807deff4f9e51fc5fe0befc2245">H5Gopen</a> (file_id, <span class="stringliteral">"/foo"</span>, 0); <span class="comment">/* absolute path */</span> </div> +<div class="line">did = <a class="code hl_define" href="_h5version_8h.html#a7dba2e5b2045f31c0932123ffb54f7a3">H5Dopen</a> (gid, <span class="stringliteral">"boo/moo"</span>); <span class="comment">/* relative path */</span> </div> +</div><!-- fragment --> Access the dataset with an absolute path. <div class="fragment"><div class="line">did = <a class="code hl_define" href="_h5version_8h.html#a7dba2e5b2045f31c0932123ffb54f7a3">H5Dopen</a> (file_id, <span class="stringliteral">"/foo/boo/moo"</span>); <span class="comment">/* absolute path */</span></div> </div><!-- fragment --> </td></tr> </table> </li> @@ -275,7 +279,7 @@ Describe a way to access the dataset moo described in the previous section (ques <ul> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> - <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.9.1 </li> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.10.0 </li> </ul> </div> </body> |