![]() |
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.GraphINodeArrayGraphINodeStdHashGraphINode
The default constructor. Create an empty index object.
Murl.Index.GraphINode new()
Constructor taking an array.
Murl.Index.GraphINode new(Murl.Array.GraphINode array)
array | The array object to copy. |
Construct an index containing a single item.
Murl.Index.GraphINode new(Murl.Graph.INode item)
item | The item. |
Construct an index containing two items.
Murl.Index.GraphINode new(Murl.Graph.INode item1, Murl.Graph.INode item2)
item1 | The first item. |
item2 | The second item. |
Construct an index containing three items.
Murl.Index.GraphINode new(Murl.Graph.INode item1, Murl.Graph.INode item2, Murl.Graph.INode item3)
item1 | The first item. |
item2 | The second item. |
item3 | The third item. |
The copy constructor.
Murl.Index.GraphINode new(Murl.Index.GraphINode index)
index | The index object to copy. |
Remove the last item.
Murl.Graph.INode Pop()