Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWDBDateVector



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

Synopsis

#include <rw/db/dbdatevec.h>
#include <rw/db/dbase.h>

RWDBDateVector dateVector = db.dateVector(n);

Description

RWDBDateVectors are used to transfer date values between the application and the database via RWDBBulkReaders and RWDBBulkInserters. Class RWDBDateVector implements basic vector methods and adds null processing capabilities similar to RWDBVector. RWDBDateVectors are produced by RWDBDatabase. The resulting RWDBDateVector elements are RWDBVendorDates of the type appropriate for the underlying database.

Example

In the following example, a vector dateVector is produced. The vector could later be used with either an RWDBBulkInserter or an RWDBBulkReader:

Public Member Operator

RWDBVendorDate 
operator[](size_t index) const;

Public Member Functions

size_t 
entries() const;
RWBoolean
isNull(size_t index) const;
size_t 
length() const;
void 
setNull(size_t index);
void 
unsetNull(size_t index);


Previous fileTop of DocumentContentsIndexNext file

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