Description Usage Arguments Details Value Author(s) See Also
These routines represent the lower-level access for registration, which enables data-driven access by other routines. This represents the initial implementation and may change in the future.
1 2 3 4 5 6 7 8 | getRegisteredObject(key,
envir,
objtype=c("method", "classname"))
getRegisteredObjectKeys(envir)
getRegisteredMethodKeys(envir)
getRegisteredMethod(key, envir)
registerClassname(key, classname, ..., envir)
registerMethod(key, method, ..., envir)
|
key |
character string representing a registered object |
envir |
environment where registered objects are stored |
objtype |
character string specifying type of registered object |
method |
function to register |
classname |
character string specifying class name to register |
... |
extra arguments for generic routines |
The routines here basically use the envir passed by the caller
as a private hash table. The key argument is used to retrieve
the value stored during registration.
getRegisteredMethodKeys is an alias for getRegisteredObjectKeys.
getRegisteredMethod invokes getRegisteredObject with
objtype of "method".
getRegisteredObject returns list associated with key.
List components will include named arguments provided upon registration.
getRegisteredObjectKeys returns vector of keys for all
registered objects.
registerClassname is invoked for its side effect, which is registering
classname (and optionally other named arguments) by association to
key.
registerMethod is invoked for its side effect, which is registering
method (and optionally other named arguments) by association to
key.
P. Roebuck proebuck@mdanderson.org
The envir argument of eval,
get, and exists.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.