|
Katana Plug-in APIs 0.1
|
00001 #ifndef KATANA_PLUGINAPIS_FNSCENEGRAPHITERATOR_NS_H_ 00002 #define KATANA_PLUGINAPIS_FNSCENEGRAPHITERATOR_NS_H_ 00003 00004 #ifdef FNGEOLIB_INTERNAL_NAMESPACE 00005 #include "FnScenegraphIterator/ns_internal.h" 00006 #else 00007 00008 // Macros used through the code to define API namespaces 00009 #define FNSCENEGRAPHITERATOR_NAMESPACE_ENTER \ 00010 namespace Foundry \ 00011 { \ 00012 namespace Katana 00013 #define FNSCENEGRAPHITERATOR_NAMESPACE_EXIT } 00014 #define FNSCENEGRAPHITERATOR_NAMESPACE Foundry::Katana 00015 00016 #endif // FNGEOLIB_INTERNAL_NAMESPACE 00017 00018 // Declare the namespace so that namespace aliases can be declared. 00019 FNSCENEGRAPHITERATOR_NAMESPACE_ENTER 00020 { 00021 } 00022 FNSCENEGRAPHITERATOR_NAMESPACE_EXIT 00023 00024 // Typically we would declare a namespace alias here, i.e.: 00025 // namespace FnScenegraphIterator = FNSCENEGRAPHITERATOR_NAMESPACE; 00026 // 00027 // However for legacy reasons we cannot do this: FnScenegraphIterator is also a 00028 // class name, and an identically-named namespace could result in errors with 00029 // unqualified name lookup. 00030 00031 #ifndef FNGEOLIB_INTERNAL_NAMESPACE 00032 namespace FnKat = Foundry::Katana; 00033 #endif 00034 00035 #endif // KATANA_PLUGINAPIS_FNSCENEGRAPHITERATOR_NS_H_
1.7.3