Rcpp Version 0.9.10
RcppCommon.h File Reference
#include <Rcpp/config.h>
#include <Rcpp/macros/unroll.h>
#include <iterator>
#include <exception>
#include <iostream>
#include <sstream>
#include <string>
#include <list>
#include <map>
#include <set>
#include <stdexcept>
#include <vector>
#include <deque>
#include <functional>
#include <numeric>
#include <algorithm>
#include <complex>
#include <limits.h>
#include <typeinfo>
#include <Rcpp/sprintf.h>
#include <R.h>
#include <Rinternals.h>
#include <R_ext/Callbacks.h>
#include <R_ext/Complex.h>
#include <R_ext/Parse.h>
#include <R_ext/Rdynload.h>
#include <Rversion.h>
#include <Rcpp/lang.h>
#include <Rcpp/complex.h>
#include <Rcpp/barrier.h>
#include <Rcpp/internal/posixt.h>
#include <Rcpp/exceptions.h>
#include <Rcpp/traits/integral_constant.h>
#include <Rcpp/traits/same_type.h>
#include <Rcpp/traits/named_object.h>
#include <Rcpp/Named.h>
#include <Rcpp/traits/is_convertible.h>
#include <Rcpp/traits/has_iterator.h>
#include <Rcpp/traits/expands_to_logical.h>
#include <Rcpp/traits/matrix_interface.h>
#include <Rcpp/traits/is_sugar_expression.h>
#include <Rcpp/traits/is_eigen_base.h>
#include <Rcpp/traits/has_na.h>
#include <Rcpp/traits/storage_type.h>
#include <Rcpp/traits/r_sexptype_traits.h>
#include <Rcpp/traits/r_type_traits.h>
#include <Rcpp/traits/wrap_type_traits.h>
#include <Rcpp/traits/is_na.h>
#include <Rcpp/traits/if_.h>
#include <Rcpp/traits/get_na.h>
#include <Rcpp/traits/is_trivial.h>
#include <Rcpp/traits/init_type.h>
#include <Rcpp/traits/is_const.h>
#include <Rcpp/traits/is_reference.h>
#include <Rcpp/traits/remove_const.h>
#include <Rcpp/traits/remove_reference.h>
#include <Rcpp/traits/remove_const_and_reference.h>
#include <Rcpp/traits/result_of.h>
#include <Rcpp/Generator.h>
#include <Rcpp/internal/caster.h>
#include <Rcpp/internal/r_vector.h>
#include <Rcpp/r_cast.h>
#include <Rcpp/internal/wrap_forward.h>
#include <Rcpp/Date_forward.h>
#include <Rcpp/Datetime_forward.h>
#include <Rcpp/internal/export.h>
#include <Rcpp/traits/Exporter.h>
#include <Rcpp/internal/r_coerce.h>
#include <Rcpp/as.h>
#include <Rcpp/vector/VectorBase.h>
#include <Rcpp/vector/MatrixBase.h>
#include <Rcpp/internal/wrap.h>
#include <Rcpp/internal/ListInitialization.h>
#include <Rcpp/internal/Proxy_Iterator.h>
#include <Rcpp/preprocessor.h>
#include <Rcpp/algo.h>
#include <Rcpp/sugar/sugar_forward.h>
#include <Rcpp/routines.h>
#include <Rcpp/cache.h>
#include <Rcpp/iostream/Rstreambuf.h>
#include <Rcpp/iostream/Rostream.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Rcpp
 

Rcpp API.


namespace  Rcpp::traits
 

traits used to dispatch wrap


namespace  Rcpp::internal
 

internal implementation details


Defines

#define DEMANGLE(__TYPE__)   demangle( typeid(__TYPE__).name() ).c_str()
#define R_NO_REMAP
#define RCPP_GET_NAMES(x)   Rf_getAttrib(x, R_NamesSymbol)
#define RcppExport   extern "C"
#define RCPP_DEBUG_LEVEL   0
#define logTxt(x)
#define RCPP_DEBUG(MSG)
#define RCPP_DEBUG_1(fmt, MSG)
#define RCPP_DEBUG_2(fmt, M1, M2)
#define RCPP_DEBUG_3(fmt, M1, M2, M3)
#define GET_STACKTRACE()   stack_trace( __FILE__, __LINE__ )
#define Rcpp_error(MESSAGE)   throw new Rcpp::exception( MESSAGE, __FILE__, __LINE__ )

