<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>NeL: NLGEORGES::CType class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex">  <form class="search" action="search.php" method="get">
<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a>  | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
<h1>NLGEORGES::CType Class Reference</h1><code>#include &lt;<a class="el" href="a06587.html">type.h</a>&gt;</code>
<p>
<p>Inheritance diagram for NLGEORGES::CType:
<p><center><img src="a03622.png" usemap="#NLGEORGES::CType_map" border="0" alt=""></center>
<map name="NLGEORGES::CType_map">
<area href="a03623.html" alt="NLGEORGES::UType" shape="rect" coords="0,56,131,80">
<area href="a02209.html" alt="NLMISC::CRefCount" shape="rect" coords="0,0,131,24">
</map>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This class is a basic type used by atomic form element. 
<p>

<p>
Definition at line <a class="el" href="a06587.html#l00042">42</a> of file <a class="el" href="a06587.html">type.h</a>.<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03623.html#NLGEORGES_1_1UTypew4">TType</a> { <br>
&nbsp;&nbsp;<a class="el" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew6">UnsignedInt</a> = 0, 
<a class="el" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew2">SignedInt</a>, 
<a class="el" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew1">Double</a>, 
<a class="el" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew3">String</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew0">Color</a>, 
<a class="el" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew5">TypeCount</a>
<br>
 }</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypew11">TUI</a> { <br>
&nbsp;&nbsp;<a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew4">Edit</a>, 
<a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew5">EditSpin</a>, 
<a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew7">NonEditableCombo</a>, 
<a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew6">FileBrowser</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew0">BigEdit</a>, 
<a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew2">ColorEdit</a>, 
<a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew13">UITypeCount</a>
<br>
 }</td></tr>

<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypea0">CType</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const std::string &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypea1">getComment</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const std::string &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypea2">getDefault</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypea3">getDefinition</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a566">index</a>, std::string &amp;label, std::string &amp;<a class="el" href="a04223.html#a658">value</a>) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypea4">getDependencies</a> (std::set&lt; std::string &gt; &amp;dependencies) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const std::string &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypea5">getIncrement</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const std::string &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypea6">getMax</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const std::string &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypea7">getMin</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypea8">getNumDefinition</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a14">sint</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypea8">getRefCount</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03623.html#NLGEORGES_1_1UTypew4">TType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypea10">getType</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypea11">getValue</a> (std::string &amp;result, const class <a class="el" href="a02544.html">CForm</a> *form, const class <a class="el" href="a02554.html">CFormElmAtom</a> *node, const class <a class="el" href="a02546.html">CFormDfn</a> &amp;parentDfn, <a class="el" href="a04558.html#a15">uint</a> parentIndex, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">UFormElm::TEval</a> evaluate, <a class="el" href="a04558.html#a11">uint32</a> *where, <a class="el" href="a04558.html#a11">uint32</a> round, const char *formName) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypea12">write</a> (xmlDocPtr doc, bool georges4CVS) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypea13">~CType</a> ()</td></tr>

<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypee0">getTypeName</a> (<a class="el" href="a03623.html#NLGEORGES_1_1UTypew4">UType::TType</a> <a class="el" href="a04223.html#a581">type</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>const char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypee1">getUIName</a> (<a class="el" href="a03622.html#NLGEORGES_1_1CTypew11">TUI</a> <a class="el" href="a04223.html#a581">type</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypee2">uiCompatible</a> (<a class="el" href="a03623.html#NLGEORGES_1_1UTypew4">TType</a> <a class="el" href="a04223.html#a581">type</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypew11">TUI</a> ui)</td></tr>

<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypeo1">Default</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a03624.html">CDefinition</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypeo2">Definitions</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02528.html">CFileHeader</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypeo3">Header</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypeo4">Increment</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypeo5">Max</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypeo6">Min</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">pinfo</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03623.html#NLGEORGES_1_1UTypew4">UType::TType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypeo8">Type</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03622.html#NLGEORGES_1_1CTypew11">TUI</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypeo9">UIType</a></td></tr>

<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NullPtrInfo</a></td></tr>

<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTyped0">read</a> (xmlNodePtr root)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTyped1">warning</a> (bool exception, const char *formName, const char *formFilename, const char *function, const char *<a class="el" href="a04223.html#a641">format</a>,...) const </td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTyped2">warning2</a> (bool exception, const char *function, const char *<a class="el" href="a04223.html#a641">format</a>,...) const </td></tr>

<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypev0">TypeNames</a> []</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>const char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypev1">UITypeNames</a> []</td></tr>

<tr><td colspan=2><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>class&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03622.html#NLGEORGES_1_1CTypen0">CFormLoader</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>struct&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypen0">CPtrInfo</a></td></tr>

