from_Server-class {XR} | R Documentation |
A Class to Describe General Server Objects
Description
Classes that inherit from this class are used to convert to R a server language object that is composed of named fields. The corresponding R object will have conversions for the fields that can be accessed with the "$" operator.
Usage
## S4 method for signature 'from_Server'
initialize(.Object, ..., referenceClass = TRUE)
## S4 method for signature 'from_Server'
x$name
## S4 method for signature 'from_Server'
show(object)
Arguments
.Object , referenceClass |
arguments supplied automatically. |
... |
possible slots for subclasses |
x , name |
the object and the field name |
object |
an object from some server class, converted by the |
Methods (by generic)
-
initialize
: performs some checks on the fields -
$
: extract a field. The name must match a field in the data part. -
show
: automatic printing, currently just a list of field names.
Slots
serverClass
the name of the server language class
module
the name of the server language module
language
the name of the server language
fields
the names of the server language fields
data
the converted data for the server fields