Reference¶
The Reference class is a wrapper of reference class (RC) objects in R.
Public Member Functions¶
Constructors¶
-
Reference
()¶ Default constructor. Resulting in
R_NilValue
.
-
Reference
(const Reference &other)¶ Copy constructor. Resulting object will share the SEXP data with other.
template <typename Proxy>
-
Reference
(const GenericProxy<Proxy> &proxy)¶ Create object from a proxy, such as attribute, slot, field, etc.
-
Reference
(SEXP x)¶ Wrap a given RC object.
-
Reference
(const std::string &klass)¶ Create an RC object of the requested class.