rds2cpp
Read and write RDS/RDA files in C++
Loading...
Searching...
No Matches
RObject.hpp File Reference

Representations of unserialized R objects. More...

#include <vector>
#include <cstdint>
#include <cstddef>
#include <complex>
#include <optional>
#include "SEXPType.hpp"
#include "StringEncoding.hpp"
#include "utils_other.hpp"
#include "sanisizer/sanisizer.hpp"
Include dependency graph for RObject.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rds2cpp::RObject
 Virtual class for all unserialized R objects. More...
 
struct  rds2cpp::Null
 R's NULL value. More...
 
struct  rds2cpp::Symbol
 An R symbol. More...
 
struct  rds2cpp::SymbolIndex
 Reference to a language symbol. More...
 
struct  rds2cpp::EnvironmentIndex
 Reference to an environment. More...
 
struct  rds2cpp::EnvironmentVariable
 Variable in an Environment. More...
 
struct  rds2cpp::Environment
 An R environment. More...
 
struct  rds2cpp::ExternalPointer
 An R external pointer. More...
 
struct  rds2cpp::ExternalPointerIndex
 Reference to an external pointer. More...
 
struct  rds2cpp::Attribute
 Attribute name and value. More...
 
struct  rds2cpp::AtomicVector< ElementType, stype >
 Vector of some atomic type. More...
 
struct  rds2cpp::String
 Single string in a StringVector. More...
 
struct  rds2cpp::StringVector
 String vector. More...
 
struct  rds2cpp::GenericVector
 Generic vector, i.e., an ordinary R list. More...
 
struct  rds2cpp::PairListElement
 Element of a PairList. More...
 
struct  rds2cpp::PairList
 Pairlist, i.e., a linked list. More...
 
struct  rds2cpp::S4Object
 S4 object. More...
 
struct  rds2cpp::BuiltInFunction
 Built-in function. More...
 
struct  rds2cpp::LanguageArgument
 Function argument in a LanguageObject. More...
 
struct  rds2cpp::LanguageObject
 Language object, i.e., a function call. More...
 
struct  rds2cpp::ExpressionVector
 Expression vector. More...
 

Namespaces

namespace  rds2cpp
 Parse an RDS file in C++.
 

Typedefs

typedef AtomicVector< std::int32_t, SEXPType::INT > rds2cpp::IntegerVector
 Integer vector.
 
typedef AtomicVector< std::int32_t, SEXPType::LGL > rds2cpp::LogicalVector
 Logical vector.
 
typedef AtomicVector< double, SEXPType::REAL > rds2cpp::DoubleVector
 Double-precision vector.
 
typedef AtomicVector< unsigned char, SEXPType::RAW > rds2cpp::RawVector
 Raw vector.
 
typedef AtomicVector< std::complex< double >, SEXPType::CPLX > rds2cpp::ComplexVector
 Complex vector.
 

Functions

SymbolIndex rds2cpp::register_symbol (std::string name, StringEncoding encoding, std::vector< Symbol > &symbols)
 

Detailed Description

Representations of unserialized R objects.