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

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

Definition at line 339 of file AnnotationTable.h.

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

00340     {
00341         if (dataSet == 0)
00342             return Dump(from, to);
00343 
00344         if (to == -1 || to > Size())
00345             to = Size();
00346         if (to < from)
00347             to = from;
00348         if (to <= from)
00349             return ;
00350 
00351         std::cout << "Dumping table from " << from << " to " << to
00352                   << " (table size=" << Size() << ", capacity=" << Capacity()
00353                   << ")" << std::endl;
00354         for (int i=0 ; i<2 ; i++)
00355             std::cout << i+1 << "=" << GetColName(i+1) << ", ";
00356         std::cout << std::endl;
00357         for (int i=from ; i<to ; i++)
00358         {
00359             Quid quid = Get1(i);
00360             std::cout << dataSet->QuidToString(quid, true) << ", " << Get2(i)
00361                       << std::endl;
00362         }
00363         std::cout << std::endl;
00364     }

Here is the call graph for this function:


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