Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > ecbd8c5b7568e331fe6ea5b9a07a78a0 > files > 134

CCfits-docs-2.2-2.fc13.noarch.rpm

<!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>CCfits: CCfits::Table::NoSuchColumn 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><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 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 class="navpath"><b>CCfits</b>::<a class="el" href="classCCfits_1_1Table.html">Table</a>::<a class="el" href="classCCfits_1_1Table_1_1NoSuchColumn.html">NoSuchColumn</a>
  </div>
</div>
<div class="contents">
<h1>CCfits::Table::NoSuchColumn Class Reference<br/>
<small>
[<a class="el" href="group__FITSexcept.html">FITS Exceptions</a>]</small>
</h1><!-- doxytag: class="CCfits::Table::NoSuchColumn" --><!-- doxytag: inherits="CCfits::FitsException" -->
<p>Exception to be thrown on a failure to retrieve a column specified either by name or index number.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="Table_8h_source.html">Table.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for CCfits::Table::NoSuchColumn:</div>
<div class="dynsection">
 <div class="center">
  <img src="classCCfits_1_1Table_1_1NoSuchColumn.gif" alt="Inheritance diagram" usemap="#CCfits::Table::NoSuchColumn_map" alt=""/>
  <map id="CCfits::Table::NoSuchColumn_map" name="CCfits::Table::NoSuchColumn_map">
<area href="classCCfits_1_1FitsException.html" alt="CCfits::FitsException" shape="rect" coords="0,0,176,24"/>
</map>
 </div>
</div>

<p><a href="classCCfits_1_1Table_1_1NoSuchColumn-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCCfits_1_1Table_1_1NoSuchColumn.html#a3f2a9ac7e04e28c2c13b33934a8ba485">NoSuchColumn</a> (int index, bool silent=true)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Exception ctor for exception thrown if the requested column (specified by name) is not present.  <a href="#a3f2a9ac7e04e28c2c13b33934a8ba485"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCCfits_1_1Table_1_1NoSuchColumn.html#a5f21d893d831bb74eff8703b3c6d0b1e">NoSuchColumn</a> (const String &amp;name, bool silent=true)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Exception ctor for exception thrown if the requested column (specified by name) is not present.  <a href="#a5f21d893d831bb74eff8703b3c6d0b1e"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Exception to be thrown on a failure to retrieve a column specified either by name or index number. </p>
<p>When a <a class="el" href="classCCfits_1_1Table.html">Table</a> object is created, the header is read and a column object created for each column defined. Thus id this exception is thrown the column requested does not exist in the <a class="el" href="classCCfits_1_1HDU.html" title="Base class for all HDU [Header-Data Unit] objects.">HDU</a> (note that the column can easily exist and not contain any data since the user controls whether the column will be read when the <a class="el" href="classCCfits_1_1FITS.html" title="Memory object representation of a disk FITS file.">FITS</a> object is instantiated).</p>
<p>It is expected that the index number calls will be primarily internal. The underlying implementation makes lookup by name more efficient.</p>
<p>The exception has two variants, which take either an integer or a string as parameter. These are used according to the accessor that threw them, either by name or index. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a5f21d893d831bb74eff8703b3c6d0b1e"></a><!-- doxytag: member="CCfits::Table::NoSuchColumn::NoSuchColumn" ref="a5f21d893d831bb74eff8703b3c6d0b1e" args="(const String &amp;name, bool silent=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CCfits::Table::NoSuchColumn::NoSuchColumn </td>
          <td>(</td>
          <td class="paramtype">const String &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>silent</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Exception ctor for exception thrown if the requested column (specified by name) is not present. </p>
<p>Message: Fits Error: cannot find <a class="el" href="classCCfits_1_1Column.html" title="Abstract base class for Column objects.">Column</a> named: <em>name</em> is printed.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>the requested column name </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>silent</em>&nbsp;</td><td>if true, print message whether <a class="el" href="classCCfits_1_1FITS.html#ac897e39e93234792d519913e656be5fc" title="return verbose setting for library">FITS::verboseMode</a> is set or not. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3f2a9ac7e04e28c2c13b33934a8ba485"></a><!-- doxytag: member="CCfits::Table::NoSuchColumn::NoSuchColumn" ref="a3f2a9ac7e04e28c2c13b33934a8ba485" args="(int index, bool silent=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CCfits::Table::NoSuchColumn::NoSuchColumn </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>silent</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Exception ctor for exception thrown if the requested column (specified by name) is not present. </p>
<p>Message: Fits Error: column not present - <a class="el" href="classCCfits_1_1Column.html" title="Abstract base class for Column objects.">Column</a> number <em>index</em> is printed.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>the requested column number </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>silent</em>&nbsp;</td><td>if true, print message whether <a class="el" href="classCCfits_1_1FITS.html#ac897e39e93234792d519913e656be5fc" title="return verbose setting for library">FITS::verboseMode</a> is set or not. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="Table_8h_source.html">Table.h</a></li>
<li>Table.cxx</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Wed Sep 9 11:59:48 2009 for CCfits 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>