CXXR (C++ R) API
Classes | Namespaces | Functions
DotInternal.h File Reference

($Id: DotInternal.h 1397 2013-08-16 18:25:59Z arr $)

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

#include "CXXR/RObject.h"
#include "CXXR/BuiltInFunction.h"
#include "CXXR/GCRoot.h"
#include "CXXR/SEXP_downcast.hpp"
#include "CXXR/StdFrame.hpp"
#include "CXXR/Symbol.h"
Include dependency graph for DotInternal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CXXR::DotInternalTable
 Table of functions invoked via .Internal(). More...

Namespaces

namespace  CXXR
 Namespace for the CXXR project.

Functions

SEXP INTERNAL (SEXP x)
 Get function accessed via .Internal().
void SET_INTERNAL (SEXP x, SEXP v)
 Associate a Symbol with a .Internal() function.

Detailed Description

Table of functions invoked via .Internal().


Function Documentation

SEXP INTERNAL ( SEXP  x)
inline

Get function accessed via .Internal().

Parameters:
xPointer to a CXXR::Symbol (checked).
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 SET_INTERNAL ( SEXP  x,
SEXP  v 
)

Associate a Symbol with a .Internal() function.

Parameters:
xPointer to a CXXR::Symbol (checked).
vPointer to the CXXR::BuiltInFunction (checked) 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.