SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Deprecated. Encapsulates arrays of characters stored in RWDBStringVector objects. More...
#include <rw/db/dbvector.h>
Public Member Functions | |
RWDBStringVectorElement & | operator= (const RWCString &s) |
operator char * () | |
char * | data () const |
RWDBStringVectorElement objects are used to encapsulate arrays of characters stored in RWDBStringVector objects. A method is provided for assigning the data held in instances of RWCString.
#include <rw/db/dbvector.h> RWDBStringVector stringVector(width, length); RWDBStringVectorElement element = stringVector[i];
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;
char* RWDBStringVectorElement::data | ( | ) | const [inline] |
Returns the char*
represented by self.
RWDBStringVectorElement::operator char * | ( | ) | [inline] |
Conversion operator. Returns the char*
represented by self.
RWDBStringVectorElement& RWDBStringVectorElement::operator= | ( | const RWCString & | s | ) | [inline] |
Assigns the data held in s to 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.