Bug #19339 2014-03-24 03:05

geowil

CScope Cannot Parse Vector Class Members

Parse may not be the correct terminology however CScope cannot dig into a public or protected vector member (that contains class objects) of a class.

For example Class A has a vector of Class B (defined as vector<B> bVect) as a class member.

If you create a vector of Class A CScope will not be able to see any of the class members for Class B when you use the vector of Class B objects in your code.

An example:

vector<A> aVect;

if (aVect.at(i).bVect.at(i).getBName() == "Something")

{

//Do something

}

Anything after the bVect cannot be resolved in terms of searching for functions called by or that call it, declaration, implementation, nor does the pop-list of functions and members appear for whatever class the second vector happens to be. bVect itself can also not be resolved in any context either.

Category
Plugin::Any
Group
Platform:Windows
Status
Open
Close date
 
Assigned to