Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53474 - in trunk/libs/property_map: . doc example
From: jewillco_at_[hidden]
Date: 2009-05-30 21:27:27


Author: jewillco
Date: 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
New Revision: 53474
URL: http://svn.boost.org/trac/boost/changeset/53474

Log:
Restructured directories to match Boost conventions; fixed links and other minor issues in docs
Added:
   trunk/libs/property_map/doc/LvaluePropertyMap.html
      - copied, changed from r53472, /trunk/libs/property_map/LvaluePropertyMap.html
   trunk/libs/property_map/doc/ReadWritePropertyMap.html
      - copied, changed from r53472, /trunk/libs/property_map/ReadWritePropertyMap.html
   trunk/libs/property_map/doc/ReadablePropertyMap.html
      - copied, changed from r53472, /trunk/libs/property_map/ReadablePropertyMap.html
   trunk/libs/property_map/doc/WritablePropertyMap.html
      - copied, changed from r53472, /trunk/libs/property_map/WritablePropertyMap.html
   trunk/libs/property_map/doc/associative_property_map.html
      - copied, changed from r53472, /trunk/libs/property_map/associative_property_map.html
   trunk/libs/property_map/doc/const_assoc_property_map.html
      - copied, changed from r53472, /trunk/libs/property_map/const_assoc_property_map.html
   trunk/libs/property_map/doc/identity_property_map.html
      - copied, changed from r53472, /trunk/libs/property_map/identity_property_map.html
   trunk/libs/property_map/doc/iterator_property_map.html
      - copied, changed from r53472, /trunk/libs/property_map/iterator_property_map.html
   trunk/libs/property_map/doc/property_map.html
      - copied, changed from r53472, /trunk/libs/property_map/property_map.html
   trunk/libs/property_map/doc/ref_property_map.html
      - copied, changed from r53472, /trunk/libs/property_map/ref_property_map.html
   trunk/libs/property_map/doc/vector_property_map.html
      - copied, changed from r53472, /trunk/libs/property_map/vector_property_map.html
   trunk/libs/property_map/example/
   trunk/libs/property_map/example/example1.cpp
      - copied unchanged from r53472, /trunk/libs/property_map/example1.cpp
   trunk/libs/property_map/example/example2.cpp
      - copied unchanged from r53472, /trunk/libs/property_map/example2.cpp
   trunk/libs/property_map/example/example3.cpp
      - copied unchanged from r53472, /trunk/libs/property_map/example3.cpp
Removed:
   trunk/libs/property_map/LvaluePropertyMap.html
   trunk/libs/property_map/ReadWritePropertyMap.html
   trunk/libs/property_map/ReadablePropertyMap.html
   trunk/libs/property_map/WritablePropertyMap.html
   trunk/libs/property_map/associative_property_map.html
   trunk/libs/property_map/const_assoc_property_map.html
   trunk/libs/property_map/example1.cpp
   trunk/libs/property_map/example2.cpp
   trunk/libs/property_map/example3.cpp
   trunk/libs/property_map/identity_property_map.html
   trunk/libs/property_map/iterator_property_map.html
   trunk/libs/property_map/property_map.html
   trunk/libs/property_map/ref_property_map.html
   trunk/libs/property_map/vector_property_map.html
Text files modified:
   trunk/libs/property_map/doc/LvaluePropertyMap.html | 2 +-
   trunk/libs/property_map/doc/ReadWritePropertyMap.html | 2 +-
   trunk/libs/property_map/doc/ReadablePropertyMap.html | 4 ++--
   trunk/libs/property_map/doc/WritablePropertyMap.html | 4 ++--
   trunk/libs/property_map/doc/associative_property_map.html | 6 +++---
   trunk/libs/property_map/doc/const_assoc_property_map.html | 6 +++---
   trunk/libs/property_map/doc/identity_property_map.html | 4 ++--
   trunk/libs/property_map/doc/iterator_property_map.html | 4 ++--
   trunk/libs/property_map/doc/property_map.html | 14 +++++++-------
   trunk/libs/property_map/doc/ref_property_map.html | 16 ++++++++--------
   trunk/libs/property_map/doc/vector_property_map.html | 6 +++---
   trunk/libs/property_map/index.html | 8 ++++----
   12 files changed, 38 insertions(+), 38 deletions(-)

Deleted: trunk/libs/property_map/LvaluePropertyMap.html
==============================================================================
--- trunk/libs/property_map/LvaluePropertyMap.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
+++ (empty file)
@@ -1,145 +0,0 @@
-<HTML>
-<!--
- Copyright (c) Jeremy Siek 2000
-
- Distributed under the Boost Software License, Version 1.0.
- (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt)
- -->
-<Head>
-<Title>LvaluePropertyMap</Title>
-<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
- ALINK="#ff0000">
-<IMG SRC="../../boost.png"
- ALT="C++ Boost" width="277" height="86">
-
-<BR Clear>
-
-<H2><A NAME="concept:LvaluePropertyMap"></A>
-LvaluePropertyMap
-</H2>
-
-The LvaluePropertyMap provides an interface for accessing a
-reference to a property object (instead of a copy of the object as in
-the <TT>get()</TT> function required by <a
-href="./ReadablePropertyMap.html">ReadablePropertyMap</a>). An
-LvaluePropertyMap can be <I>mutable</I> or
-<I>non-mutable</I>. The mutable LvaluePropertyMap returns a
-reference whereas the non-mutable returns a const reference.
-
-<H3>Refinement of</H3>
-
-ReadablePropertyMap
-for non-mutable or ReadWritePropertyMap for mutable property map.
-
-<h3>Notation</h3>
-
-<Table>
-<TR>
-<TD><tt>PMap</tt></TD>
-<TD>A type that is a model of LvaluePropertyMap.</TD>
-</TR>
-<TR>
-<TD><tt>pmap</tt></TD>
-<TD>An object of type <tt>PMap</tt>.</td>
-</TR>
-<TR>
-<TD><tt>key</tt></TD>
-<TD>An object of type <tt>boost::property_traits&lt;PMap&gt;::key_type</tt>.</td>
-</TR>
-
-</table>
-
-
-<h3>Associated Types</h3>
-
-<table border>
-
-<tr>
-<td>Reference Type</td>
-<td><TT>boost::property_traits&lt;PMap&gt;::reference</TT></td>
-<td>
-The reference type, which must be a reference or const reference to
-the value typeof the property map.
-</td>
-</tr>
-
-<tr>
-<td>Property Map Category
-<td><TT>boost::property_traits&lt;PMap&gt;::category</TT></td>
-<td>
-The category of the property: a type convertible to
-<TT>boost::lvalue_property_map_tag</TT>.
-</td>
-</tr>
-
-</table>
-
-<h3>Valid Expressions</h3>
-
-<table border>
-<tr>
-<th>Name</th><th>Expression</th><th>Return Type</th><th>Description</th>
-</tr>
-
-
-<tr>
-<td>Access Property Value </td>
-<TD><TT>pmap[key]</TT></TD>
-<TD>
-<TT>value_type&amp;</TT> for mutable, <TT>const value_type&amp;</TT>
-otherwise.
-</TD>
-<TD>Obtain a reference to the property identified by <TT>key</TT>.</TD>
-</TR>
-</TABLE>
-
-<h3>Concept Checking Class</h3>
-
-<pre> template &lt;class PMap, class Key&gt;
- struct LvaluePropertyMapConcept
- {
- typedef typename property_traits&lt;PMap&gt;::category Category;
- typedef boost::lvalue_property_map_tag LvalueTag;
- typedef const typename property_traits&lt;PMap&gt;::value_type&amp; const_reference;
- void constraints() {
- function_requires&lt; ReadWritePropertyMapConcept&lt;PMap, Key&gt; &gt;();
- function_requires&lt; ConvertibleConcept&lt;Category, LvalueTag&gt; &gt;();
-
- const_reference ref = pmap[k];
- }
- PMap pmap;
- Key k;
- };
-
- template &lt;class PMap, class Key&gt;
- struct Mutable_LvaluePropertyMapConcept
- {
- typedef typename property_traits&lt;PMap&gt;::category Category;
- typedef boost::lvalue_property_map_tag LvalueTag;
- typedef typename property_traits&lt;PMap&gt;::value_type&amp; reference;
- void constraints() {
- function_requires&lt; ReadWritePropertyMapConcept&lt;PMap, Key&gt; &gt;();
- function_requires&lt;ConvertibleConcept&lt;Category, LvalueTag&gt; &gt;();
-
- reference ref = pmap[k];
- }
- PMap pmap;
- Key k;
- };</pre>
-
-<h3>See Also</h3>
-
-Property map concepts
-
-
-<br>
-<HR>
-<TABLE>
-<TR valign=top>
-<TD nowrap>Copyright &copy 2000</TD><TD>
-<a HREF="http://www.boost.org/people/jeremy_siek.htm">Jeremy Siek</a>, Univ.of Notre Dame (<A HREF="mailto:jsiek_at_[hidden]">jsiek_at_[hidden]</A>)
-</TD></TR></TABLE>
-
-</BODY>
-</HTML>

Deleted: trunk/libs/property_map/ReadWritePropertyMap.html
==============================================================================
--- trunk/libs/property_map/ReadWritePropertyMap.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
+++ (empty file)
@@ -1,92 +0,0 @@
-<HTML>
-<!--
- Copyright (c) Jeremy Siek 2000
-
- Distributed under the Boost Software License, Version 1.0.
- (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt)
- -->
-<Head>
-<Title>Read Write Property Map</Title>
-<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
- ALINK="#ff0000">
-<IMG SRC="../../boost.png"
- ALT="C++ Boost" width="277" height="86">
-
-<BR Clear>
-
-<H2>
-<A NAME="concept:ReadWritePropertyMap"></A>
-<BR>
-Read/Write Property Map
-</H2>
-
-A Read/Write Property Map can be used to read property values via
-the <tt>get()</tt> function and can be used to write property values
-via the <tt>put()</tt> function.
-
-<H3>Refinement of</H3>
-
-Readable Property Map
-and
-Writable Property Map
-
-
-
-<h3>Notation</h3>
-
-<Table>
-<TR>
-<TD><tt>PMap</tt></TD>
-<TD>A type that is a model of Read/Write Property Map.</TD>
-</TR>
-
-</table>
-
-<h2>Associated Types</h2>
-
-<table border>
-
-<tr>
-<td>Property Map Category
-<td><TT>boost::property_traits&lt;PMap&gt;::category</TT></td>
-<td>
-The category of the property map must be a type convertible to
-<TT>read_write_property_map_tag</TT>.
-</td>
-</tr>
-
-</table>
-
-
-<h3>Concept Checking Class</h3>
-
-<pre>
- template &lt;class PMap, class Key&gt;
- struct ReadWritePropertyMapConcept
- {
- typedef typename property_traits&lt;PMap&gt;::category Category;
- typedef boost::read_write_property_map_tag ReadWriteTag;
- void constraints() {
- function_requires&lt; ReadablePropertyMapConcept&lt;PMap, Key&gt; &gt;();
- function_requires&lt; WritablePropertyMapConcept&lt;PMap, Key&gt; &gt;();
- function_requires&lt; ConvertibleConcept&lt;Category, ReadWriteTag&gt; &gt;();
- }
- };
-</pre>
-
-<h3>See Also</h3>
-
-Property map concepts
-
-
-<br>
-<HR>
-<TABLE>
-<TR valign=top>
-<TD nowrap>Copyright &copy 2000</TD><TD>
-<a HREF="http://www.boost.org/people/jeremy_siek.htm">Jeremy Siek</a>, Univ.of Notre Dame (<A HREF="mailto:jsiek_at_[hidden]">jsiek_at_[hidden]</A>)
-</TD></TR></TABLE>
-
-</BODY>
-</HTML>

