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