comservatory
Strict validation of CSV files in C++
|
Contains all comservatory functions and classes. More...
Classes | |
struct | Contents |
The parsed contents of a CSV file. More... | |
struct | DummyField |
Template class for a typed dummy field that only pretends to store its values. More... | |
struct | Field |
Virtual base class for a describing a field. More... | |
struct | FieldCreator |
Virtual base class for a Field creator. More... | |
struct | FilledField |
Template class for a typed field that uses a std::vector to store its values. More... | |
struct | TypedField |
Template class for a field of a known type. More... | |
struct | UnknownField |
Field of an unknown type. More... | |
Typedefs | |
typedef TypedField< std::string, STRING > | StringField |
typedef FilledField< std::string, STRING > | FilledStringField |
typedef DummyField< std::string, STRING > | DummyStringField |
typedef TypedField< double, NUMBER > | NumberField |
typedef FilledField< double, NUMBER > | FilledNumberField |
typedef DummyField< double, NUMBER > | DummyNumberField |
typedef TypedField< bool, BOOLEAN > | BooleanField |
Virtual class for a Field of booleans. | |
typedef FilledField< bool, BOOLEAN > | FilledBooleanField |
typedef DummyField< bool, BOOLEAN > | DummyBooleanField |
typedef TypedField< std::complex< double >, COMPLEX > | ComplexField |
typedef FilledField< std::complex< double >, COMPLEX > | FilledComplexField |
typedef DummyField< std::complex< double >, COMPLEX > | DummyComplexField |
Enumerations | |
enum | Type { STRING , NUMBER , COMPLEX , BOOLEAN , UNKNOWN } |
Functions | |
std::string | type_to_name (Type type) |
Contains all comservatory functions and classes.
typedef TypedField<std::complex<double>, COMPLEX> comservatory::ComplexField |
Virtual class for a Field
of complex numbers.
typedef DummyField<bool, BOOLEAN> comservatory::DummyBooleanField |
Dummy boolean Field
.
typedef DummyField<std::complex<double>, COMPLEX> comservatory::DummyComplexField |
Complex Field
.
typedef DummyField<double, NUMBER> comservatory::DummyNumberField |
Dummy numeric Field
.
typedef DummyField<std::string, STRING> comservatory::DummyStringField |
Dummy string Field
.
typedef FilledField<bool, BOOLEAN> comservatory::FilledBooleanField |
Boolean Field
with a backing std::vector<bool>
.
typedef FilledField<std::complex<double>, COMPLEX> comservatory::FilledComplexField |
Complex Field
with a backing std::vector<std::complex<double> >
.
typedef FilledField<double, NUMBER> comservatory::FilledNumberField |
Numeric Field
with a backing std::vector<double>
.
typedef FilledField<std::string, STRING> comservatory::FilledStringField |
String Field
with a backing std::vector<std::string>
.
typedef TypedField<double, NUMBER> comservatory::NumberField |
Virtual class for a Field
of double-precision numbers.
typedef TypedField<std::string, STRING> comservatory::StringField |
Various realizations. Virtual class for a Field
of strings.
enum comservatory::Type |
Type of a field in a CSV file.
|
inline |
type | Type of a field. |