libSBML C API  libSBML 5.20.2 C API
Loading...
Searching...
No Matches
Delay.cpp File Reference

Implementation of Delay_t. More...

Include dependency graph for Delay.cpp:

Functions

Delay_tDelay_clone (const Delay_t *t)
 _tCreates_t _tand_t _treturns_t _ta_t _tdeep_t _tcopy_t _tof_t _tthe_t _tgiven_t _tDelay_t_t _tstructure_t.
 
int Delay_containsUndeclaredUnits (Delay_t *d)
 _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 _tmath_t _texpression_t _tof_t _tthis_t _tDelay_t_t _tcontains_t _tparameters_t/_tnumbers_t _twith_t _tundeclared_t _tunits_t.
 
Delay_tDelay_create (unsigned int level, unsigned int version)
 @_tendcond_t
 
Delay_tDelay_createWithNS (SBMLNamespaces_t *sbmlns)
 _tCreates_t _ta_t _tnew_t _tDelay_t_t _tstructure_t _tusing_t _tthe_t _tgiven_t _tSBMLNamespaces_t_t _tstructure_t.
 
void Delay_free (Delay_t *t)
 _tFrees_t _tthe_t _tgiven_t _tDelay_t_t _tstructure_t.
 
UnitDefinition_tDelay_getDerivedUnitDefinition (Delay_t *d)
 _tCalculates_t _tand_t _treturns_t _ta_t _tUnitDefinition_t_t _tthat_t _texpresses_t _tthe_t _tunits_t _treturned_t _tby_t _tthe_t _tmath_t _texpression_t _tof_t _tthis_t _tDelay_t_t.
 
const ASTNode_tDelay_getMath (const Delay_t *t)
 _tGet_t _tthe_t _tmathematical_t _tformula_t _tfor_t _ta_t _tDelay_t_t _tstructure_t _tand_t _treturn_t _tit_t _tas_t _tas_t _tan_t _tASTNode_t_t _tstructure_t.
 
const XMLNamespaces_tDelay_getNamespaces (Delay_t *d)
 _tReturns_t _ta_t _tlist_t _tof_t _tXMLNamespaces_t_t _tassociated_t _twith_t _tthis_t _tDelay_t_t _tstructure_t.
 
int Delay_isSetMath (const Delay_t *t)
 _tPredicate_t _tto_t _ttest_t _twhether_t _tthe_t _tformula_t _tfor_t _tthe_t _tgiven_t _tDelay_t_t _tstructure_t _tis_t _tset_t.
 
int Delay_setMath (Delay_t *t, const ASTNode_t *math)
 _tSets_t _tthe_t _tdelay_t _texpression_t _tof_t _tthe_t _tgiven_t _tDelay_t_t _tinstance_t _tto_t _ta_t _tcopy_t _tof_t _tthe_t _tgiven_t _tASTNode_t_t _tstructure_t.
 

Detailed Description

Implementation of Delay_t.

Author
Sarah Keating

Function Documentation

◆ Delay_clone()

Delay_t * Delay_clone ( const Delay_t d)

_tCreates_t _tand_t _treturns_t _ta_t _tdeep_t _tcopy_t _tof_t _tthe_t _tgiven_t _tDelay_t_t _tstructure_t.

@_tparam_t _td_t _tthe_t _tDelay_t_t _tstructure_t _tto_t _tcopy_t.

@_treturn_t _ta_t (_tdeep_t) _tcopy_t _tof_t _tthe_t _tgiven_t _tDelay_t_t _tstructure_t @_tp_t _tt_t.

@_tmemberof_t _tDelay_t_t

◆ Delay_containsUndeclaredUnits()

int Delay_containsUndeclaredUnits ( Delay_t d)

_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 _tmath_t _texpression_t _tof_t _tthis_t _tDelay_t_t _tcontains_t _tparameters_t/_tnumbers_t _twith_t _tundeclared_t _tunits_t.

@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tmath_t _texpression_t _tof_t _tthis_t _tDelay_t_t _tincludes_t _tparameters_t/_tnumbers_t _twith_t _tundeclared_t _tunits_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.

@_tnote_t _ta_t _treturn_t _tvalue_t _tof_t @_tc_t _t1_t (_ttrue_t) _tindicates_t _tthat_t _tthe_t _tUnitDefinition_t_t _treturned_t _tby_t _tthe_t _tgetDerivedUnitDefinition_t _tfunction_t _tmay_t _tnot_t _taccurately_t _trepresent_t _tthe_t _tunits_t _tof_t _tthe_t _texpression_t.

@_tsee_t _tDelay_getDerivedUnitDefinition_t()

@_tmemberof_t _tDelay_t_t

Examples
printUnits.c.

◆ Delay_create()

Delay_t * Delay_create ( unsigned int  level,
unsigned int  version 
)

@_tendcond_t

@_tclass_t _tdoc_delay_units_t

@_tcond_t _tdoxygenIgnored_t

◆ Delay_createWithNS()

Delay_t * Delay_createWithNS ( SBMLNamespaces_t sbmlns)

_tCreates_t _ta_t _tnew_t _tDelay_t_t _tstructure_t _tusing_t _tthe_t _tgiven_t _tSBMLNamespaces_t_t _tstructure_t.

@_tparam_t _tsbmlns_t _tSBMLNamespaces_t_t, _ta_t _tpointer_t _tto_t _tan_t _tSBMLNamespaces_t_t _tstructure_t _tto_t _tassign_t _tto_t _tthis_t _tDelay_t_t.

