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

Syntax checking functions. More...

Include dependency graph for SyntaxChecker.cpp:

Functions

int SyntaxChecker_hasExpectedXHTMLSyntax (XMLNode_t *node, SBMLNamespaces_t *sbmlns)
 _tPredicate_t _tindicating_t _twhether_t _tthe_t _targument_t _tXMLNode_t_t _tstructure_t _trepresents_t _tXHTML_t _tthat_t _tconforms_t _tto_t _tthe_t _trequirements_t _tof_t _tthe_t _tSBML_t _tspecification_t.
 
int SyntaxChecker_isValidSBMLSId (const char *sid)
 @_tendcond_t
 
int SyntaxChecker_isValidUnitSId (const char *units)
 _tPredicate_t _tindicating_t _twhether_t _tthe_t _targument_t _tstring_t _tconforms_t _tto_t _tthe_t _tSBML_t _ttype_t _tUnitSId_t.
 
int SyntaxChecker_isValidXMLID (const char *id)
 _tPredicate_t _tindicating_t _twhether_t _tthe_t _targument_t _tstring_t _tconforms_t _tto_t _tthe_t _tXML_t _t1_t._t0_t _ttype_t _tID_t.
 

Detailed Description

Syntax checking functions.

Author
Sarah Keating

Function Documentation

◆ SyntaxChecker_hasExpectedXHTMLSyntax()

int SyntaxChecker_hasExpectedXHTMLSyntax ( XMLNode_t node,
SBMLNamespaces_t sbmlns 
)

_tPredicate_t _tindicating_t _twhether_t _tthe_t _targument_t _tXMLNode_t_t _tstructure_t _trepresents_t _tXHTML_t _tthat_t _tconforms_t _tto_t _tthe_t _trequirements_t _tof_t _tthe_t _tSBML_t _tspecification_t.

@_tparam_t _tnode_t _tthe_t _tXMLNode_t_t _tstructure_t _tto_t _tbe_t _tchecked_t _tfor_t _tconformance_t. @_tparam_t _tsbmlns_t _tthe_t _tSBMLNamespaces_t_t _tstructure_t _tassociated_t _twith_t _tthe_t @_tp_t _tnode_t.

@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tXMLNode_t_t _tstructure_t _tconforms_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.

@_tnote_t _tthe_t _toptional_t _tSBMLNamespaces_t_t _targument_t _tcan_t _tbe_t _tused_t _tto_t _tcheck_t _tfor_t _tthe_t _tdeclaration_t _tof_t _tthe_t _tXHTML_t _tnamespace_t _tat_t _tthe_t _ttop_t-_tlevel_t _twithin_t _tan_t _tSBMLDocument_t_t.

@_tmemberof_t _tSyntaxChecker_t_t

◆ SyntaxChecker_isValidSBMLSId()

int SyntaxChecker_isValidSBMLSId ( const char *  sid)

@_tendcond_t

_tPredicate_t _tindicating_t _twhether_t _tthe_t _targument_t _tstring_t _tconforms_t _tto_t _tthe_t _tSBML_t _ttype_t _tSId_t.

@_tcond_t _tdoxygenIgnored_t

◆ SyntaxChecker_isValidUnitSId()

int SyntaxChecker_isValidUnitSId ( const char *  units)

_tPredicate_t _tindicating_t _twhether_t _tthe_t _targument_t _tstring_t _tconforms_t _tto_t _tthe_t _tSBML_t _ttype_t _tUnitSId_t.

@_tparam_t _tunits_t _tstring_t _tto_t _tbe_t _tchecked_t _tfor_t _tconformance_t.

@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tstring_t _tconforms_t _tto_t _ttype_t _tUnitSId_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.

@_tnote_t @_thtmlinclude_t _tunitid_t-_tsyntax._thtml_t

@_tmemberof_t _tSyntaxChecker_t_t

◆ SyntaxChecker_isValidXMLID()

int SyntaxChecker_isValidXMLID ( const char *  id)

_tPredicate_t _tindicating_t _twhether_t _tthe_t _targument_t _tstring_t _tconforms_t _tto_t _tthe_t _tXML_t _t1_t._t0_t _ttype_t _tID_t.

@_tparam_t _tid_t _tstring_t _tto_t _tbe_t _tchecked_t _tfor_t _tconformance_t.

@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthe_t _tstring_t _tconforms_t _tto_t _ttype_t _tID_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.

@_tnote_t @_thtmlinclude_t _txmlid_t-_tsyntax._thtml_t

@_tmemberof_t _tSyntaxChecker_t_t