Path Tracer
Public Member Functions | Public Attributes | List of all members
rapidcsv::ConverterParams Struct Reference

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).
 
long double mDefaultFloat
 floating-point default value to represent invalid numbers.
 
long long mDefaultInteger
 integer default value to represent invalid numbers.
 

Detailed Description

Datastructure holding parameters controlling how invalid numbers (including empty strings) should be handled.

Constructor & Destructor Documentation

◆ ConverterParams()

rapidcsv::ConverterParams::ConverterParams ( const bool  pHasDefaultConverter = false,
const long double  pDefaultFloat = std::numeric_limits<long double>::signaling_NaN(),
const long long  pDefaultInteger = 0 
)
inlineexplicit

Constructor.

Parameters
pHasDefaultConverterspecifies if conversion of non-numerical strings shall be converted to a default numerical value, instead of causing an exception to be thrown (default).
pDefaultFloatfloating-point default value to represent invalid numbers.
pDefaultIntegerinteger default value to represent invalid numbers.

The documentation for this struct was generated from the following file: