libSBML C API
libSBML 5.20.4 C API
|
SBMLNamespaces_t class to store level/version and namespace. More...
Functions | |
int | SBMLNamespaces_addNamespaces (SBMLNamespaces_t *sbmlns, const XMLNamespaces_t *xmlns) |
_tAdd_t _tthe_t _tXML_t _tnamespaces_t _tlist_t _tto_t _tthe_t _tset_t _tof_t _tnamespaces_t _twithin_t _tthis_t _tSBMLNamespaces_t_t _tstructure_t. | |
int | SBMLNamespaces_addPackageNamespace (SBMLNamespaces_t *sbmlns, const char *pkgName, unsigned int pkgVersion, const char *prefix) |
_tAdd_t _tan_t _tXML_t _tnamespace_t (_ta_t _tpair_t _tof_t _tURI_t _tand_t _tprefix_t) _tof_t _ta_t _tpackage_t _textension_t _tto_t _tthe_t _tset_t _tof_t _tnamespaces_t _twithin_t _tthis_t _tSBMLNamespaces_t _tobject_t. | |
int | SBMLNamespaces_addPackageNamespaces (SBMLNamespaces_t *sbmlns, const XMLNamespaces_t *xmlns) |
_tAdd_t _tthe_t _tXML_t _tnamespaces_t _tof_t _tpackage_t _textensions_t _tin_t _tthe_t _tgiven_t _tXMLNamespace_t _tobject_t _tto_t _tthe_t _tset_t _tof_t _tnamespaces_t _twithin_t _tthis_t _tSBMLNamespaces_t _tobject_t (_tNon_t-_tpackage_t _tXML_t _tnamespaces_t _tare_t _tnot_t _tadded_t _tby_t _tthis_t _tfunction_t). | |
SBMLNamespaces_t * | SBMLNamespaces_create (unsigned int level, unsigned int version) |
@_tendcond_t | |
void | SBMLNamespaces_free (SBMLNamespaces_t *ns) |
_tDestroys_t _tthis_t _tSBMLNamespaces_t_t _tstructure_t. | |
unsigned int | SBMLNamespaces_getLevel (SBMLNamespaces_t *sbmlns) |
_tGet_t _tthe_t _tSBML_t _tLevel_t _tof_t _tthis_t _tSBMLNamespaces_t_t _tstructure_t. | |
XMLNamespaces_t * | SBMLNamespaces_getNamespaces (SBMLNamespaces_t *sbmlns) |
_tGet_t _tthe_t _tXML_t _tNamespaces_t _tlist_t _tof_t _tthis_t _tSBMLNamespaces_t_t _tstructure_t. | |
char * | SBMLNamespaces_getSBMLNamespaceURI (unsigned int level, unsigned int version) |
_tReturns_t _ta_t _tstring_t _trepresenting_t _tthe_t _tSBML_t _tXML_t _tnamespace_t _tfor_t _tthe_t _tgiven_t @_tp_t _tlevel_t _tand_t @_tp_t _tversion_t _tof_t _tSBML_t. | |
SBMLNamespaces_t ** | SBMLNamespaces_getSupportedNamespaces (int *length) |
_tReturns_t _tan_t _tarray_t _tof_t _tSBML_t _tNamespaces_t _tsupported_t _tby_t _tthis_t _tversion_t _tof_t _tLibSBML_t. | |
unsigned int | SBMLNamespaces_getVersion (SBMLNamespaces_t *sbmlns) |
_tGet_t _tthe_t _tSBML_t _tVersion_t _tof_t _tthis_t _tSBMLNamespaces_t_t _tstructure_t. | |
SBMLNamespaces_t class to store level/version and namespace.
int SBMLNamespaces_addNamespaces | ( | SBMLNamespaces_t * | sbmlns, |
const XMLNamespaces_t * | xmlns | ||
) |
_tAdd_t _tthe_t _tXML_t _tnamespaces_t _tlist_t _tto_t _tthe_t _tset_t _tof_t _tnamespaces_t _twithin_t _tthis_t _tSBMLNamespaces_t_t _tstructure_t.
@_tparam_t _tsbmlns_t _tthe_t _tSBMLNamespaces_t_t _tstructure_t _tto_t _tadd_t _tto_t. @_tparam_t _txmlns_t _tthe_t _tXML_t _tnamespaces_t _tto_t _tbe_t _tadded_t.
@_tmemberof_t _tSBMLNamespaces_t_t
int SBMLNamespaces_addPackageNamespace | ( | SBMLNamespaces_t * | sbmlns, |
const char * | pkgName, | ||
unsigned int | pkgVersion, | ||
const char * | prefix | ||
) |
_tAdd_t _tan_t _tXML_t _tnamespace_t (_ta_t _tpair_t _tof_t _tURI_t _tand_t _tprefix_t) _tof_t _ta_t _tpackage_t _textension_t _tto_t _tthe_t _tset_t _tof_t _tnamespaces_t _twithin_t _tthis_t _tSBMLNamespaces_t _tobject_t.
_tThe_t _tSBML_t _tLevel_t _tand_t _tSBML_t _tVersion_t _tof_t _tthis_t _tobject_t _tis_t _tused_t.
@_tparam_t _tsbmlns_t _tthe_t _tSBMLNamespaces_t_t _tstructure_t _tto_t _tadd_t _tto_t. @_tparam_t _tpkgName_t _tthe_t _tstring_t _tof_t _tpackage_t _tname_t (_te_t._tg_t. "_tlayout_t", "_tmulti_t"). @_tparam_t _tpkgVersion_t _tthe_t _tpackage_t _tversion_t. @_tparam_t _tprefix_t _tthe_t _tprefix_t _tof_t _tthe_t _tpackage_t _tnamespace_t _tto_t _tbe_t _tadded_t. _tThe_t _tpackage_t'_ts_t _tname_t _twill_t _tbe_t _tused_t _tif_t _tthe_t _tgiven_t _tstring_t _tis_t _tempty_t (_tdefault_t).
@_tcopydetails_t _tdoc_returns_success_code_t @_tli_t @_tsbmlconstant_t{_tLIBSBML_OPERATION_SUCCESS_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_ATTRIBUTE_VALUE_t, _tOperationReturnValues_t_t}
@_tnote_t _tAn_t _tXML_t _tnamespace_t _tof_t _ta_t _tnon_t-_tregistered_t _tpackage_t _textension_t _tcan_t'_tt_t _tbe_t _tadded_t _tby_t _tthis_t _tfunction_t (@_tsbmlconstant_t{_tLIBSBML_INVALID_ATTRIBUTE_VALUE_t, _tOperationReturnValues_t_t} _twill_t _tbe_t _treturned_t).
@_tsee_t _taddNamespace_t(@_tif_t _tjava_t _tString_t, _tString_t@_tendif_t)
int SBMLNamespaces_addPackageNamespaces | ( | SBMLNamespaces_t * | sbmlns, |
const XMLNamespaces_t * | xmlns | ||
) |
_tAdd_t _tthe_t _tXML_t _tnamespaces_t _tof_t _tpackage_t _textensions_t _tin_t _tthe_t _tgiven_t _tXMLNamespace_t _tobject_t _tto_t _tthe_t _tset_t _tof_t _tnamespaces_t _twithin_t _tthis_t _tSBMLNamespaces_t _tobject_t (_tNon_t-_tpackage_t _tXML_t _tnamespaces_t _tare_t _tnot_t _tadded_t _tby_t _tthis_t _tfunction_t).
@_tparam_t _tsbmlns_t _tthe_t _tSBMLNamespaces_t_t _tstructure_t _tto_t _tadd_t _tto_t. @_tparam_t _txmlns_t _tthe_t _tXML_t _tnamespaces_t _tto_t _tbe_t _tadded_t.
@_tcopydetails_t _tdoc_returns_success_code_t @_tli_t @_tsbmlconstant_t{_tLIBSBML_OPERATION_SUCCESS_t, _tOperationReturnValues_t_t} @_tli_t @_tsbmlconstant_t{_tLIBSBML_INVALID_ATTRIBUTE_VALUE_t, _tOperationReturnValues_t_t}
@_tnote_t _tXML_t _tnamespaces_t _tof_t _ta_t _tnon_t-_tregistered_t _tpackage_t _textensions_t _tare_t _tnot_t _tadded_t (_tjust_t _tignored_t) _tby_t _tthis_t _tfunction_t. @_tsbmlconstant_t{_tLIBSBML_INVALID_ATTRIBUTE_VALUE_t, _tOperationReturnValues_t_t} _twill_t _tbe_t _treturned_t _tif_t _tthe_t _tgiven_t _txmlns_t _tis_t @_tc_t _tNULL_t.
SBMLNamespaces_t * SBMLNamespaces_create | ( | unsigned int | level, |
unsigned int | version | ||
) |
@_tendcond_t
_tCreates_t _ta_t _tnew_t _tSBMLNamespaces_t_t _tstructure_t _tcorresponding_t _tto_t _tthe_t _tgiven_t _tSBML_t @_tp_t _tlevel_t _tand_t @_tp_t _tversion_t.
@_tcond_t _tdoxygenIgnored_t
void SBMLNamespaces_free | ( | SBMLNamespaces_t * | ns | ) |
_tDestroys_t _tthis_t _tSBMLNamespaces_t_t _tstructure_t.
@_tparam_t _tns_t _tSBMLNamespaces_t_t _tstructure_t _tto_t _tbe_t _tfreed_t.
@_tmemberof_t _tSBMLNamespaces_t_t
unsigned int SBMLNamespaces_getLevel | ( | SBMLNamespaces_t * | sbmlns | ) |
_tGet_t _tthe_t _tSBML_t _tLevel_t _tof_t _tthis_t _tSBMLNamespaces_t_t _tstructure_t.
@_tparam_t _tsbmlns_t _tthe_t _tSBMLNamespaces_t_t _tstructure_t _tto_t _tquery_t.
@_treturn_t _tthe_t _tSBML_t _tLevel_t _tof_t _tthis_t _tSBMLNamespaces_t_t _tstructure_t.
@_tmemberof_t _tSBMLNamespaces_t_t
XMLNamespaces_t * SBMLNamespaces_getNamespaces | ( | SBMLNamespaces_t * | sbmlns | ) |
_tGet_t _tthe_t _tXML_t _tNamespaces_t _tlist_t _tof_t _tthis_t _tSBMLNamespaces_t_t _tstructure_t.
@_tparam_t _tsbmlns_t _tthe_t _tSBMLNamespaces_t_t _tstructure_t _tto_t _tquery_t.
@_treturn_t _tthe_t _tXMLNamespaces_t_t _tstructure_t _tof_t _tthis_t _tSBMLNamespaces_t_t _tstructure_t.
@_tmemberof_t _tSBMLNamespaces_t_t
char * SBMLNamespaces_getSBMLNamespaceURI | ( | unsigned int | level, |
unsigned int | version | ||
) |
_tReturns_t _ta_t _tstring_t _trepresenting_t _tthe_t _tSBML_t _tXML_t _tnamespace_t _tfor_t _tthe_t _tgiven_t @_tp_t _tlevel_t _tand_t @_tp_t _tversion_t _tof_t _tSBML_t.
@_tparam_t _tlevel_t _tthe_t _tSBML_t _tlevel_t. @_tparam_t _tversion_t _tthe_t _tSBML_t _tversion_t.
@_treturn_t _ta_t _tstring_t _trepresenting_t _tthe_t _tSBML_t _tnamespace_t _tthat_t _treflects_t _tthe_t _tSBML_t _tLevel_t _tand_t _tVersion_t _tspecified_t.
@_tmemberof_t _tSBMLNamespaces_t_t
SBMLNamespaces_t ** SBMLNamespaces_getSupportedNamespaces | ( | int * | length | ) |
_tReturns_t _tan_t _tarray_t _tof_t _tSBML_t _tNamespaces_t _tsupported_t _tby_t _tthis_t _tversion_t _tof_t _tLibSBML_t.
@_tparam_t _tlength_t _tan_t _tinteger_t _tholding_t _tthe_t _tlength_t _tof_t _tthe_t _tarray_t. @_treturn_t _tan_t _tarray_t _tof_t _tSBML_t _tnamespaces_t, _tor_t @_tc_t _tNULL_t _tif_t _tlength_t _tis_t @_tc_t _tNULL_t. _tThe_t _tarray_t _thas_t _tto_t _tbe_t _tfreed_t _tby_t _tthe_t _tcaller_t.
@_tmemberof_t _tSBMLNamespaces_t_t
unsigned int SBMLNamespaces_getVersion | ( | SBMLNamespaces_t * | sbmlns | ) |
_tGet_t _tthe_t _tSBML_t _tVersion_t _tof_t _tthis_t _tSBMLNamespaces_t_t _tstructure_t.
@_tparam_t _tsbmlns_t _tthe_t _tSBMLNamespaces_t_t _tstructure_t _tto_t _tquery_t.
@_treturn_t _tthe_t _tSBML_t _tVersion_t _tof_t _tthis_t _tSBMLNamespaces_t_t _tstructure_t.
@_tmemberof_t _tSBMLNamespaces_t_t