Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Concept ReadablePropertyMap

ReadablePropertyMap

Description

A ReadablePropertyMap is used for mapping a position, as represented by a cursor, to a value.

Associated types

  • elements

    UnaryFunc

    Must be a model of UnaryFunction.

  • cursor

    Iter

    Must be a model of ReadableIterator and IncrementableIterator.

  • key_type

    ReadableIterator<Iter>::reference

    The key type of the cursor

  • value_type

    property_map::traits::value_type<UnaryFunc, Iter>::type

    The value type of the elements property map

Notation

UnaryFunc
A type playing the role of unary-function-type in the ReadablePropertyMap concept.
Iter
A type playing the role of iterator-type in the ReadablePropertyMap concept.
func
Object of type UnaryFunc
pos
Object of type Iter

Valid expressions

Name Expression Type Semantics

Read at position

func((*pos))

Convertible to value_type

Reads the value at the specified position. Requires operator().


PrevUpHomeNext