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

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.UInt32StringArrayStringStdHashUInt32

Functions


Murl.Map.UInt32String.new()

The default constructor. Create an empty map.

Murl.Map.UInt32String new()

Returns
Murl.Map.UInt32String

Murl.Map.UInt32String.new(map)

The copy constructor.

Murl.Map.UInt32String new(Murl.Map.UInt32String map)

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


Methods


Pop()

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

String Pop()

Returns
String The value of the removed pair.