SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
List of all members | Public Member Functions
RWDBBinaryVectorElement Class Reference

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

#include <rw/db/dbvector.h>

Public Member Functions

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

Detailed Description

Deprecated:
As of SourcePro 6, use RWDBBlob along with RWDBTBuffer<RWDBBlob> instead.

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];
Example

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.

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