Rcpp Version 1.0.9
routines.h File Reference
Include dependency graph for routines.h:
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 unsigned long Rcpp::internal::beginSuspendRNGSynchronization ()
 
attribute_hidden unsigned long Rcpp::internal::endSuspendRNGSynchronization ()
 
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 void Rcpp::Rcpp_precious_init ()
 
attribute_hidden void Rcpp::Rcpp_precious_teardown ()
 
attribute_hidden SEXP Rcpp::Rcpp_precious_preserve (SEXP object)
 
attribute_hidden void Rcpp::Rcpp_precious_remove (SEXP token)
 
attribute_hidden Rostream< true > & Rcpp::Rcpp_cout_get ()
 
attribute_hidden Rostream< false > & Rcpp::Rcpp_cerr_get ()
 
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

◆ GET_CALLABLE

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

Definition at line 82 of file routines.h.

Function Documentation

◆ char_get_string_elt()

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

Definition at line 216 of file routines.h.

◆ char_nocheck()

attribute_hidden const char* char_nocheck ( SEXP  x)
inline

Definition at line 258 of file routines.h.

◆ char_set_string_elt()

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

Definition at line 228 of file routines.h.

◆ dataptr()

attribute_hidden void* dataptr ( SEXP  x)
inline

Definition at line 264 of file routines.h.

◆ demangle()

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

Definition at line 192 of file routines.h.

◆ error_occured()

attribute_hidden int error_occured ( )
inline

Definition at line 294 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().

◆ get_cache()

attribute_hidden int* get_cache ( int  n)
inline

Definition at line 282 of file routines.h.

References GET_CALLABLE.

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

◆ get_string_elt()

attribute_hidden SEXP get_string_elt ( SEXP  s,
R_xlen_t  i 
)
inline

Definition at line 210 of file routines.h.

◆ get_string_ptr()

attribute_hidden SEXP* get_string_ptr ( SEXP  s)
inline

Definition at line 234 of file routines.h.

◆ get_vector_elt()

attribute_hidden SEXP get_vector_elt ( SEXP  v,
R_xlen_t  i 
)
inline

Definition at line 240 of file routines.h.

◆ get_vector_ptr()

attribute_hidden SEXP* get_vector_ptr ( SEXP  v)
inline

Definition at line 252 of file routines.h.

◆ getCurrentScope()

attribute_hidden Rcpp::Module* getCurrentScope ( )
inline

◆ rcpp_get_current_error()

attribute_hidden SEXP rcpp_get_current_error ( )
inline

Definition at line 300 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().

◆ rcpp_get_stack_trace()

attribute_hidden SEXP rcpp_get_stack_trace ( )
inline

Definition at line 180 of file routines.h.

References GET_CALLABLE.

Referenced by exception_to_condition_template(), and registerFunctions().

◆ rcpp_set_stack_trace()

attribute_hidden SEXP rcpp_set_stack_trace ( SEXP  e)
inline

◆ reset_current_error()

attribute_hidden SEXP reset_current_error ( )
inline

Definition at line 288 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().

◆ set_string_elt()

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

Definition at line 222 of file routines.h.

◆ set_vector_elt()

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

Definition at line 246 of file routines.h.

◆ setCurrentScope()

attribute_hidden void setCurrentScope ( Rcpp::Module mod)
inline

Definition at line 276 of file routines.h.

References GET_CALLABLE.

Referenced by R_init_Rcpp(), and registerFunctions().

◆ short_file_name()

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

Definition at line 198 of file routines.h.

References GET_CALLABLE.

◆ stack_trace()

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

Definition at line 204 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().