diff options
Diffstat (limited to 'docs/doxygen/nel/a03107.html')
-rw-r--r-- | docs/doxygen/nel/a03107.html | 995 |
1 files changed, 995 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03107.html b/docs/doxygen/nel/a03107.html new file mode 100644 index 00000000..ed556a5b --- /dev/null +++ b/docs/doxygen/nel/a03107.html @@ -0,0 +1,995 @@ +<!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: NLLIGO::CPrimitiveClass 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>NLLIGO::CPrimitiveClass Class Reference</h1><code>#include <<a class="el" href="a06202.html">primitive_class.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Class of primitive <dl compact><dt><b>Author:</b></dt><dd>Cyril 'Hulud' Corvazier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2002 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06202.html#l00050">50</a> of file <a class="el" href="a06202.html">primitive_class.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="a03107.html#NLLIGO_1_1CPrimitiveClassw4">TType</a> { <br> + <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw1">Node</a>, +<a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw3">Point</a>, +<a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw2">Path</a>, +<a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw0">Bitmap</a>, +<br> + <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw5">Zone</a> +<br> + }</td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClassa0">CPrimitiveClass</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NLLIGO_1_1CPrimitiveClassa0"></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="a03107.html#NLLIGO_1_1CPrimitiveClassa1">read</a> (xmlNodePtr primitiveNode, const char *<a class="el" href="a04560.html#a1">filename</a>, const char *className, std::set< std::string > &contextStrings, std::map< std::string, std::string > &contextFilesLookup, <a class="el" href="a02756.html">NLLIGO::CLigoConfig</a> &config)</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso0">AutoInit</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Auto init ? <a href="#NLLIGO_1_1CPrimitiveClasso0"></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="a03107.html#NLLIGO_1_1CPrimitiveClasso1">Collision</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Collision ? <a href="#NLLIGO_1_1CPrimitiveClasso1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso2">Color</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Color. <a href="#NLLIGO_1_1CPrimitiveClasso2"></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="a03107.html#NLLIGO_1_1CPrimitiveClasso3">Deletable</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Deletable ? <a href="#NLLIGO_1_1CPrimitiveClasso3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a03108.html">CChild</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso4">DynamicChildren</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso5">FileExtension</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Filename extension (for type File). <a href="#NLLIGO_1_1CPrimitiveClasso5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso6">FileType</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">File type (for type File). <a href="#NLLIGO_1_1CPrimitiveClasso6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a03108.html">CChild</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso7">GeneratedChildren</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso8">LinkBrothers</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Link children ? <a href="#NLLIGO_1_1CPrimitiveClasso8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso9">Name</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Class name. <a href="#NLLIGO_1_1CPrimitiveClasso9"></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="a03107.html#NLLIGO_1_1CPrimitiveClasso10">Numberize</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Numberize on copy ? <a href="#NLLIGO_1_1CPrimitiveClasso10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a03111.html">CParameter</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso11">Parameters</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Parameters. <a href="#NLLIGO_1_1CPrimitiveClasso11"></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="a03107.html#NLLIGO_1_1CPrimitiveClasso12">ShowArrow</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Show arrow ? <a href="#NLLIGO_1_1CPrimitiveClasso12"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a03108.html">CChild</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso13">StaticChildren</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>enum <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4">NLLIGO::CPrimitiveClass::TType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso14">Type</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClassw4" doxytag="NLLIGO::CPrimitiveClass::TType" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4">NLLIGO::CPrimitiveClass::TType</a> + </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="NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw1" doxytag="Node" ></a>Node</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw3" doxytag="Point" ></a>Point</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw2" doxytag="Path" ></a>Path</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw0" doxytag="Bitmap" ></a>Bitmap</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw5" doxytag="Zone" ></a>Zone</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06202.html#l00055">55</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. +<p> +<div class="fragment"><pre>00056 { +00057 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw1">Node</a>, +00058 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw3">Point</a>, +00059 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw2">Path</a>, +00060 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw0">Bitmap</a>, +00061 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw5">Zone</a> +00062 } <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso14">Type</a>; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClassa0" doxytag="NLLIGO::CPrimitiveClass::CPrimitiveClass" ></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"> CPrimitiveClass::CPrimitiveClass </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> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="a06201.html#l00038">38</a> of file <a class="el" href="a06201.html">primitive_class.cpp</a>. +<p> +<div class="fragment"><pre>00039 { +00040 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClassa1" doxytag="NLLIGO::CPrimitiveClass::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"> bool CPrimitiveClass::read </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">xmlNodePtr </td> + <td class="mdname" nowrap> <em>primitiveNode</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>const char * </td> + <td class="mdname" nowrap> <em>className</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::set< std::string > & </td> + <td class="mdname" nowrap> <em>contextStrings</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::map< std::string, std::string > & </td> + <td class="mdname" nowrap> <em>contextFilesLookup</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02756.html">NLLIGO::CLigoConfig</a> & </td> + <td class="mdname" nowrap> <em>config</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="a06201.html#l00193">193</a> of file <a class="el" href="a06201.html">primitive_class.cpp</a>. +<p> +References <a class="el" href="a06202.html#l00080">AutoInit</a>, <a class="el" href="a06202.html#l00166">NLLIGO::CPrimitiveClass::CParameter::Autoname</a>, <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw0">Bitmap</a>, <a class="el" href="a06202.html#l00086">Collision</a>, <a class="el" href="a06202.html#l00190">NLLIGO::CPrimitiveClass::CParameter::ComboValues</a>, <a class="el" href="a06202.html#l00128">NLLIGO::CPrimitiveClass::CInitParameters::DefaultValue</a>, <a class="el" href="a06202.html#l00083">Deletable</a>, <a class="el" href="a06202.html#l00178">NLLIGO::CPrimitiveClass::CParameter::DisplayHS</a>, <a class="el" href="a06202.html#l00221">DynamicChildren</a>, <a class="el" href="a06202.html#l00163">NLLIGO::CPrimitiveClass::CParameter::FileExtension</a>, <a class="el" href="a06202.html#l00071">FileExtension</a>, <a class="el" href="a06202.html#l00154">NLLIGO::CPrimitiveClass::CParameter::Filename</a>, <a class="el" href="a06202.html#l00074">FileType</a>, <a class="el" href="a06202.html#l00169">NLLIGO::CPrimitiveClass::CParameter::Folder</a>, <a class="el" href="a06202.html#l00224">GeneratedChildren</a>, <a class="el" href="a05903.html#l00319">NLLIGO::CLigoConfig::getPropertyString()</a>, <a class="el" href="a06202.html#l00089">LinkBrothers</a>, <a class="el" href="a06202.html#l00157">NLLIGO::CPrimitiveClass::CParameter::Lookup</a>, <a class="el" href="a06202.html#l00125">NLLIGO::CPrimitiveClass::CInitParameters::Name</a>, <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw1">Node</a>, <a class="el" href="a06202.html#l00095">Numberize</a>, <a class="el" href="a06202.html#l00201">Parameters</a>, <a class="el" href="a06201.html#l00070">ReadBool()</a>, <a class="el" href="a06201.html#l00122">ReadChild()</a>, <a class="el" href="a06201.html#l00091">ReadColor()</a>, <a class="el" href="a06201.html#l00057">ReadInt()</a>, <a class="el" href="a06202.html#l00160">NLLIGO::CPrimitiveClass::CParameter::ReadOnly</a>, <a class="el" href="a06202.html#l00092">ShowArrow</a>, <a class="el" href="a06202.html#l00175">NLLIGO::CPrimitiveClass::CParameter::SortEntries</a>, <a class="el" href="a06202.html#l00218">StaticChildren</a>, <a class="el" href="a05586.html#l00536">NLMISC::strlwr()</a>, <a class="el" href="a05903.html#l00333">NLLIGO::CLigoConfig::syntaxError()</a>, <a class="el" href="a03111.html#NLLIGO_1_1CPrimitiveClass_1_1CParametero11">NLLIGO::CPrimitiveClass::CParameter::Type</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>, <a class="el" href="a06202.html#l00186">NLLIGO::CPrimitiveClass::CParameter::CConstStringValue::Values</a>, <a class="el" href="a06202.html#l00151">NLLIGO::CPrimitiveClass::CParameter::Visible</a>, and <a class="el" href="a06202.html#l00172">NLLIGO::CPrimitiveClass::CParameter::WidgetHeight</a>. +<p> +<div class="fragment"><pre>00195 { +00196 <span class="comment">// The name</span> +00197 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso9">Name</a> = className; +00198 +00199 <span class="comment">// Read the type</span> +00200 std::string <a class="code" href="a04223.html#a581">type</a>; +00201 <span class="keywordflow">if</span> (config.<a class="code" href="a02756.html#NLLIGO_1_1CLigoConfigz1898_8">getPropertyString</a> (type, filename, primitiveNode, <span class="stringliteral">"TYPE"</span>)) +00202 { +00203 <span class="comment">// Good type ?</span> +00204 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a> == <span class="stringliteral">"node"</span>) +00205 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso14">Type</a> = <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw1">Node</a>; +00206 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a> == <span class="stringliteral">"point"</span>) +00207 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso14">Type</a> = <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw3">Point</a>; +00208 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a> == <span class="stringliteral">"path"</span>) +00209 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso14">Type</a> = <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw2">Path</a>; +00210 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a> == <span class="stringliteral">"zone"</span>) +00211 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso14">Type</a> = <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw5">Zone</a>; +00212 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a> == <span class="stringliteral">"bitmap"</span>) +00213 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso14">Type</a> = <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4NLLIGO_1_1CPrimitiveClassw0">Bitmap</a>; +00214 <span class="keywordflow">else</span> +00215 { +00216 config.<a class="code" href="a02756.html#NLLIGO_1_1CLigoConfigz1898_11">syntaxError</a> (filename, primitiveNode, <span class="stringliteral">"Unknown primitive type (%s)"</span>, <a class="code" href="a04223.html#a581">type</a>.c_str ()); +00217 <span class="keywordflow">goto</span> failed; +00218 } +00219 +00220 <span class="comment">// Read the color</span> +00221 <a class="code" href="a04780.html#a0">ReadColor</a> (Color, primitiveNode); +00222 +00223 <span class="comment">// Autoinit</span> +00224 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso0">AutoInit</a> = <span class="keyword">false</span>; +00225 <a class="code" href="a04778.html#a2">ReadBool</a> (<span class="stringliteral">"AUTO_INIT"</span>, AutoInit, primitiveNode, filename, config); +00226 +00227 <span class="comment">// Deletable</span> +00228 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso3">Deletable</a> = <span class="keyword">true</span>; +00229 <a class="code" href="a04778.html#a2">ReadBool</a> (<span class="stringliteral">"DELETABLE"</span>, Deletable, primitiveNode, filename, config); +00230 +00231 <span class="comment">// File extension</span> +00232 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso5">FileExtension</a> = <span class="stringliteral">""</span>; +00233 CIXml::getPropertyString (FileExtension, primitiveNode, <span class="stringliteral">"FILE_EXTENSION"</span>); +00234 +00235 <span class="comment">// File type</span> +00236 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso6">FileType</a> = <span class="stringliteral">""</span>; +00237 CIXml::getPropertyString (FileType, primitiveNode, <span class="stringliteral">"FILE_TYPE"</span>); +00238 +00239 <span class="comment">// Collision</span> +00240 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso1">Collision</a> = <span class="keyword">false</span>; +00241 <a class="code" href="a04778.html#a2">ReadBool</a> (<span class="stringliteral">"COLLISION"</span>, Collision, primitiveNode, filename, config); +00242 +00243 <span class="comment">// LinkBrothers</span> +00244 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso8">LinkBrothers</a> = <span class="keyword">false</span>; +00245 <a class="code" href="a04778.html#a2">ReadBool</a> (<span class="stringliteral">"LINK_BROTHERS"</span>, LinkBrothers, primitiveNode, filename, config); +00246 +00247 <span class="comment">// ShowArrow</span> +00248 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso12">ShowArrow</a> = <span class="keyword">true</span>; +00249 <a class="code" href="a04778.html#a2">ReadBool</a> (<span class="stringliteral">"SHOW_ARROW"</span>, ShowArrow, primitiveNode, filename, config); +00250 +00251 <span class="comment">// Numberize when copy the primitive</span> +00252 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso10">Numberize</a> = <span class="keyword">true</span>; +00253 <a class="code" href="a04778.html#a2">ReadBool</a> (<span class="stringliteral">"NUMBERIZE"</span>, Numberize, primitiveNode, filename, config); +00254 +00255 <span class="comment">// Read the parameters</span> +00256 xmlNodePtr paramNode = CIXml::getFirstChildNode (primitiveNode, <span class="stringliteral">"PARAMETER"</span>); +00257 <span class="keywordflow">if</span> (paramNode) +00258 { +00259 <span class="keywordflow">do</span> +00260 { +00261 <span class="comment">// Add a parameter</span> +00262 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso11">Parameters</a>.push_back (CParameter ()); +00263 +00264 <span class="comment">// The parameter ref</span> +00265 CParameter &parameter = <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso11">Parameters</a>.back (); +00266 +00267 <span class="comment">// Read the property name</span> +00268 <span class="keywordflow">if</span> (config.<a class="code" href="a02756.html#NLLIGO_1_1CLigoConfigz1898_8">getPropertyString</a> (type, filename, paramNode, <span class="stringliteral">"NAME"</span>)) +00269 { +00270 <span class="comment">// Set the name</span> +00271 parameter.Name = <a class="code" href="a04223.html#a581">type</a>; +00272 +00273 <span class="comment">// Read the type</span> +00274 <span class="keywordflow">if</span> (config.<a class="code" href="a02756.html#NLLIGO_1_1CLigoConfigz1898_8">getPropertyString</a> (type, filename, paramNode, <span class="stringliteral">"TYPE"</span>)) +00275 { +00276 <span class="comment">// Good type ?</span> +00277 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a> == <span class="stringliteral">"boolean"</span>) +00278 parameter.Type = CParameter::Boolean; +00279 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a> == <span class="stringliteral">"const_string"</span>) +00280 parameter.Type = CParameter::ConstString; +00281 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a> == <span class="stringliteral">"string"</span>) +00282 parameter.Type = CParameter::String; +00283 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a> == <span class="stringliteral">"string_array"</span>) +00284 parameter.Type = CParameter::StringArray; +00285 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a> == <span class="stringliteral">"const_string_array"</span>) +00286 parameter.Type = CParameter::ConstStringArray; +00287 <span class="keywordflow">else</span> +00288 { +00289 config.<a class="code" href="a02756.html#NLLIGO_1_1CLigoConfigz1898_11">syntaxError</a> (filename, paramNode, <span class="stringliteral">"Unknown primitive parameter type (%s)"</span>, <a class="code" href="a04223.html#a581">type</a>.c_str ()); +00290 <span class="keywordflow">goto</span> failed; +00291 } +00292 +00293 <span class="comment">// Visible</span> +00294 parameter.Visible = <span class="keyword">true</span>; +00295 <a class="code" href="a04778.html#a2">ReadBool</a> (<span class="stringliteral">"VISIBLE"</span>, parameter.Visible, paramNode, filename, config); +00296 +00297 <span class="comment">// Filename</span> +00298 parameter.Filename = <span class="keyword">false</span>; +00299 <a class="code" href="a04778.html#a2">ReadBool</a> (<span class="stringliteral">"FILENAME"</span>, parameter.Filename, paramNode, filename, config); +00300 +00301 <span class="comment">// Lookup</span> +00302 parameter.Lookup = <span class="keyword">false</span>; +00303 <a class="code" href="a04778.html#a2">ReadBool</a> (<span class="stringliteral">"LOOKUP"</span>, parameter.Lookup, paramNode, filename, config); +00304 +00305 <span class="comment">// Read only primitive</span> +00306 parameter.ReadOnly = <span class="keyword">false</span>; +00307 <a class="code" href="a04778.html#a2">ReadBool</a> (<span class="stringliteral">"READ_ONLY"</span>, parameter.ReadOnly, paramNode, filename, config); +00308 +00309 <span class="comment">// sort combo box entries </span> +00310 parameter.SortEntries = <span class="keyword">false</span>; +00311 <a class="code" href="a04778.html#a2">ReadBool</a> (<span class="stringliteral">"SORT_ENTRIES"</span>, parameter.SortEntries, paramNode, filename, config); +00312 +00313 <span class="comment">// Display horizontal scoller in multiline edit box</span> +00314 parameter.DisplayHS = <span class="keyword">false</span>; +00315 <a class="code" href="a04778.html#a2">ReadBool</a> (<span class="stringliteral">"SHOW_HS"</span>, parameter.DisplayHS, paramNode, filename, config); +00316 +00317 <span class="comment">// Lookup</span> +00318 parameter.WidgetHeight = 100; +00319 <span class="keywordtype">int</span> temp; +00320 <span class="keywordflow">if</span> (<a class="code" href="a04778.html#a1">ReadInt</a> (<span class="stringliteral">"WIDGET_HEIGHT"</span>, temp, paramNode)) +00321 parameter.WidgetHeight = (<a class="code" href="a04558.html#a15">uint</a>)temp; +00322 +00323 <span class="comment">// Read the file extension</span> +00324 parameter.FileExtension = <span class="stringliteral">""</span>; +00325 CIXml::getPropertyString (parameter.FileExtension, paramNode, <span class="stringliteral">"FILE_EXTENSION"</span>); +00326 parameter.FileExtension = <a class="code" href="a05378.html#a273">strlwr</a> (parameter.FileExtension); +00327 +00328 <span class="comment">// Autonaming preference</span> +00329 parameter.Autoname = <span class="stringliteral">""</span>; +00330 CIXml::getPropertyString (parameter.Autoname, paramNode, <span class="stringliteral">"AUTONAME"</span>); +00331 +00332 <span class="comment">// Read the file extension</span> +00333 parameter.Folder = <span class="stringliteral">""</span>; +00334 CIXml::getPropertyString (parameter.Folder, paramNode, <span class="stringliteral">"FOLDER"</span>); +00335 parameter.Folder = <a class="code" href="a05378.html#a273">strlwr</a> (parameter.Folder); +00336 +00337 <span class="comment">// Read the combo values</span> +00338 xmlNodePtr comboValueNode = CIXml::getFirstChildNode (paramNode, <span class="stringliteral">"COMBO_VALUES"</span>); +00339 <span class="keywordflow">if</span> (comboValueNode) +00340 { +00341 <span class="keywordflow">do</span> +00342 { +00343 <span class="comment">// Read the context</span> +00344 <span class="keywordflow">if</span> (config.<a class="code" href="a02756.html#NLLIGO_1_1CLigoConfigz1898_8">getPropertyString</a> (type, filename, comboValueNode, <span class="stringliteral">"CONTEXT_NAME"</span>)) +00345 { +00346 <span class="comment">// Add this context</span> +00347 contextStrings.insert (type); +00348 +00349 <span class="comment">// Add a combo value</span> +00350 pair<std::map<std::string, CParameter::CConstStringValue>::iterator, <span class="keywordtype">bool</span>> insertResult = +00351 parameter.ComboValues.insert (std::map<std::string, CParameter::CConstStringValue>::value_type (type, CParameter::CConstStringValue ())); +00352 +00353 <span class="comment">// The combo value ref</span> +00354 CParameter::CConstStringValue &comboValue = insertResult.first->second; +00355 +00356 <span class="comment">// Read the values</span> +00357 xmlNodePtr comboValueValueNode = CIXml::getFirstChildNode (comboValueNode, <span class="stringliteral">"CONTEXT_VALUE"</span>); +00358 comboValue.Values.reserve (CIXml::countChildren (comboValueNode, <span class="stringliteral">"CONTEXT_VALUE"</span>)); +00359 <span class="keywordflow">if</span> (comboValueValueNode) +00360 { +00361 <span class="keywordflow">do</span> +00362 { +00363 <span class="comment">// Read the value </span> +00364 <span class="keywordflow">if</span> (config.<a class="code" href="a02756.html#NLLIGO_1_1CLigoConfigz1898_8">getPropertyString</a> (type, filename, comboValueValueNode, <span class="stringliteral">"VALUE"</span>)) +00365 { +00366 <span class="comment">// Add a combo box</span> +00367 comboValue.Values.push_back (type); +00368 } +00369 <span class="keywordflow">else</span> +00370 <span class="keywordflow">goto</span> failed; +00371 } +00372 <span class="keywordflow">while</span> ((comboValueValueNode = CIXml::getFirstChildNode (comboValueValueNode, <span class="stringliteral">"CONTEXT_VALUE"</span>))); +00373 } +00374 } +00375 <span class="keywordflow">else</span> +00376 <span class="keywordflow">goto</span> failed; +00377 } +00378 <span class="keywordflow">while</span> ((comboValueNode = CIXml::getNextChildNode (comboValueNode, <span class="stringliteral">"COMBO_VALUES"</span>))); +00379 } +00380 +00381 <span class="comment">// Read the combo files</span> +00382 comboValueNode = CIXml::getFirstChildNode (paramNode, <span class="stringliteral">"COMBO_FILES"</span>); +00383 <span class="keywordflow">if</span> (comboValueNode) +00384 { +00385 <span class="keywordflow">do</span> +00386 { +00387 <span class="comment">// Read the context</span> +00388 <span class="keywordflow">if</span> (config.<a class="code" href="a02756.html#NLLIGO_1_1CLigoConfigz1898_8">getPropertyString</a> (type, filename, comboValueNode, <span class="stringliteral">"CONTEXT_NAME"</span>)) +00389 { +00390 <span class="comment">// Read the path to search</span> +00391 string path; +00392 <span class="keywordflow">if</span> (config.<a class="code" href="a02756.html#NLLIGO_1_1CLigoConfigz1898_8">getPropertyString</a> (path, filename, comboValueNode, <span class="stringliteral">"PATH"</span>)) +00393 { +00394 <span class="comment">// Look for files in the path</span> +00395 std::vector<std::string> files; +00396 CPath::getPathContent (path, <span class="keyword">true</span>, <span class="keyword">false</span>, <span class="keyword">true</span>, files); +00397 +00398 <span class="comment">// Not empty ?</span> +00399 <span class="keywordflow">if</span> (!files.empty ()) +00400 { +00401 <span class="comment">// Add this context</span> +00402 contextStrings.insert (type); +00403 +00404 <span class="comment">// For each file</span> +00405 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> i=0; i<files.size (); i++) +00406 { +00407 <span class="comment">// Good extension ?</span> +00408 <span class="keywordflow">if</span> (<a class="code" href="a05378.html#a273">strlwr</a> (NLMISC::CFile::getExtension (files[i])) == parameter.FileExtension) +00409 { +00410 <span class="comment">// Add a combo value</span> +00411 pair<std::map<std::string, CParameter::CConstStringValue>::iterator, <span class="keywordtype">bool</span>> insertResult = +00412 parameter.ComboValues.insert (std::map<std::string, CParameter::CConstStringValue>::value_type (type, CParameter::CConstStringValue ())); +00413 +00414 <span class="comment">// The combo value ref</span> +00415 CParameter::CConstStringValue &comboValue = insertResult.first->second; +00416 +00417 <span class="comment">// Get the filename without extension</span> +00418 string nameWithoutExt = <a class="code" href="a05378.html#a273">strlwr</a> (NLMISC::CFile::getFilenameWithoutExtension (files[i])); +00419 +00420 <span class="comment">// Add the values</span> +00421 comboValue.Values.push_back (nameWithoutExt); +00422 +00423 <span class="comment">// Add the value for lookup</span> +00424 contextFilesLookup.insert (map<string, string>::value_type (nameWithoutExt, files[i])); +00425 } +00426 } +00427 } +00428 } +00429 <span class="keywordflow">else</span> +00430 <span class="keywordflow">goto</span> failed; +00431 } +00432 <span class="keywordflow">else</span> +00433 <span class="keywordflow">goto</span> failed; +00434 } +00435 <span class="keywordflow">while</span> ((comboValueNode = CIXml::getNextChildNode (comboValueNode, <span class="stringliteral">"COMBO_FILES"</span>))); +00436 } +00437 +00438 <span class="comment">// Read parameters default values</span> +00439 xmlNodePtr defaultValueNode = CIXml::getFirstChildNode (paramNode, <span class="stringliteral">"DEFAULT_VALUE"</span>); +00440 parameter.DefaultValue.resize (CIXml::countChildren (paramNode, <span class="stringliteral">"DEFAULT_VALUE"</span>)); +00441 <a class="code" href="a04558.html#a15">uint</a> defaultId = 0; +00442 <span class="keywordflow">if</span> (defaultValueNode) +00443 { +00444 <span class="keywordflow">do</span> +00445 { +00446 <span class="comment">// Gen id flag</span> +00447 parameter.DefaultValue[defaultId].GenID = <span class="keyword">false</span>; +00448 +00449 <span class="comment">// Read the gen id flag</span> +00450 string <a class="code" href="a04223.html#a658">value</a>; +00451 <span class="keywordflow">if</span> (CIXml::getPropertyString (value, defaultValueNode, <span class="stringliteral">"GEN_ID"</span>) && (<a class="code" href="a04223.html#a658">value</a> != <span class="stringliteral">"false"</span>)) +00452 { +00453 parameter.DefaultValue[defaultId].GenID = <span class="keyword">true</span>; +00454 } +00455 <span class="keywordflow">else</span> +00456 { +00457 <span class="keywordflow">if</span> (config.<a class="code" href="a02756.html#NLLIGO_1_1CLigoConfigz1898_8">getPropertyString</a> (value, filename, defaultValueNode, <span class="stringliteral">"VALUE"</span>)) +00458 { +00459 parameter.DefaultValue[defaultId].Name = <a class="code" href="a04223.html#a658">value</a>; +00460 } +00461 <span class="keywordflow">else</span> +00462 <span class="keywordflow">goto</span> failed; +00463 } +00464 defaultId++; +00465 } +00466 <span class="keywordflow">while</span> ((defaultValueNode = CIXml::getNextChildNode (defaultValueNode, <span class="stringliteral">"DEFAULT_VALUE"</span>))); +00467 } +00468 } +00469 <span class="keywordflow">else</span> +00470 <span class="keywordflow">goto</span> failed; +00471 } +00472 <span class="keywordflow">else</span> +00473 <span class="keywordflow">goto</span> failed; +00474 } +00475 <span class="keywordflow">while</span> ((paramNode = CIXml::getNextChildNode (paramNode, <span class="stringliteral">"PARAMETER"</span>))); +00476 } +00477 +00478 <span class="comment">// Read static children</span> +00479 xmlNodePtr childrenNode = CIXml::getFirstChildNode (primitiveNode, <span class="stringliteral">"STATIC_CHILD"</span>); +00480 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso13">StaticChildren</a>.reserve (CIXml::countChildren (primitiveNode, <span class="stringliteral">"STATIC_CHILD"</span>)); +00481 <span class="keywordflow">if</span> (childrenNode) +00482 { +00483 <span class="keywordflow">do</span> +00484 { +00485 <span class="comment">// Add a static child</span> +00486 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso13">StaticChildren</a>.push_back (CChild ()); +00487 +00488 <span class="comment">// Child ref</span> +00489 CChild &child = <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso13">StaticChildren</a>.back (); +00490 +00491 <span class="comment">// Read the child</span> +00492 <span class="keywordflow">if</span> (!<a class="code" href="a04778.html#a4">ReadChild</a> (child, childrenNode, filename, <span class="keyword">true</span>, config)) +00493 <span class="keywordflow">goto</span> failed; +00494 } +00495 <span class="keywordflow">while</span> ((childrenNode = CIXml::getNextChildNode (childrenNode, <span class="stringliteral">"STATIC_CHILD"</span>))); +00496 } +00497 +00498 <span class="comment">// Read dynamic children</span> +00499 childrenNode = CIXml::getFirstChildNode (primitiveNode, <span class="stringliteral">"DYNAMIC_CHILD"</span>); +00500 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso4">DynamicChildren</a>.reserve (CIXml::countChildren (primitiveNode, <span class="stringliteral">"DYNAMIC_CHILD"</span>)); +00501 <span class="keywordflow">if</span> (childrenNode) +00502 { +00503 <span class="keywordflow">do</span> +00504 { +00505 <span class="comment">// Add a static child</span> +00506 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso4">DynamicChildren</a>.push_back (CChild ()); +00507 +00508 <span class="comment">// Child ref</span> +00509 CChild &child = <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso4">DynamicChildren</a>.back (); +00510 +00511 <span class="comment">// Read the child</span> +00512 <span class="keywordflow">if</span> (!<a class="code" href="a04778.html#a4">ReadChild</a> (child, childrenNode, filename, <span class="keyword">false</span>, config)) +00513 <span class="keywordflow">goto</span> failed; +00514 } +00515 <span class="keywordflow">while</span> ((childrenNode = CIXml::getNextChildNode (childrenNode, <span class="stringliteral">"DYNAMIC_CHILD"</span>))); +00516 } +00517 +00518 <span class="comment">// Read generated children</span> +00519 childrenNode = CIXml::getFirstChildNode (primitiveNode, <span class="stringliteral">"GENERATED_CHILD"</span>); +00520 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso7">GeneratedChildren</a>.reserve (CIXml::countChildren (primitiveNode, <span class="stringliteral">"GENERATED_CHILD"</span>)); +00521 <span class="keywordflow">if</span> (childrenNode) +00522 { +00523 <span class="keywordflow">do</span> +00524 { +00525 <span class="comment">// Add a static child</span> +00526 <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso7">GeneratedChildren</a>.push_back (CChild ()); +00527 +00528 <span class="comment">// Child ref</span> +00529 CChild &child = <a class="code" href="a03107.html#NLLIGO_1_1CPrimitiveClasso7">GeneratedChildren</a>.back (); +00530 +00531 <span class="comment">// Read the child</span> +00532 <span class="keywordflow">if</span> (!<a class="code" href="a04778.html#a4">ReadChild</a> (child, childrenNode, filename, <span class="keyword">false</span>, config)) +00533 <span class="keywordflow">goto</span> failed; +00534 } +00535 <span class="keywordflow">while</span> ((childrenNode = CIXml::getNextChildNode (childrenNode, <span class="stringliteral">"GENERATED_CHILD"</span>))); +00536 } +00537 +00538 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00539 } +00540 failed: +00541 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00542 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso0" doxytag="NLLIGO::CPrimitiveClass::AutoInit" ></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 <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso0">NLLIGO::CPrimitiveClass::AutoInit</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Auto init ? +<p> + +<p> +Definition at line <a class="el" href="a06202.html#l00080">80</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. +<p> +Referenced by <a class="el" href="a06201.html#l00193">read()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso1" doxytag="NLLIGO::CPrimitiveClass::Collision" ></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 <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso1">NLLIGO::CPrimitiveClass::Collision</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Collision ? +<p> + +<p> +Definition at line <a class="el" href="a06202.html#l00086">86</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. +<p> +Referenced by <a class="el" href="a06201.html#l00193">read()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso2" doxytag="NLLIGO::CPrimitiveClass::Color" ></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="a03337.html">NLMISC::CRGBA</a> <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso2">NLLIGO::CPrimitiveClass::Color</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Color. +<p> + +<p> +Definition at line <a class="el" href="a06202.html#l00077">77</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso3" doxytag="NLLIGO::CPrimitiveClass::Deletable" ></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 <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso3">NLLIGO::CPrimitiveClass::Deletable</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Deletable ? +<p> + +<p> +Definition at line <a class="el" href="a06202.html#l00083">83</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. +<p> +Referenced by <a class="el" href="a06201.html#l00193">read()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso4" doxytag="NLLIGO::CPrimitiveClass::DynamicChildren" ></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="a03108.html">CChild</a>> <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso4">NLLIGO::CPrimitiveClass::DynamicChildren</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="a06202.html#l00221">221</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. +<p> +Referenced by <a class="el" href="a05903.html#l00242">NLLIGO::CLigoConfig::canBeChild()</a>, <a class="el" href="a05903.html#l00286">NLLIGO::CLigoConfig::canBeRoot()</a>, and <a class="el" href="a06201.html#l00193">read()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso5" doxytag="NLLIGO::CPrimitiveClass::FileExtension" ></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="a03107.html#NLLIGO_1_1CPrimitiveClasso5">NLLIGO::CPrimitiveClass::FileExtension</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Filename extension (for type File). +<p> + +<p> +Definition at line <a class="el" href="a06202.html#l00071">71</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. +<p> +Referenced by <a class="el" href="a06201.html#l00193">read()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso6" doxytag="NLLIGO::CPrimitiveClass::FileType" ></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="a03107.html#NLLIGO_1_1CPrimitiveClasso6">NLLIGO::CPrimitiveClass::FileType</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +File type (for type File). +<p> + +<p> +Definition at line <a class="el" href="a06202.html#l00074">74</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. +<p> +Referenced by <a class="el" href="a06201.html#l00193">read()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso7" doxytag="NLLIGO::CPrimitiveClass::GeneratedChildren" ></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="a03108.html">CChild</a>> <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso7">NLLIGO::CPrimitiveClass::GeneratedChildren</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="a06202.html#l00224">224</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. +<p> +Referenced by <a class="el" href="a05903.html#l00242">NLLIGO::CLigoConfig::canBeChild()</a>, and <a class="el" href="a06201.html#l00193">read()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso8" doxytag="NLLIGO::CPrimitiveClass::LinkBrothers" ></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 <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso8">NLLIGO::CPrimitiveClass::LinkBrothers</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Link children ? +<p> + +<p> +Definition at line <a class="el" href="a06202.html#l00089">89</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. +<p> +Referenced by <a class="el" href="a06201.html#l00193">read()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso9" doxytag="NLLIGO::CPrimitiveClass::Name" ></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="a03107.html#NLLIGO_1_1CPrimitiveClasso9">NLLIGO::CPrimitiveClass::Name</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Class name. +<p> + +<p> +Definition at line <a class="el" href="a06202.html#l00068">68</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso10" doxytag="NLLIGO::CPrimitiveClass::Numberize" ></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 <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso10">NLLIGO::CPrimitiveClass::Numberize</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Numberize on copy ? +<p> + +<p> +Definition at line <a class="el" href="a06202.html#l00095">95</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. +<p> +Referenced by <a class="el" href="a06201.html#l00193">read()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso11" doxytag="NLLIGO::CPrimitiveClass::Parameters" ></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="a03111.html">CParameter</a>> <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso11">NLLIGO::CPrimitiveClass::Parameters</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Parameters. +<p> + +<p> +Definition at line <a class="el" href="a06202.html#l00201">201</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. +<p> +Referenced by <a class="el" href="a06201.html#l00193">read()</a>, <a class="el" href="a06195.html#l01396">NLLIGO::IPrimitive::read()</a>, and <a class="el" href="a06201.html#l00599">NLLIGO::CPrimitiveClass::CParameter::translateAutoname()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso12" doxytag="NLLIGO::CPrimitiveClass::ShowArrow" ></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 <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso12">NLLIGO::CPrimitiveClass::ShowArrow</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Show arrow ? +<p> + +<p> +Definition at line <a class="el" href="a06202.html#l00092">92</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. +<p> +Referenced by <a class="el" href="a06201.html#l00193">read()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso13" doxytag="NLLIGO::CPrimitiveClass::StaticChildren" ></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="a03108.html">CChild</a>> <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso13">NLLIGO::CPrimitiveClass::StaticChildren</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="a06202.html#l00218">218</a> of file <a class="el" href="a06202.html">primitive_class.h</a>. +<p> +Referenced by <a class="el" href="a06201.html#l00193">read()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLIGO_1_1CPrimitiveClasso14" doxytag="NLLIGO::CPrimitiveClass::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"> enum <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClassw4">NLLIGO::CPrimitiveClass::TType</a> <a class="el" href="a03107.html#NLLIGO_1_1CPrimitiveClasso14">NLLIGO::CPrimitiveClass::Type</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06202.html">primitive_class.h</a><li><a class="el" href="a06201.html">primitive_class.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 12:48:13 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> |