R.oo (version 1.0.3)

getFields.Class: Returns the field names of a class

Description

Returns the field names of a class.

Usage

## S3 method for class 'Class}(this, private=FALSE, ...)':
getFieldsundefined

Returns a character vector of field names.

print(getFields(Exception))

[object Object]

For more information see Class.

programming

methods

Arguments

private
If TRUE, private fields will also be returned, otherwise only public fields are returned.
...
Not used.