SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Holds an ordered collection of RWDBForeignKey instances. More...
#include <rw/db/forkey.h>
Public Member Functions | |
RWDBForeignKeyList () | |
RWDBForeignKey & | operator[] (size_t index) const |
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:
#include <rw/db/forkey.h> RWDBForeignKeyList aList; aStatus = aTable.foreignKeys( "targetTable", aList);
RWDBForeignKeyList::RWDBForeignKeyList | ( | ) |
The default constructor produces an empty RWDBForeignKeyList.
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.
© 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.