Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::SlotProxyPolicy< CLASS >::const_SlotProxy Class Reference

#include <SlotProxy.h>

Inheritance diagram for Rcpp::SlotProxyPolicy< CLASS >::const_SlotProxy:
Collaboration diagram for Rcpp::SlotProxyPolicy< CLASS >::const_SlotProxy:

Public Member Functions

 const_SlotProxy (const CLASS &v, const std::string &name)
template<typename T>
 operator T () const
 operator SEXP () const
Public Member Functions inherited from Rcpp::GenericProxy< const_SlotProxy >
SEXP get () const

Private Member Functions

SEXP get () const

Private Attributes

const CLASS & parent
SEXP slot_name

Detailed Description

template<typename CLASS>
class Rcpp::SlotProxyPolicy< CLASS >::const_SlotProxy

Definition at line 59 of file SlotProxy.h.

Constructor & Destructor Documentation

◆ const_SlotProxy()

template<typename CLASS>
Rcpp::SlotProxyPolicy< CLASS >::const_SlotProxy::const_SlotProxy ( const CLASS & v,
const std::string & name )
inline

Definition at line 61 of file SlotProxy.h.

References parent, and slot_name.

Member Function Documentation

◆ get()

template<typename CLASS>
SEXP Rcpp::SlotProxyPolicy< CLASS >::const_SlotProxy::get ( ) const
inlineprivate

Definition at line 78 of file SlotProxy.h.

References parent, and slot_name.

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

◆ operator SEXP()

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

Definition at line 70 of file SlotProxy.h.

References get().

Here is the call graph for this function:

◆ operator T()

template<typename CLASS>
template<typename T>
Rcpp::SlotProxyPolicy< CLASS >::const_SlotProxy::operator T ( ) const
inline

Definition at line 67 of file SlotProxy.h.

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

Here is the call graph for this function:

Member Data Documentation

◆ parent

template<typename CLASS>
const CLASS& Rcpp::SlotProxyPolicy< CLASS >::const_SlotProxy::parent
private

Definition at line 75 of file SlotProxy.h.

Referenced by const_SlotProxy(), and get().

◆ slot_name

template<typename CLASS>
SEXP Rcpp::SlotProxyPolicy< CLASS >::const_SlotProxy::slot_name
private

Definition at line 76 of file SlotProxy.h.

Referenced by const_SlotProxy(), and get().


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