Deleted: trunk/libs/property_map/ReadablePropertyMap.html
==============================================================================
--- trunk/libs/property_map/ReadablePropertyMap.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
+++ (empty file)
@@ -1,144 +0,0 @@
-<HTML>
-<!--
- Copyright (c) Jeremy Siek 2000
-
- Distributed under the Boost Software License, Version 1.0.
- (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt)
- -->
-<Head>
-<Title>Readable Property Map</Title>
-<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
- ALINK="#ff0000">
-<IMG SRC="../../boost.png"
- ALT="C++ Boost" width="277" height="86">
-
-<BR Clear>
-
-
-<H2><A NAME="concept:ReadablePropertyMap"></A>
-Readable Property Map
-</H2>
-
-A Readable Property Map provides read-access to the value object associated with a given key via a call to the <tt>get()</tt> function.
-The <tt>get()</tt> function returns a copy of the value object.
-
-<h3>Refinement of</h3>
-
-Copy Constructible
-
-<h3>Notation</h3>
-
-<Table>
-<TR>
-<TD><tt>PMap</tt></TD>
-<TD>A type that is a model of Readable Property Map.</TD>
-</TR>
-<TR>
-<TD><tt>pmap</tt></TD>
-<TD>An object of type <tt>PMap</tt>.</td>
-</TR>
-<TR>
-<TD><tt>key</tt></TD>
-<TD>An object of type <tt>boost::property_traits&lt;PMap&gt;::key_type</tt>.</td>
-</TR>
-
-</table>
-
-<h3>Associated Types</h3>
-
-<table border>
-
-<tr>
-<td>Value Type</td>
-<td><TT>boost::property_traits&lt;PMap&gt;::value_type</TT></td>
-<td>The type of the property.</td>
-</tr>
-
-<tr>
-<td>Reference Type</td>
-<td><TT>boost::property_traits&lt;PMap&gt;::reference</TT></td>
-<td>
-A type that is convertible to the value type.
-</td>
-</tr>
-
-<tr>
-<td>Key Type</td>
-<td><TT>boost::property_traits&lt;PMap&gt;::key_type</TT></td>
-<td>
-The type of the key object used to look up the property. The property
-map may be templated on the key type, in which case this
-typedef can be <TT>void</TT>.
-</td>
-</tr>
-
-<tr>
-<td>Property Map Category</td>
-<td><TT>boost::property_traits&lt;PMap&gt;::category</TT></td>
-<td>
-The category of the property: a type convertible to
-<TT>readable_property_map_tag</TT>.
-</td>
-</tr>
-
-</table>
-
-<h3>Valid Expressions</h3>
-
-<table border>
-<tr>
-<th>Name</th><th>Expression</th><th>Return Type</th><th>Description</th>
-</tr>
-
-<tr>
-<td>Get Property Value </td>
-<TD><TT>get(pmap, key)</TT></TD>
-<TD><TT>reference</TT></TD>
-<TD>Lookup the property of the object identified by <TT>key</TT>.</TD>
-</TR>
-
-</TABLE>
-
-<h3>Concept Checking Class</h3>
-
-<pre> template &lt;class PMap, class Key&gt;
- struct ReadablePropertyMapConcept
- {
- typedef typename property_traits&lt;PMap&gt;::key_type key_type;
- typedef typename property_traits&lt;PMap&gt;::category Category;
- typedef boost::readable_property_map_tag ReadableTag;
- void constraints() {
- function_requires&lt; ConvertibleConcept&lt;Category, ReadableTag&gt; &gt;();
-
- val = get(pmap, k);
- }
- PMap pmap;
- Key k;
- typename property_traits&lt;PMap&gt;::value_type val;
- };</pre>
-
-<h3>See Also</h3>
-
-Property map concepts
-
-<h3>Design Notes</h3>
-
-At various times the name &quot;read-only&quot; was considered for
-this concept. However, that name is inappropriate because concepts are
-inherently positive, not negative. This becomes obvious when we define
-the Read Write Property Map, which refines both the Readable Property
-Map and the Writable Property Map concept. It would not make much
-sense to combine &quot;read-only&quot; and &quot;write-only&quot;
-concepts!
-
-<br>
-<HR>
-<TABLE>
-<TR valign=top>
-<TD nowrap>Copyright &copy 2000</TD><TD>
-<a HREF="http://www.boost.org/people/jeremy_siek.htm">Jeremy Siek</a>, Univ.of Notre Dame (<A HREF="mailto:jsiek_at_[hidden]">jsiek_at_[hidden]</A>)
-</TD></TR></TABLE>
-
-</BODY>
-</HTML>

Deleted: trunk/libs/property_map/WritablePropertyMap.html
==============================================================================
--- trunk/libs/property_map/WritablePropertyMap.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
+++ (empty file)
@@ -1,151 +0,0 @@
-<HTML>
-<!--
- Copyright (c) Jeremy Siek 2000
-
- Distributed under the Boost Software License, Version 1.0.
- (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt)
- -->
-<Head>
-<Title>WritablePropertyMap</Title>
-<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
- ALINK="#ff0000">
-<IMG SRC="../../boost.png"
- ALT="C++ Boost" width="277" height="86">
-
-<BR Clear>
-
-
-<H2><A NAME="concept:WritablePropertyMap"></A>
-Writable Property Map
-</H2>
-
-A Writable Property Map has the capability of setting the value
-object associated with the given key object via the <tt>put()</tt>
-function.
-
-<h3>Refinement of</h3>
-
-Copy Constructible
-
-
-<h3>Notation</h3>
-
-<Table>
-<TR>
-<TD><tt>PMap</tt></TD>
-<TD>A type that is a model of Writable Property Map.</TD>
-</TR>
-<TR>
-<TD><tt>pmap</tt></TD>
-<TD>An object of type <tt>PMap</tt>.</td>
-</TR>
-<TR>
-<TD><tt>key</tt></TD>
-<TD>An object of type <tt>boost::property_traits&lt;PMap&gt;::key_type</tt>.</td>
-</TR>
-<TR>
-<TD><tt>val</tt></TD>
-<TD>An object of type <tt>boost::property_traits&lt;PMap&gt;::value_type</tt>.</td>
-</TR>
-</table>
-
-<h3>Associated Types</h3>
-
-<table border>
-
-<tr>
-<td>Value Type</td>
-<td><TT>boost::property_traits&lt;PMap&gt;::value_type</TT></td>
-<td>
-The type of the property.
-</td>
-</tr>
-
-<tr>
-<td>Key Type</td>
-<td><TT>boost::property_traits&lt;PMap&gt;::key_type</TT></td>
-<td>
-The type of the key object used to look up the property. The property
-map may be templated on the key type, in which case this typedef
-can be <TT>void</TT>.
-</td>
-</tr>
-
-<tr>
-<td>Property Map Category </td>
-<td><TT>boost::property_traits&lt;PMap&gt;::category</TT></td>
-<td>
-The category of the property: a type convertible to
-<TT>writable_property_map_tag</TT>.
-</td>
-</tr>
-
-</table>
-
-
-<h3>Valid Expressions</h3>
-
-<table border>
-<tr>
-<th>Name</th><th>Expression</th><th>Return Type</th><th>Description</th>
-</tr>
-
-<tr>
-<td>Put Property Value[1]</td>
-<TD><TT>put(pmap, key, val)</TT></TD>
-<TD><TT>void</TT></TD>
-<TD>
-Assign <TT>val</TT> to the property associated with <TT>k</TT>.
-</TD>
-</TR>
-
-</TABLE>
-
-
-<h3>Notes</h3>
-
-<a name="1">[1]</a> The function <tt>put()</tt> was originally named
-<tt>set()</tt>, but was changed to avoid name conflicts with the
-<tt>std::set</tt> class when using a compiler (Microsoft Visual C++)
-with non-standard name lookup rules. The following example demonstrates
-the problem.
-<pre>#include &lt;set&gt;
-using namespace std;
-namespace boost {
- void set() { }
-}</pre>
-
-
-<h3>Concept Checking Class</h3>
-
-<pre> template &lt;class PMap, class Key&gt;
- struct WritablePropertyMapConcept
- {
- typedef typename property_traits&lt;PMap&gt;::key_type key_type;
- typedef typename property_traits&lt;PMap&gt;::category Category;
- typedef boost::writable_property_map_tag WritableTag;
- void constraints() {
- function_requires&lt; ConvertibleConcept&lt;Category, WritableTag&gt; &gt;();
- put(pmap, k, val);
- }
- PMap pmap;
- Key k;
- typename property_traits&lt;PMap&gt;::value_type val;
- };</pre>
-
-<h3>See Also</h3>
-
-Property map concepts
-
-
-<br>
-<HR>
-<TABLE>
-<TR valign=top>
-<TD nowrap>Copyright &copy 2000</TD><TD>
-<a HREF="http://www.boost.org/people/jeremy_siek.htm">Jeremy Siek</a>, Univ.of Notre Dame (<A HREF="mailto:jsiek_at_[hidden]">jsiek_at_[hidden]</A>)
-</TD></TR></TABLE>
-
-</BODY>
-</HTML>

