C++ Boost

property_map<PropertyGraph, Property>

This is the traits class that produces the type for a property map object for a particular graph type. The property is specified by the Property template parameter. Graph classes must specialize this traits class to provide their own implementation for property maps.
  template <class Graph, class Property>
  struct property_map {
    typedef ... type;
    typedef ... const_type;
  };

Where Defined

boost/graph/properties.hpp

Associated Types

Map Type type The (mutable) property map type for mapping vertex or edge desriptors of the graph to their associated property values, where the property is specified by Property. This type is a property map.
Const Map Type const_type The (non-mutable) property map type for mapping vertex or edge desriptors of the graph to their associated property values, where the property is specified by Property. This type is a property map.


Copyright © 2000 Jeremy Siek, Univ.of Notre Dame (jsiek@lsc.nd.edu)
Lie-Quan Lee, Univ.of Notre Dame (llee1@lsc.nd.edu)
Andrew Lumsdaine, Univ.of Notre Dame (lums@lsc.nd.edu)