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

RWDBMultiRow

Module:  DB Interface Module   Group:  Open SQL Classes


Does not inherit

Local Index

Members

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=1);

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, bool ownership = true);
RWDBAbstractBuffer& 
bufferAt(size_t index) const;
size_t 
entries() const;
size_t 
numberOfColumns() const;
RWDBSchema 
schema() 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.