Description Slots Author(s) References
This represents the different pieces of generated code that defines and implements an extensions or derived class of a C++ class which allows the virtual methods to be implemented via R functions.
className
:the name of the R and C++ class
classDefinition
:the C++ definition of the new class, i.e. the C++ code that lists the fields, methods, inheritance, etc.
rsetClass
:the R code to define the R class
rfieldAccessors
:the R code to access an individual
field of an instance of this newly derived class. This provides the
method for \[\[
so that obj\[\["x"\]\]
retrieves the value of the C++ field
named "x". This function knows about the available methods for this
class and if there is no match, delegates to an inherited method so
that the calls consult the ancestor classes.
rconstructors
:R function(s) to create instances of these objects.
methodNames
:a character vector giving the signatures of the methods and the names corresponding to the internal fields used to store the R functions that act as a method when using individual method fields.
functionNames
:destructor
:RmethodIdRoutine
:methodImplementation
:methodNamesArray
:methodAccessors
:nativeClassConstructors
:ifdef
:callInherited
:sharedMethods
:sharedMethodsDef
:namesMethod
:protectedMethods
:Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://www.omegahat.org/RGCCTranslationUnit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.