Class that defines reflective interfaces for maps. More...

#include <SPL/Runtime/Type/BaseMap.h>

Inheritance diagram for SPL::Map:
Inheritance graph
Class that defines a reflective interface for the bounded map type. Class that represents a map type (extends from std::tr1::unordered_map). Class that serves as an interface for the List, Map, and Set classes. Class that represents bounded size map type.
[legend]

List of all members.


Detailed Description

Class that defines reflective interfaces for maps.


Constructor & Destructor Documentation

Destructor


Member Function Documentation

Get the size of the map

Returns:
size of the map

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Find an element in the map

Parameters:
Returns:
an iterator for the element if found, the end iterator otherwise

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Find an element in the map

Parameters:
Returns:
an iterator for the element if found, the end iterator otherwise

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Insert a given key value pair

Parameters:

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

remove the element with a given key

Parameters:

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Remove all elements

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Get element type

Returns:
element type of this map, as a (key,value) type pair

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Get key type

Returns:
key type of the map

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Get value type

Returns:
value type of the map

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Create a new element. The returned value handles are wrappers for objects allocated on the heap. As a result, the caller is responsible for cleaning up the memory by calling ValueHandle::deleteValue()

Returns:
value handle for the new element (key and value)

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Create a new key. The returned value handle is a wrapper for an object allocated on the heap. As a result, the caller is responsible for cleaning up the memory by calling ValueHandle::deleteValue()

Returns:
value handle for the new key

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Create a new key. The returned value handle is a wrapper for an object allocated on the heap. As a result, the caller is responsible for cleaning up the memory by calling ValueHandle::deleteValue()

Returns:
value handle for the new value

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Get a begin iterator

Returns:
begin iterator

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Get a begin const iterator

Returns:
begin const iterator

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Get an end iterator

Returns:
end iterator

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Get an end cost iterator

Returns:
end const iterator

Implemented in SPL::bmap< K, V, msize >, and SPL::map< K, V >.

Assign from another Map

Parameters:
Returns:
this

Implemented in SPL::map< K, V >.


The documentation for this class was generated from the following file: