----- Original Message -----
From: "Dom Lachowicz" <[EMAIL PROTECTED]>
To: "AbiWord-dev" <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 6:46 PM
Subject: Re: SVG import
> Quoting F J Franklin <[EMAIL PROTECTED]>:
>
> > On Mon, 3 Sep 2001, Joaquin Cuenca Abela wrote:
> > > Leonard wrote:
> > > > The only thing that you'd probably need to change is that I use STL
> > > > containers (vector and map) and Abi doesn't like those.
> > >
> > > I can cook a UT_Map in a few minutes
> > > [snip]
> > > if you need a UT_Map just let me know.
> >
> >That would be great.
>
> There is already a map class:
>
> src/af/util/xp/ut_hashMap.[cpp|h]
Yes, but UT_StringPtrMap operations doesn't have the same complexity than (a
hypothetical) ut_Map. Also UT_StringPtrMap will not do the work if the key
type is != from string or char*. Another thing to take in account is memory
consumation (if the map is used to store many things that may be important).
That said, maybe Leonard's code may very well be adapted to UT_StringPtrMap,
just pointing out that maybe not :-)
Leonard, do you have a tarball or something with your code to take a look?
Cheers,
--
Joaquin Cuenca Abela
[EMAIL PROTECTED]