Rcpp Version 0.12.14
Rcpp::internal Namespace Reference

internal implementation details More...

Classes

class  const_generic_proxy
 
class  const_string_proxy
 
class  DimNameProxy
 
class  element_converter
 
class  generic_element_converter
 
class  generic_name_proxy
 
class  generic_proxy
 
class  InterruptedException
 
class  LazyVector
 
class  LazyVector< Rcpp::Vector< RTYPE > >
 
class  NamedPlaceHolder
 
class  RangeIndexer
 
class  simple_name_proxy
 
class  string_element_converter
 
class  string_name_proxy
 
class  string_proxy
 

Functions

template<>
double caster< Rcpp::Date, double > (Rcpp::Date from)
 
template<>
Rcpp::Date caster< double, Rcpp::Date > (double from)
 
template<>
double caster< Rcpp::Datetime, double > (Rcpp::Datetime from)
 
template<>
Rcpp::Datetime caster< double, Rcpp::Datetime > (double from)
 
void * as_module_object_internal (SEXP obj)
 
template<typename InputIterator , typename value_type >
void export_range__dispatch (SEXP x, InputIterator first, ::Rcpp::traits::r_type_generic_tag)
 
bool is_atomic (SEXP x)
 
bool is_matrix (SEXP x)
 
template<>
bool is__simple< int > (SEXP x)
 
template<>
bool is__simple< double > (SEXP x)
 
template<>
bool is__simple< bool > (SEXP x)
 
template<>
bool is__simple< std::string > (SEXP x)
 
template<>
bool is__simple< String > (SEXP x)
 
template<>
bool is__simple< Rcomplex > (SEXP x)
 
template<>
bool is__simple< CharacterVector > (SEXP x)
 
template<>
bool is__simple< CharacterMatrix > (SEXP x)
 
template<>
bool is__simple< RObject > (SEXP)
 
template<>
bool is__simple< IntegerVector > (SEXP x)
 
template<>
bool is__simple< ComplexVector > (SEXP x)
 
template<>
bool is__simple< RawVector > (SEXP x)
 
template<>
bool is__simple< NumericVector > (SEXP x)
 
template<>
bool is__simple< LogicalVector > (SEXP x)
 
template<>
bool is__simple< Language > (SEXP x)
 
template<>
bool is__simple< DottedPair > (SEXP x)
 
template<>
bool is__simple< List > (SEXP x)
 
template<>
bool is__simple< IntegerMatrix > (SEXP x)
 
template<>
bool is__simple< ComplexMatrix > (SEXP x)
 
template<>
bool is__simple< RawMatrix > (SEXP x)
 
template<>
bool is__simple< NumericMatrix > (SEXP x)
 
template<>
bool is__simple< LogicalMatrix > (SEXP x)
 
template<>
bool is__simple< GenericMatrix > (SEXP x)
 
template<>
bool is__simple< DataFrame > (SEXP x)
 
template<>
bool is__simple< WeakReference > (SEXP x)
 
template<>
bool is__simple< Symbol > (SEXP x)
 
template<>
bool is__simple< S4 > (SEXP x)
 
template<>
bool is__simple< Reference > (SEXP x)
 
template<>
bool is__simple< Promise > (SEXP x)
 
template<>
bool is__simple< Pairlist > (SEXP x)
 
template<>
bool is__simple< Function > (SEXP x)
 
template<>
bool is__simple< Environment > (SEXP x)
 
template<>
bool is__simple< Formula > (SEXP x)
 
template<>
bool is__simple< Date > (SEXP x)
 
template<>
bool is__simple< Datetime > (SEXP x)
 
template<>
bool is__simple< DateVector > (SEXP x)
 
template<>
bool is__simple< DatetimeVector > (SEXP x)
 
bool is_module_object_internal (SEXP obj, const char *clazz)
 
template<typename T >
bool is__module__object (SEXP x)
 
template<typename T >
SEXP wrap_range_sugar_expression (const T &object, Rcpp::traits::true_type)
 
template<typename InputIterator , typename KEY , typename VALUE , int RTYPE>
SEXP range_wrap_dispatch___impl__pair (InputIterator first, InputIterator last, Rcpp::traits::true_type)
 
template<typename InputIterator , typename KEY , typename VALUE , int RTYPE>
SEXP range_wrap_dispatch___impl__pair (InputIterator first, InputIterator last, Rcpp::traits::false_type)
 
template<typename T >
primitive_as (SEXP x)
 
template<typename T >
as (SEXP x, ::Rcpp::traits::r_type_primitive_tag)
 
const char * check_single_string (SEXP x)
 
template<typename T >
as_string (SEXP x, Rcpp::traits::true_type)
 
template<typename T >
as_string (SEXP x, Rcpp::traits::false_type)
 
template<typename T >
as (SEXP x, ::Rcpp::traits::r_type_string_tag)
 
template<typename T >
as (SEXP x, ::Rcpp::traits::r_type_RcppString_tag)
 
template<typename T >
as (SEXP x, ::Rcpp::traits::r_type_generic_tag)
 
template<typename T >
object< T > as_module_object (SEXP x)
 
template<typename T >
as (SEXP x, ::Rcpp::traits::r_type_module_object_const_pointer_tag)
 
