"sbmlError"Class to administrate Infos, Warnings, Errors and Fatals returned after validation of an SBML file.
Objects can be created by calls of the form
err <- sbmlError(err, sbmlf).
err:an object of class sbml_error containing a list of SBML errors.
sbmlf:an object of class '>sbmlPtr containing a pointer to
an SBML document object.
This constructor function is only used internally, objects of class
sbmlError are returned by the functions
validateSBMLdocument and getSBMLerrors.
sbmlInfos:Object of class "list" containing all Infos.
sbmlWarnings:Object of class "list" containing all Warnings.
sbmlErrors:Object of class "list" containing all Errors.
sbmlFatals:Object of class "list" containing all Fatals.
sbmlFileName:Object of class "character" containing the file name of the SBML
file generating the errors.
sbmlDocKey:Object of class "character" containing a single character string
functioning as a unique key to a SBML document object.
signature(object = "sbmlError"):
returns a vector of length 5 containing the number of Infos, Warnings,
Errors, Fatals and the total number of entries.
signature(x = "sbmlError"):
returns the total number of entries.
signature(object = "sbmlError", ws = "character"):
prints the slot given in argument ws. It can be "Infos",
"Warnings", "Errors" or "Fatals".
signature(object = "sbmlError"):
gets the sbmlDocKey slot.
signature(object = "sbmlError"):
gets the sbmlErrors slot.
signature(object = "sbmlError"):
gets the sbmlFatals slot.
signature(object = "sbmlError"):
gets the sbmlFileName slot.
signature(object = "sbmlError"):
gets the sbmlInfos slot.
signature(object = "sbmlError"):
gets the sbmlWarnings slot.
# NOT RUN {
showClass("sbmlError")
# }
Run the code above in your browser using DataLab