Rcpp Version 0.12.12
routines.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Rcpp
 Rcpp API.
 
 Rcpp::internal
 internal implementation details
 

Macros

#define GET_CALLABLE(__FUN__)   (Fun) R_GetCCallable( "Rcpp", __FUN__ )
 

Functions

attribute_hidden const char * Rcpp::type2name (SEXP x)
 
attribute_hidden unsigned long Rcpp::internal::enterRNGScope ()
 
attribute_hidden unsigned long Rcpp::internal::exitRNGScope ()
 
attribute_hidden char * Rcpp::internal::get_string_buffer ()
 
attribute_hidden SEXP Rcpp::internal::get_Rcpp_namespace ()
 
attribute_hidden double Rcpp::mktime00 (struct tm &tm)
 
attribute_hidden struct tm * Rcpp::gmtime_ (const time_t *const x)
 
attribute_hidden SEXP rcpp_get_stack_trace ()
 
attribute_hidden SEXP rcpp_set_stack_trace (SEXP e)
 
attribute_hidden std::string demangle (const std::string &name)
 
attribute_hidden const char * short_file_name (const char *file)
 
attribute_hidden SEXP stack_trace (const char *file="", int line=-1)
 
attribute_hidden SEXP get_string_elt (SEXP s, R_xlen_t i)
 
attribute_hidden const char * char_get_string_elt (SEXP s, R_xlen_t i)
 
attribute_hidden void set_string_elt (SEXP s, R_xlen_t i, SEXP v)
 
attribute_hidden void char_set_string_elt (SEXP s, R_xlen_t i, const char *v)
 
attribute_hidden SEXP * get_string_ptr (SEXP s)
 
attribute_hidden SEXP get_vector_elt (SEXP v, R_xlen_t i)
 
attribute_hidden void set_vector_elt (SEXP v, R_xlen_t i, SEXP x)
 
attribute_hidden SEXP * get_vector_ptr (SEXP v)
 
attribute_hidden const char * char_nocheck (SEXP x)
 
attribute_hidden void * dataptr (SEXP x)
 
attribute_hidden Rcpp::ModulegetCurrentScope ()
 
attribute_hidden void setCurrentScope (Rcpp::Module *mod)
 
attribute_hidden int * get_cache (int n)
 
attribute_hidden SEXP reset_current_error ()
 
attribute_hidden int error_occured ()
 
attribute_hidden SEXP rcpp_get_current_error ()
 

Macro Definition Documentation

Function Documentation

attribute_hidden const char* char_get_string_elt ( SEXP  s,
R_xlen_t  i 
)
inline

Definition at line 158 of file routines.h.

References GET_CALLABLE.

attribute_hidden const char* char_nocheck ( SEXP  x)
inline

Definition at line 200 of file routines.h.

References GET_CALLABLE.

attribute_hidden void char_set_string_elt ( SEXP  s,
R_xlen_t  i,
const char *  v 
)
inline

Definition at line 170 of file routines.h.

References GET_CALLABLE.

attribute_hidden void* dataptr ( SEXP  x)
inline

Definition at line 206 of file routines.h.

References GET_CALLABLE.

attribute_hidden std::string demangle ( const std::string &  name)
inline

Definition at line 134 of file routines.h.

References GET_CALLABLE.

attribute_hidden int error_occured ( )
inline

Definition at line 236 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().

attribute_hidden int* get_cache ( int  n)
inline

Definition at line 224 of file routines.h.

References GET_CALLABLE.

Referenced by Rcpp::sugar::IndexHash< RTYPE >::IndexHash(), and registerFunctions().

attribute_hidden SEXP get_string_elt ( SEXP  s,
R_xlen_t  i 
)
inline

Definition at line 152 of file routines.h.

References GET_CALLABLE.

attribute_hidden SEXP* get_string_ptr ( SEXP  s)
inline

Definition at line 176 of file routines.h.

References GET_CALLABLE.

attribute_hidden SEXP get_vector_elt ( SEXP  v,
R_xlen_t  i 
)
inline

Definition at line 182 of file routines.h.

References GET_CALLABLE.

attribute_hidden SEXP* get_vector_ptr ( SEXP  v)
inline

Definition at line 194 of file routines.h.

References GET_CALLABLE.

attribute_hidden Rcpp::Module* getCurrentScope ( )
inline
attribute_hidden SEXP rcpp_get_current_error ( )
inline

Definition at line 242 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().

attribute_hidden SEXP rcpp_get_stack_trace ( )
inline

Definition at line 122 of file routines.h.

References GET_CALLABLE.

Referenced by exception_to_r_condition(), rcpp_exception_to_r_condition(), and registerFunctions().

attribute_hidden SEXP rcpp_set_stack_trace ( SEXP  e)
inline
attribute_hidden SEXP reset_current_error ( )
inline

Definition at line 230 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().

attribute_hidden void set_string_elt ( SEXP  s,
R_xlen_t  i,
SEXP  v 
)
inline

Definition at line 164 of file routines.h.

References GET_CALLABLE.

attribute_hidden void set_vector_elt ( SEXP  v,
R_xlen_t  i,
SEXP  x 
)
inline

Definition at line 188 of file routines.h.

References GET_CALLABLE.

attribute_hidden void setCurrentScope ( Rcpp::Module mod)
inline

Definition at line 218 of file routines.h.

References GET_CALLABLE.

Referenced by R_init_Rcpp(), and registerFunctions().

attribute_hidden const char* short_file_name ( const char *  file)
inline

Definition at line 140 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().

attribute_hidden SEXP stack_trace ( const char *  file = "",
int  line = -1 
)
inline

Definition at line 146 of file routines.h.

References GET_CALLABLE.

Referenced by Rcpp::exception::exception(), and registerFunctions().