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/a03437.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03437.html')
-rw-r--r-- | docs/doxygen/nel/a03437.html | 1909 |
1 files changed, 1909 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03437.html b/docs/doxygen/nel/a03437.html new file mode 100644 index 00000000..79b0a79e --- /dev/null +++ b/docs/doxygen/nel/a03437.html @@ -0,0 +1,1909 @@ +<!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: TemplateNLMISC::CStaticMap< Key, Typ, Comp > 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::CStaticMap< Key, Typ, Comp > Class Template Reference</h1><code>#include <<a class="el" href="a06434.html">static_map.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<h3>template<class Key, class Typ, class Comp = std::less<Key>><br> + class NLMISC::CStaticMap< Key, Typ, Comp ></h3> + +Implemented with a std::vector Use it not like a map : begin by adding all your values with <a class="el" href="a03437.html#NLMISC_1_1CStaticMapa0">add()</a>/del()/fromMap() and then call <a class="el" href="a03437.html#NLMISC_1_1CStaticMapa16">endAdd()</a> that performs a slow sort on the vector and then call <a class="el" href="a03437.html#NLMISC_1_1CStaticMapa18">find()</a> to find the element you want. If you have not called <a class="el" href="a03437.html#NLMISC_1_1CStaticMapa16">endAdd()</a> its done in <a class="el" href="a03437.html#NLMISC_1_1CStaticMapa18">find()</a>, but take care that <a class="el" href="a03437.html#NLMISC_1_1CStaticMapa16">endAdd()</a> is slow. <dl compact><dt><b>Author:</b></dt><dd>Matthieu 'Trap' Besson <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>October 2003 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06434.html#l00057">57</a> of file <a class="el" href="a06434.html">static_map.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a> <br> +>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a> <br> +>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw1">const_reference</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw1">const_reference</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a> <br> +>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw2">const_reverse_iterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw2">const_reverse_iterator</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef Typ </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw3">data_type</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a> <br> +>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw4">difference_type</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw4">difference_type</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a> <br> +>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef Comp </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw6">key_compare</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef Key </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw7">key_type</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef Typ </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw8">mapped_type</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a> <br> +>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw9">reference</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw9">reference</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a> <br> +>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw10">reverse_iterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw10">reverse_iterator</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector< <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a> <br> +>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw11">size_type</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw11">size_type</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::pair< Key, Typ > </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a></td></tr> + +<tr><td colspan=2><br><h2>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="a03437.html#NLMISC_1_1CStaticMapa0">add</a> (const <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a> &__v)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa1">begin</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa2">begin</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa3">clear</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw11">size_type</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa4">count</a> (const <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw7">key_type</a> &__x) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa5">CStaticMap</a> (const <a class="el" href="a03437.html">CStaticMap</a>< Key, Typ, Comp > &__x)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa6">CStaticMap</a> (<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> __first, <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> __last, const Comp &__comp)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa7">CStaticMap</a> (<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> __first, <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> __last)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa8">CStaticMap</a> (const Comp &__comp)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa9">CStaticMap</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa10">del</a> (<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> __first, <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> __last)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw11">size_type</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa11">del</a> (const <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw7">key_type</a> &__x)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa12">del</a> (<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> __position)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa13">empty</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa14">end</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa15">end</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa16">endAdd</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa17">find</a> (const <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw7">key_type</a> &__x) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa18">find</a> (const <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw7">key_type</a> &__x)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa19">fromMap</a> (const std::map< Key, Typ, Comp > &m)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw6">key_compare</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa20">key_comp</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw11">size_type</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa21">max_size</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html">CStaticMap</a>< Key, Typ, Comp > & </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa22">operator=</a> (const <a class="el" href="a03437.html">CStaticMap</a>< Key, Typ, Comp > &__x)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>Typ & </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa23">operator[]</a> (const <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw7">key_type</a> &__k)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw2">const_reverse_iterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa24">rbegin</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw10">reverse_iterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa25">rbegin</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw2">const_reverse_iterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa26">rend</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw10">reverse_iterator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa27">rend</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa28">reserve</a> (<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw11">size_type</a> n)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw11">size_type</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa29">size</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa30">swap</a> (<a class="el" href="a03437.html">CStaticMap</a>< Key, Typ, Comp > &__x)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03438.html">value_compare</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapa31">value_comp</a> () const </td></tr> + +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>Comp </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapr0">_CompFunc</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03437.html#NLMISC_1_1CStaticMapr2">_DataSorted</a></td></tr> + +</table> +<hr><h2>Member Typedef Documentation</h2> +<a class="anchor" name="NLMISC_1_1CStaticMapw0" doxytag="NLMISC::CStaticMap::const_iterator" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a>>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06434.html#l00093">93</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapw1" doxytag="NLMISC::CStaticMap::const_reference" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a>>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw1">const_reference</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw1">const_reference</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06434.html#l00091">91</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapw2" doxytag="NLMISC::CStaticMap::const_reverse_iterator" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a>>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw2">const_reverse_iterator</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw2">const_reverse_iterator</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06434.html#l00095">95</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapw3" doxytag="NLMISC::CStaticMap::data_type" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef Typ <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw3">data_type</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06434.html#l00061">61</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapw4" doxytag="NLMISC::CStaticMap::difference_type" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a>>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw4">difference_type</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw4">difference_type</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06434.html#l00097">97</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapw5" doxytag="NLMISC::CStaticMap::iterator" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a>>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06434.html#l00092">92</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapw6" doxytag="NLMISC::CStaticMap::key_compare" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef Comp <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw6">key_compare</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06434.html#l00064">64</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapw7" doxytag="NLMISC::CStaticMap::key_type" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef Key <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw7">key_type</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06434.html#l00060">60</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapw8" doxytag="NLMISC::CStaticMap::mapped_type" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef Typ <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw8">mapped_type</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06434.html#l00062">62</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapw9" doxytag="NLMISC::CStaticMap::reference" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a>>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw9">reference</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw9">reference</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06434.html#l00090">90</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapw10" doxytag="NLMISC::CStaticMap::reverse_iterator" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a>>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw10">reverse_iterator</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw10">reverse_iterator</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06434.html#l00094">94</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapw11" doxytag="NLMISC::CStaticMap::size_type" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef std::vector<<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a>>::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw11">size_type</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw11">size_type</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06434.html#l00096">96</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapw12" doxytag="NLMISC::CStaticMap::value_type" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> typedef std::pair<Key, Typ> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06434.html#l00063">63</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLMISC_1_1CStaticMapa9" doxytag="NLMISC::CStaticMap::CStaticMap" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html">CStaticMap</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> [inline]</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="a06434.html#l00101">101</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00101 : <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr2">_DataSorted</a>(<span class="keyword">true</span>) +00102 { +00103 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa8" doxytag="NLMISC::CStaticMap::CStaticMap" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html">CStaticMap</a> </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const Comp & </td> + <td class="mdname1" valign="top" nowrap> <em>__comp</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, explicit]</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="a06434.html#l00105">105</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00105 : <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr2">_DataSorted</a>(<span class="keyword">true</span>) +00106 { +00107 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa7" doxytag="NLMISC::CStaticMap::CStaticMap" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html">CStaticMap</a> </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> </td> + <td class="mdname" nowrap> <em>__first</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> </td> + <td class="mdname" nowrap> <em>__last</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00109">109</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00110 { +00111 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr2">_DataSorted</a> = <span class="keyword">false</span>; +00112 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.insert(__first, __last); +00113 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa16">endAdd</a>(); +00114 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa6" doxytag="NLMISC::CStaticMap::CStaticMap" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html">CStaticMap</a> </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> </td> + <td class="mdname" nowrap> <em>__first</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> </td> + <td class="mdname" nowrap> <em>__last</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const Comp & </td> + <td class="mdname" nowrap> <em>__comp</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00116">116</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00117 : <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr0">_CompFunc</a>(__comp) +00118 { +00119 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr2">_DataSorted</a> = <span class="keyword">false</span>; +00120 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.insert(__first, __last); +00121 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa16">endAdd</a>(); +00122 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa5" doxytag="NLMISC::CStaticMap::CStaticMap" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html">CStaticMap</a> </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03437.html">CStaticMap</a>< Key, Typ, Comp > & </td> + <td class="mdname1" valign="top" nowrap> <em>__x</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00124">124</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00125 : <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>(__x._Data) , <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr2">_DataSorted</a>(__x._DataSorted), <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr0">_CompFunc</a>(__x._CompFunc) +00126 { +00127 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLMISC_1_1CStaticMapa0" doxytag="NLMISC::CStaticMap::add" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::add </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>__v</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00173">173</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00174 { +00175 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr2">_DataSorted</a> = <span class="keyword">false</span>; +00176 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.push_back (__v); +00177 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa1" doxytag="NLMISC::CStaticMap::begin" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::begin </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</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="a06434.html#l00141">141</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00141 { <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.begin(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa2" doxytag="NLMISC::CStaticMap::begin" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::begin </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</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="a06434.html#l00140">140</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00140 { <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.begin(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa3" doxytag="NLMISC::CStaticMap::clear" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::clear </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</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="a06434.html#l00213">213</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00214 { +00215 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.clear(); +00216 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa4" doxytag="NLMISC::CStaticMap::count" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw11">size_type</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a04223.html#a577">count</a> </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw7">key_type</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>__x</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00242">242</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00243 { +00244 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa16">endAdd</a>(); +00245 <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa18">find</a>(__x) == <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.end() ? 0 : 1; +00246 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa10" doxytag="NLMISC::CStaticMap::del" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::del </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> </td> + <td class="mdname" nowrap> <em>__first</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> </td> + <td class="mdname" nowrap> <em>__last</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00208">208</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00209 { +00210 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.erase (__first, __last); +00211 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa11" doxytag="NLMISC::CStaticMap::del" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw11">size_type</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::del </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw7">key_type</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>__x</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00203">203</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00204 { +00205 <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.erase (__x); +00206 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa12" doxytag="NLMISC::CStaticMap::del" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::del </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> </td> + <td class="mdname1" valign="top" nowrap> <em>__position</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00198">198</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00199 { +00200 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.erase (__position); +00201 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa13" doxytag="NLMISC::CStaticMap::empty" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::empty </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]</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="a06434.html#l00148">148</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00148 { <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.empty(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa14" doxytag="NLMISC::CStaticMap::end" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::end </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</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="a06434.html#l00143">143</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00143 { <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.end(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa15" doxytag="NLMISC::CStaticMap::end" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::end </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</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="a06434.html#l00142">142</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +Referenced by <a class="el" href="a06434.html#l00220">NLMISC::CStaticMap< uint32, CChar >::find()</a>, and <a class="el" href="a06434.html#l00152">NLMISC::CStaticMap< uint32, CChar >::operator[]()</a>. +<p> +<div class="fragment"><pre>00142 { <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.end(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa16" doxytag="NLMISC::CStaticMap::endAdd" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::endAdd </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]</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="a06434.html#l00189">189</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +Referenced by <a class="el" href="a06434.html#l00242">NLMISC::CStaticMap< uint32, CChar >::count()</a>, <a class="el" href="a06434.html#l00109">NLMISC::CStaticMap< uint32, CChar >::CStaticMap()</a>, <a class="el" href="a06434.html#l00220">NLMISC::CStaticMap< uint32, CChar >::find()</a>, and <a class="el" href="a06434.html#l00129">NLMISC::CStaticMap< uint32, CChar >::operator=()</a>. +<p> +<div class="fragment"><pre>00190 { +00191 <span class="keywordflow">if</span> (<a class="code" href="a03437.html#NLMISC_1_1CStaticMapr2">_DataSorted</a>) <span class="keywordflow">return</span>; +00192 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr2">_DataSorted</a> = <span class="keyword">true</span>; +00193 sort (<a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.begin(), <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.end(), <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa31">value_comp</a>()); <span class="comment">// Sort the vector</span> +00194 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa17" doxytag="NLMISC::CStaticMap::find" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::find </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw7">key_type</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>__x</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00231">231</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00232 { +00233 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa16">endAdd</a>(); +00234 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a> __v(__x, Typ()); +00235 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> it = lower_bound((const_iterator)<a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.begin(), (<a class="code" href="a03437.html#NLMISC_1_1CStaticMapw0">const_iterator</a>)<a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.end(), __v, <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa31">value_comp</a>()); +00236 <span class="keywordflow">if</span> ((it != <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa15">end</a>()) && (!<a class="code" href="a03437.html#NLMISC_1_1CStaticMapa31">value_comp</a>()(*it,__v) && !<a class="code" href="a03437.html#NLMISC_1_1CStaticMapa31">value_comp</a>()(__v,*it))) +00237 <span class="keywordflow">return</span> it; +00238 <span class="keywordflow">else</span> +00239 <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa15">end</a>(); +00240 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa18" doxytag="NLMISC::CStaticMap::find" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::find </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw7">key_type</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>__x</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00220">220</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +Referenced by <a class="el" href="a06434.html#l00242">NLMISC::CStaticMap< uint32, CChar >::count()</a>, and <a class="el" href="a06434.html#l00152">NLMISC::CStaticMap< uint32, CChar >::operator[]()</a>. +<p> +<div class="fragment"><pre>00221 { +00222 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa16">endAdd</a>(); +00223 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a> __v(__x, Typ()); +00224 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> it = lower_bound((iterator)<a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.begin(), (<a class="code" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a>)<a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.end(), __v, <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa31">value_comp</a>()); +00225 <span class="keywordflow">if</span> ((it != <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa15">end</a>()) && (!<a class="code" href="a03437.html#NLMISC_1_1CStaticMapa31">value_comp</a>()(*it,__v) && !<a class="code" href="a03437.html#NLMISC_1_1CStaticMapa31">value_comp</a>()(__v,*it))) +00226 <span class="keywordflow">return</span> it; +00227 <span class="keywordflow">else</span> +00228 <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa15">end</a>(); +00229 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa19" doxytag="NLMISC::CStaticMap::fromMap" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::fromMap </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::map< Key, Typ, Comp > & </td> + <td class="mdname1" valign="top" nowrap> <em>m</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00179">179</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00180 { +00181 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr2">_DataSorted</a> = <span class="keyword">false</span>; +00182 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.reserve(m.size()); +00183 <span class="keyword">typename</span> std::map<Key,Typ,Comp>::const_iterator itEnd = m.end(); +00184 <span class="keyword">typename</span> std::map<Key,Typ,Comp>::const_iterator it = m.begin(); +00185 <span class="keywordflow">for</span> (; it != itEnd; it++) +00186 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.push_back (std::pair<Key, Typ>::pair(it->first, it->second)); +00187 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa20" doxytag="NLMISC::CStaticMap::key_comp" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw6">key_compare</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::key_comp </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]</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="a06434.html#l00138">138</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00138 { <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.key_comp(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa21" doxytag="NLMISC::CStaticMap::max_size" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw11">size_type</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::max_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<code> [inline]</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="a06434.html#l00150">150</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00150 { <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.max_size(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa22" doxytag="NLMISC::CStaticMap::operator=" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html">CStaticMap</a><Key, Typ, Comp>& <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::operator= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03437.html">CStaticMap</a>< Key, Typ, Comp > & </td> + <td class="mdname1" valign="top" nowrap> <em>__x</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00129">129</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00130 { +00131 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a> = __x._Data; +00132 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa16">endAdd</a>(); +00133 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00134 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa23" doxytag="NLMISC::CStaticMap::operator[]" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> Typ& <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::operator[] </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw7">key_type</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>__k</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00152">152</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00153 { +00154 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapw5">iterator</a> __i = <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa18">find</a>(__k); +00155 <span class="comment">// The key MUST exist no automatic insertion done in this class</span> +00156 <a class="code" href="a04199.html#a6">nlassert</a>(__i != <a class="code" href="a03437.html#NLMISC_1_1CStaticMapa15">end</a>()) +00157 <span class="keywordflow">return</span> (*__i).second; +00158 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa24" doxytag="NLMISC::CStaticMap::rbegin" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw2">const_reverse_iterator</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::rbegin </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]</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="a06434.html#l00145">145</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00145 { <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.rbegin(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa25" doxytag="NLMISC::CStaticMap::rbegin" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw10">reverse_iterator</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::rbegin </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]</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="a06434.html#l00144">144</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00144 { <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.rbegin(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa26" doxytag="NLMISC::CStaticMap::rend" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw2">const_reverse_iterator</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::rend </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]</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="a06434.html#l00147">147</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00147 { <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.rend(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa27" doxytag="NLMISC::CStaticMap::rend" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw10">reverse_iterator</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::rend </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]</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="a06434.html#l00146">146</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00146 { <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.rend(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa28" doxytag="NLMISC::CStaticMap::reserve" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::reserve </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03437.html#NLMISC_1_1CStaticMapw11">size_type</a> </td> + <td class="mdname1" valign="top" nowrap> <em>n</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00168">168</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00169 { +00170 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.reserve(n); +00171 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa29" doxytag="NLMISC::CStaticMap::size" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03437.html#NLMISC_1_1CStaticMapw11">size_type</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a04223.html#a587">size</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> const<code> [inline]</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="a06434.html#l00149">149</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00149 { <span class="keywordflow">return</span> <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.size(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa30" doxytag="NLMISC::CStaticMap::swap" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::swap </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03437.html">CStaticMap</a>< Key, Typ, Comp > & </td> + <td class="mdname1" valign="top" nowrap> <em>__x</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> + +<p> +Definition at line <a class="el" href="a06434.html#l00160">160</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +<div class="fragment"><pre>00161 { +00162 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</a>.swap (__x._Data); +00163 <a class="code" href="a03437.html#NLMISC_1_1CStaticMapr2">_DataSorted</a> = <span class="keyword">false</span>; +00164 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapa31" doxytag="NLMISC::CStaticMap::value_comp" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03438.html">value_compare</a> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::value_comp </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]</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="a06434.html#l00139">139</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +Referenced by <a class="el" href="a06434.html#l00189">NLMISC::CStaticMap< uint32, CChar >::endAdd()</a>, and <a class="el" href="a06434.html#l00220">NLMISC::CStaticMap< uint32, CChar >::find()</a>. +<p> +<div class="fragment"><pre>00139 { <span class="keywordflow">return</span> value_compare(_CompFunc); } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLMISC_1_1CStaticMapr0" doxytag="NLMISC::CStaticMap::_CompFunc" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> Comp <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapr0">_CompFunc</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="a06434.html#l00085">85</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapr1" doxytag="NLMISC::CStaticMap::_Data" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="a03437.html#NLMISC_1_1CStaticMapw12">value_type</a>> <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapr1">_Data</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="a06434.html#l00083">83</a> of file <a class="el" href="a06434.html">static_map.h</a>. +<p> +Referenced by <a class="el" href="a06434.html#l00129">NLMISC::CStaticMap< uint32, CChar >::operator=()</a>, and <a class="el" href="a06434.html#l00160">NLMISC::CStaticMap< uint32, CChar >::swap()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CStaticMapr2" doxytag="NLMISC::CStaticMap::_DataSorted" ></a><p> +<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 Key, class Typ, class Comp = std::less<Key>> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03437.html">NLMISC::CStaticMap</a>< Key, Typ, Comp >::<a class="el" href="a03437.html#NLMISC_1_1CStaticMapr2">_DataSorted</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="a06434.html#l00084">84</a> of file <a class="el" href="a06434.html">static_map.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a06434.html">static_map.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:34:29 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> |