rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWDBForeignKeyList Class Reference
[Databases]

Holds an ordered collection of RWDBForeignKey instances. More...

#include <rw/db/forkey.h>

Inheritance diagram for RWDBForeignKeyList:
RWOrdered RWSequenceable RWCollection RWCollectable

List of all members.

Public Member Functions

 RWDBForeignKeyList ()
RWDBForeignKeyoperator[] (size_t index) const

Detailed Description

RWDBForeignKeyList is an ordered collection of RWDBForeignKey instances. RWDBForeignKeyList is a relatively low-level construct used by the DB Interface Module as an input/output parameter in the functions RWDBTable::foreignKeys() and RWDBTable::referredToBy().

All RWDBForeignKeyList methods are inherited from RWOrdered. Please see the Essential Tools Module Reference Guide for RWOrdered methods. The only semantics that RWDBForeignKeyList adds to RWOrdered are:

Synopsis

 #include <rw/db/forkey.h>
 RWDBForeignKeyList aList;

 aStatus = aTable.foreignKeys( "targetTable", aList);

Constructor & Destructor Documentation

RWDBForeignKeyList::RWDBForeignKeyList (  ) 

The default constructor produces an empty RWDBForeignKeyList.


Member Function Documentation

RWDBForeignKey& RWDBForeignKeyList::operator[] ( size_t  index  )  const

Returns a reference to the RWDBForeignKey at a position index in self. The call is forwarded to RWOrdered, which throws an exception of type RWBoundsErr if the index is out of range.

Reimplemented from RWOrdered.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© 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.