12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
- <title>GTL - Graph Template Library: node_map.h Source File</title>
- <link href="doxygen.css" rel="stylesheet" type="text/css">
- </head>
- <body>
- <p class="links">
- <a href="../index.html">Home</a> |
- Documentation |
- <a href="../register.html">Download</a> |
- <a href="../platforms.html">Platforms</a> |
- <a href="../refer.html">Projects</a> |
- <a href="../lists.html">Mailing Lists</a> |
- <a href="../history.html">Version History</a>
- </p>
- <!-- Generated by Doxygen 1.5.3 -->
- <div class="tabs">
- <ul>
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="classes.html"><span>Classes</span></a></li>
- <li class="current"><a href="files.html"><span>Files</span></a></li>
- <li><a href="pages.html"><span>Related Pages</span></a></li>
- </ul>
- </div>
- <h1>node_map.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//==========================================================================</span>
- <a name="l00002"></a>00002 <span class="comment">//</span>
- <a name="l00003"></a>00003 <span class="comment">// node_map.h</span>
- <a name="l00004"></a>00004 <span class="comment">//</span>
- <a name="l00005"></a>00005 <span class="comment">//==========================================================================</span>
- <a name="l00006"></a>00006 <span class="comment">// $Id: node_map.h,v 1.8 2005/06/14 12:22:12 raitner Exp $</span>
- <a name="l00007"></a>00007
- <a name="l00008"></a>00008 <span class="preprocessor">#ifndef GTL_NODE_MAP_H</span>
- <a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define GTL_NODE_MAP_H</span>
- <a name="l00010"></a>00010 <span class="preprocessor"></span>
- <a name="l00011"></a>00011 <span class="preprocessor">#include <GTL/GTL.h></span>
- <a name="l00012"></a>00012 <span class="preprocessor">#include <GTL/node.h></span>
- <a name="l00013"></a>00013 <span class="preprocessor">#include <GTL/ne_map.h></span>
- <a name="l00014"></a>00014
- <a name="l00015"></a>00015 __GTL_BEGIN_NAMESPACE
- <a name="l00016"></a>00016
- <a name="l00017"></a>00017 <span class="keyword">class </span><a class="code" href="a00014.html" title="A directed or undirected graph.">graph</a>;
- <a name="l00018"></a>00018
- <a name="l00052"></a>00052 <span class="keyword">template</span> <<span class="keyword">class</span> T, <span class="keyword">class</span> Alloc = allocator<T> >
- <a name="l00053"></a><a class="code" href="a00021.html">00053</a> <span class="keyword">class </span><a class="code" href="a00021.html" title="A specialized map with nodes as keys.">node_map</a> : <span class="keyword">public</span> <a class="code" href="a00019.html" title="Baseclass for node_map and edge_map.">ne_map</a><node, T, graph, Alloc>
- <a name="l00054"></a>00054 {
- <a name="l00055"></a>00055 <span class="keyword">public</span>:
- <a name="l00056"></a>00056
- <a name="l00063"></a><a class="code" href="a00021.html#7a4c767f07f348d31a1004776485d17b">00063</a> <a class="code" href="a00021.html#7a4c767f07f348d31a1004776485d17b">node_map</a>() : <a class="code" href="a00019.html" title="Baseclass for node_map and edge_map.">ne_map</a><<a class="code" href="a00020.html" title="A node in a graph.">node</a>, T, <a class="code" href="a00014.html" title="A directed or undirected graph.">graph</a>, Alloc>() {};
- <a name="l00064"></a>00064
- <a name="l00071"></a><a class="code" href="a00021.html#5bd24349e3a56379592889abbe4c6b09">00071</a> <span class="keyword">explicit</span> <a class="code" href="a00021.html#7a4c767f07f348d31a1004776485d17b">node_map</a>(<span class="keyword">const</span> <a class="code" href="a00014.html" title="A directed or undirected graph.">graph</a> &g, T t=T()) : <a class="code" href="a00019.html" title="Baseclass for node_map and edge_map.">ne_map</a><<a class="code" href="a00020.html" title="A node in a graph.">node</a>, T, <a class="code" href="a00014.html" title="A directed or undirected graph.">graph</a>, Alloc>(g,t) {};
- <a name="l00072"></a>00072 };
- <a name="l00073"></a>00073
- <a name="l00074"></a>00074 __GTL_END_NAMESPACE
- <a name="l00075"></a>00075
- <a name="l00076"></a>00076 <span class="preprocessor">#endif // GTL_NODE_MAP_H</span>
- <a name="l00077"></a>00077 <span class="preprocessor"></span>
- <a name="l00078"></a>00078 <span class="comment">//--------------------------------------------------------------------------</span>
- <a name="l00079"></a>00079 <span class="comment">// end of file</span>
- <a name="l00080"></a>00080 <span class="comment">//--------------------------------------------------------------------------</span>
- </pre></div> <p class="links">
- <a href="http://www.uni-passau.de/">University of Passau</a>
- -
- <a href="http://www.fmi.uni-passau.de/">FMI</a>
- -
- <a href="http://www.fmi.uni-passau.de/fmi/lehrstuehle/brandenburg/">Theoretical
- Computer Science</a>
- </p>
- <div class="copyright">
- Design © 2002, 2003 <a href="mailto:raitner@fmi.uni-passau.de">Marcus Raitner</a>, University of Passau
- </div>
- </body>
- </html>
|