isis/src/system/apps/kerneldbgen/SpiceDbGen.cpp
QStringList SpiceDbGen::GetFiles(FileName location, QString filter) {
  filter.remove("\\");
  QDir dir(location.expanded(), filter,
           QDir::Name, QDir::Files);
  return dir.entryList();
}
/**
  * Essenetially a method call to the underlying QDir class which will filter
  * the files needed by Direct(). Files are returned in order of the time they
  * were most recently modified, the oldest file being first and the most
  * recently modified being last.
  *
  * @param location  The directory in which the method searches for files.
  *
  * @param filter    The regular expression used to match files of a
  *                  particular quality. This parameter is important, since it
  *                  is necessary to distinguish between kernels of different
  *                  qualities and/or different missions that may be placed in
  *                  the same directory.
  *
  * @return QStringList
  *
  */
Essenetially a method call to the underlying QDir class which will filter
the files needed by Direct(). Files are returned in order of the time they
were most recently modified, the oldest file being first and the most
recently modified being last.

@param location  The directory in which the method searches for files.

@param filter    The regular expression used to match files of a
particular quality. This parameter is important, since it
is necessary to distinguish between kernels of different
qualities and/or different missions that may be placed in
the same directory.


Essenetially a method call to the underlying QDir class which will filter the files needed by Direct () . Files are returned in order of the time they were most recently modified the oldest file being first and the most recently modified being last . @param location The directory in which the method searches for files . @param filter The regular expression used to match files of a particular quality . This parameter is important since it is necessary to distinguish between kernels of different qualities and / or different missions that may be placed in the same directory .
QStringList SpiceDbGen::GetFiles(FileName location, QString filter) {
  filter.remove("\\");
  QDir dir(location.expanded(), filter,
           QDir::Name, QDir::Files);
  return dir.entryList();
}
QStringList SpiceDbGen :: GetFiles ( FileName location , QString filter ) { filter . remove ( " \\ " ) ; QDir dir ( location . expanded ( ) , filter , QDir :: Name , QDir :: Files ) ; return dir . entryList ( ) ; }
Essenetially a method call to the underlying QDir class which will filter
 the files needed by Direct().
Essenetially a method call to the underlying QDir class which will filter the files needed by Direct () .