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

RWDBVendorDate

Module:  DB Interface Module   Group:  Bulk Classes


Does not inherit

Local Index

Members

Synopsis

#include <rw/db/dbdatevec.h>

RWDBDateVector dateVector = db.dateVector(n);
RWDBVendorDate date = dateVector[i];

Description

RWDBVendorDates are used to encapsulate vendor-specific date structures. RWDBDateVectors are arrays of RWDBVendorDates. Methods are provided to transfer date values between RWDBVendorDates and RWDBDateTimes.


NOTE -- Classes RWDBVendorDate and RWDBDateVector are deprecated. Please use classes RWDateTime and RWDBTBuffer<RWDateTime>.

RWDBVendorDate is designed around the Interface/Implementation paradigm. An RWDBVendorDate instance is an interface to a reference-counted implementation; copy constructors and assignment operators produce additional references to a shared implementation.

Example

In the following example a vector dateVector is produced. The vector is initialized with the current date and the following four days:

Copy Constructor

RWDBVendorDate(const RWDBVendorDate& date);

Public Member Operators

RWDBVendorDate& 
operator=(const RWDBVendorDate& date);
RWDBVendorDate& 
operator=(const RWDBDateTime& dt); 
operator RWDBDateTime();

Public Member Function

RWCString    
asString() const;


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.