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

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

Definition at line 397 of file AnnotationTable.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 >::Get2(), 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::AnnotationTableSet::Dump(), Dump(), Impala::Core::Table::Bayes::InitializeConceptAnnoTables(), and Impala::Core::Table::Bayes::InitializeGenreAnnoTables().

00398     {
00399         if (to == -1 || to > Size())
00400             to = Size();
00401         if (to < from)
00402             to = from;
00403         if (to <= from)
00404             return ;
00405 
00406         std::cout << "Dumping table from " << from << " to " << to
00407                   << " (table size=" << Size() << ", capacity=" << Capacity()
00408                   << ")" << std::endl;
00409         for (int i=0 ; i<2 ; i++)
00410             std::cout << i+1 << "=" << GetColName(i+1) << ", ";
00411         std::cout << std::endl;
00412         for (int i=from ; i<to ; i++)
00413         {
00414             std::cout << QuidObj(Get1(i)) << ", " << Get2(i) << std::endl;
00415         }
00416         std::cout << std::endl;
00417     }

Here is the call graph for this function:


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