Rcpp Version 1.1.2
Loading...
Searching...
No Matches
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

◆ stored_type

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

Definition at line 139 of file cbind.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename T>
anonymous enum
Enumerator
RTYPE 

Definition at line 140 of file cbind.h.

Constructor & Destructor Documentation

◆ ScalarBindable()

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

◆ ncol()

template<typename T>
R_xlen_t Rcpp::sugar::cbind_impl::ScalarBindable< T >::ncol ( ) const
inline

Definition at line 152 of file cbind.h.

◆ nrow()

template<typename T>
R_xlen_t Rcpp::sugar::cbind_impl::ScalarBindable< T >::nrow ( ) const
inline

Definition at line 150 of file cbind.h.

◆ operator()()

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.

◆ operator[]()

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.

◆ size()

template<typename T>
R_xlen_t Rcpp::sugar::cbind_impl::ScalarBindable< T >::size ( ) const
inline

Definition at line 148 of file cbind.h.

Member Data Documentation

◆ t

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:
  • inst/include/Rcpp/sugar/functions/cbind.h