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 
43 class PQXX_LIBEXPORT array_parser
44 {
45 public:
47  enum juncture
48  {
59  };
60 
62  explicit array_parser(const char input[]);
63 
65 
70  std::pair<juncture, std::string> get_next();
71 
72 private:
74  const char *m_pos;
75 };
76 } // namespace pqxx
77 
78 #include "pqxx/compiler-internal-post.hxx"
79 #endif
Starting a new row.
Definition: array.hxx:50
Found a string value.
Definition: array.hxx:56
juncture
What&#39;s the latest thing found in the array?
Definition: array.hxx:47
Found a NULL value.
Definition: array.hxx:54
Ending the current row.
Definition: array.hxx:52
The home of all libpqxx classes, functions, templates, etc.
Definition: array.hxx:22
Parsing has completed.
Definition: array.hxx:58
Low-level array parser.
Definition: array.hxx:43