makeAccessors: Generate accessors for an existing class

Description Usage Arguments Value

View source: R/generateAccessors.R

Description

Generate accessors for an existing class

Usage

1
2
makeAccessors(cls, funnames = structure(names(cls@slots), names =
  names(cls@slots)), skip = character(), libs = character(), ...)

Arguments

cls

The class definition to generate acessors for

funnames

named list of accessor name, slot name pairs. Defaults to acessor functions named identically to the slots they access

skip

Character vector of slots to NOT create accessors for

libs

character vector of packages to load (via library) before generating acessors

...

Unused

Value

a ClassAccessors object for use with write_accessors


gmbecker/S4Coffee documentation built on May 14, 2017, 12:56 p.m.