property_map.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <HTML>
  2. <!--
  3. Copyright (c) Jeremy Siek, Lie-Quan Lee, and Andrew Lumsdaine 2000
  4. Distributed under the Boost Software License, Version 1.0.
  5. (See accompanying file LICENSE_1_0.txt or copy at
  6. http://www.boost.org/LICENSE_1_0.txt)
  7. -->
  8. <Head>
  9. <Title>Boost Graph Library: Property Map Traits</Title>
  10. <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
  11. ALINK="#ff0000">
  12. <IMG SRC="../../../boost.png"
  13. ALT="C++ Boost" width="277" height="86">
  14. <BR Clear>
  15. <BR Clear>
  16. <H1><A NAME=""></A>
  17. <pre>
  18. property_map&lt;<a href="./PropertyGraph.html">PropertyGraph</a>, <a href="./PropertyTag.html">PropertyTag</a>&gt;
  19. </pre>
  20. </H1>
  21. This is the traits class that produces the type for a <a
  22. href="../../property_map/doc/property_map.html">property map</a> object
  23. for a particular graph type. The property is specified by the <a
  24. href="./PropertyTag.html">PropertyTag</a> template parameter. Graph classes
  25. must specialize this traits class to provide their own implementation
  26. for property maps.
  27. <pre>
  28. template &lt;class Graph, class PropertyTag&gt;
  29. struct property_map {
  30. typedef ... type;
  31. typedef ... const_type;
  32. };
  33. </pre>
  34. <h3>Where Defined</h3>
  35. <a href="../../../boost/graph/properties.hpp"><tt>boost/graph/properties.hpp</tt></a>
  36. <h3>Associated Types</h3>
  37. <table border>
  38. <tr>
  39. <td>Map Type</td>
  40. <td><TT>type</TT> </td>
  41. <td>
  42. The (mutable) property map type for mapping vertex or edge desriptors of
  43. the graph to their associated property values, where the property is
  44. specified by <tt>PropertyTag</tt>. This type is a <a
  45. href="../../property_map/doc/property_map.html">property map</a>.
  46. </tr>
  47. <tr>
  48. <td>Const Map Type</td>
  49. <td><TT>const_type</TT> </td>
  50. <td>
  51. The (non-mutable) property map type for mapping vertex or edge
  52. desriptors of the graph to their associated property values, where the
  53. property is specified by <tt>PropertyTag</tt>. This type is a <a
  54. href="../../property_map/doc/property_map.html">property map</a>.
  55. </tr>
  56. </table>
  57. <br>
  58. <HR>
  59. <TABLE>
  60. <TR valign=top>
  61. <TD nowrap>Copyright &copy; 2000-2001</TD><TD>
  62. <A HREF="http://www.boost.org/people/jeremy_siek.htm">Jeremy Siek</A>,
  63. Indiana University (<A
  64. HREF="mailto:jsiek@osl.iu.edu">jsiek@osl.iu.edu</A>)<br>
  65. <A HREF="http://www.boost.org/people/liequan_lee.htm">Lie-Quan Lee</A>, Indiana University (<A HREF="mailto:llee@cs.indiana.edu">llee@cs.indiana.edu</A>)<br>
  66. <A HREF="https://homes.cs.washington.edu/~al75">Andrew Lumsdaine</A>,
  67. Indiana University (<A
  68. HREF="mailto:lums@osl.iu.edu">lums@osl.iu.edu</A>)
  69. </TD></TR></TABLE>
  70. </BODY>
  71. </HTML>