rapidcsv::Converter
#include <rapidcsv.h>
Public Member Functions | |
Converter (const ConverterParams &pConverterParams) | |
void | ToStr (const std::string &pVal, std::string &pStr) const |
void | ToStr (const T &pVal, std::string &pStr) const |
void | ToVal (const std::string &pStr, QString &pVal) const |
void | ToVal (const std::string &pStr, std::string &pVal) const |
void | ToVal (const std::string &pStr, T &pVal) const |
void | ToVal (const std::string &pStr, typed_dms< coord_unit::deg > &pVal) const |
void | ToVal (const std::string &pStr, typed_dms< coord_unit::hours > &pVal) const |
Detailed Description
class rapidcsv::Converter< T >
Class providing conversion to/from numerical datatypes and strings.
Only intended for rapidcsv internal usage, but exposed externally to allow specialization for custom datatype conversions.
Definition at line 95 of file rapidcsv.h.
Constructor & Destructor Documentation
◆ Converter()
|
inline |
Constructor.
- Parameters
-
pConverterParams specifies how conversion of non-numerical values to numerical datatype shall be handled.
Definition at line 103 of file rapidcsv.h.
Member Function Documentation
◆ ToStr() [1/2]
|
inline |
Specialized implementation handling string to string conversion.
- Parameters
-
pVal string pStr string
Definition at line 237 of file rapidcsv.h.
◆ ToStr() [2/2]
|
inline |
Converts numerical value to string representation.
- Parameters
-
pVal numerical value pStr output string
Definition at line 113 of file rapidcsv.h.
◆ ToVal() [1/5]
|
inline |
Definition at line 65 of file catalogcsvimport.h.
◆ ToVal() [2/5]
|
inline |
Specialized implementation handling string to string conversion.
- Parameters
-
pVal string pStr string
Definition at line 249 of file rapidcsv.h.
◆ ToVal() [3/5]
|
inline |
Converts string holding a numerical value to numerical datatype representation.
- Parameters
-
pVal numerical value pStr output string
Definition at line 137 of file rapidcsv.h.
◆ ToVal() [4/5]
|
inline |
Definition at line 48 of file catalogcsvimport.h.
◆ ToVal() [5/5]
|
inline |
Definition at line 57 of file catalogcsvimport.h.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:53:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.