Member Functions | ||
data() |
operator=() |
operator unsigned char*() |
#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 RWDBlobs.
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 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.