C++ Reference: class RevImmutableMultiMap

This documentation is automatically generated.

Method
ContainsKey

Return type: bool

Arguments: const K& key

Returns true if the multi-map contains at least one instance of 'key'.

FindWithDefault

Return type: const V&

Arguments: const K& key, const V& default_value

Returns one value attached to 'key', or 'default_value' if 'key' is not in the multi-map. The actual value returned if more than one values is attached to the same key is not specified.

Insert

Return type: void

Arguments: const K& key, const V& value

Inserts (key, value) in the multi-map.

num_items

Return type: int

RevImmutableMultiMap

Arguments: Solver* const solver, int initial_size

~RevImmutableMultiMap