template<typename T >
as (SEXP x, ::Rcpp::traits::r_type_module_object_pointer_tag)
 
template<typename T >
as (SEXP x, ::Rcpp::traits::r_type_module_object_tag)
 
template<typename T >
as (SEXP x, ::Rcpp::traits::r_type_module_object_reference_tag)
 
template<typename T >
as (SEXP x, ::Rcpp::traits::r_type_module_object_const_reference_tag)
 
template<typename T >
as (SEXP x, ::Rcpp::traits::r_type_enum_tag)
 
SEXP empty_data_frame ()
 
SEXP getPosixClasses ()
 
SEXP new_posixt_object (double d)
 
SEXP new_date_object (double d)
 
SEXP nth (SEXP s, int n)
 
bool is_Rcpp_eval_call (SEXP expr)
 
template<typename T >
SEXP grow__dispatch (::Rcpp::traits::false_type, const T &head, SEXP tail)
 
template<typename T >
SEXP grow__dispatch (::Rcpp::traits::true_type, const T &head, SEXP tail)
 
SEXP interruptedError ()
 
template<typename T >
bool is__simple (SEXP x)
 
template<typename T >
bool is__dispatch (SEXP x, Rcpp::traits::false_type)
 
template<typename T >
bool is__dispatch (SEXP x, Rcpp::traits::true_type)
 
template<typename FROM , typename TO >
std::string get_converter_name (const char *from, const char *to)
 
template<typename Class >
SEXP make_new_object (Class *ptr)
 
SEXP convert_using_rfunction (SEXP x, const char *const fun)
 
template<int TARGET>
SEXP r_true_cast (SEXP x)
 
template<int RTYPE>
SEXP basic_cast (SEXP x)
 
template<>
SEXP r_true_cast< INTSXP > (SEXP x)
 
template<>
SEXP r_true_cast< REALSXP > (SEXP x)
 
template<>
SEXP r_true_cast< RAWSXP > (SEXP x)
 
template<>
SEXP r_true_cast< CPLXSXP > (SEXP x)
 
template<>
SEXP r_true_cast< LGLSXP > (SEXP x)
 
template<>
SEXP r_true_cast< STRSXP > (SEXP x)
 
template<>
SEXP r_true_cast< VECSXP > (SEXP x)
 
template<>
SEXP r_true_cast< EXPRSXP > (SEXP x)
 
template<>
SEXP r_true_cast< LISTSXP > (SEXP x)
 
template<>
SEXP r_true_cast< LANGSXP > (SEXP x)
 
attribute_hidden unsigned long enterRNGScope ()
 
attribute_hidden unsigned long exitRNGScope ()
 
attribute_hidden char * get_string_buffer ()
 
attribute_hidden SEXP get_Rcpp_namespace ()
 
template<>
SEXP make_charsexp< Rcpp::String > (const Rcpp::String &s)
 
double complex__Re (Rcomplex x)
 
double complex__Im (Rcomplex x)
 
double complex__Mod (Rcomplex x)
 
Rcomplex complex__Conj (Rcomplex x)
 
double complex__Arg (Rcomplex x)
 
Rcomplex complex__exp (Rcomplex x)
 
Rcomplex complex__log (Rcomplex x)
 
Rcomplex complex__sqrt (Rcomplex z)
 
Rcomplex complex__cos (Rcomplex z)
 
Rcomplex complex__cosh (Rcomplex z)
 
Rcomplex complex__sin (Rcomplex z)
 
Rcomplex complex__tan (Rcomplex z)
 
Rcomplex complex__asin (Rcomplex z)
 
Rcomplex complex__acos (Rcomplex z)
 
Rcomplex complex__atan (Rcomplex z)
 
Rcomplex complex__acosh (Rcomplex z)
 
Rcomplex complex__asinh (Rcomplex z)
 
Rcomplex complex__atanh (Rcomplex z)
 
Rcomplex complex__sinh (Rcomplex z)
 
Rcomplex complex__tanh (Rcomplex z)
 
double factorial (double x)
 
double lfactorial (double x)
 
template<int RTYPE, bool NA, typename T >
Rcpp::Vector< RTYPE > as_vector__impl (MatrixBase< RTYPE, NA, T > &t, Rcpp::traits::false_type)
 
template<int RTYPE, bool NA, typename T >
Rcpp::Vector< RTYPE > as_vector__impl (MatrixBase< RTYPE, NA, T > &t, Rcpp::traits::true_type)
 
int get_line (int index, int nr)
 
int get_column (int index, int nr)
 
int get_column (int index, int nr, int i)
 
template<int RT>
bool operator< (const const_string_proxy< RT > &lhs, const const_string_proxy< RT > &rhs)
 
template<int RT>
bool operator> (const const_string_proxy< RT > &lhs, const const_string_proxy< RT > &rhs)
 
template<int RT>
bool operator>= (const const_string_proxy< RT > &lhs, const const_string_proxy< RT > &rhs)
 
template<int RT>
bool operator<= (const const_string_proxy< RT > &lhs, const const_string_proxy< RT > &rhs)
 
std::ostream & operator<< (std::ostream &os, const const_string_proxy< STRSXP > &proxy)
 
