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

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

Definition at line 321 of file FeatureTable.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(), GetFeatureVectorLength(), and Impala::Core::Table::Table::Size().

Referenced by Impala::Application::Table::DoDumpFeatureTable(), Impala::Core::Feature::FeatureTableSet::Dump(), and Dump().

00322     {
00323         if (to == -1 || to > Size())
00324             to = Size();
00325         if (to < from)
00326             to = from;
00327         std::cout << "Dumping table from " << from << " to " << to
00328                   << " (table size=" << Size() << ", capacity=" << Capacity()
00329                   << ", featureLen=" << GetFeatureVectorLength() << ")"
00330                   << std::endl;
00331         for (int i=0 ; i<2 ; i++)
00332             std::cout << i+1 << "=" << GetColName(i+1) << ", ";
00333         std::cout << std::endl;
00334         for (int i=from ; i<to ; i++)
00335         {
00336             std::cout << QuidObj(Get1(i)) << ", " << Get2(i) << std::endl;
00337         }
00338         std::cout << std::endl;
00339     }

Here is the call graph for this function:


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