R/generics.R

setGeneric("name<-",
           valueClass = "variable",
           function(object, value) standardGeneric("name<-")
)

setGeneric("name",
           valueClass = "character",
           function(object) standardGeneric("name")
)

setGeneric("type",
           valueClass = "character",
           function(object) standardGeneric("type")
)

setGeneric("width",
           valueClass = "integer",
           function(object) standardGeneric("width")
)

.types = c(
  'STRING',
  'INTEGER',
  'REAL',
  'DATETYPE',
  'ENUM',
  'DUMMY'
)
sophof/blaise documentation built on Feb. 6, 2024, 3:16 a.m.