Rcpp Version 0.12.12
Rcpp::traits Namespace Reference

traits used to dispatch wrap More...

Classes

struct  __sfinae_types
 
class  _has_iterator_helper
 
class  _has_matrix_interface_helper
 
class  _has_rtype_helper
 
class  _is_eigen_helper
 
class  _is_exporter_helper
 
class  _is_generator_helper
 
class  _is_importer_helper
 
class  _is_sugar_expression_helper
 
struct  allowed_matrix_type
 
struct  allowed_matrix_type< true >
 
struct  both
 
struct  char_type
 
struct  char_type< const char * >
 
struct  char_type< const wchar_t * >
 
struct  container_exporter< Container, double >
 
struct  container_exporter< Container, int >
 
class  ContainerExporter
 
struct  enable_if
 
struct  enable_if< true, T >
 
struct  expands_to_logical
 
struct  expands_to_logical__impl
 
struct  expands_to_logical__impl< LGLSXP >
 
struct  Extractor
 
struct  has_iterator
 
struct  has_na
 
struct  has_na< CPLXSXP >
 
struct  has_na< INTSXP >
 
struct  has_na< LGLSXP >
 
struct  has_na< REALSXP >
 
struct  has_na< STRSXP >
 
struct  identity
 
struct  if_
 
struct  if_< false, LHS, RHS >
 
struct  init_type
 
struct  init_type< LGLSXP >
 
struct  init_type< STRSXP >
 
struct  input_parameter
 
struct  input_parameter< const T & >
 
struct  input_parameter< const T >
 
struct  input_parameter< T & >
 
struct  int2type
 
struct  integral_constant
 
struct  is_arithmetic
 
struct  is_arithmetic< const double >
 
struct  is_arithmetic< const float >
 
struct  is_arithmetic< const int >
 
struct  is_arithmetic< const long >
 
struct  is_arithmetic< const long double >
 
struct  is_arithmetic< const short >
 
struct  is_arithmetic< const unsigned int >
 
struct  is_arithmetic< const unsigned long >
 
struct  is_arithmetic< const unsigned short >
 
struct  is_arithmetic< double >
 
struct  is_arithmetic< float >
 
struct  is_arithmetic< int >
 
struct  is_arithmetic< long >
 
struct  is_arithmetic< long double >
 
struct  is_arithmetic< short >
 
struct  is_arithmetic< unsigned int >
 
struct  is_arithmetic< unsigned long >
 
struct  is_arithmetic< unsigned short >
 
struct  is_bool
 
struct  is_bool< bool >
 
struct  is_bool< const bool >
 
struct  is_bool< volatile bool >
 
struct  is_const
 type properties [4.5.3]. More...
 
struct  is_const< _Tp const >
 
class  is_convertible
 
struct  is_eigen_base
 
struct  is_exporter
 
struct  is_generator
 
struct  is_importer
 
struct  is_module_object
 
struct  is_named
 
struct  is_named< named_object< T > >
 
struct  is_named< Rcpp::Argument >
 
struct  is_pointer
 
struct  is_pointer< T * >
 
struct  is_primitive
 
struct  is_reference
 
struct  is_reference< _Tp & >
 
struct  is_sugar_expression
 
struct  is_trivial
 
struct  is_trivial< EXPRSXP >
 
struct  is_trivial< VECSXP >
 
struct  is_wide_string
 
struct  is_wide_string< char >
 
struct  is_wide_string< const char * >
 
struct  is_wide_string< const wchar_t * >
 
struct  is_wide_string< wchar_t >
 
struct  matrix_interface
 
struct  module_wrap_traits
 
struct  module_wrap_traits< T * >
 
struct  module_wrap_traits< void >
 
class  named_object
 
class  named_object< SEXP >
 
struct  needs_protection
 
struct  needs_protection< SEXP >
 
struct  normal_wrap_tag
 
struct  num2type
 
class  one_type
 
struct  pointer_wrap_tag
 
struct  proxy_based_const_iterator
 
struct  proxy_based_iterator
 
class  proxy_cache
 
struct  r_sexptype_needscast
 
struct  r_sexptype_needscast< double >
 
struct  r_sexptype_needscast< int >
 
struct  r_sexptype_needscast< Rbyte >
 
struct  r_sexptype_needscast< Rcomplex >
 
struct  r_sexptype_traits
 
struct  r_sexptype_traits< bool >
 
struct  r_sexptype_traits< const double >
 
struct  r_sexptype_traits< const int >
 
struct  r_sexptype_traits< double >
 
