takane
Validators for ArtifactDB file formats
|
Create comservatory::Field
objects to capture column contents.
More...
#include <utils_csv.hpp>
Public Member Functions | |
virtual comservatory::NumberField * | integer () |
virtual comservatory::StringField * | string ()=0 |
virtual comservatory::NumberField * | number ()=0 |
virtual comservatory::BooleanField * | boolean ()=0 |
Create comservatory::Field
objects to capture column contents.
Instances of CsvFieldCreator
subclasses can be passed to CSV validators like csv_data_frame::validate()
. This allows the validator to execute user-defined code when parsing each column, typically to store the column's contents in a user-defined memory allocation. The contents can then be extracted for later inspection by the caller (e.g., in R or Python-managed vectors).
|
pure virtual |
comservatory::BooleanField
subclass. Implemented in takane::DummyCsvFieldCreator.
|
inlinevirtual |
comservatory::NumberField
subclass, possibly specialized to hold integer data.
|
pure virtual |
comservatory::NumberField
subclass. Implemented in takane::DummyCsvFieldCreator.
|
pure virtual |
comservatory::StringField
subclass. Implemented in takane::DummyCsvFieldCreator.