Rcpp Version 1.0.9
Rcpp::PreserveStorage< CLASS > Class Template Reference

#include <PreserveStorage.h>

Public Member Functions

 PreserveStorage ()
 
 ~PreserveStorage ()
 
void set__ (SEXP x)
 
SEXP get__ () const
 
SEXP invalidate__ ()
 
template<typename T >
T & copy__ (const T &other)
 
bool inherits (const char *clazz) const
 
 operator SEXP () const
 

Private Attributes

SEXP data
 
SEXP token
 

Detailed Description

template<typename CLASS>
class Rcpp::PreserveStorage< CLASS >

Definition at line 28 of file PreserveStorage.h.

Constructor & Destructor Documentation

◆ PreserveStorage()

template<typename CLASS >
Rcpp::PreserveStorage< CLASS >::PreserveStorage ( )
inline

Definition at line 31 of file PreserveStorage.h.

◆ ~PreserveStorage()

template<typename CLASS >
Rcpp::PreserveStorage< CLASS >::~PreserveStorage ( )
inline

Definition at line 33 of file PreserveStorage.h.

References Rcpp::PreserveStorage< CLASS >::data, Rcpp::Rcpp_PreciousRelease(), and Rcpp::PreserveStorage< CLASS >::token.

Here is the call graph for this function:

Member Function Documentation

◆ copy__()

template<typename CLASS >
template<typename T >
T& Rcpp::PreserveStorage< CLASS >::copy__ ( const T &  other)
inline

Definition at line 64 of file PreserveStorage.h.

References Rcpp::PreserveStorage< CLASS >::set__().

Here is the call graph for this function:

◆ get__()

◆ inherits()

template<typename CLASS >
bool Rcpp::PreserveStorage< CLASS >::inherits ( const char *  clazz) const
inline

Definition at line 71 of file PreserveStorage.h.

References Rcpp::PreserveStorage< CLASS >::data.

◆ invalidate__()

template<typename CLASS >
SEXP Rcpp::PreserveStorage< CLASS >::invalidate__ ( )
inline

Definition at line 55 of file PreserveStorage.h.

References Rcpp::PreserveStorage< CLASS >::data, Rcpp::Rcpp_PreciousRelease(), and Rcpp::PreserveStorage< CLASS >::token.

Here is the call graph for this function:

◆ operator SEXP()

template<typename CLASS >
Rcpp::PreserveStorage< CLASS >::operator SEXP ( ) const
inline

Definition at line 75 of file PreserveStorage.h.

References Rcpp::PreserveStorage< CLASS >::data.

◆ set__()

template<typename CLASS >
void Rcpp::PreserveStorage< CLASS >::set__ ( SEXP  x)
inline

Member Data Documentation

◆ data

◆ token


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