odbc::Bytes Class Reference

List of all members.

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.

Definition at line 226 of file types.h.

Public Member Functions

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


The documentation for this class was generated from the following files:
GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy