Public Member Functions

UniquePairIndex< ROW > Class Template Reference

Unique pair of foreign key indexes for non-const rows. More...

#include <rdb/rdb.h>

Inherits RDB::IndexPairWrapper.

List of all members.

Public Member Functions


Detailed Description

template<class ROW>
class RDB::UniquePairIndex< ROW >

Unique pair of foreign key indexes for non-const rows.


Constructor & Destructor Documentation

UniquePairIndex (  )  [inline]

Default constructor.


Member Function Documentation

ForeignIndex<ROW> first (  )  const [inline]

Return the first foreign index from the pair.

ForeignIndex<ROW> second (  )  const [inline]

Return the second foreign index from the pair.

ROW* find ( int  firstKey,
int  secondKey 
) const [inline]

Find the row with the given pair of keys.