Deleted: trunk/libs/property_map/associative_property_map.html
==============================================================================
--- trunk/libs/property_map/associative_property_map.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
+++ (empty file)
@@ -1,190 +0,0 @@
-<HTML>
-<!--
- Copyright (c) Jeremy Siek, Lie-Quan Lee, and Andrew Lumsdaine 2000
-
- Distributed under the Boost Software License, Version 1.0.
- (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt)
- -->
-<Head>
-<Title>Iterator Property Map Adaptor</Title>
-<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
- ALINK="#ff0000">
-<IMG SRC="../../boost.png"
- ALT="C++ Boost" width="277" height="86">
-
-<BR Clear>
-
-
-<H2><A NAME="sec:associative-property-map"></A>
-</h2>
-<PRE>
-associative_property_map&lt;UniquePairAssociativeContainer&gt;
-</PRE>
-
-<P>
-This property map is an adaptor that converts any type that is a model
-of both <a
-href="http://www.sgi.com/tech/stl/PairAssociativeContainer.html">Pair
-Associative Container</a> and <a
-href="http://www.sgi.com/tech/stl/UniqueAssociativeContainer.html">Unique
-Associative Container</a> such as <a
-href="http://www.sgi.com/tech/stl/Map.html"><tt>std::map</tt></a> into
-a mutable Lvalue Property Map.
-Note that the adaptor only retains a reference to the container, so
-the lifetime of the container must encompass the use of the adaptor.
-</P>
-
-<h3>Example</h3>
-
-example1.cpp:
-<pre>#include &lt;iostream&gt;
-#include &lt;map&gt;
-#include &lt;string&gt;
-#include &lt;boost/property_map/property_map.hpp&gt;
-
-
-template &lt;typename AddressMap&gt;
-void foo(AddressMap address)
-{
- typedef typename boost::property_traits&lt;AddressMap&gt;::value_type value_type;
- typedef typename boost::property_traits&lt;AddressMap&gt;::key_type key_type;
-
- value_type old_address, new_address;
- key_type fred = &quot;Fred&quot;;
- old_address = get(address, fred);
- new_address = &quot;384 Fitzpatrick Street&quot;;
- put(address, fred, new_address);
-
- key_type joe = &quot;Joe&quot;;
- value_type&amp; joes_address = address[joe];
- joes_address = &quot;325 Cushing Avenue&quot;;
-}
-
-int
-main()
-{
- std::map&lt;std::string, std::string&gt; name2address;
- boost::associative_property_map&lt; std::map&lt;std::string, std::string&gt; &gt;
- address_map(name2address);
-
- name2address.insert(make_pair(std::string(&quot;Fred&quot;),
- std::string(&quot;710 West 13th Street&quot;)));
- name2address.insert(make_pair(std::string(&quot;Joe&quot;),
- std::string(&quot;710 West 13th Street&quot;)));
-
- foo(address_map);
-
- for (std::map&lt;std::string, std::string&gt;::iterator i = name2address.begin();
- i != name2address.end(); ++i)
- std::cout &lt;&lt; i-&gt;first &lt;&lt; &quot;: &quot; &lt;&lt; i-&gt;second &lt;&lt; &quot;\n&quot;;
-
- return EXIT_SUCCESS;
-}</pre>
-
-<H3>Where Defined</H3>
-
-<P>
-boost/property_map/property_map.hpp
-
-<p>
-<H3>Model Of</H3>
-
-Lvalue Property Map
-
-<P>
-
-<H3>Template Parameters</H3>
-
-<P>
-
-<TABLE border>
-<TR>
-<th>Parameter</th><th>Description</th><th>Default</th>
-</tr>
-
-
-<TR>
-<TD><TT>UniquePairAssociativeContainer</TT></TD>
-<TD>Must be a model of both <a
-href="http://www.sgi.com/tech/stl/PairAssociativeContainer.html">Pair
-Associative Container</a> and <a
-href="http://www.sgi.com/tech/stl/UniqueAssociativeContainer.html">Unique
-Associative Container</a> .</TD>
-<TD>&nbsp;</td>
-</tr>
-
-</TABLE>
-<P>
-
-<H3>Members</H3>
-
-<P>
-In addition to the methods and functions required by <a
-href="./LvaluePropertyMap.html">Lvalue Property Map</a>, this
-class has the following members.
-
-<hr>
-
-<pre>
-property_traits&lt;associative_property_map&gt;::value_type
-</pre>
-This is the same type as
-<TT>UniquePairAssociativeContainer::data_type</TT>.
-
-<hr>
-
-<pre>
-associative_property_map()
-</pre>
-Default Constructor.
-
-<pre>
-associative_property_map(UniquePairAssociativeContainer&amp; c)
-</pre>
-Constructor.
-
-<hr>
-
-<pre>
-data_type&amp; operator[](const key_type&amp; k) const
-</pre>
-The operator bracket for property access.
-The <TT>key_type</TT> and
-<TT>data_type</TT> types are from the typedefs inside of
-<TT>UniquePairAssociativeContainer</TT>.
-
-<hr>
-
-<h3>Non-Member functions</h3>
-
-<hr>
-
-<pre>
- template &lt;typename UniquePairAssociativeContainer&gt;
- associative_property_map&lt;UniquePairAssociativeContainer&gt;
- make_assoc_property_map(UniquePairAssociativeContainer&amp; c);
-</pre>
-A function for conveniently creating an associative property map.
-
-
-
-<hr>
-
-
-<br>
-<HR>
-<TABLE>
-<TR valign=top>
-<TD nowrap>Copyright &copy 2002</TD><TD>
-Jeremy Siek,
-Indiana University (<A
-HREF="mailto:jsiek_at_[hidden]">jsiek_at_[hidden]</A>)<br>
-<A HREF="http://www.boost.org/people/liequan_lee.htm">Lie-Quan Lee</A>, Indiana University (<A HREF="mailto:llee1_at_[hidden]">llee1_at_[hidden]</A>)<br>
-Andrew Lumsdaine,
-Indiana University (<A
-HREF="mailto:lums_at_[hidden]">lums_at_[hidden]</A>)
-</TD></TR></TABLE>
-
-</BODY>
-</HTML>

Deleted: trunk/libs/property_map/const_assoc_property_map.html
==============================================================================
--- trunk/libs/property_map/const_assoc_property_map.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
+++ (empty file)
@@ -1,190 +0,0 @@
-<HTML>
-<!--
- Copyright (c) Jeremy Siek, Lie-Quan Lee, and Andrew Lumsdaine 2000
-
- Distributed under the Boost Software License, Version 1.0.
- (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt)
- -->
-<Head>
-<Title>Iterator Property Map Adaptor</Title>
-<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
- ALINK="#ff0000">
-<IMG SRC="../../boost.png"
- ALT="C++ Boost" width="277" height="86">
-
-<BR Clear>
-
-
-<H2><A NAME="sec:const-associative-property-map"></A>
-</h2>
-<PRE>
-const_associative_property_map&lt;UniquePairAssociativeContainer&gt;
-</PRE>
-
-<P>
-This property map is an adaptor that converts any type that is a model
-of both <a
-href="http://www.sgi.com/tech/stl/PairAssociativeContainer.html">Pair
-Associative Container</a> and <a
-href="http://www.sgi.com/tech/stl/UniqueAssociativeContainer.html">Unique
-Associative Container</a> such as <a
-href="http://www.sgi.com/tech/stl/Map.html"><tt>std::map</tt></a> into
-a constant Lvalue Property Map.
-Note that the adaptor only retains a reference to the container, so
-the lifetime of the container must encompass the use of the adaptor.
-</P>
-
-<h3>Example</h3>
-
-example1.cpp:
-<pre>
-<font color="#008040">#include &lt;iostream&gt;</font>
-<font color="#008040">#include &lt;map&gt;</font>
-<font color="#008040">#include &lt;string&gt;</font>
-<font color="#008040">#include &lt;boost/property_map/property_map.hpp&gt;</font>
-
-
-<B>template</B> &lt;<B>typename</B> ConstAddressMap&gt;
-<B>void</B> display(ConstAddressMap address)
-{
- <B>typedef</B> <B>typename</B> boost::property_traits&lt;ConstAddressMap&gt;::value_type
- value_type;
- <B>typedef</B> <B>typename</B> boost::property_traits&lt;ConstAddressMap&gt;::key_type key_type;
-
- key_type fred = <font color="#0000FF">"Fred"</font>;
- key_type joe = <font color="#0000FF">"Joe"</font>;
-
- value_type freds_address = get(address, fred);
- value_type joes_address = get(address, joe);
-
- std::cout &lt;&lt; fred &lt;&lt; <font color="#0000FF">": "</font> &lt;&lt; freds_address &lt;&lt; <font color="#0000FF">"\n"</font>
- &lt;&lt; joe &lt;&lt; <font color="#0000FF">": "</font> &lt;&lt; joes_address &lt;&lt; <font color="#0000FF">"\n"</font>;
-}
-
-<B>int</B>
-main()
-{
- std::map&lt;std::string, std::string&gt; name2address;
- boost::const_associative_property_map&lt; std::map&lt;std::string, std::string&gt; &gt;
- address_map(name2address);
-
- name2address.insert(make_pair(std::string(<font color="#0000FF">"Fred"</font>),
- std::string(<font color="#0000FF">"710 West 13th Street"</font>)));
- name2address.insert(make_pair(std::string(<font color="#0000FF">"Joe"</font>),
- std::string(<font color="#0000FF">"710 West 13th Street"</font>)));
-
- display(address_map);
-
- <B>return</B> EXIT_SUCCESS;
-}
-
-
-</PRE>
-
-<H3>Where Defined</H3>
-
-<P>
-boost/property_map/property_map.hpp
-
-<p>
-<H3>Model Of</H3>
-
-Lvalue Property Map
-
-<P>
-
-<H3>Template Parameters</H3>
-
-<P>
-
-<TABLE border>
-<TR>
-<th>Parameter</th><th>Description</th><th>Default</th>
-</tr>
-
-
-<TR>
-<TD><TT>UniquePairAssociativeContainer</TT></TD>
-<TD>Must be a model of both <a
-href="http://www.sgi.com/tech/stl/PairAssociativeContainer.html">Pair
-Associative Container</a> and <a
-href="http://www.sgi.com/tech/stl/UniqueAssociativeContainer.html">Unique
-Associative Container</a> .</TD>
-<TD>&nbsp;</td>
-</tr>
-
-</TABLE>
-<P>
-
-<H3>Members</H3>
-
-<P>
-In addition to the methods and functions required by <a
-href="./LvaluePropertyMap.html">Lvalue Property Map</a>, this
-class has the following members.
-
-<hr>
-
-<pre>
-property_traits&lt;const_associative_property_map&gt;::value_type
-</pre>
-This is the same type as
-<TT>UniquePairAssociativeContainer::data_type</TT>.
-
-<hr>
-
-<pre>
-const_associative_property_map()
-</pre>
-Default Constructor.
-
-<pre>
-const_associative_property_map(const UniquePairAssociativeContainer&amp; c)
-</pre>
-Constructor.
-
-<hr>
-
-<pre>
-const data_type&amp; operator[](const key_type&amp; k) const
-</pre>
-The operator bracket for property access.
-The <TT>key_type</TT> and
-<TT>data_type</TT> types are from the typedefs inside of
-<TT>UniquePairAssociativeContainer</TT>.
-
-<hr>
-
-<h3>Non-Member functions</h3>
-
-<hr>
-
-<pre>
- template &lt;typename UniquePairAssociativeContainer&gt;
- const_associative_property_map&lt;UniquePairAssociativeContainer&gt;
- make_assoc_property_map(const UniquePairAssociativeContainer&amp; c);
-</pre>
-A function for conveniently creating an associative property map.
-
-
-
-<hr>
-
-
-<br>
-<HR>
-<TABLE>
-<TR valign=top>
-<TD nowrap>Copyright &copy 2002</TD><TD>
-Jeremy Siek,
-Indiana University (<A
-HREF="mailto:jsiek_at_[hidden]">jsiek_at_[hidden]</A>)<br>
-<A HREF="http://www.boost.org/people/liequan_lee.htm">Lie-Quan Lee</A>, Indiana University (<A HREF="mailto:llee1_at_[hidden]">llee1_at_[hidden]</A>)<br>
-Andrew Lumsdaine,
-Indiana University (<A
-HREF="mailto:lums_at_[hidden]">lums_at_[hidden]</A>)
-</TD></TR></TABLE>
-
-</BODY>
-</HTML>

