<!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.3.1"/> <title>libglom-1.24: Glom::predicate_LayoutItem_Field_IsSameField< T_ElementField, T_Element > Class Template 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">libglom-1.24  <span id="projectnumber">1.24.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main 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> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGlom.html">Glom</a></li><li class="navelem"><a class="el" href="classGlom_1_1predicate__LayoutItem__Field__IsSameField.html">predicate_LayoutItem_Field_IsSameField</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="classGlom_1_1predicate__LayoutItem__Field__IsSameField-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Glom::predicate_LayoutItem_Field_IsSameField< T_ElementField, T_Element > Class Template Reference</div> </div> </div><!--header--> <div class="contents"> <p>A predicate for use with std::find_if() to find a <a class="el" href="classGlom_1_1LayoutItem__Field.html" title="A LayoutItem that shows the data from a table field.">LayoutItem_Field</a> which refers to the same field, without comparing irrelevant stuff such as formatting. <a href="classGlom_1_1predicate__LayoutItem__Field__IsSameField.html#details">More...</a></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:a06105ddbce2bb9160307a73dc354ae05"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1predicate__LayoutItem__Field__IsSameField.html#a06105ddbce2bb9160307a73dc354ae05">predicate_LayoutItem_Field_IsSameField</a> (const <a class="el" href="classGlom_1_1sharedptr.html">sharedptr</a>< const T_ElementField >& layout_item)</td></tr> <tr class="separator:a06105ddbce2bb9160307a73dc354ae05"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a44bdce15ef16940266f8049a3c3ddbaf"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1predicate__LayoutItem__Field__IsSameField.html#a44bdce15ef16940266f8049a3c3ddbaf">operator()</a> (const <a class="el" href="classGlom_1_1sharedptr.html">sharedptr</a>< const T_Element >& element)</td></tr> <tr class="separator:a44bdce15ef16940266f8049a3c3ddbaf"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><h3>template<class T_ElementField, class T_Element = T_ElementField><br/> class Glom::predicate_LayoutItem_Field_IsSameField< T_ElementField, T_Element ></h3> <p>A predicate for use with std::find_if() to find a <a class="el" href="classGlom_1_1LayoutItem__Field.html" title="A LayoutItem that shows the data from a table field.">LayoutItem_Field</a> which refers to the same field, without comparing irrelevant stuff such as formatting. </p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a06105ddbce2bb9160307a73dc354ae05"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_ElementField , class T_Element = T_ElementField> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlom_1_1predicate__LayoutItem__Field__IsSameField.html">Glom::predicate_LayoutItem_Field_IsSameField</a>< T_ElementField, T_Element >::<a class="el" href="classGlom_1_1predicate__LayoutItem__Field__IsSameField.html">predicate_LayoutItem_Field_IsSameField</a> </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlom_1_1sharedptr.html">sharedptr</a>< const T_ElementField >& </td> <td class="paramname"><em>layout_item</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a44bdce15ef16940266f8049a3c3ddbaf"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_ElementField , class T_Element = T_ElementField> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="classGlom_1_1predicate__LayoutItem__Field__IsSameField.html">Glom::predicate_LayoutItem_Field_IsSameField</a>< T_ElementField, T_Element >::operator() </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlom_1_1sharedptr.html">sharedptr</a>< const T_Element >& </td> <td class="paramname"><em>element</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>libglom/data_structure/layout/layoutitem_field.h</li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.3.1 </small></address> </body> </html>