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";
127 unsigned int version);
161 LIBSBML_CPP_NAMESPACE_QUALIFIER XMLNamespaces *
getNamespaces();
170 void addNamespaces(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLNamespaces * xmlns);
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:214
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:244
LIBNUML_EXTERN unsigned int NUMLNamespaces_getVersion(NUMLNamespaces_t *numlns)
Get the NUML Version of this NUMLNamespaces_t structure.
Definition NUMLNamespaces.cpp:229
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:262
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:199
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:277
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
unsigned int getLevel()
Get the NUML Level of this NUMLNamespaces object.
Definition NUMLNamespaces.cpp:99
static const std::string & 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:90
void setVersion(unsigned int version)
Definition NUMLNamespaces.cpp:144
unsigned int mLevel
Definition NUMLNamespaces.h:183
void setNamespaces(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLNamespaces *xmlns)
Definition NUMLNamespaces.cpp:151
NUMLNamespaces(unsigned int level=NUML_DEFAULT_LEVEL, unsigned int version=NUML_DEFAULT_VERSION)
Creates a new NUMLNamespaces object corresponding to the given NUML level and version.
Definition NUMLNamespaces.cpp:24
NUMLNamespaces * clone() const
Creates and returns a deep copy of this NUMLNamespaces.
Definition NUMLNamespaces.cpp:83
NUMLNamespaces & operator=(const NUMLNamespaces &orig)
Assignment operator for NUMLNamespaces.
Definition NUMLNamespaces.cpp:60
unsigned int mVersion
Definition NUMLNamespaces.h:184
unsigned int getVersion()
Get the NUML Version of this NUMLNamespaces object.
Definition NUMLNamespaces.cpp:106
void setLevel(unsigned int level)
Definition NUMLNamespaces.cpp:137
void addNamespaces(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLNamespaces *xmlns)
Add the XML namespaces list to the set of namespaces within this NUMLNamespaces object.
Definition NUMLNamespaces.cpp:119
LIBSBML_CPP_NAMESPACE_QUALIFIER XMLNamespaces * mNamespaces
Definition NUMLNamespaces.h:185
LIBSBML_CPP_NAMESPACE_QUALIFIER XMLNamespaces * getNamespaces()
Get the XML namespaces list for this NUMLNamespaces object.
Definition NUMLNamespaces.cpp:113
#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 NUMLNamespaces NUMLNamespaces_t
namespace class
Definition numlfwd.h:196
CLASS_OR_STRUCT XMLNamespaces XMLNamespaces_t
Definition numlfwd.h:247