Home Libraries Author Links

MultiNrStmMultiMapValueType Struct Reference
[Abstract Multmiap Type Example]


Detailed Description

Value type structure of an MultiNrStmMultiMap object.

Objects of MultiNrStmMultiMapValueType are stored in MultiNrStmMultiMap objects and can be accessed by pointers to them being achieved by means of MultiNrStmMultiMapIterator objects. The fact that their key componemts are constant ensures that the strict weak ordering of MultiNrStmMultiMap objects cannot be compromised.

Definition at line 139 of file MultiNrStmMultiMapDoc.h.


Data Fields

const int key
 Constant key of a MultiNrStmMultiMapValueType object mapping to val.
int val
 Value of a MultiNrStmMultiMapValueType element mapped to by key.

Field Documentation

const int MultiNrStmMultiMapValueType::key

Constant key of a MultiNrStmMultiMapValueType object mapping to val.

The MultiNrStmMultiMapValueType elements of MultiNrStmMultiMap objects are ordered according to the strict weak ordering on int induced by keyCmp(). The constness of key ensures that this ordering cannot be compromised.

Definition at line 146 of file MultiNrStmMultiMapDoc.h.

int MultiNrStmMultiMapValueType::val

Value of a MultiNrStmMultiMapValueType element mapped to by key.

The mapped values can be changed without impact on the ordering of the MultiNrStmMultiMap object they belong to.

Definition at line 151 of file MultiNrStmMultiMapDoc.h.


© Copyright Tom Michaelis 2002-2007

Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).