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> 22property_map<<a href="./PropertyGraph.html">PropertyGraph</a>, <a href="./PropertyTag.html">PropertyTag</a>> 23</pre> 24</H1> 25 26This is the traits class that produces the type for a <a 27href="../../property_map/doc/property_map.html">property map</a> object 28for a particular graph type. The property is specified by the <a 29href="./PropertyTag.html">PropertyTag</a> template parameter. Graph classes 30must specialize this traits class to provide their own implementation 31for 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> 53The (mutable) property map type for mapping vertex or edge desriptors of 54the graph to their associated property values, where the property is 55specified by <tt>PropertyTag</tt>. This type is a <a 56href="../../property_map/doc/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> 63The (non-mutable) property map type for mapping vertex or edge 64desriptors of the graph to their associated property values, where the 65property is specified by <tt>PropertyTag</tt>. This type is a <a 66href="../../property_map/doc/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="http://www.boost.org/people/jeremy_siek.htm">Jeremy Siek</A>, 77Indiana University (<A 78HREF="mailto:jsiek@osl.iu.edu">jsiek@osl.iu.edu</A>)<br> 79<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> 80<A HREF="https://homes.cs.washington.edu/~al75">Andrew Lumsdaine</A>, 81Indiana University (<A 82HREF="mailto:lums@osl.iu.edu">lums@osl.iu.edu</A>) 83</TD></TR></TABLE> 84 85</BODY> 86</HTML> 87