libodbc++  0.2.5
Public Member Functions | List of all members
odbc::Bytes Class Reference

A chunk of bytes. More...

#include <types.h>

Public Member Functions

 Bytes ()
 Default constructor.
 
 Bytes (const ODBCXX_SIGNED_CHAR_TYPE *data, size_t dataLen)
 Constructor.
 
 Bytes (const Bytes &b)
 Copy constructor.
 
Bytesoperator= (const Bytes &b)
 Assignment.
 
bool operator== (const Bytes &b) const
 Comparison.
 
 ~Bytes ()
 Destructor.
 
const ODBCXX_SIGNED_CHAR_TYPE * getData () const
 Returns a pointer to the data.
 
size_t getSize () const
 Returns the size of the data.
 

Detailed Description

A chunk of bytes.

Used for setting and getting binary values.

Warning
This class uses reference counting. An instance that is referred to from different threads is likely to cause trouble.

The documentation for this class was generated from the following file:

Go back to the libodbc++ homepage