Kstars
rapidcsv::ConverterParams Struct Reference
#include <rapidcsv.h>
Public Member Functions | |
ConverterParams (const bool pHasDefaultConverter=false, const long double pDefaultFloat=std::numeric_limits< long double >::signaling_NaN(), const long long pDefaultInteger=0) | |
Public Attributes | |
long double | mDefaultFloat |
long long | mDefaultInteger |
bool | mHasDefaultConverter |
Detailed Description
Datastructure holding parameters controlling how invalid numbers (including empty strings) should be handled.
Definition at line 40 of file rapidcsv.h.
Constructor & Destructor Documentation
◆ ConverterParams()
|
inlineexplicit |
Constructor.
- Parameters
-
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 50 of file rapidcsv.h.
Member Data Documentation
◆ mDefaultFloat
long double rapidcsv::ConverterParams::mDefaultFloat |
floating-point default value to represent invalid numbers.
Definition at line 68 of file rapidcsv.h.
◆ mDefaultInteger
long long rapidcsv::ConverterParams::mDefaultInteger |
integer default value to represent invalid numbers.
Definition at line 73 of file rapidcsv.h.
◆ mHasDefaultConverter
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 63 of file rapidcsv.h.
The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.