Rudiments
csvsax.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
4#ifndef RUDIMENTS_CSVSAX_H
5#define RUDIMENTS_CSVSAX_H
6
7#include <rudiments/private/csvsaxincludes.h>
8
12class RUDIMENTS_DLLSPEC csvsax : public sax {
13 public:
14
17
19 virtual ~csvsax();
20
23 void setQuote(char quote);
24
27 char getQuote();
28
31 void setDelimiter(char delimiter);
32
35
36 protected:
37
45 virtual bool headerStart();
46
54 virtual bool column(const char *name, bool quoted);
55
63 virtual bool headerEnd();
64
72 virtual bool bodyStart();
73
81 virtual bool recordStart();
82
90 virtual bool field(const char *value, bool quoted);
91
99 virtual bool recordEnd();
100
108 virtual bool bodyEnd();
109
110 #include <rudiments/private/csvsax.h>
111};
112
113#endif
Definition csvsax.h:12
virtual ~csvsax()
virtual bool bodyStart()
void setQuote(char quote)
void setDelimiter(char delimiter)
virtual bool recordStart()
char getQuote()
char getDelimiter()
virtual bool headerStart()
virtual bool field(const char *value, bool quoted)
virtual bool headerEnd()
virtual bool recordEnd()
virtual bool column(const char *name, bool quoted)
virtual bool bodyEnd()
Definition sax.h:12