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

SetQuidSet.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Table_SetQuidSet_h
00002 #define Impala_Core_Table_SetQuidSet_h
00003 
00004 #include "Core/Table/TableTem.h"
00005 
00006 namespace Impala
00007 {
00008 namespace Core
00009 {
00010 namespace Table
00011 {
00012 
00019 template <class Table> 
00020 void
00021 SetQuidSet(Table* t, int setId)
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 }
00029 
00030 
00031 } // namespace Table
00032 } // namespace Core
00033 } // namespace Impala
00034 
00035 #endif

Generated on Thu Jan 13 09:04:38 2011 for ImpalaSrc by  doxygen 1.5.1