Copied: trunk/libs/property_map/doc/LvaluePropertyMap.html (from r53472, /trunk/libs/property_map/LvaluePropertyMap.html)
==============================================================================
--- /trunk/libs/property_map/LvaluePropertyMap.html (original)
+++ trunk/libs/property_map/doc/LvaluePropertyMap.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
@@ -10,7 +10,7 @@
 <Title>LvaluePropertyMap</Title>
 <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
         ALINK="#ff0000">
-<IMG SRC="../../boost.png"
+<IMG SRC="../../../boost.png"
      ALT="C++ Boost" width="277" height="86">
 
 <BR Clear>

Copied: trunk/libs/property_map/doc/ReadWritePropertyMap.html (from r53472, /trunk/libs/property_map/ReadWritePropertyMap.html)
==============================================================================
--- /trunk/libs/property_map/ReadWritePropertyMap.html (original)
+++ trunk/libs/property_map/doc/ReadWritePropertyMap.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
@@ -10,7 +10,7 @@
 <Title>Read Write Property Map</Title>
 <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
         ALINK="#ff0000">
-<IMG SRC="../../boost.png"
+<IMG SRC="../../../boost.png"
      ALT="C++ Boost" width="277" height="86">
 
 <BR Clear>

Copied: trunk/libs/property_map/doc/ReadablePropertyMap.html (from r53472, /trunk/libs/property_map/ReadablePropertyMap.html)
==============================================================================
--- /trunk/libs/property_map/ReadablePropertyMap.html (original)
+++ trunk/libs/property_map/doc/ReadablePropertyMap.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
@@ -10,7 +10,7 @@
 <Title>Readable Property Map</Title>
 <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
         ALINK="#ff0000">
-<IMG SRC="../../boost.png"
+<IMG SRC="../../../boost.png"
      ALT="C++ Boost" width="277" height="86">
 
 <BR Clear>
@@ -25,7 +25,7 @@
 
 <h3>Refinement of</h3>
 
-Copy Constructible
+Copy Constructible
 
 <h3>Notation</h3>
 

Copied: trunk/libs/property_map/doc/WritablePropertyMap.html (from r53472, /trunk/libs/property_map/WritablePropertyMap.html)
==============================================================================
--- /trunk/libs/property_map/WritablePropertyMap.html (original)
+++ trunk/libs/property_map/doc/WritablePropertyMap.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
@@ -10,7 +10,7 @@
 <Title>WritablePropertyMap</Title>
 <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
         ALINK="#ff0000">
-<IMG SRC="../../boost.png"
+<IMG SRC="../../../boost.png"
      ALT="C++ Boost" width="277" height="86">
 
 <BR Clear>
@@ -26,7 +26,7 @@
 
 <h3>Refinement of</h3>
 
-Copy Constructible
+Copy Constructible
 
 
 <h3>Notation</h3>

Copied: trunk/libs/property_map/doc/associative_property_map.html (from r53472, /trunk/libs/property_map/associative_property_map.html)
==============================================================================
--- /trunk/libs/property_map/associative_property_map.html (original)
+++ trunk/libs/property_map/doc/associative_property_map.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
@@ -10,7 +10,7 @@
 <Title>Iterator Property Map Adaptor</Title>
 <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
         ALINK="#ff0000">
-<IMG SRC="../../boost.png"
+<IMG SRC="../../../boost.png"
      ALT="C++ Boost" width="277" height="86">
 
 <BR Clear>
@@ -37,7 +37,7 @@
 
 <h3>Example</h3>
 
-example1.cpp:
+example1.cpp:
 <pre>#include &lt;iostream&gt;
 #include &lt;map&gt;
 #include &lt;string&gt;
@@ -85,7 +85,7 @@
 <H3>Where Defined</H3>
 
 <P>
-boost/property_map/property_map.hpp
+boost/property_map/property_map.hpp
 
 <p>
 <H3>Model Of</H3>

Copied: trunk/libs/property_map/doc/const_assoc_property_map.html (from r53472, /trunk/libs/property_map/const_assoc_property_map.html)
==============================================================================
--- /trunk/libs/property_map/const_assoc_property_map.html (original)
+++ trunk/libs/property_map/doc/const_assoc_property_map.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
@@ -10,7 +10,7 @@
 <Title>Iterator Property Map Adaptor</Title>
 <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
         ALINK="#ff0000">
-<IMG SRC="../../boost.png"
+<IMG SRC="../../../boost.png"
      ALT="C++ Boost" width="277" height="86">
 
 <BR Clear>
@@ -37,7 +37,7 @@
 
 <h3>Example</h3>
 
-example1.cpp:
+example1.cpp:
 <pre>
 <font color="#008040">#include &lt;iostream&gt;</font>
 <font color="#008040">#include &lt;map&gt;</font>
@@ -85,7 +85,7 @@
 <H3>Where Defined</H3>
 
 <P>
-boost/property_map/property_map.hpp
+boost/property_map/property_map.hpp
 
 <p>
 <H3>Model Of</H3>

Copied: trunk/libs/property_map/doc/identity_property_map.html (from r53472, /trunk/libs/property_map/identity_property_map.html)
==============================================================================
--- /trunk/libs/property_map/identity_property_map.html (original)
+++ trunk/libs/property_map/doc/identity_property_map.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
@@ -10,7 +10,7 @@
 <Title>Identity Property Map</Title>
 <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
         ALINK="#ff0000">
-<IMG SRC="../../boost.png"
+<IMG SRC="../../../boost.png"
      ALT="C++ Boost" width="277" height="86">
 
 <BR Clear>
@@ -27,7 +27,7 @@
 <H3>Where Defined</H3>
 
 <P>
-boost/property_map/property_map.hpp
+boost/property_map/property_map.hpp
 
 <h3>Model of</h3>
 

Copied: trunk/libs/property_map/doc/iterator_property_map.html (from r53472, /trunk/libs/property_map/iterator_property_map.html)
==============================================================================
--- /trunk/libs/property_map/iterator_property_map.html (original)
+++ trunk/libs/property_map/doc/iterator_property_map.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
@@ -10,7 +10,7 @@
 <Title>Iterator Property Map Adaptor</Title>
 <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
         ALINK="#ff0000">
-<IMG SRC="../../boost.png"
+<IMG SRC="../../../boost.png"
      ALT="C++ Boost" width="277" height="86">
 
 <BR Clear>
@@ -95,7 +95,7 @@
 <H3>Where Defined</H3>
 
 <P>
-boost/property_map/property_map.hpp
+boost/property_map/property_map.hpp
 
 <p>
 <H3>Model Of</H3>

Copied: trunk/libs/property_map/doc/property_map.html (from r53472, /trunk/libs/property_map/property_map.html)
==============================================================================
--- /trunk/libs/property_map/property_map.html (original)
+++ trunk/libs/property_map/doc/property_map.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
@@ -10,7 +10,7 @@
 <Title>Property Map Library</Title>
 <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
         ALINK="#ff0000">
-<IMG SRC="../../boost.png"
+<IMG SRC="../../../boost.png"
      ALT="C++ Boost" width="277" height="86">
 
 <BR Clear>
@@ -37,14 +37,14 @@
 
 <p>
 The need for the property map interface came from the <a
-href="../graph/doc/index.html">Boost Graph Library</a> (BGL), which
+href="../../graph/doc/index.html">Boost Graph Library</a> (BGL), which
 contains many examples of algorithms that use the property map
 concepts to specify their interface. For an example, note the
 <tt>ColorMap</tt> template parameter of the <a
-href="../graph/doc/breadth_first_search.html">
+href="../../graph/doc/breadth_first_search.html">
 <tt>breadth_first_search</tt></a>. In addition, the BGL contains many
 examples of concrete types that implement the property map interface.
-The <a href="../graph/doc/adjacency_list.html">
+The <a href="../../graph/doc/adjacency_list.html">
 <tt>adjacency_list</tt></a> class implements property maps for
 accessing objects (properties) that are attached to vertices and edges
 of the graph.
@@ -65,7 +65,7 @@
 <p>Property maps are statically-typed entities. If you need to access
 property maps in a more dynamic setting (e.g., because you're reading
 an unknown set of attributes from a file), you can use the <a
-href="doc/dynamic_property_map.html"><code>dynamic_properties</code></a>
+href="dynamic_property_map.html"><code>dynamic_properties</code></a>
 class to access a set of property maps through a dynamically-typed
 interface. </p>
 