std::string operator+ (const std::string &x, const const_string_proxy< STRSXP > &y)
 
template<int RT>
bool operator< (const string_proxy< RT > &lhs, const string_proxy< RT > &rhs)
 
template<int RT>
bool operator> (const string_proxy< RT > &lhs, const string_proxy< RT > &rhs)
 
template<int RT>
bool operator>= (const string_proxy< RT > &lhs, const string_proxy< RT > &rhs)
 
template<int RT>
bool operator<= (const string_proxy< RT > &lhs, const string_proxy< RT > &rhs)
 
std::ostream & operator<< (std::ostream &os, const string_proxy< STRSXP > &proxy)
 
std::string operator+ (const std::string &x, const string_proxy< STRSXP > &y)
 
template<int RTYPE>
SEXP vector_from_string (const std::string &st)
 
template<int RTYPE>
SEXP vector_from_string_expr (const std::string &code)
 
template<>
SEXP vector_from_string< EXPRSXP > (const std::string &st)
 

Detailed Description

internal implementation details

Function Documentation

◆ as() [1/10]

template<typename T >
T Rcpp::internal::as ( SEXP  x,
::Rcpp::traits::r_type_primitive_tag   
)

Definition at line 43 of file as.h.

◆ as() [2/10]

template<typename T >
T Rcpp::internal::as ( SEXP  x,
::Rcpp::traits::r_type_string_tag   
)

Definition at line 70 of file as.h.

◆ as() [3/10]

template<typename T >
T Rcpp::internal::as ( SEXP  x,
::Rcpp::traits::r_type_RcppString_tag   
)

Definition at line 74 of file as.h.

◆ as() [4/10]

template<typename T >
T Rcpp::internal::as ( SEXP  x,
::Rcpp::traits::r_type_generic_tag   
)

Definition at line 85 of file as.h.

References as_module_object_internal(), DEMANGLE, and RCPP_DEBUG_1.

Here is the call graph for this function:

◆ as() [5/10]

template<typename T >
T Rcpp::internal::as ( SEXP  x,
::Rcpp::traits::r_type_module_object_const_pointer_tag   
)

handling object<T>

Definition at line 99 of file as.h.

References as_module_object_internal().

Here is the call graph for this function:

◆ as() [6/10]

template<typename T >
T Rcpp::internal::as ( SEXP  x,
::Rcpp::traits::r_type_module_object_pointer_tag   
)

Definition at line 104 of file as.h.

◆ as() [7/10]

template<typename T >
T Rcpp::internal::as ( SEXP  x,
::Rcpp::traits::r_type_module_object_tag   
)

handling T such that T is exposed by a module

Definition at line 109 of file as.h.

◆ as() [8/10]

template<typename T >
T Rcpp::internal::as ( SEXP  x,
::Rcpp::traits::r_type_module_object_reference_tag   
)

handling T such that T is a reference of a class handled by a module

Definition at line 115 of file as.h.

◆ as() [9/10]

template<typename T >
T Rcpp::internal::as ( SEXP  x,
::Rcpp::traits::r_type_module_object_const_reference_tag   
)

handling T such that T is a reference of a class handled by a module

Definition at line 122 of file as.h.

◆ as() [10/10]

template<typename T >
T Rcpp::internal::as ( SEXP  x,
::Rcpp::traits::r_type_enum_tag   
)

handling enums by converting to int first

Definition at line 129 of file as.h.

◆ as_module_object()

template<typename T >
object<T> Rcpp::internal::as_module_object ( SEXP  x)

Definition at line 94 of file as.h.

References as_module_object_internal().

Here is the call graph for this function:

◆ as_module_object_internal()

void * Rcpp::internal::as_module_object_internal ( SEXP  obj)
inline

Definition at line 24 of file as.h.

Referenced by as(), and as_module_object().

◆ as_string() [1/2]

template<typename T >
T Rcpp::internal::as_string ( SEXP  x,
Rcpp::traits::true_type   
)

Definition at line 61 of file as.h.

References check_single_string().

Here is the call graph for this function:

◆ as_string() [2/2]

template<typename T >
T Rcpp::internal::as_string ( SEXP  x,
Rcpp::traits::false_type   
)

Definition at line 66 of file as.h.

References check_single_string().

Here is the call graph for this function:

◆ as_vector__impl() [1/2]

template<int RTYPE, bool NA, typename T >
Rcpp::Vector<RTYPE> Rcpp::internal::as_vector__impl ( MatrixBase< RTYPE, NA, T > &  t,
Rcpp::traits::false_type   
)
inline

Definition at line 30 of file as_vector.h.

References Rcpp::MatrixBase< RTYPE, na, MATRIX >::get_ref().

Referenced by Rcpp::as_vector().

Here is the call graph for this function:

◆ as_vector__impl() [2/2]

template<int RTYPE, bool NA, typename T >
Rcpp::Vector<RTYPE> Rcpp::internal::as_vector__impl ( MatrixBase< RTYPE, NA, T > &  t,
Rcpp::traits::true_type   
)
inline

◆ basic_cast()

template<int RTYPE>
SEXP Rcpp::internal::basic_cast ( SEXP  x)

◆ caster< double, Rcpp::Date >()

