|
comservatory
Strict validation of CSV files in C++
|
Template class for a typed field that uses a std::vector to store its values.
More...
#include <Field.hpp>


Public Member Functions | |
| FilledField (size_t n=0) | |
| size_t | size () const |
| void | push_back (T x) |
| void | add_missing () |
Public Member Functions inherited from comservatory::TypedField< T, tt > | |
| Type | type () const |
Public Member Functions inherited from comservatory::Field | |
| virtual bool | filled () const |
Template class for a typed field that uses a std::vector to store its values.
| T | Data type used to store the values. |
| tt | The Type to be returned by type(). |
|
inline |
| n | Number of missing values with which to fill the field's vector. This may be non-zero if converting a field from an UnknownField. |
|
inlinevirtual |
Append a missing value onto the field's vector of values.
Implements comservatory::Field.
|
inlinevirtual |
| x | Value to be appended to the TypedField's vector of values. |
Implements comservatory::TypedField< T, tt >.
|
inlinevirtual |
Implements comservatory::Field.