rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWDBBinaryVectorElement Class Reference
[Bulk Operations]

Deprecated. Encapsulates arrays of unsigned characters stored in RWDBBinaryVector instances. More...

#include <rw/db/dbvector.h>

List of all members.

Public Member Functions

RWDBBinaryVectorElementoperator= (const RWDBBlob &blob)
 operator unsigned char * ()
unsigned char * data () const

Detailed Description

Deprecated:
Please use classes RWDBBlob and RWDBTBuffer<RWDBBlob>.

RWDBBinaryVectorElement is used to encapsulate arrays of unsigned characters stored in RWDBBinaryVector instances. A method is provided for assigning the data held in RWDBBlob instances.

Synopsis

 #include <rw/db/dbvector.h>
 
 RWDBBinaryVector binaryVector(width, length);
 RWDBBinaryVectorElement element = binaryVector[i];

Examples

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;

Member Function Documentation

unsigned char* RWDBBinaryVectorElement::data (  )  const [inline]

Returns the unsigned char* represented by self.

RWDBBinaryVectorElement::operator unsigned char * (  )  [inline]

Conversion operator. Returns the unsigned char* represented by self.

RWDBBinaryVectorElement& RWDBBinaryVectorElement::operator= ( const RWDBBlob blob  )  [inline]

Assignment operator. Assigns the data held in blob to self.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© 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.