comservatory
Strict validation of CSV files in C++
|
Virtual base class for a describing a field. More...
#include <Field.hpp>
Public Member Functions | |
virtual size_t | size () const =0 |
virtual Type | type () const =0 |
virtual void | add_missing ()=0 |
virtual bool | filled () const |
Virtual base class for a describing a field.
This can be treated as a vector of values across multiple records in the CSV file.
|
pure virtual |
Append a missing value onto the field's vector of values.
Implemented in comservatory::UnknownField, comservatory::FilledField< T, tt >, and comservatory::DummyField< T, tt >.
|
inlinevirtual |
false
if it is just a dummy for validation/placeholder purposes. Reimplemented in comservatory::DummyField< T, tt >.
|
pure virtual |
Implemented in comservatory::UnknownField, comservatory::FilledField< T, tt >, and comservatory::DummyField< T, tt >.
|
pure virtual |
Implemented in comservatory::UnknownField, and comservatory::TypedField< T, tt >.