Rcpp Version 0.12.12
Rcpp::sugar::cbind_impl::ScalarBindable< T > Class Template Reference

#include <cbind.h>

Inheritance diagram for Rcpp::sugar::cbind_impl::ScalarBindable< T >:
Collaboration diagram for Rcpp::sugar::cbind_impl::ScalarBindable< T >:

Public Types

enum  { RTYPE = cbind_sexptype_traits<T>::rtype }
 
typedef T stored_type
 
- Public Types inherited from Rcpp::sugar::cbind_impl::BindableExpression< cbind_sexptype_traits< T >::rtype, ScalarBindable< T > >
typedef cbind_storage_type< RTYPE >::type stored_type
 

Public Member Functions

 ScalarBindable (const T &t_)
 
R_xlen_t size () const
 
R_xlen_t nrow () const
 
R_xlen_t ncol () const
 
stored_type operator[] (R_xlen_t i) const
 
stored_type operator() (R_xlen_t i, R_xlen_t j) const
 
- Public Member Functions inherited from Rcpp::sugar::cbind_impl::BindableExpression< cbind_sexptype_traits< T >::rtype, ScalarBindable< T > >
stored_type operator[] (R_xlen_t i) const
 
stored_type operator() (R_xlen_t i, R_xlen_t j) const
 
R_xlen_t size () const
 
R_xlen_t nrow () const
 
R_xlen_t ncol () const
 
 operator ScalarBindable< T > & ()
 
 operator const ScalarBindable< T > & () const
 

Private Attributes

t
 

Detailed Description

template<typename T>
class Rcpp::sugar::cbind_impl::ScalarBindable< T >

Definition at line 135 of file cbind.h.

Member Typedef Documentation

template<typename T >
typedef T Rcpp::sugar::cbind_impl::ScalarBindable< T >::stored_type

Definition at line 139 of file cbind.h.

Member Enumeration Documentation

template<typename T >
anonymous enum
Enumerator
RTYPE 

Definition at line 140 of file cbind.h.

Constructor & Destructor Documentation

template<typename T >
Rcpp::sugar::cbind_impl::ScalarBindable< T >::ScalarBindable ( const T &  t_)
inline

Definition at line 146 of file cbind.h.

Member Function Documentation

template<typename T >
stored_type Rcpp::sugar::cbind_impl::ScalarBindable< T >::operator() ( R_xlen_t  i,
R_xlen_t  j 
) const
inline

Definition at line 158 of file cbind.h.

template<typename T >
stored_type Rcpp::sugar::cbind_impl::ScalarBindable< T >::operator[] ( R_xlen_t  i) const
inline

Definition at line 154 of file cbind.h.

Member Data Documentation

template<typename T >
T Rcpp::sugar::cbind_impl::ScalarBindable< T >::t
private

Definition at line 143 of file cbind.h.


The documentation for this class was generated from the following file: