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

Implementation of ReactionGlyph_t for SBML Layout_t. More...

Include dependency graph for ReactionGlyph.cpp:

Functions

void ReactionGlyph_addSpeciesReferenceGlyph (ReactionGlyph_t *rg, SpeciesReferenceGlyph_t *srg)
 _tAdd_t _ta_t _tSpeciesReferenceGlyph_t_t _tstructure_t _tto_t _tthe_t _tlist_t _tof_t _tSpeciesReferenceGlyph_t_t'_ts_t.
 
ReactionGlyph_tReactionGlyph_clone (const ReactionGlyph_t *m)
 @_treturn_t _ta_t (_tdeep_t) _tcopy_t _tof_t _tthis_t _tReactionGlyph_t_t.
 
ReactionGlyph_tReactionGlyph_create (void)
 @_tcond_t _tdoxygenIgnored_t
 
CubicBezier_tReactionGlyph_createCubicBezier (ReactionGlyph_t *rg)
 _tCreates_t _ta_t _tnew_t _tCubicBezier_t_t _tstructure_t, _tadds_t _tit_t _tto_t _tthe_t _tend_t _tof_t _tthe_t _tlist_t _tof_t _tcurve_t _tsegments_t _tand_t _treturns_t _ta_t _tpointer_t _tto_t _tthe_t _tnewly_t _tcreated_t _tstructure_t.
 
ReactionGlyph_tReactionGlyph_createFrom (const ReactionGlyph_t *temp)
 _tCreates_t _ta_t _tnew_t _tReactionGlyph_t_t _tstructure_t _tfrom_t _ta_t _ttemplate_t.
 
LineSegment_tReactionGlyph_createLineSegment (ReactionGlyph_t *rg)
 _tCreates_t _ta_t _tnew_t _tLineSegment_t_t _tstructure_t, _tadds_t _tit_t _tto_t _tthe_t _tend_t _tof_t _tthe_t _tlist_t _tof_t _tcurve_t _tsegments_t _tand_t _treturns_t _ta_t _tpointer_t _tto_t _tthe_t _tnewly_t _tcreated_t _tstructure_t.
 
SpeciesReferenceGlyph_tReactionGlyph_createSpeciesReferenceGlyph (ReactionGlyph_t *rg)
 _tCreates_t _ta_t _tnew_t _tSpeciesReferenceGlyph_t_t _tstructure_t, _tadds_t _tit_t _tto_t _tthe_t _tend_t _tof_t _tthe_t _tlist_t _tof_t _tspecies_t _treference_t _tglyphs_t _tand_t _treturns_t _ta_t _tpointer_t _tto_t _tthe_t _tnewly_t _tcreated_t _tstructure_t.
 
ReactionGlyph_tReactionGlyph_createWith (const char *sid)
 _tCreates_t _ta_t _tnew_t _tReactionGlyph_t_t _twith_t _tthe_t _tgiven_t @_tp_t _tsid_t
 
ReactionGlyph_tReactionGlyph_createWithReactionId (const char *id, const char *reactionId)
 _tCreates_t _ta_t _tnew_t _tReactionGlyph_t_t _treferencing_t _tthe_t _tgiven_t _treaction_t.
 
void ReactionGlyph_free (ReactionGlyph_t *rg)
 _tFrees_t _tthe_t _tmemory_t _ttaken_t _tby_t _tthe_t _tgiven_t _treaction_t _tglyph_t.
 
Curve_tReactionGlyph_getCurve (ReactionGlyph_t *rg)
 _tReturns_t _tthe_t _tCurve_t_t _tfor_t _tthe_t _tgiven_t _treaction_t _tglyph_t.
 
unsigned int ReactionGlyph_getIndexForSpeciesReferenceGlyph (ReactionGlyph_t *rg, const char *id)
 _tReturns_t _tthe_t _tindex_t _tof_t _tthe_t _tspecies_t _treference_t _tglyph_t _twith_t _tthe_t _tgiven_t @_tp_t _tid_t.
 
ListOf_tReactionGlyph_getListOfSpeciesReferenceGlyphs (ReactionGlyph_t *rg)
 _tReturns_t _tthe_t _tlist_t _tstructure_t _tthat_t _tholds_t _tall_t _tspecies_t _treference_t _tglyphs_t.
 
unsigned int ReactionGlyph_getNumSpeciesReferenceGlyphs (const ReactionGlyph_t *rg)
 _tReturns_t _tthe_t _tnumber_t _tof_t _tSpeciesReferenceGlyphs_t _tfor_t _tthe_t _tReactionGlyph_t_t.
 