@@ -75,7 +75,7 @@
 
 The property map interface consists of a set of concepts (see
 definition of &quot;concept&quot; in <a
-href="../concept_check/concept_check.htm#introduction">[1]</a> and <a
+href="../../concept_check/concept_check.htm#introduction">[1]</a> and <a
 href="http://www.sgi.com/tech/stl/stl_introduction.html">[2]</a>) that
 define a syntax for mapping key objects to corresponding value
 objects. Since the property map operations are global functions
@@ -85,7 +85,7 @@
 property map types and key types can be used. The interface for
 property maps consists of three functions: <tt>get()</tt>,
 <tt>put()</tt>, and <tt>operator[]</tt>. The following concrete
-example from example1.cpp shows how the
+example from example1.cpp shows how the
 three functions could be used to access the addresses associated with
 various people. We use a separate function template here to highlight
 the parts of the program that use the property map concept

Copied: trunk/libs/property_map/doc/ref_property_map.html (from r53472, /trunk/libs/property_map/ref_property_map.html)
==============================================================================
--- /trunk/libs/property_map/ref_property_map.html (original)
+++ trunk/libs/property_map/doc/ref_property_map.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
@@ -1,17 +1,17 @@
 <HTML>
 <!--
- -- Copyright 2006 The Trustees of Indiana University
- --
- -- Use, modification and distribution is subject to the Boost Software
- -- License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
- -- http://www.boost.org/LICENSE_1_0.txt)
- --
+ Copyright 2006 The Trustees of Indiana University
+
+ Use, modification and distribution is subject to the Boost Software
+ License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+ http://www.boost.org/LICENSE_1_0.txt)
+
   -->
 <Head>
 <Title>Reference Property Map</Title>
 <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
         ALINK="#ff0000">
-<IMG SRC="../../boost.png"
+<IMG SRC="../../../boost.png"
      ALT="C++ Boost" width="277" height="86">
 
 <BR Clear>
@@ -29,7 +29,7 @@
 <H3>Where Defined</H3>
 
 <P>
-boost/property_map/property_map.hpp
+boost/property_map/property_map.hpp
 
 <h3>Model of</h3>
 

Copied: trunk/libs/property_map/doc/vector_property_map.html (from r53472, /trunk/libs/property_map/vector_property_map.html)
==============================================================================
--- /trunk/libs/property_map/vector_property_map.html (original)
+++ trunk/libs/property_map/doc/vector_property_map.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
@@ -10,7 +10,7 @@
 <Title>Vector Property Map</Title>
 <BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
         ALINK="#ff0000">
-<IMG SRC="../../boost.png"
+<IMG SRC="../../../boost.png"
      ALT="C++ Boost" width="277" height="86">
 
 <BR Clear>
@@ -43,7 +43,7 @@
 
 <h3>Example</h3>
 
-example3.cpp:
+example3.cpp:
 
 <p>
 <pre>
@@ -68,7 +68,7 @@
 <H3>Where Defined</H3>
 
 <P>
-boost/property_map/vector_property_map.hpp
+boost/property_map/vector_property_map.hpp
 
 <p>
 <H3>Model Of</H3>

Deleted: trunk/libs/property_map/example1.cpp
==============================================================================
--- trunk/libs/property_map/example1.cpp 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
+++ (empty file)
@@ -1,48 +0,0 @@
-// (C) Copyright Jeremy Siek 2002.
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-
-#include <iostream>
-#include <map>
-#include <string>
-#include <boost/property_map/property_map.hpp>
-
-
-template <typename AddressMap>
-void foo(AddressMap address)
-{
- typedef typename boost::property_traits<AddressMap>::value_type value_type;
- typedef typename boost::property_traits<AddressMap>::key_type key_type;
-
- value_type old_address, new_address;
- key_type fred = "Fred";
- old_address = get(address, fred);
- new_address = "384 Fitzpatrick Street";
- put(address, fred, new_address);
-
- key_type joe = "Joe";
- value_type& joes_address = address[joe];
- joes_address = "325 Cushing Avenue";
-}
-
-int
-main()
-{
- std::map<std::string, std::string> name2address;
- boost::associative_property_map< std::map<std::string, std::string> >
- address_map(name2address);
-
- name2address.insert(make_pair(std::string("Fred"),
- std::string("710 West 13th Street")));
- name2address.insert(make_pair(std::string("Joe"),
- std::string("710 West 13th Street")));
-
- foo(address_map);
-
- for (std::map<std::string, std::string>::iterator i = name2address.begin();
- i != name2address.end(); ++i)
- std::cout << i->first << ": " << i->second << "\n";
-
- return EXIT_SUCCESS;
-}

Deleted: trunk/libs/property_map/example2.cpp
==============================================================================
--- trunk/libs/property_map/example2.cpp 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
+++ (empty file)
@@ -1,46 +0,0 @@
-// (C) Copyright Ronald Garcia, Jeremy Siek 2002.
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-
-#include <iostream>
-#include <map>
-#include <string>
-#include <boost/property_map/property_map.hpp>
-
-
-template <typename ConstAddressMap>
-void display(ConstAddressMap address)
-{
- typedef typename boost::property_traits<ConstAddressMap>::value_type
- value_type;
- typedef typename boost::property_traits<ConstAddressMap>::key_type key_type;
-
- key_type fred = "Fred";
- key_type joe = "Joe";
-
- value_type freds_address = get(address, fred);
- value_type joes_address = get(address, joe);
-
- std::cout << fred << ": " << freds_address << "\n"
- << joe << ": " << joes_address << "\n";
-}
-
-int
-main()
-{
- std::map<std::string, std::string> name2address;
- boost::const_associative_property_map< std::map<std::string, std::string> >
- address_map(name2address);
-
- name2address.insert(make_pair(std::string("Fred"),
- std::string("710 West 13th Street")));
- name2address.insert(make_pair(std::string("Joe"),
- std::string("710 West 13th Street")));
-
- display(address_map);
-
- return EXIT_SUCCESS;
-}
-
-

Deleted: trunk/libs/property_map/example3.cpp
==============================================================================
--- trunk/libs/property_map/example3.cpp 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
+++ (empty file)
@@ -1,21 +0,0 @@
-// Copyright Vladimir Prus 2003.
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt
-// or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#include <boost/property_map/vector_property_map.hpp>
-#include <string>
-#include <iostream>
-
-int main()
-{
- boost::vector_property_map<std::string> m;
-
- // Assign string to '4'.
- m[4] = "e";
- std::cout << "'" << m[4] << "'\n";
-
- // Grab string from '10'. Since none is associated,
- // "" will be returned.
- std::cout << "'" << m[10] << "'\n";
-}

Deleted: trunk/libs/property_map/identity_property_map.html
==============================================================================
--- trunk/libs/property_map/identity_property_map.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
+++ (empty file)
@@ -1,145 +0,0 @@
-<HTML>
-<!--
- Copyright (c) Jeremy Siek, Lie-Quan Lee, and Andrew Lumsdaine 2000
-
- Distributed under the Boost Software License, Version 1.0.
- (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt)
- -->
-<Head>
-<Title>Identity Property Map</Title>
-<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
- ALINK="#ff0000">
-<IMG SRC="../../boost.png"
- ALT="C++ Boost" width="277" height="86">
-
-<BR Clear>
-
-<H2><A NAME="sec:identity-property-map"></A>
-</h2>
-<PRE>
-identity_property_map
-</PRE>
-
-This property map applies the identity function, that is, it just
-returns a copy of the key object that was input.
-
-<H3>Where Defined</H3>
-
-<P>
-boost/property_map/property_map.hpp
-
-<h3>Model of</h3>
-
-Readable Property Map
-
-<h3>Associated Types</h3>
-
-<table border>
-<tr>
-<th>Type</th><th>Description</th>
-</tr>
-
-<tr>
-<td><tt>
-boost::property_traits&lt;identity_property_map&gt;::value_type
-</tt></td>
-<td>
-This type is <tt>std::size_t</tt>; the map functions are templated.
-</td>
-</tr>
-
-<tr>
-<td><tt>
-boost::property_traits&lt;identity_property_map&gt;::key_type
-</tt></td>
-<td>
-This type is <tt>std::size_t</tt>; the map functions are templated.
-</td>
-</tr>
-
-<tr>
-<td><tt>
-boost::property_traits&lt;identity_property_map&gt;::category
-</tt></td>
-<td>
-This type is <tt>boost::readable_op_bracket_tag</tt>.
-</td>
-</tr>
-
-</table>
-
-<h3>Member Functions</h3>
-
-<table border>
-<tr>
-<th>Member</th><th>Description</th>
-</tr>
-
-
-<tr>
-<td><tt>
-identity_property_map()
-</tt></td>
-<td>
-Default constructor.
-</td>
-</tr>
-
-<tr>
-<td><tt>
-identity_property_map(const identity_property_map&amp; x)
-</tt></td>
-<td>
-Copy constructor.
-</td>
-</tr>
-
-<tr>
-<td><tt>
-template &lt;class T&gt;<br>
-T operator[](T x) const
-</tt></td>
-<td>
-Returns a copy of object <tt>x</tt>.
-</td>
-</tr>
-
-</table>
-
-<h3>Non-Member Functions</h3>
-
-<table border>
-<tr>
-<th>Member</th><th>Description</th>
-</tr>
-
-<tr>
-<td><tt>
-template &lt;class T&gt;<br>
-T get(const identity_property_map& pmap, T x)
-</tt></td>
-<td>
-Returns a copy of object <tt>x</tt>.
-</td>
-</tr>
-
-</table>
-
-
-<br>
-<HR>
-<TABLE>
-<TR valign=top>
-<TD nowrap>Copyright &copy 2000</TD><TD>
-Jeremy Siek,
-Univ.of Notre Dame (<A
-HREF="mailto:jsiek_at_[hidden]">jsiek_at_[hidden]</A>)<br>
-<A HREF="http://www.boost.org/people/liequan_lee.htm">Lie-Quan Lee</A>, Univ.of Notre Dame (<A HREF="mailto:llee1_at_[hidden]">llee1_at_[hidden]</A>)<br>
-Andrew Lumsdaine,
-Univ.of Notre Dame (<A
-HREF="mailto:lums_at_[hidden]">lums_at_[hidden]</A>)
-</TD></TR></TABLE>
-
-</BODY>
-</HTML>

Modified: trunk/libs/property_map/index.html
==============================================================================
--- trunk/libs/property_map/index.html (original)
+++ trunk/libs/property_map/index.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
@@ -1,13 +1,13 @@
 <html>
 <head>
