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

virtual void Impala::Core::Table::QuidTable::Dump ( Database::RawDataSet dataSet,
int  from = 0,
int  to = -1 
) [inline, virtual]

Definition at line 136 of file QuidTable.h.

References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Capacity(), 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 >::GetColName(), and Impala::Core::Table::Table::Size().

Referenced by Impala::Core::Table::SimilarityTableSet::SetSimTable().

00137     {
00138         if (to == -1 || to > Size())
00139             to = Size();
00140         if (to < from)
00141             to = from;
00142         std::cout << "Dumping table from " << from << " to " << to
00143                   << " (table size=" << Size() << ", capacity=" << Capacity()
00144                   << ")" << std::endl;
00145         for (int i=0 ; i<1 ; i++)
00146             std::cout << i+1 << "=" << GetColName(i+1) << ", ";
00147         std::cout << std::endl;
00148         for (int i=from ; i<to ; i++)
00149         {
00150             Quid quid = Get1(i);
00151             if (dataSet)
00152                 std::cout << dataSet->QuidToString(quid, true) << std::endl;
00153             else
00154                 std::cout << QuidObj(quid) << std::endl;
00155         }
00156         std::cout << std::endl;
00157     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:20:42 2010 for ImpalaSrc by  doxygen 1.5.1