libSBML C API  libSBML 5.20.4 C API
Loading...
Searching...
No Matches
GeneralGlyph.cpp File Reference

Implementation of GeneralGlyph_t for SBML Layout_t. More...

Include dependency graph for GeneralGlyph.cpp:

Functions

void GeneralGlyph_addReferenceGlyph (GeneralGlyph_t *rg, ReferenceGlyph_t *srg)
 _tAdd_t _ta_t _tReferenceGlyph_t_t _tobject_t _tto_t _tthe_t _tlist_t _tof_t _tReferenceGlyph_t_t'_ts_t.
 
GeneralGlyph_tGeneralGlyph_clone (const GeneralGlyph_t *m)
 @_treturn_t _ta_t (_tdeep_t) _tcopy_t _tof_t _tthis_t _tGeneralGlyph_t_t.
 
GeneralGlyph_tGeneralGlyph_create (void)
 @_tcond_t _tdoxygenIgnored_t
 
CubicBezier_tGeneralGlyph_createCubicBezier (GeneralGlyph_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.
 
GeneralGlyph_tGeneralGlyph_createFrom (const GeneralGlyph_t *temp)
 _tCreates_t _ta_t _tnew_t _tGeneralGlyph_t_t _tstructure_t _tfrom_t _ta_t _ttemplate_t.
 
LineSegment_tGeneralGlyph_createLineSegment (GeneralGlyph_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.
 
ReferenceGlyph_tGeneralGlyph_createReferenceGlyph (GeneralGlyph_t *rg)
 _tCreates_t _ta_t _tnew_t _tReferenceGlyph_t_t _tstructure_t, _tadds_t _tit_t _tto_t _tthe_t _tend_t _tof_t _tthe_t _tlist_t _tof_t _treference_t _tglyphs_t _tand_t _treturns_t _ta_t _tpointer_t _tto_t _tthe_t _tnewly_t _tcreated_t _tstructure_t.
 
GeneralGlyph_tGeneralGlyph_createWith (const char *sid)
 _tCreates_t _ta_t _tnew_t _tGeneralGlyph_t_t _twith_t _tthe_t _tgiven_t @_tp_t _tsid_t
 
GeneralGlyph_tGeneralGlyph_createWithReferenceId (const char *id, const char *referenceId)
 _tCreates_t _ta_t _tnew_t _tGeneralGlyph_t_t _treferencing_t _tthe_t _tgiven_t _telement_t.
 
void GeneralGlyph_free (GeneralGlyph_t *rg)
 _tFrees_t _tthe_t _tmemory_t _ttaken_t _tby_t _tthe_t _tgiven_t _tglyph_t.
 
Curve_tGeneralGlyph_getCurve (GeneralGlyph_t *rg)
 _tReturns_t _tthe_t _tCurve_t_t _tfor_t _tthe_t _tgiven_t _treaction_t _tglyph_t.
 
unsigned int GeneralGlyph_getIndexForReferenceGlyph (GeneralGlyph_t *rg, const char *id)
 _tReturns_t _tthe_t _tindex_t _tof_t _tthe_t _treference_t _tglyph_t _twith_t _tthe_t _tgiven_t @_tp_t _tid_t.
 
ListOf_tGeneralGlyph_getListOfReferenceGlyphs (GeneralGlyph_t *rg)
 _tReturns_t _tthe_t _tlist_t _tobject_t _tthat_t _tholds_t _tall_t _treference_t _tglyphs_t.
 
unsigned int GeneralGlyph_getNumReferenceGlyphs (const GeneralGlyph_t *rg)
 _tReturns_t _tthe_t _tnumber_t _tof_t _tReferenceGlyphs_t _tfor_t _tthe_t _tGeneralGlyph_t_t.
 
ReferenceGlyph_tGeneralGlyph_getReferenceGlyph (GeneralGlyph_t *rg, unsigned int index)
 _tReturns_t _tthe_t _tpointer_t _tto_t _tthe_t _tReferenceGlyph_t_t _tfor_t _tthe_t _tgiven_t @_tp_t _tindex_t.
 
const char * GeneralGlyph_getReferenceId (const GeneralGlyph_t *rg)
 _tReturns_t _tthe_t _treference_t _tid_t _tfor_t _tthe_t _tgiven_t _tglyph_t.
 
void GeneralGlyph_initDefaults (GeneralGlyph_t *rg)
 _tCalls_t _tinitDefaults_t _tfrom_t _tGraphicalObject_t.
 
int GeneralGlyph_isSetCurve (GeneralGlyph_t *rg)
 _tReturns_t _ttrue_t _tif_t _tthe_t _tCurve_t_t _thas_t _tone_t _tor_t _tmore_t _tLineSegment_t.
 
int GeneralGlyph_isSetReferenceId (const GeneralGlyph_t *rg)
 _tReturns_t @_tc_t _t0_t (_tfalse_t) _tif_t _tthe_t _treference_t _telement_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.
 
ReferenceGlyph_tGeneralGlyph_removeReferenceGlyph (GeneralGlyph_t *rg, unsigned int index)
 _tRemove_t _tthe_t _treference_t _tglyph_t _twith_t _tthe_t _tgiven_t @_tp_t _tindex_t.
 
ReferenceGlyph_tGeneralGlyph_removeReferenceGlyphWithId (GeneralGlyph_t *rg, const char *id)
 _tRemove_t _tthe_t _treference_t _tglyph_t _twith_t _tthe_t _tgiven_t @_tp_t _tid_t.
 
void GeneralGlyph_setCurve (GeneralGlyph_t *rg, Curve_t *c)
 _tSets_t _tthe_t _tcurve_t _tfor_t _tthe_t _treaction_t _tglyph_t.
 
void GeneralGlyph_setReferenceId (GeneralGlyph_t *rg, const char *id)
 _tSets_t _tthe_t _treference_t _tfor_t _tthe_t _tglyph_t.
 

Detailed Description

Implementation of GeneralGlyph_t for SBML Layout_t.

Author
Ralph Gauges

Function Documentation

◆ GeneralGlyph_addReferenceGlyph()

void GeneralGlyph_addReferenceGlyph ( GeneralGlyph_t gg,
ReferenceGlyph_t srg 
)

_tAdd_t _ta_t _tReferenceGlyph_t_t _tobject_t _tto_t _tthe_t _tlist_t _tof_t _tReferenceGlyph_t_t'_ts_t.

@_tparam_t _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t. @_tparam_t _tsrg_t _tthe_t _tReferenceGlyph_t_t _tstructure_t _tto_t _tadd_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_clone()

GeneralGlyph_t * GeneralGlyph_clone ( const GeneralGlyph_t gg)

@_treturn_t _ta_t (_tdeep_t) _tcopy_t _tof_t _tthis_t _tGeneralGlyph_t_t.

@_tparam_t _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_create()

GeneralGlyph_t * GeneralGlyph_create ( void  )

@_tcond_t _tdoxygenIgnored_t

_tCreates_t _ta_t _tnew_t _tGeneralGlyph_t_t _tand_t _treturns_t _tthe_t _tpointer_t _tto_t _tit_t.

◆ GeneralGlyph_createCubicBezier()

CubicBezier_t * GeneralGlyph_createCubicBezier ( GeneralGlyph_t gg)

_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 _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_createFrom()

GeneralGlyph_t * GeneralGlyph_createFrom ( const GeneralGlyph_t temp)

_tCreates_t _ta_t _tnew_t _tGeneralGlyph_t_t _tstructure_t _tfrom_t _ta_t _ttemplate_t.

@_tparam_t _ttemp_t _tthe_t _tGeneralGlyph_t_t _tstructure_t _tto_t _tcopy_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_createLineSegment()

LineSegment_t * GeneralGlyph_createLineSegment ( GeneralGlyph_t gg)

_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 _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_createReferenceGlyph()

ReferenceGlyph_t * GeneralGlyph_createReferenceGlyph ( GeneralGlyph_t rg)

_tCreates_t _ta_t _tnew_t _tReferenceGlyph_t_t _tstructure_t, _tadds_t _tit_t _tto_t _tthe_t _tend_t _tof_t _tthe_t _tlist_t _tof_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 _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_createWith()

GeneralGlyph_t * GeneralGlyph_createWith ( const char *  sid)

_tCreates_t _ta_t _tnew_t _tGeneralGlyph_t_t _twith_t _tthe_t _tgiven_t @_tp_t _tsid_t

@_tparam_t _tsid_t _tthe_t _tid_t _tof_t _tthe_t _tcreated_t _tSpeciesGlyph_t_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_createWithReferenceId()

GeneralGlyph_t * GeneralGlyph_createWithReferenceId ( const char *  sid,
const char *  referenceId 
)

_tCreates_t _ta_t _tnew_t _tGeneralGlyph_t_t _treferencing_t _tthe_t _tgiven_t _telement_t.

@_tparam_t _tsid_t _tthe_t _tid_t _tof_t _tthe_t _tcreated_t _tSpeciesGlyph_t_t. @_tparam_t _treferenceId_t _tthe_t _treferenceId_t _tof_t _tthe_t _tcreated_t _tSpeciesGlyph_t_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_free()

void GeneralGlyph_free ( GeneralGlyph_t gg)

_tFrees_t _tthe_t _tmemory_t _ttaken_t _tby_t _tthe_t _tgiven_t _tglyph_t.

@_tparam_t _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_getCurve()

Curve_t * GeneralGlyph_getCurve ( GeneralGlyph_t gg)

_tReturns_t _tthe_t _tCurve_t_t _tfor_t _tthe_t _tgiven_t _treaction_t _tglyph_t.

@_tparam_t _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_getIndexForReferenceGlyph()

unsigned int GeneralGlyph_getIndexForReferenceGlyph ( GeneralGlyph_t gg,
const char *  id 
)

_tReturns_t _tthe_t _tindex_t _tof_t _tthe_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 _treference_t _tglyph_t _twith_t _tthis_t _tid_t, _tUINT_MAX_t _tfrom_t _tlimits._th_t _tis_t _treturned_t.

@_tparam_t _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t. @_tparam_t _tid_t _tthe_t _tid_t _tof_t _tthe_t _tReferenceGlyph_t_t _tto_t _tsearch_t _tfor_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_getListOfReferenceGlyphs()

ListOf_t * GeneralGlyph_getListOfReferenceGlyphs ( GeneralGlyph_t gg)

_tReturns_t _tthe_t _tlist_t _tobject_t _tthat_t _tholds_t _tall_t _treference_t _tglyphs_t.

@_tparam_t _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_getNumReferenceGlyphs()

unsigned int GeneralGlyph_getNumReferenceGlyphs ( const GeneralGlyph_t gg)

_tReturns_t _tthe_t _tnumber_t _tof_t _tReferenceGlyphs_t _tfor_t _tthe_t _tGeneralGlyph_t_t.

@_tparam_t _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_getReferenceGlyph()

ReferenceGlyph_t * GeneralGlyph_getReferenceGlyph ( GeneralGlyph_t gg,
unsigned int  index 
)

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

@_tparam_t _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t. @_tparam_t _tindex_t _tthe_t _tindex_t _tof_t _tthe_t _tReferenceGlyph_t_t _tstructure_t _tto_t _treturn_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_getReferenceId()

const char * GeneralGlyph_getReferenceId ( const GeneralGlyph_t gg)

_tReturns_t _tthe_t _treference_t _tid_t _tfor_t _tthe_t _tgiven_t _tglyph_t.

@_tparam_t _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_initDefaults()

void GeneralGlyph_initDefaults ( GeneralGlyph_t gg)

_tCalls_t _tinitDefaults_t _tfrom_t _tGraphicalObject_t.

@_tparam_t _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_isSetCurve()

int GeneralGlyph_isSetCurve ( GeneralGlyph_t gg)

_tReturns_t _ttrue_t _tif_t _tthe_t _tCurve_t_t _thas_t _tone_t _tor_t _tmore_t _tLineSegment_t.

@_tparam_t _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_isSetReferenceId()

int GeneralGlyph_isSetReferenceId ( const GeneralGlyph_t gg)

_tReturns_t @_tc_t _t0_t (_tfalse_t) _tif_t _tthe_t _treference_t _telement_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 _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_removeReferenceGlyph()

ReferenceGlyph_t * GeneralGlyph_removeReferenceGlyph ( GeneralGlyph_t gg,
unsigned int  index 
)

_tRemove_t _tthe_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 _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t. @_tparam_t _tindex_t _tthe_t _tindex_t _tof_t _tthe_t _tReferenceGlyph_t_t _tstructure_t _tto_t _tremove_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_removeReferenceGlyphWithId()

ReferenceGlyph_t * GeneralGlyph_removeReferenceGlyphWithId ( GeneralGlyph_t gg,
const char *  id 
)

_tRemove_t _tthe_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 _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t. @_tparam_t _tid_t _tthe_t _tid_t _tof_t _tthe_t _tReferenceGlyph_t_t _tstructure_t _tto_t _tremove_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_setCurve()

void GeneralGlyph_setCurve ( GeneralGlyph_t gg,
Curve_t c 
)

_tSets_t _tthe_t _tcurve_t _tfor_t _tthe_t _treaction_t _tglyph_t.

@_tparam_t _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t. @_tparam_t _tc_t _tthe_t _tCurve_t_t _tstructure_t _tto_t _tuse_t.

@_tmemberof_t _tGeneralGlyph_t_t

◆ GeneralGlyph_setReferenceId()

void GeneralGlyph_setReferenceId ( GeneralGlyph_t gg,
const char *  id 
)

_tSets_t _tthe_t _treference_t _tfor_t _tthe_t _tglyph_t.

@_tparam_t _tgg_t _tthe_t _tGeneralGlyph_t_t _tstructure_t. @_tparam_t _tid_t _tthe_t _tstring_t _tto_t _tuse_t _tas_t _tthe_t _treferenceId_t _tof_t _tthe_t _tGeneralGlyph_t_t.

@_tmemberof_t _tGeneralGlyph_t_t