Home || Visual Search || Applications || Architecture || 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 420 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().

00421     {
00422         if (dataSet == 0)
00423             return Dump(from, to);
00424 
00425         if (to == -1 || to > Size())
00426             to = Size();
00427         if (to < from)
00428             to = from;
00429         if (to <= from)
00430             return ;
00431 
00432         std::cout << "Dumping table from " << from << " to " << to
00433                   << " (table size=" << Size() << ", capacity=" << Capacity()
00434                   << ")" << std::endl;
00435         for (int i=0 ; i<2 ; i++)
00436             std::cout << i+1 << "=" << GetColName(i+1) << ", ";
00437         std::cout << std::endl;
00438         for (int i=from ; i<to ; i++)
00439         {
00440             Quid quid = Get1(i);
00441             std::cout << dataSet->QuidToString(quid, true) << ", " << Get2(i)
00442                       << std::endl;
00443         }
00444         std::cout << std::endl;
00445     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:45 2011 for ImpalaSrc by  doxygen 1.5.1