This documenta- tion describes the current state of development.
Note that interfaces and functionality may still change.

Prokee Modules:
  A
  B
  C
  D
  E
  F
  G
  I
  L
  M
  N
  O
  P
  R
  S
  T
  U
  W

     open all    |    close all

GUI Elements:
  B
  C
  I
  M
  P
  R
  S
  T

     open all    |    close all

GUI Interactions:
  B
  F
  H
  S

     open all    |    close all

GUI Layouts:
  L

     open all    |    close all

Games/Demos:
  M

     open all    |    close all

Third Party Libraries:
  P
  F
  Z

     open all    |    close all

Information about this Website / Informationen zu dieser Webseite:
In case of any questions, or comments, please feel free to contact me via email at apoll500@gmail.com.

Module csv [Version: v01] (Interface AbsCsvRecord)

   [AbsCsvField]   [AbsCsvRecord]   [AbsCsvSettings]   [AbsCsvData]

Contents

Inheritance:
AbsCsvRecord
Implementations: CsvRecord

Constructors:
CsvRecord
AbsCsvRecord *createCsvRecord(AbsCsvData *d)

Methods:
load
int load(Reader *reader)
addField (version 1)
void addField()
get_record_size (version 1)
int get_record_size()
match (version 1)
int match(int col,const char *val)
match (version 2)
int match(const char *val)
getField
char *getField(int col)
getField_f
const char *getField_f(int col)
setField
bool setField(int col,const char *val)
getTab
AbsCsvData *getTab()
print (version 1)
void print(FILE *f)
print (version 2)
void print(FILE *f,int *col)
print_ln (version 1)
void print_ln(FILE *f)
print_ln (version 2)
void print_ln(FILE *f,int *col)

Motivation


Constructors

   CsvRecord


...

Constructor:
CsvRecord(AbsCsvData *d)

Factory Method:
AbsCsvRecord *AbsCsvRecordInterface::createCsvRecord(AbsCsvData *d)

Wrapper Class:
CsvRecordWrapper(AbsCsvData *d)

The static method AbsCsvRecordInterface::createCsvRecord creates a new instance of class CsvRecord.

Parameters:
Type Name Direction Description
AbsCsvData *dPointer to an instance of an implementation of AbsCsvData.
See csv:AbsCsvData.

Return value:
Returns an instance of CsvRecord.


Methods

   load


Loads csv data.

Signature:
int load(Reader *reader)

Parameters:
Type Name Direction Description
Reader *readerPointer to an instance of an implementation of Reader.
See reader:Reader.


Return value:
...

   addField (version 1)


...

Signature:
void addField()

Return value:
...

   get_record_size (version 1)


...

Signature:
int get_record_size()

Return value:
...

   match (version 1)


...

Signature:
int match(int col,const char *val)

Parameters:
Type Name Direction Description
int colDie Spaltennummer (Zählung beginnend mit 0).
const char *val[IN]Value to be stored in filed specified by row and col.


Return value:
...

   match (version 2)


...

Signature:
int match(const char *val)

Parameters:
Type Name Direction Description
const char *val[IN]Value to be stored in filed specified by row and col.


Return value:
...

   getField


...

Signature:
char *getField(int col)

Parameters:
Type Name Direction Description
int colDie Spaltennummer (Zählung beginnend mit 0).


Return value:
Returns a pointer to the null-terminated string or NULL.

   getField_f


...

Signature:
const char *getField_f(int col)

Parameters:
Type Name Direction Description
int colDie Spaltennummer (Zählung beginnend mit 0).


Return value:
Returns a pointer to the null-terminated string or a empty string.

   setField


...

Signature:
bool setField(int col,const char *val)

Parameters:
Type Name Direction Description
int colDie Spaltennummer (Zählung beginnend mit 0).
const char *val[IN]Value to be stored in filed specified by row and col.


Return value:
...

   getTab


...

Signature:
AbsCsvData *getTab()

Return value:
...

   print (version 1)


...

Signature:
void print(FILE *f)

Parameters:
Type Name Direction Description
FILE *fHandle auf eine zum Schreiben geöffnete Datei.


Return value:
...

   print (version 2)


...

Signature:
void print(FILE *f,int *col)

Parameters:
Type Name Direction Description
FILE *fHandle auf eine zum Schreiben geöffnete Datei.
int *colNumber of the column


Return value:
...

   print_ln (version 1)


...

Signature:
void print_ln(FILE *f)

Parameters:
Type Name Direction Description
FILE *fHandle auf eine zum Schreiben geöffnete Datei.


Return value:
...

   print_ln (version 2)


...

Signature:
void print_ln(FILE *f,int *col)

Parameters:
Type Name Direction Description
FILE *fHandle auf eine zum Schreiben geöffnete Datei.
int *colNumber of the column


Return value:
...


Copyright © 2017 - 2019 by Andreas Pollhammer