Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::ProtectedProxyPolicy< XPtrClass >::ProtectedProxy Class Reference

#include <ProtectedProxy.h>

Inheritance diagram for Rcpp::ProtectedProxyPolicy< XPtrClass >::ProtectedProxy:
Collaboration diagram for Rcpp::ProtectedProxyPolicy< XPtrClass >::ProtectedProxy:

Public Member Functions

 ProtectedProxy (XPtrClass &xp_)
template<typename U>
ProtectedProxyoperator= (const U &u)
template<typename U>
 operator U () const
 operator SEXP () const
Public Member Functions inherited from Rcpp::GenericProxy< ProtectedProxy >
SEXP get () const

Private Member Functions

SEXP get () const
void set (SEXP x)

Private Attributes

XPtrClass & xp

Detailed Description

template<class XPtrClass>
class Rcpp::ProtectedProxyPolicy< XPtrClass >::ProtectedProxy

Definition at line 29 of file ProtectedProxy.h.

Constructor & Destructor Documentation

◆ ProtectedProxy()

template<class XPtrClass>
Rcpp::ProtectedProxyPolicy< XPtrClass >::ProtectedProxy::ProtectedProxy ( XPtrClass & xp_)
inline

Definition at line 31 of file ProtectedProxy.h.

References xp.

Referenced by operator=().

Member Function Documentation

◆ get()

template<class XPtrClass>
SEXP Rcpp::ProtectedProxyPolicy< XPtrClass >::ProtectedProxy::get ( ) const
inlineprivate

Definition at line 51 of file ProtectedProxy.h.

References xp.

Referenced by operator SEXP(), and operator U().

◆ operator SEXP()

template<class XPtrClass>
Rcpp::ProtectedProxyPolicy< XPtrClass >::ProtectedProxy::operator SEXP ( ) const
inline

Definition at line 44 of file ProtectedProxy.h.

References get().

Here is the call graph for this function:

◆ operator U()

template<class XPtrClass>
template<typename U>
Rcpp::ProtectedProxyPolicy< XPtrClass >::ProtectedProxy::operator U ( ) const
inline

Definition at line 40 of file ProtectedProxy.h.

References Rcpp::as(), and get().

Here is the call graph for this function:

◆ operator=()

template<class XPtrClass>
template<typename U>
ProtectedProxy & Rcpp::ProtectedProxyPolicy< XPtrClass >::ProtectedProxy::operator= ( const U & u)
inline

Definition at line 34 of file ProtectedProxy.h.

References ProtectedProxy(), set(), and Rcpp::wrap().

Here is the call graph for this function:

◆ set()

template<class XPtrClass>
void Rcpp::ProtectedProxyPolicy< XPtrClass >::ProtectedProxy::set ( SEXP x)
inlineprivate

Definition at line 55 of file ProtectedProxy.h.

References xp.

Referenced by operator=().

Member Data Documentation

◆ xp

template<class XPtrClass>
XPtrClass& Rcpp::ProtectedProxyPolicy< XPtrClass >::ProtectedProxy::xp
private

Definition at line 49 of file ProtectedProxy.h.

Referenced by get(), ProtectedProxy(), and set().


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