Member Functions | |||
data() |
operator char*() |
operator=() |
#include <rw/db/dbvector.h> RWDBStringVector stringVector(width, length); RWDBStringVectorElement element = stringVector[i];
RWDBStringVectorElements are used to encapsulate arrays of characters stored in RWDBStringVectors. A method is provided for assigning the data held in RWCStrings.
In the following example the ith element of vector stringVector is assigned the data held in astring:
RWDBStringVector stringVector(width,length); RWCString astring; stringVector[i] = astring;
RWDBStringVectorElement& operator=(const RWCString& string);
Assigns the data held in string to self.
operator char*();
Conversion operator. Returns the 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.