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

void Impala::Core::Database::RawDataSet::Dump ( int  startDir,
int  endDir,
int  startFile,
int  endFile 
) [inline]

Definition at line 871 of file RawDataSet.h.

References GetDir(), GetDirOfFile(), GetFile(), GetFileId(), GetFirstFileId(), GetNrFiles(), GetSection(), GetSectionOfFile(), mHasFiles, NrDirs(), and NrFiles().

00872     {
00873         if (endDir == -1)
00874             endDir = NrDirs();
00875         std::cout << "Dumping dirs from " << startDir << " to " << endDir
00876                   << " (of " << NrDirs() << ")" << std::endl;
00877         for (int i=startDir ; i<endDir ; i++)
00878             std::cout << "dir=" << i << ": " << GetSection(i) << " "
00879                       << GetDir(i) << ": nr files = " << GetNrFiles(i)
00880                       << ", first file = " << GetFirstFileId(i) << std::endl;
00881         if (!mHasFiles)
00882         {
00883             std::cout << "Does not have files" << std::endl;
00884             return;
00885         }
00886         if (startFile == -1)
00887         {
00888             std::cout << "Skipping files" << std::endl;
00889             return;
00890         }
00891         if (endFile == -1)
00892             endFile = NrFiles();
00893         std::cout << "Dumping files from " << startFile << " to " << endFile
00894                   << " (of " << NrFiles() << ")" << std::endl;
00895         for (int j=startFile ; j<endFile ; j++)
00896         {
00897             std::cout << GetFileId(j) << " " << GetSectionOfFile(j) << " "
00898                       << GetDirOfFile(j) << " " << GetFile(j) << std::endl;
00899         }
00900     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:18:59 2011 for ImpalaSrc by  doxygen 1.5.1