3 Copyright (c) Jeremy Siek 2000
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)
10 <Title>Read Write Property Map
</Title>
11 <BODY BGCOLOR=
"#ffffff" LINK=
"#0000ee" TEXT=
"#000000" VLINK=
"#551a8b"
13 <IMG SRC=
"../../../boost.png"
14 ALT=
"C++ Boost" width=
"277" height=
"86">
19 <A NAME=
"concept:ReadWritePropertyMap"></A>
21 Read/Write Property Map
24 A Read/Write Property Map can be used to read property values via
25 the
<tt>get()
</tt> function and can be used to write property values
26 via the
<tt>put()
</tt> function.
28 <H3>Refinement of
</H3>
30 <a href=
"./ReadablePropertyMap.html">Readable Property Map
</a>
32 <a href=
"./WritablePropertyMap.html">Writable Property Map
</a>
40 <TD><tt>PMap
</tt></TD>
41 <TD>A type that is a model of Read/Write Property Map.
</TD>
46 <h2>Associated Types
</h2>
51 <td>Property Map Category
52 <td><TT>boost::property_traits
<PMap
>::category
</TT></td>
54 The category of the property map must be a type convertible to
55 <TT>read_write_property_map_tag
</TT>.
62 <h3>Concept Checking Class
</h3>
65 template
<class PMap, class Key
>
66 struct ReadWritePropertyMapConcept
68 typedef typename property_traits
<PMap
>::category Category;
69 typedef boost::read_write_property_map_tag ReadWriteTag;
71 function_requires
< ReadablePropertyMapConcept
<PMap, Key
> >();
72 function_requires
< WritablePropertyMapConcept
<PMap, Key
> >();
73 function_requires
< ConvertibleConcept
<Category, ReadWriteTag
> >();
80 <a href=
"./property_map.html">Property map concepts
</a>
87 <TD nowrap
>Copyright ©
2000</TD><TD>
88 <a HREF=
"http://www.boost.org/people/jeremy_siek.htm">Jeremy Siek
</a>, Univ.of Notre Dame (
<A HREF=
"mailto:jsiek@lsc.nd.edu">jsiek@lsc.nd.edu
</A>)