Murl Engine Lua Addon API  Version 1.0 beta
Murl.Map.StringUInt32

A generic map template class for moveable objects eg. structs or fundamental data types like UInt32, Real, etc.

See MapBase class for all map methods.
A map stores a number of key/value pairs, where the keys do not have to be unique.
The map class works for moveable objects only, use ObjectMap class for storing non-moveable objects.
This class is based on the NTL VectorMap container, see http://www.ultimatepp.org


Table members

Inherited


Murl.MapBase.StringUInt32ArrayUInt32StdHashString

Functions


Murl.Map.StringUInt32.new()

The default constructor. Create an empty map.

Murl.Map.StringUInt32 new()

Returns
Murl.Map.StringUInt32

Murl.Map.StringUInt32.new(map)

The copy constructor.

Murl.Map.StringUInt32 new(Murl.Map.StringUInt32 map)

Parameters
mapThe map object to copy.
Returns
Murl.Map.StringUInt32


Methods


Pop()

Remove the last key/value pair from the map and return its value.

Integer Pop()

Returns
Integer The value of the removed pair.