libpqxx
array.hxx
1 
11 #ifndef PQXX_H_ARRAY
12 #define PQXX_H_ARRAY
13 
14 #include "pqxx/compiler-public.hxx"
15 #include "pqxx/compiler-internal-pre.hxx"
16 
17 #include <stdexcept>
18 #include <string>
19 #include <utility>
20 
21 
22 namespace pqxx
23 {
25 
38 class PQXX_LIBEXPORT array_parser
39 {
40 public:
42  enum juncture
43  {
54  };
55 
57  explicit array_parser(const char input[]);
58 
60 
65  std::pair<juncture, std::string> get_next();
66 
67 private:
69  const char *m_pos;
70 };
71 } // namespace pqxx
72 
73 #include "pqxx/compiler-internal-post.hxx"
74 #endif
The home of all libpqxx classes, functions, templates, etc.
Definition: array.hxx:22
Found a NULL value.
Definition: array.hxx:49
Low-level array parser.
Definition: array.hxx:38
Ending the current row.
Definition: array.hxx:47
Parsing has completed.
Definition: array.hxx:53
Found a string value.
Definition: array.hxx:51
Starting a new row.
Definition: array.hxx:45
juncture
What&#39;s the latest thing found in the array?
Definition: array.hxx:42