CGAL 5.6 - CGAL and Boost Property Maps
Loading...
Searching...
No Matches
CGAL::Compose_property_map< KeyMap, ValueMap > Struct Template Reference

#include <CGAL/property_map.h>

Definition

template<class KeyMap, class ValueMap>
struct CGAL::Compose_property_map< KeyMap, ValueMap >

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
 
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)
 returns Compose_property_maps<KeyMap, ValueMap>(km,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