CGAL 5.1 - CGAL and Boost Property Maps
|
#include <CGAL/property_map.h>
Property map that accesses the second item of a std::pair
.
Pair | Instance of std::pair . |
LvaluePropertyMap
CGAL::First_of_pair_property_map<Pair>
Public Types | |
typedef Pair | key_type |
typedef to Pair More... | |
typedef Pair::second_type | value_type |
typedef to Pair::second_type More... | |
typedef boost::lvalue_property_map_tag | category |
boost::lvalue_property_map_tag More... | |
typedef Second_of_pair_property_map< Pair > | Self |
Public Member Functions | |
value_type & | operator[] (key_type &pair) const |
Access a property map element. More... | |
Public Attributes | |
const typedef value_type & | reference |
typedef to value_type& More... | |
Related Functions | |
(Note that these are not member functions.) | |
template<class Pair > | |
Second_of_pair_property_map< Pair > | make_second_of_pair_property_map (Pair) |
Free function to create a Second_of_pair_property_map property map. More... | |
Put/get free functions | |
reference | get (const Self &, const key_type &k) |
void | put (const Self &, key_type &k, const value_type &v) |
typedef boost::lvalue_property_map_tag CGAL::Second_of_pair_property_map< Pair >::category |
boost::lvalue_property_map_tag
typedef Pair CGAL::Second_of_pair_property_map< Pair >::key_type |
typedef to Pair
typedef Second_of_pair_property_map<Pair> CGAL::Second_of_pair_property_map< Pair >::Self |
typedef Pair::second_type CGAL::Second_of_pair_property_map< Pair >::value_type |
typedef to Pair::second_type
value_type& CGAL::Second_of_pair_property_map< Pair >::operator[] | ( | key_type & | pair | ) | const |
Access a property map element.
pair | a key whose second item is accessed |
|
related |
Free function to create a Second_of_pair_property_map property map.
|
friend |
const typedef value_type& CGAL::Second_of_pair_property_map< Pair >::reference |
typedef to value_type&