\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.10.2 - CGAL and Boost Property Maps
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Dereference_property_map< T > Struct Template Reference

#include <CGAL/property_map.h>

Inherits from

put_get_helper< T &, Dereference_property_map< T > >.

Definition

Property map that converts a T* pointer (or in general an iterator over T elements) to the T object.

Is Model Of:
LvaluePropertyMap

Public Types

typedef T * key_type
 typedef to 'T*'
 
typedef T value_type
 typedef to 'T'
 
typedef const value_typereference
 typedef to 'T&'
 
typedef
boost::lvalue_property_map_tag 
category
 boost::lvalue_property_map_tag
 

Public Member Functions

template<class Iter >
value_typeoperator[] (Iter it) const
 Access a property map element. More...
 

Related Functions

(Note that these are not member functions.)

template<class Iter >
Dereference_property_map
< typename
CGAL::value_type_traits< Iter >
::type > 
make_dereference_property_map (Iter)
 Free function to create a Dereference_property_map property map.
 

Member Function Documentation

template<typename T >
template<class Iter >
value_type& CGAL::Dereference_property_map< T >::operator[] ( Iter  it) const

Access a property map element.

Template Parameters
IterType convertible to key_type.