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