struct  r_sexptype_traits< float >
 
struct  r_sexptype_traits< int >
 
struct  r_sexptype_traits< long >
 
struct  r_sexptype_traits< long double >
 
struct  r_sexptype_traits< Rbyte >
 
struct  r_sexptype_traits< Rcomplex >
 
struct  r_sexptype_traits< Rcpp::Date >
 
struct  r_sexptype_traits< Rcpp::Datetime >
 
struct  r_sexptype_traits< Rcpp::String >
 
struct  r_sexptype_traits< short >
 
struct  r_sexptype_traits< std::complex< double > >
 
struct  r_sexptype_traits< std::complex< float > >
 
struct  r_sexptype_traits< std::string >
 
struct  r_sexptype_traits< unsigned int >
 
struct  r_sexptype_traits< unsigned long >
 
struct  r_sexptype_traits< unsigned short >
 
struct  r_type_enum_tag
 
struct  r_type_generic_tag
 
struct  r_type_module_object_const_pointer_tag
 
struct  r_type_module_object_const_reference_tag
 
struct  r_type_module_object_pointer_tag
 
struct  r_type_module_object_reference_tag
 
struct  r_type_module_object_tag
 
struct  r_type_pair_tag
 
struct  r_type_pairstring_generic_tag
 
struct  r_type_pairstring_primitive_tag
 
struct  r_type_pairstring_string_tag
 
struct  r_type_primitive_tag
 
struct  r_type_RcppString_tag
 
struct  r_type_string_tag
 
struct  r_type_traits
 
struct  r_type_traits< bool >
 
struct  r_type_traits< char >
 
struct  r_type_traits< const char * >
 
struct  r_type_traits< const double >
 
struct  r_type_traits< const int >
 
struct  r_type_traits< const wchar_t * >
 
struct  r_type_traits< double >
 
struct  r_type_traits< float >
 
struct  r_type_traits< int >
 
struct  r_type_traits< long >
 
struct  r_type_traits< long double >
 
struct  r_type_traits< Rbyte >
 
struct  r_type_traits< Rcomplex >
 
struct  r_type_traits< Rcpp::Date >
 
struct  r_type_traits< Rcpp::Datetime >
 
struct  r_type_traits< Rcpp::object< T > >
 
struct  r_type_traits< Rcpp::String >
 
struct  r_type_traits< short >
 
struct  r_type_traits< std::complex< double > >
 
struct  r_type_traits< std::complex< float > >
 
struct  r_type_traits< std::pair< const KEY, VALUE > >
 
struct  r_type_traits< std::pair< const std::string, bool > >
 
struct  r_type_traits< std::pair< const std::string, char > >
 
struct  r_type_traits< std::pair< const std::string, const int > >
 
struct  r_type_traits< std::pair< const std::string, double > >
 
struct  r_type_traits< std::pair< const std::string, float > >
 
struct  r_type_traits< std::pair< const std::string, int > >
 
struct  r_type_traits< std::pair< const std::string, long > >
 
struct  r_type_traits< std::pair< const std::string, long double > >
 
struct  r_type_traits< std::pair< const std::string, Rbyte > >
 
struct  r_type_traits< std::pair< const std::string, Rcomplex > >
 
struct  r_type_traits< std::pair< const std::string, Rcpp::Date > >
 
struct  r_type_traits< std::pair< const std::string, Rcpp::Datetime > >
 
struct  r_type_traits< std::pair< const std::string, short > >
 
struct  r_type_traits< std::pair< const std::string, std::complex< double > > >
 
struct  r_type_traits< std::pair< const std::string, std::complex< float > > >
 
struct  r_type_traits< std::pair< const std::string, std::string > >
 
struct  r_type_traits< std::pair< const std::string, std::wstring > >
 
struct  r_type_traits< std::pair< const std::string, T > >
 
struct  r_type_traits< std::pair< const std::string, unsigned int > >
 
struct  r_type_traits< std::pair< const std::string, unsigned long > >
 
struct  r_type_traits< std::pair< const std::string, unsigned short > >
 
struct  r_type_traits< std::pair< const std::string, wchar_t > >
 
struct  r_type_traits< std::string >
 
struct  r_type_traits< std::wstring >
 
struct  r_type_traits< unsigned int >
 
struct  r_type_traits< unsigned long >
 
struct  r_type_traits< unsigned short >
 
struct  r_type_traits< wchar_t >
 
class  r_vector_cache
 
struct  r_vector_cache_type
 
