libSBML C API
libSBML 5.20.2 C API
|
Implementation of FbcExtension_t, the core module of fbc package. More...
Functions | |
FbcVariableType_t | FbcVariableType_fromString (const char *code) |
_tReturns_t _tthe_t #_tFbcVariableType_t_t _tenumeration_t _tcorresponding_t _tto_t _tthe_t _tgiven_t _tstring_t _tor_t @_tsbmlconstant_t{_tFBC_VARIABLE_TYPE_INVALID_t, _tFbcVariableType_t_t} _tif_t _tthere_t _tis_t _tno_t _tsuch_t _tmatch_t. | |
int | FbcVariableType_isValid (FbcVariableType_t fvt) |
_tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tthe_t _tgiven_t #_tFbcVariableType_t_t _tis_t _tvalid_t. | |
int | FbcVariableType_isValidString (const char *code) |
_tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tthe_t _tgiven_t _tstring_t _tis_t _ta_t _tvalid_t #_tFbcVariableType_t_t. | |
const char * | FbcVariableType_toString (FbcVariableType_t fvt) |
_tReturns_t _tthe_t _tstring_t _tversion_t _tof_t _tthe_t _tprovided_t #_tFbcVariableType_t_t _tenumeration_t. | |
Variables | |
static const char * | SBML_FBC_VARIABLE_TYPE_STRINGS [] |
Implementation of FbcExtension_t, the core module of fbc package.
FbcVariableType_t FbcVariableType_fromString | ( | const char * | code | ) |
_tReturns_t _tthe_t #_tFbcVariableType_t_t _tenumeration_t _tcorresponding_t _tto_t _tthe_t _tgiven_t _tstring_t _tor_t @_tsbmlconstant_t{_tFBC_VARIABLE_TYPE_INVALID_t, _tFbcVariableType_t_t} _tif_t _tthere_t _tis_t _tno_t _tsuch_t _tmatch_t.
@_tparam_t _tcode_t _tthe_t _tstring_t _tto_t _tconvert_t _tto_t _ta_t #_tFbcVariableType_t_t.
@_treturn_t _tthe_t _tcorresponding_t #_tFbcVariableType_t_t _tor_t @_tsbmlconstant_t{_tFBC_VARIABLE_TYPE_INVALID_t, _tFbcVariableType_t_t} _tif_t _tno_t _tmatch_t _tis_t _tfound_t.
@_tnote_t _tThe_t _tmatching_t _tis_t _tcase_t-_tsensitive_t: "_tlinear_t" _twill_t _treturn_t @_tsbmlconstant_t{_tFBC_VARIABLE_TYPE_LINEAR_t, _tFbcVariableType_t_t}, _tbut_t "_tLinear_t" _twill_t _treturn_t @_tsbmlconstant_t{_tFBC_VARIABLE_TYPE_INVALID_t, _tFbcVariableType_t_t}.
@_tif_t _tconly_t @_tmemberof_t _tFbc_t_t @_tendif_t
int FbcVariableType_isValid | ( | FbcVariableType_t | fvt | ) |
_tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tthe_t _tgiven_t #_tFbcVariableType_t_t _tis_t _tvalid_t.
@_tparam_t _tfvt_t _tthe_t #_tFbcVariableType_t_t _tenumeration_t _tto_t _tquery_t.
@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t #_tFbcVariableType_t_t _tis_t @_tsbmlconstant_t{_tFBC_VARIABLE_TYPE_LINEAR_t, _tFbcVariableType_t_t}, _tor_t @_tsbmlconstant_t{_tFBC_VARIABLE_TYPE_QUADRATIC_t, _tFbcVariableType_t_t}; @_tc_t _t0_t (_tfalse_t) _totherwise_t (_tincluding_t @_tsbmlconstant_t{_tFBC_VARIABLE_TYPE_INVALID_t, _tFbcVariableType_t_t}).
@_tif_t _tconly_t @_tmemberof_t _tFbc_t_t @_tendif_t
int FbcVariableType_isValidString | ( | const char * | code | ) |
_tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tthe_t _tgiven_t _tstring_t _tis_t _ta_t _tvalid_t #_tFbcVariableType_t_t.
@_tparam_t _tcode_t _tthe_t _tstring_t _tto_t _tquery_t.
@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tstring_t _tis_t "_tlinear_t", "_tquadratic_t", _tor_t "_tinvalid_t _tFbcVariableType_t _tvalue_t"; @_tc_t _t0_t (_tfalse_t) _totherwise_t.
@_tnote_t _tThe_t _tmatching_t _tis_t _tcase_t-_tsensitive_t: "_tlinear_t" _twill_t _treturn_t @_tc_t _t1_t (_ttrue_t), _tbut_t "_tLinear_t" _twill_t _treturn_t @_tc_t _t0_t (_tfalse_t).
@_tif_t _tconly_t @_tmemberof_t _tFbc_t_t @_tendif_t
const char * FbcVariableType_toString | ( | FbcVariableType_t | fvt | ) |
_tReturns_t _tthe_t _tstring_t _tversion_t _tof_t _tthe_t _tprovided_t #_tFbcVariableType_t_t _tenumeration_t.
@_tparam_t _tfvt_t _tthe_t #_tFbcVariableType_t_t _tenumeration_t _tvalue_t _tto_t _tconvert_t.
@_treturn_t _tA_t _tstring_t _tcorresponding_t _tto_t _tthe_t _tgiven_t _ttype_t: "_tlinear_t", "_tquadratic_t", "_tinvalid_t _tFbcVariableType_t _tvalue_t", _tor_t @_tc_t _tNULL_t _tif_t _tthe_t _tvalue_t _tis_t @_tsbmlconstant_t{_tFBC_VARIABLE_TYPE_INVALID_t, _tFbcVariableType_t_t} _tor_t _tanother_t _tinvalid_t _tenumeration_t _tvalue_t.
@_tcopydetails_t _tdoc_returned_unowned_char_t
@_tif_t _tconly_t @_tmemberof_t _tFbc_t_t @_tendif_t
|
static |