cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Neeraj U Bhope
Sent: Friday, September 29, 2006
General developers list.
Subject: RE: [cdt-dev] PDOM Index
there is a less costly operation than "Rebuild Index" to get the PDOM
to be in sync with the code? e.g. If i am looking for an element of some
particular name can I invoke some API that goes through the PDOM, finds matches
and makes sure that the info in the PDOM is up-to-date?
wrote on 09/29/2006 05:27:44 PM:
> Comments below.
> QNX Software Systems
> Eclipse CDT Project Lead
> From: cdt-dev-bounces@xxxxxxxxxxx
> On Behalf Of Janees Elamkulam
> Sent: Friday, September 29, 2006 7:51 AM
> To: CDT General
> Subject: [cdt-dev] PDOM Index updates
> I have some of query regarding PDOM index
> 1. How often does PDOM updates its index db/
how does the index get updated ?
[Doug>] This is what the indexer does.
> 2. Does
it listen to CElementDelta ?
[Doug>] Yes. Check out the PDOMManager class, elementChanged method.
> It generally only indexes when
> 3. Is
there a method/way to update pdom index (not rebuild index) on
> demand? if so how ?
[Doug>] I guess you could. Make sure you acquire the write lock on
> the PDOM you are writing to first. Again,
check out the
> implementation of the indexers to see how.
> Thanks and Regards,
> cdt-dev mailing list