-<meta http-equiv="refresh" content="0; URL=property_map.html">
+<meta http-equiv="refresh" content="0; URL=doc/property_map.html">
 </head>
 <body>
 Automatic redirection failed, please go to
-property_map.html.&nbsp;<hr>
-<p>© Copyright Beman Dawes, 2001</p>
+doc/property_map.html.&nbsp;<hr>
+<p>&copy; Copyright Beman Dawes, 2001</p>
 <p>Distributed under the Boost Software License, Version 1.0. (See accompanying
 file LICENSE_1_0.txt or copy
 at www.boost.org/LICENSE_1_0.txt)</p>
 </body>
-</html>
\ No newline at end of file
+</html>

Deleted: trunk/libs/property_map/iterator_property_map.html
==============================================================================
--- trunk/libs/property_map/iterator_property_map.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
+++ (empty file)
@@ -1,234 +0,0 @@
-<HTML>
-<!--
- Copyright (c) Jeremy Siek, Lie-Quan Lee, and Andrew Lumsdaine 2000
-
- Distributed under the Boost Software License, Version 1.0.
- (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt)
- -->
-<Head>
-<Title>Iterator Property Map Adaptor</Title>
-<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
- ALINK="#ff0000">
-<IMG SRC="../../boost.png"
- ALT="C++ Boost" width="277" height="86">
-
-<BR Clear>
-
-
-<H2><A NAME="sec:iterator-property-map"></A>
-</h2>
-<PRE>
-iterator_property_map&lt;RandomAccessIterator, OffsetMap, T, R&gt;
-</PRE>
-
-<P>
-This property map is an adaptor that converts any random access
-iterator into a <a
-href="./LvaluePropertyMap.html">Lvalue Property Map</a>.
-The <tt>OffsetMap</tt> type is responsible for converting
-key objects to integers that can be used as offsets with the
-random access iterator.
-
-<P>
-
-<h3>Example</h3>
-
-<pre>
-// print out the capacity and flow for all the edges in the graph
-template &lt;class Graph, class CapacityPMap, class FlowPMap&gt;
-void print_network(Graph&amp; G, CapacityPMap capacity, FlowPMap flow)
-{
- typedef typename boost::graph_traits&lt;Graph&gt;::vertex_iterator Viter;
- typedef typename boost::graph_traits&lt;Graph&gt;::out_edge_iterator OutEdgeIter;
- typedef typename boost::graph_traits&lt;Graph&gt;::in_edge_iterator InEdgeIter;
-
- Viter ui, uiend;
- for (boost::tie(ui, uiend) = vertices(G); ui != uiend; ++ui) {
- OutEdgeIter out, out_end;
- std::cout &lt;&lt; *ui &lt;&lt; &quot;\t&quot;;
-
- for(boost::tie(out, out_end) = out_edges(*ui, G); out != out_end; ++out)
- std::cout &lt;&lt; &quot;--(&quot; &lt;&lt; get(capacity, *out) &lt;&lt; &quot;, &quot;
- &lt;&lt; get(flow, *out) &lt;&lt; &quot;)--&gt; &quot; &lt;&lt; target(*out,G) &lt;&lt; &quot;\t&quot;;
- std::cout &lt;&lt; std::endl &lt;&lt; &quot;\t&quot;;
-
- InEdgeIter in, in_end;
- for(boost::tie(in, in_end) = in_edges(*ui, G); in != in_end; ++in)
- std::cout &lt;&lt; &quot;&lt;--(&quot; &lt;&lt; get(capacity, *in) &lt;&lt; &quot;,&quot; &lt;&lt; get(flow, *in) &lt;&lt; &quot;)-- &quot;
- &lt;&lt; source(*in,G) &lt;&lt; &quot;\t&quot;;
- std::cout &lt;&lt; std::endl;
- }
-}
-
-int main(int, char*[])
-{
- typedef boost::adjacency_list&lt;boost::vecS, boost::vecS,
- boost::bidirectionalS, boost::no_plugin,
- boost::plugin&lt;boost::id_tag, std::size_t&gt; &gt; Graph;
-
- const int num_vertices = 9;
- Graph G(num_vertices);
-
- int capacity[] = { 10, 20, 20, 20, 40, 40, 20, 20, 20, 10 };
- int flow[] = { 8, 12, 12, 12, 12, 12, 16, 16, 16, 8 };
-
- // add edges to the graph, and assign each edge an ID number
- // to index into the property arrays
- add_edge(G, 0, 1, 0);
- // ...
-
- typedef boost::graph_traits&lt;Graph&gt;::edge_descriptor Edge;
- typedef boost::property_map&lt;Graph, boost::id_tag&gt;::type EdgeID_PMap;
- EdgeID_PMap edge_id = get(boost::edge_index(), G);
-
- boost::iterator_property_map&lt;int*, EdgeID_PMap, int, int&amp;&gt;
- capacity_pa(capacity, edge_id),
- flow_pa(flow, edge_id);
-
- print_network(G, capacity_pa, flow_pa);
-
- return 0;
-}
-</pre>
-
-<H3>Where Defined</H3>
-
-<P>
-boost/property_map/property_map.hpp
-
-<p>
-<H3>Model Of</H3>
-
-Lvalue Property Map
-
-<P>
-
-<H3>Template Parameters</H3>
-
-<P>
-
-<TABLE border>
-<TR>
-<th>Parameter</th><th>Description</th><th>Default</th>
-</tr>
-
-
-<TR>
-<TD><TT>Iterator</TT></TD>
-<TD>Must be a model of Random Access Iterator.</TD>
-<TD>&nbsp;</td>
-</tr>
-
-<TR>
-<TD><TT>OffsetMap</TT></TD> <TD>Must be a model of <a
-href="./ReadablePropertyMap.html">Readable Property Map</a>
-and the value type must be convertible to the difference type of the
-iterator.</TD> <TD>&nbsp;</TD>
-</TR>
-
-<TR>
-<TD><TT>T</TT></TD>
-<TD>The value type of the iterator.</TD>
-<TD><TT>std::iterator_traits&lt;RandomAccessIterator&gt;::value_type</TT></TD>
-</TR>
-
-
-<TR>
-<TD><TT>R</TT></TD>
-<TD>The reference type of the iterator.</TD>
-<TD><TT>std::iterator_traits&lt;RandomAccessIterator&gt;::reference</TT></TD>
-</TR>
-
-</TABLE>
-<P>
-
-<H3>Members</H3>
-
-<P>
-In addition to the methods and functions required by <a
-href="./LvaluePropertyMap.html">Lvalue Property Map</a>, this
-class has the following members.
-
-<hr>
-
-<pre>
-property_traits&lt;iterator_property_map&gt;::value_type
-</pre>
-This is the same type as
-<TT>std::iterator_traits&lt;Iterator&gt;::value_type</TT>.
-
-<hr>
-
-<pre>
-iterator_property_map(Iterator i)
-</pre>
-Constructor. The OffsetMap is default constructed.
-
-<hr>
-
-<pre>
-iterator_property_map(Iterator i, OffsetMap m)
-</pre>
-Constructor.
-
-<hr>
-
-<pre>
-reference operator[](difference_type v) const
-</pre>
-The operator bracket for property access. The <TT>reference</TT> and
-<TT>difference_type</TT> types are from
-<TT>std::iterator_traits&lt;Iterator&gt;</TT>.
-
-<hr>
-
-<h3>Non-Member functions</h3>
-
-<hr>
-
-<pre>
- template &lt;class RAIter, class OffsetMap&gt;
- iterator_property_map&lt;RAIter, OffsetMap,
- typename std::iterator_traits&lt;RAIter&gt;::value_type,
- typename std::iterator_traits&lt;RAIter&gt;::reference
- &gt;
- make_iterator_property_map(RAIter iter, OffsetMap omap)
-</pre>
-A function for conveniently creating an iterator map.
-
-
-<hr>
-
-<pre>
- template &lt;class RAIter, class OffsetMap, class ValueType&gt;
- iterator_property_map&lt;RAIter, OffsetMap,
- typename std::iterator_traits&lt;RAIter&gt;::value_type,
- typename std::iterator_traits&lt;RAIter&gt;::reference
- &gt;
- make_iterator_property_map(RAIter iter, OffsetMap omap, ValueType dummy_arg)
-</pre>
-Use this function instead of the 2-argument version if
-your compiler does not support partial specialization
-(like Visual C++).
-
-
-<hr>
-
-
-<br>
-<HR>
-<TABLE>
-<TR valign=top>
-<TD nowrap>Copyright &copy 2000-2002</TD><TD>
-Jeremy Siek,
-Univ.of Notre Dame (<A
-HREF="mailto:jsiek_at_[hidden]">jsiek_at_[hidden]</A>)<br>
-<A HREF="http://www.boost.org/people/liequan_lee.htm">Lie-Quan Lee</A>, Univ.of Notre Dame (<A HREF="mailto:llee1_at_[hidden]">llee1_at_[hidden]</A>)<br>
-Andrew Lumsdaine,
-Univ.of Notre Dame (<A
-HREF="mailto:lums_at_[hidden]">lums_at_[hidden]</A>)
-</TD></TR></TABLE>
-
-</BODY>
-</HTML>