struct  r_vector_cache_type< EXPRSXP, StoragePolicy >
 
struct  r_vector_cache_type< STRSXP, StoragePolicy >
 
struct  r_vector_cache_type< VECSXP, StoragePolicy >
 
struct  r_vector_const_iterator
 
struct  r_vector_const_iterator< EXPRSXP >
 
struct  r_vector_const_iterator< STRSXP >
 
struct  r_vector_const_iterator< VECSXP >
 
struct  r_vector_const_proxy
 
struct  r_vector_const_proxy< EXPRSXP >
 
struct  r_vector_const_proxy< STRSXP >
 
struct  r_vector_const_proxy< VECSXP >
 
struct  r_vector_element_converter
 
struct  r_vector_element_converter< EXPRSXP >
 
struct  r_vector_element_converter< STRSXP >
 
struct  r_vector_element_converter< VECSXP >
 
struct  r_vector_iterator
 
struct  r_vector_iterator< EXPRSXP >
 
struct  r_vector_iterator< STRSXP >
 
struct  r_vector_iterator< VECSXP >
 
struct  r_vector_name_proxy
 
struct  r_vector_name_proxy< EXPRSXP >
 
struct  r_vector_name_proxy< STRSXP >
 
struct  r_vector_name_proxy< VECSXP >
 
struct  r_vector_proxy
 
struct  r_vector_proxy< EXPRSXP >
 
struct  r_vector_proxy< STRSXP >
 
struct  r_vector_proxy< VECSXP >
 
struct  remove_const
 const-volatile modifications [4.7.1]. More...
 
struct  remove_const< _Tp const >
 
struct  remove_const_and_reference
 
struct  remove_reference
 reference modifications [4.7.2]. More...
 
struct  remove_reference< _Tp & >
 
struct  result_of
 
struct  result_of< RESULT_TYPE(*)(INPUT_TYPE) >
 
struct  result_of< RESULT_TYPE(*)(U1, U2) >
 
struct  result_of< RESULT_TYPE(*)(U1, U2, U3) >
 
struct  same_type
 
struct  same_type< T, T >
 
struct  storage_type
 
struct  storage_type< CPLXSXP >
 
struct  storage_type< INTSXP >
 
struct  storage_type< LGLSXP >
 
struct  storage_type< RAWSXP >
 
struct  storage_type< REALSXP >
 
struct  un_pointer
 
struct  un_pointer< object< T > >
 
struct  un_pointer< T * >
 
struct  void_wrap_tag
 
struct  wrap_type_char_array
 
struct  wrap_type_enum_tag
 
struct  wrap_type_module_object_pointer_tag
 
struct  wrap_type_module_object_tag
 
struct  wrap_type_primitive_tag
 
struct  wrap_type_traits
 
struct  wrap_type_traits< bool >
 
struct  wrap_type_traits< char >
 
struct  wrap_type_traits< char[N]>
 
struct  wrap_type_traits< const char[N]>
 
struct  wrap_type_traits< const int >
 
struct  wrap_type_traits< double >
 
struct  wrap_type_traits< float >
 
struct  wrap_type_traits< int >
 
struct  wrap_type_traits< long >
 
struct  wrap_type_traits< long double >
 
struct  wrap_type_traits< Rbyte >
 
struct  wrap_type_traits< Rcomplex >
 
struct  wrap_type_traits< Rcpp::Date >
 
struct  wrap_type_traits< Rcpp::Datetime >
 
struct  wrap_type_traits< Rcpp::object< T > >
 
struct  wrap_type_traits< Rcpp::String >
 
struct  wrap_type_traits< short >
 
struct  wrap_type_traits< std::complex< double > >
 
struct  wrap_type_traits< std::complex< float > >
 
struct  wrap_type_traits< std::string >
 
struct  wrap_type_traits< std::wstring >
 
struct  wrap_type_traits< unsigned int >
 
struct  wrap_type_traits< unsigned long >
 
struct  wrap_type_traits< unsigned short >
 
struct  wrap_type_traits< wchar_t >
 
struct  wrap_type_unknown_tag
 
class  zero_type
 

Typedefs

typedef integral_constant< bool, true > true_type
 
typedef integral_constant< bool, false > false_type
 

Functions

template<int RTYPE>
storage_type< RTYPE >::type get_na ()
 
template<>
int get_na< INTSXP > ()
 
template<>
int get_na< LGLSXP > ()
 
template<>
double get_na< REALSXP > ()
 
template<>
Rcomplex get_na< CPLXSXP > ()
 
template<>
SEXP get_na< STRSXP > ()
 
