Member Functions | ||
operator char*() |
operator=() |
#include <rw/db/dbvector.h> RWDBDecimalVector decVector(width, length); RWDBDecimalVectorElement element = decVector[i];
RWDBDecimalVectorElements are used to encapsulate arrays of decimals stored in RWDBDecimalVectors. A method is provided for assigning the data held in RWDecimalPortables.
In the following example the ith element of vector decVector is assigned the data held in dec:
RWDBDecimalVector decVector(width,length); RWDecimalPortable dec("3.1415926"); decVector[i] = dec;
RWDBDecimalVectorElement& operator=(const RWDecimalPortable& val);
Assigns the data held in val to self.
RWDBDecimalVectorElement& operator=(const long val);
Assigns the data held in val to self.
RWDBDecimalVectorElement& operator=(const int val);
Assigns the data held in val to self.
operator char*();
Conversion operator. Returns the char* represented by self.
©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.