#include <binarystring.hxx>
Inheritance diagram for pqxx::binarystring:
Public Types | |
typedef content_type | char_type |
typedef PGSTD::char_traits< char_type >::char_type | value_type |
typedef size_t | size_type |
typedef long | difference_type |
typedef const value_type & | const_reference |
typedef const value_type * | const_pointer |
typedef const_pointer | const_iterator |
Public Member Functions | |
binarystring (const result::field &F) | |
Read and unescape bytea field. | |
size_type | size () const throw () |
Size of converted string in bytes. | |
size_type | length () const throw () |
Size of converted string in bytes. | |
bool | empty () const throw () |
const_iterator | begin () const throw () |
const_iterator | end () const throw () |
const_reference | front () const throw () |
const_reference | back () const throw () |
const value_type * | data () const throw () |
Unescaped field contents. | |
const_reference | operator[] (size_type i) const throw () |
bool | operator== (const binarystring &) const throw () |
bool | operator!= (const binarystring &rhs) const throw () |
const_reference | at (size_type) const |
Index contained string, checking for valid index. | |
void | swap (binarystring &) |
Swap contents with other binarystring. | |
const char * | c_ptr () const throw () |
Raw character buffer (no terminating zero is added). | |
const PGSTD::string & | str () const |
Read as regular C++ string (may include null characters). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Read and unescape bytea field. The field will be zero-terminated, even if the original bytea field isn't.
|
|
Index contained string, checking for valid index.
|
|
|
|
|
|
Raw character buffer (no terminating zero is added).
Reimplemented from pqxx::internal::PQAlloc< unsigned char >. |
|
Unescaped field contents.
|
|
|
|
|
|
|
|
Size of converted string in bytes.
|
|
|
|
|
|
|
|
Size of converted string in bytes.
|
|
Read as regular C++ string (may include null characters). Caches string buffer to speed up repeated reads.
|
|
Swap contents with other binarystring.
|