CGAL 5.6.1 - CGAL and Boost Property Maps
CGAL::Compose_property_map< KeyMap, ValueMap > Struct Template Reference

#include <CGAL/property_map.h>

Definition

Property map that composes two property maps, that is a call on an instance Compose_property_map compose_property_map(key_map, value_map) of get(compose_property_map, k) returns get(value_map, get(key_map, k)).

Public Types

typedef boost::property_traits< KeyMap >::key_type key_type
 < Use the key type of KeyMap as keytype More...
 
typedef boost::property_traits< ValueMap >::value_type value_type
 Use the reference type of ValueMap as reference.
 
typedef boost::property_traits< ValueMap >::reference reference
 Use the category of the ValueMap
 
typedef boost::property_traits< ValueMap >::category category
 

Public Member Functions

 Compose_property_map (KeyMap key_map=KeyMap(), ValueMap value_map=ValueMap())
 Constructor.
 

Related Functions

(Note that these are not member functions.)

template<class KeyMap , class ValueMap >
Compose_property_map< KeyMap, ValueMap > make_compose_property_map (const KeyMap &km, const ValueMap &vm)
 

Member Typedef Documentation

◆ key_type

template<class KeyMap , class ValueMap >
typedef boost::property_traits<KeyMap>::key_type CGAL::Compose_property_map< KeyMap, ValueMap >::key_type

< Use the key type of KeyMap as keytype

Use the value type of ValueMap as value type