Class InternalMap
An internal property map using member ids.

Defined in  
Signature template<typename TContainer, unsigned int const MemberId> class InternalMap<TContainer, MemberId>

Template Parameters

TContainer The cargo type which can be determined with Cargo.
MemberId An unsigned int to specify the position of the member in the cargo. Note: If zero it is assumed that the cargo is a simple type (e.g., int). Default 0.

Interface Function Overview

Detailed Description

Remarks

Internal property maps are used to access internal edge cargos.

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. Types: VertexDescriptor, EdgeDescriptor
val The new value, where thg type of the new value must match the value type of the property map.

TValue 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. Types: VertexDescriptor, EdgeDescriptor

Returns

TValue Reference to the item in the property map of type GetValue.

TRef 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. Types: VertexDescriptor, EdgeDescriptor

Returns

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