Module: DB Interface Module Group: Bulk Classes
Does not inherit
#include <rw/db/dbvector.h> RWDBBinaryVector binaryVector(width, length); RWDBBinaryVectorElement element = binaryVector[i];
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>.
In the following example the ith element of vector binaryVector is assigned the data held in ablob:
RWDBBinaryVector binaryVector(width,length); RWDBBlob ablob; binaryVector[i] = ablob;
RWDBBinaryVectorElement& operator=(const RWDBBlob& blob);
Assignment operator. Assigns the data held in blob to self.
operator unsigned char*();
Conversion operator. Returns the unsigned char* represented by self.
unsigned char* data() const;
Returns the unsigned char* represented by self.
© 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.