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
{
50
row_start
,
52
row_end
,
54
null_value
,
56
string_value
,
58
done
,
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
pqxx::array_parser::row_start
Starting a new row.
Definition:
array.hxx:50
pqxx::array_parser::string_value
Found a string value.
Definition:
array.hxx:56
pqxx::array_parser::juncture
juncture
What's the latest thing found in the array?
Definition:
array.hxx:47
pqxx::array_parser::null_value
Found a NULL value.
Definition:
array.hxx:54
pqxx::array_parser::row_end
Ending the current row.
Definition:
array.hxx:52
pqxx
The home of all libpqxx classes, functions, templates, etc.
Definition:
array.hxx:22
pqxx::array_parser::done
Parsing has completed.
Definition:
array.hxx:58
pqxx::array_parser
Low-level array parser.
Definition:
array.hxx:43
include
pqxx
array.hxx
Generated by
1.8.13