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/classNLMISC_1_1CBitSet.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNLMISC_1_1CBitSet.html')
-rw-r--r-- | docs/doxygen/nel/classNLMISC_1_1CBitSet.html | 1302 |
1 files changed, 1302 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLMISC_1_1CBitSet.html b/docs/doxygen/nel/classNLMISC_1_1CBitSet.html new file mode 100644 index 00000000..9cb26fc3 --- /dev/null +++ b/docs/doxygen/nel/classNLMISC_1_1CBitSet.html @@ -0,0 +1,1302 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.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">Compound List</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">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NLMISC::CBitSet Class Reference</h1>A BitSet, to test / set flags quickly. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="bit__set_8h-source.html">bit_set.h</a>></code> +<p> +<a href="classNLMISC_1_1CBitSet-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#a0">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f)</td></tr> +<tr><td colspan="2"><div class="groupHeader">Object.</div></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z271_0">CBitSet</a> ()</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z271_1">CBitSet</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> numBits)</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z271_2">CBitSet</a> (const CBitSet &bs)</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z271_3">~CBitSet</a> ()</td></tr> +<tr><td nowrap align=right valign=top>CBitSet & </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z271_4">operator=</a> (const CBitSet &bs)</td></tr> +<tr><td colspan="2"><div class="groupHeader">Basics.</div></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z272_0">resize</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> numBits)</td></tr> +<tr><td> </td><td><font size=-1><em>Resize the bit array. All Bits are reseted.</em> <a href="#z272_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z272_1">resizeNoReset</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> numBits, bool <a class="el" href="driver__opengl__extension__def_8h.html#a415">value</a>=false)</td></tr> +<tr><td> </td><td><font size=-1><em>Resize the bit array. Bits are not reseted. New bits are set with value.</em> <a href="#z272_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z272_2">clear</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Clear the bitarray so <a class="el" href="classNLMISC_1_1CBitSet.html#z272_3">size</a>() return 0.</em> <a href="#z272_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z272_3">size</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return size of the bit array.</em> <a href="#z272_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z272_4">set</a> (<a class="el" href="memory__common_8h.html#a14">sint</a> bitNumber, bool <a class="el" href="driver__opengl__extension__def_8h.html#a415">value</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Set a bit to 0 or 1.</em> <a href="#z272_4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z272_5">get</a> (<a class="el" href="memory__common_8h.html#a14">sint</a> bitNumber) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the value of a bit.</em> <a href="#z272_5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z272_6">operator[]</a> (<a class="el" href="memory__common_8h.html#a14">sint</a> bitNumber) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the value of a bit.</em> <a href="#z272_6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z272_7">set</a> (<a class="el" href="memory__common_8h.html#a14">sint</a> bitNumber)</td></tr> +<tr><td> </td><td><font size=-1><em>Set a bit to 1.</em> <a href="#z272_7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z272_8">clear</a> (<a class="el" href="memory__common_8h.html#a14">sint</a> bitNumber)</td></tr> +<tr><td> </td><td><font size=-1><em>Set a bit to 0.</em> <a href="#z272_8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z272_9">setAll</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Set all bits to 1.</em> <a href="#z272_9">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z272_10">clearAll</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Set all bits to 0.</em> <a href="#z272_10">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Bit operations.</div></td></tr> +<tr><td nowrap align=right valign=top>CBitSet </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z273_0">operator~</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return The bitarray NOTed.</em> <a href="#z273_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CBitSet </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z273_1">operator &</a> (const CBitSet &bs) const</td></tr> +<tr><td> </td><td><font size=-1><em>Return this ANDed with bs.</em> <a href="#z273_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CBitSet </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z273_2">operator|</a> (const CBitSet &bs) const</td></tr> +<tr><td> </td><td><font size=-1><em>Return this ORed with bs.</em> <a href="#z273_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CBitSet </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z273_3">operator^</a> (const CBitSet &bs) const</td></tr> +<tr><td> </td><td><font size=-1><em>Return this XORed with bs.</em> <a href="#z273_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z273_4">flip</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>NOT the BitArray.</em> <a href="#z273_4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CBitSet & </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z273_5">operator &=</a> (const CBitSet &bs)</td></tr> +<tr><td> </td><td><font size=-1><em>AND the bitArray with bs.</em> <a href="#z273_5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CBitSet & </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z273_6">operator|=</a> (const CBitSet &bs)</td></tr> +<tr><td> </td><td><font size=-1><em>OR the bitArray with bs.</em> <a href="#z273_6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CBitSet & </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z273_7">operator^=</a> (const CBitSet &bs)</td></tr> +<tr><td> </td><td><font size=-1><em>XOR the bitArray with bs.</em> <a href="#z273_7">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Bit comparisons.</div></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z274_0">compareRestrict</a> (const CBitSet &bs) const</td></tr> +<tr><td> </td><td><font size=-1><em>Compare two BitSet not necessarely of same size.</em> <a href="#z274_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z274_1">operator==</a> (const CBitSet &bs) const</td></tr> +<tr><td> </td><td><font size=-1><em>Compare two BitSet. If not of same size, return false.</em> <a href="#z274_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z274_2">operator!=</a> (const CBitSet &bs) const</td></tr> +<tr><td> </td><td><font size=-1><em>operator!=.</em> <a href="#z274_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z274_3">allSet</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Return true if all bits are set. false if <a class="el" href="classNLMISC_1_1CBitSet.html#z272_3">size</a>()==0.</em> <a href="#z274_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#z274_4">allCleared</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Return true if all bits are cleared. false if <a class="el" href="classNLMISC_1_1CBitSet.html#z272_3">size</a>()==0.</em> <a href="#z274_4">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="memory__common_8h.html#a11">uint32</a> > </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#o0">Array</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#o1">NumBits</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CBitSet.html#o2">MaskLast</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A BitSet, to test / set flags quickly. +<p> +<dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2000 </dl> +<p> + +<p> +Definition at line <a class="el" href="bit__set_8h-source.html#l00049">49</a> of file <a class="el" href="bit__set_8h-source.html">bit_set.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="z271_0" doxytag="NLMISC::CBitSet::CBitSet"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLMISC::CBitSet::CBitSet </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00044">44</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00171">MaskLast</a>, and <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. +<p> +Referenced by <a class="el" href="bit__set_8cpp-source.html#l00142">operator &</a>, <a class="el" href="bit__set_8cpp-source.html#l00158">operator^</a>, <a class="el" href="bit__set_8cpp-source.html#l00150">operator|</a>, and <a class="el" href="bit__set_8cpp-source.html#l00134">operator~</a>. </td> + </tr> +</table> +<a name="z271_1" doxytag="NLMISC::CBitSet::CBitSet"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLMISC::CBitSet::CBitSet </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>numBits</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00049">49</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00171">MaskLast</a>, <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>, and <a class="el" href="bit__set_8cpp-source.html#l00081">resize</a>. </td> + </tr> +</table> +<a name="z271_2" doxytag="NLMISC::CBitSet::CBitSet"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLMISC::CBitSet::CBitSet </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CBitSet & </td> + <td class="mdname1" valign="top" nowrap> <em>bs</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00055">55</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, <a class="el" href="bit__set_8h-source.html#l00171">MaskLast</a>, and <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. </td> + </tr> +</table> +<a name="z271_3" doxytag="NLMISC::CBitSet::~CBitSet"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLMISC::CBitSet::~CBitSet </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00061">61</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="z274_4" doxytag="NLMISC::CBitSet::allCleared"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLMISC::CBitSet::allCleared </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> +Return true if all bits are cleared. false if <a class="el" href="classNLMISC_1_1CBitSet.html#z272_3">size</a>()==0. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00282">282</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, and <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. </td> + </tr> +</table> +<a name="z274_3" doxytag="NLMISC::CBitSet::allSet"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLMISC::CBitSet::allSet </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> +Return true if all bits are set. false if <a class="el" href="classNLMISC_1_1CBitSet.html#z272_3">size</a>()==0. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00269">269</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, <a class="el" href="bit__set_8h-source.html#l00171">MaskLast</a>, and <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. </td> + </tr> +</table> +<a name="z272_8" doxytag="NLMISC::CBitSet::clear"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CBitSet::clear </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a14">sint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>bitNumber</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set a bit to 0. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8h-source.html#l00100">100</a> of file <a class="el" href="bit__set_8h-source.html">bit_set.h</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00072">set</a>. </td> + </tr> +</table> +<a name="z272_2" doxytag="NLMISC::CBitSet::clear"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CBitSet::clear </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> +Clear the bitarray so <a class="el" href="classNLMISC_1_1CBitSet.html#z272_3">size</a>() return 0. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00075">75</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, <a class="el" href="bit__set_8h-source.html#l00171">MaskLast</a>, and <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. +<p> +Referenced by <a class="el" href="animatable_8h-source.html#l00231">NL3D::IAnimatable::clearFlag</a>, <a class="el" href="bit__set_8cpp-source.html#l00081">resize</a>, and <a class="el" href="bit__set_8cpp-source.html#l00098">resizeNoReset</a>. </td> + </tr> +</table> +<a name="z272_10" doxytag="NLMISC::CBitSet::clearAll"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CBitSet::clearAll </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> +Set all bits to 0. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00127">127</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>. +<p> +Referenced by <a class="el" href="mot_8h-source.html#l00373">NL3D::IModel::cleanTouch</a>, and <a class="el" href="bit__set_8cpp-source.html#l00081">resize</a>. </td> + </tr> +</table> +<a name="z274_0" doxytag="NLMISC::CBitSet::compareRestrict"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLMISC::CBitSet::compareRestrict </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CBitSet & </td> + <td class="mdname1" valign="top" nowrap> <em>bs</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compare two BitSet not necessarely of same size. +<p> +The comparison is done on N bits, where N=min(this-><a class="el" href="classNLMISC_1_1CBitSet.html#z272_3">size</a>(), bs.size()) <dl compact><dt><b> +Returns: </b><dd> +true if the N common bits of this and bs are the same. false otherwise. </dl> +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00242">242</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, <a class="el" href="bit__set_8h-source.html#l00038">NL_BITLEN</a>, and <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. </td> + </tr> +</table> +<a name="z273_4" doxytag="NLMISC::CBitSet::flip"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CBitSet::flip </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> +NOT the BitArray. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00169">169</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, <a class="el" href="bit__set_8h-source.html#l00171">MaskLast</a>, and <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. </td> + </tr> +</table> +<a name="z272_5" doxytag="NLMISC::CBitSet::get"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLMISC::CBitSet::get </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a14">sint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>bitNumber</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the value of a bit. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8h-source.html#l00084">84</a> of file <a class="el" href="bit__set_8h-source.html">bit_set.h</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, <a class="el" href="bit__set_8h-source.html#l00038">NL_BITLEN</a>, <a class="el" href="bit__set_8h-source.html#l00039">NL_BITLEN_SHIFT</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. +<p> +Referenced by <a class="el" href="bit__set_8h-source.html#l00093">operator[]</a>, and <a class="el" href="bit__set_8cpp-source.html#l00296">serial</a>. </td> + </tr> +</table> +<a name="z273_1" doxytag="NLMISC::CBitSet::operator &"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CBitSet NLMISC::CBitSet::operator & </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CBitSet & </td> + <td class="mdname1" valign="top" nowrap> <em>bs</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return this ANDed with bs. +<p> +The result BitSet is of size of <code>*this</code>. Any missing bits into bs will be considered as 0. +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00142">142</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8cpp-source.html#l00044">CBitSet</a>. </td> + </tr> +</table> +<a name="z273_5" doxytag="NLMISC::CBitSet::operator &="></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CBitSet & NLMISC::CBitSet::operator &= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CBitSet & </td> + <td class="mdname1" valign="top" nowrap> <em>bs</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +AND the bitArray with bs. +<p> +The bitset size is not changed. Any missing bits into bs will be considered as 0. +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00179">179</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, <a class="el" href="bit__set_8h-source.html#l00171">MaskLast</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, and <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. </td> + </tr> +</table> +<a name="z274_2" doxytag="NLMISC::CBitSet::operator!="></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLMISC::CBitSet::operator!= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CBitSet & </td> + <td class="mdname1" valign="top" nowrap> <em>bs</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +operator!=. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00238">238</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8cpp-source.html#l00226">operator==</a>. </td> + </tr> +</table> +<a name="z271_4" doxytag="NLMISC::CBitSet::operator="></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CBitSet & NLMISC::CBitSet::operator= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CBitSet & </td> + <td class="mdname1" valign="top" nowrap> <em>bs</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00064">64</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, <a class="el" href="bit__set_8h-source.html#l00171">MaskLast</a>, and <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. </td> + </tr> +</table> +<a name="z274_1" doxytag="NLMISC::CBitSet::operator=="></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLMISC::CBitSet::operator== </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CBitSet & </td> + <td class="mdname1" valign="top" nowrap> <em>bs</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compare two BitSet. If not of same size, return false. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00226">226</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, and <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. +<p> +Referenced by <a class="el" href="bit__set_8cpp-source.html#l00238">operator!=</a>. </td> + </tr> +</table> +<a name="z272_6" doxytag="NLMISC::CBitSet::operator[]"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLMISC::CBitSet::operator[] </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a14">sint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>bitNumber</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the value of a bit. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8h-source.html#l00093">93</a> of file <a class="el" href="bit__set_8h-source.html">bit_set.h</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00084">get</a>. </td> + </tr> +</table> +<a name="z273_3" doxytag="NLMISC::CBitSet::operator^"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CBitSet NLMISC::CBitSet::operator^ </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CBitSet & </td> + <td class="mdname1" valign="top" nowrap> <em>bs</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return this XORed with bs. +<p> +The result BitSet is of size of <code>*this</code>. Any missing bits into bs will be considered as 0. +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00158">158</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8cpp-source.html#l00044">CBitSet</a>. </td> + </tr> +</table> +<a name="z273_7" doxytag="NLMISC::CBitSet::operator^="></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CBitSet & NLMISC::CBitSet::operator^= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CBitSet & </td> + <td class="mdname1" valign="top" nowrap> <em>bs</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +XOR the bitArray with bs. +<p> +The bitset size is not changed. Any missing bits into bs will be considered as 0. +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00209">209</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, <a class="el" href="bit__set_8h-source.html#l00171">MaskLast</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, and <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. </td> + </tr> +</table> +<a name="z273_2" doxytag="NLMISC::CBitSet::operator|"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CBitSet NLMISC::CBitSet::operator| </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CBitSet & </td> + <td class="mdname1" valign="top" nowrap> <em>bs</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return this ORed with bs. +<p> +The result BitSet is of size of <code>*this</code>. Any missing bits into bs will be considered as 0. +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00150">150</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8cpp-source.html#l00044">CBitSet</a>. </td> + </tr> +</table> +<a name="z273_6" doxytag="NLMISC::CBitSet::operator|="></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CBitSet & NLMISC::CBitSet::operator|= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CBitSet & </td> + <td class="mdname1" valign="top" nowrap> <em>bs</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +OR the bitArray with bs. +<p> +The bitset size is not changed. Any missing bits into bs will be considered as 0. +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00195">195</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, <a class="el" href="bit__set_8h-source.html#l00171">MaskLast</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, and <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. </td> + </tr> +</table> +<a name="z273_0" doxytag="NLMISC::CBitSet::operator~"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CBitSet NLMISC::CBitSet::operator~ </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 bitarray NOTed. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00134">134</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8cpp-source.html#l00044">CBitSet</a>. </td> + </tr> +</table> +<a name="z272_0" doxytag="NLMISC::CBitSet::resize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CBitSet::resize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>numBits</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Resize the bit array. All Bits are reseted. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00081">81</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, <a class="el" href="bit__set_8cpp-source.html#l00075">clear</a>, <a class="el" href="bit__set_8cpp-source.html#l00127">clearAll</a>, <a class="el" href="bit__set_8h-source.html#l00171">MaskLast</a>, <a class="el" href="bit__set_8h-source.html#l00038">NL_BITLEN</a>, and <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. +<p> +Referenced by <a class="el" href="bit__set_8cpp-source.html#l00049">CBitSet</a>, <a class="el" href="transform_8cpp-source.html#l00056">NL3D::CTransform::CTransform</a>, <a class="el" href="mot_8cpp-source.html#l00464">NL3D::IModel::IModel</a>, and <a class="el" href="bit__set_8cpp-source.html#l00296">serial</a>. </td> + </tr> +</table> +<a name="z272_1" doxytag="NLMISC::CBitSet::resizeNoReset"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CBitSet::resizeNoReset </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>numBits</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>value</em> = false</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> +Resize the bit array. Bits are not reseted. New bits are set with value. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00098">98</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, <a class="el" href="bit__set_8cpp-source.html#l00075">clear</a>, <a class="el" href="bit__set_8h-source.html#l00171">MaskLast</a>, <a class="el" href="bit__set_8h-source.html#l00038">NL_BITLEN</a>, <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>, <a class="el" href="bit__set_8h-source.html#l00072">set</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00828">value</a>. +<p> +Referenced by <a class="el" href="animatable_8h-source.html#l00193">NL3D::IAnimatable::resize</a>. </td> + </tr> +</table> +<a name="a0" doxytag="NLMISC::CBitSet::serial"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CBitSet::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00296">296</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00084">get</a>, <a class="el" href="bit__set_8cpp-source.html#l00081">resize</a>, <a class="el" href="bit__set_8h-source.html#l00072">set</a>, and <a class="el" href="bit__set_8cpp-source.html#l00117">size</a>. </td> + </tr> +</table> +<a name="z272_7" doxytag="NLMISC::CBitSet::set"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CBitSet::set </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a14">sint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>bitNumber</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set a bit to 1. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8h-source.html#l00098">98</a> of file <a class="el" href="bit__set_8h-source.html">bit_set.h</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00072">set</a>. </td> + </tr> +</table> +<a name="z272_4" doxytag="NLMISC::CBitSet::set"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CBitSet::set </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a14">sint</a> </td> + <td class="mdname" nowrap> <em>bitNumber</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set a bit to 0 or 1. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8h-source.html#l00072">72</a> of file <a class="el" href="bit__set_8h-source.html">bit_set.h</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, <a class="el" href="bit__set_8h-source.html#l00038">NL_BITLEN</a>, <a class="el" href="bit__set_8h-source.html#l00039">NL_BITLEN_SHIFT</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00828">value</a>. +<p> +Referenced by <a class="el" href="bit__set_8h-source.html#l00100">clear</a>, <a class="el" href="mot_8h-source.html#l00309">NL3D::IModel::foul</a>, <a class="el" href="bit__set_8cpp-source.html#l00098">resizeNoReset</a>, <a class="el" href="bit__set_8cpp-source.html#l00296">serial</a>, <a class="el" href="bit__set_8h-source.html#l00098">set</a>, and <a class="el" href="animatable_8h-source.html#l00166">NL3D::IAnimatable::touch</a>. </td> + </tr> +</table> +<a name="z272_9" doxytag="NLMISC::CBitSet::setAll"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CBitSet::setAll </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> +Set all bits to 1. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00121">121</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00169">Array</a>, and <a class="el" href="bit__set_8h-source.html#l00171">MaskLast</a>. </td> + </tr> +</table> +<a name="z272_3" doxytag="NLMISC::CBitSet::size"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NLMISC::CBitSet::size </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 size of the bit array. +<p> + +<p> +Definition at line <a class="el" href="bit__set_8cpp-source.html#l00117">117</a> of file <a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a>. +<p> +References <a class="el" href="bit__set_8h-source.html#l00170">NumBits</a>. +<p> +Referenced by <a class="el" href="bit__set_8cpp-source.html#l00296">serial</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o0" doxytag="NLMISC::CBitSet::Array"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="memory__common_8h.html#a11">uint32</a>> NLMISC::CBitSet::Array<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="bit__set_8h-source.html#l00169">169</a> of file <a class="el" href="bit__set_8h-source.html">bit_set.h</a>. +<p> +Referenced by <a class="el" href="bit__set_8cpp-source.html#l00282">allCleared</a>, <a class="el" href="bit__set_8cpp-source.html#l00269">allSet</a>, <a class="el" href="bit__set_8cpp-source.html#l00055">CBitSet</a>, <a class="el" href="bit__set_8cpp-source.html#l00075">clear</a>, <a class="el" href="bit__set_8cpp-source.html#l00127">clearAll</a>, <a class="el" href="bit__set_8cpp-source.html#l00242">compareRestrict</a>, <a class="el" href="bit__set_8cpp-source.html#l00169">flip</a>, <a class="el" href="bit__set_8h-source.html#l00084">get</a>, <a class="el" href="bit__set_8cpp-source.html#l00179">operator &=</a>, <a class="el" href="bit__set_8cpp-source.html#l00064">operator=</a>, <a class="el" href="bit__set_8cpp-source.html#l00226">operator==</a>, <a class="el" href="bit__set_8cpp-source.html#l00209">operator^=</a>, <a class="el" href="bit__set_8cpp-source.html#l00195">operator|=</a>, <a class="el" href="bit__set_8cpp-source.html#l00081">resize</a>, <a class="el" href="bit__set_8cpp-source.html#l00098">resizeNoReset</a>, <a class="el" href="bit__set_8h-source.html#l00072">set</a>, and <a class="el" href="bit__set_8cpp-source.html#l00121">setAll</a>. </td> + </tr> +</table> +<a name="o2" doxytag="NLMISC::CBitSet::MaskLast"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLMISC::CBitSet::MaskLast<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="bit__set_8h-source.html#l00171">171</a> of file <a class="el" href="bit__set_8h-source.html">bit_set.h</a>. +<p> +Referenced by <a class="el" href="bit__set_8cpp-source.html#l00269">allSet</a>, <a class="el" href="bit__set_8cpp-source.html#l00044">CBitSet</a>, <a class="el" href="bit__set_8cpp-source.html#l00075">clear</a>, <a class="el" href="bit__set_8cpp-source.html#l00169">flip</a>, <a class="el" href="bit__set_8cpp-source.html#l00179">operator &=</a>, <a class="el" href="bit__set_8cpp-source.html#l00064">operator=</a>, <a class="el" href="bit__set_8cpp-source.html#l00209">operator^=</a>, <a class="el" href="bit__set_8cpp-source.html#l00195">operator|=</a>, <a class="el" href="bit__set_8cpp-source.html#l00081">resize</a>, <a class="el" href="bit__set_8cpp-source.html#l00098">resizeNoReset</a>, and <a class="el" href="bit__set_8cpp-source.html#l00121">setAll</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NLMISC::CBitSet::NumBits"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a14">sint</a> NLMISC::CBitSet::NumBits<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="bit__set_8h-source.html#l00170">170</a> of file <a class="el" href="bit__set_8h-source.html">bit_set.h</a>. +<p> +Referenced by <a class="el" href="bit__set_8cpp-source.html#l00282">allCleared</a>, <a class="el" href="bit__set_8cpp-source.html#l00269">allSet</a>, <a class="el" href="bit__set_8cpp-source.html#l00044">CBitSet</a>, <a class="el" href="bit__set_8cpp-source.html#l00075">clear</a>, <a class="el" href="bit__set_8cpp-source.html#l00242">compareRestrict</a>, <a class="el" href="bit__set_8cpp-source.html#l00169">flip</a>, <a class="el" href="bit__set_8h-source.html#l00084">get</a>, <a class="el" href="bit__set_8cpp-source.html#l00179">operator &=</a>, <a class="el" href="bit__set_8cpp-source.html#l00064">operator=</a>, <a class="el" href="bit__set_8cpp-source.html#l00226">operator==</a>, <a class="el" href="bit__set_8cpp-source.html#l00209">operator^=</a>, <a class="el" href="bit__set_8cpp-source.html#l00195">operator|=</a>, <a class="el" href="bit__set_8cpp-source.html#l00081">resize</a>, <a class="el" href="bit__set_8cpp-source.html#l00098">resizeNoReset</a>, <a class="el" href="bit__set_8h-source.html#l00072">set</a>, and <a class="el" href="bit__set_8cpp-source.html#l00117">size</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="bit__set_8h-source.html">bit_set.h</a><li><a class="el" href="bit__set_8cpp-source.html">bit_set.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |