R/Content.R

#' An abstract reference class representing content that can belong to an Element
#'
#' #' @field m_parent the parent (if any)
#' @export
Content <- setRefClass(
  Class = "Content",
  contains = "AbstractClass",
  fields =  "m_parent",
  methods = list(

    getParent = function() {
      m_parent
    },

    setParent = function(parent) {
      m_parent <<- parent
    }

  )
)

Try the xmlr package in your browser

Any scripts or data that you put into this service are public.

xmlr documentation built on July 2, 2020, 2:42 a.m.