template<>
Rcpp::Date Rcpp::internal::caster< double, Rcpp::Date > ( double  from)
inline

Definition at line 148 of file Date.h.

◆ caster< double, Rcpp::Datetime >()

template<>
Rcpp::Datetime Rcpp::internal::caster< double, Rcpp::Datetime > ( double  from)
inline

Definition at line 131 of file Datetime.h.

◆ caster< Rcpp::Date, double >()

template<>
double Rcpp::internal::caster< Rcpp::Date, double > ( Rcpp::Date  from)
inline

Definition at line 145 of file Date.h.

◆ caster< Rcpp::Datetime, double >()

template<>
double Rcpp::internal::caster< Rcpp::Datetime, double > ( Rcpp::Datetime  from)
inline

Definition at line 128 of file Datetime.h.

◆ check_single_string()

const char* Rcpp::internal::check_single_string ( SEXP  x)
inline

Definition at line 47 of file as.h.

Referenced by Rcpp::as< char >(), and as_string().

◆ complex__acos()

Rcomplex Rcpp::internal::complex__acos ( Rcomplex  z)
inline

Definition at line 154 of file complex.h.

References complex__asin().

Referenced by complex__acosh().

Here is the call graph for this function:

◆ complex__acosh()

Rcomplex Rcpp::internal::complex__acosh ( Rcomplex  z)
inline

Definition at line 187 of file complex.h.

References complex__acos().

Here is the call graph for this function:

◆ complex__Arg()

double Rcpp::internal::complex__Arg ( Rcomplex  x)
inline

Definition at line 71 of file complex.h.

◆ complex__asin()

Rcomplex Rcpp::internal::complex__asin ( Rcomplex  z)
inline

Definition at line 138 of file complex.h.

References Rcpp::algorithm::log(), RCPP_HYPOT, and Rcpp::algorithm::sqrt().

Referenced by complex__acos(), and complex__asinh().

Here is the call graph for this function:

◆ complex__asinh()

Rcomplex Rcpp::internal::complex__asinh ( Rcomplex  z)
inline

Definition at line 194 of file complex.h.

References complex__asin().

Here is the call graph for this function:

◆ complex__atan()

Rcomplex Rcpp::internal::complex__atan ( Rcomplex  z)
inline

Definition at line 170 of file complex.h.

References Rcpp::algorithm::log().

Referenced by complex__atanh().

Here is the call graph for this function:

◆ complex__atanh()

Rcomplex Rcpp::internal::complex__atanh ( Rcomplex  z)
inline

Definition at line 204 of file complex.h.

References complex__atan().

Here is the call graph for this function:

◆ complex__Conj()

Rcomplex Rcpp::internal::complex__Conj ( Rcomplex  x)
inline

Definition at line 65 of file complex.h.

◆ complex__cos()

Rcomplex Rcpp::internal::complex__cos ( Rcomplex  z)
inline

Definition at line 104 of file complex.h.

◆ complex__cosh()

Rcomplex Rcpp::internal::complex__cosh ( Rcomplex  z)
inline

Definition at line 110 of file complex.h.

◆ complex__exp()

Rcomplex Rcpp::internal::complex__exp ( Rcomplex  x)
inline

Definition at line 73 of file complex.h.

References Rcpp::algorithm::exp().

Here is the call graph for this function:

◆ complex__Im()

double Rcpp::internal::complex__Im ( Rcomplex  x)
inline

Definition at line 63 of file complex.h.

◆ complex__log()

Rcomplex Rcpp::internal::complex__log ( Rcomplex  x)
inline

Definition at line 80 of file complex.h.

References Rcpp::algorithm::log(), and RCPP_HYPOT.

Here is the call graph for this function:

◆ complex__Mod()

double Rcpp::internal::complex__Mod ( Rcomplex  x)
inline

Definition at line 64 of file complex.h.

References Rcpp::algorithm::sqrt().

Here is the call graph for this function:

◆ complex__Re()

double Rcpp::internal::complex__Re ( Rcomplex  x)
inline

Definition at line 62 of file complex.h.

◆ complex__sin()

Rcomplex Rcpp::internal::complex__sin ( Rcomplex  z)
inline

Definition at line 116 of file complex.h.

Referenced by complex__sinh().

◆ complex__sinh()

Rcomplex Rcpp::internal::complex__sinh ( Rcomplex  z)
inline

Definition at line 213 of file complex.h.

References complex__sin().

Here is the call graph for this function:

◆ complex__sqrt()

Rcomplex Rcpp::internal::complex__sqrt ( Rcomplex  z)
inline

Definition at line 86 of file complex.h.

References RCPP_HYPOT, and Rcpp::algorithm::sqrt().

Here is the call graph for this function:

◆ complex__tan()

Rcomplex Rcpp::internal::complex__tan ( Rcomplex  z)
inline

Definition at line 122 of file complex.h.

Referenced by complex__tanh().

◆ complex__tanh()

Rcomplex Rcpp::internal::complex__tanh ( Rcomplex  z)
inline

Definition at line 224 of file complex.h.

References complex__tan().

Here is the call graph for this function:

◆ convert_using_rfunction()

