org.netbeans.modules.cnd.api.model/1 1.3 1

org.netbeans.modules.cnd.api.model
Interface CsmNamespace

All Superinterfaces:
CsmIdentifiable<CsmNamespace>, CsmNamedElement, CsmObject, CsmQualifiedNamedElement, CsmScope

public interface CsmNamespace
extends CsmQualifiedNamedElement, CsmScope, CsmIdentifiable<CsmNamespace>

Represents a "logical" namespace - not a particular namespace declaration, but a join of all namespace declarations, which have thje given name (see interface CsmNamespaceDeclaration)


Method Summary
 Collection<CsmOffsetableDeclaration> getDeclarations()
          Gets top-level objects
 Collection<CsmNamespaceDefinition> getDefinitions()
          Gets all definitions for this namespace
 Collection<CsmNamespace> getNestedNamespaces()
           
 CsmNamespace getParent()
           
 CsmProject getProject()
          the project where the namespace (or it's particular part) is defined
 boolean isGlobal()
          returns true if this is default namespace
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmQualifiedNamedElement
getQualifiedName
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmNamedElement
getName
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmScope
getScopeElements
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmIdentifiable
getUID
 

Method Detail

getParent

CsmNamespace getParent()

getNestedNamespaces

Collection<CsmNamespace> getNestedNamespaces()

getDeclarations

Collection<CsmOffsetableDeclaration> getDeclarations()
Gets top-level objects


getDefinitions

Collection<CsmNamespaceDefinition> getDefinitions()
Gets all definitions for this namespace


isGlobal

boolean isGlobal()
returns true if this is default namespace


getProject

CsmProject getProject()
the project where the namespace (or it's particular part) is defined


org.netbeans.modules.cnd.api.model/1 1.3 1

Built on November 23 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 192 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close