#include "pqxx/libcompiler.h"#include <stdexcept>#include "pqxx/util"Include dependency graph for result.hxx:

Go to the source code of this file.
| Namespaces | |
| namespace | pqxx | 
| Typedefs | |
| typedef basic_fieldstream< char > | fieldstream | 
| Functions | |
| template<typename STREAM> | |
| STREAM & | operator<< (STREAM &S, const pqxx::result::field &F) | 
| Write a result field to any type of stream. | |
| template<typename T> | |
| void | from_string (const result::field &F, T &Obj) | 
| Convert a field's string contents to another type. | |
| template<> | |
| PGSTD::string | to_string (const result::field &Obj) | 
| Convert a field to a string. | |
| result::const_iterator | operator+ (result::const_iterator::difference_type o, result::const_iterator i) | 
| result::const_reverse_iterator | operator+ (result::const_reverse_iterator::difference_type n, const result::const_reverse_iterator &i) | 
| result::const_fielditerator | operator+ (result::const_fielditerator::difference_type o, result::const_fielditerator i) | 
| 
 | 
| 
 | 
| 
 | ||||||||||||||||
| Convert a field's string contents to another type. 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | ||||||||||||||||
| Write a result field to any type of stream. This can be convenient when writing a field to an output stream. More importantly, it lets you write a field to e.g. a stringstream which you can then use to read, format and convert the field in ways that to() does not support. Example: parse a field into a variable of the nonstandard "long long" type. 
 extern result R; long long L; stringstream S; // Write field's string into S S << R[0][0]; // Parse contents of S into L S >> L; | 
| 
 | ||||||||||
| Convert a field to a string. 
 | 
 1.4.2
 1.4.2