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

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

Definition at line 394 of file FeatureTable.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().

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

Here is the call graph for this function:


Generated on Thu Jan 13 09:19:10 2011 for ImpalaSrc by  doxygen 1.5.1