@_treturn_t _ta_t _tpointer_t _tto_t _tthe_t _tnewly_t _tcreated_t _tDelay_t_t _tstructure_t.

@_tcopydetails_t _tdoc_note_setting_lv_t

@_tmemberof_t _tDelay_t_t

◆ Delay_free()

void Delay_free ( Delay_t d)

_tFrees_t _tthe_t _tgiven_t _tDelay_t_t _tstructure_t.

@_tparam_t _td_t _tthe_t _tDelay_t_t _tstructure_t _tto_t _tfree_t.

@_tmemberof_t _tDelay_t_t

◆ Delay_getDerivedUnitDefinition()

UnitDefinition_t * Delay_getDerivedUnitDefinition ( Delay_t d)

_tCalculates_t _tand_t _treturns_t _ta_t _tUnitDefinition_t_t _tthat_t _texpresses_t _tthe_t _tunits_t _treturned_t _tby_t _tthe_t _tmath_t _texpression_t _tof_t _tthis_t _tDelay_t_t.

@_treturn_t _ta_t _tUnitDefinition_t_t _tthat_t _texpresses_t _tthe_t _tunits_t _tof_t _tthe_t _tmath_t _texpression_t _tof_t _tthis_t _tDelay_t_t.

_tNote_t _tthat_t _tthe_t _tfunctionality_t _tthat_t _tfacilitates_t _tunit_t _tanalysis_t _tdepends_t _ton_t _tthe_t _tmodel_t _tas_t _ta_t _twhole_t. _tThus_t, _tin_t _tcases_t _twhere_t _tthe_t _tstructure_t _thas_t _tnot_t _tbeen_t _tadded_t _tto_t _ta_t _tmodel_t _tor_t _tthe_t _tmodel_t _titself_t _tis_t _tincomplete_t, _tunit_t _tanalysis_t _tis_t _tnot_t _tpossible_t _tand_t _tthis_t _tmethod_t _twill_t _treturn_t @_tc_t _tNULL_t.

@_tnote_t _tThe_t _tunits_t _tare_t _tcalculated_t _tby_t _tapplying_t _tthe_t _tmathematics_t _tfrom_t _tthe_t _texpression_t _tto_t _tthe_t _tunits_t _tof_t _tthe_t &_tlt_t;_tci_t&_tgt_t; _telements_t _tused_t _twithin_t _tthe_t _texpression_t. _tWhere_t _tthere_t _tare_t _tparameters_t/_tnumbers_t _twith_t _tundeclared_t _tunits_t _tthe_t _tUnitDefinition_t_t _treturned_t _tby_t _tthis_t _tfunction_t _tmay_t _tnot_t _taccurately_t _trepresent_t _tthe_t _tunits_t _tof_t _tthe_t _texpression_t.

@_tsee_t _tDelay_containsUndeclaredUnits_t()

@_tmemberof_t _tDelay_t_t

Examples
printUnits.c.

◆ Delay_getMath()

const ASTNode_t * Delay_getMath ( const Delay_t d)

_tGet_t _tthe_t _tmathematical_t _tformula_t _tfor_t _ta_t _tDelay_t_t _tstructure_t _tand_t _treturn_t _tit_t _tas_t _tas_t _tan_t _tASTNode_t_t _tstructure_t.

@_tparam_t _td_t _tthe_t _tDelay_t_t _tstructure_t _tto_t _tquery_t.

@_treturn_t _tan_t _tASTNode_t_t _tstructure_t _trepresenting_t _tthe_t _texpression_t _ttree_t.

@_tmemberof_t _tDelay_t_t

Examples
printMath.c.

◆ Delay_getNamespaces()

const XMLNamespaces_t * Delay_getNamespaces ( Delay_t d)

_tReturns_t _ta_t _tlist_t _tof_t _tXMLNamespaces_t_t _tassociated_t _twith_t _tthis_t _tDelay_t_t _tstructure_t.

@_tparam_t _td_t _tthe_t _tDelay_t_t _tstructure_t.

@_treturn_t _tpointer_t _tto_t _tthe_t _tXMLNamespaces_t_t _tstructure_t _tassociated_t _twith_t _tthis_t _tstructure_t

@_tmemberof_t _tDelay_t_t

◆ Delay_isSetMath()

int Delay_isSetMath ( const Delay_t d)

_tPredicate_t _tto_t _ttest_t _twhether_t _tthe_t _tformula_t _tfor_t _tthe_t _tgiven_t _tDelay_t_t _tstructure_t _tis_t _tset_t.

@_tparam_t _td_t _tthe_t _tDelay_t_t _tstructure_t _tto_t _tquery_t.

@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tformula_t (_tmeaning_t _tthe_t @_tc_t _tmath_t _tsubelement_t) _tof_t _tthis_t _tDelay_t_t _tis_t _tset_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.

@_tmemberof_t _tDelay_t_t

◆ Delay_setMath()

int Delay_setMath ( Delay_t d,
const ASTNode_t math 
)

_tSets_t _tthe_t _tdelay_t _texpression_t _tof_t _tthe_t _tgiven_t _tDelay_t_t _tinstance_t _tto_t _ta_t _tcopy_t _tof_t _tthe_t _tgiven_t _tASTNode_t_t _tstructure_t.

@_tparam_t _td_t _tthe_t _tDelay_t_t _tstructure_t _tto_t _tset_t. @_tparam_t _tmath_t _tan_t _tASTNode_t_t _trepresenting_t _ta_t _tformula_t _ttree_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 _tDelay_t_t