rds2cpp
C++ library for parsing RDS files
|
Reference to an environment. More...
#include <RObject.hpp>
Public Member Functions | |
EnvironmentIndex (SEXPType e=SEXPType::GLOBALENV_) | |
EnvironmentIndex (size_t i) | |
SEXPType | type () const |
Public Attributes | |
size_t | index |
SEXPType | env_type |
Reference to an environment.
|
inline |
By default, this creates an EnvironmentIndex
that refers to the global environment.
e | Type of the environment. |
|
inline |
This creates an EnvironmentIndex
that refers to a non-global environment, i.e., is of type ENV
.
i | Value of the environment index. |
|
inlinevirtual |
Type of environment. Most environments will be ENV
but special environments can be constructed like GLOBALENV_
.
Implements rds2cpp::RObject.
SEXPType rds2cpp::EnvironmentIndex::env_type |
Type of the environment, as returned by type()
. This can be modified if it changes after construction.
size_t rds2cpp::EnvironmentIndex::index |