c-resources/CPlusPlus20ForProgrammers-m.../examples/libraries/rapidcsv/doc/rapidcsv_ConverterParams.md

21 lines
804 B
Markdown
Raw Normal View History

2024-04-09 06:45:18 +00:00
## class rapidcsv::ConverterParams
Datastructure holding parameters controlling how invalid numbers (including empty strings) should be handled.
---
```c++
ConverterParams (const bool pHasDefaultConverter = false, const long double pDefaultFloat = std::numeric_limits<long double>::signaling_NaN(), const long long pDefaultInteger = 0)
```
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.
---
###### API documentation generated using [Doxygenmd](https://github.com/d99kris/doxygenmd)