45LIBNUML_CPP_NAMESPACE_BEGIN
89 int setProgramName (
const std::string& name);
115 int setProgramVersion (
const std::string& version);
198 static bool hasZlib();
213 static bool hasBzip2();
223LIBNUML_CPP_NAMESPACE_END
228LIBNUML_CPP_NAMESPACE_BEGIN
311 const char *filename );
381LIBNUML_CPP_NAMESPACE_END
LIBNUML_EXTERN int NUMLWriter_hasBzip2()
Predicate returning non-zero or zero depending on whether libNUML is linked with bzip2 at compile tim...
Definition: NUMLWriter.cpp:422
LIBNUML_EXTERN void NUMLWriter_free(NUMLWriter_t *sw)
Frees the given NUMLWriter.
Definition: NUMLWriter.cpp:298
LIBNUML_EXTERN int NUMLWriter_hasZlib()
Predicate returning non-zero or zero depending on whether libNUML is linked with zlib at compile time...
Definition: NUMLWriter.cpp:408
LIBNUML_EXTERN int NUMLWriter_writeNUML(NUMLWriter_t *sw, const NUMLDocument_t *d, const char *filename)
Writes the given NUML document to filename.
Definition: NUMLWriter.cpp:376
LIBNUML_EXTERN NUMLWriter_t * NUMLWriter_create()
Creates a new NUMLWriter and returns a pointer to it.
Definition: NUMLWriter.cpp:287
LIBNUML_EXTERN int NUMLWriter_setProgramName(NUMLWriter_t *sw, const char *name)
Sets the name of this program.
Definition: NUMLWriter.cpp:321
LIBNUML_EXTERN char * NUMLWriter_writeNUMLToString(NUMLWriter_t *sw, const NUMLDocument_t *d)
Writes the given NUML document to an in-memory string and returns a pointer to it.
Definition: NUMLWriter.cpp:394
LIBNUML_EXTERN int NUMLWriter_setProgramVersion(NUMLWriter_t *sw, const char *version)
Sets the version of this program.
Definition: NUMLWriter.cpp:344
LIBNUML_CPP_NAMESPACE_END LIBNUML_CPP_NAMESPACE_BEGIN BEGIN_C_DECLS LIBNUML_EXTERN int writeNUML(const NUMLDocument_t *d, const char *filename)
Writes the given NUML document to filename.
Definition: NUMLWriter.cpp:439
LIBNUML_EXTERN char * writeNUMLToString(const NUMLDocument_t *d)
Writes the given NUML document to an in-memory string and returns a pointer to it.
Definition: NUMLWriter.cpp:459
This represents the numl document that contains all information.
Definition: NUMLDocument.h:107
Methods for writing NUML to files and text strings.
Definition: NUMLWriter.h:51
std::string mProgramVersion
Definition: NUMLWriter.h:219
std::string mProgramName
Definition: NUMLWriter.h:218
#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 NUMLWriter NUMLWriter_t
Definition: numlfwd.h:184