const char * ReactionGlyph_getReactionId (const ReactionGlyph_t *rg)
 _tReturns_t _tthe_t _treference_t _treactions_t _tid_t _tfor_t _tthe_t _tgiven_t _treaction_t _tglyph_t.
 
SpeciesReferenceGlyph_tReactionGlyph_getSpeciesReferenceGlyph (ReactionGlyph_t *rg, unsigned int index)
 _tReturns_t _tthe_t _tpointer_t _tto_t _tthe_t _tSpeciesReferenceGlyph_t_t _tfor_t _tthe_t _tgiven_t @_tp_t _tindex_t.
 
void ReactionGlyph_initDefaults (ReactionGlyph_t *rg)
 _tCalls_t _tinitDefaults_t _tfrom_t _tGraphicalObject_t.
 
int ReactionGlyph_isSetCurve (ReactionGlyph_t *rg)
 _tReturns_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tCurve_t_t _thas_t _tone_t _tor_t _tmore_t _tLineSegment_t.
 
int ReactionGlyph_isSetReactionId (const ReactionGlyph_t *rg)
 _tReturns_t @_tc_t _t0_t (_tfalse_t) _tif_t _tthe_t _treference_t _treaction_t _thas_t _tnot_t _tbeen_t _tset_t _tfor_t _tthis_t _tglyph_t _tand_t @_tc_t _t1_t (_ttrue_t) _totherwise_t.
 
SpeciesReferenceGlyph_tReactionGlyph_removeSpeciesReferenceGlyph (ReactionGlyph_t *rg, unsigned int index)
 _tRemove_t _tthe_t _tspecies_t _treference_t _tglyph_t _twith_t _tthe_t _tgiven_t @_tp_t _tindex_t.
 
SpeciesReferenceGlyph_tReactionGlyph_removeSpeciesReferenceGlyphWithId (ReactionGlyph_t *rg, const char *id)
 _tRemove_t _tthe_t _tspecies_t _treference_t _tglyph_t _twith_t _tthe_t _tgiven_t @_tp_t _tid_t.
 
void ReactionGlyph_setCurve (ReactionGlyph_t *rg, Curve_t *c)
 _tSets_t _tthe_t _tcurve_t _tfor_t _tthe_t _treaction_t _tglyph_t.
 
void ReactionGlyph_setReactionId (ReactionGlyph_t *rg, const char *id)
 _tSets_t _tthe_t _treference_t _treaction_t _tfor_t _tthe_t _treaction_t _tglyph_t.
 

Detailed Description

Implementation of ReactionGlyph_t for SBML Layout_t.

Author
Ralph Gauges

Function Documentation

◆ ReactionGlyph_addSpeciesReferenceGlyph()

void ReactionGlyph_addSpeciesReferenceGlyph ( ReactionGlyph_t rg,
SpeciesReferenceGlyph_t srg 
)

_tAdd_t _ta_t _tSpeciesReferenceGlyph_t_t _tstructure_t _tto_t _tthe_t _tlist_t _tof_t _tSpeciesReferenceGlyph_t_t'_ts_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t. @_tparam_t _tsrg_t _tthe_t _tSpeciesReferenceGlyph_t_t _tstructure_t _tto_t _tadd_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_clone()

ReactionGlyph_t * ReactionGlyph_clone ( const ReactionGlyph_t rg)

@_treturn_t _ta_t (_tdeep_t) _tcopy_t _tof_t _tthis_t _tReactionGlyph_t_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_create()

ReactionGlyph_t * ReactionGlyph_create ( void  )

@_tcond_t _tdoxygenIgnored_t

_tCreates_t _ta_t _tnew_t _tReactionGlyph_t_t _tand_t _treturns_t _tthe_t _tpointer_t _tto_t _tit_t.

◆ ReactionGlyph_createCubicBezier()

CubicBezier_t * ReactionGlyph_createCubicBezier ( ReactionGlyph_t rg)

_tCreates_t _ta_t _tnew_t _tCubicBezier_t_t _tstructure_t, _tadds_t _tit_t _tto_t _tthe_t _tend_t _tof_t _tthe_t _tlist_t _tof_t _tcurve_t _tsegments_t _tand_t _treturns_t _ta_t _tpointer_t _tto_t _tthe_t _tnewly_t _tcreated_t _tstructure_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_createFrom()

