|
From: Haejoong L. <hae...@un...> - 2003-05-07 17:04:30
|
Hi Matthias,
So you are looking for a function which returns a time-ordered anchor
list? Then, you can use GetAnchorSetByOffset.
By the way, I just found two problems with ...SetByOffset functions.
(There are two ...SetByOffset functions: GetAnchorSetByOffset and
GetAnnotationSetByOffset.) It would have been better if the name was
...ListByOffset. The real problem is that in C++ implementation they
return set<...> instead of list<...>. This means what you get from
these functions is actually a set of ids ordered by ids, not offsets!
I've updated the CVS repository with the fixes; they return lists now.
This change doesn't affects Python and Tcl interfaces. Thanks for
making me realize those problems.
Finally, the SWIG interface files are available from the CVS:
$ cvs -d:pserver:ano...@cv...:/cvsroot/agtk login
[return at the login prompt]
$ cvs -d:pserver:ano...@cv...:/cvsroot/agtk co \
-r Toward-2_0 AGLIB/src/ag_wrapper
Thanks,
Haejoong
Matthias Thomae wrote:
> Hello AGTK developers,
>
> in the new version of AGLIB, GetAnchorSet returns an unordered set of
> anchors, even if they are sortable through their offsets.
>
> Are there specific reasons preventing to return an ordered list?
>
> If not, I would appreciate if this could be changed, otherwise I would
> need to do the sorting outside AGLIB which would require some coding
> and runtime efforts.
>
> Regards.
> Matthias
>
> P.S. I am trying to do the changes myself, but missing the SWIG
> definition files...
>
>
>
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise solutions
> www.enterpriselinuxforum.com
>
> _______________________________________________
> agtk-devel mailing list
> agt...@li...
> https://lists.sourceforge.net/lists/listinfo/agtk-devel
>
>
|