Commit 784bc227 authored by Habil, Ardalan (arhab001)'s avatar Habil, Ardalan (arhab001)
Browse files

no need for validation var

parent 633ace00
/* sybilSBML.h /* sybilSBML.h
Link to libSBML for sybil. Link to libSBML for sybil.
Copyright (C) 2010-2013 Gabriel Gelius-Dietrich, Dpt. for Bioinformatics, Copyright (C) 2010-2013 Gabriel Gelius-Dietrich, Dpt. for Bioinformatics,
Institute for Informatics, Heinrich-Heine-University, Duesseldorf, Germany. Institute for Informatics, Heinrich-Heine-University, Duesseldorf, Germany.
All right reserved. All right reserved.
Email: geliudie@uni-duesseldorf.de Email: geliudie@uni-duesseldorf.de
This file is part of sybilSBML. This file is part of sybilSBML.
SybilSBML is free software: you can redistribute it and/or modify SybilSBML is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
SybilSBML is distributed in the hope that it will be useful, SybilSBML is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with sybilSBML. If not, see <http://www.gnu.org/licenses/>. along with sybilSBML. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "sbml.h" #include "sbml.h"
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* help functions */ /* help functions */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* check for pointer to sbml document */ /* check for pointer to sbml document */
SEXP isSBMLdocptr(SEXP ptr); SEXP isSBMLdocptr(SEXP ptr);
/* check for pointer to sbml model */ /* check for pointer to sbml model */
SEXP isSBMLmodptr(SEXP ptr); SEXP isSBMLmodptr(SEXP ptr);
/* check for NULL pointer */ /* check for NULL pointer */
SEXP isNULLptr(SEXP ptr); SEXP isNULLptr(SEXP ptr);
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* API functions */ /* API functions */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* get libsbml version number (dotted version) */ /* get libsbml version number (dotted version) */
SEXP getLibSBMLversion(); SEXP getLibSBMLversion();
/* initialize sybilSBML */ /* initialize sybilSBML */
SEXP initSBML(void); SEXP initSBML(void);
/* remove sbml document pointer */ /* remove sbml document pointer */
SEXP delDocument(SEXP sbmldoc); SEXP delDocument(SEXP sbmldoc);
/* remove model pointer */ /* remove model pointer */
SEXP delModel(SEXP sbmlmodel); SEXP delModel(SEXP sbmlmodel);
/* read SBML file */ /* read SBML file */
SEXP readSBMLfile(SEXP fname, SEXP ptrtype); SEXP readSBMLfile(SEXP fname, SEXP ptrtype);
/* get sbml document level */ /* get sbml document level */
SEXP getSBMLlevel(SEXP sbmldoc); SEXP getSBMLlevel(SEXP sbmldoc);
/* get sbml document version */ /* get sbml document version */
SEXP getSBMLversion(SEXP sbmldoc); SEXP getSBMLversion(SEXP sbmldoc);
/* get sbml document FBC version */ /* get sbml document FBC version */
SEXP getSBMLFbcversion(SEXP sbmldoc); SEXP getSBMLFbcversion(SEXP sbmldoc);
/* validate SBML document */ /* validate SBML document */
SEXP validateDocument(SEXP sbmldoc); SEXP validateDocument(SEXP sbmldoc);
/* get SBML errors */ /* get SBML errors */
SEXP getSBMLerrors(SEXP sbmldoc); SEXP getSBMLerrors(SEXP sbmldoc);
/* get sbml model from sbml document */ /* get sbml model from sbml document */
SEXP getSBMLmodel(SEXP sbmldoc, SEXP ptrtype); SEXP getSBMLmodel(SEXP sbmldoc, SEXP ptrtype);
/* get model id */ /* get model id */
SEXP getSBMLmodId(SEXP sbmlmod); SEXP getSBMLmodId(SEXP sbmlmod);
/* get model name */ /* get model name */
SEXP getSBMLmodName(SEXP sbmlmod); SEXP getSBMLmodName(SEXP sbmlmod);
/* get model notes */ /* get model notes */
SEXP getSBMLmodNotes(SEXP sbmlmod); SEXP getSBMLmodNotes(SEXP sbmlmod);
/* get model annotation */ /* get model annotation */
SEXP getSBMLmodAnnotation(SEXP sbmlmod); SEXP getSBMLmodAnnotation(SEXP sbmlmod);
/* get number of compartments */ /* get number of compartments */
SEXP getSBMLnumCompart(SEXP sbmlmod); SEXP getSBMLnumCompart(SEXP sbmlmod);
/* get number of species (metabolites) */ /* get number of species (metabolites) */
SEXP getSBMLnumSpecies(SEXP sbmlmod); SEXP getSBMLnumSpecies(SEXP sbmlmod);
/* get number of reactions */ /* get number of reactions */
SEXP getSBMLnumReactions(SEXP sbmlmod); SEXP getSBMLnumReactions(SEXP sbmlmod);
/* get list of unit definitions */ /* get list of unit definitions */
SEXP getSBMLunitDefinitionsList(SEXP sbmlmod); SEXP getSBMLunitDefinitionsList(SEXP sbmlmod);
/* get list of compartments */ /* get list of compartments */
SEXP getSBMLCompartList(SEXP sbmlmod); SEXP getSBMLCompartList(SEXP sbmlmod);
/* get list of species (metabolites) */ /* get list of species (metabolites) */
SEXP getSBMLSpeciesList(SEXP sbmlmod); SEXP getSBMLSpeciesList(SEXP sbmlmod);
/* get list of reactions */ /* get list of reactions */
SEXP getSBMLReactionsList(SEXP sbmlmod); SEXP getSBMLReactionsList(SEXP sbmlmod);
/* export Modelorg to SBML*/ /* export Modelorg to SBML*/
SEXP exportSBML (SEXP version, SEXP level,SEXP FbcLevel, SEXP filename,SEXP sybil_max, SEXP mod_desc, SEXP mod_name, SEXP mod_compart, SEXP met_id, SEXP met_name, SEXP met_comp, SEXP met_form,SEXP met_charge, SEXP react_id, SEXP react_name, SEXP react_rev, SEXP lowbnd, SEXP uppbnd, SEXP obj_coef, SEXP subSys, SEXP gpr, SEXP SMatrix, SEXP mod_notes, SEXP mod_anno, SEXP com_notes , SEXP com_anno, SEXP met_notes, SEXP met_anno, SEXP met_bnd , SEXP react_notes, SEXP react_anno, SEXP ex_react,SEXP validation, SEXP allgenes); SEXP exportSBML (SEXP version, SEXP level,SEXP FbcLevel, SEXP filename,SEXP sybil_max, SEXP mod_desc, SEXP mod_name, SEXP mod_compart, SEXP met_id, SEXP met_name, SEXP met_comp, SEXP met_form,SEXP met_charge, SEXP react_id, SEXP react_name, SEXP react_rev, SEXP lowbnd, SEXP uppbnd, SEXP obj_coef, SEXP subSys, SEXP gpr, SEXP SMatrix, SEXP mod_notes, SEXP mod_anno, SEXP com_notes , SEXP com_anno, SEXP met_notes, SEXP met_anno, SEXP met_bnd , SEXP react_notes, SEXP react_anno, SEXP ex_react, SEXP allgenes);
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment