libSBML C API
libSBML 5.20.2 C API
|
Reads an SBML Document into memory. More...
Functions | |
SBMLDocument_t * | readSBML (const char *filename) |
@_tcopydoc_t _tdoc_readsbmlfromfile_t | |
SBMLDocument_t * | readSBMLFromFile (const char *filename) |
@_tcopydoc_t _tdoc_readsbmlfromfile_t | |
SBMLDocument_t * | readSBMLFromString (const char *xml) |
@_tcopydoc_t _tdoc_readsbmlfromstring_t | |
SBMLReader_t * | SBMLReader_create (void) |
@_tclass_t _tdoc_sbmlreader_if_compressed_t | |
void | SBMLReader_free (SBMLReader_t *sr) |
_tFrees_t _tthe_t _tgiven_t _tSBMLReader_t_t. | |
int | SBMLReader_hasBzip2 () |
_tReturns_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tunderlying_t _tlibSBML_t _tsupports_t @_tem_t _tbzip2_t _tformat_t _tcompression_t. | |
int | SBMLReader_hasZlib () |
_tReturns_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tunderlying_t _tlibSBML_t _tsupports_t @_tem_t _tgzip_t _tand_t @_tem_t _tzlib_t _tformat_t _tcompression_t. | |
SBMLDocument_t * | SBMLReader_readSBML (SBMLReader_t *sr, const char *filename) |
@_tcopydoc_t _tdoc_readsbmlfromfile_t | |
SBMLDocument_t * | SBMLReader_readSBMLFromFile (SBMLReader_t *sr, const char *filename) |
@_tcopydoc_t _tdoc_readsbmlfromfile_t | |
SBMLDocument_t * | SBMLReader_readSBMLFromString (SBMLReader_t *sr, const char *xml) |
@_tcopydoc_t _tdoc_readsbmlfromstring_t | |
Reads an SBML Document into memory.
SBMLDocument_t * readSBML | ( | const char * | filename | ) |
@_tcopydoc_t _tdoc_readsbmlfromfile_t
@_tif_t _tconly_t @_tmemberof_t _tSBMLReader_t_t @_tendif_t
SBMLDocument_t * readSBMLFromFile | ( | const char * | filename | ) |
@_tcopydoc_t _tdoc_readsbmlfromfile_t
@_tparam_t _tfilename_t _tthe_t _tname_t _tor_t _tfull_t _tpathname_t _tof_t _tthe_t _tfile_t _tto_t _tbe_t _tread_t.
@_treturn_t _ta_t _tpointer_t _tto_t _tthe_t _tSBMLDocument_t _tstructure_t _tcreated_t _tfrom_t _tthe_t _tSBML_t _tcontent_t _tin_t @_tp_t _tfilename_t.
@_tif_t _tconly_t @_tmemberof_t _tSBMLReader_t_t @_tendif_t
SBMLDocument_t * readSBMLFromString | ( | const char * | xml | ) |
@_tcopydoc_t _tdoc_readsbmlfromstring_t
@_tparam_t _txml_t _ta_t _tstring_t _tcontaining_t _ta_t _tfull_t _tSBML_t _tmodel_t.
@_treturn_t _ta_t _tpointer_t _tto_t _tthe_t _tSBMLDocument_t _tstructure_t _tcreated_t _tfrom_t _tthe_t _tSBML_t _tcontent_t _tin_t @_tp_t _txml_t.
@_tcopydetails_t _tdoc_note_reading_comp_t
@_tif_t _tconly_t @_tmemberof_t _tSBMLReader_t_t @_tendif_t
SBMLReader_t * SBMLReader_create | ( | void | ) |
@_tclass_t _tdoc_sbmlreader_if_compressed_t
@_tpar_t _tIf_t _tthe_t _tgiven_t _tfilename_t _tends_t _twith_t _tthe_t _tsuffix_t @_tc_t "._tgz_t" (_tfor_t _texample_t, @_tc_t "_tmyfile_t._txml_t._tgz_t"), _tthe_t _tfile_t _tis_t _tassumed_t _tto_t _tbe_t _tcompressed_t _tin_t @_tem_t _tgzip_t _tformat_t _tand_t _twill_t _tbe_t _tautomatically_t _tdecompressed_t _tupon_t _treading_t. _tSimilarly_t, _tif_t _tthe_t _tgiven_t _tfilename_t _tends_t _twith_t @_tc_t "._tzip_t" _tor_t @_tc_t "._tbz2_t", _tthe_t _tfile_t _tis_t _tassumed_t _tto_t _tbe_t _tcompressed_t _tin_t @_tem_t _tzip_t _tor_t @_tem_t _tbzip2_t _tformat_t (_trespectively_t). _tFiles_t _twhose_t _tnames_t _tlack_t _tthese_t _tsuffixes_t _twill_t _tbe_t _tread_t _tuncompressed_t. _tNote_t _tthat_t _tif_t _tthe_t _tfile_t _tis_t _tin_t @_tem_t _tzip_t _tformat_t _tbut_t _tthe_t _tarchive_t _tcontains_t _tmore_t _tthan_t _tone_t _tfile_t, _tonly_t _tthe_t _tfirst_t _tfile_t _tin_t _tthe_t _tarchive_t _twill_t _tbe_t _tread_t _tand_t _tthe_t _trest_t _tignored_t.
@_tclass_t _tdoc_note_sbmlreader_error_handling_t
@_tnote_t _tLibSBML_t _tversions_t _t2_t._tx_t _tand_t _tlater_t _tversions_t _tbehave_t _tdifferently_t _tin_t _terror_t _thandling_t _tin_t _tseveral_t _trespects_t. _tOne_t _tdifference_t _tis_t _thow_t _tearly_t _tsome_t _terrors_t _tare_t _tcaught_t _tand_t _twhether_t _tlibSBML_t _tcontinues_t _tprocessing_t _ta_t _tfile_t _tin_t _tthe_t _tface_t _tof_t _tsome_t _tearly_t _terrors_t. _tIn_t _tgeneral_t, _tlibSBML_t _tversions_t _tafter_t _t2_t._tx_t _tstop_t _tparsing_t _tSBML_t _tinputs_t _tsooner_t _tthan_t _tlibSBML_t _tversion_t _t2_t._tx_t _tin_t _tthe_t _tface_t _tof_t _tXML_t _terrors_t, _tbecause_t _tthe_t _terrors_t _tmay_t _tinvalidate_t _tany_t _tfurther_t _tSBML_t _tcontent_t. _tFor_t _texample_t, _ta_t _tmissing_t _tXML_t _tdeclaration_t _tat_t _tthe_t _tbeginning_t _tof_t _tthe_t _tfile_t _twas_t _tignored_t _tby_t _tlibSBML_t _t2_t._tx_t _tbut_t _tin_t _tversion_t _t3_t._tx_t _tand_t _tlater_t, _tit_t _twill_t _tcause_t _tlibSBML_t _tto_t _tstop_t _tparsing_t _tthe_t _trest_t _tof_t _tthe_t _tinput_t _taltogether_t. _tWhile_t _tthis_t _tbehavior_t _tmay_t _tseem_t _tmore_t _tsevere_t _tand_t _tintolerant_t, _tit_t _twas_t _tnecessary_t _tin_t _torder_t _tto_t _tprovide_t _tuniform_t _tbehavior_t _tregardless_t _tof_t _twhich_t _tunderlying_t _tXML_t _tparser_t (_tExpat_t, _tXerces_t, _tlibxml2_t) _tis_t _tbeing_t _tused_t _tby_t _tlibSBML_t. _tThe_t _tXML_t _tparsers_t _tthemselves_t _tbehave_t _tdifferently_t _tin_t _ttheir_t _terror_t _treporting_t, _tand_t _tsometimes_t _tlibSBML_t _thas_t _tto_t _tresort_t _tto_t _tthe_t _tlowest_t _tcommon_t _tdenominator_t.
@_tclass_t _tdoc_readsbmlfromfile_t
_tReads_t _tan_t _tSBML_t _tdocument_t _tfrom_t _tthe_t _tgiven_t _tfile_t.
_tIf_t _tthe_t _tfile_t _tnamed_t @_tp_t _tfilename_t _tdoes_t _tnot_t _texist_t _tor_t _tits_t _tcontent_t _tis_t _tnot_t _tvalid_t _tSBML_t, _tone_t _tor_t _tmore_t _terrors_t _twill_t _tbe_t _tlogged_t _twith_t _tthe_t _tSBMLDocument_t _tobject_t _treturned_t _tby_t _tthis_t _tmethod_t. _tCallers_t _tcan_t _tuse_t _tthe_t _tmethods_t _ton_t _tSBMLDocument_t _tsuch_t _tas_t @_tif_t _tpython_t @_tlink_t _tlibsbml_t._tSBMLDocument_t._tgetNumErrors_t() _tSBMLDocument_t._tgetNumErrors_t()@_tendlink_t@_tendif_t, @_tif_t _tconly_t _tSBMLDocument_getNumErrors_t() @_telse_t _tSBMLDocument_t::_tgetNumErrors_t()@_tendif_t _tand_t @_tif_t _tpython_t @_tlink_t _tlibsbml_t._tSBMLDocument_t._tgetError_t() _tSBMLDocument_t._tgetError_t()@_tendlink_t@_tendif_t @_tif_t _tjava_t _tSBMLDocument_t::_tgetError_t(_tlong_t)@_tendif_t @_tif_t _tcpp_t _tSBMLDocument_t::_tgetError_t()@_tendif_t @_tif_t _tcsharp_t _tSBMLDocument_t::_tgetError_t()@_tendif_t @_tif_t _tconly_t _tSBMLDocument_getError_t()@_tendif_t _tto_t _tget_t _tthe_t _terrors_t. _tThe_t _tobject_t _treturned_t _tby_t @_tif_t _tpython_t @_tlink_t _tlibsbml_t._tSBMLDocument_t._tgetError_t() _tSBMLDocument_t._tgetError_t()@_tendlink_t@_tendif_t @_tif_t _tjava_t _tSBMLDocument_t::_tgetError_t(_tlong_t)@_tendif_t @_tif_t _tcpp_t _tSBMLDocument_t::_tgetError_t()@_tendif_t @_tif_t _tcsharp_t _tSBMLDocument_t::_tgetError_t()@_tendif_t @_tif_t _tconly_t _tSBMLDocument_getError_t()@_tendif_t _tis_t _tan_t _tSBMLError_t _tobject_t, _tand_t _tit_t _thas_t _tmethods_t _tto_t _tget_t _tthe_t _terror_t _tcode_t, _tcategory_t, _tand_t _tseverity_t _tlevel_t _tof_t _tthe_t _tproblem_t, _tas_t _twell_t _tas_t _ta_t _ttextual_t _tdescription_t _tof_t _tthe_t _tproblem_t. _tThe_t _tpossible_t _tseverity_t _tlevels_t _trange_t _tfrom_t _tinformational_t _tmessages_t _tto_t _tfatal_t _terrors_t; _tsee_t _tthe_t _tdocumentation_t _tfor_t @_tif_t _tconly_t _tSBMLError_t_t @_telse_t _tSBMLError_t@_tendif_t _tfor_t _tmore_t _tinformation_t.
_tIf_t _tthe_t _tfile_t @_tp_t _tfilename_t _tcould_t _tnot_t _tbe_t _tread_t, _tthe_t _tfile_t-_treading_t _terror_t _twill_t _tappear_t _tfirst_t. _tThe_t _terror_t _tcode_t @_tif_t _tclike_t (_ta_t _tvalue_t _tdrawn_t _tfrom_t _tthe_t _tenumeration_t #_tXMLErrorCode_t_t)@_tendif_t _tcan_t _tprovide_t _ta_t _tclue_t _tabout_t _twhat_t _thappened_t. _tFor_t _texample_t, _ta_t _tfile_t _tmight_t _tbe_t _tunreadable_t (_teither_t _tbecause_t _tit_t _tdoes_t _tnot_t _tactually_t _texist_t _tor_t _tbecause_t _tthe_t _tuser_t _tdoes_t _tnot_t _thave_t _tthe_t _tnecessary_t _taccess_t _tprivileges_t _tto_t _tread_t _tit_t) _tor_t _tsome_t _tsort_t _tof_t _tfile_t _toperation_t _terror_t _tmay_t _thave_t _tbeen_t _treported_t _tby_t _tthe_t _tunderlying_t _toperating_t _tsystem_t. _tCallers_t _tcan_t _tcheck_t _tfor_t _tthese_t _tsituations_t _tusing_t _ta_t _tprogram_t _tfragment_t _tsuch_t _tas_t _tthe_t _tfollowing_t: @_tif_t _tcpp_t @_tcode_t{._tcpp_t} _tSBMLReader_t _treader_t; _tSBMLDocument_t* _tdoc_t = _treader_t._treadSBMLFromFile_t(_tfilename_t);
_tif_t (_tdoc_t->_tgetNumErrors_t() > _t0_t) { _tif_t (_tdoc_t->_tgetError_t(_t0_t)->_tgetErrorId_t() == _tXMLError_t::_tXMLFileUnreadable_t) { _tHandle_t _tcase_t _tof_t _tunreadable_t _tfile_t _there_t. } _telse_t _tif_t (_tdoc_t->_tgetError_t(_t0_t)->_tgetErrorId_t() == _tXMLError_t::_tXMLFileOperationError_t) { _tHandle_t _tcase_t _tof_t _tother_t _tfile_t _toperation_t _terror_t _there_t. } _telse_t { _tHandle_t _tother_t _tcases_t – _tsee_t _terror_t _tcodes_t _tdefined_t _tin_t _tXMLErrorCode_t_t _tfor_t _tother_t _tpossible_t _tcases_t _tto_t _tcheck_t. } } @_tendcode_t @_tendif_t @_tif_t _tconly_t @_tcode_t{._tc_t} _tSBMLReader_t_t *_tsr_t; _tSBMLDocument_t_t *_td_t;
_tsr_t = _tSBMLReader_create_t();
_td_t = _tSBMLReader_readSBML_t(_tsr_t, _tfilename_t);
_tif_t (_tSBMLDocument_getNumErrors_t(_td_t) > _t0_t) { _tif_t (_tXMLError_getId_t(_tSBMLDocument_getError_t(_td_t, _t0_t)) == _tSBML_READ_ERROR_FILE_NOT_FOUND_t) { ... } _tif_t (_tXMLError_getId_t(_tSBMLDocument_getError_t(_td_t, _t0_t)) == _tSBML_READ_ERROR_NOT_SBML_t) { ... } } @_tendcode_t @_tendif_t @_tif_t _tjava_t @_tcode_t{._tjava_t} _tSBMLReader_t _treader_t = _tnew_t _tSBMLReader_t(); _tSBMLDocument_t _tdoc_t = _treader_t._treadSBMLFromFile_t(_tfilename_t);
_tif_t (_tdoc_t._tgetNumErrors_t() > _t0_t) { _tif_t (_tdoc_t._tgetError_t(_t0_t)._tgetErrorId_t() == _tlibsbmlConstants_t._tXMLFileUnreadable_t) { _tHandle_t _tcase_t _tof_t _tunreadable_t _tfile_t _there_t. } _telse_t _tif_t (_tdoc_t._tgetError_t(_t0_t)._tgetErrorId_t() == _tlibsbmlConstants_t._tXMLFileOperationError_t) { _tHandle_t _tcase_t _tof_t _tother_t _tfile_t _toperation_t _terror_t _there_t. } _telse_t { _tHandle_t _tother_t _terror_t _tcases_t. } } @_tendcode_t @_tendif_t @_tif_t _tpython_t @_tcode_t{._tpy_t} _treader_t = _tSBMLReader_t() _tif_t _treader_t == _tNone_t: # _tHandle_t _tthe_t _ttruly_t _texceptional_t _tcase_t _tof_t _tno_t _tobject_t _tcreated_t _there_t.
_tdoc_t = _treader_t._treadSBMLFromFile_t(_tfilename_t) _tif_t _tdoc_t._tgetNumErrors_t() > _t0_t: _tif_t _tdoc_t._tgetError_t(_t0_t)._tgetErrorId_t() == _tXMLFileUnreadable_t: # _tHandle_t _tcase_t _tof_t _tunreadable_t _tfile_t _there_t. _telif_t _tdoc_t._tgetError_t(_t0_t)._tgetErrorId_t() == _tXMLFileOperationError_t: # _tHandle_t _tcase_t _tof_t _tother_t _tfile_t _terror_t _there_t. _telse_t: # _tHandle_t _tother_t _terror_t _tcases_t _there_t. @_tendcode_t @_tendif_t @_tif_t _tcsharp_t @_tcode_t{._tcs_t} _tSBMLReader_t _treader_t = _tnew_t _tSBMLReader_t(); _tSBMLDocument_t _tdoc_t = _treader_t._treadSBMLFromFile_t(_tfilename_t);
_tif_t (_tdoc_t._tgetNumErrors_t() > _t0_t) { _tif_t (_tdoc_t._tgetError_t(_t0_t)._tgetErrorId_t() == _tlibsbmlcs_t._tlibsbml_t._tXMLFileUnreadable_t) { _tHandle_t _tcase_t _tof_t _tunreadable_t _tfile_t _there_t. } _telse_t _tif_t (_tdoc_t._tgetError_t(_t0_t)._tgetErrorId_t() == _tlibsbmlcs_t._tlibsbml_t._tXMLFileOperationError_t) { _tHandle_t _tcase_t _tof_t _tother_t _tfile_t _toperation_t _terror_t _there_t. } _telse_t { _tHandle_t _tother_t _tcases_t – _tsee_t _terror_t _tcodes_t _tdefined_t _tin_t _tXMLErrorCode_t_t _tfor_t _tother_t _tpossible_t _tcases_t _tto_t _tcheck_t. } } @_tendcode_t @_tendif_t
@_tcopydetails_t _tdoc_sbmlreader_if_compressed_t
@_tcopydetails_t _tdoc_config_for_reading_zipped_files_t
@_tclass_t _tdoc_readsbmlfromstring_t
_tReads_t _tan_t _tSBML_t _tdocument_t _tfrom_t _ta_t _ttext_t _tstring_t.
_tThis_t _tmethod_t _tis_t _tflexible_t _twith_t _trespect_t _tto_t _tthe_t _tpresence_t _tof_t _tan_t _tXML_t _tdeclaration_t _tat_t _tthe_t _tbeginning_t _tof_t _tthe_t _tstring_t. _tIn_t _tparticular_t, _tif_t _tthe_t _tstring_t _tin_t @_tp_t _txml_t _tdoes_t _tnot_t _tbegin_t _twith_t _tthe_t _tXML_t _tdeclaration_t @_tverbatim_t <?_txml_t _tversion_t='_t1_t._t0_t' _tencoding_t='_tUTF_t-_t8_t'?> @_tendverbatim_t _tthen_t _tthis_t _tmethod_t _twill_t _tautomatically_t _tprepend_t _tthe_t _tdeclaration_t _tto_t @_tp_t _txml_t.
_tThis_t _tmethod_t _twill_t _tlog_t _ta_t _tfatal_t _terror_t _tif_t _tthe_t _tcontent_t _tgiven_t _tin_t _tthe_t _tparameter_t @_tp_t _txml_t _tis_t _tnot_t _tin_t _tSBML_t _tformat_t. _tSee_t _tthe_t _tmethod_t _tdocumentation_t _tfor_t @_tif_t _tconly_t _tSBMLReader_readSBML_t() @_telseif_t _tjava_t _tSBMLReader_t::_treadSBML_t( _tString_t ) @_telse_t _tSBMLReader_t::_treadSBML_t() @_tendif_t _tfor_t _tan_t _texample_t _tof_t _tcode_t _tfor_t _ttesting_t _tthe_t _treturned_t _terror_t _tcode_t.
@_tclass_t _tdoc_note_reading_comp_t
@_tnote_t _tWhen_t _tusing_t _tthis_t _tmethod_t _tto_t _tread_t _tan_t _tSBMLDocument_t _tthat_t _tuses_t _tthe_t _tSBML_t _tLevel_t&_tnbsp_t;_t3_t _tHierarchical_t Model_t _tComposition_t _tpackage_t (_tcomp_t) _tthe_t _tdocument_t _tlocation_t _tcannot_t _tbe_t _tset_t _tautomatically_t. _tThus_t, _tif_t _tthe_t _tmodel_t _tcontains_t _treferences_t _tto_t _tExternalModelDefinition_t _tobjects_t, _tit_t _twill_t _tbe_t _tnecessary_t _tto_t _tmanually_t _tset_t _tthe_t _tdocument_t _tURI_t _tlocation_t (@_tif_t _tconly_t _tSBMLDocument_setLocationURI_t() @_telseif_t _tjava_t _tSBMLDocument_t::_tsetLocationURI_t( _tString_t ) @_telse_t _tSBMLDocument_t::_tsetLocationURI_t() @_tendif_t ) _tin_t _torder_t _tto_t _tfacilitate_t _tresolving_t _tthese_t _tmodels_t.
_tCreates_t _ta_t _tnew_t _tSBMLReader_t_t _tand_t _treturns_t _tit_t.
_tBy_t _tdefault_t, _tXML_t _tSchema_t _tvalidation_t _tis_t _toff_t.
@_tif_t _tconly_t @_tmemberof_t _tSBMLReader_t_t @_tendif_t
@_tclass_t _tdoc_sbmlreader_if_compressed_t
@_tcond_t _tdoxygenIgnored_t
void SBMLReader_free | ( | SBMLReader_t * | sr | ) |
_tFrees_t _tthe_t _tgiven_t _tSBMLReader_t_t.
@_tif_t _tconly_t @_tmemberof_t _tSBMLReader_t_t @_tendif_t
int SBMLReader_hasBzip2 | ( | ) |
_tReturns_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tunderlying_t _tlibSBML_t _tsupports_t @_tem_t _tbzip2_t _tformat_t _tcompression_t.
_tThis_t _tpredicate_t _ttests_t _twhether_t _tthe_t _tunderlying_t _tcopy_t _tof_t _tthe_t _tlibSBML_t _tlibrary_t _thas_t _tbeen_t _tlinked_t _twith_t _tthe_t _tnecessary_t _tlibraries_t _tto_t _tsupport_t @_tem_t _tbzip2_t _tcompression_t.
@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tlibSBML_t _tis_t _tlinked_t _twith_t _tbzip2_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.
@_tif_t _tconly_t @_tmemberof_t _tSBMLReader_t_t @_tendif_t
int SBMLReader_hasZlib | ( | ) |
_tReturns_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tunderlying_t _tlibSBML_t _tsupports_t @_tem_t _tgzip_t _tand_t @_tem_t _tzlib_t _tformat_t _tcompression_t.
_tThis_t _tpredicate_t _ttests_t _twhether_t _tthe_t _tunderlying_t _tcopy_t _tof_t _tthe_t _tlibSBML_t _tlibrary_t _thas_t _tbeen_t _tlinked_t _twith_t _tthe_t _tnecessary_t _tlibraries_t _tto_t _tsupport_t @_tem_t _tzlib_t _tcompression_t.
@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tlibSBML_t _tis_t _tlinked_t _twith_t _tzlib_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.
@_tif_t _tconly_t @_tmemberof_t _tSBMLReader_t_t @_tendif_t
SBMLDocument_t * SBMLReader_readSBML | ( | SBMLReader_t * | sr, |
const char * | filename | ||
) |
@_tcopydoc_t _tdoc_readsbmlfromfile_t
_tThis_t _tfunction_t _tis_t _tidentical_t _tto_t _tSBMLReader_readSBMLFromFile_t().
@_tparam_t _tsr_t _tthe_t _tSBMLReader_t_t _tstructure_t _tto_t _tuse_t.
@_tparam_t _tfilename_t _ta_t _tstring_t _tgiving_t _tthe_t _tpath_t _tto_t _ta_t _tfile_t _twhere_t _tthe_t _tXML_t _tcontent_t _tis_t _tto_t _tbe_t _tfound_t.
@_treturn_t _ta_t _tpointer_t _tto_t _tthe_t _tSBMLDocument_t _tstructure_t _tcreated_t _tfrom_t _tthe_t _tSBML_t _tcontent_t _tread_t _tfrom_t @_tp_t _tfilename_t.
@_tcopydetails_t _tdoc_note_sbmlreader_error_handling_t
@_tif_t _tconly_t @_tmemberof_t _tSBMLReader_t_t @_tendif_t
SBMLDocument_t * SBMLReader_readSBMLFromFile | ( | SBMLReader_t * | sr, |
const char * | filename | ||
) |
@_tcopydoc_t _tdoc_readsbmlfromfile_t
_tThis_t _tfunction_t _tis_t _tidentical_t _tto_t _tSBMLReader_readSBML_t().
@_tparam_t _tsr_t _tthe_t _tSBMLReader_t_t _tstructure_t _tto_t _tuse_t.
@_tparam_t _tfilename_t _ta_t _tstring_t _tgiving_t _tthe_t _tpath_t _tto_t _ta_t _tfile_t _twhere_t _tthe_t _tXML_t _tcontent_t _tis_t _tto_t _tbe_t _tfound_t.
@_treturn_t _ta_t _tpointer_t _tto_t _tthe_t _tSBMLDocument_t _tstructure_t _tcreated_t _tfrom_t _tthe_t _tSBML_t _tcontent_t _tread_t _tfrom_t @_tp_t _tfilename_t.
@_tcopydetails_t _tdoc_note_sbmlreader_error_handling_t
@_tif_t _tconly_t @_tmemberof_t _tSBMLReader_t_t @_tendif_t
SBMLDocument_t * SBMLReader_readSBMLFromString | ( | SBMLReader_t * | sr, |
const char * | xml | ||
) |
@_tcopydoc_t _tdoc_readsbmlfromstring_t
@_tparam_t _tsr_t _tthe_t _tSBMLReader_t_t _tstructure_t _tto_t _tuse_t.
@_tparam_t _txml_t _tthe_t _tinput_t _txml_t _tstring_t.
@_treturn_t _ta_t _tpointer_t _tto_t _tthe_t _tSBMLDocument_t _tread_t.
@_tcopydetails_t _tdoc_note_reading_comp_t
@_tif_t _tconly_t @_tmemberof_t _tSBMLReader_t_t @_tendif_t