Rcpp Version 1.0.9
Rcpp::BindingPolicy< EnvironmentClass >::Binding Class Reference

#include <Binding.h>

Inheritance diagram for Rcpp::BindingPolicy< EnvironmentClass >::Binding:
Collaboration diagram for Rcpp::BindingPolicy< EnvironmentClass >::Binding:

Public Member Functions

 Binding (EnvironmentClass &env_, const std::string &name_)
 
bool active () const
 
bool locked () const
 
bool exists () const
 
void lock ()
 
void unlock ()
 
Bindingoperator= (const Binding &rhs)
 
template<typename WRAPPABLE >
Bindingoperator= (const WRAPPABLE &rhs)
 
template<typename T >
 operator T () const
 
template<typename T >
BindingPolicy< CLASS >::Bindingoperator= (const T &rhs)
 
- Public Member Functions inherited from Rcpp::GenericProxy< Binding >
SEXP get () const
 

Private Member Functions

SEXP get () const
 
void set (SEXP x)
 

Private Attributes

EnvironmentClass & env
 
std::string name
 

Detailed Description

template<typename EnvironmentClass>
class Rcpp::BindingPolicy< EnvironmentClass >::Binding

Definition at line 27 of file Binding.h.

Constructor & Destructor Documentation

◆ Binding()

template<typename EnvironmentClass >
Rcpp::BindingPolicy< EnvironmentClass >::Binding::Binding ( EnvironmentClass &  env_,
const std::string &  name_ 
)
inline

Definition at line 29 of file Binding.h.

Member Function Documentation

◆ active()

template<typename EnvironmentClass >
bool Rcpp::BindingPolicy< EnvironmentClass >::Binding::active ( ) const
inline

◆ exists()

template<typename EnvironmentClass >
bool Rcpp::BindingPolicy< EnvironmentClass >::Binding::exists ( ) const
inline

◆ get()

template<typename EnvironmentClass >
SEXP Rcpp::BindingPolicy< EnvironmentClass >::Binding::get ( ) const
inlineprivate

◆ lock()

template<typename EnvironmentClass >
void Rcpp::BindingPolicy< EnvironmentClass >::Binding::lock ( )
inline

◆ locked()

template<typename EnvironmentClass >
bool Rcpp::BindingPolicy< EnvironmentClass >::Binding::locked ( ) const
inline

◆ operator T()

template<typename CLASS >
template<typename T >
Rcpp::BindingPolicy< CLASS >::Binding::operator T

Definition at line 137 of file proxy.h.

References Rcpp::get().

Here is the call graph for this function:

◆ operator=() [1/3]

template<typename EnvironmentClass >
Binding& Rcpp::BindingPolicy< EnvironmentClass >::Binding::operator= ( const Binding rhs)
inline

Definition at line 47 of file Binding.h.

References Rcpp::BindingPolicy< EnvironmentClass >::Binding::get(), and Rcpp::BindingPolicy< EnvironmentClass >::Binding::set().

Here is the call graph for this function:

◆ operator=() [2/3]

template<typename EnvironmentClass >
template<typename T >
BindingPolicy<CLASS>::Binding& Rcpp::BindingPolicy< EnvironmentClass >::Binding::operator= ( const T &  rhs)

Definition at line 130 of file proxy.h.

References Rcpp::wrap().

Here is the call graph for this function:

◆ operator=() [3/3]

template<typename EnvironmentClass >
template<typename WRAPPABLE >
Binding& Rcpp::BindingPolicy< EnvironmentClass >::Binding::operator= ( const WRAPPABLE &  rhs)

◆ set()

template<typename EnvironmentClass >
void Rcpp::BindingPolicy< EnvironmentClass >::Binding::set ( SEXP  x)
inlineprivate

◆ unlock()

template<typename EnvironmentClass >
void Rcpp::BindingPolicy< EnvironmentClass >::Binding::unlock ( )
inline

Member Data Documentation

◆ env

◆ name


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