Accessor: Accessor class

Description Usage Arguments

Description

This is a virtual class to be contained in other class definitions. It overrides the default accessor $ and is intended to be used with the aoos class system (defineClass). Inherit from this class if you want to access public fields in the same way you access lists.

Usage

1
2
3
4
5
## S4 method for signature 'Accessor'
x$name

## S4 replacement method for signature 'Accessor'
x$name <- value

Arguments

x

object

name

member name

value

value to assign to.


aoos documentation built on May 2, 2019, 3:47 p.m.