rds2cpp
Read and write RDS/RDA files in C++
Loading...
Searching...
No Matches
rds2cpp::Environment Struct Reference

An R environment. More...

#include <RObject.hpp>

Public Attributes

bool locked = false
 
bool hashed = false
 
SEXPType parent_type = SEXPType::GLOBALENV_
 
std::size_t parent = -1
 
std::vector< EnvironmentVariablevariables
 
std::vector< Attributeattributes
 

Detailed Description

An R environment.

Member Data Documentation

◆ attributes

std::vector<Attribute> rds2cpp::Environment::attributes

Additional attributes.

◆ hashed

bool rds2cpp::Environment::hashed = false

Whether the environment was hashed.

◆ locked

bool rds2cpp::Environment::locked = false

Whether the environment was locked.

◆ parent

std::size_t rds2cpp::Environment::parent = -1

Index of the parent environment. This should only be used if parent_type is SEXPType::ENV.

◆ parent_type

SEXPType rds2cpp::Environment::parent_type = SEXPType::GLOBALENV_

Type of the parent environment. This is usually one of SEXPType::ENV, SEXPType::GLOBALENV_, SEXPType::BASEENV_ or SEXPType::EMPTYENV_.

◆ variables

std::vector<EnvironmentVariable> rds2cpp::Environment::variables

Variables contained within this environment.


The documentation for this struct was generated from the following file: