Boost logo

Boost Users :

From: Matias Capeletto (matias.capeletto_at_[hidden])
Date: 2007-12-26 18:11:18


On Dec 26, 2007 5:14 AM, <damny_at_[hidden]> wrote:
> hi mathias,
>
> thanks for your response. but i think there is a misapprehension.
> i want something like <http://www.boost.org/libs/multi_index/doc/tutorial/index.html>.
> "indexed by shape" should meet my "index by name" and "indexed by number" should meet my "index by identifier", so i can get the associated element value either by locMap[nme] or by locMap[idf], or something like that :o)
> there are 3 sets, a name key set, a identifier key set and an element value set; and there mapping.
>
> in a bimap are only 2 sets, a key set and an element set, which can swapped.
> thats not what i want.

Boost.Bimap supports this kind of structure. Please read:
http://www.drivehq.com/web/matias.capeletto/bimap/doc/html/boost_bimap/the_tutorial/additional_information.html

Hope it helps,
Best regards
Matias


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net