Mako 7.3.0 API
edlnamespaces.h File Reference

EDL C++ namespace(s) More...

Detailed Description

EDL C++ namespace(s)

This file defines a collection of macros that collectively define the namespace(s) that EDL provides.

For each namespace (the primary one being "EDL") there is a collection of macros:

BEGIN<x>_NAMESPACE intended to mark the start of a series of declarations/definitions that are in namespace <x>. This is typically used near the start of the EDL header files after all the included dependent header files before any local declarations

END<x>_NAMESPACE intended to mark the end of a series of declarations Typically used at the end of an EDL header file

USING<x>_NAMESPACE is used whenever EDL code wishes to use types, data, functions from within namespace <x> without having to explicitly specify namespace "\<x\>::" everywhere This is typically found at the start of most C++ source files.

FROM<x>_NAMESPACE is used for isolated individual locations where a type, data item or function from namespace <x> is needed and where a explicit namespace qualifier is needed for disambiguation This macro takes a single argument which is the name of the type, data item or function that is in the particular <x> namespace

Note that for all EDL namespaces, the above-named macros are always defined.

However they are only defined to expand to some namespace-specific text when both __cplusplus and the _<x>_NAMESPACE macro is defined