![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
A generic index template class for moveable objects eg. structs or fundamental data types like UInt32, Real, etc.
See IndexBase class for all index methods.
The index class stores a number of (not necessarily unique) keys in a hash table.
The index class works for moveable objects only, use ObjectIndex class for storing non-moveable objects.
This class is based on the NTL Index container, see http://www.ultimatepp.org
Murl.IndexBase.DoubleArrayDoubleStdHashDouble
The default constructor. Create an empty index object.
Murl.Index.Double new()
Construct an index containing a single item.
Murl.Index.Double new(Number item)
item | The item. |
Construct an index containing two items.
Murl.Index.Double new(Number item1, Number item2)
item1 | The first item. |
item2 | The second item. |
Construct an index containing three items.
Murl.Index.Double new(Number item1, Number item2, Number item3)
item1 | The first item. |
item2 | The second item. |
item3 | The third item. |
Constructor taking an array.
Murl.Index.Double new(Murl.Array.Double array)
array | The array object to copy. |
The copy constructor.
Murl.Index.Double new(Murl.Index.Double index)
index | The index object to copy. |
Remove the last item.
Number Pop()