Learn R Programming

sybilSBML (version 3.1.2)

sbmlError-class: Class "sbmlError"

Description

Class to administrate Infos, Warnings, Errors and Fatals returned after validation of an SBML file.

Arguments

Objects from the Class

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.

Slots

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.

Methods

getNumErrors

signature(object = "sbmlError"): returns a vector of length 5 containing the number of Infos, Warnings, Errors, Fatals and the total number of entries.

length

signature(x = "sbmlError"): returns the total number of entries.

printSlot

signature(object = "sbmlError", ws = "character"): prints the slot given in argument ws. It can be "Infos", "Warnings", "Errors" or "Fatals".

sbmlDocKey

signature(object = "sbmlError"): gets the sbmlDocKey slot.

sbmlErrors

signature(object = "sbmlError"): gets the sbmlErrors slot.

sbmlFatals

signature(object = "sbmlError"): gets the sbmlFatals slot.

sbmlFileName

signature(object = "sbmlError"): gets the sbmlFileName slot.

sbmlInfos

signature(object = "sbmlError"): gets the sbmlInfos slot.

sbmlWarnings

signature(object = "sbmlError"): gets the sbmlWarnings slot.

See Also

validateSBMLdocument, getSBMLerrors

Examples

Run this code
# NOT RUN {
  showClass("sbmlError")
# }

Run the code above in your browser using DataLab