Eclipse CDT
Pre-release 3.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.


Method Summary
 void addUsingDirective(ICPPUsingDirective usingDirective)
          Add a directive that nominates another namespace to 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, getKind, getParent, getScopeName
 

Method Detail

addUsingDirective

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

Throws:
DOMException

getUsingDirectives

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

Throws:
DOMException

Eclipse CDT
Pre-release 3.0

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