Functions

void logTxtFunction (const char *file, const int line, const char *expression)
std::string demangle (const std::string &name)
SEXP Rcpp_lcons (SEXP car, SEXP cdr)
RcppExport void init_Rcpp_routines (DllInfo *)
template<typename T >
int Rcpp::internal::rcpp_call_test (T t)
int Rcpp::internal::rcpp_call_test_ (SEXP)
SEXP rcpp_call_test (SEXP x)
void forward_uncaught_exceptions_to_r ()
void forward_exception_to_r (const std::exception &)
RcppExport SEXP initUncaughtExceptionHandler ()
RcppExport SEXP canUseCXX0X ()
RcppExport SEXP test_named ()
RcppExport SEXP capabilities ()
const char * sexp_to_name (int sexp_type)
SEXP Rcpp::internal::convert_using_rfunction (SEXP x, const char *const fun)
SEXP Rcpp::internal::try_catch (SEXP expr, SEXP env)
SEXP Rcpp::internal::try_catch (SEXP expr)
bool Rcpp::Rboolean_to_bool (int x)
bool Rcpp::int_to_bool (int x)
bool Rcpp::double_to_bool (double x)
bool Rcpp::Rbyte_to_bool (Rbyte x)
SEXP stack_trace (const char *file, int line)
RcppExport SEXP RcppXPtrExample_create_external_pointer ()
RcppExport SEXP RcppXPtrExample_get_external_pointer (SEXP)

Define Documentation

#define GET_STACKTRACE ( )    stack_trace( __FILE__, __LINE__ )

Definition at line 247 of file RcppCommon.h.

#define logTxt (   x)

Definition at line 230 of file RcppCommon.h.

Referenced by Rcpp::Environment::~Environment(), and Rcpp::RObject::~RObject().

#define R_NO_REMAP

Definition at line 141 of file RcppCommon.h.

#define RCPP_DEBUG_3 (   fmt,
  M1,
  M2,
  M3 
)
#define RCPP_DEBUG_LEVEL   0

Definition at line 224 of file RcppCommon.h.

#define Rcpp_error (   MESSAGE)    throw new Rcpp::exception( MESSAGE, __FILE__, __LINE__ )

Definition at line 248 of file RcppCommon.h.

#define RcppExport   extern "C"

Function Documentation

RcppExport SEXP canUseCXX0X ( ) [inline]

Definition at line 194 of file RcppCommon.h.

RcppExport SEXP capabilities ( )

Definition at line 31 of file RcppCommon.cpp.

References PROTECT().

Here is the call graph for this function:

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

Definition at line 182 of file exceptions.cpp.

void forward_exception_to_r ( const std::exception &  )

Definition at line 171 of file exceptions.cpp.

References R_NilValue.

void forward_uncaught_exceptions_to_r ( )

Definition at line 161 of file exceptions.cpp.

References R_NilValue.

Referenced by initUncaughtExceptionHandler().

RcppExport void init_Rcpp_routines ( DllInfo *  )

Definition at line 85 of file Rcpp_init.c.

References callEntries, and extEntries.

Referenced by R_init_Rcpp().

RcppExport SEXP initUncaughtExceptionHandler ( )

Definition at line 186 of file exceptions.cpp.

References forward_uncaught_exceptions_to_r(), and R_NilValue.

Here is the call graph for this function:

void logTxtFunction ( const char *  file,
const int  line,
const char *  expression 
)

Definition at line 27 of file RcppCommon.cpp.

SEXP rcpp_call_test ( SEXP  x)

Definition at line 172 of file RcppCommon.cpp.

References Rcpp::internal::rcpp_call_test_().

Here is the call graph for this function:

SEXP Rcpp_lcons ( SEXP  car,
SEXP  cdr 
) [inline]

Definition at line 151 of file RcppCommon.h.

References PROTECT().

Here is the call graph for this function:

RcppExport SEXP RcppXPtrExample_create_external_pointer ( )
RcppExport SEXP RcppXPtrExample_get_external_pointer ( SEXP  )
const char* sexp_to_name ( int  sexp_type)

Definition at line 93 of file RcppCommon.cpp.

SEXP stack_trace ( const char *  file,
int  line 
)

Definition at line 78 of file debugging.cpp.

References R_NilValue.

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

RcppExport SEXP test_named ( )

Definition at line 85 of file RcppCommon.cpp.

References Rcpp::Named(), and R_NilValue.

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines