Eclipse CDT
7.0

org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPTemplateScope

All Superinterfaces:
ICPPScope, IScope

public interface ICPPTemplateScope
extends ICPPScope

A separate template scope is used for each template declaration. This leads to a non-hierarchical structure of scopes. E.g. for a method of a class-template the declaration and definition will nests in different template-scopes. Therefore IScope.getParent() will never return a template scope unless the method is called for a template-scope that directly nests in another one.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.ast.IScope
IScope.ScopeLookupData
 
Method Summary
 ICPPASTTemplateDeclaration getTemplateDeclaration()
          Returns the corresponding template declaration
 ICPPTemplateDefinition getTemplateDefinition()
          Deprecated. 
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IScope
find, getBinding, getBinding, getBindings, getBindings, getBindings, getKind, getParent, getScopeName
 

Method Detail

getTemplateDeclaration

ICPPASTTemplateDeclaration getTemplateDeclaration()
Returns the corresponding template declaration

Since:
5.1

getTemplateDefinition

@Deprecated
ICPPTemplateDefinition getTemplateDefinition()
                                             throws DOMException
Deprecated. 

Throws:
DOMException

Eclipse CDT
7.0

Copyright (c) IBM Corp. and others 2004, 2012. All Rights Reserved.