Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWDBVendorDate



Data Type and Member Function Indexes
(exclusive of constructors and destructors)

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.

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 DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.