Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
DB Interface Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWDBBinaryVectorElement

Module:  DB Interface Module   Group:  Bulk Classes


Does not inherit

Local Index

Members

Synopsis

#include <rw/db/dbvector.h>

RWDBBinaryVector binaryVector(width, length); 
RWDBBinaryVectorElement element = binaryVector[i];

Description

RWDBBinaryVectorElements are used to encapsulate arrays of unsigned characters stored in RWDBBinaryVectors. A method is provided for assigning the data held in RWDBBlobs.


NOTE -- Classes RWDBBinaryVectorElement and RWDBBinaryVector are deprecated. Please use classes RWDBBlob and RWDBTBuffer<RWDBBlob>.

Example

In the following example the ith element of vector binaryVector is assigned the data held in ablob:

Public Member Operators

RWDBBinaryVectorElement& 
operator=(const RWDBBlob& blob);
operator unsigned char*();

Public Member Function

unsigned char*
data() const;


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright 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.
Contact Rogue Wave about documentation or support issues.