30 #ifndef PHRASEDML_API_H
31 #define PHRASEDML_API_H
33 #ifndef LIBPHRASEDML_VERSION_STRING //Should be defined in the makefile (from CMakeLists.txt)
34 #define LIBPHRASEDML_VERSION_STRING "v1.0.2"
38 #include "phrasedml-namespace.h"
42 PHRASEDML_CPP_NAMESPACE_BEGIN
144 PHRASEDML_CPP_NAMESPACE_END
147 #endif //PHRASEDML_API_H
LIB_EXTERN void addDotXMLToModelSources()
Sometimes, a user may wish to input phrasedml with the name of a model, instead of an actual filename...
LIB_EXTERN void clearReferencedSBML()
Clears and removes all referenced SBML documents.
LIB_EXTERN char * getPhrasedWarnings()
When translating some other format to phraSEDML, elements that are unable to be translated are saved ...
LIB_EXTERN void setWorkingDirectory(const char *directory)
Sets the working directory for phraSED-ML to look for referenced files.
LIB_EXTERN char * convertString(const char *model)
Convert a model string from phraSEDML to SEDML, or visa versa.
LIB_EXTERN int getLastPhrasedErrorLine()
Returns the line number of the file where the last error was obtained, if the last error was obtained...
BEGIN_C_DECLS PHRASEDML_CPP_NAMESPACE_BEGIN LIB_EXTERN char * convertFile(const char *filename)
Convert a file from phraSEDML to SEDML, or visa versa.
LIB_EXTERN char * getLastPhraSEDML()
If a previous 'convert' call was successful, the library retains an internal representation of the SE...
LIB_EXTERN char * getLastSEDML()
If a previous 'convert' call was successful, the library retains an internal representation of the SE...
LIB_EXTERN char * getLastPhrasedError()
When any function returns an error condition, a longer description of the problem is stored in memory...
LIB_EXTERN bool setReferencedSBML(const char *URI, const char *sbmlstring)
Allows phrasedml to use the given SBML document as the filename, instead of looking for the file on d...
LIB_EXTERN void freeAllPhrased()
Frees all pointers handed to you by libphraSEDML.