uzuki2
Recovering R lists faithfully from HDF5 or JSON
|
Interface for a string vector. More...
#include <interfaces.hpp>
Public Types | |
enum | Format { NONE , DATE , DATETIME } |
Public Member Functions | |
Type | type () const |
virtual void | set (size_t i, std::string v)=0 |
Public Member Functions inherited from uzuki2::Vector | |
virtual size_t | size () const =0 |
virtual void | set_name (size_t i, std::string n)=0 |
virtual void | set_missing (size_t i)=0 |
Interface for a string vector.
Format constraints to apply to the strings.
NONE
: no constraints.DATE
: strings should be in YYYY-MM-DD
format.DATETIME
: strings should be in Internet Date/Time format (see RFC 3339, section 5.6).
|
pure virtual |
Set a vector element.
i | Index of a vector element. |
v | Value of the vector element. |
|
inlinevirtual |
Implements uzuki2::Base.