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