Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

virtual int Impala::Core::Trec::ThreadBookmarked::GetShotAt ( int  shot,
int  offset 
) [inline, virtual]

Implements Impala::Core::Trec::Thread.

Definition at line 44 of file ThreadBookmarked.h.

References Impala::Core::Column::Find(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get1(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::GetColumn1(), mBookmarked, and Impala::Core::Table::Table::Size().

00045     {
00046         int r = Column::Find(mBookmarked->GetColumn1(), shot, 0,
00047                                 mBookmarked->Size());
00048         int dst = r + offset;
00049         if ((dst < 0) || (dst >= mBookmarked->Size()))
00050             return -1;
00051         return mBookmarked->Get1(dst);
00052     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:21:30 2011 for ImpalaSrc by  doxygen 1.5.1