Deleted: trunk/libs/property_map/property_map.html
==============================================================================
--- trunk/libs/property_map/property_map.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
+++ (empty file)
@@ -1,334 +0,0 @@
-<HTML>
-<!--
- Copyright (c) Jeremy Siek 2000
-
- Distributed under the Boost Software License, Version 1.0.
- (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt)
- -->
-<Head>
-<Title>Property Map Library</Title>
-<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
- ALINK="#ff0000">
-<IMG SRC="../../boost.png"
- ALT="C++ Boost" width="277" height="86">
-
-<BR Clear>
-
-<H1><A NAME="sec:property-maps"></A>
-Boost Property Map Library
-</H1>
-
-<p>The Boost Property Map Library consists mainly of interface
-specifications in the form of concepts (similar to the iterator
-concepts in the STL <a
-href="http://www.sgi.com/tech/stl/stl_introduction.html">[2]</a>).
-These interface specifications are intended for use by implementors of
-generic libraries in communicating requirements on template parameters
-to their users. In particular, the Boost Property Map concepts define
-a general purpose interface for mapping key objects to corresponding
-value objects, thereby hiding the details of how the mapping is
-implemented from algorithms. The implementation of types fulfilling
-the property map interface is up to the client of the algorithm to
-provide. The property map requirements are purposefully vague on the
-type of the key and value objects to allow for the utmost genericity
-in the function templates of the generic library.
-</p>
-
-<p>
-The need for the property map interface came from the <a
-href="../graph/doc/index.html">Boost Graph Library</a> (BGL), which
-contains many examples of algorithms that use the property map
-concepts to specify their interface. For an example, note the
-<tt>ColorMap</tt> template parameter of the <a
-href="../graph/doc/breadth_first_search.html">
-<tt>breadth_first_search</tt></a>. In addition, the BGL contains many
-examples of concrete types that implement the property map interface.
-The <a href="../graph/doc/adjacency_list.html">
-<tt>adjacency_list</tt></a> class implements property maps for
-accessing objects (properties) that are attached to vertices and edges
-of the graph.
-</p>
-
-<p>
-The Boost Property Map Library also contains a <a
-href="#sec:property-map-types"> few adaptors</a> that convert commonly
-used data-structures that implement a mapping operation, such as
-builtin arrays (pointers), iterators, and <a
-href="http://www.sgi.com/tech/stl/Map.html"> <tt>std::map</tt></a>, to
-have the property map interface. These adaptors are not meant to
-fulfill all mapping needs, but are to serve as an example of how to
-implement the interface as well as covering a few common cases. See
-the header files for details.
-</p>
-
-<p>Property maps are statically-typed entities. If you need to access
-property maps in a more dynamic setting (e.g., because you're reading
-an unknown set of attributes from a file), you can use the <a
-href="doc/dynamic_property_map.html"><code>dynamic_properties</code></a>
-class to access a set of property maps through a dynamically-typed
-interface. </p>
-
-<h2><A NAME="sec:property-map-concepts"></A>
-Property Map Concepts
-</h2>
-
-The property map interface consists of a set of concepts (see
-definition of &quot;concept&quot; in <a
-href="../concept_check/concept_check.htm#introduction">[1]</a> and <a
-href="http://www.sgi.com/tech/stl/stl_introduction.html">[2]</a>) that
-define a syntax for mapping key objects to corresponding value
-objects. Since the property map operations are global functions
-(actually they don't have to be global, but they are always called
-unqualified and may be found via argument dependent lookup), it is
-possible to overload the map functions such that nearly arbitrary
-property map types and key types can be used. The interface for
-property maps consists of three functions: <tt>get()</tt>,
-<tt>put()</tt>, and <tt>operator[]</tt>. The following concrete
-example from example1.cpp shows how the
-three functions could be used to access the addresses associated with
-various people. We use a separate function template here to highlight
-the parts of the program that use the property map concept
-interface. In the <tt>main()</tt> function we use <tt>std::map</tt>
-and <tt>boost::associative_property_map</tt>, but it would have been
-OK to use any type (including a custom type that you create) that
-fulfills the property map requirements.
-
-<pre>#include &lt;iostream&gt;
-#include &lt;map&gt;
-#include &lt;string&gt;
-#include &lt;boost/property_map/property_map.hpp&gt;
-
-
-template &lt;typename AddressMap&gt;
-void foo(AddressMap address)
-{
- typedef typename boost::property_traits&lt;AddressMap&gt;::value_type value_type;
- typedef typename boost::property_traits&lt;AddressMap&gt;::key_type key_type;
-
- value_type old_address, new_address;
- key_type fred = &quot;Fred&quot;;
- old_address = get(address, fred);
- new_address = &quot;384 Fitzpatrick Street&quot;;
- put(address, fred, new_address);
-
- key_type joe = &quot;Joe&quot;;
- value_type&amp; joes_address = address[joe];
- joes_address = &quot;325 Cushing Avenue&quot;;
-}
-
-int
-main()
-{
- std::map&lt;std::string, std::string&gt; name2address;
- boost::associative_property_map&lt; std::map&lt;std::string, std::string&gt; &gt;
- address_map(name2address);
-
- name2address.insert(make_pair(std::string(&quot;Fred&quot;),
- std::string(&quot;710 West 13th Street&quot;)));
- name2address.insert(make_pair(std::string(&quot;Joe&quot;),
- std::string(&quot;710 West 13th Street&quot;)));
-
- foo(address_map);
-
- for (std::map&lt;std::string, std::string&gt;::iterator i = name2address.begin();
- i != name2address.end(); ++i)
- std::cout &lt;&lt; i-&gt;first &lt;&lt; &quot;: &quot; &lt;&lt; i-&gt;second &lt;&lt; &quot;\n&quot;;
-
- return EXIT_SUCCESS;
-}</pre>
-
-<p>
-For each property map object there is a set of <i>valid keys</i>
-for which the mapping to value objects is defined. Invoking a
-property map function on an <i>invalid</i> key results in
-undefined behavior. The property map concepts do not specify how
-this set of valid keys is created or modified. A function that uses a
-property map must specify the expected set of valid keys in its
-preconditions.
-
-<p>
-The need for property maps came out of the design of the Boost
-Graph Library, whose algorithms needed an interface for accessing
-properties attached to vertices and edges in a graph. In this context
-the vertex and edge descriptors are the key type of the property
-maps.
-
-<!-- historical note about Decorators and Data Maps -->
-
-<P>
-Several categories of property maps provide
-different access capabilities:
-<DL>
-<DT><STRONG>readable</STRONG></DT>
-<DD>The associated property data can only be read.
- The data is returned by-value. Many property maps defining the
- problem input (such as edge weight) can be defined as readable
- property maps.
-
-<P>
-</DD>
-<DT><STRONG>writeable</STRONG></DT>
-<DD>The associated property can only be written to.
- The parent array used to record the paths in a bread-first search tree
- is an example of a property map that would be defined writeable.
-
-<P>
-</DD>
-<DT><STRONG>read/write</STRONG></DT>
-<DD>The associated property can both be written and read.
- The distance property use in Dijkstra's shortest paths algorithm
- would need to provide both read and write capabilities.
-
-<P>
-</DD>
-<DT><STRONG>lvalue</STRONG></DT>
-<DD>The associated property is actually represented in
- memory and it is possible to get a reference to it.
- The property maps in the lvalue
- category also support the requirements for read/write property
- maps.
-
-<P>
-</DD>
-</DL>
-
-<P>
-There is a separate concept defined for each of the four property
-map categories. These property map concepts are listed
-below, with links to the documentation for each of them.
-
-<ul>
-<li>ReadablePropertyMap</li>
-<li>WritablePropertyMap</li>
-<li>ReadWritePropertyMap</li>
-<li>LvaluePropertyMap</li>
-</ul>
-
-<h2><a name="sec:property-map-tags">Property Map Category Tags</a></h2>
-
-<P>
-There is a tag struct for each of the categories of property
-maps, which is defined in the header
-<tt>&lt;boost/property_map/property_map.hpp&gt;</tt>.
-
-<PRE>namespace boost {
-
- struct readable_property_map_tag { };
-
- struct writable_property_map_tag { };
-
- struct read_write_property_map_tag :
- public readable_property_map_tag,
- public writable_property_map_tag { };
-
- struct lvalue_property_map_tag :
- public read_write_property_map_tag { };
-
-}</PRE>
-
-<h2><a name="sec:property-map-traits">Property Map Traits</a></h2>
-
-<P>
-Similar to the <TT>std::iterator_traits</TT> class of the STL, there
-is a <TT>boost::property_traits</TT> class that can be used to deduce
-the types associated with a property map type: the key and value
-types, and the property map category. There is a specialization
-of <TT>boost::property_traits</TT> so that pointers can be used as
-property map objects. In addition, the property map
-functions are overloaded for pointers. These traits classes and
-functions are defined in <tt>&lt;boost/property_map/property_map.hpp&gt;</tt>.
-
-<PRE>namespace boost {
-
- template &lt;typename PropertyMap&gt;
- struct property_traits {
- typedef typename PropertyMap::key_type key_type;
- typedef typename PropertyMap::value_type value_type;
- typedef typename PropertyMap::category category;
- };
-
-}</PRE>
-
-<h2><a name="sec:property-map-types">Property Map Types</a></h2>
-
-<ul>
- <li>Builtin C++ pointer types.<br>
-
- The following specialization of the <tt>property_traits</tt> class
- and the overloads of <tt>put()</tt> and <tt>get()</tt> make it
- possible to use builtin C++ pointer types as property maps. These
- are defined in <tt>boost/property_map/property_map.hpp</tt>. More specifically,
- it means that <tt>T*</tt> is a model of <a
- href="./LvaluePropertyMap.html">LvaluePropertyMap</a>, given a key
- type that is at least convertible <tt>std::ptrdiff_t</tt>.
-
-<PRE>namespace boost {
- // specialization for using pointers as property maps
- template &lt;typename T&gt;
- struct property_traits&lt;T*&gt; {
- typedef T value_type;
- typedef std::ptrdiff_t key_type;
- typedef random_access_iterator_pa_tag category;
- };
-
- // overloads of the property map functions for pointers
- template&lt;&gt;
- void put(T* pmap, std::ptrdiff_t k, const T&amp; val) { pmap[k] = val; }
-
- template&lt;&gt;
- const T&amp; get(const T* pmap, std::ptrdiff_t k) { return pmap[k]; }
-
-}</PRE>
- </li>
- <li>identity_property_map </li>
- <li>iterator_property_map</li>
- <li>associative_property_map</li>
- <li>const_associative_property_map</li>
- <li>vector_property_map</li>
- <li>ref_property_map </li>
-</ul>
-
-<h3>History</h3>
-
-The property map interface originated as <i>data accessors</i> in
-Dietmar K&uuml;hl's Masters Thesis on generic graph algorithms. The
-property map idea also appeared under the guise of <i>decorators</i>
-in early versions of the Generic Graph Component Library (GGCL), which
-is now the Boost Graph Library (BGL). The main motivation for the
-property map interface was to support the access of data associated
-with vertices and edges in a graph, though the applicability of
-property maps goes beyond this.
-
-<h3>Acknowledgments</h3>
-
-Thanks go to Dietmar K&uuml;hl for coming up with this mechanism, and
-thanks go to the Boost members who helped refine and improve the
-property map interface. Thanks to Dave Abrahams for managing the
-formal review of the BGL which included the property map library.
-
-<h3>Notes to Implementors</h3>
-
-Copying a property map should be inexpensive since they are often
-passed by value.
-
-<br>
-<HR>
-<TABLE>
-<TR valign=top>
-<TD nowrap>Copyright &copy 2000-2002</TD><TD>
-<a HREF="http://www.boost.org/people/jeremy_siek.htm">Jeremy Siek</a>, Indiana University (<A HREF="mailto:jsiek_at_[hidden]">jsiek_at_[hidden]</A>)
-</TD></TR></TABLE>
-
-</BODY>
-</HTML>
-<!-- LocalWords: ALT STL html genericity BGL ColorMap htm cpp iostream hpp hl
- -->
-<!-- LocalWords: typename AddressMap foo fred joe joes int writeable lvalue
- -->
-<!-- LocalWords: ReadablePropertyMap WritablePropertyMap ReadWritePropertyMap
- -->
-<!-- LocalWords: LvaluePropertyMap struct namespace PropertyMap pmap const
- -->
-<!-- LocalWords: val Dietmar hl's GGCL Abrahams
- -->

