Rcpp Version 0.9.10
cache.cpp File Reference
#include <Rcpp.h>
Include dependency graph for cache.cpp:

Go to the source code of this file.

Namespaces

namespace  Rcpp
 

Rcpp API.


namespace  Rcpp::internal
 

internal implementation details


Functions

void maybe_init ()
SEXP Rcpp::internal::get_Rcpp_namespace ()
SEXP Rcpp::internal::get_rcpptrycatch ()
SEXP Rcpp::internal::get_evalq ()
SEXP get_rcpp_cache ()
SEXP init_Rcpp_cache ()
SEXP reset_current_error ()
SEXP rcpp_error_recorder (SEXP e)
SEXP rcpp_set_current_error (SEXP e)
SEXP rcpp_get_current_error ()
SEXP rcpp_set_error_occured (SEXP e)
SEXP rcpp_get_error_occured ()
SEXP rcpp_set_stack_trace (SEXP e)
SEXP rcpp_get_stack_trace ()

Variables

static SEXP Rcpp_cache = R_NilValue
static bool Rcpp_cache_ready = false

Function Documentation

SEXP get_rcpp_cache ( )

Definition at line 48 of file cache.cpp.

References Rcpp_cache.

SEXP init_Rcpp_cache ( )

Definition at line 50 of file cache.cpp.

References PROTECT(), Rcpp_cache, Rcpp_cache_ready, and reset_current_error().

Referenced by maybe_init(), and R_init_Rcpp().

Here is the call graph for this function:

void maybe_init ( )

Definition at line 27 of file cache.cpp.

References init_Rcpp_cache(), and Rcpp_cache_ready.

Referenced by Rcpp::internal::get_Rcpp_namespace(), rcpp_error_recorder(), and Rcpp::Evaluator::run().

Here is the call graph for this function:

SEXP rcpp_error_recorder ( SEXP  e)

Definition at line 81 of file cache.cpp.

References maybe_init(), R_NilValue, Rcpp_cache, and rcpp_set_current_error().

Here is the call graph for this function:

SEXP rcpp_get_current_error ( )

Definition at line 99 of file cache.cpp.

References Rcpp_cache.

SEXP rcpp_get_error_occured ( )

Definition at line 108 of file cache.cpp.

References Rcpp_cache.

SEXP rcpp_get_stack_trace ( )

Definition at line 117 of file cache.cpp.

References Rcpp_cache.

SEXP rcpp_set_current_error ( SEXP  e)

Definition at line 94 of file cache.cpp.

References R_NilValue, and Rcpp_cache.

Referenced by rcpp_error_recorder().

SEXP rcpp_set_error_occured ( SEXP  e)

Definition at line 103 of file cache.cpp.

References R_NilValue, and Rcpp_cache.

SEXP rcpp_set_stack_trace ( SEXP  e)

Definition at line 112 of file cache.cpp.

References R_NilValue, and Rcpp_cache.

Referenced by Rcpp::exception::exception().

SEXP reset_current_error ( )

Definition at line 67 of file cache.cpp.

References R_NilValue, and Rcpp_cache.

Referenced by init_Rcpp_cache(), and Rcpp::Evaluator::run().


Variable Documentation

bool Rcpp_cache_ready = false [static]

Definition at line 25 of file cache.cpp.

Referenced by init_Rcpp_cache(), and maybe_init().

 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines