cphot 0.1
A C++ tool for computing photometry from spectra.
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). More...
 
long double mDefaultFloat
 floating-point default value to represent invalid numbers. More...
 
long long mDefaultInteger
 integer default value to represent invalid numbers. More...
 

Detailed Description

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

Definition at line 49 of file rapidcsv.hpp.

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.

Definition at line 59 of file rapidcsv.hpp.

Member Data Documentation

◆ mDefaultFloat

long double rapidcsv::ConverterParams::mDefaultFloat

floating-point default value to represent invalid numbers.

Definition at line 77 of file rapidcsv.hpp.

◆ mDefaultInteger

long long rapidcsv::ConverterParams::mDefaultInteger

integer default value to represent invalid numbers.

Definition at line 82 of file rapidcsv.hpp.

◆ 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 72 of file rapidcsv.hpp.


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