Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates > by-pkgid > 9b2eec216777f0c505d4f747f9ee0e8f > files > 97

lensfun-0.3.2-8.1.mga7.i586.rpm

<!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">
<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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>lensfun: lfMount 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>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
MathJax.Hub.Config({
    messageStyle: "none"
});
</script><script type="text/javascript" async="async" src="http://lensfun.sourceforge.net/mathjax/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">lensfun
   &#160;<span id="projectnumber">0.3.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structlfMount-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">lfMount Struct Reference<div class="ingroups"><a class="el" href="group__Mount.html">Structures and functions for camera mounts</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>This structure contains everything specific to a camera mount.  
 <a href="structlfMount.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="lensfun_8h_source.html">lensfun.h</a>&gt;</code></p>
<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:a48af462e80b49be6ce205b10e5314148"><td class="memItemLeft" align="right" valign="top"><a id="a48af462e80b49be6ce205b10e5314148"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlfMount.html#a48af462e80b49be6ce205b10e5314148">lfMount</a> ()</td></tr>
<tr class="memdesc:a48af462e80b49be6ce205b10e5314148"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize a new mount object. All fields are set to 0. <br /></td></tr>
<tr class="separator:a48af462e80b49be6ce205b10e5314148"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8784e23cf4ddc578255e73358ef8b81a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structlfMount.html">lfMount</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlfMount.html#a8784e23cf4ddc578255e73358ef8b81a">operator=</a> (const <a class="el" href="structlfMount.html">lfMount</a> &amp;other)</td></tr>
<tr class="separator:a8784e23cf4ddc578255e73358ef8b81a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3cbdfee62434e0e83d9df3e9782cf43"><td class="memItemLeft" align="right" valign="top"><a id="ae3cbdfee62434e0e83d9df3e9782cf43"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlfMount.html#ae3cbdfee62434e0e83d9df3e9782cf43">~lfMount</a> ()</td></tr>
<tr class="memdesc:ae3cbdfee62434e0e83d9df3e9782cf43"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy a mount object. All allocated fields are freed. <br /></td></tr>
<tr class="separator:ae3cbdfee62434e0e83d9df3e9782cf43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abed19092f2c480b5e0a974819c995ca2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlfMount.html#abed19092f2c480b5e0a974819c995ca2">SetName</a> (const char *val, const char *lang=NULL)</td></tr>
<tr class="memdesc:abed19092f2c480b5e0a974819c995ca2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a string to mount name.  <a href="#abed19092f2c480b5e0a974819c995ca2">More...</a><br /></td></tr>
<tr class="separator:abed19092f2c480b5e0a974819c995ca2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33d5b3f7ab1c623d74641ca4385c9882"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlfMount.html#a33d5b3f7ab1c623d74641ca4385c9882">AddCompat</a> (const char *val)</td></tr>
<tr class="memdesc:a33d5b3f7ab1c623d74641ca4385c9882"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a mount name to the list of compatible mounts.  <a href="#a33d5b3f7ab1c623d74641ca4385c9882">More...</a><br /></td></tr>
<tr class="separator:a33d5b3f7ab1c623d74641ca4385c9882"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a471be7d70b8b559926126f1342a74e8a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlfMount.html#a471be7d70b8b559926126f1342a74e8a">Check</a> ()</td></tr>
<tr class="memdesc:a471be7d70b8b559926126f1342a74e8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if a mount object is valid.  <a href="#a471be7d70b8b559926126f1342a74e8a">More...</a><br /></td></tr>
<tr class="separator:a471be7d70b8b559926126f1342a74e8a"><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:aa955804e43d50a7c669f11a1e75b8c35"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__Auxiliary.html#ga46c9b84f7edf9fd1d31faf8fc1af356f">lfMLstr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlfMount.html#aa955804e43d50a7c669f11a1e75b8c35">Name</a></td></tr>
<tr class="memdesc:aa955804e43d50a7c669f11a1e75b8c35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Camera mount name.  <a href="#aa955804e43d50a7c669f11a1e75b8c35">More...</a><br /></td></tr>
<tr class="separator:aa955804e43d50a7c669f11a1e75b8c35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac75b5ff5639ea88097083e72613ebefb"><td class="memItemLeft" align="right" valign="top">char **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlfMount.html#ac75b5ff5639ea88097083e72613ebefb">Compat</a></td></tr>
<tr class="separator:ac75b5ff5639ea88097083e72613ebefb"><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>This structure contains everything specific to a camera mount. </p>
<p>Objects of this type are usually retrieved from the database by using queries (see <a class="el" href="structlfDatabase.html#a122cc1e2eaa2b752d379efd260abf0e1" title="Return the lfMount structure given the (basic) mount name.">lfDatabase::FindMount()</a> / <a class="el" href="group__Database.html#gad0c064fad2abb4fefb3c4fca29622d64">lf_db_find_mount()</a>), and can be created manually in which case it is application's responsability to destroy the object when it is not needed anymore. </p>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="example_8c-example.html#_a0">example.c</a>, and <a class="el" href="tfun_8cpp-example.html#_a3">tfun.cpp</a>.</dd>
</dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a33d5b3f7ab1c623d74641ca4385c9882"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33d5b3f7ab1c623d74641ca4385c9882">&#9670;&nbsp;</a></span>AddCompat()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void lfMount::AddCompat </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add a mount name to the list of compatible mounts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">val</td><td>The identifier of the compatible mount. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a471be7d70b8b559926126f1342a74e8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a471be7d70b8b559926126f1342a74e8a">&#9670;&nbsp;</a></span>Check()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool lfMount::Check </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check if a mount object is valid. </p>
<dl class="section return"><dt>Returns</dt><dd>true if required fields are ok. </dd></dl>

</div>
</div>
<a id="a8784e23cf4ddc578255e73358ef8b81a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8784e23cf4ddc578255e73358ef8b81a">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structlfMount.html">lfMount</a>&amp; lfMount::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structlfMount.html">lfMount</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Assignment operator </p>

</div>
</div>
<a id="abed19092f2c480b5e0a974819c995ca2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abed19092f2c480b5e0a974819c995ca2">&#9670;&nbsp;</a></span>SetName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void lfMount::SetName </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>val</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>lang</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add a string to mount name. </p>
<p>If lang is NULL, this replaces the default value, otherwise a new language value is appended. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">val</td><td>The new value for the Name field. </td></tr>
    <tr><td class="paramname">lang</td><td>The language this field is in. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ac75b5ff5639ea88097083e72613ebefb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac75b5ff5639ea88097083e72613ebefb">&#9670;&nbsp;</a></span>Compat</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char** lfMount::Compat</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>A list of compatible mounts </p>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="example_8c-example.html#a9">example.c</a>, and <a class="el" href="tfun_8cpp-example.html#a6">tfun.cpp</a>.</dd>
</dl>

</div>
</div>
<a id="aa955804e43d50a7c669f11a1e75b8c35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa955804e43d50a7c669f11a1e75b8c35">&#9670;&nbsp;</a></span>Name</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__Auxiliary.html#ga46c9b84f7edf9fd1d31faf8fc1af356f">lfMLstr</a> lfMount::Name</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Camera mount name. </p>
<p>Mount names for fixed-lens cameras &ndash; and only they &ndash; must start with a lower case letter. </p>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="tfun_8cpp-example.html#a5">tfun.cpp</a>.</dd>
</dl>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="lensfun_8h_source.html">lensfun.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 3 2019 15:07:50 for lensfun by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>