String vector.
More...
#include <RObject.hpp>
◆ add() [1/2]
| void rds2cpp::StringVector::add |
( |
| ) |
|
|
inline |
A convenient helper to add a missing string to the end of the vector.
◆ add() [2/2]
| void rds2cpp::StringVector::add |
( |
std::string | d, |
|
|
StringEncoding | enc = StringEncoding::UTF8 ) |
|
inline |
A convenient helper to add a string to the end of the vector.
- Parameters
-
| d | Value of the string. |
| enc | Encoding of the attribute name. |
◆ type()
| SEXPType rds2cpp::StringVector::type |
( |
| ) |
const |
|
inlinevirtual |
◆ attributes
◆ data
| std::vector<std::string> rds2cpp::StringVector::data |
◆ encodings
Encodings for each element in data.
◆ missing
| std::vector<char> rds2cpp::StringVector::missing |
Whether a string is missing in the vector. If true, the corresponding value of data and encoding should not be used.
The documentation for this struct was generated from the following file: