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

ScoreTable.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Table_ScoreTable_h
00002 #define Impala_Core_Table_ScoreTable_h
00003 
00004 #include "Core/Table/QuidTable.h"
00005 #include "Core/Table/Copy.h"
00006 
00007 namespace Impala
00008 {
00009 namespace Core
00010 {
00011 namespace Table
00012 {
00013 
00014 
00015 typedef TableTem<Column::ColumnTem<Quid>,
00016                  Column::ColumnTem<Real64> >
00017         ScoreTableBaseType;
00018 
00019 
00020 class ScoreTable : public ScoreTableBaseType
00021 {
00022 public:
00023     typedef Column::ColumnTem<Real64> ColumnReal64;
00024     typedef Column::ColumnTem<Quid> ColumnQuid;
00025 
00026     ScoreTable() :
00027         ScoreTableBaseType(ColumnQuid(0), ColumnReal64(0))
00028     {
00029     }
00030 
00031     Core::Table::QuidTable*
00032     GetQuidTable()
00033     {
00034         Core::Table::QuidTable* t = new Core::Table::QuidTable(Size());
00035         Copy(t->GetColumn1(), GetColumn1(), Size(), 0, 0);
00036         t->SetSize(Size());
00037         return t;
00038     }
00039 };
00040 
00041 } //namespace Table
00042 } //namespace Core
00043 } //namespace Impala
00044 
00045 #endif

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