<!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>libglom-1.14: Glom::Field 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 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 class="tabs"> <ul> <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="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceGlom.html">Glom</a>::<a class="el" href="classGlom_1_1Field.html">Field</a> </div> </div> <div class="contents"> <h1>Glom::Field Class Reference</h1><!-- doxytag: class="Glom::Field" --><!-- doxytag: inherits="Glom::TranslatableItem" --> <p>Inherits <a class="el" href="classGlom_1_1TranslatableItem.html">Glom::TranslatableItem</a>.</p> <div class="dynheader"> Collaboration diagram for Glom::Field:</div> <div class="dynsection"> <div class="center"><img src="classGlom_1_1Field__coll__graph.png" border="0" usemap="#Glom_1_1Field_coll__map" alt="Collaboration graph"/></div> <map name="Glom_1_1Field_coll__map" id="Glom_1_1Field_coll__map"> <area shape="rect" href="classGlom_1_1TranslatableItem.html" title="TranslatableItem have a map of translation strings - one string for each locale." alt="" coords="912,587,1067,616"/><area shape="rect" href="classGlom_1_1Relationship.html" title="Glom::Relationship" alt="" coords="2077,493,2208,523"/><area shape="rect" href="classGlom_1_1sharedptr.html" title="Glom::sharedptr\< TranslatableItem \>" alt="" coords="1272,535,1507,564"/><area shape="rect" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00564.html" title="std::map\< Glib::ustring, Glib::ustring \>" alt="" coords="495,625,737,655"/><area shape="rect" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00564.html" title="std::map\< _Key, _Tp, _Compare, _Alloc \>" alt="" coords="5,229,272,259"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html" title="Glib::ustring" alt="" coords="571,472,661,501"/><area shape="rect" href="classGlom_1_1FieldFormatting.html" title="Glom::FieldFormatting" alt="" coords="3216,287,3365,316"/><area shape="rect" href="classGlom_1_1NumericFormat.html" title="Glom::NumericFormat" alt="" coords="1099,156,1248,185"/><area shape="rect" href="classGlom_1_1sharedptr.html" title="Glom::sharedptr\< Relationship \>" alt="" coords="2355,493,2563,523"/><area shape="rect" href="classGlom_1_1sharedptr.html" title="Glom::sharedptr\< const Relationship \>" alt="" coords="2336,379,2581,408"/><area shape="rect" href="classGlom_1_1HasTitleSingular.html" title="HasTitleSingular instances may have a (translated) singular form of their title." alt="" coords="1647,529,1801,559"/><area shape="rect" href="classGlom_1_1sharedptr.html" title="A ref-counting smart-pointer for the underlying C++ object." alt="" coords="904,360,1075,389"/><area shape="rect" href="classGlom_1_1UsesRelationship.html" title="Glom::UsesRelationship" alt="" coords="2789,365,2949,395"/><area shape="rect" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00551.html" title="std::list\< Gnome::Gda::Value \>" alt="" coords="2768,287,2971,316"/><area shape="rect" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00551.html" title="std::list\< _Tp, _Alloc \>" alt="" coords="2381,324,2536,353"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html" title="Glib::RefPtr\< Gnome::Gda::Column \>" alt="" coords="3171,740,3411,769"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html" title="Glib::RefPtr\< T_CppObject \>" alt="" coords="2775,740,2964,769"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGlom_1_1Field-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#ada8c5d83c1e0937fd60888ce7dc0f6d5">sql_format</a> { <br/>   <a class="el" href="classGlom_1_1Field.html#ada8c5d83c1e0937fd60888ce7dc0f6d5a3cf3686d521e0d67add2da215a7dba6d">SQL_FORMAT_POSTGRES</a>, <br/>   <a class="el" href="classGlom_1_1Field.html#ada8c5d83c1e0937fd60888ce7dc0f6d5ab56283c9f73d17dd0c0725e061512367">SQL_FORMAT_SQLITE</a> <br/> }</td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> { <br/>   <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12ca00cf52d1858c9fa384818e30e6361e7e">TYPE_INVALID</a>, <br/>   <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12cad950dc2be538deaf32d1d8a0c3b2ae1e">TYPE_NUMERIC</a>, <br/>   <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12ca1c7d059c2af6e8d926faeda822032db6">TYPE_TEXT</a>, <br/>   <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12ca9022b56a7ca173c9d0bb7d80c68b4995">TYPE_DATE</a>, <br/>   <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12cac9a5b1fff349153aaae3cd82e3cdb69f">TYPE_TIME</a>, <br/>   <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12ca627e8e7391477bfc55396801a93eb483">TYPE_BOOLEAN</a>, <br/>   <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12ca83e2891317bc48d680d35398ad3e017d">TYPE_IMAGE</a> <br/> }</td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00551.html">std::list</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#aafd981325587760ef8d7ba154ef11fb2">type_list_strings</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00564.html">std::map</a><br class="typebreak"/> < <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a>, <br class="typebreak"/> <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a56155f103e46e51360cdd2993590f13f">type_map_type_names</a></td></tr> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#ab16773ddcb24e1abf06698394ddeddea">Field</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a47d5af89431e1a0aa03c9d2e0920a1a8">Field</a> (const <a class="el" href="classGlom_1_1Field.html">Field</a>& src)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#aa0cd80c44dcdc16eb9df80a76a807333">~Field</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlom_1_1Field.html">Field</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#ae7b077ead4a13ea12632f2c124b8e389">operator=</a> (const <a class="el" href="classGlom_1_1Field.html">Field</a>& src)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a0404d92688dcc5ab74f9455b27d73f5e">operator==</a> (const <a class="el" href="classGlom_1_1Field.html">Field</a>& src) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#ae656efcd871323cbdc33f19f91c83397">operator!=</a> (const <a class="el" href="classGlom_1_1Field.html">Field</a>& src) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlom_1_1Field.html">Field</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#ae98793c84128a5a7022c4d4d5db066e4">clone</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a1c0be7f23eed331e03933c64ae76f8a1">get_glom_type</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a3406391c25e522224ea2ad8027bea3aa">set_glom_type</a> (<a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> fieldtype)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#aad54268166b2657723a7446947f26801">get_name</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This forwards to the Glib::RefPtr<Gnome::Gda::Column>::get_name, so that we can use it in the same predicate template. <a href="#aad54268166b2657723a7446947f26801"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a17d91155b336c922354c48843924b9df">set_name</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This forwards to the Glib::RefPtr<Gnome::Gda::Column>::set_name, for convenience. <a href="#a17d91155b336c922354c48843924b9df"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a194e7066edf0c068c92789cdf798d2fc">get_auto_increment</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This forwards to the Glib::RefPtr<Gnome::Gda::Column>::get_auto_increment. <a href="#a194e7066edf0c068c92789cdf798d2fc"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a85f425795b1e92440fac67a0252f1995">set_auto_increment</a> (bool val=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This forwards to the Glib::RefPtr<Gnome::Gda::Column>::set_auto_increment. <a href="#a85f425795b1e92440fac67a0252f1995"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a4347150af91b26fe0b44691c77b1b483">get_primary_key</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This forwards to the Glib::RefPtr<Gnome::Gda::Column>::get_primary_key. <a href="#a4347150af91b26fe0b44691c77b1b483"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a512e83cec34d698e69e86d7698b5b79a">set_primary_key</a> (bool val=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This forwards to the Glib::RefPtr<Gnome::Gda::Column>::set_primary_key. <a href="#a512e83cec34d698e69e86d7698b5b79a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a7ec1971af5993f1ef6cddd8091486d41">get_unique_key</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This forwards to the Glib::RefPtr<Gnome::Gda::Column>::get_unique_key. <a href="#a7ec1971af5993f1ef6cddd8091486d41"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a30976018811becd64286979eb5d7d9fb">set_unique_key</a> (bool val=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This forwards to the Glib::RefPtr<Gnome::Gda::Column>::set_unique_key. <a href="#a30976018811becd64286979eb5d7d9fb"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">Gnome::Gda::Value </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#ae0a95c5473b7938c605b08596ab4917b">get_default_value</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This forwards to the Glib::RefPtr<Gnome::Gda::Column>::get_default_value. <a href="#ae0a95c5473b7938c605b08596ab4917b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#ab47c1ab9feeb66914091319fb42bcfeb">set_default_value</a> (const Gnome::Gda::Value&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This forwards to the Glib::RefPtr<Gnome::Gda::Column>::set_default_value. <a href="#ab47c1ab9feeb66914091319fb42bcfeb"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< Gnome::Gda::Column > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a917f58f6c9c15c2a093e82c825e32fe4">get_field_info</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <br class="typebreak"/> Gnome::Gda::Column > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a4467ff420c300199b659bff2103fb653">get_field_info</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a0225380341f4687252524cfa181d537b">set_field_info</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< Gnome::Gda::Column >& fieldInfo)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#acfa5b26f62bc28c446ef606f7520afc6">field_info_from_database_is_equal</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const Gnome::Gda::Column >& field)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Ignores any part of FieldAttributes that libgda does not properly fill. <a href="#acfa5b26f62bc28c446ef606f7520afc6"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#ad753285064bd881597dc7daa09caf18f">get_is_lookup</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlom_1_1sharedptr.html">sharedptr</a>< <a class="el" href="classGlom_1_1Relationship.html">Relationship</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#ad35f87b975d716c6266d59d457d8959b">get_lookup_relationship</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a06e99b24090775e710146f1609078d3f">set_lookup_relationship</a> (const <a class="el" href="classGlom_1_1sharedptr.html">sharedptr</a>< <a class="el" href="classGlom_1_1Relationship.html">Relationship</a> >& strRelationship)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a71eeb4dccbdfb37004a7d509301285e4">get_lookup_field</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a8950d7de8111a4222c5ab73d131d4ce3">set_lookup_field</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& strField)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a90925cd40a7309423b5f7df9c2b7b5b1">get_sql_type</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a3dbb72491db5f94a100b7d805ef9077f">get_gda_type_name</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< Gnome::Gda::Holder > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a96e350c8d4ec18b34fd2711f9d242997">get_holder</a> (const Gnome::Gda::Value&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& name=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A convenience when using parameters with a libgda SQL query. <a href="#a96e350c8d4ec18b34fd2711f9d242997"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#acc66ee95a44701872b6e280d228d3459">get_gda_holder_string</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& name=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">TODO: Documentation. <a href="#acc66ee95a44701872b6e280d228d3459"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a1f08a2e6f26f7adea81fc5ff846cf664">sql</a> (const Gnome::Gda::Value&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< Gnome::Gda::Connection >& connection) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Escape and quote the value so that it can be used in a SQL command. <a href="#a1f08a2e6f26f7adea81fc5ff846cf664"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a7eba101ea773462b56919ce084ba4749">sql</a> (const Gnome::Gda::Value&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Escape and quote the value so that it can be used in a SQL command. <a href="#a7eba101ea773462b56919ce084ba4749"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#aac63bd78c81d3d818e5dba334fbd46bd">to_file_format</a> (const Gnome::Gda::Value&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the canonical format for a file, for instance for a default value or for example data. <a href="#aac63bd78c81d3d818e5dba334fbd46bd"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">Gnome::Gda::Value </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a1fc51c5610d4084bfcbb77926fa8d75a">from_file_format</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& str, bool& success) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Parse the value from the canonical file format. <a href="#a1fc51c5610d4084bfcbb77926fa8d75a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a7f6af900d048b288d806d694b982fcec">sql_find</a> (const Gnome::Gda::Value&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Escape the value so that it can be used in a SQL command for a find. <a href="#a7f6af900d048b288d806d694b982fcec"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a1803d6eb7c143bf94e1a62eca1bb597e">sql_find_operator</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a suitable operator to use when finding records. <a href="#a1803d6eb7c143bf94e1a62eca1bb597e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a1978cfe72f5e20a01c90779f720eddce">get_calculation</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a941efb1d13243d663adfeff41a7f3888">set_calculation</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& calculation)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a40bfeff3fcd237db92d887f15ac2dc47">get_has_calculation</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00551.html">type_list_strings</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#afda7d568e1b84835fb0ab564d3e6a982">get_calculation_relationships</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#aa6d99f2ec74aaa32bdf47cddae28f4cc">set_visible</a> (bool val=true)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a428a1225bd43e4d2f7050564739e0765">get_visible</a> () const </td></tr> <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#ae44179e45b5b63d125c6a5f409a0c814">to_file_format</a> (const Gnome::Gda::Value&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01156.html#ga1c9e781d8d15a3814a601f471797c825">value</a>, <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> glom_type)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static Gnome::Gda::Value </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#ae327ced903f23e1b5347eb417789e113">from_file_format</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& str, <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> glom_type, bool& success)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00564.html">type_map_type_names</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a2a9fbdc2129b709682441bcac77e5415">get_type_names</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get canonical type names for internal use, such as in the XML of the document. <a href="#a2a9fbdc2129b709682441bcac77e5415"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00564.html">type_map_type_names</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#ac0aad53771b673e864ca2e5eb267ebc2">get_type_names_ui</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get translated type names. <a href="#ac0aad53771b673e864ca2e5eb267ebc2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00564.html">type_map_type_names</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a75f3add1adbf94e6284332677c836181">get_usable_type_names</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get translated type names of types that should be offered to the user. <a href="#a75f3add1adbf94e6284332677c836181"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#aa9247323b6a478eb3f5071137d11dbf8">get_type_name_ui</a> (<a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> glom_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the translated name for a glom type. <a href="#aa9247323b6a478eb3f5071137d11dbf8"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a52e67b6848bea20dea02f434bf5f833f">get_type_for_ui_name</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& glom_type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the type from a translated name. <a href="#a52e67b6848bea20dea02f434bf5f833f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a6ff5da53f569ff62d80525cb75dd4a16">get_glom_type_for_gda_type</a> (GType gda_type)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#ade2da04e5bee34dfdb4359e8a2bb8d8c">get_gda_type_for_glom_type</a> (<a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">Field::glom_field_type</a> glom_type)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a4009927f4b9dbfca9e17ecaa8c8883e3">get_conversion_possible</a> (<a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> field_type_src, <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> field_type_dest)</td></tr> <tr><td colspan="2"><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlom_1_1FieldFormatting.html">FieldFormatting</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1Field.html#a86858b09350d0a64e5c8f8a68e130750">m_default_formatting</a></td></tr> </table> <hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="aafd981325587760ef8d7ba154ef11fb2"></a><!-- doxytag: member="Glom::Field::type_list_strings" ref="aafd981325587760ef8d7ba154ef11fb2" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00551.html">std::list</a><<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00551.html">Glom::Field::type_list_strings</a></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a56155f103e46e51360cdd2993590f13f"></a><!-- doxytag: member="Glom::Field::type_map_type_names" ref="a56155f103e46e51360cdd2993590f13f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00564.html">std::map</a><<a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a>, <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00564.html">Glom::Field::type_map_type_names</a></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Enumeration Documentation</h2> <a class="anchor" id="add1ab8498c593222460a6ed3b100b12c"></a><!-- doxytag: member="Glom::Field::glom_field_type" ref="add1ab8498c593222460a6ed3b100b12c" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">Glom::Field::glom_field_type</a></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" id="add1ab8498c593222460a6ed3b100b12ca00cf52d1858c9fa384818e30e6361e7e"></a><!-- doxytag: member="TYPE_INVALID" ref="add1ab8498c593222460a6ed3b100b12ca00cf52d1858c9fa384818e30e6361e7e" args="" -->TYPE_INVALID</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="add1ab8498c593222460a6ed3b100b12cad950dc2be538deaf32d1d8a0c3b2ae1e"></a><!-- doxytag: member="TYPE_NUMERIC" ref="add1ab8498c593222460a6ed3b100b12cad950dc2be538deaf32d1d8a0c3b2ae1e" args="" -->TYPE_NUMERIC</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="add1ab8498c593222460a6ed3b100b12ca1c7d059c2af6e8d926faeda822032db6"></a><!-- doxytag: member="TYPE_TEXT" ref="add1ab8498c593222460a6ed3b100b12ca1c7d059c2af6e8d926faeda822032db6" args="" -->TYPE_TEXT</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="add1ab8498c593222460a6ed3b100b12ca9022b56a7ca173c9d0bb7d80c68b4995"></a><!-- doxytag: member="TYPE_DATE" ref="add1ab8498c593222460a6ed3b100b12ca9022b56a7ca173c9d0bb7d80c68b4995" args="" -->TYPE_DATE</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="add1ab8498c593222460a6ed3b100b12cac9a5b1fff349153aaae3cd82e3cdb69f"></a><!-- doxytag: member="TYPE_TIME" ref="add1ab8498c593222460a6ed3b100b12cac9a5b1fff349153aaae3cd82e3cdb69f" args="" -->TYPE_TIME</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="add1ab8498c593222460a6ed3b100b12ca627e8e7391477bfc55396801a93eb483"></a><!-- doxytag: member="TYPE_BOOLEAN" ref="add1ab8498c593222460a6ed3b100b12ca627e8e7391477bfc55396801a93eb483" args="" -->TYPE_BOOLEAN</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="add1ab8498c593222460a6ed3b100b12ca83e2891317bc48d680d35398ad3e017d"></a><!-- doxytag: member="TYPE_IMAGE" ref="add1ab8498c593222460a6ed3b100b12ca83e2891317bc48d680d35398ad3e017d" args="" -->TYPE_IMAGE</em> </td><td> </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ada8c5d83c1e0937fd60888ce7dc0f6d5"></a><!-- doxytag: member="Glom::Field::sql_format" ref="ada8c5d83c1e0937fd60888ce7dc0f6d5" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classGlom_1_1Field.html#ada8c5d83c1e0937fd60888ce7dc0f6d5">Glom::Field::sql_format</a></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" id="ada8c5d83c1e0937fd60888ce7dc0f6d5a3cf3686d521e0d67add2da215a7dba6d"></a><!-- doxytag: member="SQL_FORMAT_POSTGRES" ref="ada8c5d83c1e0937fd60888ce7dc0f6d5a3cf3686d521e0d67add2da215a7dba6d" args="" -->SQL_FORMAT_POSTGRES</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="ada8c5d83c1e0937fd60888ce7dc0f6d5ab56283c9f73d17dd0c0725e061512367"></a><!-- doxytag: member="SQL_FORMAT_SQLITE" ref="ada8c5d83c1e0937fd60888ce7dc0f6d5ab56283c9f73d17dd0c0725e061512367" args="" -->SQL_FORMAT_SQLITE</em> </td><td> </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ab16773ddcb24e1abf06698394ddeddea"></a><!-- doxytag: member="Glom::Field::Field" ref="ab16773ddcb24e1abf06698394ddeddea" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Glom::Field::Field </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a47d5af89431e1a0aa03c9d2e0920a1a8"></a><!-- doxytag: member="Glom::Field::Field" ref="a47d5af89431e1a0aa03c9d2e0920a1a8" args="(const Field &src)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Glom::Field::Field </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlom_1_1Field.html">Field</a>& </td> <td class="paramname"> <em>src</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="aa0cd80c44dcdc16eb9df80a76a807333"></a><!-- doxytag: member="Glom::Field::~Field" ref="aa0cd80c44dcdc16eb9df80a76a807333" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Glom::Field::~Field </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ae98793c84128a5a7022c4d4d5db066e4"></a><!-- doxytag: member="Glom::Field::clone" ref="ae98793c84128a5a7022c4d4d5db066e4" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlom_1_1Field.html">Field</a>* Glom::Field::clone </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="acfa5b26f62bc28c446ef606f7520afc6"></a><!-- doxytag: member="Glom::Field::field_info_from_database_is_equal" ref="acfa5b26f62bc28c446ef606f7520afc6" args="(const Glib::RefPtr< const Gnome::Gda::Column > &field)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Glom::Field::field_info_from_database_is_equal </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const Gnome::Gda::Column > & </td> <td class="paramname"> <em>field</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Ignores any part of FieldAttributes that libgda does not properly fill. </p> </div> </div> <a class="anchor" id="ae327ced903f23e1b5347eb417789e113"></a><!-- doxytag: member="Glom::Field::from_file_format" ref="ae327ced903f23e1b5347eb417789e113" args="(const Glib::ustring &str, glom_field_type glom_type, bool &success)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static Gnome::Gda::Value Glom::Field::from_file_format </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>str</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> </td> <td class="paramname"> <em>glom_type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool & </td> <td class="paramname"> <em>success</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a1fc51c5610d4084bfcbb77926fa8d75a"></a><!-- doxytag: member="Glom::Field::from_file_format" ref="a1fc51c5610d4084bfcbb77926fa8d75a" args="(const Glib::ustring &str, bool &success) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gnome::Gda::Value Glom::Field::from_file_format </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>str</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool & </td> <td class="paramname"> <em>success</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Parse the value from the canonical file format. </p> <p>See <a class="el" href="classGlom_1_1Field.html#aac63bd78c81d3d818e5dba334fbd46bd" title="Get the canonical format for a file, for instance for a default value or for example...">to_file_format()</a> This does note remove quotes from text values so the caller may need to do that. </p> </div> </div> <a class="anchor" id="a194e7066edf0c068c92789cdf798d2fc"></a><!-- doxytag: member="Glom::Field::get_auto_increment" ref="a194e7066edf0c068c92789cdf798d2fc" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Glom::Field::get_auto_increment </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>This forwards to the Glib::RefPtr<Gnome::Gda::Column>::get_auto_increment. </p> </div> </div> <a class="anchor" id="a1978cfe72f5e20a01c90779f720eddce"></a><!-- doxytag: member="Glom::Field::get_calculation" ref="a1978cfe72f5e20a01c90779f720eddce" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Glom::Field::get_calculation </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="afda7d568e1b84835fb0ab564d3e6a982"></a><!-- doxytag: member="Glom::Field::get_calculation_relationships" ref="afda7d568e1b84835fb0ab564d3e6a982" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00551.html">type_list_strings</a> Glom::Field::get_calculation_relationships </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a4009927f4b9dbfca9e17ecaa8c8883e3"></a><!-- doxytag: member="Glom::Field::get_conversion_possible" ref="a4009927f4b9dbfca9e17ecaa8c8883e3" args="(glom_field_type field_type_src, glom_field_type field_type_dest)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static bool Glom::Field::get_conversion_possible </td> <td>(</td> <td class="paramtype"><a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> </td> <td class="paramname"> <em>field_type_src</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> </td> <td class="paramname"> <em>field_type_dest</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ae0a95c5473b7938c605b08596ab4917b"></a><!-- doxytag: member="Glom::Field::get_default_value" ref="ae0a95c5473b7938c605b08596ab4917b" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gnome::Gda::Value Glom::Field::get_default_value </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>This forwards to the Glib::RefPtr<Gnome::Gda::Column>::get_default_value. </p> </div> </div> <a class="anchor" id="a4467ff420c300199b659bff2103fb653"></a><!-- doxytag: member="Glom::Field::get_field_info" ref="a4467ff420c300199b659bff2103fb653" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const Gnome::Gda::Column> Glom::Field::get_field_info </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a917f58f6c9c15c2a093e82c825e32fe4"></a><!-- doxytag: member="Glom::Field::get_field_info" ref="a917f58f6c9c15c2a093e82c825e32fe4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><Gnome::Gda::Column> Glom::Field::get_field_info </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="acc66ee95a44701872b6e280d228d3459"></a><!-- doxytag: member="Glom::Field::get_gda_holder_string" ref="acc66ee95a44701872b6e280d228d3459" args="(const Glib::ustring &name=Glib::ustring()) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Glom::Field::get_gda_holder_string </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>name</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>TODO: Documentation. </p> </div> </div> <a class="anchor" id="ade2da04e5bee34dfdb4359e8a2bb8d8c"></a><!-- doxytag: member="Glom::Field::get_gda_type_for_glom_type" ref="ade2da04e5bee34dfdb4359e8a2bb8d8c" args="(Field::glom_field_type glom_type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static GType Glom::Field::get_gda_type_for_glom_type </td> <td>(</td> <td class="paramtype"><a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">Field::glom_field_type</a> </td> <td class="paramname"> <em>glom_type</em></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a3dbb72491db5f94a100b7d805ef9077f"></a><!-- doxytag: member="Glom::Field::get_gda_type_name" ref="a3dbb72491db5f94a100b7d805ef9077f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Glom::Field::get_gda_type_name </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a1c0be7f23eed331e03933c64ae76f8a1"></a><!-- doxytag: member="Glom::Field::get_glom_type" ref="a1c0be7f23eed331e03933c64ae76f8a1" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> Glom::Field::get_glom_type </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a6ff5da53f569ff62d80525cb75dd4a16"></a><!-- doxytag: member="Glom::Field::get_glom_type_for_gda_type" ref="a6ff5da53f569ff62d80525cb75dd4a16" args="(GType gda_type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> Glom::Field::get_glom_type_for_gda_type </td> <td>(</td> <td class="paramtype">GType </td> <td class="paramname"> <em>gda_type</em></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a40bfeff3fcd237db92d887f15ac2dc47"></a><!-- doxytag: member="Glom::Field::get_has_calculation" ref="a40bfeff3fcd237db92d887f15ac2dc47" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Glom::Field::get_has_calculation </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a96e350c8d4ec18b34fd2711f9d242997"></a><!-- doxytag: member="Glom::Field::get_holder" ref="a96e350c8d4ec18b34fd2711f9d242997" args="(const Gnome::Gda::Value &value, const Glib::ustring &name=Glib::ustring()) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><Gnome::Gda::Holder> Glom::Field::get_holder </td> <td>(</td> <td class="paramtype">const Gnome::Gda::Value & </td> <td class="paramname"> <em>value</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>name</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>A convenience when using parameters with a libgda SQL query. </p> </div> </div> <a class="anchor" id="ad753285064bd881597dc7daa09caf18f"></a><!-- doxytag: member="Glom::Field::get_is_lookup" ref="ad753285064bd881597dc7daa09caf18f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Glom::Field::get_is_lookup </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a71eeb4dccbdfb37004a7d509301285e4"></a><!-- doxytag: member="Glom::Field::get_lookup_field" ref="a71eeb4dccbdfb37004a7d509301285e4" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Glom::Field::get_lookup_field </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ad35f87b975d716c6266d59d457d8959b"></a><!-- doxytag: member="Glom::Field::get_lookup_relationship" ref="ad35f87b975d716c6266d59d457d8959b" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlom_1_1sharedptr.html">sharedptr</a><<a class="el" href="classGlom_1_1Relationship.html">Relationship</a>> Glom::Field::get_lookup_relationship </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="aad54268166b2657723a7446947f26801"></a><!-- doxytag: member="Glom::Field::get_name" ref="aad54268166b2657723a7446947f26801" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Glom::Field::get_name </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This forwards to the Glib::RefPtr<Gnome::Gda::Column>::get_name, so that we can use it in the same predicate template. </p> <p>Reimplemented from <a class="el" href="classGlom_1_1TranslatableItem.html#a77169f3b9749c430de2237cfae53bd1b">Glom::TranslatableItem</a>.</p> </div> </div> <a class="anchor" id="a4347150af91b26fe0b44691c77b1b483"></a><!-- doxytag: member="Glom::Field::get_primary_key" ref="a4347150af91b26fe0b44691c77b1b483" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Glom::Field::get_primary_key </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>This forwards to the Glib::RefPtr<Gnome::Gda::Column>::get_primary_key. </p> </div> </div> <a class="anchor" id="a90925cd40a7309423b5f7df9c2b7b5b1"></a><!-- doxytag: member="Glom::Field::get_sql_type" ref="a90925cd40a7309423b5f7df9c2b7b5b1" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Glom::Field::get_sql_type </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a52e67b6848bea20dea02f434bf5f833f"></a><!-- doxytag: member="Glom::Field::get_type_for_ui_name" ref="a52e67b6848bea20dea02f434bf5f833f" args="(const Glib::ustring &glom_type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> Glom::Field::get_type_for_ui_name </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>glom_type</em></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get the type from a translated name. </p> </div> </div> <a class="anchor" id="aa9247323b6a478eb3f5071137d11dbf8"></a><!-- doxytag: member="Glom::Field::get_type_name_ui" ref="aa9247323b6a478eb3f5071137d11dbf8" args="(glom_field_type glom_type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Glom::Field::get_type_name_ui </td> <td>(</td> <td class="paramtype"><a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> </td> <td class="paramname"> <em>glom_type</em></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get the translated name for a glom type. </p> </div> </div> <a class="anchor" id="a2a9fbdc2129b709682441bcac77e5415"></a><!-- doxytag: member="Glom::Field::get_type_names" ref="a2a9fbdc2129b709682441bcac77e5415" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00564.html">type_map_type_names</a> Glom::Field::get_type_names </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get canonical type names for internal use, such as in the XML of the document. </p> </div> </div> <a class="anchor" id="ac0aad53771b673e864ca2e5eb267ebc2"></a><!-- doxytag: member="Glom::Field::get_type_names_ui" ref="ac0aad53771b673e864ca2e5eb267ebc2" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00564.html">type_map_type_names</a> Glom::Field::get_type_names_ui </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get translated type names. </p> </div> </div> <a class="anchor" id="a7ec1971af5993f1ef6cddd8091486d41"></a><!-- doxytag: member="Glom::Field::get_unique_key" ref="a7ec1971af5993f1ef6cddd8091486d41" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Glom::Field::get_unique_key </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>This forwards to the Glib::RefPtr<Gnome::Gda::Column>::get_unique_key. </p> </div> </div> <a class="anchor" id="a75f3add1adbf94e6284332677c836181"></a><!-- doxytag: member="Glom::Field::get_usable_type_names" ref="a75f3add1adbf94e6284332677c836181" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00564.html">type_map_type_names</a> Glom::Field::get_usable_type_names </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get translated type names of types that should be offered to the user. </p> </div> </div> <a class="anchor" id="a428a1225bd43e4d2f7050564739e0765"></a><!-- doxytag: member="Glom::Field::get_visible" ref="a428a1225bd43e4d2f7050564739e0765" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Glom::Field::get_visible </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ae656efcd871323cbdc33f19f91c83397"></a><!-- doxytag: member="Glom::Field::operator!=" ref="ae656efcd871323cbdc33f19f91c83397" args="(const Field &src) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01154.html#gac4373547895ec9df9035719b38a2621a">Glom::Field::operator!</a>= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlom_1_1Field.html">Field</a>& </td> <td class="paramname"> <em>src</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented from <a class="el" href="classGlom_1_1TranslatableItem.html#a1c80c03608eedd719b36f9e917d92bbe">Glom::TranslatableItem</a>.</p> </div> </div> <a class="anchor" id="ae7b077ead4a13ea12632f2c124b8e389"></a><!-- doxytag: member="Glom::Field::operator=" ref="ae7b077ead4a13ea12632f2c124b8e389" args="(const Field &src)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlom_1_1Field.html">Field</a>& Glom::Field::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlom_1_1Field.html">Field</a>& </td> <td class="paramname"> <em>src</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented from <a class="el" href="classGlom_1_1TranslatableItem.html#afdbcbf1375c65a72fde249add210f109">Glom::TranslatableItem</a>.</p> </div> </div> <a class="anchor" id="a0404d92688dcc5ab74f9455b27d73f5e"></a><!-- doxytag: member="Glom::Field::operator==" ref="a0404d92688dcc5ab74f9455b27d73f5e" args="(const Field &src) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Glom::Field::operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlom_1_1Field.html">Field</a>& </td> <td class="paramname"> <em>src</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented from <a class="el" href="classGlom_1_1TranslatableItem.html#ae33a145dda75b7322e7a5f2a5635f8d8">Glom::TranslatableItem</a>.</p> </div> </div> <a class="anchor" id="a85f425795b1e92440fac67a0252f1995"></a><!-- doxytag: member="Glom::Field::set_auto_increment" ref="a85f425795b1e92440fac67a0252f1995" args="(bool val=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Glom::Field::set_auto_increment </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>val</em> = <code>true</code></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>This forwards to the Glib::RefPtr<Gnome::Gda::Column>::set_auto_increment. </p> </div> </div> <a class="anchor" id="a941efb1d13243d663adfeff41a7f3888"></a><!-- doxytag: member="Glom::Field::set_calculation" ref="a941efb1d13243d663adfeff41a7f3888" args="(const Glib::ustring &calculation)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Glom::Field::set_calculation </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>calculation</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ab47c1ab9feeb66914091319fb42bcfeb"></a><!-- doxytag: member="Glom::Field::set_default_value" ref="ab47c1ab9feeb66914091319fb42bcfeb" args="(const Gnome::Gda::Value &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Glom::Field::set_default_value </td> <td>(</td> <td class="paramtype">const Gnome::Gda::Value & </td> <td class="paramname"> <em>value</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>This forwards to the Glib::RefPtr<Gnome::Gda::Column>::set_default_value. </p> </div> </div> <a class="anchor" id="a0225380341f4687252524cfa181d537b"></a><!-- doxytag: member="Glom::Field::set_field_info" ref="a0225380341f4687252524cfa181d537b" args="(const Glib::RefPtr< Gnome::Gda::Column > &fieldInfo)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Glom::Field::set_field_info </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< Gnome::Gda::Column > & </td> <td class="paramname"> <em>fieldInfo</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a3406391c25e522224ea2ad8027bea3aa"></a><!-- doxytag: member="Glom::Field::set_glom_type" ref="a3406391c25e522224ea2ad8027bea3aa" args="(glom_field_type fieldtype)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Glom::Field::set_glom_type </td> <td>(</td> <td class="paramtype"><a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> </td> <td class="paramname"> <em>fieldtype</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a8950d7de8111a4222c5ab73d131d4ce3"></a><!-- doxytag: member="Glom::Field::set_lookup_field" ref="a8950d7de8111a4222c5ab73d131d4ce3" args="(const Glib::ustring &strField)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Glom::Field::set_lookup_field </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>strField</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a06e99b24090775e710146f1609078d3f"></a><!-- doxytag: member="Glom::Field::set_lookup_relationship" ref="a06e99b24090775e710146f1609078d3f" args="(const sharedptr< Relationship > &strRelationship)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Glom::Field::set_lookup_relationship </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlom_1_1sharedptr.html">sharedptr</a>< <a class="el" href="classGlom_1_1Relationship.html">Relationship</a> >& </td> <td class="paramname"> <em>strRelationship</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a17d91155b336c922354c48843924b9df"></a><!-- doxytag: member="Glom::Field::set_name" ref="a17d91155b336c922354c48843924b9df" args="(const Glib::ustring &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void Glom::Field::set_name </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>value</em></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This forwards to the Glib::RefPtr<Gnome::Gda::Column>::set_name, for convenience. </p> <p>Reimplemented from <a class="el" href="classGlom_1_1TranslatableItem.html#a1d92c4d6473471e3a31ccfd2608f8302">Glom::TranslatableItem</a>.</p> </div> </div> <a class="anchor" id="a512e83cec34d698e69e86d7698b5b79a"></a><!-- doxytag: member="Glom::Field::set_primary_key" ref="a512e83cec34d698e69e86d7698b5b79a" args="(bool val=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Glom::Field::set_primary_key </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>val</em> = <code>true</code></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>This forwards to the Glib::RefPtr<Gnome::Gda::Column>::set_primary_key. </p> </div> </div> <a class="anchor" id="a30976018811becd64286979eb5d7d9fb"></a><!-- doxytag: member="Glom::Field::set_unique_key" ref="a30976018811becd64286979eb5d7d9fb" args="(bool val=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Glom::Field::set_unique_key </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>val</em> = <code>true</code></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>This forwards to the Glib::RefPtr<Gnome::Gda::Column>::set_unique_key. </p> </div> </div> <a class="anchor" id="aa6d99f2ec74aaa32bdf47cddae28f4cc"></a><!-- doxytag: member="Glom::Field::set_visible" ref="aa6d99f2ec74aaa32bdf47cddae28f4cc" args="(bool val=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Glom::Field::set_visible </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>val</em> = <code>true</code></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a7eba101ea773462b56919ce084ba4749"></a><!-- doxytag: member="Glom::Field::sql" ref="a7eba101ea773462b56919ce084ba4749" args="(const Gnome::Gda::Value &value) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Glom::Field::sql </td> <td>(</td> <td class="paramtype">const Gnome::Gda::Value & </td> <td class="paramname"> <em>value</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Escape and quote the value so that it can be used in a SQL command. </p> <p>Uses the sql_format of the current connectionpool backend. </p> </div> </div> <a class="anchor" id="a1f08a2e6f26f7adea81fc5ff846cf664"></a><!-- doxytag: member="Glom::Field::sql" ref="a1f08a2e6f26f7adea81fc5ff846cf664" args="(const Gnome::Gda::Value &value, const Glib::RefPtr< Gnome::Gda::Connection > &connection) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Glom::Field::sql </td> <td>(</td> <td class="paramtype">const Gnome::Gda::Value & </td> <td class="paramname"> <em>value</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< Gnome::Gda::Connection > & </td> <td class="paramname"> <em>connection</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Escape and quote the value so that it can be used in a SQL command. </p> </div> </div> <a class="anchor" id="a7f6af900d048b288d806d694b982fcec"></a><!-- doxytag: member="Glom::Field::sql_find" ref="a7f6af900d048b288d806d694b982fcec" args="(const Gnome::Gda::Value &value) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Glom::Field::sql_find </td> <td>(</td> <td class="paramtype">const Gnome::Gda::Value & </td> <td class="paramname"> <em>value</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Escape the value so that it can be used in a SQL command for a find. </p> </div> </div> <a class="anchor" id="a1803d6eb7c143bf94e1a62eca1bb597e"></a><!-- doxytag: member="Glom::Field::sql_find_operator" ref="a1803d6eb7c143bf94e1a62eca1bb597e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Glom::Field::sql_find_operator </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Get a suitable operator to use when finding records. </p> <p>For instance, == for numbers, or LIKE for text. </p> </div> </div> <a class="anchor" id="ae44179e45b5b63d125c6a5f409a0c814"></a><!-- doxytag: member="Glom::Field::to_file_format" ref="ae44179e45b5b63d125c6a5f409a0c814" args="(const Gnome::Gda::Value &value, glom_field_type glom_type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Glom::Field::to_file_format </td> <td>(</td> <td class="paramtype">const Gnome::Gda::Value & </td> <td class="paramname"> <em>value</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classGlom_1_1Field.html#add1ab8498c593222460a6ed3b100b12c">glom_field_type</a> </td> <td class="paramname"> <em>glom_type</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="aac63bd78c81d3d818e5dba334fbd46bd"></a><!-- doxytag: member="Glom::Field::to_file_format" ref="aac63bd78c81d3d818e5dba334fbd46bd" args="(const Gnome::Gda::Value &value) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Glom::Field::to_file_format </td> <td>(</td> <td class="paramtype">const Gnome::Gda::Value & </td> <td class="paramname"> <em>value</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Get the canonical format for a file, for instance for a default value or for example data. </p> <p>This does not add quotes for text fields so the caller may need to do that. Note that this does not do any extra escaping such as an XML file might need. </p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a86858b09350d0a64e5c8f8a68e130750"></a><!-- doxytag: member="Glom::Field::m_default_formatting" ref="a86858b09350d0a64e5c8f8a68e130750" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlom_1_1FieldFormatting.html">FieldFormatting</a> <a class="el" href="classGlom_1_1Field.html#a86858b09350d0a64e5c8f8a68e130750">Glom::Field::m_default_formatting</a></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/field.h</li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Wed May 26 01:04:02 2010 for libglom-1.14 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>