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 }
00032 }
00033 }
00034
00035 #endif