Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] How to find visibility of nested class ?

CDT currently does not provide this information.
Markus. 

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Nayna Jain
> Sent: Wednesday, April 29, 2009 8:07 AM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] How to find visibility of nested class ?
> Importance: Low
> 
> Hi all,
> 
> I am accessing the AST for a Translation Unit to get list of classes.
> 
> Some of these classes have nested classes. I could get list 
> of nested classes using getNestedClasses() method for ICPPClassType.
> 
> But I want to find whether that nested class is of private, 
> public or protected type.
> 
> Can someone help me  that how can I find it ?
> 
> ICPPClassType doesn't have any getVisibility() method . And 
> it is not an instance of ICPPMember also which has 
> getVisibility() method.
> 
> Thanks in advance,
> Nayna Jain
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 


Back to the top