Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Indexer+External Include Path+Inherited methods no available
Indexer+External Include Path+Inherited methods no available [message #168781] Wed, 26 April 2006 22:57 Go to next message
Eclipse UserFriend
Originally posted by: johnny_joe33.hotmail.com

Hello eveyone,

using eclipse 3.1.2 and CDT 3.0.2 under linux. I am having a problem
using the indexer. Here is the scenario:

-) I create a standard make C++ project, making sure full indexer is on.
-) After the project skelet is created I checked the project properties
and re-check that full indexer is on. Then I add external .h files like
this :'Project'+'Properties'+'C/C++ Include Paths & Symbols'+'Add External
Include Path'.
-) Then I create a new .cxx file in the newly created project. I add
references to the external classes using '#include'.
-) Finally I create a pointer of a class defined in those external .h
files. This class inherits from other classes.

When I type '->'+'CTRL-ESPACE' I do not get the base classes methods,
only those defined for the 'child' class.

I have tried the following:
1.) I have added a new linked folder to the project, the indexer
parses this new link folder, but no the base classes methods are not still
available.
2.) I have included the .h for all the base classes, but the methods
are not available.
3.) I have casted the pointer to the base class, i.e. ((vtkKWTopLevel
*)win)->, and then I do get the methods for the casted base class, but I
loose the 'child' class methods :(

Any ideas anyone? Is this a bug?

Thanks a lot.

JCBA
Re: Indexer+External Include Path+Inherited methods no available [message #168787 is a reply to message #168781] Wed, 26 April 2006 23:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: johnny_joe33.hotmail.com

Just one precision to my original post:

For testing purposes I have also created two classes in the project, a
'parent' class with one single method, and a 'child' class with only one
method as well. Then I create a pointer of the 'child' class: I DO get
BOTH methods, the 'parent' class method and the 'child' class method, and
in this case I don't need to cast the 'child' class to get both methods,
they appear without problem.
Re: Indexer+External Include Path+Inherited methods no available [message #169033 is a reply to message #168781] Mon, 01 May 2006 15:31 Go to previous message
Eclipse UserFriend
Originally posted by: johnny_joe33.hotmail.com

Hello everyone,

anyone can confirm this behaviour? Anyone having similar problems?

Thanks all,

JCBA
Previous Topic:building CDT for linux on AMD
Next Topic:String Substitution Variable for Project
Goto Forum:
  


Current Time: Fri May 09 10:13:36 EDT 2025

Powered by FUDForum. Page generated in 0.06252 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top