Rcpp Version 0.10.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
Rcpp::traits Namespace Reference

traits used to dispatch wrap More...

Classes

struct  wrap_type_traits< Rcpp::Date >
struct  r_type_traits< Rcpp::Date >
struct  r_type_traits< std::pair< const std::string, Rcpp::Date > >
struct  r_sexptype_traits< Rcpp::Date >
struct  wrap_type_traits< Rcpp::Datetime >
struct  r_type_traits< Rcpp::Datetime >
struct  r_type_traits< std::pair< const std::string, Rcpp::Datetime > >
struct  r_sexptype_traits< Rcpp::Datetime >
struct  Extractor
struct  r_type_traits< Rcpp::String >
struct  r_sexptype_traits< Rcpp::String >
struct  char_type
struct  char_type< const wchar_t * >
struct  char_type< const char * >
class  StringCompare
struct  comparator_type
struct  comparator_type< STRSXP >
struct  expands_to_logical__impl
struct  expands_to_logical__impl< LGLSXP >
class  _has_rtype_helper
struct  expands_to_logical
struct  __sfinae_types
class  _has_iterator_helper
class  _is_importer_helper
class  _is_generator_helper
class  _is_exporter_helper
struct  has_iterator
struct  is_importer
struct  is_exporter
struct  is_generator
struct  has_na
struct  has_na< INTSXP >
struct  has_na< REALSXP >
struct  has_na< CPLXSXP >
struct  has_na< STRSXP >
struct  has_na< LGLSXP >
struct  if_
struct  if_< false, LHS, RHS >
struct  init_type
struct  init_type< STRSXP >
struct  init_type< LGLSXP >
struct  integral_constant
struct  both
struct  is_const
 type properties [4.5.3]. More...