Deleted: trunk/libs/property_map/ref_property_map.html
==============================================================================
--- trunk/libs/property_map/ref_property_map.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
+++ (empty file)
@@ -1,114 +0,0 @@
-<HTML>
-<!--
- -- Copyright 2006 The Trustees of Indiana University
- --
- -- Use, modification and distribution is subject to the Boost Software
- -- License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
- -- http://www.boost.org/LICENSE_1_0.txt)
- --
- -->
-<Head>
-<Title>Reference Property Map</Title>
-<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
- ALINK="#ff0000">
-<IMG SRC="../../boost.png"
- ALT="C++ Boost" width="277" height="86">
-
-<BR Clear>
-
-<H2><A NAME="sec:identity-property-map"></A>
-</h2>
-<PRE>
-template &lt;typename KeyType, typename ValueType&gt;
-class ref_property_map
-</PRE>
-
-This property map wraps a reference to some particular object, and
-returns that reference whenever a key object is input.
-
-<H3>Where Defined</H3>
-
-<P>
-boost/property_map/property_map.hpp
-
-<h3>Model of</h3>
-
-Lvalue Property Map
-
-<h3>Associated Types</h3>
-
-<table border>
-<tr>
-<th>Type</th><th>Description</th>
-</tr>
-
-<tr>
-<td><tt>
-boost::property_traits&lt;ref_property_map&gt;::value_type
-</tt></td>
-<td>
-This type is the <tt>ValueType</tt> with which the template instantiated.
-</td>
-</tr>
-
-<tr>
-<td><tt>
-boost::property_traits&lt;ref_property_map&gt;::key_type
-</tt></td>
-<td>
-This type is the <tt>KeyType</tt> with which the template instantiated.
-</td>
-</tr>
-
-<tr>
-<td><tt>
-boost::property_traits&lt;ref_property_map&gt;::category
-</tt></td>
-<td>
-This type is <tt>boost::lvalue_property_map_tag</tt>.
-</td>
-</tr>
-
-</table>
-
-<h3>Member Functions</h3>
-
-<table border>
-<tr>
-<th>Member</th><th>Description</th>
-</tr>
-
-
-<tr>
-<td><tt>
-ref_property_map(ValueType&amp; v)
-</tt></td>
-<td>
-The constructor for ref_property_map is provided the reference that
-the property map will return when queried.
-</td>
-</tr>
-
-<tr>
-<td><tt>
-ref_property_map(const ref_property_map&amp; x)
-</tt></td>
-<td>
-Copy constructor.
-</td>
-</tr>
-
-<tr>
-<td><tt>
-ValueType&amp; operator[](KeyType const&amp;) const
-</tt></td>
-<td>
-Returns the contained reference.
-</td>
-</tr>
-
-</table>
-
-
-</BODY>
-</HTML>

Deleted: trunk/libs/property_map/vector_property_map.html
==============================================================================
--- trunk/libs/property_map/vector_property_map.html 2009-05-30 21:27:24 EDT (Sat, 30 May 2009)
+++ (empty file)
@@ -1,221 +0,0 @@
-<HTML>
-<!--
- Copyright (c) Jeremy Siek, Lie-Quan Lee, and Andrew Lumsdaine 2000
-
- Distributed under the Boost Software License, Version 1.0.
- (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt)
- -->
-<Head>
-<Title>Vector Property Map</Title>
-<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
- ALINK="#ff0000">
-<IMG SRC="../../boost.png"
- ALT="C++ Boost" width="277" height="86">
-
-<BR Clear>
-
-
-<H2><A NAME="sec:vector-property-map"></A>
-</h2>
-<PRE>
-template&lt;typename T, typename IndexMap = identity_property_map&gt;
-class vector_property_map;
-</PRE>
-
-<P>
-This property map is used to efficiently store properties for a variable
-number of elements. It's somewhere between <a
-href="associative_property_map.html">associative_property_map</a> and
-iterator_property_map. The latter
-is very fast, but requires that the number of stored elements is known
-when creating property map. The former does not have this requirement, but
-is slower, and requires stored elements to be comparable.
-
-<p>
-The <tt>vector_property_map</tt> uses mapping from key to indices,
-and allows to add new elements. It accoplishes this by storing values
-in a vector, which is resized on demand.
-
-<p>
-Note that <tt>vector_property_map</tt> does not provide reference/pointer
-stability for stored values.
-
-<h3>Example</h3>
-
-example3.cpp:
-
-<p>
-<pre>
-#include &lt;boost/property_map/vector_property_map.hpp&gt;
-#include &lt;string&gt;
-#include &lt;iostream&gt;
-
-int main()
-{
- boost::vector_property_map&lt;std::string&gt; m;
-
- // Assign string to '4'.
- m[4] = &quot;e&quot;;
- std::cout &lt;&lt; &quot;'&quot; &lt;&lt; m[4] &lt;&lt; &quot;'\n&quot;;
-
- // Grab string from '10'. Since none is associated,
- // &quot;&quot; will be returned.
- std::cout &lt;&lt; &quot;'&quot; &lt;&lt; m[10] &lt;&lt; &quot;'\n&quot;;
-}
-</pre>
-
-<H3>Where Defined</H3>
-
-<P>
-boost/property_map/vector_property_map.hpp
-
-<p>
-<H3>Model Of</H3>
-
-Lvalue Property Map
-
-<P>
-
-<H3>Template Parameters</H3>
-
-<P>
-
-<TABLE border>
-<TR>
-<th>Parameter</th><th>Description</th><th>Default</th>
-</tr>
-
-
-<TR>
-<TD><TT>T</TT></TD>
-<TD>The type of property value. Must be both <a
-href="http://www.sgi.com/tech/stl/Assignable.html">Assignable</a>
-and <a
-href="http://www.sgi.com/tech/stl/DefaultConstructible.html">DefaultConstructible</a>.
-</TD>
-<TD>&nbsp;</td>
-</tr>
-
-<TR>
-<TD><TT>IndexMap</TT></TD> <TD>Must be a model of <a
-href="./ReadablePropertyMap.html">Readable Property Map</a>
-and the value type must be convertible to
-<tt>std::vector&lt;T&gt;::size_type</tt>.</TD>
-<TD>identity_property_map</TD>
-</TR>
-
-</TABLE>
-<P>
-
-<H3>Members</H3>
-
-<P>
-In addition to the methods and functions required by <a
-href="./LvaluePropertyMap.html">Lvalue Property Map</a>, this
-class has the following members.
-
-<hr>
-
-<pre>
-vector_property_map(const IndexMap& index = IndexMap())
-</pre>
-Constructor which takes an index map.
-
-<hr>
-
-<pre>
-vector_property_map(unsigned initial_size, const IndexMap& index = IndexMap())
-</pre>
-This constructor version allows to specify maximum index of element
-that will be stored. Correct number will improve performance, but semantic
-is always the same.
-
-<hr>
-
-<pre>
-vector_property_map(const vector_property_map&amp;)
-</pre>
-Copy constructor. The copy will share the same data and changes
-made to it will affect original property map.
-
-<hr>
-
-<pre>
-vector_property_map&amp; operator=(const vector_property_map&amp;)
-</pre>
-Assignment operator. The semantic is the same as for copy constructor.
-
-<hr>
-
-<pre>
-reference operator[](const key_type&amp; v) const
-</pre>
-The operator bracket for property access.
-
-<hr>
-
-<pre>
-std::vector&lt;T&gt;::iterator storage_begin()
-std::vector&lt;T&gt;::iterator storage_end()
-std::vector&lt;T&gt;::const_iterator storage_begin()
-std::vector&lt;T&gt;::const_iterator storage_end()
-</pre>
-
-<p>This group of methods gives access to begin and end iterators of the
-underlying vector.</p>
-
-<p><b>Rationale:</b> The methods are handy, for example, when it's needed to
-specify a single value for all elements in a freshly created property map. The
-methods are not called simply &quot;begin&quot; and &quot;end&quot; since
-conceptually, <tt>vector_property_map</tt> is unbounded map, and has no end
-iterator. The direct access to the underlying method is not provided, since
-it would decrease encapsulation and make future performance tuning dangerous.
-
-<p><b>Acknolegements:</b> Matthias Troyer suggested adding those functions.
-
-<hr>
-
-<pre>
-void reserve(unsigned size)
-</pre>
-Reserve the space for storing elements with maximum index of 'size'. Unless
-element with greater index is accesses, all accesses will be take O(1) time.
-
-
-<hr>
-
-<h3>Non-Member functions</h3>
-
-<hr>
-
-<pre>
-template<typename T, typename IndexMap>
-vector_property_map<T, IndexMap>
-make_vector_property_map(IndexMap index)
-{
- return vector_property_map<T, IndexMap>(index);
-}
-</pre>
-A function for conveniently creating a vector property map.
-
-<br>
-<HR>
-<TABLE>
-<TR valign=top>
-<TD nowrap>Copyright &copy 2002</TD><TD>
-Jeremy Siek,
-Indiana University (<A
-HREF="mailto:jsiek_at_[hidden]">jsiek_at_[hidden]</A>)<br>
-<A HREF="http://www.boost.org/people/liequan_lee.htm">Lie-Quan Lee</A>, Indiana University (<A HREF="mailto:llee1_at_[hidden]">llee1_at_[hidden]</A>)<br>
-Andrew Lumsdaine,
-Indiana University (<A
-HREF="mailto:lums_at_[hidden]">lums_at_[hidden]</A>)
-</TD></TR>
-<tr>
-<td nowrap>Copyright &copy; 2003</td><td>Vladimir Prus</td>
-</tr>
-</TABLE>
-
-</BODY>
-</HTML>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk