libSBML C API
libSBML 5.20.2 C API
|
Definitions of AlgebraicRule_t. More...
Functions | |
AlgebraicRule_t * | AlgebraicRule_clone (AlgebraicRule_t *ar) |
_tCreates_t _ta_t _tdeep_t _tcopy_t _tof_t _tthe_t _tgiven_t _tAlgebraicRule_t_t _tstructure_t. | |
AlgebraicRule_t * | AlgebraicRule_create (unsigned int level, unsigned int version) |
_tCreates_t _ta_t _tnew_t _tAlgebraicRule_t_t _tstructure_t _tusing_t _tthe_t _tgiven_t _tSBML_t @_tp_t _tlevel_t _tand_t @_tp_t _tversion_t _tvalues_t. | |
AlgebraicRule_t * | AlgebraicRule_createWithNS (SBMLNamespaces_t *sbmlns) |
_tCreates_t _ta_t _tnew_t _tAlgebraicRule_t_t _tstructure_t _tusing_t _tthe_t _tgiven_t _tSBMLNamespaces_t_t _tstructure_t, @_tp_t _tsbmlns_t. | |
void | AlgebraicRule_free (AlgebraicRule_t *ar) |
_tFrees_t _tthe_t _tgiven_t _tAlgebraicRule_t_t _tstructure_t. | |
const char * | AlgebraicRule_getFormula (const AlgebraicRule_t *r) |
@_tnote_t _tSBML_t _tLevel_t _t1_t _tuses_t _ta_t _ttext_t-_tstring_t _tformat_t _tfor_t _tmathematical_t _tformulas_t. | |
const ASTNode_t * | AlgebraicRule_getMath (const AlgebraicRule_t *ar) |
_tReturns_t _tthe_t _tmathematical_t _texpression_t _tof_t _tthis_t _tAlgebraicRule_t_t _tstructure_t _tas_t _tan_t _tASTNode_t_t _tstructure_t. | |
int | AlgebraicRule_hasRequiredAttributes (const AlgebraicRule_t *ar) |
_tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tall_t _tthe_t _trequired_t _tattributes_t _tof_t _tthe_t _tgiven_t _tAlgebraicRule_t_t _tstructure_t _thave_t _tbeen_t _tset_t. | |
int | AlgebraicRule_hasRequiredElements (const AlgebraicRule_t *ar) |
_tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tall_t _tthe_t _trequired_t _tsub_t-_telements_t _tof_t _tthe_t _tgiven_t _tAlgebraicRule_t_t _tstructure_t _thave_t _tbeen_t _tset_t. | |
int | AlgebraicRule_isSetFormula (const AlgebraicRule_t *r) |
@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tformula_t (_tor_t _tequivalently_t _tthe_t _tmath_t) _tfor_t _tthis_t _tAlgebraicRule_t_t _tis_t _tset_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t. | |
int | AlgebraicRule_isSetMath (const AlgebraicRule_t *ar) |
_tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tgiven_t _tAlgebraicRule_t_t _tstructure_t'_ts_t "_tmath_t" _tis_t _tset_t. | |
int | AlgebraicRule_setFormula (AlgebraicRule_t *r, const char *formula) |
_tSets_t _tthe_t _tformula_t _tof_t _tthis_t _tAlgebraicRule_t_t _tto_t _ta_t _tcopy_t _tof_t _tstring_t. | |
int | AlgebraicRule_setMath (AlgebraicRule_t *ar, const ASTNode_t *math) |
_tSets_t _tthe_t _tmathematical_t _texpression_t _tof_t _tthe_t _tgiven_t _tAlgebraicRule_t_t _tstructure_t. | |
Definitions of AlgebraicRule_t.
AlgebraicRule_t * AlgebraicRule_clone | ( | AlgebraicRule_t * | ar | ) |
_tCreates_t _ta_t _tdeep_t _tcopy_t _tof_t _tthe_t _tgiven_t _tAlgebraicRule_t_t _tstructure_t.
@_tparam_t _tar_t _tthe_t _tAlgebraicRule_t_t _tstructure_t _tto_t _tbe_t _tcopied_t.
@_treturns_t _ta_t (_tdeep_t) _tcopy_t _tof_t _tthe_t _tgiven_t _tAlgebraicRule_t_t _tstructure_t, _tor_t _ta_t _tnull_t _tpointer_t _tif_t _ta_t _tfailure_t _toccurred_t.
@_tmemberof_t _tAlgebraicRule_t_t
AlgebraicRule_t * AlgebraicRule_create | ( | unsigned int | level, |
unsigned int | version | ||
) |
_tCreates_t _ta_t _tnew_t _tAlgebraicRule_t_t _tstructure_t _tusing_t _tthe_t _tgiven_t _tSBML_t @_tp_t _tlevel_t _tand_t @_tp_t _tversion_t _tvalues_t.
@_tparam_t _tlevel_t _tan_t _tunsigned_t _tint_t, _tthe_t _tSBML_t _tlevel_t _tto_t _tassign_t _tto_t _tthis_t _tAlgebraicRule_t_t _tstructure_t.
@_tparam_t _tversion_t _tan_t _tunsigned_t _tint_t, _tthe_t _tSBML_t _tversion_t _tto_t _tassign_t _tto_t _tthis_t _tAlgebraicRule_t_t _tstructure_t.
@_treturns_t _tthe_t _tnewly_t-_tcreated_t _tAlgebraicRule_t_t _tstructure_t, _tor_t _ta_t _tnull_t _tpointer_t _tif_t _tan_t _terror_t _toccurred_t _tduring_t _tconstruction_t.
@_tcopydetails_t _tdoc_note_setting_lv_t
@_tmemberof_t _tAlgebraicRule_t_t
_tCreates_t _ta_t _tnew_t _tAlgebraicRule_t_t _tstructure_t _tusing_t _tthe_t _tgiven_t _tSBML_t @_tp_t _tlevel_t _tand_t @_tp_t _tversion_t _tvalues_t.
@_tcond_t _tdoxygenIgnored_t
AlgebraicRule_t * AlgebraicRule_createWithNS | ( | SBMLNamespaces_t * | sbmlns | ) |
_tCreates_t _ta_t _tnew_t _tAlgebraicRule_t_t _tstructure_t _tusing_t _tthe_t _tgiven_t _tSBMLNamespaces_t_t _tstructure_t, @_tp_t _tsbmlns_t.
@_tcopydetails_t _tdoc_what_are_sbmlnamespaces_t
@_tparam_t _tsbmlns_t _tan_t _tSBMLNamespaces_t_t _tstructure_t.
@_treturns_t _tthe_t _tnewly_t-_tcreated_t _tAlgebraicRule_t_t _tstructure_t, _tor_t _ta_t _tnull_t _tpointer_t _tif_t _tan_t _terror_t _toccurred_t _tduring_t _tconstruction_t.
@_tcopydetails_t _tdoc_note_setting_lv_t
@_tmemberof_t _tAlgebraicRule_t_t
void AlgebraicRule_free | ( | AlgebraicRule_t * | ar | ) |
_tFrees_t _tthe_t _tgiven_t _tAlgebraicRule_t_t _tstructure_t.
@_tparam_t _tar_t _tthe_t _tAlgebraicRule_t_t _tstructure_t _tto_t _tbe_t _tfreed_t.
@_tmemberof_t _tAlgebraicRule_t_t
const char * AlgebraicRule_getFormula | ( | const AlgebraicRule_t * | r | ) |
@_tnote_t _tSBML_t _tLevel_t _t1_t _tuses_t _ta_t _ttext_t-_tstring_t _tformat_t _tfor_t _tmathematical_t _tformulas_t.
_tOther_t _tlevels_t _tof_t _tSBML_t _tuse_t _tMathML_t, _tan_t _tXML_t _tformat_t _tfor_t _trepresenting_t _tmathematical_t _texpressions_t. _tLibSBML_t _tprovides_t _tan_t _tAbstract_t _tSyntax_t _tTree_t _tAPI_t _tfor_t _tworking_t _twith_t _tmathematical_t _texpressions_t; _tthis_t _tAPI_t _tis_t _tmore_t _tpowerful_t _tthan_t _tworking_t _twith_t _tformulas_t _tdirectly_t _tin_t _ttext_t _tform_t, _tand_t _tASTs_t _tcan_t _tbe_t _ttranslated_t _tinto_t _teither_t _tMathML_t _tor_t _tthe_t _ttext_t-_tstring_t _tsyntax_t. _tThe_t _tlibSBML_t _tmethods_t _tthat_t _taccept_t _ttext_t-_tstring_t _tformulas_t _tdirectly_t (_tsuch_t _tas_t _tthis_t _tone_t) _tare_t _tprovided_t _tfor_t _tSBML_t _tLevel_t _t1_t _tcompatibility_t, _tbut_t _tdevelopers_t _tare_t _tencouraged_t _tto_t _tuse_t _tthe_t _tAST_t _tmechanisms_t.
@_treturn_t _tthe_t _tformula_t _tfor_t _tthis_t _tAlgebraicRule_t_t.
@_tmemberof_t _tAlgebraicRule_t_t
const ASTNode_t * AlgebraicRule_getMath | ( | const AlgebraicRule_t * | ar | ) |
_tReturns_t _tthe_t _tmathematical_t _texpression_t _tof_t _tthis_t _tAlgebraicRule_t_t _tstructure_t _tas_t _tan_t _tASTNode_t_t _tstructure_t.
@_tparam_t _tar_t _tthe_t _tAlgebraicRule_t_t _tstructure_t.
@_treturn_t _tthe_t _tmath_t _tfor_t _tthis_t _tAlgebraicRule_t_t, _tas_t _tan_t _tASTNode_t_t.
@_tmemberof_t _tAlgebraicRule_t_t
int AlgebraicRule_hasRequiredAttributes | ( | const AlgebraicRule_t * | ar | ) |
_tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tall_t _tthe_t _trequired_t _tattributes_t _tof_t _tthe_t _tgiven_t _tAlgebraicRule_t_t _tstructure_t _thave_t _tbeen_t _tset_t.
@_tparam_t _tar_t _tthe_t _tAlgebraicRule_t_t _tstructure_t _tto_t _tcheck_t.
@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tall_t _tthe_t _trequired_t _tattributes_t _tfor_t _tthis_t _tstructure_t _thave_t _tbeen_t _tdefined_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.
@_tmemberof_t _tAlgebraicRule_t_t
int AlgebraicRule_hasRequiredElements | ( | const AlgebraicRule_t * | ar | ) |
_tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tall_t _tthe_t _trequired_t _tsub_t-_telements_t _tof_t _tthe_t _tgiven_t _tAlgebraicRule_t_t _tstructure_t _thave_t _tbeen_t _tset_t.
@_tparam_t _tar_t _tthe_t _tAlgebraicRule_t_t _tstructure_t _tto_t _tcheck_t.
@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tall_t _tthe_t _trequired_t _tsub_t-_telements_t _tfor_t _tthis_t _tstructure_t _thave_t _tbeen_t _tdefined_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.
@_tmemberof_t _tAlgebraicRule_t_t
int AlgebraicRule_isSetFormula | ( | const AlgebraicRule_t * | r | ) |
@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tformula_t (_tor_t _tequivalently_t _tthe_t _tmath_t) _tfor_t _tthis_t _tAlgebraicRule_t_t _tis_t _tset_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.
@_tmemberof_t _tAlgebraicRule_t_t
int AlgebraicRule_isSetMath | ( | const AlgebraicRule_t * | ar | ) |
_tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tgiven_t _tAlgebraicRule_t_t _tstructure_t'_ts_t "_tmath_t" _tis_t _tset_t.
@_tparam_t _tar_t _tthe_t _tAlgebraicRule_t_t _tstructure_t.
@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t "_tmath_t" _tof_t _tthis_t _tAlgebraicRule_t_t _tstructure_t _tis_t _tset_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.
@_tmemberof_t _tAlgebraicRule_t_t
int AlgebraicRule_setFormula | ( | AlgebraicRule_t * | r, |
const char * | formula | ||
) |
_tSets_t _tthe_t _tformula_t _tof_t _tthis_t _tAlgebraicRule_t_t _tto_t _ta_t _tcopy_t _tof_t _tstring_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_OBJECT_t, _tOperationReturnValues_t_t}
@_tnote_t _tSBML_t _tLevel_t _t1_t _tuses_t _ta_t _ttext_t-_tstring_t _tformat_t _tfor_t _tmathematical_t _tformulas_t. _tOther_t _tlevels_t _tof_t _tSBML_t _tuse_t _tMathML_t, _tan_t _tXML_t _tformat_t _tfor_t _trepresenting_t _tmathematical_t _texpressions_t. _tLibSBML_t _tprovides_t _tan_t _tAbstract_t _tSyntax_t _tTree_t _tAPI_t _tfor_t _tworking_t _twith_t _tmathematical_t _texpressions_t; _tthis_t _tAPI_t _tis_t _tmore_t _tpowerful_t _tthan_t _tworking_t _twith_t _tformulas_t _tdirectly_t _tin_t _ttext_t _tform_t, _tand_t _tASTs_t _tcan_t _tbe_t _ttranslated_t _tinto_t _teither_t _tMathML_t _tor_t _tthe_t _ttext_t-_tstring_t _tsyntax_t. _tThe_t _tlibSBML_t _tmethods_t _tthat_t _taccept_t _ttext_t-_tstring_t _tformulas_t _tdirectly_t (_tsuch_t _tas_t _tthis_t _tone_t) _tare_t _tprovided_t _tfor_t _tSBML_t _tLevel_t _t1_t _tcompatibility_t, _tbut_t _tdevelopers_t _tare_t _tencouraged_t _tto_t _tuse_t _tthe_t _tAST_t _tmechanisms_t.
@_tmemberof_t _tAlgebraicRule_t_t
int AlgebraicRule_setMath | ( | AlgebraicRule_t * | ar, |
const ASTNode_t * | math | ||
) |
_tSets_t _tthe_t _tmathematical_t _texpression_t _tof_t _tthe_t _tgiven_t _tAlgebraicRule_t_t _tstructure_t.
@_tparam_t _tar_t _tthe_t _tAlgebraicRule_t_t _tstructure_t.
@_tparam_t _tmath_t _tan_t _tASTNode_t_t _tstructure_t _tto_t _tbe_t _tassigned_t _tas_t _tthe_t "_tmath_t" _tsubelement_t _tof_t _tthis_t _tAlgebraicRule_t_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_OBJECT_t, _tOperationReturnValues_t_t}
@_tmemberof_t _tAlgebraicRule_t_t