예제 #1
0
 openstudio::path WorkflowJSON_Impl::absoluteRunDir() const
 {
   openstudio::path result = runDir();
   if (result.is_relative()){
     return canonicalOrAbsolute(result, absoluteRootDir());
   }
   return result;
 }
예제 #2
0
void GraphicsReportView::delete_run_dir(const QString& dir)
{
    QDir runDir(dir);

    QStringList filesInDir;
    filesInDir = runDir.entryList();
    foreach(QString fileEntry, filesInDir)
    {
        runDir.remove(fileEntry);
    }