CXXR (C++ R) API
|
Table of functions invoked via .Internal()
.
More...
#include <DotInternal.h>
Static Public Member Functions | |
static BuiltInFunction * | get (const Symbol *sym) |
Get function accessed via .Internal() . | |
static void | set (const Symbol *sym, BuiltInFunction *fun) |
Associate a Symbol with a .Internal() function. |
Friends | |
class | BuiltInFunction |
Table of functions invoked via .Internal()
.
This class, all of whose members are static, defines a mapping from Symbols to BuiltInFunction objects that are invoked via R's .Internal()
framework.
|
inlinestatic |
Get function accessed via .Internal()
.
sym | Pointer to a Symbol. |
.Internal()
, then a pointer to the appropriate CXXR::BuiltInFunction, otherwise a null pointer.
|
static |
Associate a Symbol with a .Internal()
function.
sym | Pointer to a Symbol to be associated with a function. |
fun | Pointer to the BuiltInFunction to be associated by this symbol. A null pointer is permissible, and signifies that any previous association of sym with a function is to be removed from the table. |