rds2cpp
C++ library for parsing RDS files
Loading...
Searching...
No Matches
rds2cpp::S4Object Struct Reference

S4 object. More...

#include <RObject.hpp>

Inheritance diagram for rds2cpp::S4Object:
Collaboration diagram for rds2cpp::S4Object:

Public Member Functions

SEXPType type () const
 
- Public Member Functions inherited from rds2cpp::RObject

Public Attributes

std::string class_name
 
StringEncoding class_encoding = StringEncoding::UTF8
 
std::string package_name
 
StringEncoding package_encoding = StringEncoding::UTF8
 
Attributes attributes
 

Detailed Description

S4 object.

Member Function Documentation

◆ type()

SEXPType rds2cpp::S4Object::type ( ) const
inlinevirtual
Returns
Type of the R object.

Implements rds2cpp::RObject.

Member Data Documentation

◆ attributes

Attributes rds2cpp::S4Object::attributes

Additional attributes. For S4 objects, this is where the values of all slots are stored.

◆ class_encoding

StringEncoding rds2cpp::S4Object::class_encoding = StringEncoding::UTF8

Encoding of the class name.

◆ class_name

std::string rds2cpp::S4Object::class_name

Name of the class.

◆ package_encoding

StringEncoding rds2cpp::S4Object::package_encoding = StringEncoding::UTF8

Encoding of the package name.

◆ package_name

std::string rds2cpp::S4Object::package_name

Name of the package.


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