</table>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="NLGEORGES_1_1UTypew4" doxytag="NLGEORGES::CType::TType" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> enum <a class="el" href="a03623.html#NLGEORGES_1_1UTypew4">NLGEORGES::UType::TType</a><code> [inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew6" doxytag="UnsignedInt" ></a>UnsignedInt</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew2" doxytag="SignedInt" ></a>SignedInt</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew1" doxytag="Double" ></a>Double</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew3" doxytag="String" ></a>String</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew0" doxytag="Color" ></a>Color</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew5" doxytag="TypeCount" ></a>TypeCount</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="a06636.html#l00049">49</a> of file <a class="el" href="a06636.html">u_type.h</a>.
<p>
<div class="fragment"><pre>00050         {
00051                 <a class="code" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew6">UnsignedInt</a>=0,
00052                 <a class="code" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew2">SignedInt</a>,
00053                 <a class="code" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew1">Double</a>,
00054                 <a class="code" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew3">String</a>,
00055                 <a class="code" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew0">Color</a>,
00056                 <a class="code" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew5">TypeCount</a>
00057         };
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypew11" doxytag="NLGEORGES::CType::TUI" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> enum <a class="el" href="a03622.html#NLGEORGES_1_1CTypew11">NLGEORGES::CType::TUI</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew4" doxytag="Edit" ></a>Edit</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew5" doxytag="EditSpin" ></a>EditSpin</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew7" doxytag="NonEditableCombo" ></a>NonEditableCombo</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew6" doxytag="FileBrowser" ></a>FileBrowser</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew0" doxytag="BigEdit" ></a>BigEdit</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew2" doxytag="ColorEdit" ></a>ColorEdit</em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew13" doxytag="UITypeCount" ></a>UITypeCount</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="a06587.html#l00051">51</a> of file <a class="el" href="a06587.html">type.h</a>.
<p>
Referenced by <a class="el" href="a06586.html#l00116">read()</a>.
<p>
<div class="fragment"><pre>00052         {
00053                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew4">Edit</a>,                           <span class="comment">// Default, for all types</span>
00054                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew5">EditSpin</a>,                       <span class="comment">// For number types</span>
00055                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew7">NonEditableCombo</a>,       <span class="comment">// For all types</span>
00056                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew6">FileBrowser</a>,            <span class="comment">// Browse file</span>
00057                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew0">BigEdit</a>,                        <span class="comment">// Edit a huge text</span>
00058                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew2">ColorEdit</a>,                      <span class="comment">// Edit a color</span>
00059                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew13">UITypeCount</a>
00060         };
</pre></div>    </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="NLGEORGES_1_1CTypea0" doxytag="NLGEORGES::CType::CType" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> NLGEORGES::CType::CType </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06586.html#l00052">52</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
References <a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew4">Edit</a>, and <a class="el" href="a06587.html#l00075">UIType</a>.
<p>
<div class="fragment"><pre>00053 {
00054         <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo8">Type</a> = <a class="code" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew6">UnsignedInt</a>;
00055         <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo9">UIType</a> = <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew4">Edit</a>;
00056 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypea13" doxytag="NLGEORGES::CType::~CType" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> NLGEORGES::CType::~<a class="el" href="a03622.html">CType</a> </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06586.html#l00060">60</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
<div class="fragment"><pre>00061 {
00062   <span class="comment">//    int toto = 0;</span>
00063 }
</pre></div>    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="NLGEORGES_1_1CTypea1" doxytag="NLGEORGES::CType::getComment" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const string &amp; NLGEORGES::CType::getComment </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get theh comments of type.
<p>
Implements <a class="el" href="a03623.html#NLGEORGES_1_1UTypea0">NLGEORGES::UType</a>.
<p>
Definition at line <a class="el" href="a06586.html#l00908">908</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
References <a class="el" href="a05774.html#l00067">NLGEORGES::CFileHeader::Comments</a>.
<p>
<div class="fragment"><pre>00909 {
00910         <span class="keywordflow">return</span> <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo3">Header</a>.Comments;
00911 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypea2" doxytag="NLGEORGES::CType::getDefault" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const string &amp; NLGEORGES::CType::getDefault </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the default value of this type.
<p>
Implements <a class="el" href="a03623.html#NLGEORGES_1_1UTypea1">NLGEORGES::UType</a>.
<p>
Definition at line <a class="el" href="a06586.html#l00859">859</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
<div class="fragment"><pre>00860 {
00861         <span class="keywordflow">return</span> <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo1">Default</a>;
00862 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypea3" doxytag="NLGEORGES::CType::getDefinition" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool NLGEORGES::CType::getDefinition </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>index</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>std::string &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>label</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>std::string &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>value</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get a definition for this type.<p>
index is the index of the defnition you want to get. If the method returns true, label will be filled with the definition label and value will be filled with the defnition value. The method returns false if the index is invalid. In this case, label and value are not changed.
<p>
Implements <a class="el" href="a03623.html#NLGEORGES_1_1UTypea2">NLGEORGES::UType</a>.
<p>
Definition at line <a class="el" href="a06586.html#l00894">894</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
References <a class="el" href="a06587.html#l00105">Definitions</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05646.html#l01132">value</a>, and <a class="el" href="a06586.html#l00837">warning2()</a>.
<p>
<div class="fragment"><pre>00895 {
00896         <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> &lt; <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo2">Definitions</a>.size ())
00897         {
00898                 label = <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo2">Definitions</a>[<a class="code" href="a04223.html#a566">index</a>].Label;
00899                 <a class="code" href="a04223.html#a658">value</a> = Definitions[<a class="code" href="a04223.html#a566">index</a>].Value;
00900                 <span class="keywordflow">return</span> <span class="keyword">true</span>;
00901         }
00902         <a class="code" href="a03622.html#NLGEORGES_1_1CTyped2">warning2</a> (<span class="keyword">false</span>, <span class="stringliteral">"getDefinition"</span>, <span class="stringliteral">"Index out of bounds (%d &gt;= %d)"</span>, index, <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo2">Definitions</a>.size ());
00903         <span class="keywordflow">return</span> <span class="keyword">false</span>;
00904 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypea4" doxytag="NLGEORGES::CType::getDependencies" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void NLGEORGES::CType::getDependencies </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">std::set&lt; std::string &gt; &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>dependencies</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get dependency files
<p>
Implements <a class="el" href="a03623.html#NLGEORGES_1_1UTypea3">NLGEORGES::UType</a>.
<p>
Definition at line <a class="el" href="a06586.html#l00915">915</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
Referenced by <a class="el" href="a05728.html#l02771">NLGEORGES::CFormElmArray::getDependencies()</a>.
<p>
<div class="fragment"><pre>00916 {
00917         
00918 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypea5" doxytag="NLGEORGES::CType::getIncrement" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const string &amp; NLGEORGES::CType::getIncrement </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the increment value of this type.
<p>
Implements <a class="el" href="a03623.html#NLGEORGES_1_1UTypea4">NLGEORGES::UType</a>.
<p>
Definition at line <a class="el" href="a06586.html#l00880">880</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
References <a class="el" href="a06587.html#l00087">Increment</a>.
<p>
<div class="fragment"><pre>00881 {
00882         <span class="keywordflow">return</span> <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo4">Increment</a>;
00883 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypea6" doxytag="NLGEORGES::CType::getMax" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const string &amp; NLGEORGES::CType::getMax </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the max value of this type.
<p>
Implements <a class="el" href="a03623.html#NLGEORGES_1_1UTypea5">NLGEORGES::UType</a>.
<p>
Definition at line <a class="el" href="a06586.html#l00873">873</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
References <a class="el" href="a06587.html#l00084">Max</a>.
<p>
<div class="fragment"><pre>00874 {
00875         <span class="keywordflow">return</span> <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo5">Max</a>;
00876 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypea7" doxytag="NLGEORGES::CType::getMin" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const string &amp; NLGEORGES::CType::getMin </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the min value of this type.
<p>
Implements <a class="el" href="a03623.html#NLGEORGES_1_1UTypea6">NLGEORGES::UType</a>.
<p>
Definition at line <a class="el" href="a06586.html#l00866">866</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
References <a class="el" href="a06587.html#l00081">Min</a>.
<p>
<div class="fragment"><pre>00867 {
00868         <span class="keywordflow">return</span> <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo6">Min</a>;
00869 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypea8" doxytag="NLGEORGES::CType::getNumDefinition" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> NLGEORGES::CType::getNumDefinition </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the definition count for this type.
<p>
Implements <a class="el" href="a03623.html#NLGEORGES_1_1UTypea7">NLGEORGES::UType</a>.
<p>
Definition at line <a class="el" href="a06586.html#l00887">887</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
References <a class="el" href="a06587.html#l00105">Definitions</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
<div class="fragment"><pre>00888 {
00889         <span class="keywordflow">return</span> <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo2">Definitions</a>.size ();
00890 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1UTypea8" doxytag="NLGEORGES::CType::getRefCount" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="el" href="a04558.html#a14">sint</a>&amp; NLMISC::CRefCount::getRefCount </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline, inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06402.html#l00070">70</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
<p>
References <a class="el" href="a06402.html#l00079">NLMISC::CRefCount::crefs</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
<p>
<div class="fragment"><pre>00071         {
00072                 <span class="keywordflow">return</span>  <a class="code" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a>;
00073         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypea10" doxytag="NLGEORGES::CType::getType" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="a03623.html#NLGEORGES_1_1UTypew4">UType::TType</a> NLGEORGES::CType::getType </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the type of this type.
<p>
Implements <a class="el" href="a03623.html#NLGEORGES_1_1UTypea9">NLGEORGES::UType</a>.
<p>
Definition at line <a class="el" href="a06586.html#l00852">852</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
<div class="fragment"><pre>00853 {
00854         <span class="keywordflow">return</span> <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo8">Type</a>;
00855 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypee0" doxytag="NLGEORGES::CType::getTypeName" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const char* NLGEORGES::CType::getTypeName </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a03623.html#NLGEORGES_1_1UTypew4">UType::TType</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>type</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypee1" doxytag="NLGEORGES::CType::getUIName" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const char * NLGEORGES::CType::getUIName </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a03622.html#NLGEORGES_1_1CTypew11">TUI</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>type</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06586.html#l00324">324</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
References <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a06586.html#l00305">UITypeNames</a>.
<p>
<div class="fragment"><pre>00325 {
00326         <span class="keywordflow">return</span> <a class="code" href="a03622.html#NLGEORGES_1_1CTypev1">UITypeNames</a>[<a class="code" href="a04223.html#a581">type</a>];
00327 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypea11" doxytag="NLGEORGES::CType::getValue" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool NLGEORGES::CType::getValue </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">std::string &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>result</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const class <a class="el" href="a02544.html">CForm</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>form</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const class <a class="el" href="a02554.html">CFormElmAtom</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>node</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const class <a class="el" href="a02546.html">CFormDfn</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>parentDfn</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>parentIndex</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">UFormElm::TEval</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>evaluate</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>where</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>round</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>formName</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Referenced by <a class="el" href="a06586.html#l00339">NLGEORGES::CMyEvalNumExpr::evalValue()</a>, <a class="el" href="a05728.html#l02345">NLGEORGES::CFormElmArray::getArrayValue()</a>, <a class="el" href="a05728.html#l02816">NLGEORGES::CFormElmAtom::getValue()</a>, and <a class="el" href="a05728.html#l00406">NLGEORGES::CFormElm::getValueByName()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTyped0" doxytag="NLGEORGES::CType::read" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void NLGEORGES::CType::read </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">xmlNodePtr&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>root</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [private]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06586.html#l00116">116</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
References <a class="el" href="a06587.html#l00105">Definitions</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew4">Edit</a>, <a class="el" href="a06587.html#l00087">Increment</a>, <a class="el" href="a06587.html#l00084">Max</a>, <a class="el" href="a06587.html#l00081">Min</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05773.html#l00121">NLGEORGES::CFileHeader::read()</a>, <a class="el" href="a06587.html#l00051">TUI</a>, <a class="el" href="a05646.html#l00244">type</a>, <a class="el" href="a06586.html#l00294">TypeNames</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a06587.html#l00075">UIType</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew13">UITypeCount</a>, <a class="el" href="a06586.html#l00305">UITypeNames</a>, <a class="el" href="a05646.html#l01132">value</a>, and <a class="el" href="a06586.html#l00837">warning2()</a>.
<p>
<div class="fragment"><pre>00117 {
00118         <span class="comment">// Check node name</span>
00119         <span class="keywordflow">if</span> ( ((<span class="keyword">const</span> <span class="keywordtype">char</span>*)root-&gt;name == NULL) || (strcmp ((<span class="keyword">const</span> <span class="keywordtype">char</span>*)root-&gt;name, <span class="stringliteral">"TYPE"</span>) != 0) )
00120         {
00121                 <span class="comment">// Throw exception</span>
00122                 <a class="code" href="a03622.html#NLGEORGES_1_1CTyped2">warning2</a> (<span class="keyword">true</span>, <span class="stringliteral">"read"</span>, <span class="stringliteral">"XML Syntax error in block line %d, node (%s) should be TYPE."</span>,
00123                         (<span class="keywordtype">int</span>)root-&gt;content, root-&gt;name);
00124         }
00125 
00126         <span class="comment">// Read the type</span>
00127         <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a04223.html#a658">value</a> = (<span class="keyword">const</span> <span class="keywordtype">char</span>*)xmlGetProp (root, (xmlChar*)<span class="stringliteral">"Type"</span>);
00128         <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a658">value</a>)
00129         {
00130                 <span class="comment">// Lookup type</span>
00131                 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a581">type</a>;
00132                 <span class="keywordflow">for</span> (<a class="code" href="a04223.html#a581">type</a>=0; <a class="code" href="a04223.html#a581">type</a>&lt;<a class="code" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew5">TypeCount</a>; <a class="code" href="a04223.html#a581">type</a>++)
00133                 {
00134                         <span class="keywordflow">if</span> (strcmp (value, TypeNames[type]) == 0)
00135                                 <span class="keywordflow">break</span>;
00136                 }
00137 
00138                 <span class="comment">// Type found ?</span>
00139                 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a>!=TypeCount)
00140                         <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo8">Type</a> = (<a class="code" href="a03623.html#NLGEORGES_1_1UTypew4">TType</a>)<a class="code" href="a04223.html#a581">type</a>;
00141                 <span class="keywordflow">else</span>
00142                 {
00143                         <span class="comment">// Make an error message</span>
00144                         string valueStr = <a class="code" href="a04223.html#a658">value</a>;
00145 
00146                         <span class="comment">// Delete the value</span>
00147                         xmlFree ((<span class="keywordtype">void</span>*)value);
00148 
00149                         <span class="comment">// Throw exception</span>
00150                         <a class="code" href="a03622.html#NLGEORGES_1_1CTyped2">warning2</a> (<span class="keyword">true</span>, <span class="stringliteral">"read"</span>, <span class="stringliteral">"XML Syntax error in TYPE block line %d, the Type value is unknown (%s)."</span>, 
00151                                 (<span class="keywordtype">int</span>)root-&gt;content, valueStr.c_str ());
00152                 }
00153 
00154                 <span class="comment">// Delete the value</span>
00155                 xmlFree ((<span class="keywordtype">void</span>*)value);
00156         }
00157         <span class="keywordflow">else</span>
00158         {
00159                 <span class="comment">// Throw exception</span>
00160                 <a class="code" href="a03622.html#NLGEORGES_1_1CTyped2">warning2</a> (<span class="keyword">true</span>, <span class="stringliteral">"read"</span>, <span class="stringliteral">"XML Syntax error in TYPE block line %d, the Type argument was not found."</span>, 
00161                         (<span class="keywordtype">int</span>)root-&gt;content);
00162         }
00163 
00164         <span class="comment">// Read the UI</span>
00165         <a class="code" href="a04223.html#a658">value</a> = (<span class="keyword">const</span> <span class="keywordtype">char</span>*)xmlGetProp (root, (xmlChar*)<span class="stringliteral">"UI"</span>);
00166         <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a658">value</a>)
00167         {
00168                 <span class="comment">// Lookup type</span>
00169                 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a581">type</a>;
00170                 <span class="keywordflow">for</span> (<a class="code" href="a04223.html#a581">type</a>=0; <a class="code" href="a04223.html#a581">type</a>&lt;<a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew13">UITypeCount</a>; <a class="code" href="a04223.html#a581">type</a>++)
00171                 {
00172                         <span class="keywordflow">if</span> (strcmp (value, UITypeNames[type]) == 0)
00173                                 <span class="keywordflow">break</span>;
00174                 }
00175 
00176                 <span class="comment">// Type found ?</span>
00177                 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a>!=UITypeCount)
00178                         <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo9">UIType</a> = (<a class="code" href="a03622.html#NLGEORGES_1_1CTypew11">TUI</a>)<a class="code" href="a04223.html#a581">type</a>;
00179                 <span class="keywordflow">else</span>
00180                         <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo9">UIType</a> = <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew4">Edit</a>;
00181 
00182                 <span class="comment">// Delete the value</span>
00183                 xmlFree ((<span class="keywordtype">void</span>*)value);
00184         }
00185         <span class="keywordflow">else</span>
00186                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo9">UIType</a> = Edit;
00187 
00188         <span class="comment">// Read Default</span>
00189         <a class="code" href="a04223.html#a658">value</a> = (<span class="keyword">const</span> <span class="keywordtype">char</span>*)xmlGetProp (root, (xmlChar*)<span class="stringliteral">"Default"</span>);
00190         <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a658">value</a>)
00191         {
00192                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo1">Default</a> = <a class="code" href="a04223.html#a658">value</a>;
00193 
00194                 <span class="comment">// Delete the value</span>
00195                 xmlFree ((<span class="keywordtype">void</span>*)value);
00196         }
00197         <span class="keywordflow">else</span>
00198                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo1">Default</a> = <span class="stringliteral">""</span>;
00199 
00200         <span class="comment">// Read Min</span>
00201         <a class="code" href="a04223.html#a658">value</a> = (<span class="keyword">const</span> <span class="keywordtype">char</span>*)xmlGetProp (root, (xmlChar*)<span class="stringliteral">"Min"</span>);
00202         <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a658">value</a>)
00203         {
00204                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo6">Min</a> = <a class="code" href="a04223.html#a658">value</a>;
00205 
00206                 <span class="comment">// Delete the value</span>
00207                 xmlFree ((<span class="keywordtype">void</span>*)value);
00208         }
00209         <span class="keywordflow">else</span>
00210                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo6">Min</a> = <span class="stringliteral">""</span>;
00211 
00212         <span class="comment">// Read Max</span>
00213         <a class="code" href="a04223.html#a658">value</a> = (<span class="keyword">const</span> <span class="keywordtype">char</span>*)xmlGetProp (root, (xmlChar*)<span class="stringliteral">"Max"</span>);
00214         <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a658">value</a>)
00215         {
00216                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo5">Max</a> = <a class="code" href="a04223.html#a658">value</a>;
00217 
00218                 <span class="comment">// Delete the value</span>
00219                 xmlFree ((<span class="keywordtype">void</span>*)value);
00220         }
00221         <span class="keywordflow">else</span>
00222                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo5">Max</a> = <span class="stringliteral">""</span>;
00223 
00224         <span class="comment">// Read Increment</span>
00225         <a class="code" href="a04223.html#a658">value</a> = (<span class="keyword">const</span> <span class="keywordtype">char</span>*)xmlGetProp (root, (xmlChar*)<span class="stringliteral">"Increment"</span>);
00226         <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a658">value</a>)
00227         {
00228                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo4">Increment</a> = <a class="code" href="a04223.html#a658">value</a>;
00229 
00230                 <span class="comment">// Delete the value</span>
00231                 xmlFree ((<span class="keywordtype">void</span>*)value);
00232         }
00233         <span class="keywordflow">else</span>
00234                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo4">Increment</a> = <span class="stringliteral">""</span>;
00235 
00236         <span class="comment">// Read the definitions</span>
00237         <a class="code" href="a04558.html#a15">uint</a> childrenCount = CIXml::countChildren (root, <span class="stringliteral">"DEFINITION"</span>);
00238 
00239         <span class="comment">// Resize the array</span>
00240         <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo2">Definitions</a>.resize (childrenCount);
00241         <a class="code" href="a04558.html#a15">uint</a> child=0;
00242         xmlNodePtr childPtr = CIXml::getFirstChildNode (root, <span class="stringliteral">"DEFINITION"</span>);
00243         <span class="keywordflow">while</span> (child &lt; childrenCount)
00244         {
00245                 <span class="comment">// Should not be NULL</span>
00246                 <a class="code" href="a04199.html#a6">nlassert</a> (childPtr);
00247 
00248                 <span class="comment">// Read Default</span>
00249                 <span class="keyword">const</span> <span class="keywordtype">char</span> *label = (<span class="keyword">const</span> <span class="keywordtype">char</span>*)xmlGetProp (childPtr, (xmlChar*)<span class="stringliteral">"Label"</span>);
00250                 <span class="keywordflow">if</span> (label)
00251                 {
00252                         <span class="comment">// Read Default</span>
00253                         <a class="code" href="a04223.html#a658">value</a> = (<span class="keyword">const</span> <span class="keywordtype">char</span>*)xmlGetProp (childPtr, (xmlChar*)<span class="stringliteral">"Value"</span>);
00254                         <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a658">value</a>)
00255                         {
00256                                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo2">Definitions</a>[child].Label = label;
00257                                 <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo2">Definitions</a>[child].Value = <a class="code" href="a04223.html#a658">value</a>;
00258 
00259                                 <span class="comment">// Delete the value</span>
00260                                 xmlFree ((<span class="keywordtype">void</span>*)value);
00261                         }
00262                         <span class="keywordflow">else</span>
00263                         {
00264                                 <span class="comment">// Delete the value</span>
00265                                 xmlFree ((<span class="keywordtype">void</span>*)label);
00266 
00267                                 <span class="comment">// Throw exception</span>
00268                                 <a class="code" href="a03622.html#NLGEORGES_1_1CTyped2">warning2</a> (<span class="keyword">true</span>, <span class="stringliteral">"read"</span>, <span class="stringliteral">"XML Syntax error in DEFINITION block line %d, the Value argument was not found."</span>, 
00269                                         (<span class="keywordtype">int</span>)childPtr-&gt;content);
00270                         }                       
00271 
00272                         <span class="comment">// Delete the value</span>
00273                         xmlFree ((<span class="keywordtype">void</span>*)label);
00274                 }
00275                 <span class="keywordflow">else</span>
00276                 {
00277                         <span class="comment">// Throw exception</span>
00278                         <a class="code" href="a03622.html#NLGEORGES_1_1CTyped2">warning2</a> (<span class="keyword">true</span>, <span class="stringliteral">"read"</span>, <span class="stringliteral">"XML Syntax error in DEFINITION block line %d, the Label argument was not found."</span>, 
00279                                 (<span class="keywordtype">int</span>)childPtr-&gt;content);
00280                 }
00281 
00282                 <span class="comment">// One more</span>
00283                 child++;
00284 
00285                 childPtr = CIXml::getNextChildNode (childPtr, <span class="stringliteral">"DEFINITION"</span>);;
00286         }
00287 
00288         <span class="comment">// Read the header</span>
00289         <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo3">Header</a>.read (root);
00290 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypee2" doxytag="NLGEORGES::CType::uiCompatible" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool NLGEORGES::CType::uiCompatible </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a03623.html#NLGEORGES_1_1UTypew4">TType</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a03622.html#NLGEORGES_1_1CTypew11">TUI</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>ui</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06586.html#l00803">803</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
References <a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew0">BigEdit</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew2">ColorEdit</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew4">Edit</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew5">EditSpin</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew6">FileBrowser</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew7">NonEditableCombo</a>, and <a class="el" href="a05646.html#l00244">type</a>.
<p>
<div class="fragment"><pre>00804 {
00805         <span class="keywordflow">switch</span> (<a class="code" href="a04223.html#a581">type</a>)
00806         {
00807         <span class="keywordflow">case</span> <a class="code" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew6">UnsignedInt</a>:
00808         <span class="keywordflow">case</span> <a class="code" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew2">SignedInt</a>:
00809         <span class="keywordflow">case</span> <a class="code" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew1">Double</a>:
00810                 <span class="keywordflow">return</span> (ui == <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew4">Edit</a>) || (ui == <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew5">EditSpin</a>) || (ui == <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew7">NonEditableCombo</a>);
00811         <span class="keywordflow">case</span> <a class="code" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew3">String</a>:
00812                 <span class="keywordflow">return</span> (ui == <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew4">Edit</a>) || (ui == <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew7">NonEditableCombo</a>) || (ui == <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew6">FileBrowser</a>) || (ui == <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew0">BigEdit</a>);
00813         <span class="keywordflow">case</span> <a class="code" href="a03623.html#NLGEORGES_1_1UTypew4NLGEORGES_1_1UTypew0">Color</a>:
00814                 <span class="keywordflow">return</span> (ui == <a class="code" href="a03622.html#NLGEORGES_1_1CTypew11NLGEORGES_1_1CTypew2">ColorEdit</a>);
00815         <span class="keywordflow">default</span>: <span class="keywordflow">break</span>;
00816         }
00817         <span class="keywordflow">return</span> <span class="keyword">false</span>;
00818 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTyped1" doxytag="NLGEORGES::CType::warning" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void NLGEORGES::CType::warning </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname" nowrap> <em>exception</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>formName</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>formFilename</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>function</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>...&nbsp;</td>
          <td class="mdname" nowrap></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const<code> [private, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06586.html#l00822">822</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
References <a class="el" href="a05646.html#l00649">buffer</a>, <a class="el" href="a05646.html#l01016">format</a>, and <a class="el" href="a05724.html#l00045">NLGEORGES::warning()</a>.
<p>
<div class="fragment"><pre>00823 {
00824         <span class="comment">// Make a buffer string</span>
00825         va_list args;
00826         va_start( args, format );
00827         <span class="keywordtype">char</span> <a class="code" href="a04223.html#a589">buffer</a>[1024];
00828         vsnprintf( buffer, 1024, format, args );
00829         va_end( args );
00830 
00831         <span class="comment">// Set the warning</span>
00832         <a class="code" href="a05374.html#a0">NLGEORGES::warning</a> (exception, <span class="stringliteral">"(CType::%s) In form (%s) in node (%s) : %s"</span>, function, formFilename, formName, buffer);
00833 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTyped2" doxytag="NLGEORGES::CType::warning2" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void NLGEORGES::CType::warning2 </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname" nowrap> <em>exception</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>function</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>...&nbsp;</td>
          <td class="mdname" nowrap></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const<code> [private, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06586.html#l00837">837</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
References <a class="el" href="a05646.html#l00649">buffer</a>, <a class="el" href="a05646.html#l01016">format</a>, and <a class="el" href="a05724.html#l00045">NLGEORGES::warning()</a>.
<p>
Referenced by <a class="el" href="a06586.html#l00894">getDefinition()</a>, and <a class="el" href="a06586.html#l00116">read()</a>.
<p>
<div class="fragment"><pre>00838 {
00839         <span class="comment">// Make a buffer string</span>
00840         va_list args;
00841         va_start( args, format );
00842         <span class="keywordtype">char</span> <a class="code" href="a04223.html#a589">buffer</a>[1024];
00843         vsnprintf( buffer, 1024, format, args );
00844         va_end( args );
00845 
00846         <span class="comment">// Set the warning</span>
00847         <a class="code" href="a05374.html#a0">NLGEORGES::warning</a> (exception, <span class="stringliteral">"(CType::%s) : %s"</span>, function, buffer);
00848 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypea12" doxytag="NLGEORGES::CType::write" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void NLGEORGES::CType::write </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">xmlDocPtr&nbsp;</td>
          <td class="mdname" nowrap> <em>doc</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>georges4CVS</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06586.html#l00067">67</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
References <a class="el" href="a06587.html#l00105">Definitions</a>, <a class="el" href="a06587.html#l00087">Increment</a>, <a class="el" href="a06587.html#l00084">Max</a>, <a class="el" href="a06587.html#l00081">Min</a>, <a class="el" href="a06586.html#l00294">TypeNames</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a06587.html#l00075">UIType</a>, <a class="el" href="a06586.html#l00305">UITypeNames</a>, and <a class="el" href="a05773.html#l00055">NLGEORGES::CFileHeader::write()</a>.
<p>
<div class="fragment"><pre>00068 {
00069         <span class="comment">// Create the first node</span>
00070         xmlNodePtr node = xmlNewDocNode (doc, NULL, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"TYPE"</span>, NULL);
00071         xmlDocSetRootElement (doc, node);
00072 
00073         <span class="comment">// Type</span>
00074         xmlSetProp (node, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Type"</span>, (<span class="keyword">const</span> xmlChar*)TypeNames[Type]);
00075         xmlSetProp (node, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"UI"</span>, (<span class="keyword">const</span> xmlChar*)UITypeNames[UIType]);
00076 
00077         <span class="comment">// Default valid</span>
00078         <span class="keywordflow">if</span> (!<a class="code" href="a03622.html#NLGEORGES_1_1CTypeo1">Default</a>.empty())
00079         {
00080                 xmlSetProp (node, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Default"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a03622.html#NLGEORGES_1_1CTypeo1">Default</a>.c_str());
00081         }
00082 
00083         <span class="comment">// Min valid</span>
00084         <span class="keywordflow">if</span> (!<a class="code" href="a03622.html#NLGEORGES_1_1CTypeo6">Min</a>.empty())
00085         {
00086                 xmlSetProp (node, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Min"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a03622.html#NLGEORGES_1_1CTypeo6">Min</a>.c_str());
00087         }
00088 
00089         <span class="comment">// Max valid</span>
00090         <span class="keywordflow">if</span> (!<a class="code" href="a03622.html#NLGEORGES_1_1CTypeo5">Max</a>.empty())
00091         {
00092                 xmlSetProp (node, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Max"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a03622.html#NLGEORGES_1_1CTypeo5">Max</a>.c_str());
00093         }
00094 
00095         <span class="comment">// Increment valid</span>
00096         <span class="keywordflow">if</span> (!<a class="code" href="a03622.html#NLGEORGES_1_1CTypeo4">Increment</a>.empty())
00097         {
00098                 xmlSetProp (node, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Increment"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a03622.html#NLGEORGES_1_1CTypeo4">Increment</a>.c_str());
00099         }
00100 
00101         <span class="comment">// Definition </span>
00102         <a class="code" href="a04558.html#a15">uint</a> def = 0;
00103         <span class="keywordflow">for</span> (def = 0; def&lt;<a class="code" href="a03622.html#NLGEORGES_1_1CTypeo2">Definitions</a>.size(); def++)
00104         {
00105                 xmlNodePtr defNode = xmlNewChild ( node, NULL, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"DEFINITION"</span>, NULL);
00106                 xmlSetProp (defNode, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Label"</span>, (<span class="keyword">const</span> xmlChar*)Definitions[def].Label.c_str());
00107                 xmlSetProp (defNode, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Value"</span>, (<span class="keyword">const</span> xmlChar*)Definitions[def].Value.c_str());
00108         }
00109 
00110         <span class="comment">// Header</span>
00111         <a class="code" href="a03622.html#NLGEORGES_1_1CTypeo3">Header</a>.write (node, georges4CVS);
00112 }
</pre></div>    </td>
  </tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="NLGEORGES_1_1CTypen0" doxytag="NLGEORGES::CType::CFormLoader" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> friend class <a class="el" href="a02558.html">CFormLoader</a><code> [friend]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06587.html#l00044">44</a> of file <a class="el" href="a06587.html">type.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1UTypen0" doxytag="NLGEORGES::CType::CPtrInfo" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> friend struct CPtrInfo<code> [friend, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06402.html#l00067">67</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.    </td>
  </tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="NLGEORGES_1_1UTypeo0" doxytag="NLGEORGES::CType::crefs" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">NLMISC::CRefCount::crefs</a><code> [mutable, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06402.html#l00079">79</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
<p>
Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, <a class="el" href="a06402.html#l00070">NLMISC::CRefCount::getRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypeo1" doxytag="NLGEORGES::CType::Default" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> std::string <a class="el" href="a03622.html#NLGEORGES_1_1CTypeo1">NLGEORGES::CType::Default</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06587.html#l00078">78</a> of file <a class="el" href="a06587.html">type.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypeo2" doxytag="NLGEORGES::CType::Definitions" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> std::vector&lt;<a class="el" href="a03624.html">CDefinition</a>&gt; <a class="el" href="a03622.html#NLGEORGES_1_1CTypeo2">NLGEORGES::CType::Definitions</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06587.html#l00105">105</a> of file <a class="el" href="a06587.html">type.h</a>.
<p>
Referenced by <a class="el" href="a06586.html#l00339">NLGEORGES::CMyEvalNumExpr::evalValue()</a>, <a class="el" href="a06586.html#l00894">getDefinition()</a>, <a class="el" href="a06586.html#l00887">getNumDefinition()</a>, <a class="el" href="a06586.html#l00116">read()</a>, and <a class="el" href="a06586.html#l00067">write()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypeo3" doxytag="NLGEORGES::CType::Header" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="a02528.html">CFileHeader</a> <a class="el" href="a03622.html#NLGEORGES_1_1CTypeo3">NLGEORGES::CType::Header</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06587.html#l00069">69</a> of file <a class="el" href="a06587.html">type.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypeo4" doxytag="NLGEORGES::CType::Increment" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> std::string <a class="el" href="a03622.html#NLGEORGES_1_1CTypeo4">NLGEORGES::CType::Increment</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06587.html#l00087">87</a> of file <a class="el" href="a06587.html">type.h</a>.
<p>
Referenced by <a class="el" href="a06586.html#l00880">getIncrement()</a>, <a class="el" href="a06586.html#l00116">read()</a>, and <a class="el" href="a06586.html#l00067">write()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypeo5" doxytag="NLGEORGES::CType::Max" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> std::string <a class="el" href="a03622.html#NLGEORGES_1_1CTypeo5">NLGEORGES::CType::Max</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06587.html#l00084">84</a> of file <a class="el" href="a06587.html">type.h</a>.
<p>
Referenced by <a class="el" href="a06586.html#l00873">getMax()</a>, <a class="el" href="a06586.html#l00116">read()</a>, and <a class="el" href="a06586.html#l00067">write()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypeo6" doxytag="NLGEORGES::CType::Min" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> std::string <a class="el" href="a03622.html#NLGEORGES_1_1CTypeo6">NLGEORGES::CType::Min</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06587.html#l00081">81</a> of file <a class="el" href="a06587.html">type.h</a>.
<p>
Referenced by <a class="el" href="a06586.html#l00866">getMin()</a>, <a class="el" href="a06586.html#l00116">read()</a>, and <a class="el" href="a06586.html#l00067">write()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1UTypes0" doxytag="NLGEORGES::CType::NullPtrInfo" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> CRefCount::CPtrInfo <a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NLMISC::CRefCount::NullPtrInfo</a><code> [static, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1UTypeo1" doxytag="NLGEORGES::CType::pinfo" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> CPtrInfo* <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">NLMISC::CRefCount::pinfo</a><code> [mutable, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06402.html#l00080">80</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
<p>
Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypeo8" doxytag="NLGEORGES::CType::Type" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="a03623.html#NLGEORGES_1_1UTypew4">UType::TType</a> <a class="el" href="a03622.html#NLGEORGES_1_1CTypeo8">NLGEORGES::CType::Type</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06587.html#l00072">72</a> of file <a class="el" href="a06587.html">type.h</a>.
<p>
Referenced by <a class="el" href="a05728.html#l00764">NLGEORGES::CFormElm::getIternalNodeByName()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypev0" doxytag="NLGEORGES::CType::TypeNames" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const char * <a class="el" href="a03622.html#NLGEORGES_1_1CTypev0">NLGEORGES::CType::TypeNames</a><code> [static, private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<b>Initial value:</b><div class="fragment"><pre>
{
        <span class="stringliteral">"UnsignedInt"</span>,
        <span class="stringliteral">"SignedInt"</span>,
        <span class="stringliteral">"Double"</span>,
        <span class="stringliteral">"String"</span>,
        <span class="stringliteral">"Color"</span>,
}
</pre></div>
<p>
Definition at line <a class="el" href="a06586.html#l00294">294</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
Referenced by <a class="el" href="a06586.html#l00116">read()</a>, and <a class="el" href="a06586.html#l00067">write()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypeo9" doxytag="NLGEORGES::CType::UIType" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="a03622.html#NLGEORGES_1_1CTypew11">TUI</a> <a class="el" href="a03622.html#NLGEORGES_1_1CTypeo9">NLGEORGES::CType::UIType</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a06587.html#l00075">75</a> of file <a class="el" href="a06587.html">type.h</a>.
<p>
Referenced by <a class="el" href="a06586.html#l00052">CType()</a>, <a class="el" href="a06586.html#l00116">read()</a>, and <a class="el" href="a06586.html#l00067">write()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLGEORGES_1_1CTypev1" doxytag="NLGEORGES::CType::UITypeNames" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const char * <a class="el" href="a03622.html#NLGEORGES_1_1CTypev1">NLGEORGES::CType::UITypeNames</a><code> [static, private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<b>Initial value:</b><div class="fragment"><pre>
{
        <span class="stringliteral">"Edit"</span>,
        <span class="stringliteral">"EditSpin"</span>,
        <span class="stringliteral">"NonEditableCombo"</span>,
        <span class="stringliteral">"FileBrowser"</span>,
        <span class="stringliteral">"BigEdit"</span>,
        <span class="stringliteral">"ColorEdit"</span>,
}
</pre></div>
<p>
Definition at line <a class="el" href="a06586.html#l00305">305</a> of file <a class="el" href="a06586.html">type.cpp</a>.
<p>
Referenced by <a class="el" href="a06586.html#l00324">getUIName()</a>, <a class="el" href="a06586.html#l00116">read()</a>, and <a class="el" href="a06586.html#l00067">write()</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="a06587.html">type.h</a><li><a class="el" href="a06586.html">type.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 12:46:07 2004 for NeL by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.6 </small></address>
</body>
</html>