libpqxx  7.0.2
types.hxx
1 /* Basic type aliases and forward declarations.
2  *
3  * Copyright (c) 2000-2020, Jeroen T. Vermeulen
4  *
5  * See COPYING for copyright license. If you did not receive a file called
6  * COPYING with this source code, please notify the distributor of this
7  * mistake, or contact the author.
8  */
9 #ifndef PQXX_H_TYPES
10 #define PQXX_H_TYPES
11 
12 #include <cstddef>
13 #include <cstdint>
14 
15 namespace pqxx
16 {
18 using result_size_type = int;
19 
22 
24 using row_size_type = int;
25 
27 using row_difference_type = int;
28 
30 using field_size_type = size_t;
31 
33 using large_object_size_type = int64_t;
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 connection;
43 class const_row_iterator;
44 class dbtransaction;
45 class field;
46 class largeobjectaccess;
48 struct range_error;
49 class result;
50 class row;
51 class stream_from;
52 class transaction_base;
53 } // namespace pqxx
54 
55 #endif
pqxx::row
Reference to one row in a result.
Definition: row.hxx:38
pqxx::result_size_type
int result_size_type
Number of rows in a result set.
Definition: types.hxx:18
pqxx
The home of all libpqxx classes, functions, templates, etc.
Definition: array.hxx:25
pqxx::largeobjectaccess
Accessor for large object's contents.
Definition: largeobject.hxx:147
pqxx::field_size_type
size_t field_size_type
Number of bytes in a field of database data.
Definition: types.hxx:30
pqxx::const_reverse_result_iterator
Reverse iterator for result. Use as result::const_reverse_iterator.
Definition: result_iterator.hxx:147
pqxx::result
Result set containing data returned by a query or command.
Definition: result.hxx:70
pqxx::result_difference_type
int result_difference_type
Difference between result sizes.
Definition: types.hxx:21
pqxx::notification_receiver
Definition: notification.hxx:55
pqxx::range_error
Something is out of range, similar to std::out_of_range.
Definition: except.hxx:192
pqxx::dbtransaction
Abstract transaction base class: bracket transactions on the database.
Definition: dbtransaction.hxx:52
pqxx::transaction_base
Interface definition (and common code) for "transaction" classes.
Definition: transaction_base.hxx:97
pqxx::row_difference_type
int row_difference_type
Difference between row sizes.
Definition: types.hxx:27
pqxx::const_row_iterator
Iterator for fields in a row. Use as row::const_iterator.
Definition: row.hxx:203
pqxx::stream_from
Efficiently pull data directly out of a table.
Definition: stream_from.hxx:30
pqxx::connection
Connection to a database.
Definition: connection.hxx:135
pqxx::row_size_type
int row_size_type
Number of fields in a row of database data.
Definition: types.hxx:24
pqxx::field
Reference to a field in a result set.
Definition: field.hxx:32
pqxx::const_result_iterator
Iterator for rows in a result. Use as result::const_iterator.
Definition: result_iterator.hxx:35
pqxx::large_object_size_type
int64_t large_object_size_type
Number of bytes in a large object.
Definition: types.hxx:33
pqxx::const_reverse_row_iterator
Reverse iterator for a row. Use as row::const_reverse_iterator.
Definition: row.hxx:300
pqxx::binarystring
Binary data corresponding to PostgreSQL's "BYTEA" binary-string type.
Definition: binarystring.hxx:53