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/a02544.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a02544.html')
-rw-r--r-- | docs/doxygen/nel/a02544.html | 1593 |
1 files changed, 1593 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02544.html b/docs/doxygen/nel/a02544.html new file mode 100644 index 00000000..d60b61a9 --- /dev/null +++ b/docs/doxygen/nel/a02544.html @@ -0,0 +1,1593 @@ +<!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::CForm 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::CForm Class Reference</h1><code>#include <<a class="el" href="a05725.html">form.h</a>></code> +<p> +<p>Inheritance diagram for NLGEORGES::CForm: +<p><center><img src="a02544.png" usemap="#NLGEORGES::CForm_map" border="0" alt=""></center> +<map name="NLGEORGES::CForm_map"> +<area href="a03926.html" alt="NLGEORGES::UForm" shape="rect" coords="0,56,132,80"> +<area href="a02209.html" alt="NLMISC::CRefCount" shape="rect" coords="0,0,132,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +This class implement a georges form. +<p> + +<p> +Definition at line <a class="el" href="a05725.html#l00044">44</a> of file <a class="el" href="a05725.html">form.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="a02544.html#NLGEORGES_1_1CFormw0NLGEORGES_1_1CFormw1">HeldElementCount</a> = 4 + }</td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma0">CForm</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma1">clean</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma2">clearParents</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const std::string & </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma3">getComment</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma4">getDependencies</a> (std::set< std::string > &dependencies) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const std::string & </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma5">getFilename</a> () const </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="a02544.html#NLGEORGES_1_1CForma6">getNumParent</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a mutable pointer on the root element of the form. It is a struct node. <a href="#NLGEORGES_1_1CForma6"></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="a02544.html#NLGEORGES_1_1CForma7">getParent</a> (<a class="el" href="a04558.html#a15">uint</a> parent) const </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="a02544.html#NLGEORGES_1_1CForma8">getParentCount</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const std::string & </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma9">getParentFilename</a> (<a class="el" href="a04558.html#a15">uint</a> parent) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03926.html">UForm</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma10">getParentForm</a> (<a class="el" href="a04558.html#a15">uint</a> parent) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a mutable pointer on the root element of the form. It is a struct node. <a href="#NLGEORGES_1_1CForma10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a14">sint</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypea8">getRefCount</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02551.html">UFormElm</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma12">getRootNode</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a const pointer on the root element of the form. It is a struct node. <a href="#NLGEORGES_1_1CForma12"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02551.html">UFormElm</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma13">getRootNode</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a mutable pointer on the root element of the form. It is a struct node. <a href="#NLGEORGES_1_1CForma13"></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="a02544.html#NLGEORGES_1_1CForma14">insertParent</a> (<a class="el" href="a04558.html#a15">uint</a> before, const char *<a class="el" href="a04560.html#a1">filename</a>, <a class="el" href="a02544.html">CForm</a> *parent)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma15">removeParent</a> (<a class="el" href="a04558.html#a15">uint</a> parent)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma16">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>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma17">write</a> (xmlDocPtr doc, const char *<a class="el" href="a04560.html#a1">filename</a>, bool georges4CVS)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma18">write</a> (class <a class="el" href="a02270.html">NLMISC::IStream</a> &stream, bool georges4CVS)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CForma19">~CForm</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02555.html">CFormElmStruct</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CFormo1">Elements</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Vector of CFormElm*. <a href="#NLGEORGES_1_1CFormo1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02528.html">CFileHeader</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CFormo2">Header</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02555.html">CFormElmStruct</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CFormo3">HeldElements</a> [HeldElementCount]</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Backup slots. <a href="#NLGEORGES_1_1CFormo3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo * </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">pinfo</a></td></tr> + +<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NullPtrInfo</a></td></tr> + +<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CFormd0">read</a> (xmlNodePtr node, <a class="el" href="a02558.html">CFormLoader</a> &loader, <a class="el" href="a02546.html">CFormDfn</a> *dfn, const char *<a class="el" href="a04560.html#a1">filename</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CFormd1">readParent</a> (const char *parent, <a class="el" href="a02558.html">CFormLoader</a> &loader)</td></tr> + +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CFormr0">_Filename</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02545.html">CParent</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Pointer on the parent. <a href="#NLGEORGES_1_1CFormr1"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CFormn0">CFormLoader</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02544.html#NLGEORGES_1_1CFormn1">convertFormFile</a> (const char *oldFileName, const char *newFileName)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>struct </td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypen0">CPtrInfo</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NLGEORGES_1_1CFormw0" doxytag="NLGEORGES::CForm::@40" ></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"> anonymous enum + </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_1CFormw0NLGEORGES_1_1CFormw1" doxytag="HeldElementCount" ></a>HeldElementCount</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a05725.html#l00050">50</a> of file <a class="el" href="a05725.html">form.h</a>. +<p> +<div class="fragment"><pre>00050 { <a class="code" href="a02544.html#NLGEORGES_1_1CFormw0NLGEORGES_1_1CFormw1">HeldElementCount</a> = 4 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLGEORGES_1_1CForma0" doxytag="NLGEORGES::CForm::CForm" ></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::CForm::CForm </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </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="a05724.html#l00094">94</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a02544.html#NLGEORGES_1_1CFormw0NLGEORGES_1_1CFormw1">HeldElementCount</a>, <a class="el" href="a05725.html#l00081">HeldElements</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00094 : <a class="code" href="a02544.html#NLGEORGES_1_1CFormo1">Elements</a> (<span class="keyword">this</span>, NULL, NULL, 0xffffffff) +00095 { +00096 <a class="code" href="a04558.html#a15">uint</a> i; +00097 <span class="keywordflow">for</span> (i=0; i<<a class="code" href="a02544.html#NLGEORGES_1_1CFormw0NLGEORGES_1_1CFormw1">HeldElementCount</a>; i++) +00098 { +00099 <a class="code" href="a02544.html#NLGEORGES_1_1CFormo3">HeldElements</a>[i] = <span class="keyword">new</span> CFormElmStruct (<span class="keyword">this</span>, NULL, NULL, 0xffffffff); +00100 } +00101 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma19" doxytag="NLGEORGES::CForm::~CForm" ></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::CForm::~<a class="el" href="a02544.html">CForm</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></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="a05724.html#l00105">105</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a02544.html#NLGEORGES_1_1CFormw0NLGEORGES_1_1CFormw1">HeldElementCount</a>, <a class="el" href="a05725.html#l00081">HeldElements</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00106 { +00107 <a class="code" href="a04558.html#a15">uint</a> i; +00108 <span class="keywordflow">for</span> (i=0; i<<a class="code" href="a02544.html#NLGEORGES_1_1CFormw0NLGEORGES_1_1CFormw1">HeldElementCount</a>; i++) +00109 { +00110 <span class="keyword">delete</span> <a class="code" href="a02544.html#NLGEORGES_1_1CFormo3">HeldElements</a>[i]; +00111 } +00112 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLGEORGES_1_1CForma1" doxytag="NLGEORGES::CForm::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::CForm::clean </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </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="a05724.html#l00337">337</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05724.html#l00344">clearParents()</a>. +<p> +Referenced by <a class="el" href="a05724.html#l00188">read()</a>. +<p> +<div class="fragment"><pre>00338 { +00339 <a class="code" href="a02544.html#NLGEORGES_1_1CForma2">clearParents</a> (); +00340 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma2" doxytag="NLGEORGES::CForm::clearParents" ></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::CForm::clearParents </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </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="a05724.html#l00344">344</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05725.html#l00122">ParentList</a>. +<p> +Referenced by <a class="el" href="a05724.html#l00337">clean()</a>. +<p> +<div class="fragment"><pre>00345 { +00346 <a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>.clear (); +00347 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma3" doxytag="NLGEORGES::CForm::getComment" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const std::string & NLGEORGES::CForm::getComment </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> +Get the comment +<p> +Implements <a class="el" href="a03926.html#NLGEORGES_1_1UForma0">NLGEORGES::UForm</a>. +<p> +Definition at line <a class="el" href="a05724.html#l00264">264</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05774.html#l00067">NLGEORGES::CFileHeader::Comments</a>, and <a class="el" href="a05725.html#l00073">Header</a>. +<p> +<div class="fragment"><pre>00265 { +00266 <span class="keywordflow">return</span> <a class="code" href="a02544.html#NLGEORGES_1_1CFormo2">Header</a>.Comments; +00267 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma4" doxytag="NLGEORGES::CForm::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::CForm::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> +Get dependency files +<p> +Implements <a class="el" href="a03926.html#NLGEORGES_1_1UForma1">NLGEORGES::UForm</a>. +<p> +Definition at line <a class="el" href="a05724.html#l00373">373</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05725.html#l00132">_Filename</a>, <a class="el" href="a05728.html#l02116">NLGEORGES::CFormElmStruct::getDependencies()</a>, <a class="el" href="a05725.html#l00122">ParentList</a>, <a class="el" href="a05586.html#l00536">NLMISC::strlwr()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00374 { +00375 <span class="comment">// Add me</span> +00376 <span class="keywordflow">if</span> (dependencies.insert (<a class="code" href="a05378.html#a273">strlwr</a>(CFile::getFilename (_Filename))).second) +00377 { +00378 <span class="comment">// Add parents</span> +00379 <a class="code" href="a04558.html#a15">uint</a> i; +00380 <span class="keywordflow">for</span> (i=0; i<<a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>.size (); i++) +00381 { +00382 <span class="keywordflow">if</span> (<a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>[i].Parent) +00383 { +00384 <a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>[i].Parent->getDependencies (dependencies); +00385 } +00386 } +00387 +00388 <span class="comment">// Add elements</span> +00389 <a class="code" href="a02544.html#NLGEORGES_1_1CFormo1">Elements</a>.getDependencies (dependencies); +00390 } +00391 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma5" doxytag="NLGEORGES::CForm::getFilename" ></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 std::string & NLGEORGES::CForm::getFilename </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</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="a05724.html#l00351">351</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05725.html#l00132">_Filename</a>. +<p> +Referenced by <a class="el" href="a06586.html#l00339">NLGEORGES::CMyEvalNumExpr::evalValue()</a>, <a class="el" href="a05728.html#l00764">NLGEORGES::CFormElm::getIternalNodeByName()</a>, <a class="el" href="a05728.html#l03057">NLGEORGES::CFormElmAtom::warning()</a>, <a class="el" href="a05728.html#l02754">NLGEORGES::CFormElmArray::warning()</a>, <a class="el" href="a05728.html#l02230">NLGEORGES::CFormElmVirtualStruct::warning()</a>, <a class="el" href="a05728.html#l02099">NLGEORGES::CFormElmStruct::warning()</a>, and <a class="el" href="a05728.html#l01671">NLGEORGES::CFormElm::warning()</a>. +<p> +<div class="fragment"><pre>00352 { +00353 <span class="keywordflow">return</span> <a class="code" href="a02544.html#NLGEORGES_1_1CFormr0">_Filename</a>; +00354 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma6" doxytag="NLGEORGES::CForm::getNumParent" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> NLGEORGES::CForm::getNumParent </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> +Get a mutable pointer on the root element of the form. It is a struct node. +<p> +Access form parents +<p> +Implements <a class="el" href="a03926.html#NLGEORGES_1_1UForma2">NLGEORGES::UForm</a>. +<p> +Definition at line <a class="el" href="a05724.html#l00395">395</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05724.html#l00330">getParentCount()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00396 { +00397 <span class="keywordflow">return</span> <a class="code" href="a02544.html#NLGEORGES_1_1CForma8">getParentCount</a>(); +00398 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma7" doxytag="NLGEORGES::CForm::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="a02544.html">CForm</a> * NLGEORGES::CForm::getParent </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>parent</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const</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="a05724.html#l00316">316</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05725.html#l00122">ParentList</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>, and <a class="el" href="a05724.html#l00402">getParentForm()</a>. +<p> +<div class="fragment"><pre>00317 { +00318 <span class="keywordflow">return</span> <a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>[parent].Parent; +00319 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma8" doxytag="NLGEORGES::CForm::getParentCount" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> NLGEORGES::CForm::getParentCount </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</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="a05724.html#l00330">330</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05725.html#l00122">ParentList</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>, <a class="el" href="a05724.html#l00395">getNumParent()</a>, and <a class="el" href="a05724.html#l00154">readParent()</a>. +<p> +<div class="fragment"><pre>00331 { +00332 <span class="keywordflow">return</span> <a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>.size (); +00333 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma9" doxytag="NLGEORGES::CForm::getParentFilename" ></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 std::string & NLGEORGES::CForm::getParentFilename </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>parent</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const</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="a05724.html#l00323">323</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05725.html#l00122">ParentList</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00324 { +00325 <span class="keywordflow">return</span> <a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>[parent].ParentFilename; +00326 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma10" doxytag="NLGEORGES::CForm::getParentForm" ></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="a03926.html">UForm</a> * NLGEORGES::CForm::getParentForm </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>parent</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> +Get a mutable pointer on the root element of the form. It is a struct node. +<p> + +<p> +Implements <a class="el" href="a03926.html#NLGEORGES_1_1UForma3">NLGEORGES::UForm</a>. +<p> +Definition at line <a class="el" href="a05724.html#l00402">402</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05724.html#l00316">getParent()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00403 { +00404 <a class="code" href="a02544.html#NLGEORGES_1_1CForma0">CForm</a> *form = <a class="code" href="a02544.html#NLGEORGES_1_1CForma7">getParent</a> (parent); +00405 <span class="keywordflow">return</span> form; +00406 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypea8" doxytag="NLGEORGES::CForm::getRefCount" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a04558.html#a14">sint</a>& NLMISC::CRefCount::getRefCount </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> [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="a06402.html#l00070">70</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +References <a class="el" href="a06402.html#l00079">NLMISC::CRefCount::crefs</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>00071 { +00072 <span class="keywordflow">return</span> <a class="code" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a>; +00073 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma12" doxytag="NLGEORGES::CForm::getRootNode" ></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="a02551.html">UFormElm</a> & NLGEORGES::CForm::getRootNode </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> +Get a const pointer on the root element of the form. It is a struct node. +<p> + +<p> +Implements <a class="el" href="a03926.html#NLGEORGES_1_1UForma5">NLGEORGES::UForm</a>. +<p> +Definition at line <a class="el" href="a05724.html#l00085">85</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +<div class="fragment"><pre>00086 { +00087 <span class="keywordflow">return</span> <a class="code" href="a02544.html#NLGEORGES_1_1CFormo1">Elements</a>; +00088 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma13" doxytag="NLGEORGES::CForm::getRootNode" ></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::CForm::getRootNode </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> +Get a mutable pointer on the root element of the form. It is a struct node. +<p> +Access form nodes +<p> +Implements <a class="el" href="a03926.html#NLGEORGES_1_1UForma6">NLGEORGES::UForm</a>. +<p> +Definition at line <a class="el" href="a05724.html#l00078">78</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +Referenced by <a class="el" href="a06586.html#l00339">NLGEORGES::CMyEvalNumExpr::evalValue()</a>, and <a class="el" href="a05728.html#l00764">NLGEORGES::CFormElm::getIternalNodeByName()</a>. +<p> +<div class="fragment"><pre>00079 { +00080 <span class="keywordflow">return</span> <a class="code" href="a02544.html#NLGEORGES_1_1CFormo1">Elements</a>; +00081 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma14" doxytag="NLGEORGES::CForm::insertParent" ></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::CForm::insertParent </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>before</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>filename</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>parent</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="a05724.html#l00283">283</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05725.html#l00078">Elements</a>, <a class="el" href="a05729.html#l00277">NLGEORGES::CFormElmStruct::FormDfn</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05725.html#l00122">ParentList</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05724.html#l00358">warning()</a>. +<p> +Referenced by <a class="el" href="a05724.html#l00154">readParent()</a>. +<p> +<div class="fragment"><pre>00284 { +00285 <span class="comment">// Set or reset ?</span> +00286 <a class="code" href="a04199.html#a6">nlassert</a> (parent); +00287 +00288 <span class="comment">// Must have the same DFN</span> +00289 <span class="keywordflow">if</span> (parent->Elements.FormDfn == <a class="code" href="a02544.html#NLGEORGES_1_1CFormo1">Elements</a>.FormDfn) +00290 { +00291 <span class="comment">// Set members</span> +00292 std::vector<CParent>::iterator ite = <a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>.insert (<a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>.begin() + before); +00293 ite->Parent = parent; +00294 ite->ParentFilename = <a class="code" href="a05377.html#a2">filename</a>; +00295 +00296 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00297 } +00298 <span class="keywordflow">else</span> +00299 { +00300 <span class="comment">// Output an error</span> +00301 <a class="code" href="a02544.html#NLGEORGES_1_1CForma16">warning</a> (<span class="keyword">false</span>, <span class="stringliteral">"insertParent"</span>, <span class="stringliteral">"Can't insert parent form (%s) that has not the same DFN."</span>, filename); +00302 } +00303 +00304 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00305 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormd0" doxytag="NLGEORGES::CForm::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::CForm::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="a02546.html">CFormDfn</a> * </td> + <td class="mdname" nowrap> <em>dfn</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>filename</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</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="a05724.html#l00188">188</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05725.html#l00132">_Filename</a>, <a class="el" href="a05728.html#l02002">NLGEORGES::CFormElmStruct::build()</a>, <a class="el" href="a05724.html#l00337">clean()</a>, <a class="el" href="a05725.html#l00073">Header</a>, <a class="el" href="a02544.html#NLGEORGES_1_1CFormw0NLGEORGES_1_1CFormw1">HeldElementCount</a>, <a class="el" href="a05725.html#l00081">HeldElements</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05725.html#l00122">ParentList</a>, <a class="el" href="a05773.html#l00121">NLGEORGES::CFileHeader::read()</a>, <a class="el" href="a05728.html#l01817">NLGEORGES::CFormElmStruct::read()</a>, <a class="el" href="a05724.html#l00154">readParent()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05724.html#l00358">warning()</a>. +<p> +<div class="fragment"><pre>00189 { +00190 <span class="comment">// Save the filename</span> +00191 <a class="code" href="a02544.html#NLGEORGES_1_1CFormr0">_Filename</a> = CFile::getFilename (filename); +00192 +00193 <span class="comment">// Reset form</span> +00194 <a class="code" href="a02544.html#NLGEORGES_1_1CForma1">clean</a> (); +00195 +00196 <span class="comment">// Check node name</span> +00197 <span class="keywordflow">if</span> ( ((<span class="keyword">const</span> <span class="keywordtype">char</span>*)node->name == NULL) || (strcmp ((<span class="keyword">const</span> <span class="keywordtype">char</span>*)node->name, <span class="stringliteral">"FORM"</span>) != 0) ) +00198 { +00199 <span class="comment">// Make an error message</span> +00200 <a class="code" href="a02544.html#NLGEORGES_1_1CForma16">warning</a> (<span class="keyword">true</span>, <span class="stringliteral">"read"</span>, <span class="stringliteral">"XML Syntax error in block line %d, node (%s) should be FORM."</span>, +00201 (<span class="keywordtype">int</span>)node->content, node->name); +00202 } +00203 +00204 <span class="comment">// Get first struct node</span> +00205 xmlNodePtr child = CIXml::getFirstChildNode (node, <span class="stringliteral">"STRUCT"</span>); +00206 <span class="keywordflow">if</span> (child == NULL) +00207 { +00208 <span class="comment">// Throw exception</span> +00209 <a class="code" href="a02544.html#NLGEORGES_1_1CForma16">warning</a> (<span class="keyword">true</span>, <span class="stringliteral">"read"</span>, <span class="stringliteral">"Syntax error in block line %d, node (%s) should have a STRUCT child node."</span>, +00210 (<span class="keywordtype">int</span>)node->content, node->name); +00211 } +00212 +00213 <span class="comment">// Read the struct</span> +00214 <a class="code" href="a02544.html#NLGEORGES_1_1CFormo1">Elements</a>.read (child, loader, dfn, <span class="keyword">this</span>); +00215 +00216 <span class="comment">// Get next struct node</span> +00217 child = CIXml::getNextChildNode (node, <span class="stringliteral">"STRUCT"</span>); +00218 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a566">index</a> = 0; +00219 <span class="keywordflow">while</span> ( (child != NULL) && (<a class="code" href="a04223.html#a566">index</a> < <a class="code" href="a02544.html#NLGEORGES_1_1CFormw0NLGEORGES_1_1CFormw1">HeldElementCount</a>)) +00220 { +00221 <a class="code" href="a02544.html#NLGEORGES_1_1CFormo3">HeldElements</a>[<a class="code" href="a04223.html#a566">index</a>]->read (child, loader, dfn, <span class="keyword">this</span>); +00222 <a class="code" href="a04223.html#a566">index</a>++; +00223 } +00224 <span class="keywordflow">while</span> (<a class="code" href="a04223.html#a566">index</a> < <a class="code" href="a02544.html#NLGEORGES_1_1CFormw0NLGEORGES_1_1CFormw1">HeldElementCount</a>) +00225 { +00226 <span class="comment">// Build the Form</span> +00227 <a class="code" href="a02544.html#NLGEORGES_1_1CFormo3">HeldElements</a>[<a class="code" href="a04223.html#a566">index</a>]->build (dfn); +00228 <a class="code" href="a04223.html#a566">index</a>++; +00229 } +00230 +00231 <span class="comment">// Get the old parent parameter</span> +00232 <span class="keyword">const</span> <span class="keywordtype">char</span> *parent = (<span class="keyword">const</span> <span class="keywordtype">char</span>*)xmlGetProp (node, (xmlChar*)<span class="stringliteral">"Parent"</span>); +00233 <span class="keywordflow">if</span> (parent) +00234 { +00235 <span class="comment">// Add a parent, xmlFree is done by readParent</span> +00236 <a class="code" href="a02544.html#NLGEORGES_1_1CFormd1">readParent</a> (parent, loader); +00237 } +00238 +00239 <span class="comment">// Read the new parent nodes</span> +00240 <a class="code" href="a04558.html#a15">uint</a> parentCount = CIXml::countChildren (node, <span class="stringliteral">"PARENT"</span>); +00241 +00242 <span class="comment">// Reserve some parents</span> +00243 <a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>.reserve (<a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>.size () + parentCount); +00244 +00245 <span class="comment">// Enum children node</span> +00246 child = CIXml::getFirstChildNode (node, <span class="stringliteral">"PARENT"</span>); +00247 <span class="keywordflow">while</span> (child) +00248 { +00249 parent = (<span class="keyword">const</span> <span class="keywordtype">char</span>*)xmlGetProp (child, (xmlChar*)<span class="stringliteral">"Filename"</span>); +00250 +00251 <span class="comment">// Add a parent, xmlFree is done by readParent</span> +00252 <a class="code" href="a02544.html#NLGEORGES_1_1CFormd1">readParent</a> (parent, loader); +00253 +00254 <span class="comment">// Next node <PARENT></span> +00255 child = CIXml::getNextChildNode (child, <span class="stringliteral">"PARENT"</span>); +00256 } +00257 +00258 <span class="comment">// Read the header</span> +00259 <a class="code" href="a02544.html#NLGEORGES_1_1CFormo2">Header</a>.read (node); +00260 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormd1" doxytag="NLGEORGES::CForm::readParent" ></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::CForm::readParent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>parent</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></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</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="a05724.html#l00154">154</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05724.html#l00330">getParentCount()</a>, <a class="el" href="a05724.html#l00283">insertParent()</a>, <a class="el" href="a05730.html#l00205">NLGEORGES::CFormLoader::loadForm()</a>, and <a class="el" href="a05724.html#l00358">warning()</a>. +<p> +Referenced by <a class="el" href="a05724.html#l00188">read()</a>. +<p> +<div class="fragment"><pre>00155 { +00156 <span class="comment">// Load the parent</span> +00157 <a class="code" href="a02544.html#NLGEORGES_1_1CForma0">CForm</a> *theParent = (<a class="code" href="a02544.html#NLGEORGES_1_1CForma0">CForm</a>*)loader.loadForm (parent); +00158 <span class="keywordflow">if</span> (theParent != NULL) +00159 { +00160 <span class="comment">// Set the parent</span> +00161 <span class="keywordflow">if</span> (!<a class="code" href="a02544.html#NLGEORGES_1_1CForma14">insertParent</a> (getParentCount (), parent, theParent)) +00162 { +00163 <span class="comment">// Make an error message</span> +00164 std::string parentName = parent; +00165 +00166 <span class="comment">// Delete the value</span> +00167 xmlFree ((<span class="keywordtype">void</span>*)parent); +00168 +00169 <span class="comment">// Throw exception</span> +00170 <a class="code" href="a02544.html#NLGEORGES_1_1CForma16">warning</a> (<span class="keyword">true</span>, <span class="stringliteral">"readParent"</span>, <span class="stringliteral">"Can't set the parent FORM named (%s). Check if it is the same form or if it use a differnt formDfn."</span>, parentName.c_str ()); +00171 } +00172 } +00173 <span class="keywordflow">else</span> +00174 { +00175 <span class="comment">// Make an error message</span> +00176 std::string parentName = parent; +00177 +00178 <span class="comment">// Delete the value</span> +00179 xmlFree ((<span class="keywordtype">void</span>*)parent); +00180 +00181 <span class="comment">// Throw exception</span> +00182 <a class="code" href="a02544.html#NLGEORGES_1_1CForma16">warning</a> (<span class="keyword">true</span>, <span class="stringliteral">"readParent"</span>, <span class="stringliteral">"Can't load the parent FORM named (%s)."</span>, parentName.c_str ()); +00183 } +00184 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma15" doxytag="NLGEORGES::CForm::removeParent" ></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::CForm::removeParent </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>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="a05724.html#l00309">309</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05725.html#l00122">ParentList</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00310 { +00311 <a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>.erase (<a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>.begin() + parent); +00312 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma16" doxytag="NLGEORGES::CForm::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::CForm::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</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="a05724.html#l00358">358</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05725.html#l00132">_Filename</a>, <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="a05724.html#l00283">insertParent()</a>, <a class="el" href="a05724.html#l00188">read()</a>, and <a class="el" href="a05724.html#l00154">readParent()</a>. +<p> +<div class="fragment"><pre>00359 { +00360 <span class="comment">// Make a buffer string</span> +00361 va_list args; +00362 va_start( args, format ); +00363 <span class="keywordtype">char</span> <a class="code" href="a04223.html#a589">buffer</a>[1024]; +00364 vsnprintf( buffer, 1024, format, args ); +00365 va_end( args ); +00366 +00367 <span class="comment">// Set the warning</span> +00368 <a class="code" href="a05374.html#a0">NLGEORGES::warning</a> (exception, <span class="stringliteral">"(CForm::%s) in form (%s) : %s"</span>, function, <a class="code" href="a02544.html#NLGEORGES_1_1CFormr0">_Filename</a>.c_str (), <a class="code" href="a04223.html#a589">buffer</a>); +00369 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma17" doxytag="NLGEORGES::CForm::write" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLGEORGES::CForm::write </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">xmlDocPtr </td> + <td class="mdname" nowrap> <em>doc</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>filename</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>georges4CVS</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="a05724.html#l00116">116</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a05725.html#l00132">_Filename</a>, <a class="el" href="a05725.html#l00073">Header</a>, <a class="el" href="a02544.html#NLGEORGES_1_1CFormw0NLGEORGES_1_1CFormw1">HeldElementCount</a>, <a class="el" href="a05725.html#l00081">HeldElements</a>, <a class="el" href="a05725.html#l00122">ParentList</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05773.html#l00055">NLGEORGES::CFileHeader::write()</a>, and <a class="el" href="a05728.html#l01785">NLGEORGES::CFormElmStruct::write()</a>. +<p> +<div class="fragment"><pre>00117 { +00118 <span class="comment">// Save the filename</span> +00119 <span class="keywordflow">if</span> (<a class="code" href="a05377.html#a2">filename</a>) +00120 <a class="code" href="a02544.html#NLGEORGES_1_1CFormr0">_Filename</a> = CFile::getFilename (filename); +00121 +00122 <span class="comment">// Create the first node</span> +00123 xmlNodePtr node = xmlNewDocNode (doc, NULL, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"FORM"</span>, NULL); +00124 xmlDocSetRootElement (doc, node); +00125 +00126 <span class="comment">// List of parent</span> +00127 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> parent=0; parent<<a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>.size (); parent++) +00128 { +00129 <span class="comment">// Parent name not empty ?</span> +00130 <span class="keywordflow">if</span> (!(<a class="code" href="a02544.html#NLGEORGES_1_1CFormr1">ParentList</a>[parent].ParentFilename.empty())) +00131 { +00132 <span class="comment">// Add a parent node</span> +00133 xmlNodePtr parentNode = xmlNewChild ( node, NULL, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"PARENT"</span>, NULL ); +00134 xmlSetProp (parentNode, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Filename"</span>, (<span class="keyword">const</span> xmlChar*)ParentList[parent].ParentFilename.c_str()); +00135 } +00136 } +00137 +00138 <span class="comment">// Write elements</span> +00139 <a class="code" href="a02544.html#NLGEORGES_1_1CFormo1">Elements</a>.write (node, <span class="keyword">this</span>, NULL, <span class="keyword">true</span>); +00140 +00141 <span class="comment">// Write held elements</span> +00142 <a class="code" href="a04558.html#a15">uint</a> i; +00143 <span class="keywordflow">for</span> (i=0; i<<a class="code" href="a02544.html#NLGEORGES_1_1CFormw0NLGEORGES_1_1CFormw1">HeldElementCount</a>; i++) +00144 { +00145 <a class="code" href="a02544.html#NLGEORGES_1_1CFormo3">HeldElements</a>[i]->write (node, <span class="keyword">this</span>, NULL, <span class="keyword">true</span>); +00146 } +00147 +00148 <span class="comment">// Header</span> +00149 <a class="code" href="a02544.html#NLGEORGES_1_1CFormo2">Header</a>.write (node, georges4CVS); +00150 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CForma18" doxytag="NLGEORGES::CForm::write" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLGEORGES::CForm::write </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">class <a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname" nowrap> <em>stream</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>georges4CVS</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> +Write the form in a stream.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>stream</em> </td><td>is the stream used to write the form </td></tr> + <tr><td valign=top><em>georges4CVS</em> </td><td>should be true if you use Georges with CVS false else</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03926.html#NLGEORGES_1_1UForma7">NLGEORGES::UForm</a>. +<p> +Definition at line <a class="el" href="a05724.html#l00271">271</a> of file <a class="el" href="a05724.html">form.cpp</a>. +<p> +References <a class="el" href="a06107.html#l00673">NLMISC::COXml::getDocument()</a>, and <a class="el" href="a06107.html#l00111">NLMISC::COXml::init()</a>. +<p> +<div class="fragment"><pre>00272 { +00273 <span class="comment">// Xml stream</span> +00274 <a class="code" href="a03032.html">COXml</a> xmlStream; +00275 xmlStream.<a class="code" href="a03032.html#NLMISC_1_1COXmla4">init</a> (&stream); +00276 +00277 <span class="comment">// Write the file</span> +00278 <a class="code" href="a02544.html#NLGEORGES_1_1CForma18">write</a> (xmlStream.<a class="code" href="a03032.html#NLMISC_1_1COXmla2">getDocument</a> (), NULL, georges4CVS); +00279 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NLGEORGES_1_1CFormn0" doxytag="NLGEORGES::CForm::CFormLoader" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> friend class <a class="el" href="a02558.html">CFormLoader</a><code> [friend]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05725.html#l00046">46</a> of file <a class="el" href="a05725.html">form.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormn1" doxytag="NLGEORGES::CForm::convertFormFile" ></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 convertFormFile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>oldFileName</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>newFileName</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [friend]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypen0" doxytag="NLGEORGES::CForm::CPtrInfo" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> friend struct CPtrInfo<code> [friend, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00067">67</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLGEORGES_1_1CFormr0" doxytag="NLGEORGES::CForm::_Filename" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string <a class="el" href="a02544.html#NLGEORGES_1_1CFormr0">NLGEORGES::CForm::_Filename</a><code> [private]</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="a05725.html#l00132">132</a> of file <a class="el" href="a05725.html">form.h</a>. +<p> +Referenced by <a class="el" href="a05724.html#l00373">getDependencies()</a>, <a class="el" href="a05724.html#l00351">getFilename()</a>, <a class="el" href="a05724.html#l00188">read()</a>, <a class="el" href="a05724.html#l00358">warning()</a>, and <a class="el" href="a05724.html#l00116">write()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypeo0" doxytag="NLGEORGES::CForm::crefs" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">NLMISC::CRefCount::crefs</a><code> [mutable, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00079">79</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, <a class="el" href="a06402.html#l00070">NLMISC::CRefCount::getRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormo1" doxytag="NLGEORGES::CForm::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"> <a class="el" href="a02555.html">CFormElmStruct</a> <a class="el" href="a02544.html#NLGEORGES_1_1CFormo1">NLGEORGES::CForm::Elements</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Vector of CFormElm*. +<p> + +<p> +Definition at line <a class="el" href="a05725.html#l00078">78</a> of file <a class="el" href="a05725.html">form.h</a>. +<p> +Referenced by <a class="el" href="a05724.html#l00283">insertParent()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormo2" doxytag="NLGEORGES::CForm::Header" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02528.html">CFileHeader</a> <a class="el" href="a02544.html#NLGEORGES_1_1CFormo2">NLGEORGES::CForm::Header</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="a05725.html#l00073">73</a> of file <a class="el" href="a05725.html">form.h</a>. +<p> +Referenced by <a class="el" href="a05724.html#l00264">getComment()</a>, <a class="el" href="a05724.html#l00188">read()</a>, and <a class="el" href="a05724.html#l00116">write()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormo3" doxytag="NLGEORGES::CForm::HeldElements" ></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="a02555.html">CFormElmStruct</a>* <a class="el" href="a02544.html#NLGEORGES_1_1CFormo3">NLGEORGES::CForm::HeldElements</a>[HeldElementCount] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Backup slots. +<p> + +<p> +Definition at line <a class="el" href="a05725.html#l00081">81</a> of file <a class="el" href="a05725.html">form.h</a>. +<p> +Referenced by <a class="el" href="a05724.html#l00094">CForm()</a>, <a class="el" href="a05724.html#l00188">read()</a>, <a class="el" href="a05724.html#l00116">write()</a>, and <a class="el" href="a05724.html#l00105">~CForm()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypes0" doxytag="NLGEORGES::CForm::NullPtrInfo" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CRefCount::CPtrInfo <a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NLMISC::CRefCount::NullPtrInfo</a><code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1CFormr1" doxytag="NLGEORGES::CForm::ParentList" ></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="a02545.html">CParent</a>> <a class="el" href="a02544.html#NLGEORGES_1_1CFormr1">NLGEORGES::CForm::ParentList</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Pointer on the parent. +<p> + +<p> +Definition at line <a class="el" href="a05725.html#l00122">122</a> of file <a class="el" href="a05725.html">form.h</a>. +<p> +Referenced by <a class="el" href="a05724.html#l00344">clearParents()</a>, <a class="el" href="a05724.html#l00373">getDependencies()</a>, <a class="el" href="a05724.html#l00316">getParent()</a>, <a class="el" href="a05724.html#l00330">getParentCount()</a>, <a class="el" href="a05724.html#l00323">getParentFilename()</a>, <a class="el" href="a05724.html#l00283">insertParent()</a>, <a class="el" href="a05724.html#l00188">read()</a>, <a class="el" href="a05724.html#l00309">removeParent()</a>, and <a class="el" href="a05724.html#l00116">write()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLGEORGES_1_1UTypeo1" doxytag="NLGEORGES::CForm::pinfo" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CPtrInfo* <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">NLMISC::CRefCount::pinfo</a><code> [mutable, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06402.html#l00080">80</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. +<p> +Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05725.html">form.h</a><li><a class="el" href="a05724.html">form.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 12:40:11 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> |