|
Multi diag tools
|
CSV parser settings. More...
#include <CsvParserSettings.h>
Inheritance diagram for Mdt::PlainText::CsvParserSettings:
Collaboration diagram for Mdt::PlainText::CsvParserSettings:Public Member Functions | |
| CsvParserSettings () | |
| Construct default settings. | |
| CsvParserSettings (const CsvParserSettings &other)=default | |
| Construct settings as a copy of other. | |
| CsvParserSettings & | operator= (const CsvParserSettings &other)=default |
| Construct settings as a copy of other. | |
| CsvParserSettings (CsvParserSettings &&other)=default | |
| Construct settings as a copy of other. | |
| CsvParserSettings & | operator= (CsvParserSettings &&other)=default |
| Construct settings as a copy of other. | |
| void | setParseExp (bool parse) |
| Set if Excel protection marker will be parsed. More... | |
| bool | parseExp () const |
| Check if Excel protection marker will be parsed. More... | |
| bool | isValid () const |
| Check if settings are valid. More... | |
| void | clear () |
| Clear. More... | |
CSV parser settings.
Definition at line 31 of file CsvParserSettings.h.
| void Mdt::PlainText::CsvParserSettings::clear | ( | ) |
| bool Mdt::PlainText::CsvParserSettings::isValid | ( | ) | const |
Check if settings are valid.
If this settings is not valid, use lastError() to get what is wrong.
Definition at line 34 of file CsvParserSettings.cpp.
|
inline |
Check if Excel protection marker will be parsed.
The Excel protection marker (EXP) is explained in CSV-1203 standard, ยง10.
When parseExp is true, when a field begins with a ~ (=EXP), it will not be stored in resulting data.
The ability to not parse EXP is a non standard extention.
Definition at line 79 of file CsvParserSettings.h.
| void Mdt::PlainText::CsvParserSettings::setParseExp | ( | bool | parse | ) |
Set if Excel protection marker will be parsed.
Definition at line 29 of file CsvParserSettings.cpp.
1.8.11