Eclipse CDT
7.0

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

All Superinterfaces:
ICPPScope, IScope
All Known Subinterfaces:
ICPPBlockScope

public interface ICPPNamespaceScope
extends ICPPScope

A namespace scope is either a block-scope or a namespace-scope or global scope.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.ast.IScope
IScope.ScopeLookupData
 
Field Summary
static ICPPNamespaceScope[] EMPTY_NAMESPACE_SCOPE_ARRAY
           
 
Method Summary
 void addUsingDirective(ICPPUsingDirective usingDirective)
          Add a directive that nominates another namespace to this scope.
 ICPPNamespaceScope[] getInlineNamespaces()
          Returns the inline namespaces that are members of this scope.
 ICPPUsingDirective[] getUsingDirectives()
          Get the using directives that have been added to this scope to nominate other namespaces during lookup.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IScope
find, getBinding, getBinding, getBindings, getBindings, getBindings, getKind, getParent, getScopeName
 

Field Detail

EMPTY_NAMESPACE_SCOPE_ARRAY

static final ICPPNamespaceScope[] EMPTY_NAMESPACE_SCOPE_ARRAY
Since:
5.3
Method Detail

addUsingDirective

void addUsingDirective(ICPPUsingDirective usingDirective)
Add a directive that nominates another namespace to this scope.


getUsingDirectives

ICPPUsingDirective[] getUsingDirectives()
Get the using directives that have been added to this scope to nominate other namespaces during lookup.


getInlineNamespaces

ICPPNamespaceScope[] getInlineNamespaces()
Returns the inline namespaces that are members of this scope.

Since:
5.3

Eclipse CDT
7.0

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