CppNamespace

Members

Functions

classRange
auto classRange()

Range data of symbols residing in this namespace.

empty
bool empty()
fullyQualifiedName
auto fullyQualifiedName()

The fully qualified name of where the namespace reside.

funcRange
auto funcRange()

Range of free functions residing in this namespace.

globalRange
auto globalRange()

Global variables residing in this namespace.

isAnonymous
bool isAnonymous()

If the namespace is anonymous, aka has no name.

merge
void merge(ref CppNamespace other_ns, MergeMode mode)

Merge the content of other_ns into this.

name
auto name()

Name of the namespace

namespaceRange
auto namespaceRange()

Range of namespaces residing in this namespace.

nsNestingRange
auto nsNestingRange()

Range of the fully qualified name starting from the top.

put
void put(CFunction f)
void put(CppClass s)
void put(CppNamespace ns)
void put(CxGlobalVariable g)

Put item in storage.

resideInNs
auto resideInNs()

Range representation of the fully qualified name.

Static functions

make
auto make(CppNs name)

A namespace without any nesting.

Meta