wcslib (8.2.2)

(root)/
share/
doc/
wcslib-8.2.2/
html/
structfitskeyid.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WCSLIB: fitskeyid Struct 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>
<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 id="projectrow">
  <td id="projectalign">
   <div id="projectname">WCSLIB<span id="projectnumber">&#160;8.2.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</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">
<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><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle"><div class="title">fitskeyid Struct Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Keyword indexing.  
 <a href="structfitskeyid.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="fitshdr_8h_source.html">fitshdr.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a9c19a56e7a92c1728bebd92e5370b9c7" id="r_a9c19a56e7a92c1728bebd92e5370b9c7"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfitskeyid.html#a9c19a56e7a92c1728bebd92e5370b9c7">name</a> [12]</td></tr>
<tr class="separator:a9c19a56e7a92c1728bebd92e5370b9c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab20aa3220d9994d02a1791e35dc91a56" id="r_ab20aa3220d9994d02a1791e35dc91a56"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfitskeyid.html#ab20aa3220d9994d02a1791e35dc91a56">count</a></td></tr>
<tr class="separator:ab20aa3220d9994d02a1791e35dc91a56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c8c5a6be67ef57333e80e71f320b62e" id="r_a8c8c5a6be67ef57333e80e71f320b62e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfitskeyid.html#a8c8c5a6be67ef57333e80e71f320b62e">idx</a> [2]</td></tr>
<tr class="separator:a8c8c5a6be67ef57333e80e71f320b62e"><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>Keyword indexing. </p>
<p><a class="el" href="fitshdr_8h.html#aebb4607327b6db35b468517328f67878" title="FITS header parser routine.">fitshdr()</a> uses the <b>fitskeyid</b> struct to return indexing information for specified keywords. The struct contains three members, the first of which, <a class="el" href="structfitskeyid.html#a9c19a56e7a92c1728bebd92e5370b9c7">fitskeyid::name</a>, must be set by the user with the remainder returned by <a class="el" href="fitshdr_8h.html#aebb4607327b6db35b468517328f67878" title="FITS header parser routine.">fitshdr()</a>. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a9c19a56e7a92c1728bebd92e5370b9c7" name="a9c19a56e7a92c1728bebd92e5370b9c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c19a56e7a92c1728bebd92e5370b9c7">&#9670;&#160;</a></span>name</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char fitskeyid::name</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>(<em>Given</em>) Name of the required keyword. This is to be set by the user; the '.' character may be used for wildcarding. Trailing blanks will be replaced with nulls. </p>

</div>
</div>
<a id="ab20aa3220d9994d02a1791e35dc91a56" name="ab20aa3220d9994d02a1791e35dc91a56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab20aa3220d9994d02a1791e35dc91a56">&#9670;&#160;</a></span>count</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int fitskeyid::count</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>(<em>Returned</em>) The number of matches found for the keyword. </p>

</div>
</div>
<a id="a8c8c5a6be67ef57333e80e71f320b62e" name="a8c8c5a6be67ef57333e80e71f320b62e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c8c5a6be67ef57333e80e71f320b62e">&#9670;&#160;</a></span>idx</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int fitskeyid::idx</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>(<em>Returned</em>) Indices into keys[], the array of <a class="el" href="structfitskey.html" title="Keyword/value information.">fitskey</a> structs returned by <a class="el" href="fitshdr_8h.html#aebb4607327b6db35b468517328f67878" title="FITS header parser routine.">fitshdr()</a>. Note that these are 0-relative array indices, not keyrecord numbers.</p>
<p>If the keyword is found in the header the first index will be set to the array index of its first occurrence, otherwise it will be set to -1.</p>
<p>If multiples of the keyword are found, the second index will be set to the array index of its last occurrence, otherwise it will be set to -1. </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Nov 29 2023 19:09:57 for WCSLIB by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>