CXXR (C++ R)
Static Public Member Functions | Friends
CXXR::DotInternalTable Class Reference

Table of functions invoked via .Internal(). More...

#include <DotInternal.h>

List of all members.

Static Public Member Functions

static BuiltInFunctionget (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

Detailed Description

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.


Member Function Documentation

static BuiltInFunction* CXXR::DotInternalTable::get ( const Symbol sym)
inlinestatic

Get function accessed via .Internal().

Parameters:
symPointer to a Symbol.
Returns:
If x is associated with a function invoked in R via .Internal(), then a pointer to the appropriate CXXR::BuiltInFunction, otherwise a null pointer.
void DotInternalTable::set ( const Symbol sym,
BuiltInFunction fun 
)
static

Associate a Symbol with a .Internal() function.

Parameters:
symPointer to a Symbol to be associated with a function.
funPointer 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.

The documentation for this class was generated from the following files: