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
12 class RUDIMENTS_DLLSPEC csvsax : public sax {
13 public:
14
16 csvsax();
17
19 virtual ~csvsax();
20
23 void setQuote(char quote);
24
27 char getQuote() const;
28
31 void setDelimiter(char delimiter);
32
34 char getDelimiter() const;
35
36 protected:
37
39 virtual bool headerStart();
40
42 virtual bool column(const char *name, bool quoted);
43
45 virtual bool headerEnd();
46
48 virtual bool bodyStart();
49
51 virtual bool rowStart();
52
54 virtual bool field(const char *value, bool quoted);
55
57 virtual bool rowEnd();
58
60 virtual bool bodyEnd();
61
62 #include <rudiments/private/csvsax.h>
63 };
64
65 #endif
csvsax
Definition: csvsax.h:12
csvsax::~csvsax
virtual ~csvsax()
csvsax::csvsax
csvsax()
csvsax::rowStart
virtual bool rowStart()
csvsax::bodyStart
virtual bool bodyStart()
csvsax::getDelimiter
char getDelimiter() const
csvsax::setQuote
void setQuote(char quote)
csvsax::setDelimiter
void setDelimiter(char delimiter)
csvsax::headerStart
virtual bool headerStart()
csvsax::field
virtual bool field(const char *value, bool quoted)
csvsax::headerEnd
virtual bool headerEnd()
csvsax::column
virtual bool column(const char *name, bool quoted)
csvsax::getQuote
char getQuote() const
csvsax::bodyEnd
virtual bool bodyEnd()
csvsax::rowEnd
virtual bool rowEnd()
sax
Definition: sax.h:12