SEXP Rcpp::internal::convert_using_rfunction ( SEXP  x,
const char *const  fun 
)
inline

◆ empty_data_frame()

SEXP Rcpp::internal::empty_data_frame ( )
inline

Definition at line 28 of file DataFrame.h.

References R::df().

Here is the call graph for this function:

◆ enterRNGScope()

unsigned long Rcpp::internal::enterRNGScope ( )
inline

Definition at line 77 of file routines.h.

References GET_CALLABLE.

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

◆ exitRNGScope()

unsigned long Rcpp::internal::exitRNGScope ( )
inline

Definition at line 83 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions(), and Rcpp::RNGScope::~RNGScope().

◆ export_range__dispatch()

template<typename InputIterator , typename value_type >
void Rcpp::internal::export_range__dispatch ( SEXP  x,
InputIterator  first,
::Rcpp::traits::r_type_generic_tag   
)

Definition at line 29 of file export.h.

◆ factorial()

double Rcpp::internal::factorial ( double  x)
inline

Definition at line 55 of file math.h.

Referenced by lfactorial().

◆ get_column() [1/2]

int Rcpp::internal::get_column ( int  index,
int  nr 
)
inline

Definition at line 32 of file tools.h.

References get_line().

Referenced by Rcpp::MatrixBase< RTYPE, na, MATRIX >::iterator::update_index().

Here is the call graph for this function:

◆ get_column() [2/2]

int Rcpp::internal::get_column ( int  index,
int  nr,
int  i 
)
inline

Definition at line 37 of file tools.h.

◆ get_converter_name()

template<typename FROM , typename TO >
std::string Rcpp::internal::get_converter_name ( const char *  from,
const char *  to 
)

Definition at line 32 of file Module.h.

◆ get_line()

int Rcpp::internal::get_line ( int  index,
int  nr 
)
inline

◆ get_Rcpp_namespace()

SEXP Rcpp::internal::get_Rcpp_namespace ( )
inline

Definition at line 95 of file routines.h.

References GET_CALLABLE.

Referenced by get_rcpp_cache(), Rcpp::Rcpp_namespace(), and registerFunctions().

◆ get_string_buffer()

char * Rcpp::internal::get_string_buffer ( )
inline

Definition at line 89 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().

◆ getPosixClasses()

SEXP Rcpp::internal::getPosixClasses ( )
inline

Definition at line 181 of file Date.h.

Referenced by new_posixt_object(), and Rcpp::wrap_extra_steps< Rcpp::Datetime >().

◆ grow__dispatch() [1/2]

template<typename T >
SEXP Rcpp::internal::grow__dispatch ( ::Rcpp::traits::false_type  ,
const T &  head,
SEXP  tail 
)
inline

Definition at line 43 of file grow.h.

References Rcpp::grow(), and Rcpp::wrap().

Referenced by Rcpp::grow().

Here is the call graph for this function:

◆ grow__dispatch() [2/2]

template<typename T >
SEXP Rcpp::internal::grow__dispatch ( ::Rcpp::traits::true_type  ,
const T &  head,
SEXP  tail 
)
inline

Definition at line 48 of file grow.h.

References Rcpp::wrap().

Here is the call graph for this function:

◆ interruptedError()

SEXP Rcpp::internal::interruptedError ( )
inline

Definition at line 40 of file Interrupt.h.

◆ is__dispatch() [1/2]

template<typename T >
bool Rcpp::internal::is__dispatch ( SEXP  x,
Rcpp::traits::false_type   
)
inline

Definition at line 38 of file is.h.

◆ is__dispatch() [2/2]

template<typename T >
bool Rcpp::internal::is__dispatch ( SEXP  x,
Rcpp::traits::true_type   
)
inline

Definition at line 43 of file is.h.

◆ is__module__object()

template<typename T >
bool Rcpp::internal::is__module__object ( SEXP  x)

Definition at line 158 of file is.h.

References is__simple< S4 >(), and is_module_object_internal().

Here is the call graph for this function:

◆ is__simple()

template<typename T >
bool Rcpp::internal::is__simple ( SEXP  x)

◆ is__simple< bool >()

template<>
bool Rcpp::internal::is__simple< bool > ( SEXP  x)
inline

Definition at line 39 of file is.h.

References is_atomic().

Here is the call graph for this function:

◆ is__simple< CharacterMatrix >()

template<>
bool Rcpp::internal::is__simple< CharacterMatrix > ( SEXP  x)
inline

Definition at line 54 of file is.h.

References is_matrix().

Here is the call graph for this function:

◆ is__simple< CharacterVector >()

template<>
bool Rcpp::internal::is__simple< CharacterVector > ( SEXP  x)
inline

Definition at line 51 of file is.h.

◆ is__simple< ComplexMatrix >()

template<>
bool Rcpp::internal::is__simple< ComplexMatrix > ( SEXP  x)
inline

Definition at line 87 of file is.h.

References is_matrix().

Here is the call graph for this function:

◆ is__simple< ComplexVector >()

template<>
bool Rcpp::internal::is__simple< ComplexVector > ( SEXP  x)
inline

Definition at line 63 of file is.h.

◆ is__simple< DataFrame >()

template<>
bool Rcpp::internal::is__simple< DataFrame > ( SEXP  x)
inline

