Skip to content

support ETaccessorBase as a type with its own symbol#205

Merged
perrydv merged 1 commit into
mainfrom
ETaccessor-symbol
Jun 10, 2026
Merged

support ETaccessorBase as a type with its own symbol#205
perrydv merged 1 commit into
mainfrom
ETaccessor-symbol

Conversation

@perrydv

@perrydv perrydv commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

The ETaccessorBase class in C++ is the base class for the system we use for some type flexibility. E.g. in as(obj[[varname]], 'numericMatrix'), the C++ implementation of obj[[varname]] returns an ETaccessorBase (by unique_ptr).

This PR provides a type on the R side called 'ETaccessor' and a symbol for symbolTables. It also supports returning these objects or taking them as arguments (which must be by reference, which is automatic).

Any method taking or returning one of these objects must not be interfaced through the generic interface to R because there is no as<> or wrap<> conversion of the C++ type.

This PR has passed tests already so I will merge soon.

@perrydv perrydv merged commit 36a5a19 into main Jun 10, 2026
5 checks passed
@perrydv perrydv deleted the ETaccessor-symbol branch June 10, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant