accessing a list with both index and key?



Hi.

I'm doing http://gybe.sf.net/dominigue/
and http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-1780488922
is holding me.

NamedNodeMap is accessible with both index and key.
e.g. map::item(index) and map::getNamedItem(name)

but I don't know what is this kind of implementation in GLib 2.
GHash is key-based, AFAIK.
what about GDataset, GTree, GRelation, or another?

or not implemented in GLib 2?

thx



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]