comservatory
Strict validation of CSV files in C++
|
Field of an unknown type. More...
#include <Field.hpp>
Public Member Functions | |
size_t | size () const |
Type | type () const |
void | add_missing () |
Public Member Functions inherited from comservatory::Field | |
virtual size_t | size () const =0 |
virtual Type | type () const =0 |
virtual void | add_missing ()=0 |
virtual bool | filled () const |
Field of an unknown type.
This is used for all fields at the start of parsing; the type is only resolved upon encountering the first record with a non-missing value. As such, size()
is implicitly equal to the number of missing records for this field.
|
inlinevirtual |
Append a missing value onto the field's vector of values.
Implements comservatory::Field.
|
inlinevirtual |
Implements comservatory::Field.
|
inlinevirtual |
Implements comservatory::Field.