Rcpp Version 1.0.9
Rcpp::Armor< T > Class Template Reference

#include <Armor.h>

Public Member Functions

 Armor ()
 
template<typename U >
 Armor (U x)
 
 operator SEXP () const
 
template<typename U >
Armoroperator= (const U &x)
 
 ~Armor ()
 
template<typename U >
Armor< T > & operator= (const U &x)
 

Private Member Functions

void init (SEXP x)
 
 Armor (const Armor &)
 
Armoroperator= (const Armor &)
 

Private Attributes

SEXP data
 
PROTECT_INDEX index
 

Detailed Description

template<typename T>
class Rcpp::Armor< T >

Definition at line 24 of file Armor.h.

Constructor & Destructor Documentation

◆ Armor() [1/3]

template<typename T >
Rcpp::Armor< T >::Armor ( )
inline

Definition at line 27 of file Armor.h.

References Rcpp::Armor< T >::init().

Here is the call graph for this function:

◆ Armor() [2/3]

template<typename T >
template<typename U >
Rcpp::Armor< T >::Armor ( x)

Definition at line 25 of file protection.h.

References Rcpp::Armor< T >::init(), and Rcpp::wrap().

Here is the call graph for this function:

◆ ~Armor()

template<typename T >
Rcpp::Armor< T >::~Armor ( )
inline

Definition at line 40 of file Armor.h.

◆ Armor() [3/3]

template<typename T >
Rcpp::Armor< T >::Armor ( const Armor< T > &  )
private

Member Function Documentation

◆ init()

template<typename T >
void Rcpp::Armor< T >::init ( SEXP  x)
inlineprivate

Definition at line 45 of file Armor.h.

References Rcpp::Armor< T >::data, and Rcpp::Armor< T >::index.

Referenced by Rcpp::Armor< T >::Armor().

◆ operator SEXP()

template<typename T >
Rcpp::Armor< T >::operator SEXP ( ) const
inline

Definition at line 33 of file Armor.h.

References Rcpp::Armor< T >::data.

◆ operator=() [1/3]

template<typename T >
Armor& Rcpp::Armor< T >::operator= ( const Armor< T > &  )
private

◆ operator=() [2/3]

template<typename T >
template<typename U >
Armor<T>& Rcpp::Armor< T >::operator= ( const U &  x)
inline

Definition at line 31 of file protection.h.

References Rcpp::wrap().

Here is the call graph for this function:

◆ operator=() [3/3]

template<typename T >
template<typename U >
Armor& Rcpp::Armor< T >::operator= ( const U &  x)
inline

Member Data Documentation

◆ data

template<typename T >
SEXP Rcpp::Armor< T >::data
private

Definition at line 49 of file Armor.h.

Referenced by Rcpp::Armor< T >::init(), and Rcpp::Armor< T >::operator SEXP().

◆ index

template<typename T >
PROTECT_INDEX Rcpp::Armor< T >::index
private

Definition at line 50 of file Armor.h.

Referenced by Rcpp::Armor< T >::init().


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