Datastructure holding parameters controlling how invalid numbers (including empty strings) should be handled. More...
#include <rapidcsv.hpp>
Public Member Functions | |
ConverterParams (const bool pHasDefaultConverter=false, const long double pDefaultFloat=std::numeric_limits< long double >::signaling_NaN(), const long long pDefaultInteger=0) | |
Constructor. More... | |
Public Attributes | |
bool | mHasDefaultConverter |
specifies if conversion of non-numerical strings shall be converted to a default numerical value, instead of causing an exception to be thrown (default). More... | |
long double | mDefaultFloat |
floating-point default value to represent invalid numbers. More... | |
long long | mDefaultInteger |
integer default value to represent invalid numbers. More... | |
Datastructure holding parameters controlling how invalid numbers (including empty strings) should be handled.
Definition at line 49 of file rapidcsv.hpp.
|
inlineexplicit |
Constructor.
pHasDefaultConverter | specifies if conversion of non-numerical strings shall be converted to a default numerical value, instead of causing an exception to be thrown (default). |
pDefaultFloat | floating-point default value to represent invalid numbers. |
pDefaultInteger | integer default value to represent invalid numbers. |
Definition at line 59 of file rapidcsv.hpp.
long double rapidcsv::ConverterParams::mDefaultFloat |
floating-point default value to represent invalid numbers.
Definition at line 77 of file rapidcsv.hpp.
long long rapidcsv::ConverterParams::mDefaultInteger |
integer default value to represent invalid numbers.
Definition at line 82 of file rapidcsv.hpp.
bool rapidcsv::ConverterParams::mHasDefaultConverter |
specifies if conversion of non-numerical strings shall be converted to a default numerical value, instead of causing an exception to be thrown (default).
Definition at line 72 of file rapidcsv.hpp.