struct  is_const< _Tp const >
class  is_convertible
class  _is_eigen_helper
struct  is_eigen_base
struct  is_pointer
struct  is_pointer< T * >
struct  is_reference
struct  is_reference< _Tp & >
class  _is_sugar_expression_helper
struct  is_sugar_expression
struct  is_trivial
struct  is_trivial< VECSXP >
struct  is_trivial< EXPRSXP >
struct  is_wide_string
struct  is_wide_string< const wchar_t * >
struct  is_wide_string< const char * >
struct  is_wide_string< wchar_t >
struct  is_wide_string< char >
class  _has_matrix_interface_helper
struct  matrix_interface
struct  normal_wrap_tag
struct  void_wrap_tag
struct  pointer_wrap_tag
struct  module_wrap_traits
struct  module_wrap_traits< void >
struct  module_wrap_traits< T * >
struct  needs_protection
struct  needs_protection< SEXP >
class  named_object
class  named_object< SEXP >
struct  is_named
struct  is_named< named_object< T > >
struct  is_named< Rcpp::Argument >
struct  r_sexptype_traits
struct  r_sexptype_traits< int >
struct  r_sexptype_traits< const int >
struct  r_sexptype_traits< double >
struct  r_sexptype_traits< bool >
struct  r_sexptype_traits< std::string >
struct  r_sexptype_traits< Rcomplex >
struct  r_sexptype_traits< Rbyte >
struct  r_sexptype_traits< unsigned int >
struct  r_sexptype_traits< float >
struct  r_sexptype_traits< long >
struct  r_sexptype_traits< unsigned long >
struct  r_sexptype_traits< long double >
struct  r_sexptype_traits< short >
struct  r_sexptype_traits< unsigned short >
struct  r_sexptype_traits< std::complex< double > >
struct  r_sexptype_traits< std::complex< float > >
struct  r_sexptype_needscast
struct  r_sexptype_needscast< int >
struct  r_sexptype_needscast< double >
struct  r_sexptype_needscast< Rcomplex >
struct  r_sexptype_needscast< Rbyte >
struct  r_type_primitive_tag
struct  r_type_string_tag
struct  r_type_generic_tag
struct  r_type_pairstring_primitive_tag
struct  r_type_pairstring_string_tag
struct  r_type_pairstring_generic_tag
struct  r_type_module_object_pointer_tag
struct  r_type_module_object_tag
struct  r_type_enum_tag
struct  r_type_RcppString_tag
struct  r_type_traits
struct  r_type_traits< Rcpp::object< T > >
struct  r_type_traits< std::pair< const std::string, T > >
struct  r_type_traits< std::pair< const std::string, int > >
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, Rbyte > >
struct  r_type_traits< std::pair< const std::string, Rcomplex > >
struct  r_type_traits< std::pair< const std::string, bool > >
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, char > >
struct  r_type_traits< std::pair< const std::string, wchar_t > >
struct  r_type_traits< std::pair< const std::string, unsigned int > >
struct  r_type_traits< std::pair< const std::string, float > >
struct  r_type_traits< int >
struct  r_type_traits< const int >
struct  r_type_traits< double >
struct  r_type_traits< Rbyte >
struct  r_type_traits< Rcomplex >
struct  r_type_traits< bool >
struct  r_type_traits< std::string >
struct  r_type_traits< std::wstring >
struct  r_type_traits< char >
struct  r_type_traits< wchar_t >
struct  r_type_traits< unsigned int >
struct  r_type_traits< float >
struct  r_type_traits< const char * >
struct  r_type_traits< const wchar_t * >
struct  r_type_traits< long >
struct  r_type_traits< std::pair< const std::string, long > >
struct  r_type_traits< unsigned long >
struct  r_type_traits< std::pair< const std::string, unsigned long > >
struct  r_type_traits< long double >
struct  r_type_traits< std::pair< const std::string, long double > >
struct  r_type_traits< short >
struct  r_type_traits< std::pair< const std::string, short > >
struct  r_type_traits< unsigned short >
struct  r_type_traits< std::pair< const std::string, unsigned short > >
struct  r_type_traits< std::complex< double > >
struct  r_type_traits< std::pair< const std::string, std::complex< double > > >
struct  r_type_traits< std::complex< float > >
struct  r_type_traits< std::pair< const std::string, std::complex< float > > >
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< INTSXP >
struct  storage_type< REALSXP >
struct  storage_type< CPLXSXP >
struct  storage_type< RAWSXP >
struct  storage_type< LGLSXP >
struct  un_pointer
struct  un_pointer< T * >
struct  wrap_type_primitive_tag
struct  wrap_type_unknown_tag
struct  wrap_type_module_object_pointer_tag
struct  wrap_type_module_object_tag
struct  wrap_type_enum_tag
struct  wrap_type_traits
struct  wrap_type_traits< int >
struct  wrap_type_traits< const int >
struct  wrap_type_traits< double >
struct  wrap_type_traits< Rbyte >
struct  wrap_type_traits< Rcomplex >
struct  wrap_type_traits< unsigned int >
struct  wrap_type_traits< bool >
struct  wrap_type_traits< std::string >
struct  wrap_type_traits< std::wstring >
struct  wrap_type_traits< Rcpp::String >
struct  wrap_type_traits< char >
struct  wrap_type_traits< wchar_t >
struct  wrap_type_traits< float >
struct  wrap_type_traits< std::complex< float > >
struct  wrap_type_traits< std::complex< double > >
struct  wrap_type_traits< long >
struct  wrap_type_traits< unsigned long >
struct  wrap_type_traits< long double >
struct  wrap_type_traits< short >
struct  wrap_type_traits< unsigned short >
struct  wrap_type_traits< Rcpp::object< T > >

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<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< RAWSXP > (Rbyte)
template<>
bool is_na< STRSXP > (SEXP x)
template<>
bool is_na< LGLSXP > (int 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.

References x.

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< STRSXP > ( )
inline

Definition at line 50 of file get_na.h.

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

Definition at line 33 of file is_na.h.

References x.

Referenced by Rcpp::sugar::SugarMath_1< NA, OUT, int, T1, FunPtr >::operator[]().

template<>
bool Rcpp::traits::is_na< RAWSXP > ( Rbyte  )
inline

Definition at line 48 of file is_na.h.

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

Definition at line 51 of file is_na.h.

References x.