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

RWDBRow

Module:  DB Interface Module   Group:  Utility and Diagnostics Classes


RWDBRow RWCollectable

Local Index

Members

Synopsis

#include <rw/db/row.h>

RWDBRow& r = myMemTable[i];

Description

RWDBRow is an ordered collection of RWDBValues. RWDBRow is a relatively low level construct used by the DB Interface Module to store a row of data on its way to or from the database. It is visible to applications for two reasons:

The only semantics that RWDBRow adds to RWCollectable are:

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

Public Constructors

RWDBRow();
RWDBRow(const RWDBRow& rvalue);

Public Destructor

virtual ~RWDBRow();

Public Member Operators

RWDBRow& 
operator=(const RWDBRow& rvalue);
RWDBValue&
operator[](size_t index) const;

Public Member Functions

virtual void
append(const RWDBValue& value);
virtual size_t
entries();
virtual void
clearAndDestroy();


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.