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/a03032.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03032.html')
-rw-r--r-- | docs/doxygen/nel/a03032.html | 5487 |
1 files changed, 5487 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03032.html b/docs/doxygen/nel/a03032.html new file mode 100644 index 00000000..7ce7ad58 --- /dev/null +++ b/docs/doxygen/nel/a03032.html @@ -0,0 +1,5487 @@ +<!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: NLMISC::COXml 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>NLMISC::COXml Class Reference</h1><code>#include <<a class="el" href="a06108.html">o_xml.h</a>></code> +<p> +<p>Inheritance diagram for NLMISC::COXml: +<p><center><img src="a03032.png" usemap="#NLMISC::COXml_map" border="0" alt=""></center> +<map name="NLMISC::COXml_map"> +<area href="a02270.html" alt="NLMISC::IStream" shape="rect" coords="0,0,107,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Output xml stream<p> +This class is an xml formated output stream.<p> +This stream use an internal stream to output final xml code. <pre class="fragment"><div> <span class="comment">// Check exceptions</span> + <span class="keywordflow">try</span> + { + <span class="comment">// File stream</span> + <a class="code" href="a03011.html">COFile</a> <a class="code" href="a04115.html#a95">file</a>; + + <span class="comment">// Open the file</span> + <a class="code" href="a04115.html#a95">file</a>.open (<span class="stringliteral">"output.xml"</span>); + + <span class="comment">// Create the XML stream</span> + <a class="code" href="a03032.html">COXml</a> output; + + <span class="comment">// Init</span> + <span class="keywordflow">if</span> (output.<a class="code" href="a03032.html#NLMISC_1_1COXmla4">init</a> (&file, <span class="stringliteral">"1.0"</span>)) + { + <span class="comment">// Serial the class</span> + myClass.serial (output); + + <span class="comment">// Flush the stream, write all the output file</span> + output.<a class="code" href="a03032.html#NLMISC_1_1COXmla1">flush</a> (); + } + + <span class="comment">// Close the file</span> + <a class="code" href="a04115.html#a95">file</a>.close (); + } + <span class="keywordflow">catch</span> (<a class="code" href="a02482.html">Exception</a> &e) + { + } +</div></pre><p> +<dl compact><dt><b>Author:</b></dt><dd>Cyril 'Hulud' Corvazier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06108.html#l00085">85</a> of file <a class="el" href="a06108.html">o_xml.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Seek fonctionnality</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2036_0">TSeekOrigin</a> { <a class="el" href="a02270.html#NLMISC_1_1IStreamz2036_0NLMISC_1_1IStreamw0">begin</a>, +<a class="el" href="a02270.html#NLMISC_1_1IStreamz2036_0NLMISC_1_1IStreamw1">current</a>, +<a class="el" href="a02270.html#NLMISC_1_1IStreamz2036_0NLMISC_1_1IStreamw2">end</a> + }</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2036_1">getPos</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2036_2">getStreamName</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2036_3">seek</a> (<a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a04223.html#a586">offset</a>, <a class="el" href="a02270.html#NLMISC_1_1IStreamz2036_0">TSeekOrigin</a> origin)</td></tr> + +<tr><td colspan=2><br><h2>standard STL containers serialisation.</h2></td></tr> +<tr><td colspan=2>Known Supported containers: vector<>, list<>, deque<>, set<>, multiset<>, map<>, multimap<> Support up to sint32 length containers. <dl compact><dt><b>See also:</b></dt><dd>serialContPtr() serialContPolyPtr() </dd></dl> +<br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_0">serialCont</a> (std::vector< bool > &cont)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. <a href="#NLMISC_1_1IStreamz2033_0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_1">serialCont</a> (std::vector< <a class="el" href="a04558.html#a6">sint8</a> > &cont)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<sint8>. <a href="#NLMISC_1_1IStreamz2033_1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_2">serialCont</a> (std::vector< <a class="el" href="a04558.html#a7">uint8</a> > &cont)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<uint8>. <a href="#NLMISC_1_1IStreamz2033_2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class K, class T> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_3">serialCont</a> (std::multimap< K, T > &cont)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. <a href="#NLMISC_1_1IStreamz2033_3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class K, class T> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_4">serialCont</a> (std::map< K, T > &cont)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. <a href="#NLMISC_1_1IStreamz2033_4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_5">serialCont</a> (std::multiset< T > &cont)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. <a href="#NLMISC_1_1IStreamz2033_5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_6">serialCont</a> (std::set< T > &cont)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. <a href="#NLMISC_1_1IStreamz2033_6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_7">serialCont</a> (std::deque< T > &cont)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. <a href="#NLMISC_1_1IStreamz2033_7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_8">serialCont</a> (std::list< T > &cont)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. <a href="#NLMISC_1_1IStreamz2033_8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T, class Allocator> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a> (std::vector< T, Allocator > &cont)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. <a href="#NLMISC_1_1IStreamz2033_9"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>XML implementation interface</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2040_0">resetPtrTable</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2040_1">setInOut</a> (bool inputStream)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2040_2">setXMLMode</a> (bool on)</td></tr> + +<tr><td colspan=2><br><h2>Public Types</h2></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="a03032.html#NLMISC_1_1COXmla0">COXml</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmla1">flush</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>xmlDocPtr </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmla2">getDocument</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmla3">getErrorString</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmla4">init</a> (<a class="el" href="a02270.html">IStream</a> *stream, const char *version="1.0")</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreama0">isReading</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Is this stream a Read/Input stream? <a href="#NLMISC_1_1IStreama0"></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="a02270.html#NLMISC_1_1IStreama3">isXML</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (T &obj)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreama6">serialBufferWithSize</a> (<a class="el" href="a04558.html#a7">uint8</a> *buf, <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a571">len</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreama7">serialEnum</a> (T &em)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Template enum serialisation. Serialized as a sint32. <a href="#NLMISC_1_1IStreama7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreama8">serialMemStream</a> (<a class="el" href="a02271.html">CMemStream</a> &b)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Serial memstream, bitmemstream... <a href="#NLMISC_1_1IStreama8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmla11">~COXml</a> ()</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Multiple serialisation.</div></td></tr> +<tr><td colspan="2"><div class="groupText">Template for easy multiple serialisation. <br><br></div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3, class T4, class T5> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_0">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d, T4 &e, T5 &f)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3, class T4> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_1">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d, T4 &e)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_2">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_3">serial</a> (T0 &a, T1 &b, T2 &c)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_4">serial</a> (T0 &a, T1 &b)</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Multiple serialisation.</div></td></tr> +<tr><td colspan="2"><div class="groupText">Template for easy multiple serialisation. <br><br></div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3, class T4, class T5> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_0">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d, T4 &e, T5 &f)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3, class T4> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_1">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d, T4 &e)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_2">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_3">serial</a> (T0 &a, T1 &b, T2 &c)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_4">serial</a> (T0 &a, T1 &b)</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Multiple serialisation.</div></td></tr> +<tr><td colspan="2"><div class="groupText">Template for easy multiple serialisation. <br><br></div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3, class T4, class T5> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_0">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d, T4 &e, T5 &f)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3, class T4> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_1">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d, T4 &e)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_2">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_3">serial</a> (T0 &a, T1 &b, T2 &c)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_4">serial</a> (T0 &a, T1 &b)</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Multiple serialisation.</div></td></tr> +<tr><td colspan="2"><div class="groupText">Template for easy multiple serialisation. <br><br></div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3, class T4, class T5> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_0">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d, T4 &e, T5 &f)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3, class T4> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_1">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d, T4 &e)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_2">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_3">serial</a> (T0 &a, T1 &b, T2 &c)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_4">serial</a> (T0 &a, T1 &b)</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Multiple serialisation.</div></td></tr> +<tr><td colspan="2"><div class="groupText">Template for easy multiple serialisation. <br><br></div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3, class T4, class T5> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_0">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d, T4 &e, T5 &f)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3, class T4> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_1">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d, T4 &e)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_2">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_3">serial</a> (T0 &a, T1 &b, T2 &c)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_4">serial</a> (T0 &a, T1 &b)</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Multiple serialisation.</div></td></tr> +<tr><td colspan="2"><div class="groupText">Template for easy multiple serialisation. <br><br></div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3, class T4, class T5> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_0">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d, T4 &e, T5 &f)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3, class T4> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_1">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d, T4 &e)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2, class T3> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_2">serial</a> (T0 &a, T1 &b, T2 &c, T3 &d)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1, class T2> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_3">serial</a> (T0 &a, T1 &b, T2 &c)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T0, class T1> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamz2032_4">serial</a> (T0 &a, T1 &b)</td></tr> + +<tr><td colspan=2><br><h2>Static Public 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="a02270.html#NLMISC_1_1IStreame0">getVersionException</a> (bool &throwOnOlder, bool &throwOnNewer)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmle1">isStringValidForProperties</a> (const char *str)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreame1">setVersionException</a> (bool throwOnOlder, bool throwOnNewer)</td></tr> + +<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>template<class T> void </td><td class="memItemRight" valign=bottom><a class="el" href="a02270.html#NLMISC_1_1IStreamb0">serialVector</a> (T &cont)</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="a03032.html#NLMISC_1_1COXmld0">flushContentString</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld1">serial</a> (<a class="el" href="a03924.html">ucstring</a> &b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld2">serial</a> (std::string &b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld3">serial</a> (char &b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld4">serial</a> (bool &b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld5">serial</a> (double &b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld6">serial</a> (float &b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld7">serial</a> (<a class="el" href="a04558.html#a12">sint64</a> &b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld8">serial</a> (<a class="el" href="a04558.html#a13">uint64</a> &b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld9">serial</a> (<a class="el" href="a04558.html#a10">sint32</a> &b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld10">serial</a> (<a class="el" href="a04558.html#a11">uint32</a> &b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld11">serial</a> (<a class="el" href="a04558.html#a8">sint16</a> &b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld12">serial</a> (<a class="el" href="a04558.html#a9">uint16</a> &b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld13">serial</a> (<a class="el" href="a04558.html#a6">sint8</a> &b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld14">serial</a> (<a class="el" href="a04558.html#a7">uint8</a> &b)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">From <a class="el" href="a02270.html">IStream</a>. <a href="#NLMISC_1_1COXmld14"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld15">serialBit</a> (bool &bit)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld16">serialBuffer</a> (<a class="el" href="a04558.html#a7">uint8</a> *buf, <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a571">len</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld17">serialSeparatedBufferOut</a> (const char *<a class="el" href="a04223.html#a658">value</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld18">xmlBreakLineInternal</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">xmlBreakLine implementation <a href="#NLMISC_1_1COXmld18"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld19">xmlCommentInternal</a> (const char *comment)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">xmlComment implementation <a href="#NLMISC_1_1COXmld19"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld20">xmlPopInternal</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">xmlPop implementation <a href="#NLMISC_1_1COXmld20"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld21">xmlPushBeginInternal</a> (const char *nodeName)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">xmlPushBegin implementation <a href="#NLMISC_1_1COXmld21"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld22">xmlPushEndInternal</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">xmlPushEnd implementation <a href="#NLMISC_1_1COXmld22"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmld23">xmlSetAttribInternal</a> (const char *attribName)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">xmlBreakLine implementation <a href="#NLMISC_1_1COXmld23"></a><br><br></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="a03032.html#NLMISC_1_1COXmlr0">_AttribName</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmlr1">_AttribPresent</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmlr2">_ContentString</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>xmlNodePtr </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmlr3">_CurrentNode</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>xmlDocPtr </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmlr4">_Document</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmlr5">_ErrorString</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02270.html">IStream</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmlr6">_InternalStream</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmlr7">_PushBegin</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmlr8">_Version</a></td></tr> + +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmln0">xmlGenericErrorFuncWrite</a> (void *ctx, const char *msg,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmln1">xmlOutputCloseCallbackForNeL</a> (void *context)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="a03032.html#NLMISC_1_1COXmln2">xmlOutputWriteCallbackForNeL</a> (void *context, const char *<a class="el" href="a04223.html#a589">buffer</a>, int <a class="el" href="a04223.html#a571">len</a>)</td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NLMISC_1_1IStreamz2036_0" doxytag="NLMISC::COXml::TSeekOrigin" ></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="a02270.html#NLMISC_1_1IStreamz2036_0">NLMISC::IStream::TSeekOrigin</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Parameters for <a class="el" href="a02270.html#NLMISC_1_1IStreamz2036_3">seek()</a>. begin seek from the begining of the stream. current seek from the current location of the stream pointer. end seek from the end of the stream.<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="NLMISC_1_1IStreamz2036_0NLMISC_1_1IStreamw0" doxytag="begin" ></a>begin</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLMISC_1_1IStreamz2036_0NLMISC_1_1IStreamw1" doxytag="current" ></a>current</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLMISC_1_1IStreamz2036_0NLMISC_1_1IStreamw2" doxytag="end" ></a>end</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00549">549</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +<div class="fragment"><pre>00549 { <a class="code" href="a02270.html#NLMISC_1_1IStreamz2036_0NLMISC_1_1IStreamw0">begin</a>, <a class="code" href="a02270.html#NLMISC_1_1IStreamz2036_0NLMISC_1_1IStreamw1">current</a>, <a class="code" href="a02270.html#NLMISC_1_1IStreamz2036_0NLMISC_1_1IStreamw2">end</a> }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLMISC_1_1COXmla0" doxytag="NLMISC::COXml::COXml" ></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"> NLMISC::COXml::COXml </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> +Stream ctor +<p> +Definition at line <a class="el" href="a06107.html#l00075">75</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06108.html#l00186">_ContentString</a>, <a class="el" href="a06108.html#l00183">_CurrentNode</a>, <a class="el" href="a06108.html#l00177">_Document</a>, <a class="el" href="a06108.html#l00174">_InternalStream</a>, <a class="el" href="a06108.html#l00165">_PushBegin</a>, and <a class="el" href="a06461.html#l00427">NLMISC::IStream::setXMLMode()</a>. +<p> +<div class="fragment"><pre>00075 : <a class="code" href="a02270.html#NLMISC_1_1IStreama2">IStream</a> (<span class="keyword">false</span> <span class="comment">/* Output mode */</span>) +00076 { +00077 <span class="comment">// Set XML mode</span> +00078 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2040_2">setXMLMode</a> (<span class="keyword">true</span>); +00079 +00080 <span class="comment">// Set the stream</span> +00081 <a class="code" href="a03032.html#NLMISC_1_1COXmlr6">_InternalStream</a> = NULL; +00082 +00083 <span class="comment">// Set the version</span> +00084 <a class="code" href="a03032.html#NLMISC_1_1COXmlr8">_Version</a> = <span class="stringliteral">"1.0"</span>; +00085 +00086 <span class="comment">// Initialise the document</span> +00087 <a class="code" href="a03032.html#NLMISC_1_1COXmlr4">_Document</a> = NULL; +00088 +00089 <span class="comment">// Current node</span> +00090 <a class="code" href="a03032.html#NLMISC_1_1COXmlr3">_CurrentNode</a> = NULL; +00091 +00092 <span class="comment">// Content string</span> +00093 <a class="code" href="a03032.html#NLMISC_1_1COXmlr2">_ContentString</a> = <span class="stringliteral">""</span>; +00094 +00095 <span class="comment">// Push begin</span> +00096 <a class="code" href="a03032.html#NLMISC_1_1COXmlr7">_PushBegin</a> = <span class="keyword">false</span>; +00097 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmla11" doxytag="NLMISC::COXml::~COXml" ></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"> NLMISC::COXml::~<a class="el" href="a03032.html">COXml</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Default dstor<p> +Flush the stream. +<p> +Definition at line <a class="el" href="a06107.html#l00152">152</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06107.html#l00620">flush()</a>. +<p> +<div class="fragment"><pre>00153 { +00154 <span class="comment">// Flush document to the internal stream</span> +00155 <a class="code" href="a03032.html#NLMISC_1_1COXmla1">flush</a> (); +00156 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLMISC_1_1COXmla1" doxytag="NLMISC::COXml::flush" ></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 NLMISC::COXml::flush </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> +Flush the stream.<p> +You can only flush the stream when all xmlPushBegin - xmlPop have been closed. +<p> +Definition at line <a class="el" href="a06107.html#l00620">620</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06108.html#l00177">_Document</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05646.html#l01119">res</a>, <a class="el" href="a06107.html#l00662">xmlOutputCloseCallbackForNeL</a>, and <a class="el" href="a06107.html#l00648">xmlOutputWriteCallbackForNeL</a>. +<p> +Referenced by <a class="el" href="a06412.html#l00081">NLSOUND::CSoundAnimation::save()</a>, and <a class="el" href="a06107.html#l00152">~COXml()</a>. +<p> +<div class="fragment"><pre>00621 { +00622 <span class="keywordflow">if</span> (<a class="code" href="a03032.html#NLMISC_1_1COXmlr4">_Document</a>) +00623 { +00624 <span class="comment">// Generate indentation</span> +00625 xmlKeepBlanksDefault (0); +00626 +00627 <span class="comment">// Create a output context</span> +00628 xmlOutputBufferPtr outputBuffer = xmlOutputBufferCreateIO ( xmlOutputWriteCallbackForNeL, xmlOutputCloseCallbackForNeL, <span class="keyword">this</span>, NULL ); +00629 +00630 <span class="comment">// Save the file</span> +00631 <span class="keywordtype">int</span> <a class="code" href="a04223.html#a643">res</a> = xmlSaveFormatFileTo (outputBuffer, _Document, NULL, 1); +00632 +00633 <span class="comment">// No error should be returned because, exception should be raised by the internal stream</span> +00634 <a class="code" href="a04199.html#a6">nlassert</a> (res!=-1); +00635 +00636 <span class="comment">// Free the document</span> +00637 xmlFreeDoc (_Document); +00638 <a class="code" href="a03032.html#NLMISC_1_1COXmlr4">_Document</a> = NULL; +00639 } +00640 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld0" doxytag="NLMISC::COXml::flushContentString" ></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 NLMISC::COXml::flushContentString </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, 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="a06107.html#l00053">53</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06108.html#l00186">_ContentString</a>, <a class="el" href="a06108.html#l00183">_CurrentNode</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05646.html#l00645">size</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06107.html#l00488">xmlPopInternal()</a>, and <a class="el" href="a06107.html#l00394">xmlPushBeginInternal()</a>. +<p> +<div class="fragment"><pre>00054 { +00055 <span class="comment">// Current node must exist here</span> +00056 <a class="code" href="a04199.html#a6">nlassert</a> (_CurrentNode); +00057 +00058 <span class="comment">// String size</span> +00059 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a587">size</a>=<a class="code" href="a03032.html#NLMISC_1_1COXmlr2">_ContentString</a>.length(); +00060 +00061 <span class="comment">// Some content to write ?</span> +00062 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a587">size</a>) +00063 { +00064 <span class="comment">// Write it in the current node</span> +00065 xmlNodePtr textNode = xmlNewText ((<span class="keyword">const</span> xmlChar *)<a class="code" href="a03032.html#NLMISC_1_1COXmlr2">_ContentString</a>.c_str()); +00066 xmlAddChild (_CurrentNode, textNode); +00067 +00068 <span class="comment">// Empty the string</span> +00069 <a class="code" href="a03032.html#NLMISC_1_1COXmlr2">_ContentString</a>.erase (); +00070 } +00071 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmla2" doxytag="NLMISC::COXml::getDocument" ></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"> xmlDocPtr NLMISC::COXml::getDocument </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> +Get root XML document pointer +<p> +Definition at line <a class="el" href="a06107.html#l00673">673</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06108.html#l00177">_Document</a>. +<p> +Referenced by <a class="el" href="a06412.html#l00081">NLSOUND::CSoundAnimation::save()</a>, and <a class="el" href="a05724.html#l00271">NLGEORGES::CForm::write()</a>. +<p> +<div class="fragment"><pre>00674 { +00675 <span class="keywordflow">if</span> (<a class="code" href="a03032.html#NLMISC_1_1COXmlr4">_Document</a>) +00676 <span class="keywordflow">return</span> <a class="code" href="a03032.html#NLMISC_1_1COXmlr4">_Document</a>; +00677 +00678 <span class="comment">// Initialise the document</span> +00679 <a class="code" href="a03032.html#NLMISC_1_1COXmlr4">_Document</a> = xmlNewDoc ((<span class="keyword">const</span> xmlChar *)<a class="code" href="a03032.html#NLMISC_1_1COXmlr8">_Version</a>.c_str()); +00680 +00681 <span class="keywordflow">return</span> <a class="code" href="a03032.html#NLMISC_1_1COXmlr4">_Document</a>; +00682 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmla3" doxytag="NLMISC::COXml::getErrorString" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char * NLMISC::COXml::getErrorString </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> +Return the error string. if not empty, something wrong appends +<p> +Definition at line <a class="el" href="a06107.html#l00699">699</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +<div class="fragment"><pre>00700 { +00701 <span class="keywordflow">return</span> <a class="code" href="a03032.html#NLMISC_1_1COXmlr5">_ErrorString</a>.c_str (); +00702 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2036_1" doxytag="NLMISC::COXml::getPos" ></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#a10">sint32</a> NLMISC::IStream::getPos </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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the location of the stream pointer.<p> +NB: If the stream doesn't support the seek fonctionnality, it throw <a class="el" href="a03808.html">ESeekNotSupported</a>. Default implementation: { throw <a class="el" href="a03808.html">ESeekNotSupported</a>; } <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>offset</em> </td><td>is the wanted offset from the origin. </td></tr> + <tr><td valign=top><em>origin</em> </td><td>is the origin of the seek </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the new offset regarding from the origin. </dd></dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03808.html">ESeekNotSupported</a> SeekOrigin <a class="el" href="a02270.html#NLMISC_1_1IStreamz2036_3">seek</a></dd></dl> + +<p> +Reimplemented in <a class="el" href="a02973.html#NLAIAGENT_1_1CMsgIStreama2">NLAIAGENT::CMsgIStream</a>, <a class="el" href="a02653.html#NLMISC_1_1CIFilea8">NLMISC::CIFile</a>, <a class="el" href="a03011.html#NLMISC_1_1COFilea4">NLMISC::COFile</a>, and <a class="el" href="a02271.html#NLMISC_1_1CStringStreama10">NLMISC::CMemStream</a>. +<p> +Definition at line <a class="el" href="a06461.html#l00407">407</a> of file <a class="el" href="a06461.html">stream.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05486.html#l01800">NLMISC::CBitmap::readTGA()</a>. +<p> +<div class="fragment"><pre>00408 { +00409 <span class="keywordflow">throw</span> ESeekNotSupported(*<span class="keyword">this</span>); +00410 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2036_2" doxytag="NLMISC::COXml::getStreamName" ></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"> string NLMISC::IStream::getStreamName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get a name for this stream. maybe a fileName if FileStream. Default is to return "". +<p> +Reimplemented in <a class="el" href="a02653.html#NLMISC_1_1CIFilea9">NLMISC::CIFile</a>, and <a class="el" href="a03011.html#NLMISC_1_1COFilea5">NLMISC::COFile</a>. +<p> +Definition at line <a class="el" href="a06461.html#l00420">420</a> of file <a class="el" href="a06461.html">stream.cpp</a>. +<p> +Referenced by <a class="el" href="a06461.html#l00046">NLMISC::EStream::EStream()</a>. +<p> +<div class="fragment"><pre>00421 { +00422 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00423 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreame0" doxytag="NLMISC::COXml::getVersionException" ></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 NLMISC::IStream::getVersionException </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool & </td> + <td class="mdname" nowrap> <em>throwOnOlder</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>throwOnNewer</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the behavior of <a class="el" href="a02270.html">IStream</a> regarding input stream that are older/newer than the class. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion()</a> <a class="el" href="a02270.html#NLMISC_1_1IStreame1">setVersionException()</a></dd></dl> + +<p> +Definition at line <a class="el" href="a06461.html#l00078">78</a> of file <a class="el" href="a06461.html">stream.cpp</a>. +<p> +References <a class="el" href="a06461.html#l00067">NLMISC::IStream::_ThrowOnNewer</a>, and <a class="el" href="a06461.html#l00066">NLMISC::IStream::_ThrowOnOlder</a>. +<p> +<div class="fragment"><pre>00079 { +00080 throwOnOlder=_ThrowOnOlder; +00081 throwOnNewer=_ThrowOnNewer; +00082 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmla4" doxytag="NLMISC::COXml::init" ></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 NLMISC::COXml::init </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">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>const char * </td> + <td class="mdname" nowrap> <em>version</em> = "1.0"</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> +Stream initialisation<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 the class will use to output xml code. this pointer is held by the class but won't be deleted. </td></tr> + <tr><td valign=top><em>version</em> </td><td>is the version to write in the XML header. Default is 1.0. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>true if initialisation is successful, false if the stream passed is not an output stream.</dd></dl> + +<p> +Definition at line <a class="el" href="a06107.html#l00111">111</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06108.html#l00186">_ContentString</a>, <a class="el" href="a06108.html#l00183">_CurrentNode</a>, <a class="el" href="a06108.html#l00177">_Document</a>, <a class="el" href="a06108.html#l00174">_InternalStream</a>, <a class="el" href="a06108.html#l00165">_PushBegin</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a06461.html#l00253">NLMISC::IStream::resetPtrTable()</a>, <a class="el" href="a06461.html#l00427">NLMISC::IStream::setXMLMode()</a>, and <a class="el" href="a06107.html#l00101">NLMISC::xmlGenericErrorFuncWrite()</a>. +<p> +Referenced by <a class="el" href="a06762.html#l00141">NLLIGO::CZoneBank::debugSaveInit()</a>, <a class="el" href="a06412.html#l00081">NLSOUND::CSoundAnimation::save()</a>, and <a class="el" href="a05724.html#l00271">NLGEORGES::CForm::write()</a>. +<p> +<div class="fragment"><pre>00112 { +00113 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2040_0">resetPtrTable</a>(); +00114 +00115 <span class="comment">// Output stream ?</span> +00116 <span class="keywordflow">if</span> (!stream->isReading()) +00117 { +00118 <span class="comment">// Set error handler</span> +00119 <a class="code" href="a03032.html#NLMISC_1_1COXmlr5">_ErrorString</a> = <span class="stringliteral">""</span>; +00120 xmlSetGenericErrorFunc (<span class="keyword">this</span>, xmlGenericErrorFuncWrite); +00121 +00122 <span class="comment">// Set XML mode</span> +00123 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2040_2">setXMLMode</a> (<span class="keyword">true</span>); +00124 +00125 <span class="comment">// Set the stream</span> +00126 <a class="code" href="a03032.html#NLMISC_1_1COXmlr6">_InternalStream</a> = stream; +00127 +00128 <span class="comment">// Set the version</span> +00129 <a class="code" href="a03032.html#NLMISC_1_1COXmlr8">_Version</a> = version; +00130 +00131 <span class="comment">// Initialise the document</span> +00132 <a class="code" href="a03032.html#NLMISC_1_1COXmlr4">_Document</a> = NULL; +00133 +00134 <span class="comment">// Current node</span> +00135 <a class="code" href="a03032.html#NLMISC_1_1COXmlr3">_CurrentNode</a> = NULL; +00136 +00137 <span class="comment">// Content string</span> +00138 <a class="code" href="a03032.html#NLMISC_1_1COXmlr2">_ContentString</a> = <span class="stringliteral">""</span>; +00139 +00140 <span class="comment">// Push begin</span> +00141 <a class="code" href="a03032.html#NLMISC_1_1COXmlr7">_PushBegin</a> = <span class="keyword">false</span>; +00142 +00143 <span class="comment">// Ok</span> +00144 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00145 } +00146 <span class="keywordflow">else</span> +00147 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00148 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreama0" doxytag="NLMISC::COXml::isReading" ></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 NLMISC::IStream::isReading </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> +Is this stream a Read/Input stream? +<p> + +<p> +Definition at line <a class="el" href="a06463.html#l00064">64</a> of file <a class="el" href="a06463.html">stream_inline.h</a>. +<p> +References <a class="el" href="a06462.html#l00884">NLMISC::IStream::_InputStream</a>. +<p> +Referenced by <a class="el" href="a06026.html#l00151">NLNET::CMessage::assignFromSubMessage()</a>, <a class="el" href="a05979.html#l00306">NLMISC::CMemStream::bufferToFill()</a>, <a class="el" href="a06152.html#l00136">NL3D::CParticleSystemShape::buildFromPS()</a>, <a class="el" href="a06026.html#l00398">NLNET::CMessage::clear()</a>, <a class="el" href="a05979.html#l00201">NLMISC::CMemStream::clear()</a>, <a class="el" href="a06026.html#l00091">NLNET::CMessage::CMessage()</a>, <a class="el" href="a05482.html#l00673">NLMISC::CBitMemStream::displayStream()</a>, <a class="el" href="a05979.html#l00371">NLMISC::CMemStream::fastSerial()</a>, <a class="el" href="a05979.html#l00277">NLMISC::CMemStream::fill()</a>, <a class="el" href="a06152.html#l00344">NL3D::CParticleSystemShape::flushTextures()</a>, <a class="el" href="a05482.html#l00737">NLMISC::CBitMemStream::getSerialItem()</a>, <a class="el" href="a05483.html#l00730">NLMISC::CBitMemStream::increaseBufferIfNecessary()</a>, <a class="el" href="a06107.html#l00111">init()</a>, <a class="el" href="a06152.html#l00182">NL3D::CParticleSystemShape::instanciatePS()</a>, <a class="el" href="a05482.html#l00172">NLMISC::CBitMemStream::internalSerial()</a>, <a class="el" href="a06027.html#l00198">NLNET::CMessage::invert()</a>, <a class="el" href="a05979.html#l00331">NLMISC::CMemStream::invert()</a>, <a class="el" href="a05483.html#l00418">NLMISC::CBitMemStream::invert()</a>, <a class="el" href="a06027.html#l00104">NLNET::CMessage::length()</a>, <a class="el" href="a05979.html#l00217">NLMISC::CMemStream::length()</a>, <a class="el" href="a05483.html#l00402">NLMISC::CBitMemStream::length()</a>, <a class="el" href="a05486.html#l00109">NLMISC::CBitmap::load()</a>, <a class="el" href="a05486.html#l02582">NLMISC::CBitmap::loadSize()</a>, <a class="el" href="a06027.html#l00143">NLNET::CMessage::lockSubMessage()</a>, <a class="el" href="a06026.html#l00118">NLNET::CMessage::operator=()</a>, <a class="el" href="a05483.html#l00710">NLMISC::CBitMemStream::pointNextByte()</a>, <a class="el" href="a05979.html#l00190">NLMISC::CMemStream::poke()</a>, <a class="el" href="a05482.html#l00346">NLMISC::CBitMemStream::poke()</a>, <a class="el" href="a05482.html#l00375">NLMISC::CBitMemStream::pokeBits()</a>, <a class="el" href="a05482.html#l00415">NLMISC::CBitMemStream::readBits()</a>, <a class="el" href="a05486.html#l01800">NLMISC::CBitmap::readTGA()</a>, <a class="el" href="a06026.html#l00362">NLNET::CMessage::readTypeAtCurrentPos()</a>, <a class="el" href="a05979.html#l00168">NLMISC::CMemStream::reserve()</a>, <a class="el" href="a05482.html#l00275">NLMISC::CBitMemStream::reserveBits()</a>, <a class="el" href="a05483.html#l00382">NLMISC::CBitMemStream::resetBufPos()</a>, <a class="el" href="a05761.html#l02623">NLPACS::CGlobalRetriever::CLrLoader::run()</a>, <a class="el" href="a06758.html#l00432">NL3D::CZone::serial()</a>, <a class="el" href="a06702.html#l00186">NL3D::CVegetableShape::serial()</a>, <a class="el" href="a06477.html#l00329">NLPACS::CSurfaceQuadTree::serial()</a>, <a class="el" href="a06477.html#l00246">NLPACS::CQuadBranch::serial()</a>, <a class="el" href="a06476.html#l00076">NL3D::CSurfaceLightGrid::CCellCorner::serial()</a>, <a class="el" href="a06471.html#l00115">NLMISC::CStringStream::serial()</a>, <a class="el" href="a06463.html#l00087">NLMISC::IStream::serial()</a>, <a class="el" href="a06350.html#l00379">NL3D::CInstanceGroup::serial()</a>, <a class="el" href="a06350.html#l00065">NL3D::CInstanceGroup::CInstance::serial()</a>, <a class="el" href="a06337.html#l00736">NLPACS::CRetrieverInstance::serial()</a>, <a class="el" href="a06336.html#l00114">NLPACS::CRetrieverBank::serial()</a>, <a class="el" href="a06213.html#l00438">NL3D::CPSAttrib< T >::serial()</a>, <a class="el" href="a06193.html#l00216">NL3D::CPortal::serial()</a>, <a class="el" href="a06184.html#l00073">NL3D::CPointLightNamed::serial()</a>, <a class="el" href="a06179.html#l00230">NL3D::CPointLight::serial()</a>, <a class="el" href="a06155.html#l01576">NL3D::CPatch::serial()</a>, <a class="el" href="a06116.html#l00260">NLMISC::CObjectVector< sint8, false >::serial()</a>, <a class="el" href="a06107.html#l00315">serial()</a>, <a class="el" href="a06029.html#l00072">NLNET::TMessageRecord::serial()</a>, <a class="el" href="a06011.html#l00991">NL3D::CMeshMRMSkinnedGeom::serial()</a>, <a class="el" href="a05979.html#l00561">NLMISC::CMemStream::serial()</a>, <a class="el" href="a05972.html#l01500">NLMISC::CMatrix::serial()</a>, <a class="el" href="a05968.html#l00438">NL3D::CMaterial::CLightMap::serial()</a>, <a class="el" href="a05968.html#l00139">NL3D::CMaterial::serial()</a>, <a class="el" href="a05810.html#l00409">NLNET::CInetAddress::serial()</a>, <a class="el" href="a05792.html#l00117">NL3D::CHLSTextureBank::serial()</a>, <a class="el" href="a05761.html#l00136">NLPACS::CGlobalRetriever::serial()</a>, <a class="el" href="a05666.html#l00571">NLPACS::CEdgeQuad::serial()</a>, <a class="el" href="a05563.html#l00250">NL3D::CCluster::serial()</a>, <a class="el" href="a05541.html#l00473">NLPACS::CChainQuad::serial()</a>, <a class="el" href="a05539.html#l00158">NLPACS::COrderedChain::serial()</a>, <a class="el" href="a05484.html#l00294">NLMISC::CBitSet::serial()</a>, <a class="el" href="a05482.html#l00447">NLMISC::CBitMemStream::serial()</a>, <a class="el" href="a05437.html#l00045">NL3D::CMaterialBase::CAnimatedTexture::serial()</a>, <a class="el" href="a05384.html#l00337">NLMISC::CAABBoxExt::serial()</a>, <a class="el" href="a05968.html#l00456">NL3D::CMaterial::CLightMap::serial2()</a>, <a class="el" href="a06471.html#l00253">NLMISC::CStringStream::serialBit()</a>, <a class="el" href="a05978.html#l00117">NLMISC::CMemStream::serialBit()</a>, <a class="el" href="a05482.html#l00100">NLMISC::CBitMemStream::serialBit()</a>, <a class="el" href="a05978.html#l00073">NLMISC::CMemStream::serialBuffer()</a>, <a class="el" href="a05482.html#l00073">NLMISC::CBitMemStream::serialBuffer()</a>, <a class="el" href="a06462.html#l00520">NLMISC::IStream::serialCheck()</a>, <a class="el" href="a06471.html#l00340">NLMISC::CStringStream::serialCont()</a>, <a class="el" href="a06461.html#l00318">NLMISC::IStream::serialCont()</a>, <a class="el" href="a05482.html#l00591">NLMISC::CBitMemStream::serialCont()</a>, <a class="el" href="a06462.html#l00261">NLMISC::IStream::serialEnum()</a>, <a class="el" href="a06710.html#l00883">NL3D::CVertexBuffer::serialHeader()</a>, <a class="el" href="a06471.html#l00375">NLMISC::CStringStream::serialHex()</a>, <a class="el" href="a05979.html#l00929">NLMISC::CMemStream::serialHex()</a>, <a class="el" href="a06461.html#l00115">NLMISC::IStream::serialIStreamable()</a>, <a class="el" href="a06005.html#l01918">NL3D::CMeshMRMGeom::serialLodVertexData()</a>, <a class="el" href="a06462.html#l01360">NLMISC::IStream::serialMap()</a>, <a class="el" href="a06461.html#l00436">NLMISC::IStream::serialMemStream()</a>, <a class="el" href="a05482.html#l00551">NLMISC::CBitMemStream::serialMemStream()</a>, <a class="el" href="a06026.html#l00472">NLNET::CMessage::serialMessage()</a>, <a class="el" href="a06462.html#l01271">NLMISC::IStream::serialMultimap()</a>, <a class="el" href="a06710.html#l00741">NL3D::CVertexBuffer::serialOldV1Minus()</a>, <a class="el" href="a06462.html#l00390">NLMISC::IStream::serialPtr()</a>, <a class="el" href="a06471.html#l00041">NLMISC::CStringStream::serialSeparatedBufferIn()</a>, <a class="el" href="a05978.html#l00307">NLMISC::CMemStream::serialSeparatedBufferIn()</a>, <a class="el" href="a06471.html#l00071">NLMISC::CStringStream::serialSeparatedBufferOut()</a>, <a class="el" href="a06107.html#l00160">serialSeparatedBufferOut()</a>, <a class="el" href="a05978.html#l00338">NLMISC::CMemStream::serialSeparatedBufferOut()</a>, <a class="el" href="a06462.html#l00955">NLMISC::IStream::serialSTLCont()</a>, <a class="el" href="a06462.html#l00905">NLMISC::IStream::serialSTLContLen()</a>, <a class="el" href="a06462.html#l01162">NLMISC::IStream::serialSTLContLenPolyPtr()</a>, <a class="el" href="a06462.html#l01056">NLMISC::IStream::serialSTLContLenPtr()</a>, <a class="el" href="a06462.html#l01192">NLMISC::IStream::serialSTLContPolyPtr()</a>, <a class="el" href="a06462.html#l01086">NLMISC::IStream::serialSTLContPtr()</a>, <a class="el" href="a06710.html#l01008">NL3D::CVertexBuffer::serialSubset()</a>, <a class="el" href="a06462.html#l00992">NLMISC::IStream::serialVector()</a>, <a class="el" href="a06462.html#l01215">NLMISC::IStream::serialVectorPolyPtr()</a>, <a class="el" href="a06462.html#l01121">NLMISC::IStream::serialVectorPtr()</a>, <a class="el" href="a06461.html#l00266">NLMISC::IStream::serialVersion()</a>, <a class="el" href="a06026.html#l00173">NLNET::CMessage::setType()</a>, <a class="el" href="a06027.html#l00164">NLNET::CMessage::unlockSubMessage()</a>, <a class="el" href="a05486.html#l02139">NLMISC::CBitmap::writeTGA()</a>, <a class="el" href="a06107.html#l00556">xmlBreakLineInternal()</a>, <a class="el" href="a06107.html#l00587">xmlCommentInternal()</a>, <a class="el" href="a06107.html#l00488">xmlPopInternal()</a>, <a class="el" href="a06107.html#l00394">xmlPushBeginInternal()</a>, <a class="el" href="a06107.html#l00457">xmlPushEndInternal()</a>, and <a class="el" href="a06107.html#l00522">xmlSetAttribInternal()</a>. +<p> +<div class="fragment"><pre>00065 { +00066 <span class="keywordflow">return</span> _InputStream; +00067 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmle1" doxytag="NLMISC::COXml::isStringValidForProperties" ></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 NLMISC::COXml::isStringValidForProperties </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>str</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return true if the string is valid to be stored in a XML property without modification. +<p> +Definition at line <a class="el" href="a06107.html#l00686">686</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +Referenced by <a class="el" href="a05728.html#l02966">NLGEORGES::CFormElmAtom::write()</a>. +<p> +<div class="fragment"><pre>00687 { +00688 <span class="keywordflow">while</span> (*str) +00689 { +00690 <span class="keywordflow">if</span> (*str == <span class="charliteral">'\n'</span>) +00691 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00692 str++; +00693 } +00694 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00695 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreama3" doxytag="NLMISC::COXml::isXML" ></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 NLMISC::IStream::isXML </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="a06462.html#l00221">221</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01443">NLMISC::IStream::_XML</a>. +<p> +Referenced by <a class="el" href="a05979.html#l00803">NLMISC::CMemStream::serial()</a>. +<p> +<div class="fragment"><pre>00221 { <span class="keywordflow">return</span> _XML; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2040_0" doxytag="NLMISC::COXml::resetPtrTable" ></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 NLMISC::IStream::resetPtrTable </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> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +for Deriver: reset the PtrTable in the stream. If Derived stream provide reset()-like methods, they must call this method in their reset() methods. For example, CFile::close() must call it, so it will work correctly with next <a class="el" href="a02270.html#NLMISC_1_1IStreamz2035_7">serialPtr()</a> +<p> +Reimplemented in <a class="el" href="a02271.html#NLMISC_1_1CStringStreama20">NLMISC::CMemStream</a>. +<p> +Definition at line <a class="el" href="a06461.html#l00253">253</a> of file <a class="el" href="a06461.html">stream.cpp</a>. +<p> +References <a class="el" href="a06462.html#l00890">NLMISC::IStream::_IdMap</a>, and <a class="el" href="a06462.html#l00889">NLMISC::IStream::_NextSerialPtrId</a>. +<p> +Referenced by <a class="el" href="a05708.html#l00255">NLMISC::CIFile::close()</a>, <a class="el" href="a06107.html#l00111">init()</a>, <a class="el" href="a05708.html#l00536">NLMISC::COFile::internalClose()</a>, <a class="el" href="a06463.html#l00055">NLMISC::IStream::IStream()</a>, and <a class="el" href="a06461.html#l00101">NLMISC::IStream::operator=()</a>. +<p> +<div class="fragment"><pre>00254 { +00255 _IdMap.clear(); +00256 _NextSerialPtrId = 1; <span class="comment">// Start at 1 because 0 is the NULL pointer</span> +00257 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2036_3" doxytag="NLMISC::COXml::seek" ></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 NLMISC::IStream::seek </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap> <em>offset</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02270.html#NLMISC_1_1IStreamz2036_0">TSeekOrigin</a> </td> + <td class="mdname" nowrap> <em>origin</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Moves the stream pointer to a specified location.<p> +NB: If the stream doesn't support the seek fonctionnality, it throw <a class="el" href="a03808.html">ESeekNotSupported</a>. Default implementation: { throw <a class="el" href="a03808.html">ESeekNotSupported</a>; } <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>offset</em> </td><td>is the wanted offset from the origin. </td></tr> + <tr><td valign=top><em>origin</em> </td><td>is the origin of the seek </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>true if seek sucessfull. </dd></dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03808.html">ESeekNotSupported</a> SeekOrigin <a class="el" href="a02270.html#NLMISC_1_1IStreamz2036_1">getPos</a></dd></dl> + +<p> +Reimplemented in <a class="el" href="a02271.html#NLMISC_1_1CStringStreama22">NLMISC::CMemStream</a>. +<p> +Definition at line <a class="el" href="a06461.html#l00401">401</a> of file <a class="el" href="a06461.html">stream.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00645">offset</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05486.html#l00109">NLMISC::CBitmap::load()</a>, <a class="el" href="a06005.html#l02001">NL3D::CMeshMRMGeom::loadNextLod()</a>, <a class="el" href="a05486.html#l02582">NLMISC::CBitmap::loadSize()</a>, <a class="el" href="a05486.html#l00244">NLMISC::CBitmap::readDDS()</a>, and <a class="el" href="a05486.html#l01800">NLMISC::CBitmap::readTGA()</a>. +<p> +<div class="fragment"><pre>00402 { +00403 <span class="keywordflow">throw</span> ESeekNotSupported(*<span class="keyword">this</span>); +00404 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00405 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2032_0" doxytag="NLMISC::COXml::serial" ></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" colspan="4"> +template<class T0, class T1, class T2, class T3, class T4, class T5> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T0 & </td> + <td class="mdname" nowrap> <em>a</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T1 & </td> + <td class="mdname" nowrap> <em>b</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T2 & </td> + <td class="mdname" nowrap> <em>c</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T3 & </td> + <td class="mdname" nowrap> <em>d</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T4 & </td> + <td class="mdname" nowrap> <em>e</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T5 & </td> + <td class="mdname" nowrap> <em>f</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a02271.html#NLNET_1_1CMessagea36">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama23">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06462.html#l00313">313</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>. +<p> +<div class="fragment"><pre>00314 { <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(a); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(b); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(c); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(d); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(e); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(f);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2032_1" doxytag="NLMISC::COXml::serial" ></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" colspan="4"> +template<class T0, class T1, class T2, class T3, class T4> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T0 & </td> + <td class="mdname" nowrap> <em>a</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T1 & </td> + <td class="mdname" nowrap> <em>b</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T2 & </td> + <td class="mdname" nowrap> <em>c</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T3 & </td> + <td class="mdname" nowrap> <em>d</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T4 & </td> + <td class="mdname" nowrap> <em>e</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a02271.html#NLNET_1_1CMessagea37">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama24">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06462.html#l00310">310</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>. +<p> +<div class="fragment"><pre>00311 { <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(a); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(b); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(c); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(d); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(e);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2032_2" doxytag="NLMISC::COXml::serial" ></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" colspan="4"> +template<class T0, class T1, class T2, class T3> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T0 & </td> + <td class="mdname" nowrap> <em>a</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T1 & </td> + <td class="mdname" nowrap> <em>b</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T2 & </td> + <td class="mdname" nowrap> <em>c</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T3 & </td> + <td class="mdname" nowrap> <em>d</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a02271.html#NLNET_1_1CMessagea38">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama25">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06462.html#l00307">307</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>. +<p> +<div class="fragment"><pre>00308 { <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(a); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(b); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(c); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(d);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2032_3" doxytag="NLMISC::COXml::serial" ></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" colspan="4"> +template<class T0, class T1, class T2> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T0 & </td> + <td class="mdname" nowrap> <em>a</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T1 & </td> + <td class="mdname" nowrap> <em>b</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T2 & </td> + <td class="mdname" nowrap> <em>c</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a02271.html#NLNET_1_1CMessagea39">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama26">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06462.html#l00304">304</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>. +<p> +<div class="fragment"><pre>00305 { <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(a); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(b); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(c);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2032_4" doxytag="NLMISC::COXml::serial" ></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" colspan="4"> +template<class T0, class T1> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T0 & </td> + <td class="mdname" nowrap> <em>a</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T1 & </td> + <td class="mdname" nowrap> <em>b</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a02271.html#NLNET_1_1CMessagea40">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama27">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06462.html#l00301">301</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>. +<p> +<div class="fragment"><pre>00302 { <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(a); <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(b);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreama5" doxytag="NLMISC::COXml::serial" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T & </td> + <td class="mdname1" valign="top" nowrap> <em>obj</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Template Object serialisation. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>obj</em> </td><td>any object providing a "void serial(IStream&)" method. The object doesn't have to derive from <a class="el" href="a02867.html">IStreamable</a>.</td></tr> + </table> +</dl> +the VC++ error "error C2228: left of '.serial' must have class/struct/union type" means you don't provide a <a class="el" href="a02270.html#NLMISC_1_1IStreama5">serial()</a> method to your object. Or you may have use serial with a int / uint / sint type. REMEMBER YOU CANNOT do this, since those type have unspecified length. +<p> +Reimplemented in <a class="el" href="a02269.html#NLMISC_1_1CBitMemStreama36">NLMISC::CBitMemStream</a>, <a class="el" href="a02271.html#NLNET_1_1CMessagea41">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama28">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06462.html#l00232">232</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +Referenced by <a class="el" href="a05465.html#l00560">NLSOUND::CAudioMixerUser::buildSampleBankList()</a>, <a class="el" href="a05673.html#l00178">NLMISC::CEntityId::CEntityId()</a>, <a class="el" href="a05805.html#l00332">NLAIAGENT::CIdent::CIdent()</a>, <a class="el" href="a05475.html#l00521">NLAIAGENT::IConnectIA::connectLoadStream()</a>, <a class="el" href="a06047.html#l00043">H_AUTO_DECL()</a>, <a class="el" href="a06005.html#l00055">NL3D::H_AUTO_DECL()</a>, <a class="el" href="a06671.html#l00332">NLAISCRIPT::CVarPStackParam::load()</a>, <a class="el" href="a06671.html#l00111">NLAISCRIPT::CVarPStack::load()</a>, <a class="el" href="a06669.html#l00084">NLAILOGIC::CVarSet::load()</a>, <a class="el" href="a06660.html#l00190">NLAILOGIC::CVar::load()</a>, <a class="el" href="a06658.html#l00399">NLAILOGIC::CValueSet::load()</a>, <a class="el" href="a06378.html#l00427">NL3D::CShapeBank::load()</a>, <a class="el" href="a06356.html#l00155">NLAISCRIPT::CScriptDebugSourceMemory::load()</a>, <a class="el" href="a06356.html#l00099">NLAISCRIPT::CScriptDebugSourceFile::load()</a>, <a class="el" href="a06346.html#l00228">NLSOUND::CSampleBank::load()</a>, <a class="el" href="a06328.html#l00221">NLAIC::CBinaryType::load()</a>, <a class="el" href="a06131.html#l00122">NLAILOGIC::IBaseOperator::load()</a>, <a class="el" href="a06127.html#l00359">NLAISCRIPT::CLdbRefOpCode::load()</a>, <a class="el" href="a06127.html#l00304">NLAISCRIPT::CLdbHeapMemberiOpCode::load()</a>, <a class="el" href="a06127.html#l00132">NLAISCRIPT::CLdbMemberOpCode::load()</a>, <a class="el" href="a06127.html#l00072">NLAISCRIPT::CLdbOpCode::load()</a>, <a class="el" href="a06125.html#l00437">NLAISCRIPT::CCallMethodi::load()</a>, <a class="el" href="a06125.html#l00315">NLAISCRIPT::CCallStackMethodi::load()</a>, <a class="el" href="a06125.html#l00242">NLAISCRIPT::CCallHeapMethodi::load()</a>, <a class="el" href="a06125.html#l00168">NLAISCRIPT::CCallMethod::load()</a>, <a class="el" href="a06123.html#l00537">NLAISCRIPT::CLibHeapMemberMethod::load()</a>, <a class="el" href="a06123.html#l00439">NLAISCRIPT::CLibStackMemberMethod::load()</a>, <a class="el" href="a06123.html#l00370">NLAISCRIPT::CLibCallMethodi::load()</a>, <a class="el" href="a06123.html#l00303">NLAISCRIPT::CLibCallInheritedMethod::load()</a>, <a class="el" href="a06123.html#l00241">NLAISCRIPT::CLibCallMethod::load()</a>, <a class="el" href="a06123.html#l00184">NLAISCRIPT::CLibMemberMethodi::load()</a>, <a class="el" href="a06123.html#l00125">NLAISCRIPT::CLibMemberInheritedMethod::load()</a>, <a class="el" href="a06123.html#l00072">NLAISCRIPT::CLibMemberMethod::load()</a>, <a class="el" href="a06121.html#l01742">NLAISCRIPT::CMarkMsg::load()</a>, <a class="el" href="a06121.html#l01229">NLAISCRIPT::CAffMemberOpCode::load()</a>, <a class="el" href="a06121.html#l01099">NLAISCRIPT::CAffHeapMemberiOpCode::load()</a>, <a class="el" href="a06121.html#l01001">NLAISCRIPT::CAffOpCode::load()</a>, <a class="el" href="a06121.html#l00918">NLAISCRIPT::CJmpOpCode::load()</a>, <a class="el" href="a06121.html#l00854">NLAISCRIPT::CJFalseOpCode::load()</a>, <a class="el" href="a06120.html#l00758">NLAISCRIPT::CAddParamNameDebug::load()</a>, <a class="el" href="a06120.html#l00658">NLAISCRIPT::CFindRunMsg::load()</a>, <a class="el" href="a06120.html#l00502">NLAISCRIPT::CAffOpCodeDebug::load()</a>, <a class="el" href="a06112.html#l00217">NLAISCRIPT::CLoadHeapObject::load()</a>, <a class="el" href="a06077.html#l00075">NLAIAGENT::CMessageGroup::load()</a>, <a class="el" href="a06065.html#l00236">NLAIAGENT::IMessageBase::load()</a>, <a class="el" href="a05964.html#l00194">NLAIAGENT::CLocalMailBox::load()</a>, <a class="el" href="a05911.html#l00061">NLAIAGENT::IListBasicManager::load()</a>, <a class="el" href="a05847.html#l00783">NLAISCRIPT::CAgentClass::load()</a>, <a class="el" href="a05845.html#l00038">NLAISCRIPT::CComponent::load()</a>, <a class="el" href="a05843.html#l00404">NLAISCRIPT::CMethodeName::load()</a>, <a class="el" href="a05843.html#l00218">NLAISCRIPT::CParam::load()</a>, <a class="el" href="a05805.html#l00376">NLAIAGENT::CIdent::load()</a>, <a class="el" href="a05803.html#l00267">NLAIAGENT::CIndexVariant< T, indexMax, maxT >::load()</a>, <a class="el" href="a05770.html#l01055">NLAIAGENT::CVectorGroupType::load()</a>, <a class="el" href="a05770.html#l00643">NLAIAGENT::CGroupType::load()</a>, <a class="el" href="a05753.html#l00201">NLAIFUZZY::CFuzzyVar::load()</a>, <a class="el" href="a05751.html#l00052">NLAIFUZZY::FuzzyType::load()</a>, <a class="el" href="a05749.html#l00523">NLAIFUZZY::CTriangleFuzzySet::load()</a>, <a class="el" href="a05745.html#l00145">NLAIFUZZY::CFuzzyRule::load()</a>, <a class="el" href="a05697.html#l00168">NLAILOGIC::CFactBase::load()</a>, <a class="el" href="a05673.html#l00443">NLMISC::CEntityId::load()</a>, <a class="el" href="a05573.html#l00114">NLAISCRIPT::CCodeBrancheRunDebug::load()</a>, <a class="el" href="a05571.html#l00061">NLAISCRIPT::CCodeBrancheRun::load()</a>, <a class="el" href="a05545.html#l00098">NLAICHARACTER::CCharacterChild::load()</a>, <a class="el" href="a05499.html#l00082">NLAILOGIC::CBoolOperator::load()</a>, <a class="el" href="a05495.html#l00093">NLAILOGIC::CBoolAssert::load()</a>, <a class="el" href="a05486.html#l00109">NLMISC::CBitmap::load()</a>, <a class="el" href="a05477.html#l00153">NLAIAGENT::IAgentComposite::load()</a>, <a class="el" href="a05471.html#l00618">NLSOUND::CBackgroundSoundManager::load()</a>, <a class="el" href="a05415.html#l00188">NLAIAGENT::CStringVarName::load()</a>, <a class="el" href="a05412.html#l00605">NLAIAGENT::CAgentScript::load()</a>, <a class="el" href="a05407.html#l00087">NLAIAGENT::CStringType::load()</a>, <a class="el" href="a05405.html#l00157">NLAIAGENT::INombre< sint32 >::load()</a>, <a class="el" href="a05398.html#l00104">NLAIAGENT::IAgentInput::load()</a>, <a class="el" href="a05395.html#l00083">NLAIAGENT::IVector::load()</a>, <a class="el" href="a05389.html#l00438">NLAIAGENT::CActorScript::load()</a>, <a class="el" href="a05414.html#l00095">NLAIAGENT::CIndexedVarName::loadClass()</a>, <a class="el" href="a06005.html#l01951">NL3D::CMeshMRMGeom::loadFirstLod()</a>, <a class="el" href="a05926.html#l00145">loadForm()</a>, <a class="el" href="a05657.html#l01393">NL3D::CDriverUser::loadHLSBank()</a>, <a class="el" href="a06589.html#l00982">NLAISCRIPT::IOpType::loadIOpType()</a>, <a class="el" href="a06005.html#l02001">NL3D::CMeshMRMGeom::loadNextLod()</a>, <a class="el" href="a05486.html#l02582">NLMISC::CBitmap::loadSize()</a>, <a class="el" href="a06536.html#l01570">NL3D::CTileSet::loadTileVegetableDesc()</a>, <a class="el" href="a05486.html#l00244">NLMISC::CBitmap::readDDS()</a>, <a class="el" href="a05486.html#l01800">NLMISC::CBitmap::readTGA()</a>, <a class="el" href="a05475.html#l00433">NLAIAGENT::IRefrence::refLoadStream()</a>, <a class="el" href="a05457.html#l00231">NL3D::CAsyncFileManager3D::CMeshLoad::run()</a>, <a class="el" href="a06671.html#l00324">NLAISCRIPT::CVarPStackParam::save()</a>, <a class="el" href="a06671.html#l00105">NLAISCRIPT::CVarPStack::save()</a>, <a class="el" href="a06669.html#l00071">NLAILOGIC::CVarSet::save()</a>, <a class="el" href="a06660.html#l00172">NLAILOGIC::CVar::save()</a>, <a class="el" href="a06658.html#l00369">NLAILOGIC::CValueSet::save()</a>, <a class="el" href="a06356.html#l00148">NLAISCRIPT::CScriptDebugSourceMemory::save()</a>, <a class="el" href="a06356.html#l00093">NLAISCRIPT::CScriptDebugSourceFile::save()</a>, <a class="el" href="a06328.html#l00210">NLAIC::CBinaryType::save()</a>, <a class="el" href="a06131.html#l00102">NLAILOGIC::IBaseOperator::save()</a>, <a class="el" href="a06127.html#l00353">NLAISCRIPT::CLdbRefOpCode::save()</a>, <a class="el" href="a06127.html#l00296">NLAISCRIPT::CLdbHeapMemberiOpCode::save()</a>, <a class="el" href="a06127.html#l00126">NLAISCRIPT::CLdbMemberOpCode::save()</a>, <a class="el" href="a06127.html#l00066">NLAISCRIPT::CLdbOpCode::save()</a>, <a class="el" href="a06125.html#l00427">NLAISCRIPT::CCallMethodi::save()</a>, <a class="el" href="a06125.html#l00305">NLAISCRIPT::CCallStackMethodi::save()</a>, <a class="el" href="a06125.html#l00230">NLAISCRIPT::CCallHeapMethodi::save()</a>, <a class="el" href="a06125.html#l00160">NLAISCRIPT::CCallMethod::save()</a>, <a class="el" href="a06123.html#l00530">NLAISCRIPT::CLibHeapMemberMethod::save()</a>, <a class="el" href="a06123.html#l00429">NLAISCRIPT::CLibStackMemberMethod::save()</a>, <a class="el" href="a06123.html#l00358">NLAISCRIPT::CLibCallMethodi::save()</a>, <a class="el" href="a06123.html#l00293">NLAISCRIPT::CLibCallInheritedMethod::save()</a>, <a class="el" href="a06123.html#l00233">NLAISCRIPT::CLibCallMethod::save()</a>, <a class="el" href="a06123.html#l00174">NLAISCRIPT::CLibMemberMethodi::save()</a>, <a class="el" href="a06123.html#l00117">NLAISCRIPT::CLibMemberInheritedMethod::save()</a>, <a class="el" href="a06123.html#l00066">NLAISCRIPT::CLibMemberMethod::save()</a>, <a class="el" href="a06121.html#l01734">NLAISCRIPT::CMarkMsg::save()</a>, <a class="el" href="a06121.html#l01223">NLAISCRIPT::CAffMemberOpCode::save()</a>, <a class="el" href="a06121.html#l01091">NLAISCRIPT::CAffHeapMemberiOpCode::save()</a>, <a class="el" href="a06121.html#l00995">NLAISCRIPT::CAffOpCode::save()</a>, <a class="el" href="a06121.html#l00912">NLAISCRIPT::CJmpOpCode::save()</a>, <a class="el" href="a06121.html#l00848">NLAISCRIPT::CJFalseOpCode::save()</a>, <a class="el" href="a06121.html#l00096">NLAISCRIPT::CLdbNewOpCode::save()</a>, <a class="el" href="a06120.html#l00752">NLAISCRIPT::CAddParamNameDebug::save()</a>, <a class="el" href="a06120.html#l00647">NLAISCRIPT::CFindRunMsg::save()</a>, <a class="el" href="a06120.html#l00494">NLAISCRIPT::CAffOpCodeDebug::save()</a>, <a class="el" href="a06112.html#l00210">NLAISCRIPT::CLoadHeapObject::save()</a>, <a class="el" href="a06077.html#l00069">NLAIAGENT::CMessageGroup::save()</a>, <a class="el" href="a06065.html#l00190">NLAIAGENT::IMessageBase::save()</a>, <a class="el" href="a05964.html#l00170">NLAIAGENT::CLocalMailBox::save()</a>, <a class="el" href="a05911.html#l00055">NLAIAGENT::IListBasicManager::save()</a>, <a class="el" href="a05847.html#l00760">NLAISCRIPT::CAgentClass::save()</a>, <a class="el" href="a05845.html#l00030">NLAISCRIPT::CComponent::save()</a>, <a class="el" href="a05843.html#l00395">NLAISCRIPT::CMethodeName::save()</a>, <a class="el" href="a05843.html#l00235">NLAISCRIPT::CParam::save()</a>, <a class="el" href="a05805.html#l00369">NLAIAGENT::CIdent::save()</a>, <a class="el" href="a05803.html#l00254">NLAIAGENT::CIndexVariant< T, indexMax, maxT >::save()</a>, <a class="el" href="a05770.html#l01030">NLAIAGENT::CVectorGroupType::save()</a>, <a class="el" href="a05770.html#l00618">NLAIAGENT::CGroupType::save()</a>, <a class="el" href="a05753.html#l00187">NLAIFUZZY::CFuzzyVar::save()</a>, <a class="el" href="a05751.html#l00043">NLAIFUZZY::FuzzyType::save()</a>, <a class="el" href="a05749.html#l00753">NLAIFUZZY::CTrapezeFuzzySet::save()</a>, <a class="el" href="a05749.html#l00631">NLAIFUZZY::CLeftFuzzySet::save()</a>, <a class="el" href="a05749.html#l00515">NLAIFUZZY::CTriangleFuzzySet::save()</a>, <a class="el" href="a05749.html#l00239">NLAIFUZZY::CRightFuzzySet::save()</a>, <a class="el" href="a05749.html#l00133">NLAIFUZZY::CFuzzyInterval::save()</a>, <a class="el" href="a05697.html#l00154">NLAILOGIC::CFactBase::save()</a>, <a class="el" href="a05673.html#l00426">NLMISC::CEntityId::save()</a>, <a class="el" href="a05573.html#l00101">NLAISCRIPT::CCodeBrancheRunDebug::save()</a>, <a class="el" href="a05571.html#l00042">NLAISCRIPT::CCodeBrancheRun::save()</a>, <a class="el" href="a05545.html#l00189">NLAICHARACTER::CCharacterNoeud::save()</a>, <a class="el" href="a05545.html#l00092">NLAICHARACTER::CCharacterChild::save()</a>, <a class="el" href="a05501.html#l00067">NLAILOGIC::CBoolType::save()</a>, <a class="el" href="a05499.html#l00060">NLAILOGIC::CBoolOperator::save()</a>, <a class="el" href="a05495.html#l00087">NLAILOGIC::CBoolAssert::save()</a>, <a class="el" href="a05477.html#l00138">NLAIAGENT::IAgentComposite::save()</a>, <a class="el" href="a05475.html#l00414">NLAIAGENT::IRefrence::save()</a>, <a class="el" href="a05475.html#l00036">NLAIAGENT::IConnectIA::save()</a>, <a class="el" href="a05415.html#l00180">NLAIAGENT::CStringVarName::save()</a>, <a class="el" href="a05414.html#l00268">NLAIAGENT::CIndexedVarName::save()</a>, <a class="el" href="a05412.html#l00593">NLAIAGENT::CAgentScript::save()</a>, <a class="el" href="a05407.html#l00081">NLAIAGENT::CStringType::save()</a>, <a class="el" href="a05405.html#l00150">NLAIAGENT::INombre< sint32 >::save()</a>, <a class="el" href="a05401.html#l00063">NLAIAGENT::CLocalAgentMail::save()</a>, <a class="el" href="a05398.html#l00097">NLAIAGENT::IAgentInput::save()</a>, <a class="el" href="a05395.html#l00078">NLAIAGENT::IVector::save()</a>, <a class="el" href="a05389.html#l00431">NLAIAGENT::CActorScript::save()</a>, <a class="el" href="a05387.html#l00167">NLAIAGENT::CActor::save()</a>, <a class="el" href="a05414.html#l00074">NLAIAGENT::CIndexedVarName::saveClass()</a>, <a class="el" href="a06336.html#l00185">NLPACS::CRetrieverBank::saveRetrievers()</a>, <a class="el" href="a06758.html#l00432">NL3D::CZone::serial()</a>, <a class="el" href="a06758.html#l00410">NL3D::CZone::CPatchConnect::serial()</a>, <a class="el" href="a06710.html#l01060">NL3D::CPaletteSkin::serial()</a>, <a class="el" href="a06702.html#l00186">NL3D::CVegetableShape::serial()</a>, <a class="el" href="a06686.html#l00375">NL3D::CVegetable::serial()</a>, <a class="el" href="a06685.html#l00183">NLMISC::CVectorD::serial()</a>, <a class="el" href="a06682.html#l00198">NLMISC::CVector::serial()</a>, <a class="el" href="a06679.html#l00171">NLPACS::CVector2s::serial()</a>, <a class="el" href="a06677.html#l00127">NLMISC::CVector2f::serial()</a>, <a class="el" href="a06675.html#l00125">NLMISC::CVector2d::serial()</a>, <a class="el" href="a06655.html#l00140">NLMISC::CUVW::serial()</a>, <a class="el" href="a06655.html#l00082">NLMISC::CUV::serial()</a>, <a class="el" href="a06564.html#l00062">NL3D::CTrackSampledVector::serial()</a>, <a class="el" href="a06563.html#l00100">NL3D::CTrackSampledQuat::CQuatPack::serial()</a>, <a class="el" href="a06562.html#l00125">NL3D::CTrackSampledQuat::serial()</a>, <a class="el" href="a06560.html#l00080">NL3D::CTrackSampledCommon::CTimeBlock::serial()</a>, <a class="el" href="a06550.html#l00099">NL3D::CTileVegetableDesc::serial()</a>, <a class="el" href="a06544.html#l00067">NL3D::CTileLightInfluence::serial()</a>, <a class="el" href="a06536.html#l01912">NL3D::CTileNoise::serial()</a>, <a class="el" href="a06478.html#l00080">NLPACS::IQuadNode::serial()</a>, <a class="el" href="a06477.html#l00329">NLPACS::CSurfaceQuadTree::serial()</a>, <a class="el" href="a06477.html#l00246">NLPACS::CQuadBranch::serial()</a>, <a class="el" href="a06476.html#l00076">NL3D::CSurfaceLightGrid::CCellCorner::serial()</a>, <a class="el" href="a06475.html#l00051">NL3D::CSurfaceLightGrid::serial()</a>, <a class="el" href="a06462.html#l00301">NLMISC::IStream::serial()</a>, <a class="el" href="a06399.html#l00083">NL3D::CSkeletonWeight::CNode::serial()</a>, <a class="el" href="a06367.html#l00098">CHashKey::serial()</a>, <a class="el" href="a06350.html#l00379">NL3D::CInstanceGroup::serial()</a>, <a class="el" href="a06350.html#l00065">NL3D::CInstanceGroup::CInstance::serial()</a>, <a class="el" href="a06338.html#l00071">NLPACS::CRetrieverInstance::CLink::serial()</a>, <a class="el" href="a06337.html#l00736">NLPACS::CRetrieverInstance::serial()</a>, <a class="el" href="a06336.html#l00114">NLPACS::CRetrieverBank::serial()</a>, <a class="el" href="a06334.html#l00090">NLPACS::CRetrievableSurface::CSurfaceLink::serial()</a>, <a class="el" href="a06333.html#l00097">NLPACS::CRetrievableSurface::TLoop::serial()</a>, <a class="el" href="a06333.html#l00051">NLPACS::CRetrievableSurface::serial()</a>, <a class="el" href="a06308.html#l00168">NLMISC::CQuatT< float >::serial()</a>, <a class="el" href="a06308.html#l00059">NLMISC::CAngleAxis::serial()</a>, <a class="el" href="a06213.html#l00438">NL3D::CPSAttrib< T >::serial()</a>, <a class="el" href="a06197.html#l00219">NL3D::CPrimitiveBlock::serial()</a>, <a class="el" href="a06193.html#l00216">NL3D::CPortal::serial()</a>, <a class="el" href="a06187.html#l00119">NL3D::CPointLightNamedArray::CPointLightGroupV0::serial()</a>, <a class="el" href="a06187.html#l00100">NL3D::CPointLightNamedArray::CPointLightGroup::serial()</a>, <a class="el" href="a06184.html#l00073">NL3D::CPointLightNamed::serial()</a>, <a class="el" href="a06179.html#l00230">NL3D::CPointLight::serial()</a>, <a class="el" href="a06171.html#l00155">NLMISC::CPlane::serial()</a>, <a class="el" href="a06156.html#l00127">NL3D::CVector3s::serial()</a>, <a class="el" href="a06155.html#l01576">NL3D::CPatch::serial()</a>, <a class="el" href="a06116.html#l00260">NLMISC::CObjectVector< sint8, false >::serial()</a>, <a class="el" href="a06105.html#l00337">NLMISC::CNoiseColorGradient::serial()</a>, <a class="el" href="a06105.html#l00294">NLMISC::CNoiseValue::serial()</a>, <a class="el" href="a06062.html#l00188">NL3D::CMRMWedgeGeom::serial()</a>, <a class="el" href="a06012.html#l00338">NL3D::CMeshMRMSkinnedGeom::CVertexBlock::serial()</a>, <a class="el" href="a06012.html#l00314">NL3D::CMeshMRMSkinnedGeom::CRdrPass::serial()</a>, <a class="el" href="a06012.html#l00262">NL3D::CMeshMRMSkinnedGeom::CShadowVertex::serial()</a>, <a class="el" href="a06011.html#l01937">NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::serial()</a>, <a class="el" href="a06011.html#l01926">NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::serial()</a>, <a class="el" href="a06011.html#l00991">NL3D::CMeshMRMSkinnedGeom::serial()</a>, <a class="el" href="a06006.html#l00463">NL3D::CMeshMRMGeom::CLodInfo::serial()</a>, <a class="el" href="a06006.html#l00368">NL3D::CMeshMRMGeom::CVertexBlock::serial()</a>, <a class="el" href="a06006.html#l00350">NL3D::CMeshMRMGeom::CRdrPass::serial()</a>, <a class="el" href="a06006.html#l00296">NL3D::CMeshMRMGeom::CShadowVertex::serial()</a>, <a class="el" href="a05992.html#l00103">NL3D::CMeshBase::CLightMapInfoList::serial()</a>, <a class="el" href="a05992.html#l00092">NL3D::CMeshBase::CLightMapInfoList::CMatStage::serial()</a>, <a class="el" href="a05992.html#l00063">NL3D::CMeshBase::CMatStageV7::serial()</a>, <a class="el" href="a05990.html#l00518">NL3D::CMeshGeom::CMatrixBlock::serial()</a>, <a class="el" href="a05990.html#l00497">NL3D::CMeshGeom::CRdrPass::serial()</a>, <a class="el" href="a05972.html#l01500">NLMISC::CMatrix::serial()</a>, <a class="el" href="a05969.html#l00542">NL3D::CMaterial::CTexEnv::serial()</a>, <a class="el" href="a05968.html#l00438">NL3D::CMaterial::CLightMap::serial()</a>, <a class="el" href="a05968.html#l00139">NL3D::CMaterial::serial()</a>, <a class="el" href="a05942.html#l00065">NL3D::CLodCharacterTexture::CTUVQ::serial()</a>, <a class="el" href="a05941.html#l00043">NL3D::CLodCharacterTexture::serial()</a>, <a class="el" href="a05938.html#l00256">NL3D::CLodCharacterShape::CVertexInf::serial()</a>, <a class="el" href="a05938.html#l00153">NL3D::CLodCharacterShape::CVector3s::serial()</a>, <a class="el" href="a05938.html#l00067">NL3D::CLodCharacterShapeBuild::CPixelInfo::serial()</a>, <a class="el" href="a05937.html#l00505">NL3D::CLodCharacterShape::serial()</a>, <a class="el" href="a05937.html#l00495">NL3D::CLodCharacterShape::CBoneInfluence::serial()</a>, <a class="el" href="a05937.html#l00481">NL3D::CLodCharacterShape::CAnim::serial()</a>, <a class="el" href="a05937.html#l00273">NL3D::CLodCharacterShapeBuild::serial()</a>, <a class="el" href="a05930.html#l00179">NLPACS::CLocalRetriever::CInteriorFace::serial()</a>, <a class="el" href="a05930.html#l00106">NLPACS::CLocalRetriever::CTip::serial()</a>, <a class="el" href="a05930.html#l00093">NLPACS::CLocalRetriever::CTip::CChainTip::serial()</a>, <a class="el" href="a05929.html#l00895">NLPACS::CLocalRetriever::serial()</a>, <a class="el" href="a05807.html#l00056">NL3D::CIGSurfaceLight::CRetrieverLightGrid::serial()</a>, <a class="el" href="a05806.html#l00098">NL3D::CIGSurfaceLight::serial()</a>, <a class="el" href="a05792.html#l00154">NL3D::CHLSTextureBank::CTextureInstance::serial()</a>, <a class="el" href="a05790.html#l00313">NL3D::CHLSColorTexture::serial()</a>, <a class="el" href="a05790.html#l00057">NL3D::CHLSColorTexture::CMask::serial()</a>, <a class="el" href="a05790.html#l00049">NL3D::CHLSColorDelta::serial()</a>, <a class="el" href="a05761.html#l00136">NLPACS::CGlobalRetriever::serial()</a>, <a class="el" href="a05694.html#l00170">NLPACS::CFaceGrid::serial()</a>, <a class="el" href="a05693.html#l00086">NLPACS::CExteriorMesh::CLink::serial()</a>, <a class="el" href="a05693.html#l00075">NLPACS::CExteriorMesh::COrderedEdges::serial()</a>, <a class="el" href="a05693.html#l00067">NLPACS::CExteriorMesh::CEdge::serial()</a>, <a class="el" href="a05692.html#l00098">NLPACS::CExteriorMesh::serial()</a>, <a class="el" href="a05666.html#l00571">NLPACS::CEdgeQuad::serial()</a>, <a class="el" href="a05585.html#l00164">NLMISC::CSerialCommand::serial()</a>, <a class="el" href="a05583.html#l00149">NLPACS::CExteriorEdgeEntry::serial()</a>, <a class="el" href="a05579.html#l00087">NLPACS::CCollisionFace::serial()</a>, <a class="el" href="a05578.html#l00088">NLPACS::CSurfaceIdent::serial()</a>, <a class="el" href="a05563.html#l00250">NL3D::CCluster::serial()</a>, <a class="el" href="a05541.html#l00473">NLPACS::CChainQuad::serial()</a>, <a class="el" href="a05539.html#l00274">NLPACS::CChain::serial()</a>, <a class="el" href="a05539.html#l00158">NLPACS::COrderedChain::serial()</a>, <a class="el" href="a05539.html#l00064">NLPACS::COrderedChain3f::serial()</a>, <a class="el" href="a05491.html#l00056">NL3D::CBoneBase::serial()</a>, <a class="el" href="a05484.html#l00294">NLMISC::CBitSet::serial()</a>, <a class="el" href="a05468.html#l00115">CAutomataDesc::CState::serial()</a>, <a class="el" href="a05447.html#l00292">NL3D::CAnimationPlaylist::serial()</a>, <a class="el" href="a05443.html#l00080">NL3D::CAnimation::serial()</a>, <a class="el" href="a05439.html#l00047">NL3D::CMorphBase::serial()</a>, <a class="el" href="a05438.html#l00103">NL3D::CMaterialBase::CTexAnimTracks::serial()</a>, <a class="el" href="a05437.html#l00080">NL3D::CMaterialBase::serial()</a>, <a class="el" href="a05384.html#l00206">NLMISC::CAABBox::serial()</a>, <a class="el" href="a05968.html#l00456">NL3D::CMaterial::CLightMap::serial2()</a>, <a class="el" href="a06463.html#l00332">NLMISC::IStream::serialBitField16()</a>, <a class="el" href="a06463.html#l00338">NLMISC::IStream::serialBitField32()</a>, <a class="el" href="a06463.html#l00326">NLMISC::IStream::serialBitField8()</a>, <a class="el" href="a06462.html#l00877">NLMISC::IStream::serialBufferWithSize()</a>, <a class="el" href="a06462.html#l00520">NLMISC::IStream::serialCheck()</a>, <a class="el" href="a06560.html#l00090">NL3D::CTrackSampledCommon::serialCommon()</a>, <a class="el" href="a06461.html#l00318">NLMISC::IStream::serialCont()</a>, <a class="el" href="a06462.html#l00261">NLMISC::IStream::serialEnum()</a>, <a class="el" href="a06710.html#l00883">NL3D::CVertexBuffer::serialHeader()</a>, <a class="el" href="a06461.html#l00115">NLMISC::IStream::serialIStreamable()</a>, <a class="el" href="a06005.html#l01918">NL3D::CMeshMRMGeom::serialLodVertexData()</a>, <a class="el" href="a06462.html#l01360">NLMISC::IStream::serialMap()</a>, <a class="el" href="a06461.html#l00436">NLMISC::IStream::serialMemStream()</a>, <a class="el" href="a06462.html#l01271">NLMISC::IStream::serialMultimap()</a>, <a class="el" href="a06710.html#l00741">NL3D::CVertexBuffer::serialOldV1Minus()</a>, <a class="el" href="a06462.html#l00390">NLMISC::IStream::serialPtr()</a>, <a class="el" href="a06462.html#l00955">NLMISC::IStream::serialSTLCont()</a>, <a class="el" href="a06462.html#l00905">NLMISC::IStream::serialSTLContLen()</a>, <a class="el" href="a06462.html#l01192">NLMISC::IStream::serialSTLContPolyPtr()</a>, <a class="el" href="a06462.html#l01086">NLMISC::IStream::serialSTLContPtr()</a>, <a class="el" href="a06462.html#l00992">NLMISC::IStream::serialVector()</a>, <a class="el" href="a06462.html#l01215">NLMISC::IStream::serialVectorPolyPtr()</a>, <a class="el" href="a06462.html#l01121">NLMISC::IStream::serialVectorPtr()</a>, <a class="el" href="a06461.html#l00266">NLMISC::IStream::serialVersion()</a>, <a class="el" href="a05486.html#l02139">NLMISC::CBitmap::writeTGA()</a>, and <a class="el" href="a06462.html#l00647">NLMISC::IStream::xmlSerial()</a>. +<p> +<div class="fragment"><pre>00232 { obj.serial(*<span class="keyword">this</span>); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld1" doxytag="NLMISC::COXml::serial" ></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 NLMISC::COXml::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03924.html">ucstring</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2028_0">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00340">340</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, <a class="el" href="a06107.html#l00219">serial()</a>, <a class="el" href="a05646.html#l00645">size</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00341 { +00342 <a class="code" href="a04199.html#a6">nlassert</a>( ! <a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() ); +00343 +00344 <span class="comment">// Iniput size</span> +00345 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a587">size</a>=b.length(); +00346 +00347 <span class="comment">// Output string</span> +00348 string output; +00349 output.resize (b.length()); +00350 +00351 <span class="comment">// For each character</span> +00352 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> i=0; i<<a class="code" href="a04223.html#a587">size</a>; i++) +00353 { +00354 <span class="comment">// 7 bits code ?</span> +00355 <span class="keywordflow">if</span> (b[i]<0x7F) +00356 { +00357 output[i]=(<span class="keywordtype">char</span>)b[i]; +00358 } +00359 <span class="keywordflow">else</span> +00360 { +00362 <a class="code" href="a04199.html#a2">nlwarning</a> (<span class="stringliteral">"XML: handle ucstring to utf-8"</span>); +00363 output[i]=(b[i]&0xff); +00364 } +00365 } +00366 +00367 <span class="comment">// Serial this string</span> +00368 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a> (output); +00369 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld2" doxytag="NLMISC::COXml::serial" ></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 NLMISC::COXml::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2028_1">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00315">315</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06108.html#l00165">_PushBegin</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06107.html#l00160">serialSeparatedBufferOut()</a>, <a class="el" href="a06462.html#l00759">NLMISC::IStream::xmlPop()</a>, and <a class="el" href="a06462.html#l00701">NLMISC::IStream::xmlPush()</a>. +<p> +<div class="fragment"><pre>00316 { +00317 <a class="code" href="a04199.html#a6">nlassert</a>( ! <a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() ); +00318 +00319 <span class="comment">// Attibute ?</span> +00320 <span class="keywordflow">if</span> (<a class="code" href="a03032.html#NLMISC_1_1COXmlr7">_PushBegin</a>) +00321 { +00322 <span class="comment">// Only serial the string</span> +00323 <a class="code" href="a03032.html#NLMISC_1_1COXmld17">serialSeparatedBufferOut</a>( b.c_str() ); +00324 } +00325 <span class="keywordflow">else</span> +00326 { +00327 <span class="comment">// Open a string node</span> +00328 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2038_0">xmlPush</a> (<span class="stringliteral">"S"</span>); +00329 +00330 <span class="comment">// Serial the string</span> +00331 <a class="code" href="a03032.html#NLMISC_1_1COXmld17">serialSeparatedBufferOut</a>( b.c_str() ); +00332 +00333 <span class="comment">// Close the node</span> +00334 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_2">xmlPop</a> (); +00335 } +00336 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld3" doxytag="NLMISC::COXml::serial" ></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 NLMISC::COXml::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2028_2">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00306">306</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06107.html#l00160">serialSeparatedBufferOut()</a>. +<p> +<div class="fragment"><pre>00307 { +00308 <span class="keywordtype">char</span> tmp[2] = {b , 0}; +00309 <a class="code" href="a03032.html#NLMISC_1_1COXmld17">serialSeparatedBufferOut</a>( tmp ); +00310 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld4" doxytag="NLMISC::COXml::serial" ></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 NLMISC::COXml::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2028_3">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00290">290</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06107.html#l00297">serialBit()</a>. +<p> +<div class="fragment"><pre>00291 { +00292 <a class="code" href="a03032.html#NLMISC_1_1COXmld15">serialBit</a>(b); +00293 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld5" doxytag="NLMISC::COXml::serial" ></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 NLMISC::COXml::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2028_4">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00283">283</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06107.html#l00046">writenumber</a>. +<p> +<div class="fragment"><pre>00284 { +00285 <a class="code" href="a04684.html#a0">writenumber</a>( b, <span class="stringliteral">"%f"</span>, 128 ); +00286 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld6" doxytag="NLMISC::COXml::serial" ></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 NLMISC::COXml::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2028_5">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00276">276</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06107.html#l00046">writenumber</a>. +<p> +<div class="fragment"><pre>00277 { +00278 <a class="code" href="a04684.html#a0">writenumber</a>( (<span class="keywordtype">double</span>)b, <span class="stringliteral">"%f"</span>, 128 ); +00279 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld7" doxytag="NLMISC::COXml::serial" ></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 NLMISC::COXml::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a12">sint64</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2028_6">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00269">269</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00107">NL_I64</a>, <a class="el" href="a05981.html#l00101">sint64</a>, and <a class="el" href="a06107.html#l00046">writenumber</a>. +<p> +<div class="fragment"><pre>00270 { +00271 <a class="code" href="a04684.html#a0">writenumber</a>( b, <span class="stringliteral">"%"</span>NL_I64<span class="stringliteral">"d"</span>, 20 ); +00272 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld8" doxytag="NLMISC::COXml::serial" ></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 NLMISC::COXml::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a13">uint64</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2028_7">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00262">262</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00107">NL_I64</a>, <a class="el" href="a05981.html#l00102">uint64</a>, and <a class="el" href="a06107.html#l00046">writenumber</a>. +<p> +<div class="fragment"><pre>00263 { +00264 <a class="code" href="a04684.html#a0">writenumber</a>( b, <span class="stringliteral">"%"</span>NL_I64<span class="stringliteral">"u"</span>, 20 ); +00265 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld9" doxytag="NLMISC::COXml::serial" ></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 NLMISC::COXml::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2028_8">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00255">255</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a06107.html#l00046">writenumber</a>. +<p> +<div class="fragment"><pre>00256 { +00257 <a class="code" href="a04684.html#a0">writenumber</a>( b, <span class="stringliteral">"%d"</span>, 11 ); +00258 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld10" doxytag="NLMISC::COXml::serial" ></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 NLMISC::COXml::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2028_9">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00248">248</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a06107.html#l00046">writenumber</a>. +<p> +<div class="fragment"><pre>00249 { +00250 <a class="code" href="a04684.html#a0">writenumber</a>( b, <span class="stringliteral">"%u"</span>, 10 ); +00251 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld11" doxytag="NLMISC::COXml::serial" ></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 NLMISC::COXml::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a8">sint16</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2028_10">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00241">241</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00097">sint16</a>, and <a class="el" href="a06107.html#l00046">writenumber</a>. +<p> +<div class="fragment"><pre>00242 { +00243 <a class="code" href="a04684.html#a0">writenumber</a>( b, <span class="stringliteral">"%hd"</span>, 6 ); +00244 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld12" doxytag="NLMISC::COXml::serial" ></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 NLMISC::COXml::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a9">uint16</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2028_11">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00234">234</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00098">uint16</a>, and <a class="el" href="a06107.html#l00046">writenumber</a>. +<p> +<div class="fragment"><pre>00235 { +00236 <a class="code" href="a04684.html#a0">writenumber</a>( b, <span class="stringliteral">"%hu"</span>, 5 ); +00237 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld13" doxytag="NLMISC::COXml::serial" ></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 NLMISC::COXml::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a6">sint8</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2028_12">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00227">227</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00097">sint16</a>, <a class="el" href="a05981.html#l00095">sint8</a>, and <a class="el" href="a06107.html#l00046">writenumber</a>. +<p> +<div class="fragment"><pre>00228 { +00229 <a class="code" href="a04684.html#a0">writenumber</a>( (<a class="code" href="a04558.html#a8">sint16</a>)b, <span class="stringliteral">"%hd"</span>, 4 ); +00230 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld14" doxytag="NLMISC::COXml::serial" ></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 NLMISC::COXml::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +From <a class="el" href="a02270.html">IStream</a>. +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2028_13">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00219">219</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00098">uint16</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a06107.html#l00046">writenumber</a>. +<p> +Referenced by <a class="el" href="a06107.html#l00340">serial()</a>, <a class="el" href="a06107.html#l00297">serialBit()</a>, and <a class="el" href="a06107.html#l00373">serialBuffer()</a>. +<p> +<div class="fragment"><pre>00220 { +00221 <span class="comment">// Write the number</span> +00222 <a class="code" href="a04684.html#a0">writenumber</a>( (<a class="code" href="a04558.html#a9">uint16</a>)b,<span class="stringliteral">"%hu"</span>, 3 ); +00223 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld15" doxytag="NLMISC::COXml::serialBit" ></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 NLMISC::COXml::serialBit </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool & </td> + <td class="mdname1" valign="top" nowrap> <em>bit</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02270.html#NLMISC_1_1IStreamz2041_0">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00297">297</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06107.html#l00219">serial()</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +Referenced by <a class="el" href="a06107.html#l00290">serial()</a>. +<p> +<div class="fragment"><pre>00298 { +00299 <a class="code" href="a04558.html#a7">uint8</a> u = (<a class="code" href="a04558.html#a7">uint8</a>)bit; +00300 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>( u ); +00301 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2030_0" doxytag="NLMISC::COXml::serialBitField16" ></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#a9">uint16</a> NLMISC::IStream::serialBitField16 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a9">uint16</a> </td> + <td class="mdname1" valign="top" nowrap> <em>bf</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serialisation of bitfield <=16 bits. +<p> + +<p> +Definition at line <a class="el" href="a06463.html#l00332">332</a> of file <a class="el" href="a06463.html">stream_inline.h</a>. +<p> +References <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, and <a class="el" href="a05981.html#l00098">uint16</a>. +<p> +<div class="fragment"><pre>00333 { +00334 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(bf); +00335 <span class="keywordflow">return</span> bf; +00336 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2030_1" doxytag="NLMISC::COXml::serialBitField32" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NLMISC::IStream::serialBitField32 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>bf</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serialisation of bitfield <=32 bits. +<p> + +<p> +Definition at line <a class="el" href="a06463.html#l00338">338</a> of file <a class="el" href="a06463.html">stream_inline.h</a>. +<p> +References <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00339 { +00340 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(bf); +00341 <span class="keywordflow">return</span> bf; +00342 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2030_2" doxytag="NLMISC::COXml::serialBitField8" ></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#a7">uint8</a> NLMISC::IStream::serialBitField8 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname1" valign="top" nowrap> <em>bf</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serialisation of bitfield <=8 bits. +<p> + +<p> +Definition at line <a class="el" href="a06463.html#l00326">326</a> of file <a class="el" href="a06463.html">stream_inline.h</a>. +<p> +References <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +Referenced by <a class="el" href="a05969.html#l00542">NL3D::CMaterial::CTexEnv::serial()</a>. +<p> +<div class="fragment"><pre>00327 { +00328 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(bf); +00329 <span class="keywordflow">return</span> bf; +00330 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld16" doxytag="NLMISC::COXml::serialBuffer" ></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 NLMISC::COXml::serialBuffer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> * </td> + <td class="mdname" nowrap> <em>buf</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>len</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Method to be specified by the Deriver. <dl compact><dt><b>Warning:</b></dt><dd>Do not call these methods from outside, unless you really know what you are doing. Using them instead of <a class="el" href="a03032.html#NLMISC_1_1COXmld14">serial()</a> can lead to communication problems between different platforms !</dd></dl> + +<p> +Implements <a class="el" href="a02270.html#NLMISC_1_1IStreamz2041_1">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00373">373</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00235">len</a>, <a class="el" href="a06107.html#l00219">serial()</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a06462.html#l00759">NLMISC::IStream::xmlPop()</a>, and <a class="el" href="a06462.html#l00701">NLMISC::IStream::xmlPush()</a>. +<p> +<div class="fragment"><pre>00374 { +00375 <span class="comment">// Open a node</span> +00376 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2038_0">xmlPush</a> (<span class="stringliteral">"BUFFER"</span>); +00377 +00378 <span class="comment">// Serialize the buffer</span> +00379 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> i=0; i<<a class="code" href="a04223.html#a571">len</a>; i++) +00380 { +00381 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2038_0">xmlPush</a> (<span class="stringliteral">"ELM"</span>); +00382 +00383 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a> (buf[i]); +00384 +00385 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_2">xmlPop</a> (); +00386 } +00387 +00388 <span class="comment">// Close the node</span> +00389 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_2">xmlPop</a> (); +00390 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreama6" doxytag="NLMISC::COXml::serialBufferWithSize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLMISC::IStream::serialBufferWithSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> * </td> + <td class="mdname" nowrap> <em>buf</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>len</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This method first serializes the size of the buffer and after the buffer itself, it enables the possibility to serial with a <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> on the other side. +<p> +Definition at line <a class="el" href="a06462.html#l00877">877</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a05646.html#l00235">len</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a02270.html#NLMISC_1_1IStreamz2041_1">NLMISC::IStream::serialBuffer()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00878 { +00879 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a> (len); +00880 <a class="code" href="a03032.html#NLMISC_1_1COXmld16">serialBuffer</a> (buf, len); +00881 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2035_0" doxytag="NLMISC::COXml::serialCheck" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialCheck </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const T & </td> + <td class="mdname1" valign="top" nowrap> <em>value</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serialize a check value. An object can stream a check value to check integrity or format of filed or streamed data. Just call serial check with a const value. Write will serial the value. Read will check the value is the same. If it is not, it will throw <a class="el" href="a03794.html">EInvalidDataStream</a> exception.<p> +NB: The type of the value must implement an operator == and must be serializable. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>value</em> </td><td>the value used to the check. </td></tr> + </table> +</dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03794.html">EInvalidDataStream</a></dd></dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00520">520</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a05646.html#l01132">value</a>, <a class="el" href="a06462.html#l00759">NLMISC::IStream::xmlPop()</a>, and <a class="el" href="a06462.html#l00701">NLMISC::IStream::xmlPush()</a>. +<p> +Referenced by <a class="el" href="a06138.html#l00495">NLNET::cbPacsAnswer()</a>, <a class="el" href="a06138.html#l00085">NLNET::CPacsClient::initMessage()</a>, <a class="el" href="a05926.html#l00145">loadForm()</a>, <a class="el" href="a06772.html#l00159">NLLIGO::CZoneRegion::serial()</a>, <a class="el" href="a06762.html#l00105">NLLIGO::CZoneBankElement::serial()</a>, <a class="el" href="a06758.html#l00432">NL3D::CZone::serial()</a>, <a class="el" href="a06702.html#l00186">NL3D::CVegetableShape::serial()</a>, <a class="el" href="a06399.html#l00069">NL3D::CSkeletonWeight::serial()</a>, <a class="el" href="a06350.html#l00379">NL3D::CInstanceGroup::serial()</a>, <a class="el" href="a05937.html#l00505">NL3D::CLodCharacterShape::serial()</a>, <a class="el" href="a05937.html#l00273">NL3D::CLodCharacterShapeBuild::serial()</a>, <a class="el" href="a05449.html#l00134">NL3D::CAnimationSet::serial()</a>, and <a class="el" href="a05443.html#l00080">NL3D::CAnimation::serial()</a>. +<p> +<div class="fragment"><pre>00521 { +00522 <span class="comment">// Open a node</span> +00523 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2038_0">xmlPush</a> (<span class="stringliteral">"CHECK"</span>); +00524 +00525 <span class="keywordflow">if</span> (<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00526 { +00527 T read; +00528 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a> (read); +00529 <span class="keywordflow">if</span> (read!=<a class="code" href="a04223.html#a658">value</a>) +00530 <span class="keywordflow">throw</span> EInvalidDataStream(*<span class="keyword">this</span>); +00531 } +00532 <span class="keywordflow">else</span> +00533 { +00534 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a> (const_cast<T&>(value)); +00535 } +00536 +00537 <span class="comment">// Close the node </span> +00538 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_2">xmlPop</a> (); +00539 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2033_0" doxytag="NLMISC::COXml::serialCont" ></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 NLMISC::IStream::serialCont </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< bool > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. +<p> + +<p> +Reimplemented in <a class="el" href="a02269.html#NLMISC_1_1CBitMemStreama42">NLMISC::CBitMemStream</a>, <a class="el" href="a02271.html#NLNET_1_1CMessagea45">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama32">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06461.html#l00356">356</a> of file <a class="el" href="a06461.html">stream.cpp</a>. +<p> +References <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05646.html#l00235">len</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a02270.html#NLMISC_1_1IStreamz2041_1">NLMISC::IStream::serialBuffer()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00357 { +00358 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a571">len</a>=0; +00359 vector<uint8> vec; +00360 +00361 <span class="keywordflow">if</span>(<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00362 { +00363 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(len); +00364 cont.resize(len); +00365 +00366 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a571">len</a> != 0) +00367 { +00368 <span class="comment">// read as uint8*.</span> +00369 <a class="code" href="a04558.html#a14">sint</a> lb= (<a class="code" href="a04223.html#a571">len</a>+7)/8; +00370 vec.resize(lb); +00371 <a class="code" href="a03032.html#NLMISC_1_1COXmld16">serialBuffer</a>( (<a class="code" href="a04558.html#a7">uint8</a>*)&(*vec.begin()) , lb); +00372 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a14">sint</a> i=0;i<<a class="code" href="a04223.html#a571">len</a>;i++) +00373 { +00374 <a class="code" href="a04558.html#a15">uint</a> bit= (vec[i>>3]>>(i&7)) & 1; +00375 cont[i]= bit?<span class="keyword">true</span>:<span class="keyword">false</span>; +00376 } +00377 } +00378 } +00379 <span class="keywordflow">else</span> +00380 { +00381 <a class="code" href="a04223.html#a571">len</a>= cont.size(); +00382 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(len); +00383 +00384 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a571">len</a> != 0) +00385 { +00386 <span class="comment">// write as uint8*.</span> +00387 <a class="code" href="a04558.html#a14">sint</a> lb= (<a class="code" href="a04223.html#a571">len</a>+7)/8; +00388 vec.resize(lb); +00389 fill_n(vec.begin(), lb, 0); +00390 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a14">sint</a> i=0;i<<a class="code" href="a04223.html#a571">len</a>;i++) +00391 { +00392 <a class="code" href="a04558.html#a15">uint</a> bit= cont[i]?1:0; +00393 vec[i>>3]|= bit<<(i&7); +00394 } +00395 <a class="code" href="a03032.html#NLMISC_1_1COXmld16">serialBuffer</a>( (<a class="code" href="a04558.html#a7">uint8</a>*)&(*vec.begin()) , lb); +00396 } +00397 } +00398 +00399 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2033_1" doxytag="NLMISC::COXml::serialCont" ></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 NLMISC::IStream::serialCont </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< <a class="el" href="a04558.html#a6">sint8</a> > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<sint8>. +<p> + +<p> +Reimplemented in <a class="el" href="a02269.html#NLMISC_1_1CBitMemStreama43">NLMISC::CBitMemStream</a>, <a class="el" href="a02271.html#NLNET_1_1CMessagea46">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama33">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06461.html#l00337">337</a> of file <a class="el" href="a06461.html">stream.cpp</a>. +<p> +References <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05646.html#l00235">len</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a02270.html#NLMISC_1_1IStreamz2041_1">NLMISC::IStream::serialBuffer()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00338 { +00339 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a571">len</a>=0; +00340 <span class="keywordflow">if</span>(<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00341 { +00342 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(len); +00343 cont.resize(len); +00344 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a571">len</a> != 0) +00345 <a class="code" href="a03032.html#NLMISC_1_1COXmld16">serialBuffer</a>( (<a class="code" href="a04558.html#a7">uint8</a>*)&(*cont.begin()) , <a class="code" href="a04223.html#a571">len</a>); +00346 } +00347 <span class="keywordflow">else</span> +00348 { +00349 <a class="code" href="a04223.html#a571">len</a>= cont.size(); +00350 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(len); +00351 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a571">len</a> != 0) +00352 <a class="code" href="a03032.html#NLMISC_1_1COXmld16">serialBuffer</a>( (<a class="code" href="a04558.html#a7">uint8</a>*)&(*cont.begin()) , <a class="code" href="a04223.html#a571">len</a>); +00353 } +00354 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2033_2" doxytag="NLMISC::COXml::serialCont" ></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 NLMISC::IStream::serialCont </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< <a class="el" href="a04558.html#a7">uint8</a> > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<uint8>. +<p> + +<p> +Reimplemented in <a class="el" href="a02269.html#NLMISC_1_1CBitMemStreama44">NLMISC::CBitMemStream</a>, <a class="el" href="a02271.html#NLNET_1_1CMessagea47">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama34">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06461.html#l00318">318</a> of file <a class="el" href="a06461.html">stream.cpp</a>. +<p> +References <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05646.html#l00235">len</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a02270.html#NLMISC_1_1IStreamz2041_1">NLMISC::IStream::serialBuffer()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00319 { +00320 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a571">len</a>=0; +00321 <span class="keywordflow">if</span>(<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00322 { +00323 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(len); +00324 cont.resize(len); +00325 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a571">len</a> != 0) +00326 <a class="code" href="a03032.html#NLMISC_1_1COXmld16">serialBuffer</a>( (<a class="code" href="a04558.html#a7">uint8</a>*)&(*cont.begin()) , <a class="code" href="a04223.html#a571">len</a>); +00327 } +00328 <span class="keywordflow">else</span> +00329 { +00330 <a class="code" href="a04223.html#a571">len</a>= cont.size(); +00331 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(len); +00332 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a571">len</a> != 0) +00333 <a class="code" href="a03032.html#NLMISC_1_1COXmld16">serialBuffer</a>( (<a class="code" href="a04558.html#a7">uint8</a>*)&(*cont.begin()) , <a class="code" href="a04223.html#a571">len</a>); +00334 } +00335 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2033_3" doxytag="NLMISC::COXml::serialCont" ></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" colspan="4"> +template<class K, class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialCont </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::multimap< K, T > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. +<p> + +<p> +Reimplemented in <a class="el" href="a02269.html#NLMISC_1_1CBitMemStreama45">NLMISC::CBitMemStream</a>, <a class="el" href="a02271.html#NLNET_1_1CMessagea48">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama35">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06462.html#l00336">336</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01271">NLMISC::IStream::serialMultimap()</a>. +<p> +<div class="fragment"><pre>00336 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd2">serialMultimap</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2033_4" doxytag="NLMISC::COXml::serialCont" ></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" colspan="4"> +template<class K, class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialCont </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::map< K, T > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. +<p> + +<p> +Reimplemented in <a class="el" href="a02269.html#NLMISC_1_1CBitMemStreama46">NLMISC::CBitMemStream</a>, <a class="el" href="a02271.html#NLNET_1_1CMessagea49">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama36">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06462.html#l00334">334</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01360">NLMISC::IStream::serialMap()</a>. +<p> +<div class="fragment"><pre>00334 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd1">serialMap</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2033_5" doxytag="NLMISC::COXml::serialCont" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialCont </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::multiset< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. +<p> + +<p> +Reimplemented in <a class="el" href="a02269.html#NLMISC_1_1CBitMemStreama47">NLMISC::CBitMemStream</a>, <a class="el" href="a02271.html#NLNET_1_1CMessagea50">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama37">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06462.html#l00332">332</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00955">NLMISC::IStream::serialSTLCont()</a>. +<p> +<div class="fragment"><pre>00332 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd3">serialSTLCont</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2033_6" doxytag="NLMISC::COXml::serialCont" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialCont </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::set< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. +<p> + +<p> +Reimplemented in <a class="el" href="a02269.html#NLMISC_1_1CBitMemStreama48">NLMISC::CBitMemStream</a>, <a class="el" href="a02271.html#NLNET_1_1CMessagea51">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama38">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06462.html#l00330">330</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00955">NLMISC::IStream::serialSTLCont()</a>. +<p> +<div class="fragment"><pre>00330 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd3">serialSTLCont</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2033_7" doxytag="NLMISC::COXml::serialCont" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialCont </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::deque< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. +<p> + +<p> +Reimplemented in <a class="el" href="a02269.html#NLMISC_1_1CBitMemStreama49">NLMISC::CBitMemStream</a>, <a class="el" href="a02271.html#NLNET_1_1CMessagea52">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama39">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06462.html#l00328">328</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00955">NLMISC::IStream::serialSTLCont()</a>. +<p> +<div class="fragment"><pre>00328 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd3">serialSTLCont</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2033_8" doxytag="NLMISC::COXml::serialCont" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialCont </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::list< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. +<p> + +<p> +Reimplemented in <a class="el" href="a02269.html#NLMISC_1_1CBitMemStreama50">NLMISC::CBitMemStream</a>, <a class="el" href="a02271.html#NLNET_1_1CMessagea53">NLMISC::CMemStream</a>, and <a class="el" href="a03452.html#NLMISC_1_1CStringStreama40">NLMISC::CStringStream</a>. +<p> +Definition at line <a class="el" href="a06462.html#l00326">326</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00955">NLMISC::IStream::serialSTLCont()</a>. +<p> +<div class="fragment"><pre>00326 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd3">serialSTLCont</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2033_9" doxytag="NLMISC::COXml::serialCont" ></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" colspan="4"> +template<class T, class Allocator> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialCont </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< T, Allocator > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Specialisation of <a class="el" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont()</a> for vector<bool>. +<p> + +<p> +Definition at line <a class="el" href="a06462.html#l00324">324</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00992">NLMISC::IStream::serialVector()</a>. +<p> +Referenced by <a class="el" href="a06005.html#l00055">NL3D::H_AUTO_DECL()</a>, <a class="el" href="a06127.html#l00304">NLAISCRIPT::CLdbHeapMemberiOpCode::load()</a>, <a class="el" href="a06127.html#l00245">NLAISCRIPT::CLdbStackMemberiOpCode::load()</a>, <a class="el" href="a06127.html#l00188">NLAISCRIPT::CLdbMemberiOpCode::load()</a>, <a class="el" href="a06125.html#l00437">NLAISCRIPT::CCallMethodi::load()</a>, <a class="el" href="a06125.html#l00315">NLAISCRIPT::CCallStackMethodi::load()</a>, <a class="el" href="a06125.html#l00242">NLAISCRIPT::CCallHeapMethodi::load()</a>, <a class="el" href="a06123.html#l00439">NLAISCRIPT::CLibStackMemberMethod::load()</a>, <a class="el" href="a06123.html#l00370">NLAISCRIPT::CLibCallMethodi::load()</a>, <a class="el" href="a06123.html#l00184">NLAISCRIPT::CLibMemberMethodi::load()</a>, <a class="el" href="a06121.html#l01165">NLAISCRIPT::CAffMemberiOpCode::load()</a>, <a class="el" href="a06121.html#l01099">NLAISCRIPT::CAffHeapMemberiOpCode::load()</a>, <a class="el" href="a06112.html#l00217">NLAISCRIPT::CLoadHeapObject::load()</a>, <a class="el" href="a06112.html#l00166">NLAISCRIPT::CLoadStackObject::load()</a>, <a class="el" href="a06112.html#l00117">NLAISCRIPT::CLoadSelfObject::load()</a>, <a class="el" href="a05668.html#l00405">NLMISC::CEntityIdTranslator::load()</a>, <a class="el" href="a05471.html#l00618">NLSOUND::CBackgroundSoundManager::load()</a>, <a class="el" href="a05926.html#l00145">loadForm()</a>, <a class="el" href="a06127.html#l00296">NLAISCRIPT::CLdbHeapMemberiOpCode::save()</a>, <a class="el" href="a06127.html#l00239">NLAISCRIPT::CLdbStackMemberiOpCode::save()</a>, <a class="el" href="a06127.html#l00182">NLAISCRIPT::CLdbMemberiOpCode::save()</a>, <a class="el" href="a06125.html#l00427">NLAISCRIPT::CCallMethodi::save()</a>, <a class="el" href="a06125.html#l00305">NLAISCRIPT::CCallStackMethodi::save()</a>, <a class="el" href="a06125.html#l00230">NLAISCRIPT::CCallHeapMethodi::save()</a>, <a class="el" href="a06123.html#l00429">NLAISCRIPT::CLibStackMemberMethod::save()</a>, <a class="el" href="a06123.html#l00358">NLAISCRIPT::CLibCallMethodi::save()</a>, <a class="el" href="a06123.html#l00174">NLAISCRIPT::CLibMemberMethodi::save()</a>, <a class="el" href="a06121.html#l01159">NLAISCRIPT::CAffMemberiOpCode::save()</a>, <a class="el" href="a06121.html#l01091">NLAISCRIPT::CAffHeapMemberiOpCode::save()</a>, <a class="el" href="a06112.html#l00210">NLAISCRIPT::CLoadHeapObject::save()</a>, <a class="el" href="a06112.html#l00161">NLAISCRIPT::CLoadStackObject::save()</a>, <a class="el" href="a06112.html#l00112">NLAISCRIPT::CLoadSelfObject::save()</a>, <a class="el" href="a05668.html#l00442">NLMISC::CEntityIdTranslator::save()</a>, <a class="el" href="a06772.html#l00159">NLLIGO::CZoneRegion::serial()</a>, <a class="el" href="a06762.html#l00105">NLLIGO::CZoneBankElement::serial()</a>, <a class="el" href="a06758.html#l00432">NL3D::CZone::serial()</a>, <a class="el" href="a06702.html#l00186">NL3D::CVegetableShape::serial()</a>, <a class="el" href="a06550.html#l00099">NL3D::CTileVegetableDesc::serial()</a>, <a class="el" href="a06399.html#l00069">NL3D::CSkeletonWeight::serial()</a>, <a class="el" href="a06350.html#l00379">NL3D::CInstanceGroup::serial()</a>, <a class="el" href="a06350.html#l00065">NL3D::CInstanceGroup::CInstance::serial()</a>, <a class="el" href="a06337.html#l00736">NLPACS::CRetrieverInstance::serial()</a>, <a class="el" href="a06336.html#l00114">NLPACS::CRetrieverBank::serial()</a>, <a class="el" href="a06333.html#l00097">NLPACS::CRetrievableSurface::TLoop::serial()</a>, <a class="el" href="a06333.html#l00051">NLPACS::CRetrievableSurface::serial()</a>, <a class="el" href="a06197.html#l00219">NL3D::CPrimitiveBlock::serial()</a>, <a class="el" href="a06193.html#l00216">NL3D::CPortal::serial()</a>, <a class="el" href="a06186.html#l00164">NL3D::CPointLightNamedArray::serial()</a>, <a class="el" href="a06155.html#l01576">NL3D::CPatch::serial()</a>, <a class="el" href="a06105.html#l00337">NLMISC::CNoiseColorGradient::serial()</a>, <a class="el" href="a06012.html#l00314">NL3D::CMeshMRMSkinnedGeom::CRdrPass::serial()</a>, <a class="el" href="a06011.html#l01926">NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::serial()</a>, <a class="el" href="a06011.html#l00991">NL3D::CMeshMRMSkinnedGeom::serial()</a>, <a class="el" href="a05992.html#l00103">NL3D::CMeshBase::CLightMapInfoList::serial()</a>, <a class="el" href="a05992.html#l00071">NL3D::CMeshBase::CLightInfoMapListV7::serial()</a>, <a class="el" href="a05990.html#l00518">NL3D::CMeshGeom::CMatrixBlock::serial()</a>, <a class="el" href="a05968.html#l00139">NL3D::CMaterial::serial()</a>, <a class="el" href="a05941.html#l00043">NL3D::CLodCharacterTexture::serial()</a>, <a class="el" href="a05939.html#l00121">NL3D::CLodCharacterShapeBank::serial()</a>, <a class="el" href="a05937.html#l00505">NL3D::CLodCharacterShape::serial()</a>, <a class="el" href="a05937.html#l00495">NL3D::CLodCharacterShape::CBoneInfluence::serial()</a>, <a class="el" href="a05937.html#l00481">NL3D::CLodCharacterShape::CAnim::serial()</a>, <a class="el" href="a05937.html#l00273">NL3D::CLodCharacterShapeBuild::serial()</a>, <a class="el" href="a05930.html#l00129">NLPACS::CLocalRetriever::CTopology::serial()</a>, <a class="el" href="a05930.html#l00106">NLPACS::CLocalRetriever::CTip::serial()</a>, <a class="el" href="a05929.html#l00895">NLPACS::CLocalRetriever::serial()</a>, <a class="el" href="a05806.html#l00098">NL3D::CIGSurfaceLight::serial()</a>, <a class="el" href="a05792.html#l00117">NL3D::CHLSTextureBank::serial()</a>, <a class="el" href="a05790.html#l00313">NL3D::CHLSColorTexture::serial()</a>, <a class="el" href="a05790.html#l00057">NL3D::CHLSColorTexture::CMask::serial()</a>, <a class="el" href="a05761.html#l00136">NLPACS::CGlobalRetriever::serial()</a>, <a class="el" href="a05694.html#l00170">NLPACS::CFaceGrid::serial()</a>, <a class="el" href="a05692.html#l00098">NLPACS::CExteriorMesh::serial()</a>, <a class="el" href="a05666.html#l00571">NLPACS::CEdgeQuad::serial()</a>, <a class="el" href="a05579.html#l00149">NLPACS::CCollisionMeshBuild::serial()</a>, <a class="el" href="a05563.html#l00250">NL3D::CCluster::serial()</a>, <a class="el" href="a05539.html#l00274">NLPACS::CChain::serial()</a>, <a class="el" href="a05539.html#l00158">NLPACS::COrderedChain::serial()</a>, <a class="el" href="a05539.html#l00064">NLPACS::COrderedChain3f::serial()</a>, <a class="el" href="a05484.html#l00294">NLMISC::CBitSet::serial()</a>, <a class="el" href="a05468.html#l00115">CAutomataDesc::CState::serial()</a>, <a class="el" href="a05449.html#l00134">NL3D::CAnimationSet::serial()</a>, <a class="el" href="a05443.html#l00080">NL3D::CAnimation::serial()</a>, <a class="el" href="a05437.html#l00080">NL3D::CMaterialBase::serial()</a>, and <a class="el" href="a05584.html#l00374">NLMISC::ICommand::serialCommands()</a>. +<p> +<div class="fragment"><pre>00324 {<a class="code" href="a02270.html#NLMISC_1_1IStreamb0">serialVector</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2035_1" doxytag="NLMISC::COXml::serialContPolyPtr" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialContPolyPtr </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::multiset< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serialize a check value. An object can stream a check value to check integrity or format of filed or streamed data. Just call serial check with a const value. Write will serial the value. Read will check the value is the same. If it is not, it will throw <a class="el" href="a03794.html">EInvalidDataStream</a> exception.<p> +NB: The type of the value must implement an operator == and must be serializable. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>value</em> </td><td>the value used to the check. </td></tr> + </table> +</dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03794.html">EInvalidDataStream</a></dd></dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00379">379</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01192">NLMISC::IStream::serialSTLContPolyPtr()</a>. +<p> +<div class="fragment"><pre>00379 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd7">serialSTLContPolyPtr</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2035_2" doxytag="NLMISC::COXml::serialContPolyPtr" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialContPolyPtr </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::set< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serialize a check value. An object can stream a check value to check integrity or format of filed or streamed data. Just call serial check with a const value. Write will serial the value. Read will check the value is the same. If it is not, it will throw <a class="el" href="a03794.html">EInvalidDataStream</a> exception.<p> +NB: The type of the value must implement an operator == and must be serializable. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>value</em> </td><td>the value used to the check. </td></tr> + </table> +</dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03794.html">EInvalidDataStream</a></dd></dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00377">377</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01192">NLMISC::IStream::serialSTLContPolyPtr()</a>. +<p> +<div class="fragment"><pre>00377 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd7">serialSTLContPolyPtr</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2035_3" doxytag="NLMISC::COXml::serialContPolyPtr" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialContPolyPtr </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::deque< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serialize a check value. An object can stream a check value to check integrity or format of filed or streamed data. Just call serial check with a const value. Write will serial the value. Read will check the value is the same. If it is not, it will throw <a class="el" href="a03794.html">EInvalidDataStream</a> exception.<p> +NB: The type of the value must implement an operator == and must be serializable. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>value</em> </td><td>the value used to the check. </td></tr> + </table> +</dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03794.html">EInvalidDataStream</a></dd></dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00375">375</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01192">NLMISC::IStream::serialSTLContPolyPtr()</a>. +<p> +<div class="fragment"><pre>00375 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd7">serialSTLContPolyPtr</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2035_4" doxytag="NLMISC::COXml::serialContPolyPtr" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialContPolyPtr </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::list< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serialize a check value. An object can stream a check value to check integrity or format of filed or streamed data. Just call serial check with a const value. Write will serial the value. Read will check the value is the same. If it is not, it will throw <a class="el" href="a03794.html">EInvalidDataStream</a> exception.<p> +NB: The type of the value must implement an operator == and must be serializable. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>value</em> </td><td>the value used to the check. </td></tr> + </table> +</dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03794.html">EInvalidDataStream</a></dd></dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00373">373</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01192">NLMISC::IStream::serialSTLContPolyPtr()</a>. +<p> +<div class="fragment"><pre>00373 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd7">serialSTLContPolyPtr</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2035_5" doxytag="NLMISC::COXml::serialContPolyPtr" ></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" colspan="4"> +template<class T, class Allocator> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialContPolyPtr </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< T, Allocator > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serialize a check value. An object can stream a check value to check integrity or format of filed or streamed data. Just call serial check with a const value. Write will serial the value. Read will check the value is the same. If it is not, it will throw <a class="el" href="a03794.html">EInvalidDataStream</a> exception.<p> +NB: The type of the value must implement an operator == and must be serializable. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>value</em> </td><td>the value used to the check. </td></tr> + </table> +</dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a03794.html">EInvalidDataStream</a></dd></dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00371">371</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01215">NLMISC::IStream::serialVectorPolyPtr()</a>. +<p> +Referenced by <a class="el" href="a05443.html#l00080">NL3D::CAnimation::serial()</a>. +<p> +<div class="fragment"><pre>00371 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd9">serialVectorPolyPtr</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2034_0" doxytag="NLMISC::COXml::serialContPtr" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialContPtr </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::multiset< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><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="a06462.html#l00362">362</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01086">NLMISC::IStream::serialSTLContPtr()</a>. +<p> +<div class="fragment"><pre>00362 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd8">serialSTLContPtr</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2034_1" doxytag="NLMISC::COXml::serialContPtr" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialContPtr </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::set< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><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="a06462.html#l00360">360</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01086">NLMISC::IStream::serialSTLContPtr()</a>. +<p> +<div class="fragment"><pre>00360 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd8">serialSTLContPtr</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2034_2" doxytag="NLMISC::COXml::serialContPtr" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialContPtr </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::deque< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><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="a06462.html#l00358">358</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01086">NLMISC::IStream::serialSTLContPtr()</a>. +<p> +<div class="fragment"><pre>00358 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd8">serialSTLContPtr</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2034_3" doxytag="NLMISC::COXml::serialContPtr" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialContPtr </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::list< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><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="a06462.html#l00356">356</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01086">NLMISC::IStream::serialSTLContPtr()</a>. +<p> +<div class="fragment"><pre>00356 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd8">serialSTLContPtr</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2034_4" doxytag="NLMISC::COXml::serialContPtr" ></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" colspan="4"> +template<class T, class Allocator> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialContPtr </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< T, Allocator > & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><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="a06462.html#l00354">354</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01121">NLMISC::IStream::serialVectorPtr()</a>. +<p> +Referenced by <a class="el" href="a05449.html#l00134">NL3D::CAnimationSet::serial()</a>. +<p> +<div class="fragment"><pre>00354 {<a class="code" href="a02270.html#NLMISC_1_1IStreamd10">serialVectorPtr</a>(cont);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreama7" doxytag="NLMISC::COXml::serialEnum" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialEnum </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T & </td> + <td class="mdname1" valign="top" nowrap> <em>em</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Template enum serialisation. Serialized as a sint32. +<p> + +<p> +Definition at line <a class="el" href="a06462.html#l00261">261</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a06580.html#l00279">NLNET::cbTCReceiveOtherSideClass()</a>, <a class="el" href="a06702.html#l00186">NL3D::CVegetableShape::serial()</a>, <a class="el" href="a06686.html#l00375">NL3D::CVegetable::serial()</a>, <a class="el" href="a06337.html#l00736">NLPACS::CRetrieverInstance::serial()</a>, <a class="el" href="a06179.html#l00230">NL3D::CPointLight::serial()</a>, <a class="el" href="a05968.html#l00139">NL3D::CMaterial::serial()</a>, <a class="el" href="a05929.html#l00895">NLPACS::CLocalRetriever::serial()</a>, <a class="el" href="a05585.html#l00164">NLMISC::CSerialCommand::serial()</a>, and <a class="el" href="a05447.html#l00292">NL3D::CAnimationPlaylist::serial()</a>. +<p> +<div class="fragment"><pre>00262 { +00263 <a class="code" href="a04558.html#a10">sint32</a> i; +00264 <span class="keywordflow">if</span>(<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00265 { +00266 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(i); +00267 em = (T)i; +00268 } +00269 <span class="keywordflow">else</span> +00270 { +00271 i = em; +00272 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(i); +00273 } +00274 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreama8" doxytag="NLMISC::COXml::serialMemStream" ></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 NLMISC::IStream::serialMemStream </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02271.html">CMemStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serial memstream, bitmemstream... +<p> + +<p> +Definition at line <a class="el" href="a06461.html#l00436">436</a> of file <a class="el" href="a06461.html">stream.cpp</a>. +<p> +References <a class="el" href="a05979.html#l00238">NLMISC::CMemStream::buffer()</a>, <a class="el" href="a05979.html#l00306">NLMISC::CMemStream::bufferToFill()</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05646.html#l00235">len</a>, <a class="el" href="a05979.html#l00217">NLMISC::CMemStream::length()</a>, <a class="el" href="a05979.html#l00270">NLMISC::CMemStream::resetBufPos()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a02270.html#NLMISC_1_1IStreamz2041_1">NLMISC::IStream::serialBuffer()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00437 { +00438 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a571">len</a>=0; +00439 +00440 <span class="comment">// Serialize length</span> +00441 <span class="keywordflow">if</span> ( <a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() ) +00442 { +00443 <span class="comment">// fill b with data from this</span> +00444 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a> (len); +00445 <a class="code" href="a03032.html#NLMISC_1_1COXmld16">serialBuffer</a> (b.bufferToFill (len), <a class="code" href="a04223.html#a571">len</a>); +00446 b.resetBufPos (); +00447 } +00448 <span class="keywordflow">else</span> +00449 { +00450 <span class="comment">// fill this with data from b</span> +00451 <a class="code" href="a04223.html#a571">len</a> = b.length(); +00452 +00453 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>( len ); +00454 <a class="code" href="a03032.html#NLMISC_1_1COXmld16">serialBuffer</a>( (<a class="code" href="a04558.html#a7">uint8</a>*) b.buffer (), <a class="code" href="a04223.html#a571">len</a> ); +00455 } +00456 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2035_6" doxytag="NLMISC::COXml::serialPolyPtr" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialPolyPtr </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T *& </td> + <td class="mdname1" valign="top" nowrap> <em>ptr</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serialize Polymorphic Objet Ptr. Works with NULL pointers. If the same object is found mutliple time in the stream, ONLY ONE instance is written! NB: The ptr is serialised as a uint64 (64 bit compliant). <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>ptr</em> </td><td>a pointer on a <a class="el" href="a02867.html">IStreamable</a> object. </td></tr> + </table> +</dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a02270.html#NLMISC_1_1IStreamz2040_0">resetPtrTable()</a></dd></dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00492">492</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06461.html#l00115">NLMISC::IStream::serialIStreamable()</a>. +<p> +Referenced by <a class="el" href="a05445.html#l00138">NL3D::CAnimationOptimizer::cloneTrack()</a>, <a class="el" href="a05968.html#l00438">NL3D::CMaterial::CLightMap::serial()</a>, <a class="el" href="a05968.html#l00139">NL3D::CMaterial::serial()</a>, <a class="el" href="a05437.html#l00045">NL3D::CMaterialBase::CAnimatedTexture::serial()</a>, <a class="el" href="a05968.html#l00456">NL3D::CMaterial::CLightMap::serial2()</a>, and <a class="el" href="a06462.html#l01162">NLMISC::IStream::serialSTLContLenPolyPtr()</a>. +<p> +<div class="fragment"><pre>00493 { IStreamable *p=ptr; <a class="code" href="a02270.html#NLMISC_1_1IStreamd0">serialIStreamable</a>(p); ptr= static_cast<T*>(p);} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2035_7" doxytag="NLMISC::COXml::serialPtr" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialPtr </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T *& </td> + <td class="mdname1" valign="top" nowrap> <em>ptr</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serialize Non Polymorphic Objet Ptr. Works with NULL pointers. If the same object is found mutliple time in the stream, ONLY ONE instance is written! NB: The ptr is serialised as a uint64 (64 bit compliant). <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>ptr</em> </td><td>a pointer on a base type or an object. </td></tr> + </table> +</dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a02270.html#NLMISC_1_1IStreamz2040_0">resetPtrTable()</a></dd></dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00390">390</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00890">NLMISC::IStream::_IdMap</a>, <a class="el" href="a06462.html#l00889">NLMISC::IStream::_NextSerialPtrId</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a06462.html#l00891">NLMISC::IStream::ItIdMap</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00102">uint64</a>, <a class="el" href="a06462.html#l00892">NLMISC::IStream::ValueIdMap</a>, <a class="el" href="a06462.html#l00759">NLMISC::IStream::xmlPop()</a>, <a class="el" href="a06462.html#l00725">NLMISC::IStream::xmlPushBegin()</a>, <a class="el" href="a06462.html#l00742">NLMISC::IStream::xmlPushEnd()</a>, and <a class="el" href="a06462.html#l00777">NLMISC::IStream::xmlSetAttrib()</a>. +<p> +Referenced by <a class="el" href="a06152.html#l00136">NL3D::CParticleSystemShape::buildFromPS()</a>, <a class="el" href="a06152.html#l00344">NL3D::CParticleSystemShape::flushTextures()</a>, <a class="el" href="a06152.html#l00182">NL3D::CParticleSystemShape::instanciatePS()</a>, and <a class="el" href="a06462.html#l01056">NLMISC::IStream::serialSTLContLenPtr()</a>. +<p> +<div class="fragment"><pre>00391 { +00392 <a class="code" href="a04558.html#a13">uint64</a> node; +00393 +00394 <span class="comment">// Open the node header</span> +00395 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_3">xmlPushBegin</a> (<span class="stringliteral">"PTR"</span>); +00396 +00397 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_5">xmlSetAttrib</a> (<span class="stringliteral">"id"</span>); +00398 +00399 <span class="keywordflow">if</span>(<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00400 { +00401 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(node); +00402 +00403 <span class="comment">// Close the header</span> +00404 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_4">xmlPushEnd</a> (); +00405 +00406 <span class="keywordflow">if</span>(node==0) +00407 ptr=NULL; +00408 <span class="keywordflow">else</span> +00409 { +00410 ItIdMap it; +00411 it= _IdMap.find(node); +00412 +00413 <span class="comment">// Test if object already created/read.</span> +00414 <span class="keywordflow">if</span>( it==_IdMap.end() ) +00415 { +00416 <span class="comment">// Construct object. </span> +00417 ptr= <span class="keyword">new</span> T; +00418 <span class="keywordflow">if</span>(ptr==NULL) +00419 <span class="keywordflow">throw</span> EStream(); +00420 +00421 <span class="comment">// Insert the node.</span> +00422 _IdMap.insert( <a class="code" href="a02270.html#NLMISC_1_1IStreamy1">ValueIdMap</a>(node, ptr) ); +00423 +00424 <span class="comment">// Read the object!</span> +00425 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(*ptr); +00426 } +00427 <span class="keywordflow">else</span> +00428 ptr= static_cast<T*>(it->second); +00429 } +00430 } +00431 <span class="keywordflow">else</span> +00432 { +00433 <span class="keywordflow">if</span>(ptr==NULL) +00434 { +00435 node= 0; +00436 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(node); +00437 +00438 <span class="comment">// Close the header</span> +00439 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_4">xmlPushEnd</a> (); +00440 } +00441 <span class="keywordflow">else</span> +00442 { +00443 ItIdMap it; +00444 it = _IdMap.find((<a class="code" href="a04558.html#a13">uint64</a>)(<a class="code" href="a04558.html#a15">uint</a>)ptr); +00445 +00446 <span class="comment">// Test if object has been already written</span> +00447 <span class="keywordflow">if</span>( it==_IdMap.end() ) +00448 { +00449 <span class="comment">// Not yet written</span> +00450 +00451 <span class="comment">// Get the next available ID</span> +00452 node = _NextSerialPtrId++; +00453 +00454 <span class="comment">// Serial the id</span> +00455 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(node); +00456 +00457 <span class="comment">// Insert the pointer in the map with the id</span> +00458 _IdMap.insert( <a class="code" href="a02270.html#NLMISC_1_1IStreamy1">ValueIdMap</a>((<a class="code" href="a04558.html#a13">uint64</a>)(<a class="code" href="a04558.html#a15">uint</a>)ptr, (<span class="keywordtype">void</span>*)(uint)node) ); +00459 +00460 <span class="comment">// Close the header</span> +00461 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_4">xmlPushEnd</a> (); +00462 +00463 <span class="comment">// Write the object</span> +00464 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(*ptr); +00465 } +00466 <span class="keywordflow">else</span> +00467 { +00468 <span class="comment">// Write only the object id</span> +00469 node = (<a class="code" href="a04558.html#a13">uint64</a>)(<a class="code" href="a04558.html#a15">uint</a>)(it->second); +00470 +00471 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(node); +00472 +00473 <span class="comment">// Close the header</span> +00474 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_4">xmlPushEnd</a> (); +00475 } +00476 } +00477 } +00478 +00479 <span class="comment">// Close the node</span> +00480 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_2">xmlPop</a> (); +00481 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld17" doxytag="NLMISC::COXml::serialSeparatedBufferOut" ></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 NLMISC::COXml::serialSeparatedBufferOut </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>value</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><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="a06107.html#l00160">160</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06108.html#l00171">_AttribName</a>, <a class="el" href="a06108.html#l00168">_AttribPresent</a>, <a class="el" href="a06108.html#l00186">_ContentString</a>, <a class="el" href="a06108.html#l00183">_CurrentNode</a>, <a class="el" href="a06108.html#l00174">_InternalStream</a>, <a class="el" href="a06108.html#l00165">_PushBegin</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05622.html#l00154">nlerror</a>, <a class="el" href="a05979.html#l00552">NLMISC::SEPARATOR</a>, <a class="el" href="a05646.html#l00645">size</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +Referenced by <a class="el" href="a06107.html#l00306">serial()</a>. +<p> +<div class="fragment"><pre>00161 { +00162 <a class="code" href="a04199.html#a6">nlassert</a>( ! <a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() ); +00163 +00164 <span class="comment">// Output stream has been setuped ?</span> +00165 <span class="keywordflow">if</span> ( <a class="code" href="a03032.html#NLMISC_1_1COXmlr6">_InternalStream</a> ) +00166 { +00167 <span class="comment">// Current node presents ?</span> +00168 <span class="keywordflow">if</span> (<a class="code" href="a03032.html#NLMISC_1_1COXmlr3">_CurrentNode</a>) +00169 { +00170 <span class="comment">// Write a push attribute ?</span> +00171 <span class="keywordflow">if</span> (<a class="code" href="a03032.html#NLMISC_1_1COXmlr7">_PushBegin</a>) +00172 { +00173 <span class="comment">// Current attrib is set ?</span> +00174 <span class="keywordflow">if</span> (<a class="code" href="a03032.html#NLMISC_1_1COXmlr1">_AttribPresent</a>) +00175 { +00176 <span class="comment">// Set the attribute</span> +00177 xmlSetProp (_CurrentNode, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a03032.html#NLMISC_1_1COXmlr0">_AttribName</a>.c_str(), (<span class="keyword">const</span> xmlChar*)<a class="code" href="a04223.html#a658">value</a>); +00178 +00179 <span class="comment">// The attribute has been used </span> +00180 <a class="code" href="a03032.html#NLMISC_1_1COXmlr1">_AttribPresent</a> = <span class="keyword">false</span>; +00181 } +00182 <span class="keywordflow">else</span> +00183 { +00184 <span class="comment">// * Error, the stream don't use XML streaming properly</span> +00185 <span class="comment">// * You must take care of this in your last serial call:</span> +00186 <span class="comment">// * - Between xmlPushBegin() and xmlPushEnd(), before each serial, you must set the attribute name with xmlSetAttrib.</span> +00187 <span class="comment">// * - Between xmlPushBegin() and xmlPushEnd(), you must serial only basic objects (numbers and strings).</span> +00188 <a class="code" href="a04199.html#a3">nlerror</a> ( <span class="stringliteral">"Error, the stream don't use XML streaming properly"</span> ); +00189 } +00190 } +00191 <span class="keywordflow">else</span> +00192 { +00193 <span class="comment">// Get the content buffer size</span> +00194 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a587">size</a>=<a class="code" href="a03032.html#NLMISC_1_1COXmlr2">_ContentString</a>.length(); +00195 +00196 <span class="comment">// Add a separator</span> +00197 <span class="keywordflow">if</span> ((<a class="code" href="a04223.html#a587">size</a>) && (<a class="code" href="a03032.html#NLMISC_1_1COXmlr2">_ContentString</a>[<a class="code" href="a04223.html#a587">size</a>-1]!=<span class="charliteral">'\n'</span>)) +00198 <a class="code" href="a03032.html#NLMISC_1_1COXmlr2">_ContentString</a> += <a class="code" href="a05378.html#a28">SEPARATOR</a>; +00199 +00200 <span class="comment">// Concat the strings</span> +00201 <a class="code" href="a03032.html#NLMISC_1_1COXmlr2">_ContentString</a> += <a class="code" href="a04223.html#a658">value</a>; +00202 } +00203 } +00204 <span class="keywordflow">else</span> +00205 { +00206 <span class="comment">// * Error, no current node present.</span> +00207 <span class="comment">// * Check that your serial is initialy made between a xmlPushBegin and xmlPushEnd calls.</span> +00208 <a class="code" href="a04199.html#a3">nlerror</a> ( <span class="stringliteral">"Error, the stream don't use XML streaming properly"</span> ); +00209 } +00210 } +00211 <span class="keywordflow">else</span> +00212 { +00213 <a class="code" href="a04199.html#a3">nlerror</a> ( <span class="stringliteral">"Output stream has not been setuped"</span> ); +00214 } +00215 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamb0" doxytag="NLMISC::COXml::serialVector" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::serialVector </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T & </td> + <td class="mdname1" valign="top" nowrap> <em>cont</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +special version for serializing a vector. Support up to sint32 length containers. +<p> +Definition at line <a class="el" href="a06462.html#l00992">992</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a05587.html#l00141">NLMISC::contReset()</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05646.html#l00235">len</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a06462.html#l00759">NLMISC::IStream::xmlPop()</a>, <a class="el" href="a06462.html#l00701">NLMISC::IStream::xmlPush()</a>, <a class="el" href="a06462.html#l00725">NLMISC::IStream::xmlPushBegin()</a>, <a class="el" href="a06462.html#l00742">NLMISC::IStream::xmlPushEnd()</a>, and <a class="el" href="a06462.html#l00777">NLMISC::IStream::xmlSetAttrib()</a>. +<p> +Referenced by <a class="el" href="a06472.html#l00124">NLMISC::CStringStream::serialCont()</a>, <a class="el" href="a06462.html#l00324">NLMISC::IStream::serialCont()</a>, and <a class="el" href="a05483.html#l00634">NLMISC::CBitMemStream::serialCont()</a>. +<p> +<div class="fragment"><pre>00993 { +00994 <span class="keyword">typedef</span> <span class="keyword">typename</span> T::value_type __value_type; +00995 <span class="keyword">typedef</span> <span class="keyword">typename</span> T::iterator __iterator; +00996 +00997 <span class="comment">// Open a node header</span> +00998 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_3">xmlPushBegin</a> (<span class="stringliteral">"VECTOR"</span>); +00999 +01000 <span class="comment">// Attrib size</span> +01001 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_5">xmlSetAttrib</a> (<span class="stringliteral">"size"</span>); +01002 +01003 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a571">len</a>=0; +01004 <span class="keywordflow">if</span>(<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +01005 { +01006 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(len); +01007 +01008 <span class="comment">// Open a node header</span> +01009 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_4">xmlPushEnd</a> (); +01010 +01011 <span class="comment">// special version for vector: adjut good size.</span> +01012 <a class="code" href="a05378.html#a381">contReset</a>(cont); +01013 cont.resize (len); +01014 +01015 <span class="comment">// Read the vector</span> +01016 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a14">sint</a> i=0;i<<a class="code" href="a04223.html#a571">len</a>;i++) +01017 { +01018 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2038_0">xmlPush</a> (<span class="stringliteral">"ELM"</span>); +01019 +01020 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(cont[i]); +01021 +01022 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_2">xmlPop</a> (); +01023 } +01024 } +01025 <span class="keywordflow">else</span> +01026 { +01027 <a class="code" href="a04223.html#a571">len</a>= cont.size(); +01028 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(len); +01029 +01030 <span class="comment">// Close the node header</span> +01031 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_4">xmlPushEnd</a> (); +01032 +01033 <span class="comment">// Write the vector</span> +01034 __iterator it= cont.begin(); +01035 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a14">sint</a> i=0;i<<a class="code" href="a04223.html#a571">len</a>;i++, it++) +01036 { +01037 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2038_0">xmlPush</a> (<span class="stringliteral">"ELM"</span>); +01038 +01039 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(const_cast<__value_type&>(*it)); +01040 +01041 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_2">xmlPop</a> (); +01042 } +01043 } +01044 +01045 <span class="comment">// Close the node</span> +01046 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_2">xmlPop</a> (); +01047 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2035_8" doxytag="NLMISC::COXml::serialVersion" ></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> NLMISC::IStream::serialVersion </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>currentVersion</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serialize a version number. Each object should store/read first a version number, using this method. Then he can use the streamVersion returned to see how he should serialise himself.<p> +NB: Version Number is read/store as a uint8, or uint32 if too bigger.. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>currentVersion</em> </td><td>the current version of the class, provided by user. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the version of the stream. If the stream is an Output stream, currentVersion is returned. </dd></dl> +<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a02270.html#NLMISC_1_1IStreame1">setVersionException()</a> <a class="el" href="a02270.html#NLMISC_1_1IStreame0">getVersionException()</a></dd></dl> + +<p> +Definition at line <a class="el" href="a06461.html#l00266">266</a> of file <a class="el" href="a06461.html">stream.cpp</a>. +<p> +References <a class="el" href="a06461.html#l00067">NLMISC::IStream::_ThrowOnNewer</a>, <a class="el" href="a06461.html#l00066">NLMISC::IStream::_ThrowOnOlder</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a05646.html#l00237">v</a>, <a class="el" href="a06462.html#l00759">NLMISC::IStream::xmlPop()</a>, and <a class="el" href="a06462.html#l00701">NLMISC::IStream::xmlPush()</a>. +<p> +Referenced by <a class="el" href="a06005.html#l00055">NL3D::H_AUTO_DECL()</a>, <a class="el" href="a05668.html#l00405">NLMISC::CEntityIdTranslator::load()</a>, <a class="el" href="a05926.html#l00145">loadForm()</a>, <a class="el" href="a05668.html#l00442">NLMISC::CEntityIdTranslator::save()</a>, <a class="el" href="a06772.html#l00159">NLLIGO::CZoneRegion::serial()</a>, <a class="el" href="a06772.html#l00101">NLLIGO::CZoneRegion::SZoneUnit2::serial()</a>, <a class="el" href="a06762.html#l00105">NLLIGO::CZoneBankElement::serial()</a>, <a class="el" href="a06758.html#l00432">NL3D::CZone::serial()</a>, <a class="el" href="a06758.html#l00421">NL3D::CPatchInfo::CBindInfo::serial()</a>, <a class="el" href="a06758.html#l00410">NL3D::CZone::CPatchConnect::serial()</a>, <a class="el" href="a06758.html#l00402">NL3D::CBorderVertex::serial()</a>, <a class="el" href="a06710.html#l00854">NL3D::CVertexBuffer::serial()</a>, <a class="el" href="a06702.html#l00186">NL3D::CVegetableShape::serial()</a>, <a class="el" href="a06686.html#l00375">NL3D::CVegetable::serial()</a>, <a class="el" href="a06564.html#l00062">NL3D::CTrackSampledVector::serial()</a>, <a class="el" href="a06562.html#l00125">NL3D::CTrackSampledQuat::serial()</a>, <a class="el" href="a06560.html#l00080">NL3D::CTrackSampledCommon::CTimeBlock::serial()</a>, <a class="el" href="a06550.html#l00099">NL3D::CTileVegetableDesc::serial()</a>, <a class="el" href="a06548.html#l00036">NL3D::CTileNoiseMap::serial()</a>, <a class="el" href="a06536.html#l01912">NL3D::CTileNoise::serial()</a>, <a class="el" href="a06477.html#l00329">NLPACS::CSurfaceQuadTree::serial()</a>, <a class="el" href="a06476.html#l00076">NL3D::CSurfaceLightGrid::CCellCorner::serial()</a>, <a class="el" href="a06475.html#l00051">NL3D::CSurfaceLightGrid::serial()</a>, <a class="el" href="a06399.html#l00083">NL3D::CSkeletonWeight::CNode::serial()</a>, <a class="el" href="a06399.html#l00069">NL3D::CSkeletonWeight::serial()</a>, <a class="el" href="a06350.html#l00379">NL3D::CInstanceGroup::serial()</a>, <a class="el" href="a06350.html#l00065">NL3D::CInstanceGroup::CInstance::serial()</a>, <a class="el" href="a06337.html#l00736">NLPACS::CRetrieverInstance::serial()</a>, <a class="el" href="a06336.html#l00114">NLPACS::CRetrieverBank::serial()</a>, <a class="el" href="a06333.html#l00051">NLPACS::CRetrievableSurface::serial()</a>, <a class="el" href="a06213.html#l00438">NL3D::CPSAttrib< T >::serial()</a>, <a class="el" href="a06197.html#l00219">NL3D::CPrimitiveBlock::serial()</a>, <a class="el" href="a06193.html#l00216">NL3D::CPortal::serial()</a>, <a class="el" href="a06187.html#l00100">NL3D::CPointLightNamedArray::CPointLightGroup::serial()</a>, <a class="el" href="a06186.html#l00164">NL3D::CPointLightNamedArray::serial()</a>, <a class="el" href="a06184.html#l00073">NL3D::CPointLightNamed::serial()</a>, <a class="el" href="a06179.html#l00230">NL3D::CPointLight::serial()</a>, <a class="el" href="a06155.html#l01576">NL3D::CPatch::serial()</a>, <a class="el" href="a06105.html#l00337">NLMISC::CNoiseColorGradient::serial()</a>, <a class="el" href="a06105.html#l00294">NLMISC::CNoiseValue::serial()</a>, <a class="el" href="a06012.html#l00314">NL3D::CMeshMRMSkinnedGeom::CRdrPass::serial()</a>, <a class="el" href="a06012.html#l00262">NL3D::CMeshMRMSkinnedGeom::CShadowVertex::serial()</a>, <a class="el" href="a06011.html#l01937">NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::CPackedVertex::serial()</a>, <a class="el" href="a06011.html#l01926">NL3D::CMeshMRMSkinnedGeom::CPackedVertexBuffer::serial()</a>, <a class="el" href="a06011.html#l01482">NL3D::CMeshMRMSkinned::serial()</a>, <a class="el" href="a06011.html#l00991">NL3D::CMeshMRMSkinnedGeom::serial()</a>, <a class="el" href="a06006.html#l00463">NL3D::CMeshMRMGeom::CLodInfo::serial()</a>, <a class="el" href="a06006.html#l00350">NL3D::CMeshMRMGeom::CRdrPass::serial()</a>, <a class="el" href="a06006.html#l00296">NL3D::CMeshMRMGeom::CShadowVertex::serial()</a>, <a class="el" href="a05992.html#l00103">NL3D::CMeshBase::CLightMapInfoList::serial()</a>, <a class="el" href="a05992.html#l00092">NL3D::CMeshBase::CLightMapInfoList::CMatStage::serial()</a>, <a class="el" href="a05990.html#l00518">NL3D::CMeshGeom::CMatrixBlock::serial()</a>, <a class="el" href="a05990.html#l00497">NL3D::CMeshGeom::CRdrPass::serial()</a>, <a class="el" href="a05972.html#l01500">NLMISC::CMatrix::serial()</a>, <a class="el" href="a05968.html#l00139">NL3D::CMaterial::serial()</a>, <a class="el" href="a05941.html#l00043">NL3D::CLodCharacterTexture::serial()</a>, <a class="el" href="a05939.html#l00121">NL3D::CLodCharacterShapeBank::serial()</a>, <a class="el" href="a05937.html#l00505">NL3D::CLodCharacterShape::serial()</a>, <a class="el" href="a05937.html#l00495">NL3D::CLodCharacterShape::CBoneInfluence::serial()</a>, <a class="el" href="a05937.html#l00481">NL3D::CLodCharacterShape::CAnim::serial()</a>, <a class="el" href="a05937.html#l00273">NL3D::CLodCharacterShapeBuild::serial()</a>, <a class="el" href="a05929.html#l00895">NLPACS::CLocalRetriever::serial()</a>, <a class="el" href="a05807.html#l00056">NL3D::CIGSurfaceLight::CRetrieverLightGrid::serial()</a>, <a class="el" href="a05806.html#l00098">NL3D::CIGSurfaceLight::serial()</a>, <a class="el" href="a05792.html#l00154">NL3D::CHLSTextureBank::CTextureInstance::serial()</a>, <a class="el" href="a05792.html#l00117">NL3D::CHLSTextureBank::serial()</a>, <a class="el" href="a05790.html#l00313">NL3D::CHLSColorTexture::serial()</a>, <a class="el" href="a05790.html#l00057">NL3D::CHLSColorTexture::CMask::serial()</a>, <a class="el" href="a05790.html#l00049">NL3D::CHLSColorDelta::serial()</a>, <a class="el" href="a05761.html#l00136">NLPACS::CGlobalRetriever::serial()</a>, <a class="el" href="a05694.html#l00170">NLPACS::CFaceGrid::serial()</a>, <a class="el" href="a05692.html#l00098">NLPACS::CExteriorMesh::serial()</a>, <a class="el" href="a05666.html#l00571">NLPACS::CEdgeQuad::serial()</a>, <a class="el" href="a05563.html#l00250">NL3D::CCluster::serial()</a>, <a class="el" href="a05541.html#l00473">NLPACS::CChainQuad::serial()</a>, <a class="el" href="a05539.html#l00274">NLPACS::CChain::serial()</a>, <a class="el" href="a05539.html#l00158">NLPACS::COrderedChain::serial()</a>, <a class="el" href="a05539.html#l00064">NLPACS::COrderedChain3f::serial()</a>, <a class="el" href="a05491.html#l00056">NL3D::CBoneBase::serial()</a>, <a class="el" href="a05484.html#l00294">NLMISC::CBitSet::serial()</a>, <a class="el" href="a05449.html#l00134">NL3D::CAnimationSet::serial()</a>, <a class="el" href="a05447.html#l00292">NL3D::CAnimationPlaylist::serial()</a>, <a class="el" href="a05443.html#l00080">NL3D::CAnimation::serial()</a>, <a class="el" href="a05438.html#l00103">NL3D::CMaterialBase::CTexAnimTracks::serial()</a>, <a class="el" href="a05437.html#l00080">NL3D::CMaterialBase::serial()</a>, <a class="el" href="a05384.html#l00206">NLMISC::CAABBox::serial()</a>, <a class="el" href="a05968.html#l00456">NL3D::CMaterial::CLightMap::serial2()</a>, <a class="el" href="a06560.html#l00090">NL3D::CTrackSampledCommon::serialCommon()</a>, <a class="el" href="a06710.html#l00883">NL3D::CVertexBuffer::serialHeader()</a>, <a class="el" href="a06005.html#l01918">NL3D::CMeshMRMGeom::serialLodVertexData()</a>, and <a class="el" href="a06710.html#l01008">NL3D::CVertexBuffer::serialSubset()</a>. +<p> +<div class="fragment"><pre>00267 { +00268 <a class="code" href="a04558.html#a7">uint8</a> b=0; +00269 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a576">v</a>=0; +00270 <a class="code" href="a04558.html#a15">uint</a> streamVersion; +00271 +00272 <span class="comment">// Open the node</span> +00273 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2038_0">xmlPush</a> (<span class="stringliteral">"VERSION"</span>); +00274 +00275 <span class="keywordflow">if</span>(<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00276 { +00277 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(b); +00278 <span class="keywordflow">if</span>(b==0xFF) +00279 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(v); +00280 <span class="keywordflow">else</span> +00281 <a class="code" href="a04223.html#a576">v</a>=b; +00282 streamVersion=<a class="code" href="a04223.html#a576">v</a>; +00283 +00284 <span class="comment">// Exception test.</span> +00285 <span class="keywordflow">if</span>(_ThrowOnOlder && streamVersion < currentVersion) +00286 <span class="keywordflow">throw</span> EOlderStream(*<span class="keyword">this</span>); +00287 <span class="keywordflow">if</span>(_ThrowOnNewer && streamVersion > currentVersion) +00288 <span class="keywordflow">throw</span> ENewerStream(*<span class="keyword">this</span>); +00289 } +00290 <span class="keywordflow">else</span> +00291 { +00292 <a class="code" href="a04223.html#a576">v</a>= streamVersion=currentVersion; +00293 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a576">v</a>>=0xFF) +00294 { +00295 b=0xFF; +00296 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(b); +00297 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(v); +00298 } +00299 <span class="keywordflow">else</span> +00300 { +00301 b= (<a class="code" href="a04558.html#a7">uint8</a>)<a class="code" href="a04223.html#a576">v</a>; +00302 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a>(b); +00303 } +00304 } +00305 +00306 <span class="comment">// Close the node</span> +00307 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_2">xmlPop</a> (); +00308 +00309 <span class="keywordflow">return</span> streamVersion; +00310 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2040_1" doxytag="NLMISC::COXml::setInOut" ></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 NLMISC::IStream::setInOut </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>inputStream</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Change, in live, the state of the inputStream. This could be usefull in certain case. The deriver which would want to do such a thing must call this method, and implement his own behavior. In certain case, it should call <a class="el" href="a02270.html#NLMISC_1_1IStreamz2040_0">resetPtrTable()</a> if he want to reset the stream ptr info (maybe always)... +<p> +Definition at line <a class="el" href="a06461.html#l00413">413</a> of file <a class="el" href="a06461.html">stream.cpp</a>. +<p> +References <a class="el" href="a06462.html#l00884">NLMISC::IStream::_InputStream</a>. +<p> +Referenced by <a class="el" href="a05482.html#l00737">NLMISC::CBitMemStream::getSerialItem()</a>, and <a class="el" href="a05979.html#l00331">NLMISC::CMemStream::invert()</a>. +<p> +<div class="fragment"><pre>00414 { +00415 _InputStream= inputStream; +00416 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreame1" doxytag="NLMISC::COXml::setVersionException" ></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 NLMISC::IStream::setVersionException </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname" nowrap> <em>throwOnOlder</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>throwOnNewer</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the behavior of <a class="el" href="a02270.html">IStream</a> regarding input stream that are older/newer than the class. If throwOnOlder==true, <a class="el" href="a02270.html">IStream</a> throws a <a class="el" href="a03798.html">EOlderStream</a> when needed. If throwOnNewer==true, <a class="el" href="a02270.html">IStream</a> throws a <a class="el" href="a03797.html">ENewerStream</a> when needed.<p> +By default, the behavior is throwOnOlder=false, throwOnNewer=true. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion()</a> <a class="el" href="a02270.html#NLMISC_1_1IStreame0">getVersionException()</a></dd></dl> + +<p> +Definition at line <a class="el" href="a06461.html#l00071">71</a> of file <a class="el" href="a06461.html">stream.cpp</a>. +<p> +References <a class="el" href="a06461.html#l00067">NLMISC::IStream::_ThrowOnNewer</a>, and <a class="el" href="a06461.html#l00066">NLMISC::IStream::_ThrowOnOlder</a>. +<p> +<div class="fragment"><pre>00072 { +00073 _ThrowOnOlder=throwOnOlder; +00074 _ThrowOnNewer=throwOnNewer; +00075 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2040_2" doxytag="NLMISC::COXml::setXMLMode" ></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 NLMISC::IStream::setXMLMode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>on</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the XML mode is true to enable XML mode else false +<p> +Definition at line <a class="el" href="a06461.html#l00427">427</a> of file <a class="el" href="a06461.html">stream.cpp</a>. +<p> +References <a class="el" href="a06462.html#l01443">NLMISC::IStream::_XML</a>. +<p> +Referenced by <a class="el" href="a06107.html#l00075">COXml()</a>, and <a class="el" href="a06107.html#l00111">init()</a>. +<p> +<div class="fragment"><pre>00428 { +00429 _XML = on; +00430 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2039_0" doxytag="NLMISC::COXml::xmlBreakLine" ></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 NLMISC::IStream::xmlBreakLine </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<a class="el" href="a02270.html#NLMISC_1_1IStreamz2039_0">xmlBreakLine()</a> insert a break line in the XML stream.<p> +<dl compact><dt><b>Returns:</b></dt><dd>true if the break line is added, return false if no node is opened.</dd></dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00794">794</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01443">NLMISC::IStream::_XML</a>, and <a class="el" href="a06462.html#l00845">NLMISC::IStream::xmlBreakLineInternal()</a>. +<p> +<div class="fragment"><pre>00795 { +00796 <span class="comment">// XML Mode ?</span> +00797 <span class="keywordflow">if</span> (_XML) +00798 { +00799 <span class="keywordflow">return</span> <a class="code" href="a03032.html#NLMISC_1_1COXmld18">xmlBreakLineInternal</a> (); +00800 } +00801 +00802 <span class="comment">// Return ok</span> +00803 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00804 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld18" doxytag="NLMISC::COXml::xmlBreakLineInternal" ></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 NLMISC::COXml::xmlBreakLineInternal </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> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +xmlBreakLine implementation +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2040_3">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00556">556</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06108.html#l00186">_ContentString</a>, <a class="el" href="a06108.html#l00174">_InternalStream</a>, <a class="el" href="a06108.html#l00165">_PushBegin</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05622.html#l00135">nlwarning</a>. +<p> +<div class="fragment"><pre>00557 { +00558 <a class="code" href="a04199.html#a6">nlassert</a>( ! <a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() ); +00559 +00560 <span class="comment">// Check _InternalStream</span> +00561 <span class="keywordflow">if</span> ( <a class="code" href="a03032.html#NLMISC_1_1COXmlr6">_InternalStream</a> ) +00562 { +00563 <span class="comment">// Not in the push mode ?</span> +00564 <span class="keywordflow">if</span> ( ! <a class="code" href="a03032.html#NLMISC_1_1COXmlr7">_PushBegin</a> ) +00565 { +00566 <span class="comment">// Add a break line</span> +00567 <a class="code" href="a03032.html#NLMISC_1_1COXmlr2">_ContentString</a> += <span class="charliteral">'\n'</span>; +00568 } +00569 <span class="keywordflow">else</span> +00570 { +00571 <a class="code" href="a04199.html#a2">nlwarning</a> ( <span class="stringliteral">"XML: You must call xmlNBreakLine after xmlPushEnd."</span>); +00572 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00573 } +00574 } +00575 <span class="keywordflow">else</span> +00576 { +00577 <a class="code" href="a04199.html#a2">nlwarning</a> ( <span class="stringliteral">"XML: Output stream has not been setuped."</span>); +00578 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00579 } +00580 +00581 <span class="comment">// Ok</span> +00582 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00583 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2039_1" doxytag="NLMISC::COXml::xmlComment" ></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 NLMISC::IStream::xmlComment </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>comment</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<a class="el" href="a02270.html#NLMISC_1_1IStreamz2039_1">xmlComment()</a> insert a comment line in the XML stream.<p> +<dl compact><dt><b>Returns:</b></dt><dd>true if the comment is added, return false if no node is opened.</dd></dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00811">811</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01443">NLMISC::IStream::_XML</a>, <a class="el" href="a04115.html#a118">comment()</a>, and <a class="el" href="a06462.html#l00848">NLMISC::IStream::xmlCommentInternal()</a>. +<p> +<div class="fragment"><pre>00812 { +00813 <span class="comment">// XML Mode ?</span> +00814 <span class="keywordflow">if</span> (_XML) +00815 { +00816 <span class="keywordflow">return</span> <a class="code" href="a03032.html#NLMISC_1_1COXmld19">xmlCommentInternal</a> (comment); +00817 } +00818 +00819 <span class="comment">// Return ok</span> +00820 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00821 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld19" doxytag="NLMISC::COXml::xmlCommentInternal" ></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 NLMISC::COXml::xmlCommentInternal </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>comment</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +xmlComment implementation +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2040_4">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00587">587</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06108.html#l00183">_CurrentNode</a>, <a class="el" href="a06108.html#l00174">_InternalStream</a>, <a class="el" href="a04115.html#a118">comment()</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05622.html#l00135">nlwarning</a>. +<p> +<div class="fragment"><pre>00588 { +00589 <a class="code" href="a04199.html#a6">nlassert</a>( ! <a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() ); +00590 +00591 <span class="comment">// Check _InternalStream</span> +00592 <span class="keywordflow">if</span> ( <a class="code" href="a03032.html#NLMISC_1_1COXmlr6">_InternalStream</a> ) +00593 { +00594 <span class="comment">// Not in the push mode ?</span> +00595 <span class="keywordflow">if</span> ( <a class="code" href="a03032.html#NLMISC_1_1COXmlr3">_CurrentNode</a> != NULL) +00596 { +00597 <span class="comment">// Add a comment node</span> +00598 xmlNodePtr commentPtr = xmlNewComment ((<span class="keyword">const</span> xmlChar *)comment); +00599 +00600 <span class="comment">// Add the node</span> +00601 xmlAddChild (_CurrentNode, commentPtr); +00602 } +00603 <span class="keywordflow">else</span> +00604 { +00605 <a class="code" href="a04199.html#a2">nlwarning</a> ( <span class="stringliteral">"XML: You must call xmlCommentInternal between xmlPushBegin and xmlPushEnd."</span>); +00606 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00607 } +00608 } +00609 <span class="keywordflow">else</span> +00610 { +00611 <a class="code" href="a04199.html#a2">nlwarning</a> ( <span class="stringliteral">"XML: Output stream has not been setuped."</span>); +00612 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00613 } +00614 <span class="comment">// Ok</span> +00615 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00616 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2039_2" doxytag="NLMISC::COXml::xmlPop" ></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 NLMISC::IStream::xmlPop </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<a class="el" href="a02270.html#NLMISC_1_1IStreamz2039_2">xmlPop()</a> close the node.<p> +<dl compact><dt><b>Returns:</b></dt><dd>true if you can close the node, false if the node can't be closed (its header is still opened) or if there is no node to close.</dd></dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00759">759</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01443">NLMISC::IStream::_XML</a>, and <a class="el" href="a06462.html#l00839">NLMISC::IStream::xmlPopInternal()</a>. +<p> +Referenced by <a class="el" href="a06772.html#l00159">NLLIGO::CZoneRegion::serial()</a>, <a class="el" href="a06762.html#l00105">NLLIGO::CZoneBankElement::serial()</a>, <a class="el" href="a06758.html#l00432">NL3D::CZone::serial()</a>, <a class="el" href="a06155.html#l01576">NL3D::CPatch::serial()</a>, <a class="el" href="a06116.html#l00260">NLMISC::CObjectVector< sint8, false >::serial()</a>, <a class="el" href="a06107.html#l00315">serial()</a>, <a class="el" href="a06107.html#l00373">serialBuffer()</a>, <a class="el" href="a06462.html#l00520">NLMISC::IStream::serialCheck()</a>, <a class="el" href="a06461.html#l00115">NLMISC::IStream::serialIStreamable()</a>, <a class="el" href="a06462.html#l01360">NLMISC::IStream::serialMap()</a>, <a class="el" href="a06462.html#l01271">NLMISC::IStream::serialMultimap()</a>, <a class="el" href="a06462.html#l00390">NLMISC::IStream::serialPtr()</a>, <a class="el" href="a06462.html#l00955">NLMISC::IStream::serialSTLCont()</a>, <a class="el" href="a06462.html#l00905">NLMISC::IStream::serialSTLContLen()</a>, <a class="el" href="a06462.html#l01086">NLMISC::IStream::serialSTLContPtr()</a>, <a class="el" href="a06462.html#l00992">NLMISC::IStream::serialVector()</a>, <a class="el" href="a06462.html#l01215">NLMISC::IStream::serialVectorPolyPtr()</a>, <a class="el" href="a06462.html#l01121">NLMISC::IStream::serialVectorPtr()</a>, <a class="el" href="a06461.html#l00266">NLMISC::IStream::serialVersion()</a>, and <a class="el" href="a06462.html#l00647">NLMISC::IStream::xmlSerial()</a>. +<p> +<div class="fragment"><pre>00760 { +00761 <span class="comment">// XML Mode ?</span> +00762 <span class="keywordflow">if</span> (_XML) +00763 { +00764 <span class="keywordflow">return</span> <a class="code" href="a03032.html#NLMISC_1_1COXmld20">xmlPopInternal</a> (); +00765 } +00766 +00767 <span class="comment">// Return ok</span> +00768 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00769 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld20" doxytag="NLMISC::COXml::xmlPopInternal" ></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 NLMISC::COXml::xmlPopInternal </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> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +xmlPop implementation +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2040_5">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00488">488</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06108.html#l00183">_CurrentNode</a>, <a class="el" href="a06108.html#l00174">_InternalStream</a>, <a class="el" href="a06108.html#l00165">_PushBegin</a>, <a class="el" href="a06107.html#l00053">flushContentString()</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05622.html#l00135">nlwarning</a>. +<p> +<div class="fragment"><pre>00489 { +00490 <a class="code" href="a04199.html#a6">nlassert</a>( ! <a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() ); +00491 +00492 <span class="comment">// Check _InternalStream</span> +00493 <span class="keywordflow">if</span> ( <a class="code" href="a03032.html#NLMISC_1_1COXmlr6">_InternalStream</a> ) +00494 { +00495 <span class="comment">// Not in the push mode ?</span> +00496 <span class="keywordflow">if</span> ( ! <a class="code" href="a03032.html#NLMISC_1_1COXmlr7">_PushBegin</a> ) +00497 { +00498 <span class="comment">// Some content to write ?</span> +00499 <a class="code" href="a03032.html#NLMISC_1_1COXmld0">flushContentString</a> (); +00500 +00501 <span class="comment">// Get parent</span> +00502 <a class="code" href="a03032.html#NLMISC_1_1COXmlr3">_CurrentNode</a>=<a class="code" href="a03032.html#NLMISC_1_1COXmlr3">_CurrentNode</a>->parent; +00503 } +00504 <span class="keywordflow">else</span> +00505 { +00506 <a class="code" href="a04199.html#a2">nlwarning</a> ( <span class="stringliteral">"XML: You must call xmlPop after xmlPushEnd."</span>); +00507 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00508 } +00509 } +00510 <span class="keywordflow">else</span> +00511 { +00512 <a class="code" href="a04199.html#a2">nlwarning</a> ( <span class="stringliteral">"XML: Output stream has not been setuped."</span>); +00513 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00514 } +00515 +00516 <span class="comment">// Ok</span> +00517 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00518 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2038_0" doxytag="NLMISC::COXml::xmlPush" ></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 NLMISC::IStream::xmlPush </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><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="a06462.html#l00701">701</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01443">NLMISC::IStream::_XML</a>, <a class="el" href="a05646.html#l01119">res</a>, <a class="el" href="a06462.html#l00833">NLMISC::IStream::xmlPushBeginInternal()</a>, and <a class="el" href="a06462.html#l00836">NLMISC::IStream::xmlPushEndInternal()</a>. +<p> +Referenced by <a class="el" href="a06772.html#l00159">NLLIGO::CZoneRegion::serial()</a>, <a class="el" href="a06762.html#l00105">NLLIGO::CZoneBankElement::serial()</a>, <a class="el" href="a06758.html#l00432">NL3D::CZone::serial()</a>, <a class="el" href="a06155.html#l01576">NL3D::CPatch::serial()</a>, <a class="el" href="a06116.html#l00260">NLMISC::CObjectVector< sint8, false >::serial()</a>, <a class="el" href="a06107.html#l00315">serial()</a>, <a class="el" href="a06107.html#l00373">serialBuffer()</a>, <a class="el" href="a06462.html#l00520">NLMISC::IStream::serialCheck()</a>, <a class="el" href="a06462.html#l01360">NLMISC::IStream::serialMap()</a>, <a class="el" href="a06462.html#l01271">NLMISC::IStream::serialMultimap()</a>, <a class="el" href="a06462.html#l00905">NLMISC::IStream::serialSTLContLen()</a>, <a class="el" href="a06462.html#l00992">NLMISC::IStream::serialVector()</a>, <a class="el" href="a06461.html#l00266">NLMISC::IStream::serialVersion()</a>, and <a class="el" href="a06462.html#l00647">NLMISC::IStream::xmlSerial()</a>. +<p> +<div class="fragment"><pre>00702 { +00703 <span class="comment">// XML Mode ?</span> +00704 <span class="keywordflow">if</span> (_XML) +00705 { +00706 <span class="comment">// Open the header</span> +00707 <span class="keywordtype">bool</span> <a class="code" href="a04223.html#a643">res</a>=<a class="code" href="a03032.html#NLMISC_1_1COXmld21">xmlPushBeginInternal</a> (name); +00708 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a643">res</a>) +00709 <span class="comment">// close the header</span> +00710 <a class="code" href="a03032.html#NLMISC_1_1COXmld22">xmlPushEndInternal</a> (); +00711 <span class="comment">// Return the result</span> +00712 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a643">res</a>; +00713 } +00714 +00715 <span class="comment">// Return ok</span> +00716 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00717 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2039_3" doxytag="NLMISC::COXml::xmlPushBegin" ></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 NLMISC::IStream::xmlPushBegin </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<a class="el" href="a02270.html#NLMISC_1_1IStreamz2039_0">xmlBreakLine()</a> insert a break line in the XML stream.<p> +<dl compact><dt><b>Returns:</b></dt><dd>true if the break line is added, return false if no node is opened.</dd></dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00725">725</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01443">NLMISC::IStream::_XML</a>, and <a class="el" href="a06462.html#l00833">NLMISC::IStream::xmlPushBeginInternal()</a>. +<p> +Referenced by <a class="el" href="a06116.html#l00260">NLMISC::CObjectVector< sint8, false >::serial()</a>, <a class="el" href="a06461.html#l00115">NLMISC::IStream::serialIStreamable()</a>, <a class="el" href="a06462.html#l01360">NLMISC::IStream::serialMap()</a>, <a class="el" href="a06462.html#l01271">NLMISC::IStream::serialMultimap()</a>, <a class="el" href="a06462.html#l00390">NLMISC::IStream::serialPtr()</a>, <a class="el" href="a06462.html#l00955">NLMISC::IStream::serialSTLCont()</a>, <a class="el" href="a06462.html#l01086">NLMISC::IStream::serialSTLContPtr()</a>, <a class="el" href="a06462.html#l00992">NLMISC::IStream::serialVector()</a>, <a class="el" href="a06462.html#l01215">NLMISC::IStream::serialVectorPolyPtr()</a>, and <a class="el" href="a06462.html#l01121">NLMISC::IStream::serialVectorPtr()</a>. +<p> +<div class="fragment"><pre>00726 { +00727 <span class="comment">// XML Mode ?</span> +00728 <span class="keywordflow">if</span> (_XML) +00729 { +00730 <span class="keywordflow">return</span> <a class="code" href="a03032.html#NLMISC_1_1COXmld21">xmlPushBeginInternal</a> (name); +00731 } +00732 +00733 <span class="comment">// Return ok</span> +00734 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00735 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld21" doxytag="NLMISC::COXml::xmlPushBeginInternal" ></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 NLMISC::COXml::xmlPushBeginInternal </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>nodeName</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +xmlPushBegin implementation +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2040_6">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00394">394</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06108.html#l00183">_CurrentNode</a>, <a class="el" href="a06108.html#l00177">_Document</a>, <a class="el" href="a06108.html#l00174">_InternalStream</a>, <a class="el" href="a06108.html#l00165">_PushBegin</a>, <a class="el" href="a06107.html#l00053">flushContentString()</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05622.html#l00135">nlwarning</a>. +<p> +<div class="fragment"><pre>00395 { +00396 <a class="code" href="a04199.html#a6">nlassert</a>( ! <a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() ); +00397 +00398 <span class="comment">// Check _InternalStream</span> +00399 <span class="keywordflow">if</span> ( <a class="code" href="a03032.html#NLMISC_1_1COXmlr6">_InternalStream</a> ) +00400 { +00401 <span class="comment">// Can make a xmlPushBegin ?</span> +00402 <span class="keywordflow">if</span> ( ! <a class="code" href="a03032.html#NLMISC_1_1COXmlr7">_PushBegin</a> ) +00403 { +00404 <span class="comment">// Current node exist ?</span> +00405 <span class="keywordflow">if</span> (<a class="code" href="a03032.html#NLMISC_1_1COXmlr3">_CurrentNode</a>==NULL) +00406 { +00407 <span class="comment">// No document ?</span> +00408 <span class="keywordflow">if</span> (<a class="code" href="a03032.html#NLMISC_1_1COXmlr4">_Document</a> == NULL) +00409 { +00410 <span class="comment">// Initialise the document</span> +00411 <a class="code" href="a03032.html#NLMISC_1_1COXmlr4">_Document</a> = xmlNewDoc ((<span class="keyword">const</span> xmlChar *)<a class="code" href="a03032.html#NLMISC_1_1COXmlr8">_Version</a>.c_str()); +00412 +00413 <span class="comment">// Return NULL if error</span> +00414 <a class="code" href="a04199.html#a6">nlassert</a> (_Document); +00415 } +00416 +00417 <span class="comment">// Create the first node</span> +00418 <a class="code" href="a03032.html#NLMISC_1_1COXmlr3">_CurrentNode</a>=xmlNewDocNode (_Document, NULL, (<span class="keyword">const</span> xmlChar*)nodeName, NULL); +00419 xmlDocSetRootElement (_Document, _CurrentNode); +00420 +00421 <span class="comment">// Return NULL if error</span> +00422 <a class="code" href="a04199.html#a6">nlassert</a> (_CurrentNode); +00423 } +00424 <span class="keywordflow">else</span> +00425 { +00426 <span class="comment">// Flush current content string ?</span> +00427 <a class="code" href="a03032.html#NLMISC_1_1COXmld0">flushContentString</a> (); +00428 +00429 <span class="comment">// Create a new node</span> +00430 <a class="code" href="a03032.html#NLMISC_1_1COXmlr3">_CurrentNode</a>=xmlNewChild (_CurrentNode, NULL, (<span class="keyword">const</span> xmlChar*)nodeName, NULL); +00431 +00432 <span class="comment">// Return NULL if error</span> +00433 <a class="code" href="a04199.html#a6">nlassert</a> (_CurrentNode); +00434 } +00435 +00436 <span class="comment">// Push begun</span> +00437 <a class="code" href="a03032.html#NLMISC_1_1COXmlr7">_PushBegin</a> = <span class="keyword">true</span>; +00438 } +00439 <span class="keywordflow">else</span> +00440 { +00441 <a class="code" href="a04199.html#a2">nlwarning</a> ( <span class="stringliteral">"XML: You must close your xmlPushBegin - xmlPushEnd before calling a new xmlPushBegin."</span>); +00442 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00443 } +00444 } +00445 <span class="keywordflow">else</span> +00446 { +00447 <a class="code" href="a04199.html#a2">nlwarning</a> ( <span class="stringliteral">"XML: Output stream has not been setuped."</span>); +00448 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00449 } +00450 +00451 <span class="comment">// Ok</span> +00452 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00453 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2039_4" doxytag="NLMISC::COXml::xmlPushEnd" ></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 NLMISC::IStream::xmlPushEnd </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<a class="el" href="a02270.html#NLMISC_1_1IStreamz2039_4">xmlPushEnd()</a> close the node header.<p> +<dl compact><dt><b>Returns:</b></dt><dd>true if you can close the node header, false if no node header have been opened with <a class="el" href="a02270.html#NLMISC_1_1IStreamz2039_3">xmlPushBegin()</a>.</dd></dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00742">742</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01443">NLMISC::IStream::_XML</a>, and <a class="el" href="a06462.html#l00836">NLMISC::IStream::xmlPushEndInternal()</a>. +<p> +Referenced by <a class="el" href="a06116.html#l00260">NLMISC::CObjectVector< sint8, false >::serial()</a>, <a class="el" href="a06461.html#l00115">NLMISC::IStream::serialIStreamable()</a>, <a class="el" href="a06462.html#l01360">NLMISC::IStream::serialMap()</a>, <a class="el" href="a06462.html#l01271">NLMISC::IStream::serialMultimap()</a>, <a class="el" href="a06462.html#l00390">NLMISC::IStream::serialPtr()</a>, <a class="el" href="a06462.html#l00955">NLMISC::IStream::serialSTLCont()</a>, <a class="el" href="a06462.html#l01086">NLMISC::IStream::serialSTLContPtr()</a>, <a class="el" href="a06462.html#l00992">NLMISC::IStream::serialVector()</a>, <a class="el" href="a06462.html#l01215">NLMISC::IStream::serialVectorPolyPtr()</a>, and <a class="el" href="a06462.html#l01121">NLMISC::IStream::serialVectorPtr()</a>. +<p> +<div class="fragment"><pre>00743 { +00744 <span class="comment">// XML Mode ?</span> +00745 <span class="keywordflow">if</span> (_XML) +00746 { +00747 <span class="keywordflow">return</span> <a class="code" href="a03032.html#NLMISC_1_1COXmld22">xmlPushEndInternal</a> (); +00748 } +00749 +00750 <span class="comment">// Return ok</span> +00751 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00752 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld22" doxytag="NLMISC::COXml::xmlPushEndInternal" ></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 NLMISC::COXml::xmlPushEndInternal </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> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +xmlPushEnd implementation +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2040_7">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00457">457</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06108.html#l00174">_InternalStream</a>, <a class="el" href="a06108.html#l00165">_PushBegin</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05622.html#l00135">nlwarning</a>. +<p> +<div class="fragment"><pre>00458 { +00459 <a class="code" href="a04199.html#a6">nlassert</a>( ! <a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() ); +00460 +00461 <span class="comment">// Check _InternalStream</span> +00462 <span class="keywordflow">if</span> ( <a class="code" href="a03032.html#NLMISC_1_1COXmlr6">_InternalStream</a> ) +00463 { +00464 <span class="comment">// Can make a xmlPushEnd ?</span> +00465 <span class="keywordflow">if</span> ( <a class="code" href="a03032.html#NLMISC_1_1COXmlr7">_PushBegin</a> ) +00466 { +00467 <span class="comment">// Push begun</span> +00468 <a class="code" href="a03032.html#NLMISC_1_1COXmlr7">_PushBegin</a> = <span class="keyword">false</span>; +00469 } +00470 <span class="keywordflow">else</span> +00471 { +00472 <a class="code" href="a04199.html#a2">nlwarning</a> ( <span class="stringliteral">"XML: You must call xmlPushBegin before calling xmlPushEnd."</span>); +00473 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00474 } +00475 } +00476 <span class="keywordflow">else</span> +00477 { +00478 <a class="code" href="a04199.html#a2">nlwarning</a> ( <span class="stringliteral">"XML: Output stream has not been setuped."</span>); +00479 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00480 } +00481 +00482 <span class="comment">// Ok</span> +00483 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00484 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2037_0" doxytag="NLMISC::COXml::xmlSerial" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::xmlSerial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T & </td> + <td class="mdname" nowrap> <em>value0</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T & </td> + <td class="mdname" nowrap> <em>value1</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T & </td> + <td class="mdname" nowrap> <em>value2</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T & </td> + <td class="mdname" nowrap> <em>value3</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>nodeName</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><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="a06462.html#l00683">683</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a06462.html#l00759">NLMISC::IStream::xmlPop()</a>, and <a class="el" href="a06462.html#l00701">NLMISC::IStream::xmlPush()</a>. +<p> +<div class="fragment"><pre>00684 { +00685 <span class="comment">// Open the node</span> +00686 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2038_0">xmlPush</a> (nodeName); +00687 +00688 <span class="comment">// Serial the values</span> +00689 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a> (value0, value1, value2, value3); +00690 +00691 <span class="comment">// Close the node</span> +00692 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_2">xmlPop</a> (); +00693 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2037_1" doxytag="NLMISC::COXml::xmlSerial" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::xmlSerial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T & </td> + <td class="mdname" nowrap> <em>value0</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T & </td> + <td class="mdname" nowrap> <em>value1</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T & </td> + <td class="mdname" nowrap> <em>value2</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>nodeName</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><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="a06462.html#l00671">671</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a06462.html#l00759">NLMISC::IStream::xmlPop()</a>, and <a class="el" href="a06462.html#l00701">NLMISC::IStream::xmlPush()</a>. +<p> +<div class="fragment"><pre>00672 { +00673 <span class="comment">// Open the node</span> +00674 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2038_0">xmlPush</a> (nodeName); +00675 +00676 <span class="comment">// Serial the values</span> +00677 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a> (value0, value1, value2); +00678 +00679 <span class="comment">// Close the node</span> +00680 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_2">xmlPop</a> (); +00681 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2037_2" doxytag="NLMISC::COXml::xmlSerial" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::xmlSerial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T & </td> + <td class="mdname" nowrap> <em>value0</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>T & </td> + <td class="mdname" nowrap> <em>value1</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>nodeName</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><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="a06462.html#l00659">659</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a06462.html#l00759">NLMISC::IStream::xmlPop()</a>, and <a class="el" href="a06462.html#l00701">NLMISC::IStream::xmlPush()</a>. +<p> +<div class="fragment"><pre>00660 { +00661 <span class="comment">// Open the node</span> +00662 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2038_0">xmlPush</a> (nodeName); +00663 +00664 <span class="comment">// Serial the values</span> +00665 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a> (value0, value1); +00666 +00667 <span class="comment">// Close the node</span> +00668 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_2">xmlPop</a> (); +00669 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2037_3" doxytag="NLMISC::COXml::xmlSerial" ></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" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::IStream::xmlSerial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T & </td> + <td class="mdname" nowrap> <em>value0</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>nodeName</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<a class="el" href="a02270.html#NLMISC_1_1IStreamz2037_3">xmlSerial()</a> serial a values into a node. +<p> +Definition at line <a class="el" href="a06462.html#l00647">647</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a06462.html#l00759">NLMISC::IStream::xmlPop()</a>, and <a class="el" href="a06462.html#l00701">NLMISC::IStream::xmlPush()</a>. +<p> +Referenced by <a class="el" href="a06772.html#l00159">NLLIGO::CZoneRegion::serial()</a>, <a class="el" href="a06772.html#l00101">NLLIGO::CZoneRegion::SZoneUnit2::serial()</a>, <a class="el" href="a06772.html#l00057">NLLIGO::CZoneRegion::SZoneUnit::serial()</a>, <a class="el" href="a06758.html#l00432">NL3D::CZone::serial()</a>, <a class="el" href="a06758.html#l00421">NL3D::CPatchInfo::CBindInfo::serial()</a>, <a class="el" href="a06758.html#l00410">NL3D::CZone::CPatchConnect::serial()</a>, <a class="el" href="a06758.html#l00402">NL3D::CBorderVertex::serial()</a>, <a class="el" href="a06540.html#l00082">NL3D::CTileElement::serial()</a>, <a class="el" href="a06539.html#l00080">NL3D::CTileColorOldPatchVersion6::serial()</a>, <a class="el" href="a06539.html#l00056">NL3D::CTileColor::serial()</a>, and <a class="el" href="a06155.html#l01576">NL3D::CPatch::serial()</a>. +<p> +<div class="fragment"><pre>00648 { +00649 <span class="comment">// Open the node</span> +00650 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2038_0">xmlPush</a> (nodeName); +00651 +00652 <span class="comment">// Serial the value</span> +00653 <a class="code" href="a03032.html#NLMISC_1_1COXmld14">serial</a> (value0); +00654 +00655 <span class="comment">// Close the node</span> +00656 <a class="code" href="a02270.html#NLMISC_1_1IStreamz2039_2">xmlPop</a> (); +00657 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IStreamz2039_5" doxytag="NLMISC::COXml::xmlSetAttrib" ></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 NLMISC::IStream::xmlSetAttrib </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<a class="el" href="a02270.html#NLMISC_1_1IStreamz2039_5">xmlSetAttrib()</a> set the name of the next node header attribute serialised.<p> +is the name of the node header attribute serialised. <dl compact><dt><b>Returns:</b></dt><dd>true if the attribute name have been set, false if the node header is not open (the call is not between xmlPushBegin and xmlPushEnd)</dd></dl> + +<p> +Definition at line <a class="el" href="a06462.html#l00777">777</a> of file <a class="el" href="a06462.html">stream.h</a>. +<p> +References <a class="el" href="a06462.html#l01443">NLMISC::IStream::_XML</a>, and <a class="el" href="a06462.html#l00842">NLMISC::IStream::xmlSetAttribInternal()</a>. +<p> +Referenced by <a class="el" href="a06116.html#l00260">NLMISC::CObjectVector< sint8, false >::serial()</a>, <a class="el" href="a06461.html#l00115">NLMISC::IStream::serialIStreamable()</a>, <a class="el" href="a06462.html#l01360">NLMISC::IStream::serialMap()</a>, <a class="el" href="a06462.html#l01271">NLMISC::IStream::serialMultimap()</a>, <a class="el" href="a06462.html#l00390">NLMISC::IStream::serialPtr()</a>, <a class="el" href="a06462.html#l00955">NLMISC::IStream::serialSTLCont()</a>, <a class="el" href="a06462.html#l01086">NLMISC::IStream::serialSTLContPtr()</a>, <a class="el" href="a06462.html#l00992">NLMISC::IStream::serialVector()</a>, <a class="el" href="a06462.html#l01215">NLMISC::IStream::serialVectorPolyPtr()</a>, and <a class="el" href="a06462.html#l01121">NLMISC::IStream::serialVectorPtr()</a>. +<p> +<div class="fragment"><pre>00778 { +00779 <span class="comment">// XML Mode ?</span> +00780 <span class="keywordflow">if</span> (_XML) +00781 { +00782 <span class="keywordflow">return</span> <a class="code" href="a03032.html#NLMISC_1_1COXmld23">xmlSetAttribInternal</a> (name); +00783 } +00784 +00785 <span class="comment">// Return ok</span> +00786 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00787 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmld23" doxytag="NLMISC::COXml::xmlSetAttribInternal" ></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 NLMISC::COXml::xmlSetAttribInternal </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>attribName</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +xmlBreakLine implementation +<p> + +<p> +Reimplemented from <a class="el" href="a02270.html#NLMISC_1_1IStreamz2040_8">NLMISC::IStream</a>. +<p> +Definition at line <a class="el" href="a06107.html#l00522">522</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +References <a class="el" href="a06108.html#l00171">_AttribName</a>, <a class="el" href="a06108.html#l00168">_AttribPresent</a>, <a class="el" href="a06108.html#l00174">_InternalStream</a>, <a class="el" href="a06108.html#l00165">_PushBegin</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05622.html#l00135">nlwarning</a>. +<p> +<div class="fragment"><pre>00523 { +00524 <a class="code" href="a04199.html#a6">nlassert</a>( ! <a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() ); +00525 +00526 <span class="comment">// Check _InternalStream</span> +00527 <span class="keywordflow">if</span> ( <a class="code" href="a03032.html#NLMISC_1_1COXmlr6">_InternalStream</a> ) +00528 { +00529 <span class="comment">// Can make a xmlPushEnd ?</span> +00530 <span class="keywordflow">if</span> ( <a class="code" href="a03032.html#NLMISC_1_1COXmlr7">_PushBegin</a> ) +00531 { +00532 <span class="comment">// Set attribute name</span> +00533 <a class="code" href="a03032.html#NLMISC_1_1COXmlr0">_AttribName</a> = attribName; +00534 +00535 <span class="comment">// Attribute name is present</span> +00536 <a class="code" href="a03032.html#NLMISC_1_1COXmlr1">_AttribPresent</a> = <span class="keyword">true</span>; +00537 } +00538 <span class="keywordflow">else</span> +00539 { +00540 <a class="code" href="a04199.html#a2">nlwarning</a> ( <span class="stringliteral">"XML: You must call xmlSetAttrib between xmlPushBegin and xmlPushEnd calls."</span>); +00541 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00542 } +00543 } +00544 <span class="keywordflow">else</span> +00545 { +00546 <a class="code" href="a04199.html#a2">nlwarning</a> ( <span class="stringliteral">"XML: Output stream has not been setuped."</span>); +00547 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00548 } +00549 +00550 <span class="comment">// Ok</span> +00551 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00552 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NLMISC_1_1COXmln0" doxytag="NLMISC::COXml::xmlGenericErrorFuncWrite" ></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 xmlGenericErrorFuncWrite </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void * </td> + <td class="mdname" nowrap> <em>ctx</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>msg</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>... </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [friend]</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="a06107.html#l00101">101</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +<div class="fragment"><pre>00102 { +00103 <span class="comment">// Get the error string</span> +00104 string str; +00105 <a class="code" href="a05042.html#a0">NLMISC_CONVERT_VARGS</a> (str, msg, NLMISC::MaxCStringSize); +00106 ((<a class="code" href="a03032.html">COXml</a>*)ctx)->_ErrorString += str; +00107 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmln1" doxytag="NLMISC::COXml::xmlOutputCloseCallbackForNeL" ></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"> int xmlOutputCloseCallbackForNeL </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void * </td> + <td class="mdname1" valign="top" nowrap> <em>context</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [friend]</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="a06107.html#l00662">662</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +Referenced by <a class="el" href="a06107.html#l00620">flush()</a>. +<p> +<div class="fragment"><pre>00663 { +00664 <span class="comment">// Get the object</span> +00665 <span class="comment">// COXml *object = (COXml*) context;</span> +00666 +00667 <span class="comment">// Does nothing</span> +00668 <span class="keywordflow">return</span> 1; +00669 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmln2" doxytag="NLMISC::COXml::xmlOutputWriteCallbackForNeL" ></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"> int xmlOutputWriteCallbackForNeL </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void * </td> + <td class="mdname" nowrap> <em>context</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>buffer</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>len</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> + +<p> +Definition at line <a class="el" href="a06107.html#l00648">648</a> of file <a class="el" href="a06107.html">o_xml.cpp</a>. +<p> +Referenced by <a class="el" href="a06107.html#l00620">flush()</a>. +<p> +<div class="fragment"><pre>00649 { +00650 <span class="comment">// Get the object</span> +00651 <a class="code" href="a03032.html">COXml</a> *object = (<a class="code" href="a03032.html">COXml</a>*) context; +00652 +00653 <span class="comment">// Serialise the buffer</span> +00654 object-><a class="code" href="a03032.html#NLMISC_1_1COXmlr6">_InternalStream</a>->serialBuffer ((<a class="code" href="a04558.html#a7">uint8</a>*)buffer, len); +00655 +00656 <span class="comment">// Return the value</span> +00657 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a571">len</a>; +00658 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLMISC_1_1COXmlr0" doxytag="NLMISC::COXml::_AttribName" ></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="a03032.html#NLMISC_1_1COXmlr0">NLMISC::COXml::_AttribName</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="a06108.html#l00171">171</a> of file <a class="el" href="a06108.html">o_xml.h</a>. +<p> +Referenced by <a class="el" href="a06107.html#l00160">serialSeparatedBufferOut()</a>, and <a class="el" href="a06107.html#l00522">xmlSetAttribInternal()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmlr1" doxytag="NLMISC::COXml::_AttribPresent" ></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="a03032.html#NLMISC_1_1COXmlr1">NLMISC::COXml::_AttribPresent</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="a06108.html#l00168">168</a> of file <a class="el" href="a06108.html">o_xml.h</a>. +<p> +Referenced by <a class="el" href="a06107.html#l00160">serialSeparatedBufferOut()</a>, and <a class="el" href="a06107.html#l00522">xmlSetAttribInternal()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmlr2" doxytag="NLMISC::COXml::_ContentString" ></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="a03032.html#NLMISC_1_1COXmlr2">NLMISC::COXml::_ContentString</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="a06108.html#l00186">186</a> of file <a class="el" href="a06108.html">o_xml.h</a>. +<p> +Referenced by <a class="el" href="a06107.html#l00075">COXml()</a>, <a class="el" href="a06107.html#l00053">flushContentString()</a>, <a class="el" href="a06107.html#l00111">init()</a>, <a class="el" href="a06107.html#l00160">serialSeparatedBufferOut()</a>, and <a class="el" href="a06107.html#l00556">xmlBreakLineInternal()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmlr3" doxytag="NLMISC::COXml::_CurrentNode" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> xmlNodePtr <a class="el" href="a03032.html#NLMISC_1_1COXmlr3">NLMISC::COXml::_CurrentNode</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="a06108.html#l00183">183</a> of file <a class="el" href="a06108.html">o_xml.h</a>. +<p> +Referenced by <a class="el" href="a06107.html#l00075">COXml()</a>, <a class="el" href="a06107.html#l00053">flushContentString()</a>, <a class="el" href="a06107.html#l00111">init()</a>, <a class="el" href="a06107.html#l00160">serialSeparatedBufferOut()</a>, <a class="el" href="a06107.html#l00587">xmlCommentInternal()</a>, <a class="el" href="a06107.html#l00488">xmlPopInternal()</a>, and <a class="el" href="a06107.html#l00394">xmlPushBeginInternal()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmlr4" doxytag="NLMISC::COXml::_Document" ></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"> xmlDocPtr <a class="el" href="a03032.html#NLMISC_1_1COXmlr4">NLMISC::COXml::_Document</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="a06108.html#l00177">177</a> of file <a class="el" href="a06108.html">o_xml.h</a>. +<p> +Referenced by <a class="el" href="a06107.html#l00075">COXml()</a>, <a class="el" href="a06107.html#l00620">flush()</a>, <a class="el" href="a06107.html#l00673">getDocument()</a>, <a class="el" href="a06107.html#l00111">init()</a>, and <a class="el" href="a06107.html#l00394">xmlPushBeginInternal()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmlr5" doxytag="NLMISC::COXml::_ErrorString" ></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="a03032.html#NLMISC_1_1COXmlr5">NLMISC::COXml::_ErrorString</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="a06108.html#l00189">189</a> of file <a class="el" href="a06108.html">o_xml.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmlr6" doxytag="NLMISC::COXml::_InternalStream" ></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="a02270.html">IStream</a>* <a class="el" href="a03032.html#NLMISC_1_1COXmlr6">NLMISC::COXml::_InternalStream</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="a06108.html#l00174">174</a> of file <a class="el" href="a06108.html">o_xml.h</a>. +<p> +Referenced by <a class="el" href="a06107.html#l00075">COXml()</a>, <a class="el" href="a06107.html#l00111">init()</a>, <a class="el" href="a06107.html#l00160">serialSeparatedBufferOut()</a>, <a class="el" href="a06107.html#l00556">xmlBreakLineInternal()</a>, <a class="el" href="a06107.html#l00587">xmlCommentInternal()</a>, <a class="el" href="a06107.html#l00648">NLMISC::xmlOutputWriteCallbackForNeL()</a>, <a class="el" href="a06107.html#l00488">xmlPopInternal()</a>, <a class="el" href="a06107.html#l00394">xmlPushBeginInternal()</a>, <a class="el" href="a06107.html#l00457">xmlPushEndInternal()</a>, and <a class="el" href="a06107.html#l00522">xmlSetAttribInternal()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmlr7" doxytag="NLMISC::COXml::_PushBegin" ></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="a03032.html#NLMISC_1_1COXmlr7">NLMISC::COXml::_PushBegin</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="a06108.html#l00165">165</a> of file <a class="el" href="a06108.html">o_xml.h</a>. +<p> +Referenced by <a class="el" href="a06107.html#l00075">COXml()</a>, <a class="el" href="a06107.html#l00111">init()</a>, <a class="el" href="a06107.html#l00315">serial()</a>, <a class="el" href="a06107.html#l00160">serialSeparatedBufferOut()</a>, <a class="el" href="a06107.html#l00556">xmlBreakLineInternal()</a>, <a class="el" href="a06107.html#l00488">xmlPopInternal()</a>, <a class="el" href="a06107.html#l00394">xmlPushBeginInternal()</a>, <a class="el" href="a06107.html#l00457">xmlPushEndInternal()</a>, and <a class="el" href="a06107.html#l00522">xmlSetAttribInternal()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1COXmlr8" doxytag="NLMISC::COXml::_Version" ></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="a03032.html#NLMISC_1_1COXmlr8">NLMISC::COXml::_Version</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="a06108.html#l00180">180</a> of file <a class="el" href="a06108.html">o_xml.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06108.html">o_xml.h</a><li><a class="el" href="a06107.html">o_xml.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:26:53 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> |