CppNamespace

Undocumented in source.

Constructors

this
this(CppNsStack stack)
Undocumented in source.

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(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.

toString
void toString(Writer w, FormatSpec!Char fmt)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin mixinUniqueId!size_t
Undocumented in source.

Static functions

make
auto make(CppNs name)

A namespace without any nesting.

makeAnonymous
auto makeAnonymous()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta