Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWDBMultiRow



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

Synopsis

#include <rw/db/multirow.h>   

Description

Class RWDBMultiRow provides a mechanism by which a collection of bindable objects can be used with the RWDBValue/RWDBRow interface. These bindable objects are subclasses of RWDBAbstractBuffer, typically RWDBTBuffers. They can be manually created and appended to the RWDBMultiRow, or the RWDBMultiRow can create appropriate RWDBAbstractBuffers when given an RWDBSchema.

Although the internals may differ, you can think of RWDBMultiRow as possessing the following attributes:

Example

Please see Example 2 in the entry for RWDBOSql.

Public Constructors

RWDBMultiRow();
RWDBMultiRow(const RWDBMultiRow& rhs);
RWDBMultiRow(RWDBSchema &s, size_t rows);

Public Destructor

~RWDBMultiRow();

Public Member Operators

RWDBMultiRow& 
operator=(const RWDBMultiRow& r);
RWDBRow 
operator[](size_t i) const;
RWDBMultiRow& 
operator>>(RWDBAbstractBuffer& b);

Public Member Functions

void 
append(RWDBAbstractBuffer *p, RWBoolean ownership = TRUE);
const RWDBAbstractBuffer& 
buffer(size_t n) const;
RWDBAbstractBuffer& 
buffer(size_t n);
size_t 
entries() const;
size_t 
numberOfColumns() const;
RWDBSchema 
schema() const;


Previous fileTop of DocumentContentsIndexNext file

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