Public Member Functions

UniquePairConstIndex< ROW > Class Template Reference

Unique pair of foreign key indexes for constant rows. More...

#include <rdb/rdb.h>

Inherits RDB::IndexPairWrapper.

List of all members.

Public Member Functions


Detailed Description

template<class ROW>
class RDB::UniquePairConstIndex< ROW >

Unique pair of foreign key indexes for constant rows.


Constructor & Destructor Documentation

UniquePairConstIndex (  )  [inline]

Default constructor.

UniquePairConstIndex ( const UniquePairIndex< ROW > &  other  )  [inline]

Conversion from a typed index.


Member Function Documentation

ForeignConstIndex<ROW> first (  )  const [inline]

Return the first foreign index from the pair.

ForeignConstIndex<ROW> second (  )  const [inline]

Return the second foreign index from the pair.

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

Find the row with the given pair of keys.