Operators acting on oClass generators and their instances.
# S3 method for ClassGenerator
$(x, name)# S3 method for ClassGenerator
[[(x, i, exact = TRUE, inherits = TRUE)
# S3 method for ClassGenerator
$(x, name) <- value
# S3 method for ClassGenerator
[[(x, name) <- value
# S3 method for Instance
$(x, name)
# S3 method for Instance
[[(x, i, exact = TRUE, inherits = TRUE)
object of class "Instance" or "ClassGenerator"
character or symbol for `$` describing field name to return or set
logical controlling whether a partial match is acceptable. Defaults to TRUE for no partial matching
logical describing whether parent environments should be searched
new field value
Environment of class "Instance" or function of class "ClassGenerator"
For oClass instances, `$` and `[` first search the instance environment for the object.
If no object is found, then all inherited objects are searched in order. Any object assigned to the instance
will be inserted into the instance's environment. These operators act on the underlying Class template environment
when applied to a Class generator.