Rcpp Version 1.1.2
Loading...
Searching...
No Matches
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 data, and init().

Referenced by Armor(), operator=(), and operator=().

Here is the call graph for this function:

◆ Armor() [2/3]

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

Definition at line 25 of file protection.h.

References data, 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

References Armor().

Here is the call graph for this function:

Member Function Documentation

◆ init()

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

Definition at line 45 of file Armor.h.

References data, and index.

Referenced by Armor(), and Armor().

◆ operator SEXP()

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

Definition at line 33 of file Armor.h.

References data.

◆ operator=() [1/3]

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

References Armor().

Here is the call graph for this function:

◆ 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 Armor(), data, index, and 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

References Armor().

Here is the call graph for this function:

Member Data Documentation

◆ data

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

Definition at line 49 of file Armor.h.

Referenced by Armor(), Armor(), init(), operator SEXP(), and operator=().

◆ index

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

Definition at line 50 of file Armor.h.

Referenced by init(), and operator=().


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