Rcpp Version 0.9.10
Rcpp::Promise Class Reference

#include <Promise.h>

Inheritance diagram for Rcpp::Promise:
Collaboration diagram for Rcpp::Promise:

List of all members.

Public Member Functions

 Promise (SEXP x)
 Promise (const Promise &other)
Promiseoperator= (const Promise &other)
int seen () const
SEXP value () const
bool was_evaluated () const
ExpressionVector expression () const
Environment environment () const

Detailed Description

Definition at line 32 of file Promise.h.


Constructor & Destructor Documentation

Rcpp::Promise::Promise ( SEXP  x)

Definition at line 26 of file Promise.cpp.

References Rcpp::RObject::setSEXP().

Here is the call graph for this function:

Rcpp::Promise::Promise ( const Promise other)

Definition at line 34 of file Promise.cpp.

References Rcpp::RObject::asSexp(), and Rcpp::RObject::setSEXP().

Here is the call graph for this function:


Member Function Documentation

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.

Promise & Rcpp::Promise::operator= ( const Promise other)

Definition at line 38 of file Promise.cpp.

References Rcpp::RObject::asSexp(), and Rcpp::RObject::setSEXP().

Here is the call graph for this function:

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines