24#ifndef NUMLNamespaces_h
25#define NUMLNamespaces_h
28#include <sbml/xml/XMLNamespaces.h>
39LIBNUML_CPP_NAMESPACE_BEGIN
43const char*
const NUML_XMLNS_L1 =
"http://www.numl.org/numl/level1/version1";
126 static std::string getNUMLNamespaceURI(
unsigned int level,
127 unsigned int version);
135 unsigned int getLevel();
144 unsigned int getVersion();
161 LIBSBML_CPP_NAMESPACE_QUALIFIER XMLNamespaces * getNamespaces();
170 void addNamespaces(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLNamespaces * xmlns);
173 void setLevel(
unsigned int level);
176 void setVersion(
unsigned int version);
179 void setNamespaces(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLNamespaces * xmlns);
189LIBNUML_CPP_NAMESPACE_END
196LIBNUML_CPP_NAMESPACE_BEGIN
235LIBNUML_CPP_NAMESPACE_END
LIBNUML_EXTERN unsigned int NUMLNamespaces_getLevel(NUMLNamespaces_t *numlns)
Get the NUML Level of this NUMLNamespaces_t structure.
Definition: NUMLNamespaces.cpp:213
LIBNUML_EXTERN LIBSBML_CPP_NAMESPACE_QUALIFIER XMLNamespaces_t * NUMLNamespaces_getNamespaces(NUMLNamespaces_t *numlns)
Get the NUML Version of this NUMLNamespaces_t structure.
Definition: NUMLNamespaces.cpp:243
LIBNUML_EXTERN unsigned int NUMLNamespaces_getVersion(NUMLNamespaces_t *numlns)
Get the NUML Version of this NUMLNamespaces_t structure.
Definition: NUMLNamespaces.cpp:228
LIBNUML_EXTERN const char * NUMLNamespaces_getNUMLNamespaceURI(unsigned int level, unsigned int version)
Returns a string representing the NUML XML namespace for the given level and version of NUML.
Definition: NUMLNamespaces.cpp:261
LIBNUML_EXTERN NUMLNamespaces_t * NUMLNamespaces_create(unsigned int level, unsigned int version)
Creates a new NUMLNamespaces_t structure corresponding to the given NUML level and version.
Definition: NUMLNamespaces.cpp:198
LIBNUML_EXTERN void NUMLNamespaces_addNamespaces(NUMLNamespaces_t *numlns, LIBSBML_CPP_NAMESPACE_QUALIFIER XMLNamespaces_t *xmlns)
Add the XML namespaces list to the set of namespaces within this NUMLNamespaces_t structure.
Definition: NUMLNamespaces.cpp:276
const char *const NUML_XMLNS_L1
Definition: NUMLNamespaces.h:43
LIBNUML_CPP_NAMESPACE_BEGIN const unsigned int NUML_DEFAULT_LEVEL
Definition: NUMLNamespaces.h:41
const unsigned int NUML_DEFAULT_VERSION
Definition: NUMLNamespaces.h:42
const char *const NUML_XMLNS_L1V1
Definition: NUMLNamespaces.h:44
namespace class
Definition: NUMLNamespaces.h:47
unsigned int mLevel
Definition: NUMLNamespaces.h:183
unsigned int mVersion
Definition: NUMLNamespaces.h:184
LIBSBML_CPP_NAMESPACE_QUALIFIER XMLNamespaces * mNamespaces
Definition: NUMLNamespaces.h:185
#define BEGIN_C_DECLS
Definition: extern.h:112
#define LIBNUML_EXTERN
Begin svn Header.
Definition: extern.h:104
#define END_C_DECLS
Definition: extern.h:113
CLASS_OR_STRUCT XMLNamespaces XMLNamespaces_t
Definition: numlfwd.h:247
CLASS_OR_STRUCT NUMLNamespaces NUMLNamespaces_t
Definition: numlfwd.h:196