ReactionGlyph_t * ReactionGlyph_createFrom ( const ReactionGlyph_t temp)

_tCreates_t _ta_t _tnew_t _tReactionGlyph_t_t _tstructure_t _tfrom_t _ta_t _ttemplate_t.

@_tparam_t _ttemp_t _tthe_t _tReactionGlyph_t_t _tstructure_t _tto_t _tcopy_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_createLineSegment()

LineSegment_t * ReactionGlyph_createLineSegment ( ReactionGlyph_t rg)

_tCreates_t _ta_t _tnew_t _tLineSegment_t_t _tstructure_t, _tadds_t _tit_t _tto_t _tthe_t _tend_t _tof_t _tthe_t _tlist_t _tof_t _tcurve_t _tsegments_t _tand_t _treturns_t _ta_t _tpointer_t _tto_t _tthe_t _tnewly_t _tcreated_t _tstructure_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_createSpeciesReferenceGlyph()

SpeciesReferenceGlyph_t * ReactionGlyph_createSpeciesReferenceGlyph ( ReactionGlyph_t rg)

_tCreates_t _ta_t _tnew_t _tSpeciesReferenceGlyph_t_t _tstructure_t, _tadds_t _tit_t _tto_t _tthe_t _tend_t _tof_t _tthe_t _tlist_t _tof_t _tspecies_t _treference_t _tglyphs_t _tand_t _treturns_t _ta_t _tpointer_t _tto_t _tthe_t _tnewly_t _tcreated_t _tstructure_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_createWith()

ReactionGlyph_t * ReactionGlyph_createWith ( const char *  sid)

_tCreates_t _ta_t _tnew_t _tReactionGlyph_t_t _twith_t _tthe_t _tgiven_t @_tp_t _tsid_t

@_tparam_t _tsid_t _tthe_t _tstring_t _tto_t _tuse_t _tas_t _tthe_t _tID_t _tof_t _tthe_t _tReactionGlyph_t_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_createWithReactionId()

ReactionGlyph_t * ReactionGlyph_createWithReactionId ( const char *  sid,
const char *  reactionId 
)

_tCreates_t _ta_t _tnew_t _tReactionGlyph_t_t _treferencing_t _tthe_t _tgiven_t _treaction_t.

@_tparam_t _tsid_t _tthe_t _tstring_t _tto_t _tuse_t _tas_t _tthe_t _tID_t _tof_t _tthe_t _tReactionGlyph_t_t. @_tparam_t _treactionId_t _tthe_t _tstring_t _tto_t _tuse_t _tas_t _tthe_t _treaction_t _tID_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_free()

void ReactionGlyph_free ( ReactionGlyph_t rg)

_tFrees_t _tthe_t _tmemory_t _ttaken_t _tby_t _tthe_t _tgiven_t _treaction_t _tglyph_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_getCurve()

Curve_t * ReactionGlyph_getCurve ( ReactionGlyph_t rg)

_tReturns_t _tthe_t _tCurve_t_t _tfor_t _tthe_t _tgiven_t _treaction_t _tglyph_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_getIndexForSpeciesReferenceGlyph()

unsigned int ReactionGlyph_getIndexForSpeciesReferenceGlyph ( ReactionGlyph_t rg,
const char *  id 
)

_tReturns_t _tthe_t _tindex_t _tof_t _tthe_t _tspecies_t _treference_t _tglyph_t _twith_t _tthe_t _tgiven_t @_tp_t _tid_t.

_tIf_t _tthe_t _treaction_t _tglyph_t _tdoes_t _tnot_t _tcontain_t _ta_t _tspecies_t _treference_t _tglyph_t _twith_t _tthis_t _tid_t, _tUINT_MAX_t _tfrom_t _tlimits._th_t _tis_t _treturned_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t. @_tparam_t _tid_t _tthe_t _tidof_t _tthe_t _tSpeciesReferenceGlyph_t_t _tto_t _tfind_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_getListOfSpeciesReferenceGlyphs()

ListOf_t * ReactionGlyph_getListOfSpeciesReferenceGlyphs ( ReactionGlyph_t rg)

_tReturns_t _tthe_t _tlist_t _tstructure_t _tthat_t _tholds_t _tall_t _tspecies_t _treference_t _tglyphs_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_getNumSpeciesReferenceGlyphs()

unsigned int ReactionGlyph_getNumSpeciesReferenceGlyphs ( const ReactionGlyph_t rg)

