Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] PDOM Index updates


Thanks Doug,

- janees




Doug Schaefer <DSchaefer@xxxxxxx>
Sent by: cdt-dev-bounces@xxxxxxxxxxx

29-09-06 05:27 PM

Please respond to
"CDT General developers list." <cdt-dev@xxxxxxxxxxx>

To
"CDT General developers list." <cdt-dev@xxxxxxxxxxx>
cc
Subject
RE: [cdt-dev] PDOM Index updates





Comments below.
 
Doug Schaefer
QNX Software Systems
Eclipse CDT Project Lead

http://cdtdoug.blogspot.com
 



From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Janees Elamkulam
Sent:
Friday, September 29, 2006 7:51 AM
To:
CDT General developers list.
Subject:
[cdt-dev] PDOM Index updates

 

Hello,


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 ITranslationUnits change.
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,
Janees
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top