|
Rcpp Version 0.9.10
|
#include <Promise.h>


Public Member Functions | |
| Promise (SEXP x) | |
| Promise (const Promise &other) | |
| Promise & | operator= (const Promise &other) |
| int | seen () const |
| SEXP | value () const |
| bool | was_evaluated () const |
| ExpressionVector | expression () const |
| Environment | environment () const |
| Rcpp::Promise::Promise | ( | SEXP | x | ) |
Definition at line 26 of file Promise.cpp.
References Rcpp::RObject::setSEXP().

| Rcpp::Promise::Promise | ( | const Promise & | other | ) |
Definition at line 34 of file Promise.cpp.
References Rcpp::RObject::asSexp(), and Rcpp::RObject::setSEXP().

| Environment Rcpp::Promise::environment | ( | ) | const |
The promise environment : PRENV
Definition at line 57 of file Promise.cpp.
References Rcpp::RObject::m_sexp.
| ExpressionVector Rcpp::Promise::expression | ( | ) | const |
The promise expression: PRCODE
Definition at line 61 of file Promise.cpp.
References Rcpp::RObject::m_sexp.
Definition at line 38 of file Promise.cpp.
References Rcpp::RObject::asSexp(), and Rcpp::RObject::setSEXP().

| int Rcpp::Promise::seen | ( | ) | const |
Return the result of the PRSEEN macro
Definition at line 43 of file Promise.cpp.
References Rcpp::RObject::m_sexp.
| SEXP Rcpp::Promise::value | ( | ) | const |
Return the result of the PRVALUE macro on the promise
Definition at line 47 of file Promise.cpp.
References Rcpp::RObject::m_sexp.
| bool Rcpp::Promise::was_evaluated | ( | ) | const |
Definition at line 53 of file Promise.cpp.
References Rcpp::RObject::m_sexp.