libNuML  1.1.1
Library for reading / writing NuML documents
libnuml-namespace.h
Go to the documentation of this file.
1 /* src/common/libnuml-namespace.h. Generated from libnuml-namespace.h.in by configure. */
46 #ifndef LIBNUML_NAMESPACE_H
47 #define LIBNUML_NAMESPACE_H 1
48 
49 /*
50  *
51  * The idea of the following marcors are borrowed from
52  * Xerces-C++ XML Parser (http://xerces.apache.org/xerces-c/).
53  *
54  */
55 
56 /* Define to enable libNUML C++ namespace */
57 /* #undef LIBNUML_USE_CPP_NAMESPACE */
58 
59 
60 #if defined(__cplusplus) && defined(LIBNUML_USE_CPP_NAMESPACE) && !defined(SWIG)
61  /* C++ namespace of libNUML */
62  #define LIBNUML_CPP_NAMESPACE libnuml
63  #define LIBNUML_CPP_NAMESPACE_BEGIN namespace LIBNUML_CPP_NAMESPACE {
64  #define LIBNUML_CPP_NAMESPACE_END }
65  #define LIBNUML_CPP_NAMESPACE_USE using namespace LIBNUML_CPP_NAMESPACE;
66  #define LIBNUML_CPP_NAMESPACE_QUALIFIER LIBNUML_CPP_NAMESPACE::
67 
68  namespace LIBNUML_CPP_NAMESPACE {}
69 #else
70  #define LIBNUML_CPP_NAMESPACE
71  #define LIBNUML_CPP_NAMESPACE_BEGIN
72  #define LIBNUML_CPP_NAMESPACE_END
73  #define LIBNUML_CPP_NAMESPACE_USE
74  #define LIBNUML_CPP_NAMESPACE_QUALIFIER
75 #endif
76 
77 
78 #endif /* LIBNUML_NAMESPACE_H */
#define LIBNUML_CPP_NAMESPACE
Begin svn Header.
Definition: libnuml-namespace.h:70