30#include <sbml/util/util.h>
39LIBNUML_CPP_NAMESPACE_BEGIN
265 static bool hasZlib();
274 static bool hasBzip2();
293 NUMLDocument* readInternal (
const char* content,
bool isFile =
true);
297LIBNUML_CPP_NAMESPACE_END
301LIBNUML_CPP_NAMESPACE_BEGIN
481LIBNUML_CPP_NAMESPACE_END
LIBNUML_EXTERN NUMLDocument_t * NUMLReader_readNUMLFromString(NUMLReader_t *sr, const char *xml)
Reads an NUML document from the given XML string.
Definition: NUMLReader.cpp:375
LIBNUML_EXTERN NUMLDocument_t * NUMLReader_readNUMLFromFile(NUMLReader_t *sr, const char *filename)
Reads an NUML document from the given file.
Definition: NUMLReader.cpp:352
LIBNUML_EXTERN int NUMLReader_hasBzip2()
Predicate returning non-zero or zero depending on whether underlying libNUML is linked with bzip2 at ...
Definition: NUMLReader.cpp:404
LIBNUML_EXTERN NUMLDocument_t * NUMLReader_readNUML(NUMLReader_t *sr, const char *filename)
Reads an NUML document from the given file.
Definition: NUMLReader.cpp:320
LIBNUML_EXTERN NUMLReader_t * NUMLReader_create()
Creates a new NUMLReader and returns it.
Definition: NUMLReader.cpp:277
LIBNUML_EXTERN int NUMLReader_hasZlib()
Predicate returning non-zero or zero depending on whether underlying libNUML is linked with zlib at c...
Definition: NUMLReader.cpp:390
LIBNUML_EXTERN void NUMLReader_free(NUMLReader_t *sr)
Frees the given NUMLReader.
Definition: NUMLReader.cpp:288
LIBNUML_EXTERN NUMLDocument_t * readNUMLFromFile(const char *filename)
Reads an NUML document from the given file.
Definition: NUMLReader.cpp:499
LIBNUML_EXTERN NUMLDocument_t * readNUMLFromString(const char *xml)
Reads an NUML document from a string assumed to be in XML format.
Definition: NUMLReader.cpp:523
LIBNUML_CPP_NAMESPACE_END LIBNUML_CPP_NAMESPACE_BEGIN BEGIN_C_DECLS LIBNUML_EXTERN NUMLDocument_t * readNUML(const char *filename)
Reads an NUML document from the given file filename.
Definition: NUMLReader.cpp:451
This represents the numl document that contains all information.
Definition: NUMLDocument.h:107
The reader class implementing reading NuML documents from file / string.
Definition: NUMLReader.h:45
#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 NUMLDocument NUMLDocument_t
Definition: numlfwd.h:88
CLASS_OR_STRUCT NUMLReader NUMLReader_t
Definition: numlfwd.h:178