libpqxx
types.hxx
1 
10 #ifndef PQXX_H_TYPES
11 #define PQXX_H_TYPES
12 
13 #include <cstddef>
14 
15 namespace pqxx
16 {
18 using result_size_type = unsigned long;
19 
21 using result_difference_type = signed long;
22 
24 using row_size_type = unsigned int;
25 
27 using row_difference_type = signed int;
28 
30 using field_size_type = std::size_t;
31 
34 
35 
36 // Forward declarations, to help break compilation dependencies.
37 // These won't necessarily include all classes in libpqxx.
38 class binarystring;
39 class connectionpolicy;
40 class connection_base;
44 class const_row_iterator;
45 class dbtransaction;
46 class field;
47 class largeobjectaccess;
49 class range_error;
50 class result;
51 class row;
52 class tablereader;
53 class transaction_base;
54 
55 } // namespace pqxx
56 
57 #endif
Binary data corresponding to PostgreSQL&#39;s "BYTEA" binary-string type.
Definition: binarystring.hxx:53
Accessor for large object&#39;s contents.
Definition: largeobject.hxx:137
Definition: connectionpolicy.hxx:31
Reference to one row in a result.
Definition: row.hxx:40
Something is out of range, similar to std::out_of_range.
Definition: except.hxx:249
Reverse iterator for result. Use as result::const_reverse_iterator.
Definition: result_iterator.hxx:125
The home of all libpqxx classes, functions, templates, etc.
Definition: array.hxx:22
Reverse iterator for a row. Use as row::const_reverse_iterator.
Definition: row.hxx:288
Iterator for rows in a result. Use as result::const_iterator.
Definition: result_iterator.hxx:35
long large_object_size_type
Number of bytes in a large object. (Unusual: it&#39;s signed.)
Definition: types.hxx:33
Iterator for fields in a row. Use as row::const_iterator.
Definition: row.hxx:207
Abstract base class responsible for bracketing a backend transaction.
Definition: dbtransaction.hxx:62
Result set containing data returned by a query or command.
Definition: result.hxx:67
Interface definition (and common code) for "transaction" classes.
Definition: transaction_base.hxx:130
Definition: notification.hxx:53
Definition: tablereader.hxx:28
unsigned int row_size_type
Number of fields in a row of database data.
Definition: types.hxx:24
signed long result_difference_type
Difference between result sizes.
Definition: types.hxx:21
unsigned long result_size_type
Number of rows in a result set.
Definition: types.hxx:18
connection_base abstract base class; represents a connection to a database.
Definition: connection_base.hxx:138
Reference to a field in a result set.
Definition: field.hxx:41
std::size_t field_size_type
Number of bytes in a field of database data.
Definition: types.hxx:30
signed int row_difference_type
Difference between row sizes.
Definition: types.hxx:27