_tReturns_t _tthe_t _tnumber_t _tof_t _tSpeciesReferenceGlyphs_t _tfor_t _tthe_t _tReactionGlyph_t_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_getReactionId()

const char * ReactionGlyph_getReactionId ( const ReactionGlyph_t rg)

_tReturns_t _tthe_t _treference_t _treactions_t _tid_t _tfor_t _tthe_t _tgiven_t _treaction_t _tglyph_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_getSpeciesReferenceGlyph()

SpeciesReferenceGlyph_t * ReactionGlyph_getSpeciesReferenceGlyph ( ReactionGlyph_t rg,
unsigned int  index 
)

_tReturns_t _tthe_t _tpointer_t _tto_t _tthe_t _tSpeciesReferenceGlyph_t_t _tfor_t _tthe_t _tgiven_t @_tp_t _tindex_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t. @_tparam_t _tindex_t _tthe_t _tindex_t _tof_t _tthe_t _tSpeciesReferenceGlyph_t_t _tto_t _treturn_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_initDefaults()

void ReactionGlyph_initDefaults ( ReactionGlyph_t rg)

_tCalls_t _tinitDefaults_t _tfrom_t _tGraphicalObject_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_isSetCurve()

int ReactionGlyph_isSetCurve ( ReactionGlyph_t rg)

_tReturns_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tCurve_t_t _thas_t _tone_t _tor_t _tmore_t _tLineSegment_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_isSetReactionId()

int ReactionGlyph_isSetReactionId ( const ReactionGlyph_t rg)

_tReturns_t @_tc_t _t0_t (_tfalse_t) _tif_t _tthe_t _treference_t _treaction_t _thas_t _tnot_t _tbeen_t _tset_t _tfor_t _tthis_t _tglyph_t _tand_t @_tc_t _t1_t (_ttrue_t) _totherwise_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_removeSpeciesReferenceGlyph()

SpeciesReferenceGlyph_t * ReactionGlyph_removeSpeciesReferenceGlyph ( ReactionGlyph_t rg,
unsigned int  index 
)

_tRemove_t _tthe_t _tspecies_t _treference_t _tglyph_t _twith_t _tthe_t _tgiven_t @_tp_t _tindex_t.

_tA_t _tpointer_t _tto_t _tthe_t _tstructure_t _tis_t _treturned_t. _tIf_t _tno_t _tstructure_t _thas_t _tbeen_t _tremoved_t, _tNULL_t _tis_t _treturned_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t. @_tparam_t _tindex_t _tthe_t _tindex_t _tof_t _tthe_t _tSpeciesReferenceGlyph_t_t _tto_t _tremove_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_removeSpeciesReferenceGlyphWithId()

SpeciesReferenceGlyph_t * ReactionGlyph_removeSpeciesReferenceGlyphWithId ( ReactionGlyph_t rg,
const char *  id 
)

_tRemove_t _tthe_t _tspecies_t _treference_t _tglyph_t _twith_t _tthe_t _tgiven_t @_tp_t _tid_t.

_tA_t _tpointer_t _tto_t _tthe_t _tstructure_t _tis_t _treturned_t. _tIf_t _tno_t _tstructure_t _thas_t _tbeen_t _tremoved_t, _tNULL_t _tis_t _treturned_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t. @_tparam_t _tid_t _tthe_t _tid_t _tof_t _tthe_t _tSpeciesReferenceGlyph_t_t _tto_t _tremove_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_setCurve()

void ReactionGlyph_setCurve ( ReactionGlyph_t rg,
Curve_t c 
)

_tSets_t _tthe_t _tcurve_t _tfor_t _tthe_t _treaction_t _tglyph_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t. @_tparam_t _tc_t _tthe_t _tCurve_t_t _tto_t _tset_t _tfor_t _tthe_t _tSpeciesReferenceGlyph_t_t.

@_tmemberof_t _tReactionGlyph_t_t

◆ ReactionGlyph_setReactionId()

void ReactionGlyph_setReactionId ( ReactionGlyph_t rg,
const char *  id 
)

_tSets_t _tthe_t _treference_t _treaction_t _tfor_t _tthe_t _treaction_t _tglyph_t.

@_tparam_t _trg_t _tthe_t _tReactionGlyph_t_t _tstructure_t. @_tparam_t _tid_t _tthe_t _tstring_t _tto_t _tuse_t _tas_t _tthe_t _treaction_t _tID_t.

@_tmemberof_t _tReactionGlyph_t_t