CGAL 5.1 - CGAL and Boost Property Maps
|
#include <CGAL/property_map.h>
Struct that turns a property map into a unary functor with operator()(key k)
calling the get function with k
Public Types | |
typedef boost::property_traits< PropertyMap >::key_type | argument_type |
typedef boost::property_traits< PropertyMap >::reference | result_type |
Public Member Functions | |
Property_map_to_unary_function (PropertyMap m=PropertyMap()) | |
template<class KeyType > | |
result_type | operator() (const KeyType &a) const |
Public Attributes | |
PropertyMap | map |
typedef boost::property_traits<PropertyMap>::key_type CGAL::Property_map_to_unary_function< PropertyMap >::argument_type |
typedef boost::property_traits<PropertyMap>::reference CGAL::Property_map_to_unary_function< PropertyMap >::result_type |
CGAL::Property_map_to_unary_function< PropertyMap >::Property_map_to_unary_function | ( | PropertyMap | m = PropertyMap() | ) |
result_type CGAL::Property_map_to_unary_function< PropertyMap >::operator() | ( | const KeyType & | a | ) | const |
PropertyMap CGAL::Property_map_to_unary_function< PropertyMap >::map |