Home Libraries Author Links

MultiNr Struct Reference
[Abstract Multmiap Type Example]


Detailed Description

Element type of the abstract multimap type MultiNrStmMultiMap.

Objects of MultiNr can be inserted into a MultiNrStmMultiMap object as well as they can be looked for or counted in a MultiNrStmMultiMap object.

See also:
MultiNrStmMultiMapValueType.
Examples:

dsettst.c.

Definition at line 111 of file MultiNrStmMultiMapDoc.h.


Data Fields

int key
 Key of a MultiNrStmMultiMap element mapping to val.
int val
 Value of a MultiNrStmMultiMap element mapped to by key.

Field Documentation

int MultiNr::key

Key of a MultiNrStmMultiMap element mapping to val.

The elements of MultiNrStmMultiMap objects are ordered according to the strict weak ordering on int induced by keyCmp().

Definition at line 116 of file MultiNrStmMultiMapDoc.h.

int MultiNr::val

Value of a MultiNrStmMultiMap 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 121 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).