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


Method Summary
 void addUsingDirective(IASTNode directive)
          Add an IASTNode that nominates another namespace to this scope Most commonly, ICPPASTUsingDirectives, but in the case of unnamed namespaces, it could be an ICPPASTNamespaceDefinition
 IASTNode[] getUsingDirectives()
          Get the IASTNodes that have been added to this scope to nominate other namespaces during lookup.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IScope
addBinding, addName, find, flushCache, getBinding, getParent, getPhysicalNode, getScopeName, isFullyCached, removeBinding, setFullyCached
 

Method Detail

addUsingDirective

void addUsingDirective(IASTNode directive)
                       throws DOMException
Add an IASTNode that nominates another namespace to this scope Most commonly, ICPPASTUsingDirectives, but in the case of unnamed namespaces, it could be an ICPPASTNamespaceDefinition

Parameters:
directive -
Throws:
DOMException

getUsingDirectives

IASTNode[] getUsingDirectives()
                              throws DOMException
Get the IASTNodes that have been added to this scope to nominate other namespaces during lookup. (ICPPASTUsingDirective or ICPPASTNamespaceDefinition)

Returns:
Throws:
DOMException

Eclipse CDT
Pre-release 3.0

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