template<>
SEXP get_na< VECSXP > ()
 
template<int RTYPE>
bool is_finite (typename storage_type< RTYPE >::type)
 
template<>
bool is_finite< INTSXP > (int x)
 
template<>
bool is_finite< REALSXP > (double x)
 
template<>
bool is_finite< CPLXSXP > (Rcomplex x)
 
template<>
bool is_finite< STRSXP > (SEXP)
 
template<>
bool is_finite< LGLSXP > (int x)
 
template<int RTYPE>
bool is_infinite (typename storage_type< RTYPE >::type)
 
template<>
bool is_infinite< REALSXP > (double x)
 
template<>
bool is_infinite< CPLXSXP > (Rcomplex x)
 
template<int RTYPE>
bool is_na (typename storage_type< RTYPE >::type)
 
template<>
bool is_na< INTSXP > (int x)
 
template<>
bool is_na< REALSXP > (double x)
 
template<>
bool is_na< CPLXSXP > (Rcomplex x)
 
template<>
bool is_na< STRSXP > (SEXP x)
 
template<>
bool is_na< LGLSXP > (int x)
 
template<int RTYPE>
bool is_nan (typename storage_type< RTYPE >::type)
 
template<>
bool is_nan< REALSXP > (double x)
 
template<>
bool is_nan< CPLXSXP > (Rcomplex x)
 

Detailed Description

traits used to dispatch wrap

Typedef Documentation

Definition at line 35 of file integral_constant.h.

Definition at line 34 of file integral_constant.h.

Function Documentation

template<int RTYPE>
storage_type<RTYPE>::type Rcpp::traits::get_na ( )
template<>
Rcomplex Rcpp::traits::get_na< CPLXSXP > ( )
inline

Definition at line 42 of file get_na.h.

template<>
int Rcpp::traits::get_na< INTSXP > ( )
inline

Definition at line 33 of file get_na.h.

template<>
int Rcpp::traits::get_na< LGLSXP > ( )
inline

Definition at line 36 of file get_na.h.

template<>
double Rcpp::traits::get_na< REALSXP > ( )
inline
template<>
SEXP Rcpp::traits::get_na< VECSXP > ( )
inline

Definition at line 54 of file get_na.h.

template<int RTYPE>
bool Rcpp::traits::is_finite ( typename storage_type< RTYPE >::type  )
template<>
bool Rcpp::traits::is_finite< CPLXSXP > ( Rcomplex  x)
inline

Definition at line 44 of file is_finite.h.

template<>
bool Rcpp::traits::is_finite< INTSXP > ( int  x)
inline

Definition at line 34 of file is_finite.h.

template<>
bool Rcpp::traits::is_finite< LGLSXP > ( int  x)
inline

Definition at line 54 of file is_finite.h.

template<>
bool Rcpp::traits::is_finite< REALSXP > ( double  x)
inline

Definition at line 39 of file is_finite.h.

template<>
bool Rcpp::traits::is_finite< STRSXP > ( SEXP  )
inline

Definition at line 49 of file is_finite.h.

template<int RTYPE>
bool Rcpp::traits::is_infinite ( typename storage_type< RTYPE >::type  )

Definition at line 30 of file is_infinite.h.

template<>
bool Rcpp::traits::is_infinite< CPLXSXP > ( Rcomplex  x)
inline

Definition at line 40 of file is_infinite.h.

References is_infinite< REALSXP >().

Here is the call graph for this function:

template<>
bool Rcpp::traits::is_infinite< REALSXP > ( double  x)
inline

Definition at line 35 of file is_infinite.h.

Referenced by is_infinite< CPLXSXP >().

template<int RTYPE>
bool Rcpp::traits::is_na ( typename storage_type< RTYPE >::type  )

Definition at line 31 of file is_na.h.

template<>
bool Rcpp::traits::is_na< INTSXP > ( int  x)
inline
template<>
bool Rcpp::traits::is_na< STRSXP > ( SEXP  x)
inline

Definition at line 52 of file is_na.h.

Referenced by Rcpp::trimws().

template<int RTYPE>
bool Rcpp::traits::is_nan ( typename storage_type< RTYPE >::type  )

Definition at line 30 of file is_nan.h.

template<>
bool Rcpp::traits::is_nan< CPLXSXP > ( Rcomplex  x)
inline

Definition at line 40 of file is_nan.h.

template<>
bool Rcpp::traits::is_nan< REALSXP > ( double  x)
inline

Definition at line 35 of file is_nan.h.