SourcePro C++ 13.0 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Deprecated. Used as a buffer when transferring data between the application and the database. More...
#include <rw/db/dbvector.h>
Additional Inherited Members | |
Public Member Functions inherited from RWDBTBuffer< T > | |
RWDBTBuffer (RWSize_T entries=1, RWSize_T width=0) | |
RWDBTBuffer (T *data, RWSize_T entries=1, RWSize_T width=0) | |
RWDBTBuffer (T *data, RWDBNullIndicator *indicator, RWSize_T entries=1, RWSize_T width=0) | |
virtual | ~RWDBTBuffer () |
size_t | entries () const |
bool | isNull (size_t index) const |
const T & | operator[] (size_t index) const |
T & | operator[] (size_t index) |
void | paramType (RWDBColumn::ParamType newType) |
RWDBColumn::ParamType | paramType () const |
void | setData (const T &newData) |
void | setData (size_t index, const T &newData) |
void | setNull () |
void | setNull (size_t index) |
void | unsetNull () |
void | unsetNull (size_t index) |
Class RWDBVector<T> is derived from RWDBTBuffer<T> and is used to transfer data between the application and the database via classes RWDBBulkReader and RWDBBulkInserter.
The following example uses an RWDBVector<int> to insert an array of integers into a table. The 5th element in the array is inserted as NULL
.
Copyright © 2014 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.