Definition at line 104 of file is.h.

◆ is__simple< Date >()

template<>
bool Rcpp::internal::is__simple< Date > ( SEXP  x)
inline

Definition at line 138 of file is.h.

References is_atomic().

Here is the call graph for this function:

◆ is__simple< Datetime >()

template<>
bool Rcpp::internal::is__simple< Datetime > ( SEXP  x)
inline

Definition at line 141 of file is.h.

References is_atomic().

Here is the call graph for this function:

◆ is__simple< DatetimeVector >()

template<>
bool Rcpp::internal::is__simple< DatetimeVector > ( SEXP  x)
inline

Definition at line 147 of file is.h.

◆ is__simple< DateVector >()

template<>
bool Rcpp::internal::is__simple< DateVector > ( SEXP  x)
inline

Definition at line 144 of file is.h.

◆ is__simple< DottedPair >()

template<>
bool Rcpp::internal::is__simple< DottedPair > ( SEXP  x)
inline

Definition at line 78 of file is.h.

◆ is__simple< double >()

template<>
bool Rcpp::internal::is__simple< double > ( SEXP  x)
inline

Definition at line 36 of file is.h.

References is_atomic().

Here is the call graph for this function:

◆ is__simple< Environment >()

template<>
bool Rcpp::internal::is__simple< Environment > ( SEXP  x)
inline

Definition at line 130 of file is.h.

◆ is__simple< Formula >()

template<>
bool Rcpp::internal::is__simple< Formula > ( SEXP  x)
inline

Definition at line 133 of file is.h.

◆ is__simple< Function >()

template<>
bool Rcpp::internal::is__simple< Function > ( SEXP  x)
inline

Definition at line 127 of file is.h.

◆ is__simple< GenericMatrix >()

template<>
bool Rcpp::internal::is__simple< GenericMatrix > ( SEXP  x)
inline

Definition at line 99 of file is.h.

References is_matrix().

Here is the call graph for this function:

◆ is__simple< int >()

template<>
bool Rcpp::internal::is__simple< int > ( SEXP  x)
inline

Definition at line 33 of file is.h.

References is_atomic().

Here is the call graph for this function:

◆ is__simple< IntegerMatrix >()

template<>
bool Rcpp::internal::is__simple< IntegerMatrix > ( SEXP  x)
inline

Definition at line 84 of file is.h.

References is_matrix().

Here is the call graph for this function:

◆ is__simple< IntegerVector >()

template<>
bool Rcpp::internal::is__simple< IntegerVector > ( SEXP  x)
inline

Definition at line 60 of file is.h.

◆ is__simple< Language >()

template<>
bool Rcpp::internal::is__simple< Language > ( SEXP  x)
inline

Definition at line 75 of file is.h.

◆ is__simple< List >()

template<>
bool Rcpp::internal::is__simple< List > ( SEXP  x)
inline

Definition at line 81 of file is.h.

◆ is__simple< LogicalMatrix >()

template<>
bool Rcpp::internal::is__simple< LogicalMatrix > ( SEXP  x)
inline

Definition at line 96 of file is.h.

References is_matrix().

Here is the call graph for this function:

◆ is__simple< LogicalVector >()

template<>
bool Rcpp::internal::is__simple< LogicalVector > ( SEXP  x)
inline

Definition at line 72 of file is.h.

◆ is__simple< NumericMatrix >()

template<>
bool Rcpp::internal::is__simple< NumericMatrix > ( SEXP  x)
inline

Definition at line 93 of file is.h.

References is_matrix().

Here is the call graph for this function:

◆ is__simple< NumericVector >()

template<>
bool Rcpp::internal::is__simple< NumericVector > ( SEXP  x)
inline

Definition at line 69 of file is.h.

◆ is__simple< Pairlist >()

template<>
bool Rcpp::internal::is__simple< Pairlist > ( SEXP  x)
inline

Definition at line 124 of file is.h.

◆ is__simple< Promise >()

template<>
bool Rcpp::internal::is__simple< Promise > ( SEXP  x)
inline

Definition at line 121 of file is.h.

◆ is__simple< RawMatrix >()

template<>
bool Rcpp::internal::is__simple< RawMatrix > ( SEXP  x)
inline

Definition at line 90 of file is.h.

References is_matrix().

Here is the call graph for this function:

◆ is__simple< RawVector >()

template<>
bool Rcpp::internal::is__simple< RawVector > ( SEXP  x)
inline

Definition at line 66 of file is.h.

◆ is__simple< Rcomplex >()

template<>
bool Rcpp::internal::is__simple< Rcomplex > ( SEXP  x)
inline

Definition at line 48 of file is.h.

References is_atomic().

Here is the call graph for this function:

◆ is__simple< Reference >()

template<>
bool Rcpp::internal::is__simple< Reference > ( SEXP  x)
inline

Definition at line 117 of file is.h.

◆ is__simple< RObject >()

template<>
bool Rcpp::internal::is__simple< RObject > ( SEXP  )
inline

Definition at line 57 of file is.h.

◆ is__simple< S4 >()

template<>
bool Rcpp::internal::is__simple< S4 > ( SEXP  x)
inline

Definition at line 114 of file is.h.

Referenced by is__module__object().

◆ is__simple< std::string >()

template<>
bool Rcpp::internal::is__simple< std::string > ( SEXP  x)
inline

Definition at line 42 of file is.h.

References is_atomic().

Here is the call graph for this function:

◆ is__simple< String >()

template<>
bool Rcpp::internal::is__simple< String > ( SEXP  x)
inline

Definition at line 45 of file is.h.

References is_atomic().

Here is the call graph for this function:

◆ is__simple< Symbol >()

template<>
bool Rcpp::internal::is__simple< Symbol > ( SEXP  x)
inline

Definition at line 111 of file is.h.

◆ is__simple< WeakReference >()

template<>
bool Rcpp::internal::is__simple< WeakReference > ( SEXP  x)
inline

Definition at line 108 of file is.h.

◆ is_atomic()

◆ is_matrix()

◆ is_module_object_internal()

bool Rcpp::internal::is_module_object_internal ( SEXP  obj,
const char *  clazz 
)
inline

Definition at line 151 of file is.h.

Referenced by is__module__object().

◆ is_Rcpp_eval_call()

bool Rcpp::internal::is_Rcpp_eval_call ( SEXP  expr)
inline

Definition at line 185 of file exceptions.h.

References nth().

Referenced by get_last_call().

Here is the call graph for this function:

◆ lfactorial()

double Rcpp::internal::lfactorial ( double  x)
inline

Definition at line 56 of file math.h.

References R::beta(), R::choose(), factorial(), R::lbeta(), R::lchoose(), R::psigamma(), SUGAR_BLOCK_2, and VECTORIZED_MATH_1().

Here is the call graph for this function:

◆ make_charsexp< Rcpp::String >()

template<>
SEXP Rcpp::internal::make_charsexp< Rcpp::String > ( const Rcpp::String s)
inline

Definition at line 499 of file String.h.

◆ make_new_object()

template<typename Class >
SEXP Rcpp::internal::make_new_object ( Class *  ptr)

Definition at line 77 of file Module.h.

References Rcpp::Rcpp_namespace().

Here is the call graph for this function:

◆ new_date_object()

SEXP Rcpp::internal::new_date_object ( double  d)
inline

Definition at line 194 of file Date.h.

Referenced by Rcpp::wrap().

◆ new_posixt_object()

SEXP Rcpp::internal::new_posixt_object ( double  d)
inline

Definition at line 188 of file Date.h.

References getPosixClasses().

Referenced by Rcpp::wrap< Datetime >().

Here is the call graph for this function:

◆ nth()

SEXP Rcpp::internal::nth ( SEXP  s,
int  n 
)
inline

Definition at line 178 of file exceptions.h.

Referenced by is_Rcpp_eval_call().

◆ operator+() [1/2]

std::string Rcpp::internal::operator+ ( const std::string &  x,
const const_string_proxy< STRSXP > &  y 
)
inline

Definition at line 165 of file const_string_proxy.h.

◆ operator+() [2/2]

std::string Rcpp::internal::operator+ ( const std::string &  x,
const string_proxy< STRSXP > &  y 
)
inline

Definition at line 248 of file string_proxy.h.

◆ operator<() [1/2]

template<int RT>
bool Rcpp::internal::operator< ( const const_string_proxy< RT > &  lhs,
const const_string_proxy< RT > &  rhs 
)

Definition at line 127 of file const_string_proxy.h.

◆ operator<() [2/2]

template<int RT>
bool Rcpp::internal::operator< ( const string_proxy< RT > &  lhs,
const string_proxy< RT > &  rhs 
)

Definition at line 210 of file string_proxy.h.

◆ operator<<() [1/2]

std::ostream& Rcpp::internal::operator<< ( std::ostream &  os,
const const_string_proxy< STRSXP > &  proxy 
)
inline

Definition at line 160 of file const_string_proxy.h.

◆ operator<<() [2/2]

std::ostream& Rcpp::internal::operator<< ( std::ostream &  os,
const string_proxy< STRSXP > &  proxy 
)
inline

Definition at line 243 of file string_proxy.h.

◆ operator<=() [1/2]

template<int RT>
bool Rcpp::internal::operator<= ( const const_string_proxy< RT > &  lhs,
const const_string_proxy< RT > &  rhs 
)

Definition at line 151 of file const_string_proxy.h.

◆ operator<=() [2/2]

template<int RT>
bool Rcpp::internal::operator<= ( const string_proxy< RT > &  lhs,
const string_proxy< RT > &  rhs 
)

Definition at line 234 of file string_proxy.h.

◆ operator>() [1/2]

template<int RT>
bool Rcpp::internal::operator> ( const const_string_proxy< RT > &  lhs,
const const_string_proxy< RT > &  rhs 
)

Definition at line 135 of file const_string_proxy.h.

◆ operator>() [2/2]

template<int RT>
bool Rcpp::internal::operator> ( const string_proxy< RT > &  lhs,
const string_proxy< RT > &  rhs 
)

Definition at line 218 of file string_proxy.h.

◆ operator>=() [1/2]

template<int RT>
bool Rcpp::internal::operator>= ( const const_string_proxy< RT > &  lhs,
const const_string_proxy< RT > &  rhs 
)

