uzuki2
Recovering R lists faithfully from HDF5 or JSON
Loading...
Searching...
No Matches
Namespaces | Classes | Enumerations | Functions
uzuki2 Namespace Reference

Parse an R list from a HDF5 or JSON file. More...

Namespaces

namespace  hdf5
 Parse an R list from a HDF5 file.
 
namespace  json
 Parse an R list from a JSON file.
 

Classes

struct  Base
 Base interface for all R objects. More...
 
struct  BooleanVector
 Interface for a boolean vector. More...
 
struct  External
 Interface for unsupported objects. More...
 
struct  Factor
 Interface for a factor. More...
 
struct  IntegerVector
 Interface for integer vectors. More...
 
struct  List
 Interface for lists. More...
 
struct  Nothing
 Representation of R's NULL. More...
 
struct  NumberVector
 Interface for a double-precision vector. More...
 
struct  StringVector
 Interface for a string vector. More...
 
struct  Vector
 Interface for vector-like objects. More...
 

Enumerations

enum  Type {
  INTEGER , NUMBER , STRING , BOOLEAN ,
  FACTOR , LIST , NOTHING , EXTERNAL
}
 

Functions

bool is_vector (Type t)
 

Detailed Description

Parse an R list from a HDF5 or JSON file.

Enumeration Type Documentation

◆ Type

Data type of an embedded R object.

  • INTEGER: 32-bit signed integer vector.
  • NUMBER: double-precision vector.
  • STRING: vector of strings.
  • BOOLEAN: vector of booleans.
  • FACTOR: factor containing integer indices to unique levels.
  • LIST: a list containing nested objects.
  • NOTHING: equivalent to R's NULL.
  • EXTERNAL: an external reference to an unknown R object.

Function Documentation

◆ is_vector()

bool uzuki2::is_vector ( Type  t)
inline
Parameters
tData type of an object.
Returns
Whether the object is a vector.