LEMUR Packages: ompl_lemur or_lemur pr_bgl prpy_lemur
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
pr_bgl::vector_ref_property_map< T > Class Template Reference

Readable property map adaptor for a vector. More...

#include <vector_ref_property_map.h>

Public Types

typedef
boost::readable_property_map_tag 
category
 
typedef size_t key_type
 
typedef T value_type
 
typedef T reference
 

Public Member Functions

 vector_ref_property_map (std::vector< T > &vec)
 

Public Attributes

std::vector< T > & vec
 

Detailed Description

template<typename T>
class pr_bgl::vector_ref_property_map< T >

Readable property map adaptor for a vector.

This is similar to boost::iterator_property_map, except that it holds a reference to the vector, instead of the begin iterator. This allows the map to continue to work even if the referenced vector is modified.


The documentation for this class was generated from the following file: