Contents
Inheritance:
Constructors:
CsvSettings AbsCsvSettings *createCsvSettings(int f,int r,int s)
Members:
Motivation
Constructors
CsvSettings
Setzt die Member-Variablen wie folgt:
Constructor:
CsvSettings(int f,int r,int s)
Factory Method:
AbsCsvSettings *AbsCsvSettingsInterface::createCsvSettings(int f,int r,int s)
Wrapper Class:
CsvSettingsWrapper(int f,int r,int s)
The static method
AbsCsvSettingsInterface::createCsvSettings creates a new instance of class CsvSettings.
Parameters:
| int | f | | field_seperator |
| int | r | | record_seperator |
| int | s | | string_marker |
Return value:Returns an instance of
CsvSettings.
Members
field_seperator_in
Zeichen welches zwei Felder voneinander trennt. Zum Beispiel
,.
Dieses Trennzeichen wird beim einlesen der csv-Daten verwendet.
Signature:
int field_seperator_in;
Setter- and getter-methods:
Use the methods
get_field_seperator_in() and
set_field_seperator_in(int) to get and set the value of this member variable.
field_seperator_out
Zeichen welches zwei Felder voneinander trennt. Zum Beispiel
,.
Dieses Trennzeichen wird beim ausgeben der csv-Daten verwendet.
Signature:
int field_seperator_out;
Setter- and getter-methods:
Use the methods
get_field_seperator_out() and
set_field_seperator_out(int) to get and set the value of this member variable.
record_seperator_in
Zeichen welches zwei Zeilen voneinander trennt. Zum Beispiel
\n.
Dieses Trennzeichen wird beim einlesen der csv-Daten verwendet.
Signature:
int record_seperator_in;
Setter- and getter-methods:
Use the methods
get_record_seperator_in() and
set_record_seperator_in(int) to get and set the value of this member variable.
record_seperator_out
Zeichen welches zwei Zeilen voneinander trennt. Zum Beispiel
\n.
Dieses Trennzeichen wird beim ausgeben der csv-Daten verwendet.
Signature:
int record_seperator_out;
Setter- and getter-methods:
Use the methods
get_record_seperator_out() and
set_record_seperator_out(int) to get and set the value of this member variable.
string_marker_in
Zeichen welches zum markieren von Beginn und Ende von Strings verwendet wird. Zum Beispiel
".
Dieses Trennzeichen wird beim einlesen der csv-Daten verwendet.
Signature:
int string_marker_in;
Setter- and getter-methods:
Use the methods
get_string_marker_in() and
set_string_marker_in(int) to get and set the value of this member variable.
string_marker_out
Zeichen welches zum markieren von Beginn und Ende von Strings verwendet wird. Zum Beispiel
".
Dieses Trennzeichen wird beim ausgeben der csv-Daten verwendet.
Signature:
int string_marker_out;
Setter- and getter-methods:
Use the methods
get_string_marker_out() and
set_string_marker_out(int) to get and set the value of this member variable.