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

template<class Table>
void Impala::Core::Table::SetQuidSet ( Table *  t,
int  setId 
)

Set the setid of all quids in the table.

This is hackish and unsafe. This function enables one to use a table from another dataset as if it came from the set itself.

Table must be of type TableTem with Col1ElemType == Quid.

Definition at line 21 of file SetQuidSet.h.

References Impala::MakeQuid(), Impala::QuidClass(), Impala::QuidId(), and Impala::QuidObject().

Referenced by Impala::Application::Repository::DoSetQuidSetFeatureTable().

00022 {
00023     for (int i=0 ; i<t->Size() ; i++)
00024     {
00025         Quid q = t->Get1(i);
00026         t->Set1(i, MakeQuid(QuidClass(q), setId, QuidObject(q), QuidId(q)));
00027     }
00028 }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:42 2011 for ImpalaSrc by  doxygen 1.5.1