23#ifndef Rcpp_Environment_h
24#define Rcpp_Environment_h
39 const char*
fmt =
"Cannot convert object to an environment: "
40 "[type=%s; target=ENVSXP].";
86 SEXP env = Storage::get__() ;
99 SEXP env = Storage::get__() ;
120 SEXP env = Storage::get__() ;
141 SEXP env = Storage::get__() ;
161 SEXP env = Storage::get__() ;
185 bool exists(
const std::string& name )
const {
221 template <
typename WRAPPABLE>
#define RCPP_GENERATE_CTOR_ASSIGN(__CLASS__)
#define RCPP_API_CLASS(__CLASS__)
attribute_hidden SEXP get_Rcpp_namespace()
SEXP Rcpp_eval_impl(SEXP expr, SEXP env)
void lockBinding(const std::string &name)
bool remove(const std::string &name)
static Environment_Impl global_env()
static Environment_Impl Rcpp_namespace()
void lock(bool bindings=false)
bool assign(const std::string &name, SEXP x) const
void unlockBinding(const std::string &name)
SEXP Rcpp_fast_eval(SEXP expr, SEXP env)
SEXP get(const std::string &name) const
SEXP find(const std::string &name) const
static Environment_Impl base_env()
static Environment_Impl namespace_env(const std::string &package)
static Environment_Impl empty_env()
bool bindingIsLocked(const std::string &name) const
Environment_Impl parent() const
static Environment_Impl base_namespace()
sugar::All< NA, T > all(const Rcpp::VectorBase< LGLSXP, NA, T > &t)
Environment_Impl< PreserveStorage > Environment
Environment_Impl new_child(bool hashed) const
Symbol_Impl< NoProtectStorage > Symbol
bool exists(const std::string &name) const
bool bindingIsActive(const std::string &name) const