Definition at line 143 of file const_string_proxy.h.

◆ operator>=() [2/2]

template<int RT>
bool Rcpp::internal::operator>= ( const string_proxy< RT > &  lhs,
const string_proxy< RT > &  rhs 
)

Definition at line 226 of file string_proxy.h.

◆ primitive_as()

template<typename T >
T Rcpp::internal::primitive_as ( SEXP  x)

Definition at line 31 of file as.h.

◆ r_true_cast()

template<int TARGET>
SEXP Rcpp::internal::r_true_cast ( SEXP  x)

Definition at line 45 of file r_cast.h.

Referenced by Rcpp::r_cast().

◆ r_true_cast< CPLXSXP >()

template<>
SEXP Rcpp::internal::r_true_cast< CPLXSXP > ( SEXP  x)
inline

Definition at line 90 of file r_cast.h.

References basic_cast().

Here is the call graph for this function:

◆ r_true_cast< EXPRSXP >()

template<>
SEXP Rcpp::internal::r_true_cast< EXPRSXP > ( SEXP  x)
inline

Definition at line 128 of file r_cast.h.

References convert_using_rfunction().

Here is the call graph for this function:

◆ r_true_cast< INTSXP >()

template<>
SEXP Rcpp::internal::r_true_cast< INTSXP > ( SEXP  x)
inline

Definition at line 78 of file r_cast.h.

References basic_cast().

Here is the call graph for this function:

◆ r_true_cast< LANGSXP >()

template<>
SEXP Rcpp::internal::r_true_cast< LANGSXP > ( SEXP  x)
inline

Definition at line 145 of file r_cast.h.

References convert_using_rfunction().

Here is the call graph for this function:

◆ r_true_cast< LGLSXP >()

template<>
SEXP Rcpp::internal::r_true_cast< LGLSXP > ( SEXP  x)
inline

Definition at line 94 of file r_cast.h.

References basic_cast().

Here is the call graph for this function:

◆ r_true_cast< LISTSXP >()

template<>
SEXP Rcpp::internal::r_true_cast< LISTSXP > ( SEXP  x)
inline

Definition at line 132 of file r_cast.h.

References convert_using_rfunction().

Here is the call graph for this function:

◆ r_true_cast< RAWSXP >()

template<>
SEXP Rcpp::internal::r_true_cast< RAWSXP > ( SEXP  x)
inline

Definition at line 86 of file r_cast.h.

References basic_cast().

Here is the call graph for this function:

◆ r_true_cast< REALSXP >()

template<>
SEXP Rcpp::internal::r_true_cast< REALSXP > ( SEXP  x)
inline

Definition at line 82 of file r_cast.h.

References basic_cast().

Here is the call graph for this function:

◆ r_true_cast< STRSXP >()

template<>
SEXP Rcpp::internal::r_true_cast< STRSXP > ( SEXP  x)
inline

Definition at line 99 of file r_cast.h.

References Rcpp::Rcpp_eval().

Here is the call graph for this function:

◆ r_true_cast< VECSXP >()

template<>
SEXP Rcpp::internal::r_true_cast< VECSXP > ( SEXP  x)
inline

Definition at line 124 of file r_cast.h.

References convert_using_rfunction().

Here is the call graph for this function:

◆ range_wrap_dispatch___impl__pair() [1/2]

template<typename InputIterator , typename KEY , typename VALUE , int RTYPE>
SEXP Rcpp::internal::range_wrap_dispatch___impl__pair ( InputIterator  first,
InputIterator  last,
Rcpp::traits::true_type   
)
inline

Definition at line 29 of file wrap.h.

References Rcpp::AttributeProxyPolicy< CLASS >::attr(), DEMANGLE, and RCPP_DEBUG_3.

Here is the call graph for this function:

◆ range_wrap_dispatch___impl__pair() [2/2]

template<typename InputIterator , typename KEY , typename VALUE , int RTYPE>
SEXP Rcpp::internal::range_wrap_dispatch___impl__pair ( InputIterator  first,
InputIterator  last,
Rcpp::traits::false_type   
)
inline

Definition at line 47 of file wrap.h.

References Rcpp::String::get_sexp(), and Rcpp::wrap().

Here is the call graph for this function:

◆ vector_from_string()

template<int RTYPE>
SEXP Rcpp::internal::vector_from_string ( const std::string &  st)
inline

Definition at line 29 of file vector_from_string.h.

References Rcpp::r_cast().

Here is the call graph for this function:

◆ vector_from_string< EXPRSXP >()

template<>
SEXP Rcpp::internal::vector_from_string< EXPRSXP > ( const std::string &  st)
inline

Definition at line 50 of file vector_from_string.h.

◆ vector_from_string_expr()

template<int RTYPE>
SEXP Rcpp::internal::vector_from_string_expr ( const std::string &  code)

Definition at line 35 of file vector_from_string.h.

◆ wrap_range_sugar_expression()

template<typename T >
SEXP Rcpp::internal::wrap_range_sugar_expression ( const T &  object,
Rcpp::traits::true_type   
)
inline

Definition at line 30 of file Vector.h.

References DEMANGLE, and RCPP_DEBUG_1.