Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
DB Interface Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWDBDecimalVectorElement

Module:  DB Interface Module   Group:  Bulk Classes


Does not inherit

Local Index

Members

Synopsis

#include <rw/db/dbvector.h>

RWDBDecimalVector decVector(width, length); 
RWDBDecimalVectorElement element = decVector[i];

Description

RWDBDecimalVectorElements are used to encapsulate arrays of decimals stored in RWDBDecimalVectors. A method is provided for assigning the data held in RWDecimalPortables.


NOTE -- Classes RWDBDecimalVectorElement andRWDBDecimalVector are deprecated. Please use classes RWDecimalPortable and RWDBTBuffer<RWDecimalPortable>.

Example

In the following example the ith element of vector decVector is assigned the data held in dec:

Public Member Operators

RWDBDecimalVectorElement& 
operator=(const RWDecimalPortable& val);
RWDBDecimalVectorElement& 
operator=(const long val);
RWDBDecimalVectorElement& 
operator=(const int val);
operator char*();


Previous fileTop of DocumentContentsIndex pageNext file

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