Concept PropertyMapConcept
Concept for maps from contained elements (such as graph vertices or index nodes) to values.

Defined in <seqan/graph_types.h>
Signature concept PropertyMapConcept;

Interface Function Overview

Interface Metafunction Overview

Interface Functions Detail

void assignProperty(pm, d, val);

Assigns a property to an item in the property map.

Parameters

pm The property map
d A vertex or edge descriptor that identifies the item in the property map.
val The new value, where the type of the new value must match the value type of the property map.

Data Races

Thread safety unknown!

TGetValue getProperty(pm, d);

Get method for an item's property.

Parameters

pm The property map.
d A vertex or edge descriptor that identifies the item in the property map.

Returns

TGetValue Get-value to the item in the property map of type GetValue.

Data Races

Thread safety unknown!

TReference property(pm, d);

Accesses the property of an item in the property map.

Parameters

pm The property map.
d A vertex or edge descriptor that identifies the item in the property map.

Returns

TReference Reference to the item in the property map of type Reference.

Data Races

Thread safety unknown!

void resize(pm, len[, val]);

Resize a sequence.

Parameters

seq Sequence to resize.
len Length to resize seq to.
val When increasing the size, val is used to fill new entries. When omitted, TValue() is used where TValue is the Value type of the sequence.

Data Races

Thread safety unknown!

See Also

Interface Metafunctions Detail

GetValue<TPropertyMap>::Type

Returns the get-value type of the property map.

Template Parameters

TPropertyMap The property map to query.

Returns

Type The get-value type of the container.

Reference<TPropertyMap>::Type

Returns the reference type of the property map.

Template Parameters

TPropertyMap The property map to query.

Value<TPropertyMap>::Type

Returns the value type of the property map.

Template Parameters

TPropertyMap The property map to query.

Returns

Type The element type of the container.