makeAccessors: Generate accessors for an existing class

Description Usage Arguments Value

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 17, 2019, 6:42 a.m.