rds2cpp
C++ library for parsing RDS files
Loading...
Searching...
No Matches
rds2cpp
SEXPType.hpp
Go to the documentation of this file.
1
#ifndef RDS2CPP_SEXPTYPE_HPP
2
#define RDS2CPP_SEXPTYPE_HPP
3
10
namespace
rds2cpp
{
11
31
enum class
SEXPType
:
unsigned
char
{
32
// Taken from https://cran.r-project.org/doc/manuals/r-release/R-ints.html#SEXPTYPEs.
33
NIL = 0,
34
SYM = 1,
35
LIST = 2,
36
CLO = 3,
37
ENV = 4,
38
PROM = 5,
39
LANG = 6,
40
SPECIAL = 7,
41
BUILTIN = 8,
42
CHAR = 9,
43
LGL = 10,
44
INT = 13,
45
REAL = 14,
46
CPLX = 15,
47
STR = 16,
48
DOT = 17,
49
ANY = 18,
50
VEC = 19,
51
EXPR = 20,
52
BCODE = 21,
53
EXTPTR = 22,
54
WEAKREF = 23,
55
RAW = 24,
56
S4 = 25,
57
58
// Taken from src/main/serialize.c
59
REF = 255,
60
NILVALUE_ = 254,
61
GLOBALENV_ = 253,
62
UNBOUNDVALUE_ = 252,
63
MISSINGARG_ = 251,
64
BASENAMESPACE_ = 250,
65
NAMESPACE = 249,
66
PACKAGE = 248,
67
PERSIST = 247,
68
69
CLASSREF = 246,
70
GENERICREF = 245,
71
BCREPDEF = 244,
72
BCREPREF = 243,
73
EMPTYENV_ = 242,
74
BASEENV_ = 241,
75
76
ATTRLANG = 240,
77
ATTRLIST = 239,
78
79
ALTREP_ = 238
80
};
81
82
}
83
84
#endif
rds2cpp
Parse an RDS file in C++.
Definition
StringEncoding.hpp:10
rds2cpp::SEXPType
SEXPType
Definition
SEXPType.hpp:31
Generated by
1.9.8