[gme-users] Ordering of sets in Bon
Jacques Kerner
jacques.kerner at oktal.fr
Tue Apr 6 10:45:11 CDT 2004
Hi,
I would like to know how the std::set<...> returned by BONExtender
generated functions are ordered. For instance, I have a model named
"Container" that aggregates "Contained" Atoms "contained1", "contained2"
and "contained3" and I was uable to figure out how the ordering was
made. Sometimes the order is by creation of the contained elements,
sometimes not, ...
Is there a way to impose the ordering on the returned sets ? Do I have
to define a specific operator < for this ? Could BonExtender generate
one from a rule in the meta model ?
I also wondered if one can retrieve the position of elements in diagrams
in BON .
Thank you in advance.
Jacques Kerner.
More information about the gme-users
mailing list