diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a02552.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a02552.html')
-rw-r--r-- | docs/doxygen/nel/a02552.html | 7440 |
1 files changed, 7440 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02552.html b/docs/doxygen/nel/a02552.html new file mode 100644 index 00000000..c4bc7e8b --- /dev/null +++ b/docs/doxygen/nel/a02552.html @@ -0,0 +1,7440 @@ +<!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::CFormElmArray 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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLGEORGES::CFormElmArray Class Reference</h1><code>#include <<a class="el" href="a05729.html">form_elm.h</a>></code> +<p> +<p>Inheritance diagram for NLGEORGES::CFormElmArray: +<p><center><img src="a02552.png" usemap="#NLGEORGES::CFormElmArray_map" border="0" alt=""></center> +<map name="NLGEORGES::CFormElmArray_map"> +<area href="a02550.html" alt="NLGEORGES::CFormElm" shape="rect" coords="0,56,185,80"> +<area href="a02551.html" alt="NLGEORGES::UFormElm" shape="rect" coords="0,0,185,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Define an array of elements +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00355">355</a> of file <a class="el" href="a05729.html">form_elm.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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> { <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8NLGEORGES_1_1UFormElmw7">NoEval</a>, +<a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8NLGEORGES_1_1UFormElmw2">Formula</a>, +<a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8NLGEORGES_1_1UFormElmw1">Eval</a> + }</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Value evalution. <a href="#NLGEORGES_1_1UFormElmw8">More...</a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw9">TWhereIsNode</a> { <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw9NLGEORGES_1_1UFormElmw4">NodeForm</a>, +<a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw9NLGEORGES_1_1UFormElmw5">NodeParentForm</a>, +<a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw9NLGEORGES_1_1UFormElmw3">NodeDfn</a>, +<a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw9NLGEORGES_1_1UFormElmw6">NodeType</a> + }</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Where a node has been found. <a href="#NLGEORGES_1_1UFormElmw9">More...</a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> { <br> + <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10NLGEORGES_1_1UFormElmw13">ValueForm</a>, +<a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10NLGEORGES_1_1UFormElmw14">ValueParentForm</a>, +<a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10NLGEORGES_1_1UFormElmw11">ValueDefaultDfn</a>, +<a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10NLGEORGES_1_1UFormElmw12">ValueDefaultType</a>, +<br> + <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10NLGEORGES_1_1UFormElmw0">Dummy</a> = 0xffffffff +<br> + }</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Where a value has been found. <a href="#NLGEORGES_1_1UFormElmw10">More...</a><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa0">arrayDeleteNodeByName</a> (const char *name, const <a class="el" href="a02546.html">CFormDfn</a> **parentDfn, <a class="el" href="a04558.html#a15">uint</a> &indexDfn, const <a class="el" href="a02546.html">CFormDfn</a> **nodeDfn, const <a class="el" href="a03622.html">CType</a> **nodeType, <a class="el" href="a02550.html">CFormElm</a> **node, <a class="el" href="a02547.html#NLGEORGES_1_1UFormDfnw3">UFormDfn::TEntryType</a> &<a class="el" href="a04223.html#a581">type</a>, bool &array, bool verbose, <a class="el" href="a04558.html#a15">uint</a> arrayIndex) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa1">arrayInsertNodeByName</a> (const char *name, const <a class="el" href="a02546.html">CFormDfn</a> **parentDfn, <a class="el" href="a04558.html#a15">uint</a> &indexDfn, const <a class="el" href="a02546.html">CFormDfn</a> **nodeDfn, const <a class="el" href="a03622.html">CType</a> **nodeType, <a class="el" href="a02550.html">CFormElm</a> **node, <a class="el" href="a02547.html#NLGEORGES_1_1UFormDfnw3">UFormDfn::TEntryType</a> &<a class="el" href="a04223.html#a581">type</a>, bool &array, bool verbose, <a class="el" href="a04558.html#a15">uint</a> arrayIndex) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya2">CFormElmArray</a> (<a class="el" href="a02544.html">CForm</a> *form, const <a class="el" href="a02546.html">CFormDfn</a> *formDfn, const <a class="el" href="a03622.html">CType</a> *<a class="el" href="a04223.html#a581">type</a>, <a class="el" href="a02550.html">CFormElm</a> *parentNode, const <a class="el" href="a02546.html">CFormDfn</a> *parentDfn, <a class="el" href="a04558.html#a15">uint</a> parentIndex)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya3">clean</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Reset contents. <a href="#NLGEORGES_1_1CFormElmArraya3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa5">convertValue</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> &result, const char *<a class="el" href="a04223.html#a658">value</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa6">convertValue</a> (bool &result, const char *<a class="el" href="a04223.html#a658">value</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa7">convertValue</a> (double &result, const char *<a class="el" href="a04223.html#a658">value</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa8">convertValue</a> (float &result, const char *<a class="el" href="a04223.html#a658">value</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa9">convertValue</a> (<a class="el" href="a04558.html#a11">uint32</a> &result, const char *<a class="el" href="a04223.html#a658">value</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa10">convertValue</a> (<a class="el" href="a04558.html#a10">sint32</a> &result, const char *<a class="el" href="a04223.html#a658">value</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa11">convertValue</a> (<a class="el" href="a04558.html#a9">uint16</a> &result, const char *<a class="el" href="a04223.html#a658">value</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa12">convertValue</a> (<a class="el" href="a04558.html#a8">sint16</a> &result, const char *<a class="el" href="a04223.html#a658">value</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa13">convertValue</a> (<a class="el" href="a04558.html#a7">uint8</a> &result, const char *<a class="el" href="a04223.html#a658">value</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (<a class="el" href="a04558.html#a6">sint8</a> &result, const char *<a class="el" href="a04223.html#a658">value</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa15">createNodeByName</a> (const char *name, const <a class="el" href="a02546.html">CFormDfn</a> **parentDfn, <a class="el" href="a04558.html#a15">uint</a> &indexDfn, const <a class="el" href="a02546.html">CFormDfn</a> **nodeDfn, const <a class="el" href="a03622.html">CType</a> **nodeType, <a class="el" href="a02550.html">CFormElm</a> **node, <a class="el" href="a02547.html#NLGEORGES_1_1UFormDfnw3">UFormDfn::TEntryType</a> &<a class="el" href="a04223.html#a581">type</a>, bool &array, bool &created)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa16">deleteNodeByName</a> (const char *name, const <a class="el" href="a02546.html">CFormDfn</a> **parentDfn, <a class="el" href="a04558.html#a15">uint</a> &indexDfn, const <a class="el" href="a02546.html">CFormDfn</a> **nodeDfn, const <a class="el" href="a03622.html">CType</a> **nodeType, <a class="el" href="a02550.html">CFormElm</a> **node, <a class="el" href="a02547.html#NLGEORGES_1_1UFormDfnw3">UFormDfn::TEntryType</a> &<a class="el" href="a04223.html#a581">type</a>, bool &array)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya16">getArrayNode</a> (<a class="el" href="a02551.html">UFormElm</a> **result, <a class="el" href="a04558.html#a15">uint</a> arrayIndex)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya17">getArrayNode</a> (const <a class="el" href="a02551.html">UFormElm</a> **result, <a class="el" href="a04558.html#a15">uint</a> arrayIndex) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya18">getArrayNodeName</a> (std::string &result, <a class="el" href="a04558.html#a15">uint</a> arrayIndex) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the name of a table element. <a href="#NLGEORGES_1_1CFormElmArraya18"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya19">getArraySize</a> (<a class="el" href="a04558.html#a15">uint</a> &<a class="el" href="a04223.html#a587">size</a>) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return true if the element is an array and fill size with the array size. <a href="#NLGEORGES_1_1CFormElmArraya19"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya20">getArrayValue</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> &result, <a class="el" href="a04558.html#a15">uint</a> arrayIndex, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Warning, only R, G and B members are filled, not A. <a href="#NLGEORGES_1_1CFormElmArraya20"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya21">getArrayValue</a> (bool &result, <a class="el" href="a04558.html#a15">uint</a> arrayIndex, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya22">getArrayValue</a> (double &result, <a class="el" href="a04558.html#a15">uint</a> arrayIndex, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya23">getArrayValue</a> (float &result, <a class="el" href="a04558.html#a15">uint</a> arrayIndex, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya24">getArrayValue</a> (<a class="el" href="a04558.html#a11">uint32</a> &result, <a class="el" href="a04558.html#a15">uint</a> arrayIndex, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya25">getArrayValue</a> (<a class="el" href="a04558.html#a10">sint32</a> &result, <a class="el" href="a04558.html#a15">uint</a> arrayIndex, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya26">getArrayValue</a> (<a class="el" href="a04558.html#a9">uint16</a> &result, <a class="el" href="a04558.html#a15">uint</a> arrayIndex, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya27">getArrayValue</a> (<a class="el" href="a04558.html#a8">sint16</a> &result, <a class="el" href="a04558.html#a15">uint</a> arrayIndex, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya28">getArrayValue</a> (<a class="el" href="a04558.html#a7">uint8</a> &result, <a class="el" href="a04558.html#a15">uint</a> arrayIndex, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya29">getArrayValue</a> (<a class="el" href="a04558.html#a6">sint8</a> &result, <a class="el" href="a04558.html#a15">uint</a> arrayIndex, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya30">getArrayValue</a> (std::string &result, <a class="el" href="a04558.html#a15">uint</a> arrayIndex, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya31">getDependencies</a> (std::set< std::string > &dependencies) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmStructa33">getDfnName</a> (std::string &dfnName) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the dfn filename for this virtual struct. Must be a virtual struct node. <a href="#NLGEORGES_1_1CFormElmStructa33"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02544.html">CForm</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa34">getForm</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya34">getFormName</a> (std::string &result, const <a class="el" href="a02550.html">CFormElm</a> *child) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa36">getNodeByName</a> (const char *name, const <a class="el" href="a02546.html">CFormDfn</a> **parentDfn, <a class="el" href="a04558.html#a15">uint</a> &indexDfn, const <a class="el" href="a02546.html">CFormDfn</a> **nodeDfn, const <a class="el" href="a03622.html">CType</a> **nodeType, <a class="el" href="a02550.html">CFormElm</a> **node, <a class="el" href="a02547.html#NLGEORGES_1_1UFormDfnw3">UFormDfn::TEntryType</a> &<a class="el" href="a04223.html#a581">type</a>, bool &array, bool &parentVDfnArray, bool verbose, <a class="el" href="a04558.html#a11">uint32</a> round) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa37">getNodeByName</a> (<a class="el" href="a02551.html">UFormElm</a> **result, const char *name, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw9">TWhereIsNode</a> *where, bool verbose, <a class="el" href="a04558.html#a11">uint32</a> round=0)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa38">getNodeByName</a> (const <a class="el" href="a02551.html">UFormElm</a> **result, const char *name, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw9">TWhereIsNode</a> *where, bool verbose, <a class="el" href="a04558.html#a11">uint32</a> round=0) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02551.html">UFormElm</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa39">getParent</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02547.html">UFormDfn</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmAtoma39">getStructDfn</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the struct dfn. <a href="#NLGEORGES_1_1CFormElmAtoma39"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmAtoma40">getStructNode</a> (<a class="el" href="a04558.html#a15">uint</a> element, <a class="el" href="a02551.html">UFormElm</a> **result)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a mutable element pointer. Can be NULL if the node doesn't exist. <a href="#NLGEORGES_1_1CFormElmAtoma40"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmAtoma41">getStructNode</a> (<a class="el" href="a04558.html#a15">uint</a> element, const <a class="el" href="a02551.html">UFormElm</a> **result) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a const element pointer. Can be NULL if the node doesn't exist. <a href="#NLGEORGES_1_1CFormElmAtoma41"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmAtoma42">getStructNodeName</a> (<a class="el" href="a04558.html#a15">uint</a> element, std::string &result) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the element name. <a href="#NLGEORGES_1_1CFormElmAtoma42"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmAtoma43">getStructSize</a> (<a class="el" href="a04558.html#a15">uint</a> &<a class="el" href="a04223.html#a587">size</a>) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the struct size. <a href="#NLGEORGES_1_1CFormElmAtoma43"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa45">getValue</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> &resultname, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Warning, only R, G and B members are filled, not A. <a href="#NLGEORGES_1_1CFormElmVirtualStructa45"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa46">getValue</a> (bool &resultname, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa47">getValue</a> (double &resultname, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa48">getValue</a> (float &resultname, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa49">getValue</a> (<a class="el" href="a04558.html#a11">uint32</a> &resultname, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa50">getValue</a> (<a class="el" href="a04558.html#a10">sint32</a> &resultname, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa51">getValue</a> (<a class="el" href="a04558.html#a9">uint16</a> &resultname, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa52">getValue</a> (<a class="el" href="a04558.html#a8">sint16</a> &resultname, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa53">getValue</a> (<a class="el" href="a04558.html#a7">uint8</a> &resultname, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa54">getValue</a> (<a class="el" href="a04558.html#a6">sint8</a> &resultname, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa55">getValue</a> (std::string &resultname, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa56">getValueByName</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> &result, const char *name, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where, <a class="el" href="a04558.html#a11">uint32</a> round=0) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Warning, only R, G and B members are filled, not A. <a href="#NLGEORGES_1_1CFormElmVirtualStructa56"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa57">getValueByName</a> (bool &result, const char *name, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where, <a class="el" href="a04558.html#a11">uint32</a> round=0) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa58">getValueByName</a> (double &result, const char *name, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where, <a class="el" href="a04558.html#a11">uint32</a> round=0) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa59">getValueByName</a> (float &result, const char *name, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where, <a class="el" href="a04558.html#a11">uint32</a> round=0) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa60">getValueByName</a> (<a class="el" href="a04558.html#a11">uint32</a> &result, const char *name, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where, <a class="el" href="a04558.html#a11">uint32</a> round=0) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa61">getValueByName</a> (<a class="el" href="a04558.html#a10">sint32</a> &result, const char *name, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where, <a class="el" href="a04558.html#a11">uint32</a> round=0) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa62">getValueByName</a> (<a class="el" href="a04558.html#a9">uint16</a> &result, const char *name, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where, <a class="el" href="a04558.html#a11">uint32</a> round=0) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa63">getValueByName</a> (<a class="el" href="a04558.html#a8">sint16</a> &result, const char *name, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where, <a class="el" href="a04558.html#a11">uint32</a> round=0) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa64">getValueByName</a> (<a class="el" href="a04558.html#a7">uint8</a> &result, const char *name, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where, <a class="el" href="a04558.html#a11">uint32</a> round=0) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa65">getValueByName</a> (<a class="el" href="a04558.html#a6">sint8</a> &result, const char *name, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where, <a class="el" href="a04558.html#a11">uint32</a> round=0) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa66">getValueByName</a> (std::string &result, const char *name, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw8">TEval</a> evaluate, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> *where, <a class="el" href="a04558.html#a11">uint32</a> round=0) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya66">isArray</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return true if the element is an array. <a href="#NLGEORGES_1_1CFormElmArraya66"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa68">isAtom</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return true if the element is an atom. <a href="#NLGEORGES_1_1CFormElmVirtualStructa68"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmAtoma68">isStruct</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return true if the element is a struct or a virtual struct. <a href="#NLGEORGES_1_1CFormElmAtoma68"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya69">isUsed</a> (const <a class="el" href="a02544.html">CForm</a> *form) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmStructa71">isVirtualStruct</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return true if the element is a virtual struct. <a href="#NLGEORGES_1_1CFormElmStructa71"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya71">read</a> (xmlNodePtr node, <a class="el" href="a02558.html">CFormLoader</a> &loader, <a class="el" href="a02544.html">CForm</a> *form)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya72">setParent</a> (<a class="el" href="a02550.html">CFormElm</a> *parent)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa74">setValueByName</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> <a class="el" href="a04223.html#a658">value</a>, const char *name, bool *created)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa75">setValueByName</a> (bool <a class="el" href="a04223.html#a658">value</a>, const char *name, bool *created)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa76">setValueByName</a> (double <a class="el" href="a04223.html#a658">value</a>, const char *name, bool *created)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa77">setValueByName</a> (float <a class="el" href="a04223.html#a658">value</a>, const char *name, bool *created)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa78">setValueByName</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a658">value</a>, const char *name, bool *created)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa79">setValueByName</a> (<a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a04223.html#a658">value</a>, const char *name, bool *created)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa80">setValueByName</a> (<a class="el" href="a04558.html#a9">uint16</a> <a class="el" href="a04223.html#a658">value</a>, const char *name, bool *created)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa81">setValueByName</a> (<a class="el" href="a04558.html#a8">sint16</a> <a class="el" href="a04223.html#a658">value</a>, const char *name, bool *created)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa82">setValueByName</a> (<a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a04223.html#a658">value</a>, const char *name, bool *created)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa83">setValueByName</a> (<a class="el" href="a04558.html#a6">sint8</a> <a class="el" href="a04223.html#a658">value</a>, const char *name, bool *created)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa84">setValueByName</a> (const char *<a class="el" href="a04223.html#a658">value</a>, const char *name, bool *created)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya84">unlink</a> (<a class="el" href="a02550.html">CFormElm</a> *child)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (bool exception, 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>xmlNodePtr </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya86">write</a> (xmlNodePtr node, const <a class="el" href="a02544.html">CForm</a> *form, const char *structName, bool forceWrite=false) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArraya87">~CFormElmArray</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 * </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructe0">tokenize</a> (const char *name, std::string &str, <a class="el" href="a04558.html#a15">uint</a> &errorIndex, <a class="el" href="a04558.html#a15">uint</a> &code)</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02553.html">CElement</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03408.html">NLMISC::CSmartPtr</a>< <a class="el" href="a02546.html">CFormDfn</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArrayo1">FormDfn</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03622.html">CType</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a></td></tr> + +<tr><td colspan=2><br><h2>Protected Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3">TNodeAction</a> { <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx2">Return</a>, +<a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx0">Create</a>, +<a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx1">Delete</a> + }</td></tr> + +<tr><td colspan=2><br><h2>Static Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructf0">getIternalNodeByName</a> (<a class="el" href="a02544.html">CForm</a> *form, const char *name, const <a class="el" href="a02546.html">CFormDfn</a> **parentDfn, <a class="el" href="a04558.html#a15">uint</a> &indexDfn, const <a class="el" href="a02546.html">CFormDfn</a> **nodeDfn, const <a class="el" href="a03622.html">CType</a> **nodeType, <a class="el" href="a02550.html">CFormElm</a> **node, <a class="el" href="a02547.html#NLGEORGES_1_1UFormDfnw3">UFormDfn::TEntryType</a> &<a class="el" href="a04223.html#a581">type</a>, bool &array, <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3">TNodeAction</a> action, bool &created, bool &parentVDfnArray, bool verbose, <a class="el" href="a04558.html#a11">uint32</a> round)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructf1">warning</a> (bool exception, const char *formName, const char *formFileName, const char *function, const char *<a class="el" href="a04223.html#a641">format</a>,...)</td></tr> + +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02544.html">CForm</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp0">Form</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02546.html">CFormDfn</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp1">ParentDfn</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp2">ParentIndex</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02550.html">CFormElm</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp3">ParentNode</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp4">Round</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NLGEORGES_1_1UFormElmw8" doxytag="NLGEORGES::CFormElmArray::TEval" ></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="a02551.html#NLGEORGES_1_1UFormElmw8">NLGEORGES::UFormElm::TEval</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Value evalution. +<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_1UFormElmw8NLGEORGES_1_1UFormElmw7" doxytag="NoEval" ></a>NoEval</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UFormElmw8NLGEORGES_1_1UFormElmw2" doxytag="Formula" ></a>Formula</em> </td><td> +The value will not be evaluated at all, the litteral value will be returned. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UFormElmw8NLGEORGES_1_1UFormElmw1" doxytag="Eval" ></a>Eval</em> </td><td> +Eval the enumeration value, but don't evaluate the formula nor the value references. </td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06603.html#l00047">47</a> of file <a class="el" href="a06603.html">u_form_elm.h</a>. +<p> +<div class="fragment"><pre>00048 { +00049 <a class="code" href="a02551.html#NLGEORGES_1_1UFormElmw8NLGEORGES_1_1UFormElmw7">NoEval</a>, +00050 <a class="code" href="a02551.html#NLGEORGES_1_1UFormElmw8NLGEORGES_1_1UFormElmw2">Formula</a>, +00051 <a class="code" href="a02551.html#NLGEORGES_1_1UFormElmw8NLGEORGES_1_1UFormElmw1">Eval</a>, +00052 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructx3" doxytag="NLGEORGES::CFormElmArray::TNodeAction" ></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="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3">NLGEORGES::CFormElm::TNodeAction</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx2" doxytag="Return" ></a>Return</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx0" doxytag="Create" ></a>Create</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx1" doxytag="Delete" ></a>Delete</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a05729.html#l00195">195</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +<div class="fragment"><pre>00196 { +00197 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx2">Return</a>, +00198 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx0">Create</a>, +00199 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx1">Delete</a>, +00200 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UFormElmw9" doxytag="NLGEORGES::CFormElmArray::TWhereIsNode" ></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="a02551.html#NLGEORGES_1_1UFormElmw9">NLGEORGES::UFormElm::TWhereIsNode</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Where a node has been found. +<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_1UFormElmw9NLGEORGES_1_1UFormElmw4" doxytag="NodeForm" ></a>NodeForm</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UFormElmw9NLGEORGES_1_1UFormElmw5" doxytag="NodeParentForm" ></a>NodeParentForm</em> </td><td> +The node has been found in the form. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UFormElmw9NLGEORGES_1_1UFormElmw3" doxytag="NodeDfn" ></a>NodeDfn</em> </td><td> +The node has been found in the parent form. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UFormElmw9NLGEORGES_1_1UFormElmw6" doxytag="NodeType" ></a>NodeType</em> </td><td> +The node is a DFN. </td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06603.html#l00055">55</a> of file <a class="el" href="a06603.html">u_form_elm.h</a>. +<p> +<div class="fragment"><pre>00056 { +00057 <a class="code" href="a02551.html#NLGEORGES_1_1UFormElmw9NLGEORGES_1_1UFormElmw4">NodeForm</a>, +00058 <a class="code" href="a02551.html#NLGEORGES_1_1UFormElmw9NLGEORGES_1_1UFormElmw5">NodeParentForm</a>, +00059 <a class="code" href="a02551.html#NLGEORGES_1_1UFormElmw9NLGEORGES_1_1UFormElmw3">NodeDfn</a>, +00060 <a class="code" href="a02551.html#NLGEORGES_1_1UFormElmw9NLGEORGES_1_1UFormElmw6">NodeType</a>, +00061 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UFormElmw10" doxytag="NLGEORGES::CFormElmArray::TWhereIsValue" ></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="a02551.html#NLGEORGES_1_1UFormElmw10">NLGEORGES::UFormElm::TWhereIsValue</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Where a value has been found. +<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_1UFormElmw10NLGEORGES_1_1UFormElmw13" doxytag="ValueForm" ></a>ValueForm</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UFormElmw10NLGEORGES_1_1UFormElmw14" doxytag="ValueParentForm" ></a>ValueParentForm</em> </td><td> +The value has been found in the form. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UFormElmw10NLGEORGES_1_1UFormElmw11" doxytag="ValueDefaultDfn" ></a>ValueDefaultDfn</em> </td><td> +The value has been found in the parent form. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UFormElmw10NLGEORGES_1_1UFormElmw12" doxytag="ValueDefaultType" ></a>ValueDefaultType</em> </td><td> +The value has been found in the DFN default value. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLGEORGES_1_1UFormElmw10NLGEORGES_1_1UFormElmw0" doxytag="Dummy" ></a>Dummy</em> </td><td> +The value has been found in the TYPE default value. </td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06603.html#l00094">94</a> of file <a class="el" href="a06603.html">u_form_elm.h</a>. +<p> +<div class="fragment"><pre>00095 { +00096 <a class="code" href="a02551.html#NLGEORGES_1_1UFormElmw10NLGEORGES_1_1UFormElmw13">ValueForm</a>, +00097 <a class="code" href="a02551.html#NLGEORGES_1_1UFormElmw10NLGEORGES_1_1UFormElmw14">ValueParentForm</a>, +00098 <a class="code" href="a02551.html#NLGEORGES_1_1UFormElmw10NLGEORGES_1_1UFormElmw11">ValueDefaultDfn</a>, +00099 <a class="code" href="a02551.html#NLGEORGES_1_1UFormElmw10NLGEORGES_1_1UFormElmw12">ValueDefaultType</a>, +00100 <a class="code" href="a02551.html#NLGEORGES_1_1UFormElmw10NLGEORGES_1_1UFormElmw0">Dummy</a> = 0xffffffff +00101 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya2" doxytag="NLGEORGES::CFormElmArray::CFormElmArray" ></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::CFormElmArray::CFormElmArray </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02544.html">CForm</a> * </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 <a class="el" href="a02546.html">CFormDfn</a> * </td> + <td class="mdname" nowrap> <em>formDfn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03622.html">CType</a> * </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="a02550.html">CFormElm</a> * </td> + <td class="mdname" nowrap> <em>parentNode</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02546.html">CFormDfn</a> * </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> </td> + <td class="mdname" nowrap> <em>parentIndex</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05728.html#l02249">2249</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>02249 : <a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a> (form, parentNode, parentDfn, parentIndex) +02250 { +02251 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo1">FormDfn</a> = (CFormDfn*)formDfn; +02252 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a> = <a class="code" href="a04223.html#a581">type</a>; +02253 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya87" doxytag="NLGEORGES::CFormElmArray::~CFormElmArray" ></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::CFormElmArray::~<a class="el" href="a02552.html">CFormElmArray</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05728.html#l02257">2257</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +<div class="fragment"><pre>02258 { +02259 <span class="comment">// Job done in clean()</span> +02260 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa0" doxytag="NLGEORGES::CFormElmArray::arrayDeleteNodeByName" ></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::CFormElm::arrayDeleteNodeByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02546.html">CFormDfn</a> ** </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> & </td> + <td class="mdname" nowrap> <em>indexDfn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02546.html">CFormDfn</a> ** </td> + <td class="mdname" nowrap> <em>nodeDfn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03622.html">CType</a> ** </td> + <td class="mdname" nowrap> <em>nodeType</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02550.html">CFormElm</a> ** </td> + <td class="mdname" nowrap> <em>node</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02547.html#NLGEORGES_1_1UFormDfnw3">UFormDfn::TEntryType</a> & </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>array</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>verbose</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Delete an array node by name The index asked must be < the size of the array. +<p> +Definition at line <a class="el" href="a05728.html#l00719">719</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx0">NLGEORGES::CFormElm::Create</a>, <a class="el" href="a05729.html#l00414">Elements</a>, <a class="el" href="a05729.html#l00231">NLGEORGES::CFormElm::Form</a>, <a class="el" href="a05728.html#l00764">NLGEORGES::CFormElm::getIternalNodeByName()</a>, <a class="el" href="a05728.html#l00053">NLGEORGES::CFormElm::isArray()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05729.html#l00237">NLGEORGES::CFormElm::ParentDfn</a>, <a class="el" href="a05729.html#l00240">NLGEORGES::CFormElm::ParentIndex</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00723 { +00724 <span class="comment">// Get the node by name</span> +00725 *parentDfn = <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp1">ParentDfn</a>; +00726 indexDfn = <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp2">ParentIndex</a>; +00727 *nodeDfn = NULL; +00728 *nodeType = NULL; +00729 *node = (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a>*)<span class="keyword">this</span>; +00730 <span class="keywordtype">bool</span> created; +00731 <span class="keywordtype">bool</span> parentVDfnArray; +00732 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructf0">getIternalNodeByName</a> (Form, name, parentDfn, indexDfn, nodeDfn, nodeType, node, type, array, Create, created, parentVDfnArray, verbose, NLGEORGES_FIRST_ROUND)) +00733 { +00734 <span class="comment">// Must be in the same form</span> +00735 <a class="code" href="a04199.html#a6">nlassert</a> ((*node) && ((*node)->Form == Form)); +00736 +00737 <span class="comment">// Get its parent</span> +00738 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a> *parentNode = (*node)->ParentNode; +00739 <span class="keywordflow">if</span> (parentNode->isArray ()) +00740 { +00741 <span class="comment">// Cast pointer</span> +00742 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya2">CFormElmArray</a> *array = safe_cast<CFormElmArray*>(parentNode); +00743 +00744 <span class="comment">// Valid index ?</span> +00745 <span class="keywordflow">if</span> (arrayIndex<array->Elements.size ()) +00746 { +00747 <span class="comment">// Insert the element</span> +00748 <span class="keywordflow">if</span> (array->Elements[arrayIndex].Element) +00749 <span class="keyword">delete</span> array->Elements[arrayIndex].Element; +00750 +00751 <span class="comment">// Erase the entry</span> +00752 array->Elements.erase (array->Elements.begin () + arrayIndex); +00753 +00754 <span class="comment">// Ok </span> +00755 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00756 } +00757 } +00758 } +00759 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00760 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa1" doxytag="NLGEORGES::CFormElmArray::arrayInsertNodeByName" ></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::CFormElm::arrayInsertNodeByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02546.html">CFormDfn</a> ** </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> & </td> + <td class="mdname" nowrap> <em>indexDfn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02546.html">CFormDfn</a> ** </td> + <td class="mdname" nowrap> <em>nodeDfn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03622.html">CType</a> ** </td> + <td class="mdname" nowrap> <em>nodeType</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02550.html">CFormElm</a> ** </td> + <td class="mdname" nowrap> <em>node</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02547.html#NLGEORGES_1_1UFormDfnw3">UFormDfn::TEntryType</a> & </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>array</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>verbose</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Insert an array node by name The index asked must be < the size of the array. +<p> +Definition at line <a class="el" href="a05728.html#l00645">645</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l02002">NLGEORGES::CFormElmStruct::build()</a>, <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx0">NLGEORGES::CFormElm::Create</a>, <a class="el" href="a05729.html#l00414">Elements</a>, <a class="el" href="a05729.html#l00231">NLGEORGES::CFormElm::Form</a>, <a class="el" href="a05728.html#l00764">NLGEORGES::CFormElm::getIternalNodeByName()</a>, <a class="el" href="a05728.html#l00053">NLGEORGES::CFormElm::isArray()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05622.html#l00416">nlstop</a>, <a class="el" href="a05729.html#l00237">NLGEORGES::CFormElm::ParentDfn</a>, <a class="el" href="a05729.html#l00240">NLGEORGES::CFormElm::ParentIndex</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00649 { +00650 <span class="comment">// Get the node by name</span> +00651 *parentDfn = <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp1">ParentDfn</a>; +00652 indexDfn = <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp2">ParentIndex</a>; +00653 *nodeDfn = NULL; +00654 *nodeType = NULL; +00655 *node = (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a>*)<span class="keyword">this</span>; +00656 <span class="keywordtype">bool</span> created; +00657 <span class="keywordtype">bool</span> parentVDfnArray; +00658 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructf0">getIternalNodeByName</a> (Form, name, parentDfn, indexDfn, nodeDfn, nodeType, node, type, array, Create, created, parentVDfnArray, verbose, NLGEORGES_FIRST_ROUND)) +00659 { +00660 <span class="comment">// Must be in the same form</span> +00661 <a class="code" href="a04199.html#a6">nlassert</a> ((*node) && ((*node)->Form == Form)); +00662 +00663 <span class="comment">// Get its parent</span> +00664 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a> *parentNode = (*node)->ParentNode; +00665 <span class="keywordflow">if</span> (parentNode->isArray ()) +00666 { +00667 <span class="comment">// Cast pointer</span> +00668 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya2">CFormElmArray</a> *array = safe_cast<CFormElmArray*>(parentNode); +00669 +00670 <span class="comment">// Valid index ?</span> +00671 <span class="keywordflow">if</span> (arrayIndex<array->Elements.size ()) +00672 { +00673 <span class="comment">// Insert the element</span> +00674 array->Elements.insert (array->Elements.begin() + arrayIndex); +00675 +00676 <span class="comment">// Create a new element</span> +00677 +00678 <span class="comment">// The new element</span> +00679 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a> *newelm = NULL; +00680 <span class="keywordflow">switch</span> (<a class="code" href="a04223.html#a581">type</a>) +00681 { +00682 <span class="keywordflow">case</span> UFormDfn::EntryType: +00683 { +00684 <span class="comment">// Create an atom</span> +00685 CFormElmAtom *atom = <span class="keyword">new</span> CFormElmAtom (Form, array, *parentDfn, indexDfn); +00686 newelm = atom; +00687 } +00688 <span class="keywordflow">break</span>; +00689 <span class="keywordflow">case</span> UFormDfn::EntryDfn: +00690 { +00691 CFormElmStruct *_struct = <span class="keyword">new</span> CFormElmStruct (Form, array, *parentDfn, indexDfn); +00692 _struct->build (*nodeDfn); +00693 newelm = _struct; +00694 } +00695 <span class="keywordflow">break</span>; +00696 <span class="keywordflow">case</span> UFormDfn::EntryVirtualDfn: +00697 <span class="comment">// todo array of virtual struct</span> +00698 <span class="comment">//newelm = new CFormElmVirtualStruct (Form, array, *parentDfn, indexDfn);</span> +00699 <span class="keywordflow">break</span>; +00700 <span class="keywordflow">default</span>: +00701 <a class="code" href="a04199.html#a12">nlstop</a>; +00702 } +00703 +00704 <a class="code" href="a04199.html#a6">nlassert</a> (newelm); +00705 +00706 <span class="comment">// Set the element pointer</span> +00707 array->Elements[arrayIndex].Element = newelm; +00708 +00709 <span class="comment">// Ok </span> +00710 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00711 } +00712 } +00713 } +00714 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00715 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya3" doxytag="NLGEORGES::CFormElmArray::clean" ></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::CFormElmArray::clean </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Reset contents. +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmAtoma3">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02264">2264</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05728.html#l02594">read()</a>. +<p> +<div class="fragment"><pre>02265 { +02266 <span class="comment">// For each element of the array</span> +02267 <a class="code" href="a04558.html#a15">uint</a> elm; +02268 <span class="keywordflow">for</span> (elm =0; elm<<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size(); elm++) +02269 { +02270 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[elm].Element) +02271 <span class="keyword">delete</span> <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[elm].Element; +02272 } +02273 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.clear (); +02274 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa5" doxytag="NLGEORGES::CFormElmArray::convertValue" ></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::CFormElm::convertValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a> & </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 char * </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00657">657</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +References <a class="el" href="a06340.html#l00338">NLMISC::CRGBA::B</a>, <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, <a class="el" href="a06340.html#l00336">NLMISC::CRGBA::G</a>, <a class="el" href="a06340.html#l00334">NLMISC::CRGBA::R</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a05646.html#l01132">value</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00658 { +00659 <span class="keywordtype">float</span> <a class="code" href="a04223.html#a628">r</a>, g, b; +00660 <span class="keywordflow">if</span> (sscanf (value, <span class="stringliteral">"%f,%f,%f"</span>, &r, &g, &b) == 3) +00661 { +00662 <a class="code" href="a05378.html#a374">NLMISC::clamp</a> (r, 0.f, 255.f); +00663 <a class="code" href="a05378.html#a374">NLMISC::clamp</a> (g, 0.f, 255.f); +00664 <a class="code" href="a05378.html#a374">NLMISC::clamp</a> (b, 0.f, 255.f); +00665 result.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo3">R</a> = (<a class="code" href="a04558.html#a7">uint8</a>)<a class="code" href="a04223.html#a628">r</a>; +00666 result.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo2">G</a> = (<a class="code" href="a04558.html#a7">uint8</a>)g; +00667 result.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo1">B</a> = (<a class="code" href="a04558.html#a7">uint8</a>)b; +00668 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00669 } +00670 +00671 <span class="comment">// Error message</span> +00672 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"convertValue"</span>, <span class="stringliteral">"Can't convert the string \"%s\" in RGB color."</span>, value); +00673 +00674 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00675 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa6" doxytag="NLGEORGES::CFormElmArray::convertValue" ></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::CFormElm::convertValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool & </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 char * </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00625">625</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +References <a class="el" href="a05586.html#l00536">NLMISC::strlwr()</a>, <a class="el" href="a05646.html#l01132">value</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00626 { +00627 <span class="keywordtype">int</span> tmp; +00628 <span class="keywordflow">if</span> (sscanf (value, <span class="stringliteral">"%d"</span>, &tmp) == 1) +00629 { +00630 result = tmp != 0; +00631 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00632 } +00633 <span class="keywordflow">else</span> +00634 { +00635 std::string temp = <a class="code" href="a04223.html#a658">value</a>; +00636 temp = <a class="code" href="a05378.html#a273">NLMISC::strlwr</a> (temp); +00637 <span class="keywordflow">if</span> (strcmp (temp.c_str (), <span class="stringliteral">"true"</span>) == 0) +00638 { +00639 result = <span class="keyword">true</span>; +00640 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00641 } +00642 <span class="keywordflow">if</span> (strcmp (temp.c_str (), <span class="stringliteral">"false"</span>) == 0) +00643 { +00644 result = <span class="keyword">false</span>; +00645 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00646 } +00647 } +00648 +00649 <span class="comment">// Error message</span> +00650 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"convertValue"</span>, <span class="stringliteral">"Can't convert the string \"%s\" in boolean."</span>, value); +00651 +00652 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00653 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa7" doxytag="NLGEORGES::CFormElmArray::convertValue" ></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::CFormElm::convertValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double & </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 char * </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00607">607</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +References <a class="el" href="a05646.html#l01132">value</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00608 { +00609 <span class="keywordtype">float</span> tmp; +00610 <span class="keywordflow">if</span> (sscanf (value, <span class="stringliteral">"%f"</span>, &tmp) == 1) +00611 { +00612 result = tmp; +00613 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00614 } +00615 <span class="keywordflow">else</span> +00616 { +00617 <span class="comment">// Error message</span> +00618 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"convertValue"</span>, <span class="stringliteral">"Can't convert the string \"%s\" in double."</span>, value); +00619 } +00620 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00621 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa8" doxytag="NLGEORGES::CFormElmArray::convertValue" ></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::CFormElm::convertValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float & </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 char * </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00591">591</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +References <a class="el" href="a05646.html#l01132">value</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00592 { +00593 <span class="keywordflow">if</span> (sscanf (value, <span class="stringliteral">"%f"</span>, &result) == 1) +00594 { +00595 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00596 } +00597 <span class="keywordflow">else</span> +00598 { +00599 <span class="comment">// Error message</span> +00600 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"convertValue"</span>, <span class="stringliteral">"Can't convert the string \"%s\" in float."</span>, value); +00601 } +00602 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00603 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa9" doxytag="NLGEORGES::CFormElmArray::convertValue" ></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::CFormElm::convertValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> & </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 char * </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00572">572</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +References <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05646.html#l01132">value</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00573 { +00574 <span class="keywordtype">float</span> tmp; +00575 <span class="keywordflow">if</span> (sscanf (value, <span class="stringliteral">"%f"</span>, &tmp) == 1) +00576 { +00577 <a class="code" href="a05378.html#a374">NLMISC::clamp</a> (tmp, 0.f, 4294967295.f); +00578 result = (<a class="code" href="a04558.html#a10">sint32</a>)tmp; +00579 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00580 } +00581 <span class="keywordflow">else</span> +00582 { +00583 <span class="comment">// Error message</span> +00584 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"convertValue"</span>, <span class="stringliteral">"Can't convert the string \"%s\" in uint32."</span>, value); +00585 } +00586 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00587 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa10" doxytag="NLGEORGES::CFormElmArray::convertValue" ></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::CFormElm::convertValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> & </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 char * </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00553">553</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +References <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05646.html#l01132">value</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00554 { +00555 <span class="keywordtype">float</span> tmp; +00556 <span class="keywordflow">if</span> (sscanf (value, <span class="stringliteral">"%f"</span>, &tmp) == 1) +00557 { +00558 <a class="code" href="a05378.html#a374">NLMISC::clamp</a> (tmp, -2147483648.f, 2147483647.f); +00559 result = (<a class="code" href="a04558.html#a10">sint32</a>)tmp; +00560 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00561 } +00562 <span class="keywordflow">else</span> +00563 { +00564 <span class="comment">// Error message</span> +00565 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"convertValue"</span>, <span class="stringliteral">"Can't convert the string \"%s\" in sint32."</span>, value); +00566 } +00567 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00568 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa11" doxytag="NLGEORGES::CFormElmArray::convertValue" ></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::CFormElm::convertValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a9">uint16</a> & </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 char * </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00534">534</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +References <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, <a class="el" href="a05981.html#l00098">uint16</a>, <a class="el" href="a05646.html#l01132">value</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00535 { +00536 <span class="keywordtype">float</span> tmp; +00537 <span class="keywordflow">if</span> (sscanf (value, <span class="stringliteral">"%f"</span>, &tmp) == 1) +00538 { +00539 <a class="code" href="a05378.html#a374">NLMISC::clamp</a> (tmp, 0.f, 65535.f); +00540 result = (<a class="code" href="a04558.html#a9">uint16</a>)tmp; +00541 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00542 } +00543 <span class="keywordflow">else</span> +00544 { +00545 <span class="comment">// Error message</span> +00546 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"convertValue"</span>, <span class="stringliteral">"Can't convert the string \"%s\" in uint16."</span>, value); +00547 } +00548 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00549 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa12" doxytag="NLGEORGES::CFormElmArray::convertValue" ></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::CFormElm::convertValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a8">sint16</a> & </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 char * </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00515">515</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +References <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, <a class="el" href="a05981.html#l00097">sint16</a>, <a class="el" href="a05646.html#l01132">value</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00516 { +00517 <span class="keywordtype">float</span> tmp; +00518 <span class="keywordflow">if</span> (sscanf (value, <span class="stringliteral">"%f"</span>, &tmp) == 1) +00519 { +00520 <a class="code" href="a05378.html#a374">NLMISC::clamp</a> (tmp, -32768.f, 32767.f); +00521 result = (<a class="code" href="a04558.html#a8">sint16</a>)tmp; +00522 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00523 } +00524 <span class="keywordflow">else</span> +00525 { +00526 <span class="comment">// Error message</span> +00527 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"convertValue"</span>, <span class="stringliteral">"Can't convert the string \"%s\" in sint16."</span>, value); +00528 } +00529 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00530 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa13" doxytag="NLGEORGES::CFormElmArray::convertValue" ></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::CFormElm::convertValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> & </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 char * </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00496">496</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +References <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a05646.html#l01132">value</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00497 { +00498 <span class="keywordtype">float</span> tmp; +00499 <span class="keywordflow">if</span> (sscanf (value, <span class="stringliteral">"%f"</span>, &tmp) == 1) +00500 { +00501 <a class="code" href="a05378.html#a374">NLMISC::clamp</a> (tmp, 0.f, 255.f); +00502 result = (<a class="code" href="a04558.html#a7">uint8</a>)tmp; +00503 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00504 } +00505 <span class="keywordflow">else</span> +00506 { +00507 <span class="comment">// Error message</span> +00508 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"convertValue"</span>, <span class="stringliteral">"Can't convert the string \"%s\" in uint8."</span>, value); +00509 } +00510 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00511 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa14" doxytag="NLGEORGES::CFormElmArray::convertValue" ></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::CFormElm::convertValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a6">sint8</a> & </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 char * </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00477">477</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +References <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, <a class="el" href="a05981.html#l00095">sint8</a>, <a class="el" href="a05646.html#l01132">value</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +Referenced by <a class="el" href="a05728.html#l02361">getArrayValue()</a>, <a class="el" href="a05728.html#l02826">NLGEORGES::CFormElmAtom::getValue()</a>, and <a class="el" href="a05728.html#l00449">NLGEORGES::CFormElm::getValueByName()</a>. +<p> +<div class="fragment"><pre>00478 { +00479 <span class="keywordtype">float</span> tmp; +00480 <span class="keywordflow">if</span> (sscanf (value, <span class="stringliteral">"%f"</span>, &tmp) == 1) +00481 { +00482 <a class="code" href="a05378.html#a374">NLMISC::clamp</a> (tmp, -128.f, 127.f); +00483 result = (<a class="code" href="a04558.html#a6">sint8</a>)tmp; +00484 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00485 } +00486 <span class="keywordflow">else</span> +00487 { +00488 <span class="comment">// Error message</span> +00489 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"convertValue"</span>, <span class="stringliteral">"Can't convert the string \"%s\" in sint8."</span>, value); +00490 } +00491 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00492 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa15" doxytag="NLGEORGES::CFormElmArray::createNodeByName" ></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::CFormElm::createNodeByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02546.html">CFormDfn</a> ** </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> & </td> + <td class="mdname" nowrap> <em>indexDfn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02546.html">CFormDfn</a> ** </td> + <td class="mdname" nowrap> <em>nodeDfn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03622.html">CType</a> ** </td> + <td class="mdname" nowrap> <em>nodeType</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02550.html">CFormElm</a> ** </td> + <td class="mdname" nowrap> <em>node</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02547.html#NLGEORGES_1_1UFormDfnw3">UFormDfn::TEntryType</a> & </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>array</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>created</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05728.html#l00596">596</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx0">NLGEORGES::CFormElm::Create</a>, <a class="el" href="a05729.html#l00231">NLGEORGES::CFormElm::Form</a>, <a class="el" href="a05728.html#l00764">NLGEORGES::CFormElm::getIternalNodeByName()</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05729.html#l00237">NLGEORGES::CFormElm::ParentDfn</a>, <a class="el" href="a05729.html#l00240">NLGEORGES::CFormElm::ParentIndex</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05728.html#l01532">NLGEORGES::CFormElm::setValueByName()</a>. +<p> +<div class="fragment"><pre>00600 { +00601 *parentDfn = <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp1">ParentDfn</a>; +00602 indexDfn = <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp2">ParentIndex</a>; +00603 *nodeDfn = NULL; +00604 *nodeType = NULL; +00605 *node = <span class="keyword">this</span>; +00606 <span class="keywordtype">bool</span> parentVDfnArray; +00607 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructf0">getIternalNodeByName</a> (Form, name, parentDfn, indexDfn, nodeDfn, nodeType, node, type, array, Create, created, parentVDfnArray, <span class="keyword">true</span>, NLGEORGES_FIRST_ROUND); +00608 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa16" doxytag="NLGEORGES::CFormElmArray::deleteNodeByName" ></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::CFormElm::deleteNodeByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02546.html">CFormDfn</a> ** </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> & </td> + <td class="mdname" nowrap> <em>indexDfn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02546.html">CFormDfn</a> ** </td> + <td class="mdname" nowrap> <em>nodeDfn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03622.html">CType</a> ** </td> + <td class="mdname" nowrap> <em>nodeType</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02550.html">CFormElm</a> ** </td> + <td class="mdname" nowrap> <em>node</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02547.html#NLGEORGES_1_1UFormDfnw3">UFormDfn::TEntryType</a> & </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>array</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Delete a node by name. If the node already exist, return it Delete its parent if not used +<p> +Definition at line <a class="el" href="a05728.html#l00612">612</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx1">NLGEORGES::CFormElm::Delete</a>, <a class="el" href="a05729.html#l00231">NLGEORGES::CFormElm::Form</a>, <a class="el" href="a05728.html#l00764">NLGEORGES::CFormElm::getIternalNodeByName()</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05729.html#l00237">NLGEORGES::CFormElm::ParentDfn</a>, <a class="el" href="a05729.html#l00240">NLGEORGES::CFormElm::ParentIndex</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00616 { +00617 *parentDfn = <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp1">ParentDfn</a>; +00618 indexDfn = <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp2">ParentIndex</a>; +00619 *nodeDfn = NULL; +00620 *nodeType = NULL; +00621 *node = <span class="keyword">this</span>; +00622 <span class="keywordtype">bool</span> created; +00623 <span class="keywordtype">bool</span> parentVDfnArray; +00624 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructf0">getIternalNodeByName</a> (Form, name, parentDfn, indexDfn, nodeDfn, nodeType, node, type, array, Delete, created, parentVDfnArray, <span class="keyword">true</span>, NLGEORGES_FIRST_ROUND); +00625 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya16" doxytag="NLGEORGES::CFormElmArray::getArrayNode" ></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::CFormElmArray::getArrayNode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02551.html">UFormElm</a> ** </td> + <td class="mdname" nowrap> <em>result</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get a array sub element mutable pointer. If return true, fill result with the arrayIndex cell's element pointer. Can be NULL if the node doesn't exist. +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa17">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02328">2328</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02329 { +02330 <span class="keywordflow">if</span> (arrayIndex<<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size()) +02331 { +02332 *result = <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[arrayIndex].Element; +02333 <span class="keywordflow">return</span> <span class="keyword">true</span>; +02334 } +02335 <span class="keywordflow">else</span> +02336 { +02337 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getArrayNode"</span>, <span class="stringliteral">"Index (%d) out of bound (%d)."</span>, arrayIndex, <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size() ); +02338 <span class="keywordflow">return</span> <span class="keyword">false</span>; +02339 } +02340 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya17" doxytag="NLGEORGES::CFormElmArray::getArrayNode" ></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::CFormElmArray::getArrayNode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02551.html">UFormElm</a> ** </td> + <td class="mdname" nowrap> <em>result</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> +Get a array sub element const pointer. If return true, fill result with the arrayIndex cell's element Can be NULL if the node doesn't exist. +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa18">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02293">2293</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02294 { +02295 <span class="keywordflow">if</span> (arrayIndex<<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size()) +02296 { +02297 *result = <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[arrayIndex].Element; +02298 <span class="keywordflow">return</span> <span class="keyword">true</span>; +02299 } +02300 <span class="keywordflow">else</span> +02301 { +02302 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getArrayNode"</span>, <span class="stringliteral">"Index (%d) out of bound (%d)."</span>, arrayIndex, <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size() ); +02303 <span class="keywordflow">return</span> <span class="keyword">false</span>; +02304 } +02305 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya18" doxytag="NLGEORGES::CFormElmArray::getArrayNodeName" ></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::CFormElmArray::getArrayNodeName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </td> + <td class="mdname" nowrap> <em>result</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> +Return the name of a table element. +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa19">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02309">2309</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a06229.html#l02652">NLMISC::toString()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02310 { +02311 <span class="keywordflow">if</span> (arrayIndex<<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size()) +02312 { +02313 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[arrayIndex].Name.empty ()) +02314 result = <span class="stringliteral">"#"</span> + <a class="code" href="a05378.html#a244">toString</a> (arrayIndex); +02315 <span class="keywordflow">else</span> +02316 result = <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[arrayIndex].Name; +02317 <span class="keywordflow">return</span> <span class="keyword">true</span>; +02318 } +02319 <span class="keywordflow">else</span> +02320 { +02321 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getArrayNodeName"</span>, <span class="stringliteral">"Index (%d) out of bound (%d)."</span>, arrayIndex, <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size() ); +02322 <span class="keywordflow">return</span> <span class="keyword">false</span>; +02323 } +02324 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya19" doxytag="NLGEORGES::CFormElmArray::getArraySize" ></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::CFormElmArray::getArraySize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>size</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return true if the element is an array and fill size with the array size. +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa20">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02285">2285</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00645">size</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>02286 { +02287 <a class="code" href="a04223.html#a587">size</a> = <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size (); +02288 <span class="keywordflow">return</span> <span class="keyword">true</span>; +02289 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya20" doxytag="NLGEORGES::CFormElmArray::getArrayValue" ></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::CFormElmArray::getArrayValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a> & </td> + <td class="mdname" nowrap> <em>result</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </td> + <td class="mdname" nowrap> <em>where</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> +Warning, only R, G and B members are filled, not A. +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa21">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02541">2541</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypea11">NLGEORGES::CType::getValue()</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02542 { +02543 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>) +02544 { +02545 string str; +02546 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>->getValue (str, Form, safe_cast<const CFormElmAtom*> (Elements[arrayIndex].Element), *ParentDfn, ParentIndex, evaluate, (<a class="code" href="a04558.html#a11">uint32</a>*)where, NLGEORGES_FIRST_ROUND, NULL)) +02547 { +02548 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, str.c_str ()); +02549 } +02550 } +02551 <span class="keywordflow">else</span> +02552 { +02553 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getArrayValue"</span>, <span class="stringliteral">"This array is not an array of atom. This is an array of structure."</span>); +02554 } +02555 +02556 <span class="keywordflow">return</span> <span class="keyword">false</span>; +02557 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya21" doxytag="NLGEORGES::CFormElmArray::getArrayValue" ></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::CFormElmArray::getArrayValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool & </td> + <td class="mdname" nowrap> <em>result</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </td> + <td class="mdname" nowrap> <em>where</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa22">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02521">2521</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypea11">NLGEORGES::CType::getValue()</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02522 { +02523 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>) +02524 { +02525 string str; +02526 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>->getValue (str, Form, safe_cast<const CFormElmAtom*> (Elements[arrayIndex].Element), *ParentDfn, ParentIndex, evaluate, (<a class="code" href="a04558.html#a11">uint32</a>*)where, NLGEORGES_FIRST_ROUND, NULL)) +02527 { +02528 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, str.c_str ()); +02529 } +02530 } +02531 <span class="keywordflow">else</span> +02532 { +02533 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getArrayValue"</span>, <span class="stringliteral">"This array is not an array of atom. This is an array of structure."</span>); +02534 } +02535 +02536 <span class="keywordflow">return</span> <span class="keyword">false</span>; +02537 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya22" doxytag="NLGEORGES::CFormElmArray::getArrayValue" ></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::CFormElmArray::getArrayValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double & </td> + <td class="mdname" nowrap> <em>result</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </td> + <td class="mdname" nowrap> <em>where</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa23">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02501">2501</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypea11">NLGEORGES::CType::getValue()</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02502 { +02503 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>) +02504 { +02505 string str; +02506 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>->getValue (str, Form, safe_cast<const CFormElmAtom*> (Elements[arrayIndex].Element), *ParentDfn, ParentIndex, evaluate, (<a class="code" href="a04558.html#a11">uint32</a>*)where, NLGEORGES_FIRST_ROUND, NULL)) +02507 { +02508 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, str.c_str ()); +02509 } +02510 } +02511 <span class="keywordflow">else</span> +02512 { +02513 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getArrayValue"</span>, <span class="stringliteral">"This array is not an array of atom. This is an array of structure."</span>); +02514 } +02515 +02516 <span class="keywordflow">return</span> <span class="keyword">false</span>; +02517 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya23" doxytag="NLGEORGES::CFormElmArray::getArrayValue" ></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::CFormElmArray::getArrayValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float & </td> + <td class="mdname" nowrap> <em>result</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </td> + <td class="mdname" nowrap> <em>where</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa24">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02481">2481</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypea11">NLGEORGES::CType::getValue()</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02482 { +02483 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>) +02484 { +02485 string str; +02486 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>->getValue (str, Form, safe_cast<const CFormElmAtom*> (Elements[arrayIndex].Element), *ParentDfn, ParentIndex, evaluate, (<a class="code" href="a04558.html#a11">uint32</a>*)where, NLGEORGES_FIRST_ROUND, NULL)) +02487 { +02488 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, str.c_str ()); +02489 } +02490 } +02491 <span class="keywordflow">else</span> +02492 { +02493 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getArrayValue"</span>, <span class="stringliteral">"This array is not an array of atom. This is an array of structure."</span>); +02494 } +02495 +02496 <span class="keywordflow">return</span> <span class="keyword">false</span>; +02497 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya24" doxytag="NLGEORGES::CFormElmArray::getArrayValue" ></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::CFormElmArray::getArrayValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> & </td> + <td class="mdname" nowrap> <em>result</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </td> + <td class="mdname" nowrap> <em>where</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa25">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02461">2461</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypea11">NLGEORGES::CType::getValue()</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02462 { +02463 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>) +02464 { +02465 string str; +02466 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>->getValue (str, Form, safe_cast<const CFormElmAtom*> (Elements[arrayIndex].Element), *ParentDfn, ParentIndex, evaluate, (<a class="code" href="a04558.html#a11">uint32</a>*)where, NLGEORGES_FIRST_ROUND, NULL)) +02467 { +02468 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, str.c_str ()); +02469 } +02470 } +02471 <span class="keywordflow">else</span> +02472 { +02473 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getArrayValue"</span>, <span class="stringliteral">"This array is not an array of atom. This is an array of structure."</span>); +02474 } +02475 +02476 <span class="keywordflow">return</span> <span class="keyword">false</span>; +02477 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya25" doxytag="NLGEORGES::CFormElmArray::getArrayValue" ></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::CFormElmArray::getArrayValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> & </td> + <td class="mdname" nowrap> <em>result</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </td> + <td class="mdname" nowrap> <em>where</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa26">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02441">2441</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypea11">NLGEORGES::CType::getValue()</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02442 { +02443 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>) +02444 { +02445 string str; +02446 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>->getValue (str, Form, safe_cast<const CFormElmAtom*> (Elements[arrayIndex].Element), *ParentDfn, ParentIndex, evaluate, (<a class="code" href="a04558.html#a11">uint32</a>*)where, NLGEORGES_FIRST_ROUND, NULL)) +02447 { +02448 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, str.c_str ()); +02449 } +02450 } +02451 <span class="keywordflow">else</span> +02452 { +02453 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getArrayValue"</span>, <span class="stringliteral">"This array is not an array of atom. This is an array of structure."</span>); +02454 } +02455 +02456 <span class="keywordflow">return</span> <span class="keyword">false</span>; +02457 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya26" doxytag="NLGEORGES::CFormElmArray::getArrayValue" ></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::CFormElmArray::getArrayValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a9">uint16</a> & </td> + <td class="mdname" nowrap> <em>result</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </td> + <td class="mdname" nowrap> <em>where</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa27">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02421">2421</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypea11">NLGEORGES::CType::getValue()</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00098">uint16</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02422 { +02423 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>) +02424 { +02425 string str; +02426 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>->getValue (str, Form, safe_cast<const CFormElmAtom*> (Elements[arrayIndex].Element), *ParentDfn, ParentIndex, evaluate, (<a class="code" href="a04558.html#a11">uint32</a>*)where, NLGEORGES_FIRST_ROUND, NULL)) +02427 { +02428 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, str.c_str ()); +02429 } +02430 } +02431 <span class="keywordflow">else</span> +02432 { +02433 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getArrayValue"</span>, <span class="stringliteral">"This array is not an array of atom. This is an array of structure."</span>); +02434 } +02435 +02436 <span class="keywordflow">return</span> <span class="keyword">false</span>; +02437 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya27" doxytag="NLGEORGES::CFormElmArray::getArrayValue" ></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::CFormElmArray::getArrayValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a8">sint16</a> & </td> + <td class="mdname" nowrap> <em>result</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </td> + <td class="mdname" nowrap> <em>where</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa28">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02401">2401</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypea11">NLGEORGES::CType::getValue()</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05981.html#l00097">sint16</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02402 { +02403 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>) +02404 { +02405 string str; +02406 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>->getValue (str, Form, safe_cast<const CFormElmAtom*> (Elements[arrayIndex].Element), *ParentDfn, ParentIndex, evaluate, (<a class="code" href="a04558.html#a11">uint32</a>*)where, NLGEORGES_FIRST_ROUND, NULL)) +02407 { +02408 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, str.c_str ()); +02409 } +02410 } +02411 <span class="keywordflow">else</span> +02412 { +02413 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getArrayValue"</span>, <span class="stringliteral">"This array is not an array of atom. This is an array of structure."</span>); +02414 } +02415 +02416 <span class="keywordflow">return</span> <span class="keyword">false</span>; +02417 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya28" doxytag="NLGEORGES::CFormElmArray::getArrayValue" ></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::CFormElmArray::getArrayValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> & </td> + <td class="mdname" nowrap> <em>result</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </td> + <td class="mdname" nowrap> <em>where</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa29">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02381">2381</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypea11">NLGEORGES::CType::getValue()</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02382 { +02383 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>) +02384 { +02385 string str; +02386 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>->getValue (str, Form, safe_cast<const CFormElmAtom*> (Elements[arrayIndex].Element), *ParentDfn, ParentIndex, evaluate, (<a class="code" href="a04558.html#a11">uint32</a>*)where, NLGEORGES_FIRST_ROUND, NULL)) +02387 { +02388 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, str.c_str ()); +02389 } +02390 } +02391 <span class="keywordflow">else</span> +02392 { +02393 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getArrayValue"</span>, <span class="stringliteral">"This array is not an array of atom. This is an array of structure."</span>); +02394 } +02395 +02396 <span class="keywordflow">return</span> <span class="keyword">false</span>; +02397 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya29" doxytag="NLGEORGES::CFormElmArray::getArrayValue" ></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::CFormElmArray::getArrayValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a6">sint8</a> & </td> + <td class="mdname" nowrap> <em>result</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </td> + <td class="mdname" nowrap> <em>where</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa30">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02361">2361</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypea11">NLGEORGES::CType::getValue()</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05981.html#l00095">sint8</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02362 { +02363 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>) +02364 { +02365 string str; +02366 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>->getValue (str, Form, safe_cast<const CFormElmAtom*> (Elements[arrayIndex].Element), *ParentDfn, ParentIndex, evaluate, (<a class="code" href="a04558.html#a11">uint32</a>*)where, NLGEORGES_FIRST_ROUND, NULL)) +02367 { +02368 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, str.c_str ()); +02369 } +02370 } +02371 <span class="keywordflow">else</span> +02372 { +02373 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getArrayValue"</span>, <span class="stringliteral">"This array is not an array of atom. This is an array of structure."</span>); +02374 } +02375 +02376 <span class="keywordflow">return</span> <span class="keyword">false</span>; +02377 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya30" doxytag="NLGEORGES::CFormElmArray::getArrayValue" ></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::CFormElmArray::getArrayValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </td> + <td class="mdname" nowrap> <em>result</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> </td> + <td class="mdname" nowrap> <em>arrayIndex</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </td> + <td class="mdname" nowrap> <em>where</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> +Get an array value. The node must be an array of atom element.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>result</em> </td><td>is a reference on the value to fill with the result. </td></tr> + <tr><td valign=top><em>arrayIndex</em> </td><td>is the array index to evaluate. </td></tr> + <tr><td valign=top><em>evaluate</em> </td><td>must be true if you want to have an evaluated value, false if you want the formula value. </td></tr> + <tr><td valign=top><em>where</em> </td><td>is a pointer on the information flag of the value. If Where is not NULL, it is filled with the position where the value has been found. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>true if the result has been filled, false if the value has not been found or the cast has failed or the evaluation has failed.</dd></dl> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa31">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02345">2345</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a03622.html#NLGEORGES_1_1CTypea11">NLGEORGES::CType::getValue()</a>, <a class="el" href="a05729.html#l00035">NLGEORGES_FIRST_ROUND</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02346 { +02347 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>) +02348 { +02349 <span class="keywordflow">return</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>->getValue (result, Form, safe_cast<const CFormElmAtom*> (Elements[arrayIndex].Element), *ParentDfn, ParentIndex, evaluate, (<a class="code" href="a04558.html#a11">uint32</a>*)where, NLGEORGES_FIRST_ROUND, NULL)); +02350 } +02351 <span class="keywordflow">else</span> +02352 { +02353 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getArrayValue"</span>, <span class="stringliteral">"This array is not an array of atom. This is an array of structure."</span>); +02354 } +02355 +02356 <span class="keywordflow">return</span> <span class="keyword">false</span>; +02357 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya31" doxytag="NLGEORGES::CFormElmArray::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::CFormElmArray::getDependencies </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::set< std::string > & </td> + <td class="mdname1" valign="top" nowrap> <em>dependencies</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02550.html#NLGEORGES_1_1CFormElma31">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02771">2771</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a06586.html#l00915">NLGEORGES::CType::getDependencies()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>02772 { +02773 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo1">FormDfn</a>) +02774 { +02775 <span class="comment">// Add the dfn</span> +02776 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo1">FormDfn</a>->getDependencies (dependencies); +02777 +02778 <span class="comment">// Add each elements</span> +02779 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> i=0; i<<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size (); i++) +02780 { +02781 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[i].Element->getDependencies (dependencies); +02782 } +02783 } +02784 +02785 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>) +02786 { +02787 <span class="comment">// Add the type</span> +02788 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>->getDependencies (dependencies); +02789 } +02790 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmStructa33" doxytag="NLGEORGES::CFormElmArray::getDfnName" ></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::CFormElm::getDfnName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>dfnName</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the dfn filename for this virtual struct. Must be a virtual struct node. +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma15">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02557.html#NLGEORGES_1_1CFormElmVirtualStructa33">NLGEORGES::CFormElmVirtualStruct</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00194">194</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +<div class="fragment"><pre>00195 { +00196 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00197 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa34" doxytag="NLGEORGES::CFormElmArray::getForm" ></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="a02544.html">CForm</a> * NLGEORGES::CFormElm::getForm </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05728.html#l00353">353</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00231">NLGEORGES::CFormElm::Form</a>. +<p> +Referenced by <a class="el" href="a05728.html#l01671">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00354 { +00355 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp0">Form</a>; +00356 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya34" doxytag="NLGEORGES::CFormElmArray::getFormName" ></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::CFormElmArray::getFormName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </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 <a class="el" href="a02550.html">CFormElm</a> * </td> + <td class="mdname" nowrap> <em>child</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02550.html#NLGEORGES_1_1CFormElma34">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02712">2712</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a02550.html#NLGEORGES_1_1CFormElma34">NLGEORGES::CFormElm::getFormName()</a>, <a class="el" href="a05586.html#l00161">NLMISC::smprintf()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +Referenced by <a class="el" href="a05728.html#l02754">warning()</a>. +<p> +<div class="fragment"><pre>02713 { +02714 <span class="comment">// Reset the result</span> +02715 <span class="keywordflow">if</span> (child == NULL) +02716 { +02717 result = <span class="stringliteral">""</span>; +02718 result.reserve (50); +02719 } +02720 +02721 <span class="comment">// Get parent form name</span> +02722 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp3">ParentNode</a>) +02723 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp3">ParentNode</a>->getFormName (result, <span class="keyword">this</span>); +02724 +02725 <span class="comment">// Get node name</span> +02726 <span class="keywordflow">if</span> (child) +02727 { +02728 <span class="comment">// Look for the child</span> +02729 <a class="code" href="a04558.html#a15">uint</a> i; +02730 <span class="keywordflow">for</span> (i=0; i<<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size (); i++) +02731 { +02732 <span class="comment">// This one ?</span> +02733 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[i].Element == child) +02734 { +02735 <span class="keywordtype">char</span> name[512]; +02736 <a class="code" href="a05378.html#a259">smprintf</a> (name, 512, <span class="stringliteral">"[%d]"</span>, i); +02737 +02738 <span class="comment">// Add the field name</span> +02739 result += name; +02740 <span class="keywordflow">break</span>; +02741 } +02742 } +02743 +02744 <span class="comment">// Draw some warning</span> +02745 <span class="keywordflow">if</span> (i==<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size ()) +02746 { +02747 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getFormName"</span>, <span class="stringliteral">"Child node not found."</span>); +02748 } +02749 } +02750 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructf0" doxytag="NLGEORGES::CFormElmArray::getIternalNodeByName" ></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::CFormElm::getIternalNodeByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02544.html">CForm</a> * </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 char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02546.html">CFormDfn</a> ** </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> & </td> + <td class="mdname" nowrap> <em>indexDfn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02546.html">CFormDfn</a> ** </td> + <td class="mdname" nowrap> <em>nodeDfn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03622.html">CType</a> ** </td> + <td class="mdname" nowrap> <em>nodeType</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02550.html">CFormElm</a> ** </td> + <td class="mdname" nowrap> <em>node</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02547.html#NLGEORGES_1_1UFormDfnw3">UFormDfn::TEntryType</a> & </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>array</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3">TNodeAction</a> </td> + <td class="mdname" nowrap> <em>action</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>created</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>parentVDfnArray</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>verbose</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> </td> + <td class="mdname" nowrap> <em>round</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static, protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Is createNode == Create, (*node)->Form must be == to the form argument. Is createNode == Return, form argument is not used, can be undefined.<p> +Only form, name, and action, must be defined. Then, else (*parentDfn / indexDfn ) or *node must be defined. Others value are for result only. +<p> +Definition at line <a class="el" href="a05728.html#l00764">764</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l02002">NLGEORGES::CFormElmStruct::build()</a>, <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx0">NLGEORGES::CFormElm::Create</a>, <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx1">NLGEORGES::CFormElm::Delete</a>, <a class="el" href="a05729.html#l00335">NLGEORGES::CFormElmVirtualStruct::DfnFilename</a>, <a class="el" href="a05729.html#l00414">Elements</a>, <a class="el" href="a05729.html#l00318">NLGEORGES::CFormElmStruct::Elements</a>, <a class="el" href="a05727.html#l00245">NLGEORGES::CFormDfn::Entries</a>, <a class="el" href="a05729.html#l00277">NLGEORGES::CFormElmStruct::FormDfn</a>, <a class="el" href="a05726.html#l00532">NLGEORGES::CFormDfn::CEntry::getArrayFlag()</a>, <a class="el" href="a05726.html#l00567">NLGEORGES::CFormDfn::CEntry::getDfnPtr()</a>, <a class="el" href="a05726.html#l00435">NLGEORGES::CFormDfn::getEntry()</a>, <a class="el" href="a05724.html#l00351">NLGEORGES::CForm::getFilename()</a>, <a class="el" href="a02550.html#NLGEORGES_1_1CFormElma34">NLGEORGES::CFormElm::getFormName()</a>, <a class="el" href="a05728.html#l02059">NLGEORGES::CFormElmStruct::getFormName()</a>, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma17">NLGEORGES::UFormElm::getNodeByName()</a>, <a class="el" href="a05724.html#l00316">NLGEORGES::CForm::getParent()</a>, <a class="el" href="a05724.html#l00330">NLGEORGES::CForm::getParentCount()</a>, <a class="el" href="a05724.html#l00078">NLGEORGES::CForm::getRootNode()</a>, <a class="el" href="a05726.html#l00539">NLGEORGES::CFormDfn::CEntry::getType()</a>, <a class="el" href="a05726.html#l00560">NLGEORGES::CFormDfn::CEntry::getTypePtr()</a>, <a class="el" href="a05728.html#l00053">NLGEORGES::CFormElm::isArray()</a>, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma48">NLGEORGES::UFormElm::isVirtualStruct()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05729.html#l00036">NLGEORGES_MAX_RECURSION</a>, <a class="el" href="a05622.html#l00416">nlstop</a>, <a class="el" href="a05622.html#l00355">nlverify</a>, <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx2">NLGEORGES::CFormElm::Return</a>, <a class="el" href="a05586.html#l00161">NLMISC::smprintf()</a>, <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmy4NLGEORGES_1_1CFormElmy0">NLGEORGES::CFormElm::TokenArrayBegin</a>, <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmy4NLGEORGES_1_1CFormElmy1">NLGEORGES::CFormElm::TokenArrayEnd</a>, <a class="el" href="a05728.html#l01482">NLGEORGES::CFormElm::tokenize()</a>, <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmy4NLGEORGES_1_1CFormElmy2">NLGEORGES::CFormElm::TokenPoint</a>, <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmy4NLGEORGES_1_1CFormElmy3">NLGEORGES::CFormElm::TokenString</a>, <a class="el" href="a06587.html#l00072">NLGEORGES::CType::Type</a>, <a class="el" href="a05646.html#l00244">type</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05728.html#l01524">NLGEORGES::CFormElm::unlink()</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +Referenced by <a class="el" href="a05728.html#l00719">NLGEORGES::CFormElm::arrayDeleteNodeByName()</a>, <a class="el" href="a05728.html#l00645">NLGEORGES::CFormElm::arrayInsertNodeByName()</a>, <a class="el" href="a05728.html#l00596">NLGEORGES::CFormElm::createNodeByName()</a>, <a class="el" href="a05728.html#l00612">NLGEORGES::CFormElm::deleteNodeByName()</a>, and <a class="el" href="a05728.html#l00629">NLGEORGES::CFormElm::getNodeByName()</a>. +<p> +<div class="fragment"><pre>00765 { +00766 <span class="comment">// *** Init output variables</span> +00767 created = <span class="keyword">false</span>; +00768 parentVDfnArray = <span class="keyword">false</span>; +00769 +00770 <span class="comment">// ParentDfn or Node..</span> +00771 <a class="code" href="a04199.html#a6">nlassert</a> ( (*parentDfn) || (*node) ); +00772 +00773 <span class="comment">// Error message</span> +00774 <span class="keywordtype">char</span> error[512]; +00775 +00776 <span class="comment">// Parent exist ?</span> +00777 <span class="keywordflow">if</span> (*parentDfn) +00778 { +00779 <span class="comment">// Get the entry</span> +00780 <span class="keyword">const</span> CFormDfn::CEntry &theEntry = (*parentDfn)->getEntry (indexDfn); +00781 +00782 <span class="comment">// Get the type</span> +00783 <a class="code" href="a04223.html#a581">type</a> = theEntry.getType (); +00784 *nodeType = theEntry.getTypePtr (); +00785 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a> == UFormDfn::EntryVirtualDfn) +00786 { +00787 <span class="keywordflow">if</span> (*node) +00788 *nodeDfn = safe_cast <CFormElmVirtualStruct*> (*node)->FormDfn; +00789 <span class="keywordflow">else</span> +00790 *nodeDfn = NULL; +00791 } +00792 <span class="keywordflow">else</span> +00793 *nodeDfn = theEntry.getDfnPtr (); +00794 array = theEntry.getArrayFlag (); +00795 } +00796 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (*node) +00797 { +00798 <a class="code" href="a04199.html#a6">nlassert</a> (!(*node)->isArray ()); +00799 indexDfn = 0xffffffff; +00800 *nodeType = (*node)->isAtom () ? safe_cast<CFormElmAtom*>(*node)->Type : NULL; +00801 *nodeDfn = (*node)->isStruct () ? (<span class="keyword">const</span> CFormDfn *)(safe_cast<CFormElmStruct*>(*node)->FormDfn) : NULL; +00802 <a class="code" href="a04223.html#a581">type</a> = (*node)->isAtom () ? UFormDfn::EntryType : (*node)->isVirtualStruct () ? UFormDfn::EntryVirtualDfn : UFormDfn::EntryDfn; +00803 array = <span class="keyword">false</span>; +00804 } +00805 +00806 <span class="comment">// Check node pointer</span> +00807 <span class="keywordflow">if</span> (action == <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx0">Create</a>) +00808 { +00809 <a class="code" href="a04199.html#a6">nlassert</a> (*node); +00810 <a class="code" href="a04199.html#a6">nlassert</a> ((*node)->getForm () == form); +00811 } +00812 +00813 <span class="comment">// Backup current node</span> +00814 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a> *backupFirstElm = *node; +00815 +00816 <span class="comment">// *** Parsing variables</span> +00817 +00818 <span class="comment">// Current token start and end</span> +00819 <span class="keyword">const</span> <span class="keywordtype">char</span> *startToken = name; +00820 <span class="keyword">const</span> <span class="keywordtype">char</span> *endToken; +00821 +00822 <span class="comment">// Current token start</span> +00823 string token; +00824 +00825 <span class="comment">// Current form name</span> +00826 string currentName; +00827 <span class="keywordflow">if</span> (*node) +00828 (*node)->getFormName (currentName); +00829 +00830 <span class="comment">// Error</span> +00831 <a class="code" href="a04558.html#a15">uint</a> errorIndex; +00832 +00833 <span class="comment">// Token code</span> +00834 <a class="code" href="a04558.html#a15">uint</a> code; +00835 +00836 <span class="comment">// Are we parsing an array ?</span> +00837 <span class="keywordtype">bool</span> inArrayIndex = <span class="keyword">false</span>; +00838 +00839 <span class="comment">// Index in the array</span> +00840 <a class="code" href="a04558.html#a15">uint</a> arrayIndex; +00841 +00842 <span class="comment">// Bool next token must be an array index</span> +00843 <span class="keywordtype">bool</span> wantArrayIndex = <span class="keyword">false</span>; +00844 +00845 <span class="comment">// Last struct elm</span> +00846 CFormElmStruct *lastStructElm = ((*node)->ParentNode && (*node)->ParentNode->isStruct ()) ? safe_cast<CFormElmStruct*> ((*node)->ParentNode) : NULL; +00847 <a class="code" href="a04558.html#a15">uint</a> lastStructIndex = 0; +00848 <span class="keywordflow">if</span> (lastStructElm) +00849 { +00850 <span class="comment">// Look for node in the parent</span> +00851 <span class="keywordflow">for</span> (; lastStructIndex<lastStructElm->Elements.size (); lastStructIndex++) +00852 { +00853 <span class="comment">// The same node ?</span> +00854 <span class="keywordflow">if</span> (lastStructElm->Elements[lastStructIndex].Element == (*node)) +00855 <span class="keywordflow">break</span>; +00856 } +00857 +00858 <span class="comment">// Must have been found</span> +00859 <a class="code" href="a04199.html#a6">nlassert</a> (lastStructIndex<lastStructElm-><a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size ()); +00860 } +00861 +00862 <span class="comment">// While there is tokens</span> +00863 <span class="keywordflow">while</span> ((endToken = <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructe0">tokenize</a> (startToken, token, errorIndex, code))) +00864 { +00865 <span class="comment">// Ready an array index ?</span> +00866 <span class="keywordflow">if</span> (!inArrayIndex) +00867 { +00868 <span class="comment">// For each code</span> +00869 <span class="keywordflow">switch</span> (code) +00870 { +00871 <span class="keywordflow">case</span> TokenString: +00872 { +00873 <span class="comment">// Need an array index array ?</span> +00874 <span class="keywordflow">if</span> (wantArrayIndex) +00875 { +00876 <span class="comment">// Error message</span> +00877 <a class="code" href="a05378.html#a259">smprintf</a> (error, 512, <span class="stringliteral">"Token (%s) should be an array index."</span>, token.c_str()); +00878 <span class="keywordflow">goto</span> exit; +00879 } +00880 +00881 <span class="comment">// Are we a struct ?</span> +00882 <span class="keywordflow">if</span> ( ((<a class="code" href="a04223.html#a581">type</a> == UFormDfn::EntryDfn) || (<a class="code" href="a04223.html#a581">type</a> == UFormDfn::EntryVirtualDfn)) <span class="comment">/*&& (!array)*/</span> ) +00883 { +00884 <span class="comment">// Check the virtual DFN is not empty..</span> +00885 <span class="keywordflow">if</span> ( (<a class="code" href="a04223.html#a581">type</a> == UFormDfn::EntryVirtualDfn) && (*nodeDfn == NULL) ) +00886 { +00887 <span class="comment">// Is it a parent virtual DFN ?</span> +00888 <span class="keywordflow">if</span> ( (<a class="code" href="a04223.html#a581">type</a> == UFormDfn::EntryVirtualDfn) && (*node == NULL) ) +00889 parentVDfnArray = <span class="keyword">true</span>; +00890 +00891 <span class="comment">// Create mode ?</span> +00892 <span class="keywordflow">if</span> (action == <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx0">Create</a>) +00893 { +00894 <span class="comment">// Should have a valid node</span> +00895 <a class="code" href="a04199.html#a6">nlassert</a> (*node && lastStructElm); +00896 +00897 <span class="comment">// Get the current virtual dfn</span> +00898 CFormElmVirtualStruct *vStruct = safe_cast<CFormElmVirtualStruct*> (*node); +00899 +00900 <span class="comment">// Get the form name of the current node</span> +00901 string formName; +00902 vStruct->getFormName (formName, NULL); +00903 +00904 <span class="comment">// Get the parent node if available</span> +00905 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> parent=0; parent<form->getParentCount (); parent++) +00906 { +00907 <span class="comment">// Get the parent</span> +00908 CForm *parentPtr = form->getParent (parent); +00909 <a class="code" href="a04199.html#a6">nlassert</a> (parentPtr); +00910 +00911 <span class="comment">// Get the virtual node by name</span> +00912 UFormElm *uelm; +00913 <span class="keywordflow">if</span> (parentPtr->getRootNode ().getNodeByName (&uelm, formName.c_str (), NULL, verbose, round+1) && uelm) +00914 { +00915 <span class="comment">// Value node ?</span> +00916 <span class="keywordflow">if</span> (uelm->isVirtualStruct ()) +00917 { +00918 <span class="comment">// Get a virtual struct pointer</span> +00919 CFormElmVirtualStruct *vStructParent = safe_cast<CFormElmVirtualStruct*> (uelm); +00920 +00921 <span class="comment">// Copy the DFN filename</span> +00922 vStruct->DfnFilename = vStructParent->DfnFilename; +00923 +00924 <span class="comment">// Build it</span> +00925 vStruct->build (vStructParent->FormDfn); +00926 +00927 <span class="comment">// Set the current DFN</span> +00928 *nodeDfn = vStruct->FormDfn; +00929 +00930 <span class="comment">// Stop looking for parent</span> +00931 <span class="keywordflow">break</span>; +00932 } +00933 <span class="keywordflow">else</span> +00934 { +00935 <span class="comment">// Error message</span> +00936 <a class="code" href="a05378.html#a259">smprintf</a> (error, 512, <span class="stringliteral">"Internal node parsing error."</span>); +00937 <span class="keywordflow">goto</span> exit; +00938 } +00939 } +00940 } +00941 } +00942 +00943 <span class="comment">// Still no DFN ?</span> +00944 <span class="keywordflow">if</span> (*nodeDfn == NULL) +00945 { +00946 <span class="comment">// Error message</span> +00947 <a class="code" href="a05378.html#a259">smprintf</a> (error, 512, <span class="stringliteral">"Empty virtual struct element. Can't look into it while it is not defined."</span>); +00948 <span class="keywordflow">goto</span> exit; +00949 } +00950 } +00951 +00952 <span class="comment">// Must hjave a nodeDfn here</span> +00953 <a class="code" href="a04199.html#a6">nlassert</a> (*nodeDfn); +00954 +00955 <span class="comment">// Look for the element</span> +00956 <span class="comment">// uint elementCount = (*nodeDfn)->getNumEntry ();</span> +00957 +00958 <span class="comment">// Get the parents</span> +00959 vector<const CFormDfn*> arrayDfn; +00960 arrayDfn.reserve ((*nodeDfn)->countParentDfn ()); +00961 (*nodeDfn)->getParentDfn (arrayDfn); +00962 +00963 <span class="comment">// For each parent</span> +00964 <a class="code" href="a04558.html#a15">uint</a> i; +00965 <a class="code" href="a04558.html#a15">uint</a> formElm = 0; +00966 <span class="keywordflow">for</span> (i=0; i<arrayDfn.size(); i++) +00967 { +00968 <span class="comment">// The dfn</span> +00969 <span class="keyword">const</span> CFormDfn &dfn = *(arrayDfn[i]); +00970 +00971 <span class="comment">// For each elements</span> +00972 <a class="code" href="a04558.html#a15">uint</a> element; +00973 <span class="keywordflow">for</span> (element=0; element<dfn.Entries.size(); element++) +00974 { +00975 <span class="comment">// Good name ?</span> +00976 <span class="keywordflow">if</span> (dfn.Entries[element].Name == token) +00977 { +00978 <span class="comment">// Good one.</span> +00979 *parentDfn = &dfn; +00980 indexDfn = element; +00981 *nodeDfn = dfn.Entries[element].Dfn; +00982 *nodeType = dfn.Entries[element].Type; +00983 <a class="code" href="a04223.html#a581">type</a> = dfn.Entries[element].TypeElement; +00984 array = dfn.Entries[element].Array; +00985 wantArrayIndex = array; +00986 +00987 <span class="comment">// Next node</span> +00988 <span class="keywordflow">if</span> (*node) +00989 { +00990 <span class="comment">// Get next node</span> +00991 CFormElmStruct *nodeStruct = safe_cast<CFormElmStruct*> (*node); +00992 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a> *nextElt = nodeStruct->Elements[formElm].Element; +00993 +00994 <span class="comment">// If no next node, watch for parent node</span> +00995 *node = nextElt; +00996 +00997 <span class="comment">// Create node</span> +00998 <span class="keywordflow">if</span> ( (action == <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx0">Create</a>) && (*node == NULL) ) +00999 { +01000 <span class="comment">// Is an array ?</span> +01001 <span class="keywordflow">if</span> (array) +01002 { +01003 <span class="comment">// Create an atom</span> +01004 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya2">CFormElmArray</a> *atom = <span class="keyword">new</span> <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya2">CFormElmArray</a> (form, *nodeDfn, *nodeType, nodeStruct, *parentDfn, indexDfn); +01005 *node = atom; +01006 } +01007 <span class="keywordflow">else</span> +01008 { +01009 <span class="comment">// What kind of node ?</span> +01010 <span class="keywordflow">switch</span> (<a class="code" href="a04223.html#a581">type</a>) +01011 { +01012 <span class="keywordflow">case</span> UFormDfn::EntryType: +01013 { +01014 <span class="comment">// Create an atom</span> +01015 CFormElmAtom *atom = <span class="keyword">new</span> CFormElmAtom (form, nodeStruct, *parentDfn, indexDfn); +01016 *node = atom; +01017 } +01018 <span class="keywordflow">break</span>; +01019 <span class="keywordflow">case</span> UFormDfn::EntryDfn: +01020 { +01021 CFormElmStruct *_struct = <span class="keyword">new</span> CFormElmStruct (form, nodeStruct, *parentDfn, indexDfn); +01022 _struct->build (*nodeDfn); +01023 *node = _struct; +01024 } +01025 <span class="keywordflow">break</span>; +01026 <span class="keywordflow">case</span> UFormDfn::EntryVirtualDfn: +01027 *node = <span class="keyword">new</span> CFormElmVirtualStruct (form, nodeStruct, *parentDfn, indexDfn); +01028 <span class="keywordflow">break</span>; +01029 <span class="keywordflow">default</span>: +01030 <a class="code" href="a04199.html#a12">nlstop</a>; +01031 } +01032 } +01033 +01034 <span class="comment">// Node created</span> +01035 created = <span class="keyword">true</span>; +01036 +01037 <span class="comment">// Set the node in parent</span> +01038 nodeStruct->Elements[formElm].Element = *node; +01039 } +01040 +01041 <span class="comment">// Is a virtual DFN ?</span> +01042 <span class="keywordflow">if</span> ((*node) && (*node)->isVirtualStruct ()) +01043 { +01044 <span class="comment">// Should be NULL</span> +01045 <a class="code" href="a04199.html#a6">nlassert</a> (*nodeDfn == NULL); +01046 +01047 <span class="comment">// Set the current dfn</span> +01048 *nodeDfn = safe_cast<const CFormElmVirtualStruct*> (*node)->FormDfn; +01049 } +01050 +01051 <span class="comment">// Save last struct</span> +01052 lastStructElm = nodeStruct; +01053 lastStructIndex = formElm; +01054 } +01055 <span class="keywordflow">else</span> +01056 { +01057 <span class="comment">// Save last struct</span> +01058 <span class="comment">// CFormElmStruct *lastStructElm = NULL;</span> +01059 <span class="comment">//uint lastStructIndex = 0xffffffff;</span> +01060 +01061 *node = NULL; +01062 } +01063 +01064 <span class="keywordflow">break</span>; +01065 } +01066 formElm++; +01067 } +01068 +01069 <span class="comment">// Breaked ?</span> +01070 <span class="keywordflow">if</span> (element!=dfn.Entries.size()) +01071 <span class="keywordflow">break</span>; +01072 } +01073 +01074 <span class="comment">// Breaked ?</span> +01075 <span class="keywordflow">if</span> (i==arrayDfn.size()) +01076 { +01077 <span class="comment">// Not found</span> +01078 <a class="code" href="a05378.html#a259">smprintf</a> (error, 512, <span class="stringliteral">"Struct does not contain element named (%s)."</span>, token.c_str()); +01079 <span class="keywordflow">goto</span> exit; +01080 } +01081 } +01082 <span class="keywordflow">else</span> +01083 { +01084 <span class="comment">// Error message</span> +01085 <a class="code" href="a05378.html#a259">smprintf</a> (error, 512, <span class="stringliteral">"Not a struct element. Can't open the node (%s)."</span>, token.c_str()); +01086 <span class="keywordflow">goto</span> exit; +01087 } +01088 } +01089 <span class="keywordflow">break</span>; +01090 <span class="keywordflow">case</span> TokenPoint: +01091 { +01092 <span class="comment">// Need an array index array ?</span> +01093 <span class="keywordflow">if</span> (wantArrayIndex) +01094 { +01095 <span class="comment">// Error message</span> +01096 <a class="code" href="a05378.html#a259">smprintf</a> (error, 512, <span class="stringliteral">"Token (%s) should be an array index."</span>, token.c_str()); +01097 <span class="keywordflow">goto</span> exit; +01098 } +01099 +01100 <span class="comment">// Are we a struct ?</span> +01101 <span class="keywordflow">if</span> ((<a class="code" href="a04223.html#a581">type</a> != UFormDfn::EntryDfn) && (<a class="code" href="a04223.html#a581">type</a> != UFormDfn::EntryVirtualDfn)) +01102 { +01103 <span class="comment">// Error message</span> +01104 <a class="code" href="a05378.html#a259">smprintf</a> (error, 512, <span class="stringliteral">"Not a struct element. Can't open the node (%s)."</span>, token.c_str()); +01105 <span class="keywordflow">goto</span> exit; +01106 } +01107 } +01108 <span class="keywordflow">break</span>; +01109 <span class="keywordflow">case</span> TokenArrayBegin: +01110 { +01111 <span class="comment">// Are we an array ?</span> +01112 <span class="keywordflow">if</span> (!array) +01113 { +01114 <span class="comment">// Error message</span> +01115 <a class="code" href="a05378.html#a259">smprintf</a> (error, 512, <span class="stringliteral">"Not an array element. Can't open the node (%s)."</span>, token.c_str()); +01116 <span class="keywordflow">goto</span> exit; +01117 } +01118 inArrayIndex = <span class="keyword">true</span>; +01119 arrayIndex = 0xffffffff; +01120 } +01121 <span class="keywordflow">break</span>; +01122 <span class="keywordflow">default</span>: +01123 { +01124 <span class="comment">// Error message</span> +01125 <a class="code" href="a05378.html#a259">smprintf</a> (error, 512, <span class="stringliteral">"Syntax error at keyword (%s)."</span>, token.c_str ()); +01126 <span class="keywordflow">goto</span> exit; +01127 } +01128 <span class="keywordflow">break</span>; +01129 } +01130 } +01131 <span class="keywordflow">else</span> +01132 { +01133 <span class="keywordflow">switch</span> (code) +01134 { +01135 <span class="keywordflow">case</span> TokenString: +01136 { +01137 <span class="comment">// To int</span> +01138 <span class="keywordflow">if</span> (sscanf (token.c_str(), <span class="stringliteral">"%d"</span>, &arrayIndex)!=1) +01139 { +01140 <span class="comment">// Error message</span> +01141 <a class="code" href="a05378.html#a259">smprintf</a> (error, 512, <span class="stringliteral">"Keyword (%s) is not an array index."</span>, token.c_str()); +01142 <span class="keywordflow">goto</span> exit; +01143 } +01144 +01145 <span class="comment">// Is it a parent virtual DFN ?</span> +01146 <span class="keywordflow">if</span> (*node == NULL) +01147 parentVDfnArray = <span class="keyword">true</span>; +01148 +01149 <span class="comment">// Should have an array defined</span> +01150 <span class="keywordflow">if</span> (*node) +01151 { +01152 <span class="comment">// Check index</span> +01153 <a class="code" href="a04558.html#a15">uint</a> arraySize; +01154 <a class="code" href="a04199.html#a9">nlverify</a> ((*node)->getArraySize (arraySize)); +01155 <span class="keywordflow">if</span> (arrayIndex>=arraySize) +01156 { +01157 <span class="comment">// Create mode ?</span> +01158 <span class="keywordflow">if</span> (action == <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx0">Create</a>) +01159 { +01160 <span class="comment">// Must be in the same form</span> +01161 <a class="code" href="a04199.html#a6">nlassert</a> ((*node)->Form == form); +01162 +01163 <span class="comment">// The array pointer</span> +01164 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya2">CFormElmArray</a> *array = safe_cast<CFormElmArray*>(*node); +01165 <a class="code" href="a04558.html#a15">uint</a> oldSize = array->Elements.size (); +01166 array->Elements.resize (arrayIndex+1); +01167 +01168 <span class="comment">// Insert empty element</span> +01169 <a class="code" href="a04558.html#a15">uint</a> i; +01170 <span class="keywordflow">for</span> (i=oldSize; i<array->Elements.size (); i++) +01171 { +01172 <span class="comment">// The new element</span> +01173 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a> *newelm = NULL; +01174 <span class="keywordflow">switch</span> (<a class="code" href="a04223.html#a581">type</a>) +01175 { +01176 <span class="keywordflow">case</span> UFormDfn::EntryType: +01177 { +01178 <span class="comment">// Create an atom</span> +01179 CFormElmAtom *atom = <span class="keyword">new</span> CFormElmAtom (form, array, *parentDfn, indexDfn); +01180 newelm = atom; +01181 } +01182 <span class="keywordflow">break</span>; +01183 <span class="keywordflow">case</span> UFormDfn::EntryDfn: +01184 { +01185 CFormElmStruct *_struct = <span class="keyword">new</span> CFormElmStruct (form, array, *parentDfn, indexDfn); +01186 _struct->build (*nodeDfn); +01187 newelm = _struct; +01188 } +01189 <span class="keywordflow">break</span>; +01190 <span class="keywordflow">case</span> UFormDfn::EntryVirtualDfn: +01191 <span class="comment">// todo array of virtual struct</span> +01192 <span class="comment">//newelm = new CFormElmVirtualStruct (form, array, *parentDfn, indexDfn);</span> +01193 <span class="keywordflow">break</span>; +01194 <span class="keywordflow">default</span>: +01195 <a class="code" href="a04199.html#a12">nlstop</a>; +01196 } +01197 +01198 <a class="code" href="a04199.html#a6">nlassert</a> (newelm); +01199 +01200 <span class="comment">// Node created</span> +01201 created = <span class="keyword">true</span>; +01202 +01203 <span class="comment">// Set the element pointer</span> +01204 array->Elements[i].Element = newelm; +01205 } +01206 } +01207 <span class="keywordflow">else</span> +01208 { +01209 <span class="comment">// Error message</span> +01210 <a class="code" href="a05378.html#a259">smprintf</a> (error, 512, <span class="stringliteral">"Out of array bounds (%d >= %d)."</span>, arrayIndex, arraySize); +01211 <span class="keywordflow">goto</span> exit; +01212 } +01213 } +01214 } +01215 <span class="keywordflow">else</span> +01216 { +01217 <span class="comment">// Error message</span> +01218 <a class="code" href="a05378.html#a259">smprintf</a> (error, 512, <span class="stringliteral">"Array is not defined."</span>); +01219 <span class="keywordflow">goto</span> exit; +01220 } +01221 } +01222 <span class="keywordflow">break</span>; +01223 <span class="keywordflow">case</span> TokenArrayEnd: +01224 { +01225 <span class="comment">// No need of an array index any more</span> +01226 wantArrayIndex = <span class="keyword">false</span>; +01227 +01228 <span class="comment">// Index found ?</span> +01229 <span class="keywordflow">if</span> (arrayIndex == 0xffffffff) +01230 { +01231 <span class="comment">// Error message</span> +01232 <a class="code" href="a05378.html#a259">smprintf</a> (error, 512, <span class="stringliteral">"Missing array index."</span>); +01233 } +01234 <span class="keywordflow">else</span> +01235 { +01236 <span class="comment">// Let the parent DFN</span> +01237 <a class="code" href="a04199.html#a6">nlassert</a> (*parentDfn); +01238 +01239 <span class="comment">// New current node</span> +01240 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya2">CFormElmArray</a> *parentNode = safe_cast<CFormElmArray*> (*node); +01241 +01242 <span class="comment">// Get the element</span> +01243 *node = parentNode->Elements[arrayIndex].Element; +01244 +01245 <span class="comment">// Is a dfn ?</span> +01246 *nodeDfn = (*parentDfn)->getEntry (indexDfn).getDfnPtr (); +01247 +01248 <span class="comment">// Is a type ?</span> +01249 *nodeType = (*parentDfn)->getEntry (indexDfn).getTypePtr (); +01250 +01251 <span class="comment">// Type ?</span> +01252 <a class="code" href="a04223.html#a581">type</a> = (*parentDfn)->getEntry (indexDfn).getType (); +01253 +01254 <span class="comment">// Can't be an array of array</span> +01255 array = <span class="keyword">false</span>; +01256 +01257 <span class="comment">// Not any more in index</span> +01258 inArrayIndex = <span class="keyword">false</span>; +01259 +01260 <span class="comment">// What kind of node ?</span> +01261 <span class="keywordflow">if</span> ( (action == <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx0">Create</a>) && ( *node == NULL) ) +01262 { +01263 <span class="keywordflow">switch</span> (<a class="code" href="a04223.html#a581">type</a>) +01264 { +01265 <span class="keywordflow">case</span> UFormDfn::EntryType: +01266 { +01267 <span class="comment">// Create an atom</span> +01268 CFormElmAtom *atom = <span class="keyword">new</span> CFormElmAtom (form, parentNode, *parentDfn, indexDfn); +01269 *node = atom; +01270 } +01271 <span class="keywordflow">break</span>; +01272 <span class="keywordflow">case</span> UFormDfn::EntryDfn: +01273 { +01274 CFormElmStruct *_struct = <span class="keyword">new</span> CFormElmStruct (form, parentNode, *parentDfn, indexDfn); +01275 _struct->build (*nodeDfn); +01276 *node = _struct; +01277 } +01278 <span class="keywordflow">break</span>; +01279 <span class="keywordflow">case</span> UFormDfn::EntryVirtualDfn: +01280 <span class="comment">// todo array of virtual struct</span> +01281 <span class="comment">// *node = new CFormElmVirtualStruct (form, parentNode, *parentDfn, indexDfn);</span> +01282 <span class="keywordflow">break</span>; +01283 <span class="keywordflow">default</span>: +01284 <a class="code" href="a04199.html#a12">nlstop</a>; +01285 } +01286 +01287 <a class="code" href="a04199.html#a6">nlassert</a> (*node); +01288 +01289 <span class="comment">// Node created</span> +01290 created = <span class="keyword">true</span>; +01291 +01292 <span class="comment">// Set the element pointer</span> +01293 parentNode->Elements[arrayIndex].Element = *node; +01294 } +01295 +01296 <span class="comment">// Is a virtual DFN ?</span> +01297 <span class="keywordflow">if</span> ((*node) && (*node)->isVirtualStruct ()) +01298 { +01299 <span class="comment">// Should be NULL</span> +01300 <a class="code" href="a04199.html#a6">nlassert</a> (*nodeDfn == NULL); +01301 +01302 <span class="comment">// Set the current dfn</span> +01303 *nodeDfn = safe_cast<const CFormElmVirtualStruct*> (*node)->FormDfn; +01304 } +01305 } +01306 } +01307 <span class="keywordflow">break</span>; +01308 <span class="keywordflow">default</span>: +01309 { +01310 <span class="comment">// Error message</span> +01311 <a class="code" href="a05378.html#a259">smprintf</a> (error, 512, <span class="stringliteral">"Keyword (%s) is not an array index."</span>, token.c_str()); +01312 <span class="keywordflow">goto</span> exit; +01313 } +01314 } +01315 } +01316 +01317 <span class="comment">// Concat current adress</span> +01318 currentName += token; +01319 startToken = endToken; +01320 } +01321 exit:; +01322 +01323 <span class="comment">// Error ?</span> +01324 <span class="keywordtype">bool</span> errorAppend = endToken != NULL; +01325 +01326 <span class="comment">// Continue ?</span> +01327 <span class="keywordflow">if</span> (!errorAppend) +01328 { +01329 <span class="comment">// Delete the node ?</span> +01330 <span class="keywordflow">if</span> ( (action == <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx1">Delete</a>) && (*node) ) +01331 { +01332 <span class="comment">// Get its parent</span> +01333 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a> *parent = safe_cast<CFormElm*> ((*node)->getParent ()); +01334 +01335 <span class="comment">// Don't erase the root structure</span> +01336 <span class="keywordflow">if</span> (parent && !parent->isArray ()) +01337 { +01338 <span class="comment">// Unlink the primitive from its parent</span> +01339 parent->unlink (*node); +01340 +01341 <span class="comment">// Erase the node</span> +01342 <span class="keyword">delete</span> (*node); +01343 *node = parent; +01344 parent = (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a>*) (parent->getParent ()); +01345 +01346 <span class="comment">// For each parent</span> +01347 <span class="keywordflow">while</span> (parent && !(*node)->isUsed (form) && !parent->isArray ()) +01348 { +01349 <span class="comment">// Unlink the primitive from its parent</span> +01350 parent->unlink (*node); +01351 +01352 <span class="comment">// Erase it and get next parent</span> +01353 <span class="keyword">delete</span> (*node); +01354 *node = parent; +01355 parent = (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a>*) (parent->getParent ()); +01356 } +01357 +01358 <span class="comment">// No more node</span> +01359 *node = NULL; +01360 } +01361 } +01362 } +01363 +01364 <span class="comment">// Node not found in get node ? Look in parents !</span> +01365 <span class="keywordflow">if</span> ( ((*node) == NULL) && (action == <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx2">Return</a>) && backupFirstElm ) +01366 { +01367 <span class="comment">// Get the path name</span> +01368 string formName; +01369 backupFirstElm->getFormName (formName); +01370 <a class="code" href="a04558.html#a15">uint</a> formNameSize = formName.size (); +01371 <span class="keywordflow">if</span> ((formNameSize > 0) && (formName[formNameSize-1] != <span class="charliteral">'.'</span>) && (formName[formNameSize-1] != <span class="charliteral">'['</span>)) +01372 formName += <span class="stringliteral">"."</span>; +01373 formName += name; +01374 +01375 <span class="comment">// Backup first parent default value</span> +01376 <span class="keywordtype">bool</span> defaultValue = <span class="keyword">false</span>; +01377 <span class="keyword">const</span> CFormDfn *defaultParentDfnParent=0; +01378 <a class="code" href="a04558.html#a15">uint</a> defaultIndexDfnParent=0; +01379 <span class="keyword">const</span> CFormDfn *defaultNodeDfnParent=0; +01380 <span class="keyword">const</span> CType *defaultNodeTypeParent=0; +01381 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a> *defaultNodeParent=0; +01382 UFormDfn::TEntryType defaultTypeParent = UFormDfn::EntryType; +01383 <span class="keywordtype">bool</span> defaultArrayParent=<span class="keyword">false</span>; +01384 <span class="keywordtype">bool</span> defaultCreatedParent=<span class="keyword">false</span>; +01385 <span class="keywordtype">bool</span> defaultParentVDfnArray=<span class="keyword">false</span>; +01386 +01387 <span class="comment">// Look in parent form</span> +01388 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> parent=0; parent<form->getParentCount (); parent++) +01389 { +01390 <span class="comment">// Get the parent</span> +01391 CForm *parentPtr = form->getParent (parent); +01392 <a class="code" href="a04199.html#a6">nlassert</a> (parentPtr); +01393 +01394 <span class="comment">// Get the node by name in the parent</span> +01395 <span class="keyword">const</span> CFormDfn *parentDfnParent = NULL; +01396 <a class="code" href="a04558.html#a15">uint</a> indexDfnParent = 0xffffffff; +01397 <span class="keyword">const</span> CFormDfn *nodeDfnParent = NULL; +01398 <span class="keyword">const</span> CType *nodeTypeParent = NULL; +01399 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a> *nodeParent = (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a>*)&parentPtr->getRootNode (); +01400 UFormDfn::TEntryType typeParent; +01401 <span class="keywordtype">bool</span> arrayParent; +01402 <span class="keywordtype">bool</span> createdParent; +01403 <span class="keywordtype">bool</span> parentVDfnArray; +01404 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructf0">getIternalNodeByName</a> (parentPtr, formName.c_str (), &parentDfnParent, indexDfnParent, &nodeDfnParent, &nodeTypeParent, &nodeParent, typeParent, arrayParent, action, createdParent, parentVDfnArray, <span class="keyword">false</span>, round+1)) +01405 { +01406 <span class="comment">// Node found ?</span> +01407 <span class="keywordflow">if</span> (nodeParent) +01408 { +01409 <span class="comment">// Found copy return values</span> +01410 *parentDfn = parentDfnParent; +01411 indexDfn = indexDfnParent; +01412 *nodeDfn = nodeDfnParent; +01413 *nodeType = nodeTypeParent; +01414 *node = nodeParent; +01415 <a class="code" href="a04223.html#a581">type</a> = typeParent; +01416 array = arrayParent; +01417 created = createdParent; +01418 +01419 <span class="keywordflow">return</span> <span class="keyword">true</span>; +01420 } +01421 <span class="keywordflow">else</span> +01422 { +01423 <span class="comment">// Backup the first parent default value found</span> +01424 <span class="keywordflow">if</span> (!defaultValue) +01425 { +01426 defaultParentDfnParent = parentDfnParent; +01427 defaultIndexDfnParent = indexDfnParent; +01428 defaultNodeDfnParent = nodeDfnParent; +01429 defaultNodeTypeParent = nodeTypeParent; +01430 defaultNodeParent = nodeParent; +01431 defaultTypeParent = typeParent; +01432 defaultArrayParent = arrayParent; +01433 defaultCreatedParent = createdParent; +01434 defaultParentVDfnArray = parentVDfnArray; +01435 defaultValue = <span class="keyword">true</span>; +01436 } +01437 } +01438 } +01439 } +01440 +01441 <span class="comment">// Default value available ?</span> +01442 <span class="keywordflow">if</span> (defaultValue) +01443 { +01444 *parentDfn = defaultParentDfnParent; +01445 indexDfn = defaultIndexDfnParent; +01446 *nodeDfn = defaultNodeDfnParent; +01447 *nodeType = defaultNodeTypeParent; +01448 *node = defaultNodeParent; +01449 <a class="code" href="a04223.html#a581">type</a> = defaultTypeParent; +01450 array = defaultArrayParent; +01451 created = defaultCreatedParent; +01452 <span class="keywordflow">return</span> <span class="keyword">true</span>; +01453 } +01454 } +01455 +01456 <span class="comment">// Recurce warning !</span> +01457 <span class="keywordflow">if</span> (*node) +01458 { +01459 <span class="keywordflow">if</span> (round > <a class="code" href="a04306.html#a1">NLGEORGES_MAX_RECURSION</a>) +01460 { +01461 <span class="comment">// Turn around..</span> +01462 string formName; +01463 (*node)->getFormName (formName); +01464 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, formName.c_str (), form->getFilename ().c_str(), <span class="stringliteral">"getIternalNodeByName"</span>, <span class="stringliteral">"Recurcive call on the same node (%s), look for loop references or inheritances."</span>, name); +01465 <span class="keywordflow">return</span> <span class="keyword">false</span>; +01466 } +01467 } +01468 +01469 <span class="keywordflow">if</span> (verbose && errorAppend) +01470 { +01471 <a class="code" href="a04199.html#a6">nlassert</a> (*error); +01472 +01473 <span class="comment">// Get the best form name</span> +01474 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, currentName.c_str (), form->getFilename ().c_str(), <span class="stringliteral">"getIternalNodeByName"</span>, <span class="stringliteral">"Getting the node (%s) : %s"</span>, name, error); +01475 } +01476 +01477 <span class="keywordflow">return</span> !errorAppend; +01478 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa36" doxytag="NLGEORGES::CFormElmArray::getNodeByName" ></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::CFormElm::getNodeByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02546.html">CFormDfn</a> ** </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> & </td> + <td class="mdname" nowrap> <em>indexDfn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02546.html">CFormDfn</a> ** </td> + <td class="mdname" nowrap> <em>nodeDfn</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03622.html">CType</a> ** </td> + <td class="mdname" nowrap> <em>nodeType</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02550.html">CFormElm</a> ** </td> + <td class="mdname" nowrap> <em>node</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02547.html#NLGEORGES_1_1UFormDfnw3">UFormDfn::TEntryType</a> & </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>array</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>parentVDfnArray</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>verbose</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> </td> + <td class="mdname" nowrap> <em>round</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05728.html#l00629">629</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00231">NLGEORGES::CFormElm::Form</a>, <a class="el" href="a05728.html#l00764">NLGEORGES::CFormElm::getIternalNodeByName()</a>, <a class="el" href="a05729.html#l00237">NLGEORGES::CFormElm::ParentDfn</a>, <a class="el" href="a05729.html#l00240">NLGEORGES::CFormElm::ParentIndex</a>, <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructx3NLGEORGES_1_1CFormElmVirtualStructx2">NLGEORGES::CFormElm::Return</a>, <a class="el" href="a05646.html#l00244">type</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00633 { +00634 *parentDfn = <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp1">ParentDfn</a>; +00635 indexDfn = <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp2">ParentIndex</a>; +00636 *nodeDfn = NULL; +00637 *nodeType = NULL; +00638 *node = (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a>*)<span class="keyword">this</span>; +00639 <span class="keywordtype">bool</span> created; +00640 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructf0">getIternalNodeByName</a> (Form, name, parentDfn, indexDfn, nodeDfn, nodeType, node, type, array, Return, created, parentVDfnArray, verbose, round); +00641 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa37" doxytag="NLGEORGES::CFormElmArray::getNodeByName" ></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::CFormElm::getNodeByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02551.html">UFormElm</a> ** </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 char * </td> + <td class="mdname" nowrap> <em>name</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_1UFormElmw9">TWhereIsNode</a> * </td> + <td class="mdname" nowrap> <em>where</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>verbose</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> </td> + <td class="mdname" nowrap> <em>round</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma16">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00360">360</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00361 { +00362 <span class="keyword">const</span> UFormElm *resultConst = NULL; +00363 <span class="keywordflow">if</span> (((<span class="keyword">const</span> UFormElm*)<span class="keyword">this</span>)->getNodeByName (&resultConst, name, where, verbose, round)) +00364 { +00365 *result = const_cast<UFormElm*> (resultConst); +00366 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00367 } +00368 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00369 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa38" doxytag="NLGEORGES::CFormElmArray::getNodeByName" ></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::CFormElm::getNodeByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02551.html">UFormElm</a> ** </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 char * </td> + <td class="mdname" nowrap> <em>name</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_1UFormElmw9">TWhereIsNode</a> * </td> + <td class="mdname" nowrap> <em>where</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>verbose</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> </td> + <td class="mdname" nowrap> <em>round</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return a node pointer with its name.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>result</em> </td><td>will be filled with the node pointer. Can be NULL if the node doesn't exist. </td></tr> + <tr><td valign=top><em>name</em> </td><td>is the form node name </td></tr> + <tr><td valign=top><em>where</em> </td><td>is a pointer on the information flag of the value. If Where is not NULL, it is filled with the position where the node has been found. If result is NULL, where is undefined. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>true if the result has been filled, false if the node is not referenced.</dd></dl> +About the node existance<p> +An atom node exist if its value are defined. A struct node exist if one of its children exist. An array node exist if one of its children exist. If the node doesn't exist, you can't have a pointer on it with <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa38">getNodeByName()</a>. It returns NULL. But, you can evaluate the value of non-existant atom nodes with <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa66">getValueByName()</a>.<p> +About the form name:<p> +Struct elements name must be separeted by '.' Struct indexes must be between '[' and ']'<p> +Exemple: "position.x" : get the element named x in the struct named position "entities[2].color" : get the node named color in the second element of the entities array +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma17">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00373">373</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00231">NLGEORGES::CFormElm::Form</a>, <a class="el" href="a05646.html#l00244">type</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a05728.html#l00406">NLGEORGES::CFormElm::getValueByName()</a>. +<p> +<div class="fragment"><pre>00374 { +00375 <span class="comment">// The parent Dfn</span> +00376 <span class="keyword">const</span> CFormDfn *parentDfn; +00377 <span class="keyword">const</span> CFormDfn *nodeDfn; +00378 <span class="keyword">const</span> CType *nodeType; +00379 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a> *node; +00380 <a class="code" href="a04558.html#a15">uint</a> indexDfn; +00381 <span class="keywordtype">bool</span> array; +00382 <span class="keywordtype">bool</span> parentVDfnArray; +00383 UFormDfn::TEntryType <a class="code" href="a04223.html#a581">type</a>; +00384 +00385 <span class="comment">// Search for the node</span> +00386 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa38">getNodeByName</a> (name, &parentDfn, indexDfn, &nodeDfn, &nodeType, &node, type, array, parentVDfnArray, verbose, round)) +00387 { +00388 <span class="comment">// Set the result</span> +00389 *result = node; +00390 +00391 <span class="comment">// Where ?</span> +00392 <span class="keywordflow">if</span> (where && node) +00393 { +00394 *where = (node->getForm () == <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp0">Form</a>) ? <a class="code" href="a02551.html#NLGEORGES_1_1UFormElmw9NLGEORGES_1_1UFormElmw4">NodeForm</a> : <a class="code" href="a02551.html#NLGEORGES_1_1UFormElmw9NLGEORGES_1_1UFormElmw5">NodeParentForm</a>; +00395 } +00396 +00397 <span class="comment">// Ok </span> +00398 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00399 } +00400 +00401 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00402 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa39" doxytag="NLGEORGES::CFormElmArray::getParent" ></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="a02551.html">UFormElm</a> * NLGEORGES::CFormElm::getParent </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05728.html#l00589">589</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00234">NLGEORGES::CFormElm::ParentNode</a>. +<p> +<div class="fragment"><pre>00590 { +00591 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp3">ParentNode</a>; +00592 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmAtoma39" doxytag="NLGEORGES::CFormElmArray::getStructDfn" ></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"> virtual <a class="el" href="a02547.html">UFormDfn</a>* NLGEORGES::CFormElm::getStructDfn </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the struct dfn. +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma18">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02555.html#NLGEORGES_1_1CFormElmVirtualStructa40">NLGEORGES::CFormElmStruct</a>. +<p> +Definition at line <a class="el" href="a05729.html#l00134">134</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +<div class="fragment"><pre>00134 { <span class="keywordflow">return</span> NULL; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmAtoma40" doxytag="NLGEORGES::CFormElmArray::getStructNode" ></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::CFormElm::getStructNode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>element</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02551.html">UFormElm</a> ** </td> + <td class="mdname" nowrap> <em>result</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return a mutable element pointer. Can be NULL if the node doesn't exist. +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma19">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02555.html#NLGEORGES_1_1CFormElmVirtualStructa41">NLGEORGES::CFormElmStruct</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00225">225</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00226 { +00227 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getStructNode"</span>, <span class="stringliteral">"This node is not a struct."</span>); +00228 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00229 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmAtoma41" doxytag="NLGEORGES::CFormElmArray::getStructNode" ></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::CFormElm::getStructNode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>element</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02551.html">UFormElm</a> ** </td> + <td class="mdname" nowrap> <em>result</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return a const element pointer. Can be NULL if the node doesn't exist. +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma20">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02555.html#NLGEORGES_1_1CFormElmVirtualStructa42">NLGEORGES::CFormElmStruct</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00217">217</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00218 { +00219 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getStructNode"</span>, <span class="stringliteral">"This node is not a struct."</span>); +00220 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00221 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmAtoma42" doxytag="NLGEORGES::CFormElmArray::getStructNodeName" ></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::CFormElm::getStructNodeName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>element</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::string & </td> + <td class="mdname" nowrap> <em>result</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the element name. +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma21">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02555.html#NLGEORGES_1_1CFormElmVirtualStructa43">NLGEORGES::CFormElmStruct</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00209">209</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00210 { +00211 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getStructNodeName"</span>, <span class="stringliteral">"This node is not a struct."</span>); +00212 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00213 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmAtoma43" doxytag="NLGEORGES::CFormElmArray::getStructSize" ></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::CFormElm::getStructSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>size</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the struct size. +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma22">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02555.html#NLGEORGES_1_1CFormElmVirtualStructa44">NLGEORGES::CFormElmStruct</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00201">201</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00645">size</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00202 { +00203 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getStructSize"</span>, <span class="stringliteral">"This node is not a struct."</span>); +00204 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00205 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa45" doxytag="NLGEORGES::CFormElmArray::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::CFormElm::getValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a> & </td> + <td class="mdname" nowrap> <em>resultname</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">TEval</a> </td> + <td class="mdname" nowrap> <em>evaluate</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Warning, only R, G and B members are filled, not A. +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma23">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02554.html#NLGEORGES_1_1CFormElmAtoma44">NLGEORGES::CFormElmAtom</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00320">320</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00321 { +00322 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getValue"</span>, <span class="stringliteral">"This node is not an atom."</span>); +00323 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00324 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa46" doxytag="NLGEORGES::CFormElmArray::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::CFormElm::getValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool & </td> + <td class="mdname" nowrap> <em>resultname</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">TEval</a> </td> + <td class="mdname" nowrap> <em>evaluate</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma24">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02554.html#NLGEORGES_1_1CFormElmAtoma45">NLGEORGES::CFormElmAtom</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00312">312</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00313 { +00314 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getValue"</span>, <span class="stringliteral">"This node is not an atom."</span>); +00315 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00316 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa47" doxytag="NLGEORGES::CFormElmArray::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::CFormElm::getValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double & </td> + <td class="mdname" nowrap> <em>resultname</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">TEval</a> </td> + <td class="mdname" nowrap> <em>evaluate</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma25">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02554.html#NLGEORGES_1_1CFormElmAtoma46">NLGEORGES::CFormElmAtom</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00304">304</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00305 { +00306 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getValue"</span>, <span class="stringliteral">"This node is not an atom."</span>); +00307 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00308 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa48" doxytag="NLGEORGES::CFormElmArray::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::CFormElm::getValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float & </td> + <td class="mdname" nowrap> <em>resultname</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">TEval</a> </td> + <td class="mdname" nowrap> <em>evaluate</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma26">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02554.html#NLGEORGES_1_1CFormElmAtoma47">NLGEORGES::CFormElmAtom</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00296">296</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00297 { +00298 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getValue"</span>, <span class="stringliteral">"This node is not an atom."</span>); +00299 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00300 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa49" doxytag="NLGEORGES::CFormElmArray::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::CFormElm::getValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> & </td> + <td class="mdname" nowrap> <em>resultname</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">TEval</a> </td> + <td class="mdname" nowrap> <em>evaluate</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma27">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02554.html#NLGEORGES_1_1CFormElmAtoma48">NLGEORGES::CFormElmAtom</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00288">288</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00289 { +00290 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getValue"</span>, <span class="stringliteral">"This node is not an atom."</span>); +00291 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00292 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa50" doxytag="NLGEORGES::CFormElmArray::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::CFormElm::getValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> & </td> + <td class="mdname" nowrap> <em>resultname</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">TEval</a> </td> + <td class="mdname" nowrap> <em>evaluate</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma28">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02554.html#NLGEORGES_1_1CFormElmAtoma49">NLGEORGES::CFormElmAtom</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00280">280</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00281 { +00282 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getValue"</span>, <span class="stringliteral">"This node is not an atom."</span>); +00283 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00284 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa51" doxytag="NLGEORGES::CFormElmArray::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::CFormElm::getValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a9">uint16</a> & </td> + <td class="mdname" nowrap> <em>resultname</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">TEval</a> </td> + <td class="mdname" nowrap> <em>evaluate</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma29">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02554.html#NLGEORGES_1_1CFormElmAtoma50">NLGEORGES::CFormElmAtom</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00272">272</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00098">uint16</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00273 { +00274 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getValue"</span>, <span class="stringliteral">"This node is not an atom."</span>); +00275 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00276 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa52" doxytag="NLGEORGES::CFormElmArray::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::CFormElm::getValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a8">sint16</a> & </td> + <td class="mdname" nowrap> <em>resultname</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">TEval</a> </td> + <td class="mdname" nowrap> <em>evaluate</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma30">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02554.html#NLGEORGES_1_1CFormElmAtoma51">NLGEORGES::CFormElmAtom</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00264">264</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00097">sint16</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00265 { +00266 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getValue"</span>, <span class="stringliteral">"This node is not an atom."</span>); +00267 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00268 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa53" doxytag="NLGEORGES::CFormElmArray::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::CFormElm::getValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> & </td> + <td class="mdname" nowrap> <em>resultname</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">TEval</a> </td> + <td class="mdname" nowrap> <em>evaluate</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma31">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02554.html#NLGEORGES_1_1CFormElmAtoma52">NLGEORGES::CFormElmAtom</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00256">256</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00257 { +00258 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getValue"</span>, <span class="stringliteral">"This node is not an atom."</span>); +00259 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00260 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa54" doxytag="NLGEORGES::CFormElmArray::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::CFormElm::getValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a6">sint8</a> & </td> + <td class="mdname" nowrap> <em>resultname</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">TEval</a> </td> + <td class="mdname" nowrap> <em>evaluate</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma32">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02554.html#NLGEORGES_1_1CFormElmAtoma53">NLGEORGES::CFormElmAtom</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00248">248</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00095">sint8</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00249 { +00250 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getValue"</span>, <span class="stringliteral">"This node is not an atom."</span>); +00251 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00252 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa55" doxytag="NLGEORGES::CFormElmArray::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::CFormElm::getValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </td> + <td class="mdname" nowrap> <em>resultname</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">TEval</a> </td> + <td class="mdname" nowrap> <em>evaluate</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the atom value. The numbers are clamped to the type limit values.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>result</em> </td><td>is the reference on the value to fill with result </td></tr> + <tr><td valign=top><em>evaluate</em> </td><td>must be true if you want to have an evaluated value, false if you want the formula value.</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma33">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02554.html#NLGEORGES_1_1CFormElmAtoma54">NLGEORGES::CFormElmAtom</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00240">240</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00241 { +00242 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getValue"</span>, <span class="stringliteral">"This node is not an atom."</span>); +00243 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00244 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa56" doxytag="NLGEORGES::CFormElmArray::getValueByName" ></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::CFormElm::getValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a> & </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 char * </td> + <td class="mdname" nowrap> <em>name</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </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> </td> + <td class="mdname" nowrap> <em>round</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Warning, only R, G and B members are filled, not A. +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma34">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00575">575</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a05728.html#l00406">NLGEORGES::CFormElm::getValueByName()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00576 { +00577 <span class="comment">// Get the string value</span> +00578 string <a class="code" href="a04223.html#a658">value</a>; +00579 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa66">getValueByName</a> (value, name, evaluate, where, round)) +00580 { +00581 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, <a class="code" href="a04223.html#a658">value</a>.c_str ()); +00582 } +00583 +00584 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00585 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa57" doxytag="NLGEORGES::CFormElmArray::getValueByName" ></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::CFormElm::getValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool & </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 char * </td> + <td class="mdname" nowrap> <em>name</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </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> </td> + <td class="mdname" nowrap> <em>round</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma35">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00561">561</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a05728.html#l00406">NLGEORGES::CFormElm::getValueByName()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00562 { +00563 <span class="comment">// Get the string value</span> +00564 string <a class="code" href="a04223.html#a658">value</a>; +00565 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa66">getValueByName</a> (value, name, evaluate, where, round)) +00566 { +00567 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, <a class="code" href="a04223.html#a658">value</a>.c_str ()); +00568 } +00569 +00570 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00571 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa58" doxytag="NLGEORGES::CFormElmArray::getValueByName" ></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::CFormElm::getValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double & </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 char * </td> + <td class="mdname" nowrap> <em>name</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </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> </td> + <td class="mdname" nowrap> <em>round</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma36">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00547">547</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a05728.html#l00406">NLGEORGES::CFormElm::getValueByName()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00548 { +00549 <span class="comment">// Get the string value</span> +00550 string <a class="code" href="a04223.html#a658">value</a>; +00551 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa66">getValueByName</a> (value, name, evaluate, where, round)) +00552 { +00553 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, <a class="code" href="a04223.html#a658">value</a>.c_str ()); +00554 } +00555 +00556 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00557 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa59" doxytag="NLGEORGES::CFormElmArray::getValueByName" ></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::CFormElm::getValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float & </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 char * </td> + <td class="mdname" nowrap> <em>name</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </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> </td> + <td class="mdname" nowrap> <em>round</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma37">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00533">533</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a05728.html#l00406">NLGEORGES::CFormElm::getValueByName()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00534 { +00535 <span class="comment">// Get the string value</span> +00536 string <a class="code" href="a04223.html#a658">value</a>; +00537 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa66">getValueByName</a> (value, name, evaluate, where, round)) +00538 { +00539 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, <a class="code" href="a04223.html#a658">value</a>.c_str ()); +00540 } +00541 +00542 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00543 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa60" doxytag="NLGEORGES::CFormElmArray::getValueByName" ></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::CFormElm::getValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> & </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 char * </td> + <td class="mdname" nowrap> <em>name</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </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> </td> + <td class="mdname" nowrap> <em>round</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma38">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00519">519</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a05728.html#l00406">NLGEORGES::CFormElm::getValueByName()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00520 { +00521 <span class="comment">// Get the string value</span> +00522 string <a class="code" href="a04223.html#a658">value</a>; +00523 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa66">getValueByName</a> (value, name, evaluate, where, round)) +00524 { +00525 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, <a class="code" href="a04223.html#a658">value</a>.c_str ()); +00526 } +00527 +00528 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00529 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa61" doxytag="NLGEORGES::CFormElmArray::getValueByName" ></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::CFormElm::getValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> & </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 char * </td> + <td class="mdname" nowrap> <em>name</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </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> </td> + <td class="mdname" nowrap> <em>round</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma39">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00505">505</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a05728.html#l00406">NLGEORGES::CFormElm::getValueByName()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00506 { +00507 <span class="comment">// Get the string value</span> +00508 string <a class="code" href="a04223.html#a658">value</a>; +00509 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa66">getValueByName</a> (value, name, evaluate, where, round)) +00510 { +00511 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, <a class="code" href="a04223.html#a658">value</a>.c_str ()); +00512 } +00513 +00514 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00515 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa62" doxytag="NLGEORGES::CFormElmArray::getValueByName" ></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::CFormElm::getValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a9">uint16</a> & </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 char * </td> + <td class="mdname" nowrap> <em>name</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </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> </td> + <td class="mdname" nowrap> <em>round</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma40">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00491">491</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a05728.html#l00406">NLGEORGES::CFormElm::getValueByName()</a>, <a class="el" href="a05981.html#l00098">uint16</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00492 { +00493 <span class="comment">// Get the string value</span> +00494 string <a class="code" href="a04223.html#a658">value</a>; +00495 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa66">getValueByName</a> (value, name, evaluate, where, round)) +00496 { +00497 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, <a class="code" href="a04223.html#a658">value</a>.c_str ()); +00498 } +00499 +00500 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00501 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa63" doxytag="NLGEORGES::CFormElmArray::getValueByName" ></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::CFormElm::getValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a8">sint16</a> & </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 char * </td> + <td class="mdname" nowrap> <em>name</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </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> </td> + <td class="mdname" nowrap> <em>round</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma41">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00477">477</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a05728.html#l00406">NLGEORGES::CFormElm::getValueByName()</a>, <a class="el" href="a05981.html#l00097">sint16</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00478 { +00479 <span class="comment">// Get the string value</span> +00480 string <a class="code" href="a04223.html#a658">value</a>; +00481 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa66">getValueByName</a> (value, name, evaluate, where, round)) +00482 { +00483 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, <a class="code" href="a04223.html#a658">value</a>.c_str ()); +00484 } +00485 +00486 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00487 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa64" doxytag="NLGEORGES::CFormElmArray::getValueByName" ></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::CFormElm::getValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> & </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 char * </td> + <td class="mdname" nowrap> <em>name</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </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> </td> + <td class="mdname" nowrap> <em>round</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma42">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00463">463</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a05728.html#l00406">NLGEORGES::CFormElm::getValueByName()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00464 { +00465 <span class="comment">// Get the string value</span> +00466 string <a class="code" href="a04223.html#a658">value</a>; +00467 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa66">getValueByName</a> (value, name, evaluate, where, round)) +00468 { +00469 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, <a class="code" href="a04223.html#a658">value</a>.c_str ()); +00470 } +00471 +00472 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00473 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa65" doxytag="NLGEORGES::CFormElmArray::getValueByName" ></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::CFormElm::getValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a6">sint8</a> & </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 char * </td> + <td class="mdname" nowrap> <em>name</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </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> </td> + <td class="mdname" nowrap> <em>round</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma43">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00449">449</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a05728.html#l00406">NLGEORGES::CFormElm::getValueByName()</a>, <a class="el" href="a05981.html#l00095">sint8</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00450 { +00451 <span class="comment">// Get the string value</span> +00452 string <a class="code" href="a04223.html#a658">value</a>; +00453 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa66">getValueByName</a> (value, name, evaluate, where, round)) +00454 { +00455 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa14">convertValue</a> (result, <a class="code" href="a04223.html#a658">value</a>.c_str ()); +00456 } +00457 +00458 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00459 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa66" doxytag="NLGEORGES::CFormElmArray::getValueByName" ></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::CFormElm::getValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </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 char * </td> + <td class="mdname" nowrap> <em>name</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">TEval</a> </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="a02551.html#NLGEORGES_1_1UFormElmw10">TWhereIsValue</a> * </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> </td> + <td class="mdname" nowrap> <em>round</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get a form value with its name. The numbers are clamped to the type limit values.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>result</em> </td><td>is a reference on the value to fill with the result. </td></tr> + <tr><td valign=top><em>name</em> </td><td>is the form name of the value to found. </td></tr> + <tr><td valign=top><em>evaluate</em> </td><td>must be true if you want to have an evaluated value, false if you want the formula value. </td></tr> + <tr><td valign=top><em>where</em> </td><td>is a pointer on the information flag of the value. If Where is not NULL, it is filled with the position where the value has been found. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>true if the result has been filled, false if the value has not been found or the cast has failed or the evaluation has failed. </dd></dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa38">getNodeByName</a> ()</dd></dl> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma44">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00406">406</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05729.html#l00231">NLGEORGES::CFormElm::Form</a>, <a class="el" href="a05728.html#l00373">NLGEORGES::CFormElm::getNodeByName()</a>, <a class="el" href="a03622.html#NLGEORGES_1_1CTypea11">NLGEORGES::CType::getValue()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05646.html#l00244">type</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +Referenced by <a class="el" href="a05728.html#l00449">NLGEORGES::CFormElm::getValueByName()</a>. +<p> +<div class="fragment"><pre>00407 { +00408 <span class="comment">// The parent Dfn</span> +00409 <span class="keyword">const</span> CFormDfn *parentDfn; +00410 <span class="keyword">const</span> CFormDfn *nodeDfn; +00411 <span class="keyword">const</span> CType *nodeType; +00412 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a> *node; +00413 <a class="code" href="a04558.html#a15">uint</a> parentIndex; +00414 <span class="keywordtype">bool</span> array; +00415 <span class="keywordtype">bool</span> parentVDfnArray; +00416 UFormDfn::TEntryType <a class="code" href="a04223.html#a581">type</a>; +00417 +00418 <span class="comment">// Search for the node</span> +00419 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa38">getNodeByName</a> (name, &parentDfn, parentIndex, &nodeDfn, &nodeType, &node, type, array, parentVDfnArray, <span class="keyword">true</span>, round)) +00420 { +00421 <span class="comment">// End, return the current index</span> +00422 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a> == UFormDfn::EntryType) +00423 { +00424 <span class="comment">// The atom</span> +00425 <span class="keyword">const</span> CFormElmAtom *atom = node ? safe_cast<const CFormElmAtom*> (node) : NULL; +00426 +00427 <span class="comment">// Evale</span> +00428 <a class="code" href="a04199.html#a6">nlassert</a> (nodeType); +00429 <span class="keywordflow">return</span> (nodeType->getValue (result, Form, atom, *parentDfn, parentIndex, evaluate, (<a class="code" href="a04558.html#a11">uint32</a>*)where, round, name)); +00430 } +00431 <span class="keywordflow">else</span> +00432 { +00433 <span class="comment">// Error message</span> +00434 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getValueByName"</span>, <span class="stringliteral">"The node (%s) is not an atom element. Can't return a value."</span>, name); +00435 } +00436 } +00437 <span class="keywordflow">else</span> +00438 { +00439 <span class="comment">// Error message</span> +00440 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"getValueByName"</span>, <span class="stringliteral">"Can't find the node (%s)."</span>, name); +00441 } +00442 +00443 <span class="comment">// Error</span> +00444 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00445 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya66" doxytag="NLGEORGES::CFormElmArray::isArray" ></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::CFormElmArray::isArray </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return true if the element is an array. +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa67">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02278">2278</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +<div class="fragment"><pre>02279 { +02280 <span class="keywordflow">return</span> <span class="keyword">true</span>; +02281 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa68" doxytag="NLGEORGES::CFormElmArray::isAtom" ></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::CFormElm::isAtom </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return true if the element is an atom. +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma46">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02554.html#NLGEORGES_1_1CFormElmAtoma67">NLGEORGES::CFormElmAtom</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00233">233</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +<div class="fragment"><pre>00234 { +00235 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00236 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmAtoma68" doxytag="NLGEORGES::CFormElmArray::isStruct" ></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::CFormElm::isStruct </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return true if the element is a struct or a virtual struct. +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma47">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02555.html#NLGEORGES_1_1CFormElmVirtualStructa69">NLGEORGES::CFormElmStruct</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00180">180</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +<div class="fragment"><pre>00181 { +00182 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00183 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya69" doxytag="NLGEORGES::CFormElmArray::isUsed" ></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::CFormElmArray::isUsed </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02544.html">CForm</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>form</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmAtoma69">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02700">2700</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +Referenced by <a class="el" href="a05728.html#l02561">write()</a>. +<p> +<div class="fragment"><pre>02701 { +02702 <span class="comment">/*for (uint i=0; i<Elements.size(); i++)</span> +02703 <span class="comment"> {</span> +02704 <span class="comment"> if (Elements[i] && Elements[i]->isUsed (form))</span> +02705 <span class="comment"> return true;</span> +02706 <span class="comment"> }*/</span> +02707 <span class="keywordflow">return</span> form == <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp0">Form</a>; +02708 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmStructa71" doxytag="NLGEORGES::CFormElmArray::isVirtualStruct" ></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::CFormElm::isVirtualStruct </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return true if the element is a virtual struct. +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma48">NLGEORGES::UFormElm</a>. +<p> +Reimplemented in <a class="el" href="a02557.html#NLGEORGES_1_1CFormElmVirtualStructa71">NLGEORGES::CFormElmVirtualStruct</a>. +<p> +Definition at line <a class="el" href="a05728.html#l00187">187</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +<div class="fragment"><pre>00188 { +00189 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00190 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya71" doxytag="NLGEORGES::CFormElmArray::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::CFormElmArray::read </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">xmlNodePtr </td> + <td class="mdname" nowrap> <em>node</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02558.html">CFormLoader</a> & </td> + <td class="mdname" nowrap> <em>loader</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02544.html">CForm</a> * </td> + <td class="mdname" nowrap> <em>form</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05728.html#l02594">2594</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l02264">clean()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05728.html#l01817">NLGEORGES::CFormElmStruct::read()</a>, <a class="el" href="a05728.html#l03001">NLGEORGES::CFormElmAtom::read()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05728.html#l01817">NLGEORGES::CFormElmStruct::read()</a>. +<p> +<div class="fragment"><pre>02595 { +02596 <span class="comment">// Clean the form</span> +02597 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya3">clean</a> (); +02598 +02599 <span class="comment">// Count child</span> +02600 <span class="keywordflow">if</span> (node) +02601 { +02602 <span class="comment">// Type of DFN array</span> +02603 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">Type</a>) +02604 { +02605 <a class="code" href="a04199.html#a6">nlassert</a> (FormDfn == NULL); +02606 +02607 <span class="comment">// Count children</span> +02608 <a class="code" href="a04558.html#a15">uint</a> childCount = CIXml::countChildren (node, <span class="stringliteral">"ATOM"</span>); +02609 +02610 <span class="comment">// Resize the table</span> +02611 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.resize (childCount); +02612 +02613 <span class="comment">// For each children</span> +02614 <a class="code" href="a04558.html#a15">uint</a> childNum=0; +02615 xmlNodePtr child = CIXml::getFirstChildNode (node, <span class="stringliteral">"ATOM"</span>); +02616 <span class="keywordflow">while</span> (child) +02617 { +02618 <span class="comment">// Get node name</span> +02619 <span class="keyword">const</span> <span class="keywordtype">char</span> *name = (<span class="keyword">const</span> <span class="keywordtype">char</span>*)xmlGetProp (child, (xmlChar*)<span class="stringliteral">"Name"</span>); +02620 +02621 <span class="comment">// Create a new node</span> +02622 CFormElmAtom *newElt = <span class="keyword">new</span> CFormElmAtom (form, <span class="keyword">this</span>, ParentDfn, ParentIndex); +02623 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[childNum].Element = newElt; +02624 <span class="keywordflow">if</span> (name) +02625 { +02626 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[childNum].Name = name; +02627 xmlFree ((<span class="keywordtype">void</span>*)name); +02628 } +02629 newElt->read (child, loader, Type, form); +02630 +02631 <span class="comment">// Next child</span> +02632 child = CIXml::getNextChildNode (child, <span class="stringliteral">"ATOM"</span>); +02633 childNum++; +02634 } +02635 } +02636 <span class="keywordflow">else</span> +02637 { +02638 <a class="code" href="a04199.html#a6">nlassert</a> (FormDfn); +02639 <a class="code" href="a04199.html#a6">nlassert</a> (Type == NULL); +02640 +02641 <span class="comment">// Count children</span> +02642 <a class="code" href="a04558.html#a15">uint</a> childCount = CIXml::countChildren (node, <span class="stringliteral">"STRUCT"</span>); +02643 +02644 <span class="comment">// Resize the table</span> +02645 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.resize (childCount); +02646 +02647 <span class="comment">// For each children</span> +02648 <a class="code" href="a04558.html#a15">uint</a> childNum=0; +02649 xmlNodePtr child = CIXml::getFirstChildNode (node, <span class="stringliteral">"STRUCT"</span>); +02650 <span class="keywordflow">while</span> (child) +02651 { +02652 <span class="comment">// Get node name</span> +02653 <span class="keyword">const</span> <span class="keywordtype">char</span> *name = (<span class="keyword">const</span> <span class="keywordtype">char</span>*)xmlGetProp (child, (xmlChar*)<span class="stringliteral">"Name"</span>); +02654 +02655 <span class="comment">// Create a new node</span> +02656 CFormElmStruct *newElt = <span class="keyword">new</span> CFormElmStruct (form, <span class="keyword">this</span>, ParentDfn, ParentIndex); +02657 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[childNum].Element = newElt; +02658 <span class="keywordflow">if</span> (name) +02659 { +02660 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[childNum].Name = name; +02661 xmlFree ((<span class="keywordtype">void</span>*)name); +02662 } +02663 newElt->read (child, loader, FormDfn, form); +02664 +02665 <span class="comment">// Next child</span> +02666 child = CIXml::getNextChildNode (child, <span class="stringliteral">"STRUCT"</span>); +02667 childNum++; +02668 } +02669 } +02670 } +02671 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya72" doxytag="NLGEORGES::CFormElmArray::setParent" ></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::CFormElmArray::setParent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02550.html">CFormElm</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>parent</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05728.html#l02675">2675</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +<div class="fragment"><pre>02676 { +02677 <span class="keywordflow">return</span> <span class="keyword">true</span>; +02678 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa74" doxytag="NLGEORGES::CFormElmArray::setValueByName" ></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::CFormElm::setValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a> </td> + <td class="mdname" nowrap> <em>value</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool * </td> + <td class="mdname" nowrap> <em>created</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma49">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l01647">1647</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01532">NLGEORGES::CFormElm::setValueByName()</a>, <a class="el" href="a05586.html#l00161">NLMISC::smprintf()</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>01648 { +01649 <span class="keywordtype">char</span> tmp[512]; +01650 <a class="code" href="a05378.html#a259">smprintf</a> (tmp, 512, <span class="stringliteral">"%d,%d,%d"</span>, <a class="code" href="a04223.html#a658">value</a>.R, <a class="code" href="a04223.html#a658">value</a>.G, <a class="code" href="a04223.html#a658">value</a>.B); +01651 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa84">setValueByName</a> (tmp, name, created); +01652 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa75" doxytag="NLGEORGES::CFormElmArray::setValueByName" ></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::CFormElm::setValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname" nowrap> <em>value</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool * </td> + <td class="mdname" nowrap> <em>created</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma50">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l01640">1640</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01532">NLGEORGES::CFormElm::setValueByName()</a>, <a class="el" href="a06229.html#l02652">NLMISC::toString()</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>01641 { +01642 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa84">setValueByName</a> (toString (value).c_str (), name, created); +01643 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa76" doxytag="NLGEORGES::CFormElmArray::setValueByName" ></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::CFormElm::setValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname" nowrap> <em>value</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool * </td> + <td class="mdname" nowrap> <em>created</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma51">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l01633">1633</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01532">NLGEORGES::CFormElm::setValueByName()</a>, <a class="el" href="a06229.html#l02652">NLMISC::toString()</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>01634 { +01635 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa84">setValueByName</a> (toString (value).c_str (), name, created); +01636 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa77" doxytag="NLGEORGES::CFormElmArray::setValueByName" ></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::CFormElm::setValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>value</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool * </td> + <td class="mdname" nowrap> <em>created</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma52">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l01626">1626</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01532">NLGEORGES::CFormElm::setValueByName()</a>, <a class="el" href="a06229.html#l02652">NLMISC::toString()</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>01627 { +01628 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa84">setValueByName</a> (toString (value).c_str (), name, created); +01629 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa78" doxytag="NLGEORGES::CFormElmArray::setValueByName" ></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::CFormElm::setValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>value</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool * </td> + <td class="mdname" nowrap> <em>created</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma53">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l01619">1619</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01532">NLGEORGES::CFormElm::setValueByName()</a>, <a class="el" href="a06229.html#l02652">NLMISC::toString()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>01620 { +01621 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa84">setValueByName</a> (toString (value).c_str (), name, created); +01622 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa79" doxytag="NLGEORGES::CFormElmArray::setValueByName" ></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::CFormElm::setValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap> <em>value</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool * </td> + <td class="mdname" nowrap> <em>created</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma54">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l01612">1612</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01532">NLGEORGES::CFormElm::setValueByName()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a06229.html#l02652">NLMISC::toString()</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>01613 { +01614 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa84">setValueByName</a> (toString (value).c_str (), name, created); +01615 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa80" doxytag="NLGEORGES::CFormElmArray::setValueByName" ></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::CFormElm::setValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a9">uint16</a> </td> + <td class="mdname" nowrap> <em>value</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool * </td> + <td class="mdname" nowrap> <em>created</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma55">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l01605">1605</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01532">NLGEORGES::CFormElm::setValueByName()</a>, <a class="el" href="a06229.html#l02652">NLMISC::toString()</a>, <a class="el" href="a05981.html#l00098">uint16</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>01606 { +01607 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa84">setValueByName</a> (toString (value).c_str (), name, created); +01608 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa81" doxytag="NLGEORGES::CFormElmArray::setValueByName" ></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::CFormElm::setValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a8">sint16</a> </td> + <td class="mdname" nowrap> <em>value</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool * </td> + <td class="mdname" nowrap> <em>created</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma56">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l01598">1598</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01532">NLGEORGES::CFormElm::setValueByName()</a>, <a class="el" href="a05981.html#l00097">sint16</a>, <a class="el" href="a06229.html#l02652">NLMISC::toString()</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>01599 { +01600 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa84">setValueByName</a> (toString (value).c_str (), name, created); +01601 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa82" doxytag="NLGEORGES::CFormElmArray::setValueByName" ></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::CFormElm::setValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>value</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool * </td> + <td class="mdname" nowrap> <em>created</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma57">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l01591">1591</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01532">NLGEORGES::CFormElm::setValueByName()</a>, <a class="el" href="a06229.html#l02652">NLMISC::toString()</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>01592 { +01593 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa84">setValueByName</a> (toString (value).c_str (), name, created); +01594 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa83" doxytag="NLGEORGES::CFormElmArray::setValueByName" ></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::CFormElm::setValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a6">sint8</a> </td> + <td class="mdname" nowrap> <em>value</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool * </td> + <td class="mdname" nowrap> <em>created</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma58">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l01584">1584</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l01532">NLGEORGES::CFormElm::setValueByName()</a>, <a class="el" href="a05981.html#l00095">sint8</a>, <a class="el" href="a06229.html#l02652">NLMISC::toString()</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>01585 { +01586 <span class="keywordflow">return</span> <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa84">setValueByName</a> (toString (value).c_str (), name, created); +01587 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructa84" doxytag="NLGEORGES::CFormElmArray::setValueByName" ></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::CFormElm::setValueByName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>value</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool * </td> + <td class="mdname" nowrap> <em>created</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set a form value with its name. If the node doesn't exist, it is created.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>value</em> </td><td>is a reference on the value to set in the form. </td></tr> + <tr><td valign=top><em>name</em> </td><td>is the form name of the value to set or create. </td></tr> + <tr><td valign=top><em>where</em> </td><td>is a pointer on the information flag of the value. If Where is not NULL, it is filled with the position where the value has been found. </td></tr> + <tr><td valign=top><em>created</em> </td><td>is a pointer on the creatation flag. If created is not NULL, it is filled with true if the value has been created, false it the value has been filled. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>true if the value has been set, false if the value has not been found or hasn't been created.</dd></dl> + +<p> +Implements <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma59">NLGEORGES::UFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l01532">1532</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l00596">NLGEORGES::CFormElm::createNodeByName()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05728.html#l03036">NLGEORGES::CFormElmAtom::setValue()</a>, <a class="el" href="a05646.html#l00244">type</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05646.html#l01132">value</a>, and <a class="el" href="a05728.html#l01656">NLGEORGES::CFormElm::warning()</a>. +<p> +Referenced by <a class="el" href="a05728.html#l01584">NLGEORGES::CFormElm::setValueByName()</a>. +<p> +<div class="fragment"><pre>01533 { +01534 <span class="comment">// The parent Dfn</span> +01535 <span class="keyword">const</span> CFormDfn *parentDfn; +01536 <span class="keyword">const</span> CFormDfn *nodeDfn; +01537 <span class="keyword">const</span> CType *nodeType; +01538 <a class="code" href="a02550.html#NLGEORGES_1_1CFormElma2">CFormElm</a> *node; +01539 <a class="code" href="a04558.html#a15">uint</a> indexDfn; +01540 <span class="keywordtype">bool</span> array; +01541 <span class="keywordtype">bool</span> _created; +01542 UFormDfn::TEntryType <a class="code" href="a04223.html#a581">type</a>; +01543 +01544 <span class="comment">// Search for the node</span> +01545 <span class="keywordflow">if</span> (<a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructa15">createNodeByName</a> (name, &parentDfn, indexDfn, &nodeDfn, &nodeType, &node, type, array, _created)) +01546 { +01547 <span class="comment">// Is this a type ?</span> +01548 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a> == UFormDfn::EntryType) +01549 { +01550 <span class="comment">// The atom</span> +01551 CFormElmAtom *atom = node ? safe_cast<CFormElmAtom*> (node) : NULL; +01552 +01553 <span class="comment">// Evale</span> +01554 <a class="code" href="a04199.html#a6">nlassert</a> (nodeType); +01555 atom->setValue (value); +01556 +01557 <span class="comment">// Created flag</span> +01558 <span class="keywordflow">if</span> (created) +01559 *created = _created; +01560 <span class="keywordflow">return</span> <span class="keyword">true</span>; +01561 } +01562 <span class="keywordflow">else</span> +01563 { +01564 <span class="comment">// Error message</span> +01565 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"setValueByName"</span>, <span class="stringliteral">"The node (%s) is not an atom element. Can't set the value."</span>, name); +01566 } +01567 } +01568 <span class="keywordflow">else</span> +01569 { +01570 <span class="comment">// Error message</span> +01571 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya85">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"setValueByName"</span>, <span class="stringliteral">"Can't created / set the node (%s)."</span>, name); +01572 +01573 <span class="comment">// Created flag</span> +01574 <span class="keywordflow">if</span> (created) +01575 *created = <span class="keyword">false</span>; +01576 } +01577 +01578 <span class="comment">// Error</span> +01579 <span class="keywordflow">return</span> <span class="keyword">false</span>; +01580 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructe0" doxytag="NLGEORGES::CFormElmArray::tokenize" ></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::CFormElm::tokenize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::string & </td> + <td class="mdname" nowrap> <em>str</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> & </td> + <td class="mdname" nowrap> <em>errorIndex</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> & </td> + <td class="mdname" nowrap> <em>code</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05728.html#l01482">1482</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmy4NLGEORGES_1_1CFormElmy0">NLGEORGES::CFormElm::TokenArrayBegin</a>, <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmy4NLGEORGES_1_1CFormElmy1">NLGEORGES::CFormElm::TokenArrayEnd</a>, <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmy4NLGEORGES_1_1CFormElmy2">NLGEORGES::CFormElm::TokenPoint</a>, <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmy4NLGEORGES_1_1CFormElmy3">NLGEORGES::CFormElm::TokenString</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05728.html#l00764">NLGEORGES::CFormElm::getIternalNodeByName()</a>. +<p> +<div class="fragment"><pre>01483 { +01484 <span class="keywordflow">if</span> (*name == 0) +01485 { +01486 <span class="keywordflow">return</span> NULL; +01487 } +01488 +01489 <span class="keywordflow">if</span> (*name == <span class="charliteral">'['</span>) +01490 { +01491 code = TokenArrayBegin; +01492 str = <span class="stringliteral">"["</span>; +01493 <span class="keywordflow">return</span> name+1; +01494 } +01495 +01496 <span class="keywordflow">if</span> (*name == <span class="charliteral">']'</span>) +01497 { +01498 code = TokenArrayEnd; +01499 str = <span class="stringliteral">"]"</span>; +01500 <span class="keywordflow">return</span> name+1; +01501 } +01502 +01503 <span class="keywordflow">if</span> (*name == <span class="charliteral">'.'</span>) +01504 { +01505 code = TokenPoint; +01506 str = <span class="stringliteral">"."</span>; +01507 <span class="keywordflow">return</span> name+1; +01508 } +01509 +01510 str = <span class="stringliteral">""</span>; +01511 <span class="keywordflow">while</span> ( (*name != <span class="charliteral">'.'</span>) && (*name != <span class="charliteral">'['</span>) && (*name != <span class="charliteral">']'</span>) && (*name != 0) ) +01512 { +01513 <span class="comment">// Add a char</span> +01514 str += *name; +01515 name++; +01516 } +01517 +01518 code = TokenString; +01519 <span class="keywordflow">return</span> name; +01520 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya84" doxytag="NLGEORGES::CFormElmArray::unlink" ></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::CFormElmArray::unlink </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02550.html">CFormElm</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>child</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Unlink a child +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmAtomb0">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02682">2682</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>02683 { +02684 <a class="code" href="a04558.html#a15">uint</a> i; +02685 <span class="keywordflow">for</span> (i=0; i<<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size (); i++) +02686 { +02687 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[i].Element == child) +02688 { +02689 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[i].Element = NULL; +02690 <span class="keywordflow">break</span>; +02691 } +02692 } +02693 +02694 <span class="comment">// Element not found!</span> +02695 <a class="code" href="a04199.html#a6">nlassert</a> (i != <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size ()); +02696 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructf1" doxytag="NLGEORGES::CFormElmArray::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::CFormElm::warning </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </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 * </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 * </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 * </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 * </td> + <td class="mdname" nowrap> <em>format</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>... </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static, protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05728.html#l01656">1656</a> of file <a class="el" href="a05728.html">form_elm.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="a05729.html#l00477">NLGEORGES::CFormElm::convertValue()</a>, <a class="el" href="a05728.html#l00068">NLGEORGES::CFormElm::getArrayNode()</a>, <a class="el" href="a05728.html#l00084">NLGEORGES::CFormElm::getArrayNodeName()</a>, <a class="el" href="a05728.html#l00060">NLGEORGES::CFormElm::getArraySize()</a>, <a class="el" href="a05728.html#l00092">NLGEORGES::CFormElm::getArrayValue()</a>, <a class="el" href="a05728.html#l00764">NLGEORGES::CFormElm::getIternalNodeByName()</a>, <a class="el" href="a05728.html#l00217">NLGEORGES::CFormElm::getStructNode()</a>, <a class="el" href="a05728.html#l00209">NLGEORGES::CFormElm::getStructNodeName()</a>, <a class="el" href="a05728.html#l00201">NLGEORGES::CFormElm::getStructSize()</a>, <a class="el" href="a05728.html#l00240">NLGEORGES::CFormElm::getValue()</a>, <a class="el" href="a05728.html#l00406">NLGEORGES::CFormElm::getValueByName()</a>, <a class="el" href="a05728.html#l01532">NLGEORGES::CFormElm::setValueByName()</a>, and <a class="el" href="a05728.html#l01671">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>01657 { +01658 <span class="comment">// Make a buffer string</span> +01659 va_list args; +01660 va_start( args, format ); +01661 <span class="keywordtype">char</span> <a class="code" href="a04223.html#a589">buffer</a>[1024]; +01662 vsnprintf( buffer, 1024, format, args ); +01663 va_end( args ); +01664 +01665 <span class="comment">// Set the warning</span> +01666 <a class="code" href="a05374.html#a0">NLGEORGES::warning</a> (exception, <span class="stringliteral">"(CFormElm::%s) on node (%s) in form (%s) : %s"</span>, function, formName, formFileName, buffer); +01667 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya85" doxytag="NLGEORGES::CFormElmArray::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::CFormElmArray::warning </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </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 * </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 * </td> + <td class="mdname" nowrap> <em>format</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>... </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmb1">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02754">2754</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00649">buffer</a>, <a class="el" href="a05646.html#l01016">format</a>, <a class="el" href="a05724.html#l00351">NLGEORGES::CForm::getFilename()</a>, <a class="el" href="a05728.html#l02712">getFormName()</a>, and <a class="el" href="a05724.html#l00045">NLGEORGES::warning()</a>. +<p> +Referenced by <a class="el" href="a05728.html#l02293">getArrayNode()</a>, <a class="el" href="a05728.html#l02309">getArrayNodeName()</a>, <a class="el" href="a05728.html#l02345">getArrayValue()</a>, and <a class="el" href="a05728.html#l02712">getFormName()</a>. +<p> +<div class="fragment"><pre>02755 { +02756 <span class="comment">// Make a buffer string</span> +02757 va_list args; +02758 va_start( args, format ); +02759 <span class="keywordtype">char</span> <a class="code" href="a04223.html#a589">buffer</a>[1024]; +02760 vsnprintf( buffer, 1024, format, args ); +02761 va_end( args ); +02762 +02763 <span class="comment">// Set the warning</span> +02764 string formName; +02765 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya34">getFormName</a> (formName, NULL); +02766 <a class="code" href="a05374.html#a0">NLGEORGES::warning</a> (exception, <span class="stringliteral">"(CFormElmArray::%s) on node (%s) in form (%s) : %s"</span>, function, formName.c_str (), <a class="code" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp0">Form</a>->getFilename ().c_str (), <a class="code" href="a04223.html#a589">buffer</a>); +02767 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArraya86" doxytag="NLGEORGES::CFormElmArray::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"> xmlNodePtr NLGEORGES::CFormElmArray::write </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">xmlNodePtr </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 <a class="el" href="a02544.html">CForm</a> * </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 char * </td> + <td class="mdname" nowrap> <em>structName</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>forceWrite</em> = false</td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02550.html#NLGEORGES_1_1CFormElma82">NLGEORGES::CFormElm</a>. +<p> +Definition at line <a class="el" href="a05728.html#l02561">2561</a> of file <a class="el" href="a05728.html">form_elm.cpp</a>. +<p> +References <a class="el" href="a05728.html#l02700">isUsed()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>02562 { +02563 <span class="comment">// Arrau is used ?</span> +02564 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArraya69">isUsed</a> (form) || forceWrite) +02565 { +02566 <span class="comment">// *** Header</span> +02567 xmlNodePtr node = xmlNewChild ( root, NULL, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"ARRAY"</span>, NULL); +02568 +02569 <span class="comment">// Element name</span> +02570 <span class="keywordflow">if</span> (structName != NULL) +02571 { +02572 <span class="comment">// Struct name</span> +02573 xmlSetProp (node, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Name"</span>, (<span class="keyword">const</span> xmlChar*)structName); +02574 } +02575 +02576 <span class="comment">// For each elements of the structure</span> +02577 <a class="code" href="a04558.html#a15">uint</a> elm; +02578 <span class="keywordflow">for</span> (elm=0; elm<<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>.size(); elm++) +02579 { +02580 <span class="comment">// Create a node</span> +02581 <span class="keywordflow">if</span> (<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[elm].Element) +02582 <a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[elm].Element->write (node, form, Elements[elm].Name.empty ()?NULL:<a class="code" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">Elements</a>[elm].Name.c_str (), <span class="keyword">true</span>); +02583 } +02584 +02585 <span class="comment">// Return the new node</span> +02586 <span class="keywordflow">return</span> node; +02587 } +02588 +02589 <span class="keywordflow">return</span> NULL; +02590 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLGEORGES_1_1CFormElmArrayo0" doxytag="NLGEORGES::CFormElmArray::Elements" ></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<<a class="el" href="a02553.html">CElement</a>> <a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArrayo0">NLGEORGES::CFormElmArray::Elements</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00414">414</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +Referenced by <a class="el" href="a05728.html#l00719">NLGEORGES::CFormElm::arrayDeleteNodeByName()</a>, <a class="el" href="a05728.html#l00645">NLGEORGES::CFormElm::arrayInsertNodeByName()</a>, and <a class="el" href="a05728.html#l00764">NLGEORGES::CFormElm::getIternalNodeByName()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructp0" doxytag="NLGEORGES::CFormElmArray::Form" ></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="a02544.html">CForm</a>* <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp0">NLGEORGES::CFormElm::Form</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00231">231</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +Referenced by <a class="el" href="a05728.html#l00719">NLGEORGES::CFormElm::arrayDeleteNodeByName()</a>, <a class="el" href="a05728.html#l00645">NLGEORGES::CFormElm::arrayInsertNodeByName()</a>, <a class="el" href="a05728.html#l00328">NLGEORGES::CFormElm::CFormElm()</a>, <a class="el" href="a05728.html#l00596">NLGEORGES::CFormElm::createNodeByName()</a>, <a class="el" href="a05728.html#l00612">NLGEORGES::CFormElm::deleteNodeByName()</a>, <a class="el" href="a05728.html#l00353">NLGEORGES::CFormElm::getForm()</a>, <a class="el" href="a05728.html#l00373">NLGEORGES::CFormElm::getNodeByName()</a>, <a class="el" href="a05728.html#l00406">NLGEORGES::CFormElm::getValueByName()</a>, and <a class="el" href="a05728.html#l00346">NLGEORGES::CFormElm::isUsed()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArrayo1" doxytag="NLGEORGES::CFormElmArray::FormDfn" ></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="a03408.html">NLMISC::CSmartPtr</a><<a class="el" href="a02546.html">CFormDfn</a>> <a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArrayo1">NLGEORGES::CFormElmArray::FormDfn</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00364">364</a> of file <a class="el" href="a05729.html">form_elm.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructp1" doxytag="NLGEORGES::CFormElmArray::ParentDfn" ></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="a02546.html">CFormDfn</a>* <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp1">NLGEORGES::CFormElm::ParentDfn</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00237">237</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +Referenced by <a class="el" href="a05728.html#l00719">NLGEORGES::CFormElm::arrayDeleteNodeByName()</a>, <a class="el" href="a05728.html#l00645">NLGEORGES::CFormElm::arrayInsertNodeByName()</a>, <a class="el" href="a05728.html#l00328">NLGEORGES::CFormElm::CFormElm()</a>, <a class="el" href="a05728.html#l00596">NLGEORGES::CFormElm::createNodeByName()</a>, <a class="el" href="a05728.html#l00612">NLGEORGES::CFormElm::deleteNodeByName()</a>, and <a class="el" href="a05728.html#l00629">NLGEORGES::CFormElm::getNodeByName()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructp2" doxytag="NLGEORGES::CFormElmArray::ParentIndex" ></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> <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp2">NLGEORGES::CFormElm::ParentIndex</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00240">240</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +Referenced by <a class="el" href="a05728.html#l00719">NLGEORGES::CFormElm::arrayDeleteNodeByName()</a>, <a class="el" href="a05728.html#l00645">NLGEORGES::CFormElm::arrayInsertNodeByName()</a>, <a class="el" href="a05728.html#l00328">NLGEORGES::CFormElm::CFormElm()</a>, <a class="el" href="a05728.html#l00596">NLGEORGES::CFormElm::createNodeByName()</a>, <a class="el" href="a05728.html#l00612">NLGEORGES::CFormElm::deleteNodeByName()</a>, and <a class="el" href="a05728.html#l00629">NLGEORGES::CFormElm::getNodeByName()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructp3" doxytag="NLGEORGES::CFormElmArray::ParentNode" ></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="a02550.html">CFormElm</a>* <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp3">NLGEORGES::CFormElm::ParentNode</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00234">234</a> of file <a class="el" href="a05729.html">form_elm.h</a>. +<p> +Referenced by <a class="el" href="a05728.html#l00328">NLGEORGES::CFormElm::CFormElm()</a>, and <a class="el" href="a05728.html#l00589">NLGEORGES::CFormElm::getParent()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmVirtualStructp4" doxytag="NLGEORGES::CFormElmArray::Round" ></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#a11">uint32</a> <a class="el" href="a02550.html#NLGEORGES_1_1CFormElmVirtualStructp4">NLGEORGES::CFormElm::Round</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00243">243</a> of file <a class="el" href="a05729.html">form_elm.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormElmArrayo2" doxytag="NLGEORGES::CFormElmArray::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"> const <a class="el" href="a03622.html">CType</a>* <a class="el" href="a02552.html#NLGEORGES_1_1CFormElmArrayo2">NLGEORGES::CFormElmArray::Type</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05729.html#l00367">367</a> of file <a class="el" href="a05729.html">form_elm.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05729.html">form_elm.h</a><li><a class="el" href="a05728.html">form_elm.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 12:42:42 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> |